:root {
  --navy: #0a1f44;
  --navy-2: #13306a;
  --red: #c8102e;
  --red-2: #a50d26;
  --cream: #f7f5f0;
  --ink: #0b0b0c;
  --paper: #ffffff;
  --mist: #dce3f0;
  --mute: #b9c4da;
  --ash: #4a4a4f;
  --fog: #a9a9ae;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Public Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 120px) 20px; }
.kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker span { color: var(--red); }
h2.display {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.9;
  margin: 0 0 16px;
  text-transform: uppercase;
  color: var(--navy);
}
.anton { font-family: Anton, Impact, sans-serif; font-weight: 400; letter-spacing: 0.03em; }
.mono { font-family: "IBM Plex Mono", monospace; }

header.nav {
  background: var(--navy);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}
.brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; display: block; background: #fff; }
.brand span { font-family: Anton, Impact, sans-serif; font-size: 24px; letter-spacing: 0.02em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--red); }
.nav-links .buy {
  background: var(--paper);
  color: var(--navy);
  padding: 9px 14px;
}
.nav-links .buy:hover { background: var(--mist); color: var(--navy); }

.hero { background: var(--navy); color: var(--paper); overflow: hidden; }
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 20px clamp(44px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero figure { margin: 0; position: relative; }
.hero figure img {
  display: block;
  width: 100%;
  height: auto;
}
.hero figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 10px;
  margin-top: -8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.wordmark {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(92px, 15vw, 210px);
  line-height: 0.86;
  letter-spacing: 0.005em;
}
.wordmark .year {
  display: inline-block;
  background: var(--red);
  padding: 0.02em 0.07em 0;
  margin-top: 0.04em;
}
.ca-bar {
  margin-top: 18px;
  border: 2px solid var(--paper);
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  background: var(--red);
  color: var(--paper);
  padding: 3px 8px;
}
.ca-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(12px, 3.3vw, 16px);
  font-weight: 600;
  line-height: 1.4;
  word-break: break-all;
  flex: 1 1 240px;
  min-width: 0;
}
.copy-btn, .ghost, .solid, .white-btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.copy-btn {
  background: var(--paper);
  color: var(--navy);
  padding: 8px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 28px 0 8px;
  text-wrap: balance;
}
.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; margin: 0; color: var(--mist); }
.steps {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: baseline;
  font-size: 16px;
  line-height: 1.4;
}
.step-n {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 3px 7px;
}
.step-n.light { background: var(--paper); color: var(--navy); }
.step-n.red { background: var(--red); color: var(--paper); }
.pair {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 2px;
  background: var(--paper);
  border: 2px solid var(--paper);
}
.pair article {
  background: var(--navy);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pair .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.pair .value {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-all;
}
.pair .value span { color: var(--mute); font-weight: 400; }
.outline {
  align-self: flex-start;
  border: 1px solid var(--paper);
  padding: 7px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
}
.cta {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}
.cta a {
  text-decoration: none;
  font-family: Anton, Impact, sans-serif;
  font-size: 24px;
  letter-spacing: 0.03em;
  padding: 16px 20px;
  text-align: center;
}
.cta .red { background: var(--red); color: var(--paper); }
.cta .red:hover { background: var(--red-2); }
.cta .white { background: var(--paper); color: var(--navy); }
.cta .white:hover { background: var(--mist); }
.meta-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}
.meta-row a { color: var(--paper); }

.ticker {
  background: var(--red);
  color: var(--paper);
  overflow: hidden;
  border-top: 3px solid var(--paper);
  border-bottom: 3px solid var(--paper);
}
.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 12px 0;
  white-space: nowrap;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 0.04em;
  animation: tick 32s linear infinite;
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

#mission { background: var(--paper); border-bottom: 3px solid var(--ink); }
.quad {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 3px;
  background: var(--ink);
  border: 3px solid var(--ink);
  margin-top: 28px;
}
.quad article { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.quad .cream { background: var(--cream); }
.quad .navy { background: var(--navy); color: var(--paper); justify-content: center; }
.quad h3 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
  color: var(--navy);
}
.quad .navy h3 { color: var(--paper); }
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.eyebrow.red { color: var(--red); }
.quad p { margin: 0; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.quad .navy p { font-size: 19px; color: var(--mist); }
.foot-note {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ash);
}

#coin { background: var(--cream); }
#coin .intro { font-size: 18px; line-height: 1.5; max-width: 640px; margin: 0 0 40px; }
.record {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 24px;
  align-items: start;
}
.sheet { background: var(--paper); border: 3px solid var(--ink); }
.sheet-head {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.row {
  display: grid;
  grid-template-columns: minmax(112px, 38%) 1fr;
  border-bottom: 1px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}
.row:last-child { border-bottom: 3px solid var(--ink); }
.row div { padding: 12px 14px; }
.row div:first-child {
  border-right: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}
.row div:last-child { font-weight: 600; word-break: break-all; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--ink); }
.sheet-actions a {
  text-decoration: none;
  padding: 16px 12px;
  text-align: center;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: 0.03em;
  color: var(--paper);
}
.sheet-actions .navy { background: var(--navy); }
.sheet-actions .navy:hover { background: var(--navy-2); }
.sheet-actions .red { background: var(--red); }
.sheet-actions .red:hover { background: var(--red-2); }
.exhibit { margin: 0; }
.exhibit .frame { border: 3px solid var(--ink); background: var(--paper); }
.exhibit img { display: block; width: 100%; height: auto; }
.exhibit figcaption {
  margin-top: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
#pfp { background: var(--paper); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
#pfp p, #signs p { font-size: 18px; line-height: 1.5; margin: 0 0 28px; max-width: 520px; }
.block-btn {
  display: block;
  width: 100%;
  background: var(--navy);
  color: var(--paper);
  padding: 16px;
  text-align: center;
  font-family: Anton, Impact, sans-serif;
  font-size: 24px;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 0;
}
.block-btn:hover { background: var(--navy-2); }
.block-btn.red { background: var(--red); margin-top: 12px; }
.block-btn.red:hover { background: var(--red-2); }
.block-btn input { display: none; }
.modes {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--ink);
  border: 3px solid var(--ink);
}
.modes button {
  border: 0;
  padding: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  cursor: pointer;
}
.modes button.on { background: var(--navy); color: var(--paper); }
.modes button.off { background: var(--paper); color: var(--navy); }
.fine {
  margin-top: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ash);
}
.stage { display: flex; flex-direction: column; align-items: center; }
#pfp-canvas {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 50%;
  background: var(--navy);
}

#signs { background: var(--navy); color: var(--paper); }
#signs .kicker { color: var(--mist); }
#signs .kicker span { color: var(--paper); }
#signs h2.display { color: var(--paper); }
#signs p { color: var(--mist); }
#signs label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 8px;
}
#name {
  width: 100%;
  background: var(--paper);
  color: var(--navy);
  border: 0;
  border-radius: 0;
  padding: 16px;
  font-family: Anton, Impact, sans-serif;
  font-size: 28px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  outline: 3px solid transparent;
}
#name:focus { outline: 3px solid var(--red); }
#sign-canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--paper);
  background: var(--paper);
}
#signs .fine { color: var(--mist); }

#faq { background: var(--cream); }
.faq { border-top: 3px solid var(--ink); max-width: 960px; }
.faq button.q {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 22px);
}
.faq button.q:hover { color: var(--red); }
.faq button.q span.sign {
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 400;
  color: var(--red);
}
.faq .a {
  padding: 0 0 24px;
  font-size: 18px;
  line-height: 1.5;
  max-width: 720px;
  display: none;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
}
.faq .item.open .a { display: flex; }
.faq .item.open button.q { border-bottom: 0; }
.faq .mono-box {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  word-break: break-all;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 10px 12px;
}
.faq a { font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: 0.08em; color: var(--red); }

#enlist { background: var(--red); color: var(--paper); }
#enlist h2.display { color: var(--paper); }
#enlist p { font-size: 18px; line-height: 1.5; margin: 0 0 40px; max-width: 600px; }
.enlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 3px;
  background: var(--paper);
  border: 3px solid var(--paper);
}
.enlist-grid a {
  background: var(--red);
  color: var(--paper);
  text-decoration: none;
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  min-width: 0;
}
.enlist-grid a:hover { background: var(--navy); }
.enlist-grid strong {
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.85;
}
.enlist-grid em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.enlist-grid i {
  font-style: normal;
  font-family: Anton, Impact, sans-serif;
  font-size: 40px;
  line-height: 1;
}

footer {
  background: var(--ink);
  color: var(--paper);
}
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  align-items: start;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: #fff; }
.foot-brand span { font-family: Anton, Impact, sans-serif; font-size: 40px; line-height: 1; }
.foot-ca { display: flex; flex-direction: column; gap: 8px; }
.foot-ca .lbl {
  color: var(--fog);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-family: "IBM Plex Mono", monospace;
}
.foot-ca button, .foot-ca a {
  background: transparent;
  border: 1px solid var(--paper);
  color: var(--paper);
  text-align: left;
  padding: 10px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  word-break: break-all;
  cursor: pointer;
  text-decoration: none;
}
.foot-ca button:hover, .foot-ca a:hover { background: var(--red); }
.foot nav { display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--red); }
.paid {
  border: 2px solid var(--paper);
  padding: 14px 18px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.4;
  align-self: flex-start;
}
footer .legal { margin: 0; font-size: 12px; line-height: 1.6; color: var(--fog); max-width: 880px; }

#intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.85s cubic-bezier(0.8, 0, 0.2, 1);
}
#intro.exit { transform: translateY(-100%); }
#intro.off { display: none; }
#intro .stripes { position: absolute; inset: 0; display: flex; flex-direction: column; }
#intro .stripes i { flex: 1; transform: scaleX(0); }
#intro .stripes i:nth-child(odd) { background: var(--red); transform-origin: left center; }
#intro .stripes i:nth-child(even) { background: var(--cream); transform-origin: right center; }
@keyframes stripe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
#intro .stripes i { animation: stripe 0.6s cubic-bezier(0.75, 0, 0.2, 1) forwards; }
#intro .canton {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(300px, 46%, 760px);
  height: calc(100% * 7 / 13);
  background: var(--navy);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
  opacity: 0;
  animation: stamp 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.85s forwards;
}
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.25); }
  70% { opacity: 1; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}
#intro .stars { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.3em; margin-bottom: 14px; }
#intro .canton strong {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 10vw, 168px);
  line-height: 0.86;
}
#intro .years {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: 0.16em;
  margin-top: 18px;
  display: flex;
  gap: 12px;
}
#intro .skip {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--navy);
  background: var(--cream);
  padding: 6px 10px;
  opacity: 0;
  animation: fade 0.4s ease 1.2s forwards;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) {
  .hero figure { order: 2; }
}
