/* =====================================================================
   Bordrless Holder Crates
   Plain CSS. No build step. Tokens follow the bordrless.app interface:
   grey paper, ink, Bricolage Grotesque + IBM Plex Mono, hard 2px shadows.
   ===================================================================== */

/* ---------- Fonts (local, SIL Open Font License) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #e6e6e3;
  --chalk: #f4f4f2;
  --white: #ffffff;
  --chip: #d3d3cf;
  --line: #c6c6c2;
  --line-strong: #8e8e8a;
  --muted: #5c5c59;
  --ink: #0e0e0e;
  --cast: #444444;
  --deep: #17191c;

  --blue: #1f3dff;
  --blue-edge: #10229e;
  --green: #3dae5b;
  --orange: #f28c28;
  --teal: #2aa7a0;
  --yellow: #f2c53d;

  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --frame-max: 1360px;
  --gutter: 16px;
  --radius: 4px;
  --shadow: 2px 2px 0 0 var(--cast);
  --header-h: 64px;
  --ease-mech: cubic-bezier(.2, .75, .15, 1);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* paper grain, as on bordrless.app */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background-image: url("assets/img/grain.png");
  background-size: 128px 128px;
  opacity: .05;
  mix-blend-mode: multiply;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.05; }
strong, b { font-weight: 700; }
code { font-family: var(--font-mono); }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.section--ink :focus-visible, .site-footer :focus-visible { outline-color: #8fa0ff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--chalk); padding: 10px 14px;
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: var(--frame-max); margin-inline: auto; padding-inline: var(--gutter); }

/* pixel art: crisp when scaled up */
.px { image-rendering: crisp-edges; image-rendering: pixelated; }

/* pixel icons */
.i { width: 1em; height: 1em; fill: currentColor; flex: none; shape-rendering: crispEdges; }
.i-arrow { width: 15px; height: 11px; }
.i-hook { width: 12px; height: 13px; }
.i-copy { width: 16px; height: 15px; }
.i-check { width: 15px; height: 10px; }
.i-ext { width: 11px; height: 10px; }
.i-menu { width: 18px; height: 13px; }
.i-close { width: 15px; height: 15px; }
.i-cross { width: 10px; height: 9px; }
.i-big { width: 54px; height: 45px; }
.i-flip { transform: scaleX(-1); }

.mono, .mono-label { font-family: var(--font-mono); }
.mono-label {
  font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--muted);
  margin: 0 0 8px; text-transform: uppercase;
}
.fine { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.1;
  text-decoration: none; text-align: center;
  border: 1px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 0 var(--cast); text-decoration: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 0 var(--cast); }
.btn--ink { background: var(--ink); color: var(--chalk); }
.btn--paper { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--blue { background: var(--blue); color: var(--chalk); border-color: var(--blue-edge); }
.btn--ghost { background: transparent; color: var(--chalk); border-color: #4d535b; box-shadow: 2px 2px 0 0 #000; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn--lg { min-height: 52px; padding: 0 22px; font-size: 17px; }
.btn--xl { min-height: 60px; padding: 0 30px; font-size: 19px; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; box-shadow: var(--shadow); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.icon-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 0 var(--cast); }
.icon-btn:active { transform: translate(2px, 2px); box-shadow: none; }

/* ---------- Chips, flags, frames ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0; padding: 5px 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 1.2;
  background: var(--chip); color: var(--ink); border-radius: 3px;
}
.chip--dark { background: #2a2e34; color: var(--chalk); }
.chip--hook .i-hook { margin-top: -1px; }

.flag {
  display: inline-block; padding: 5px 8px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--white); border: 1px solid var(--ink); border-radius: 2px;
}
.flag--ink { background: var(--ink); color: var(--chalk); }
.flag-row { display: flex; flex-wrap: wrap; gap: 6px; }

.frame {
  position: relative;
  background: var(--chalk);
  border: 1px solid var(--ink);
}
.frame::before {
  content: ""; position: absolute; top: 7px; left: 7px; width: 13px; height: 13px;
  border-top: 3px solid var(--ink); border-left: 3px solid var(--ink);
  pointer-events: none;
}

/* ---------- Ribbon + header ---------- */
.ribbon {
  background: var(--ink); color: #c6c6c2;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em;
}
.ribbon p {
  max-width: var(--frame-max); margin: 0 auto; padding: 7px var(--gutter);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.ribbon .sep { color: #5c5c59; }
.ribbon-dot { width: 7px; height: 7px; background: var(--yellow); flex: none; }
@media (max-width: 640px) { .ribbon-wide, .sep--wide { display: none; } }
@media (max-width: 440px) { .ribbon { font-size: 10.5px; } .ribbon p { flex-wrap: nowrap; gap: 6px; white-space: nowrap; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(230, 230, 227, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.brand-mark img { width: 30px; height: 30px; border-radius: 2px; }
.brand-word { font-weight: 800; font-stretch: 80%; font-size: 21px; letter-spacing: -.01em; }
.brand-chip {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  padding: 4px 7px; background: var(--ink); color: var(--chalk); border-radius: 3px;
}
.brand--light .brand-word { color: var(--chalk); }
.brand--light .brand-chip { background: var(--chalk); color: var(--ink); }
.brand--light .brand-mark { border-color: #333; box-shadow: 2px 2px 0 0 #000; }

.site-nav { margin-left: 12px; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px;
  font-weight: 600; font-size: 15px; text-decoration: none; border-radius: var(--radius);
}
.site-nav a:hover { background: rgba(14, 14, 14, .06); }
.site-nav a.is-current { box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.nav-cta-mobile { display: none !important; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 44px; height: 44px; place-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  cursor: pointer;
}
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }
.show-xs { display: none; }

@media (max-width: 999px) {
  .brand-chip { display: none; }
  .menu-btn { display: inline-grid; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    margin: 0; padding: 12px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1px solid var(--ink);
    box-shadow: 0 10px 0 -6px rgba(14, 14, 14, .08);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { min-height: 52px; font-size: 18px; padding: 0 4px; width: 100%; }
  .nav-cta-mobile { display: flex !important; width: 100%; margin-top: 14px; min-height: 52px; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .brand-word { font-size: 19px; }
  .header-inner { gap: 10px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 7vw, 108px); }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .chip { margin-bottom: 18px; }
.section-head--tight { margin-bottom: 24px; }
.h2 {
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 75%;
  font-size: clamp(42px, 3.4vw + 26px, 80px);
  line-height: .9; letter-spacing: -.02em;
  text-wrap: balance;
}
.h3 { font-weight: 800; font-stretch: 80%; font-size: clamp(26px, 1.4vw + 18px, 36px); letter-spacing: -.01em; line-height: 1; }
.section-sub { margin-top: 18px; font-size: clamp(17px, .4vw + 15px, 20px); color: #2b2b2a; max-width: 640px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 4vw, 64px) clamp(56px, 7vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "chip" "title" "art" "cta" "lead" "formula";
  gap: 22px;
}
.hero-chip { grid-area: chip; justify-self: start; }
.hero-title { grid-area: title; font-family: var(--font-display); margin: 0; }
.hero-title > span { display: block; }
.ht-xl {
  font-weight: 800; font-stretch: 75%;
  font-size: clamp(56px, 7.2vw + 18px, 124px);
  line-height: .86; letter-spacing: -.025em;
}
.ht-md {
  margin-top: 12px;
  font-weight: 800; font-stretch: 78%;
  font-size: clamp(30px, 2.4vw + 16px, 50px);
  line-height: 1; letter-spacing: -.015em; color: var(--muted);
}
.ht-box {
  display: inline-block !important; margin-top: 12px;
  padding: 8px 14px 10px;
  font-weight: 800; font-stretch: 78%;
  font-size: clamp(26px, 1.9vw + 14px, 42px);
  line-height: 1; letter-spacing: -.012em;
  background: var(--ink); color: var(--chalk);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-lead { grid-area: lead; max-width: 560px; }
.hero-lead p { border-top: 2px solid var(--ink); padding-top: 14px; font-size: 17px; }
.hero-lead .mono { font-size: 13.5px; font-weight: 500; margin-right: 6px; }
.hero-ctas { grid-area: cta; display: grid; gap: 12px; max-width: 520px; }
.hero-ctas .btn { width: 100%; }
.formula {
  grid-area: formula; margin: 0; max-width: 560px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
}
.formula-term { padding: 6px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; }
.formula-term--out { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.formula-op { font-size: 15px; padding: 0 2px; }

.hero-art { grid-area: art; position: relative; margin: 0; }
.hero-crate { position: relative; width: min(100%, 508px); margin-inline: auto; aspect-ratio: 254 / 236; }
.hero-crate img { width: 100%; }
.hero-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .7) 50%, transparent 58%) no-repeat;
  background-size: 300% 100%;
  background-position: 120% 0;
  -webkit-mask: url("assets/crates/platinum.png") center / 100% 100% no-repeat;
  mask: url("assets/crates/platinum.png") center / 100% 100% no-repeat;
  mix-blend-mode: soft-light;
  animation: shine 8s ease-in-out 1.6s infinite;
}
@keyframes shine {
  0%, 64% { background-position: 120% 0; }
  100% { background-position: -20% 0; }
}
.leaders, .callouts { display: none; }

@media (min-width: 900px) {
  .hero { padding-top: clamp(36px, 4vw, 64px); }
  .hero-grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    grid-template-rows: auto auto auto auto 1fr;
    grid-template-areas:
      "chip art"
      "title art"
      "lead art"
      "cta art"
      "formula art";
    column-gap: clamp(32px, 4vw, 64px);
    row-gap: 22px;
    align-items: start;
  }
  .hero-art { align-self: center; }
}
@media (min-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
  .hero-art { display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; column-gap: 4px; }
  .hero-crate { margin: 0; }
  .leaders { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
  .leaders path { fill: none; stroke: var(--ink); stroke-width: 1.5; shape-rendering: crispEdges; }
  .leaders rect { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; shape-rendering: crispEdges; }
  .callouts { display: grid; gap: 22px; position: relative; z-index: 3; }
  .callout { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; align-items: baseline; }
  .callout-num {
    grid-row: 1 / span 3; align-self: start;
    display: grid; place-items: center; width: 22px; height: 22px;
    font-family: var(--font-mono); font-size: 12px; font-weight: 600; background: var(--chip); border-radius: 2px;
  }
  .callout-tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
  .callout strong { font-size: 19px; font-weight: 800; font-stretch: 85%; line-height: 1.15; margin-top: 2px; }
  .callout-text { font-size: 14.5px; line-height: 1.4; color: #2b2b2a; margin-top: 3px; }
}

/* ---------- Open your Crate ---------- */
.open-frame { display: grid; grid-template-columns: minmax(0, 1fr); }
.open-stage-col { padding: 36px 16px 28px; display: grid; gap: 18px; justify-items: center; }
.open-stage-col .flag-row { justify-content: center; }
.open-stage {
  position: relative; width: min(100%, 508px); aspect-ratio: 254 / 236;
}
.stage-grid {
  position: absolute; inset: -6% -8%;
  background-image:
    linear-gradient(to right, rgba(14, 14, 14, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 14, 14, .09) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000 25%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 55%, #000 25%, transparent 70%);
  pointer-events: none;
}
.crate-layers { position: absolute; inset: 0; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.layer-front { opacity: 0; }
.layer-front.is-on { opacity: 1; }
.layer-lid { transition: transform 1.15s var(--ease-mech); will-change: transform; }
.layer-glow {
  position: absolute; left: 47.5%; top: 47%; width: 46%; height: 15%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent, #2aa7a0) 0%, transparent 100%);
  opacity: 0; mix-blend-mode: screen; filter: saturate(1.3);
  transition: opacity .9s ease;
  pointer-events: none;
}
.open-frame[data-state="lifting"] .layer-lid,
.open-frame[data-state="open"] .layer-lid { transform: translateY(-8.4746%); }
.open-frame[data-state="lifting"] .layer-glow,
.open-frame[data-state="open"] .layer-glow { opacity: .95; }
.open-frame[data-state="closing"] .layer-lid { transition-duration: .7s; transition-timing-function: cubic-bezier(.5, 0, .75, .4); }
.open-stage.is-clack { animation: clack .22s steps(3) 1; }
@keyframes clack {
  0% { transform: translate(0, 0); }
  33% { transform: translate(1px, 1px); }
  66% { transform: translate(-1px, 0); }
  100% { transform: translate(0, 0); }
}

.open-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 520px);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--muted);
}
.open-steps li { position: relative; padding-top: 16px; text-align: center; }
.open-steps li::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 10px; height: 10px; transform: translateX(-50%);
  background: var(--white); border: 1.5px solid var(--line-strong); z-index: 1;
}
.open-steps li::after {
  content: ""; position: absolute; top: 5px; left: 50%; width: 100%; height: 1px; background: var(--line);
}
.open-steps li:last-child::after { display: none; }
.open-steps li.is-done { color: var(--ink); }
.open-steps li.is-done::before { background: var(--ink); border-color: var(--ink); }
.open-steps li.is-now { color: var(--ink); font-weight: 600; }
.open-steps li.is-now::before { background: var(--accent, var(--blue)); border-color: var(--ink); }

.open-actions { width: min(100%, 420px); }
.open-btn { width: 100%; }

.open-side {
  border-top: 1px solid var(--ink);
  padding: 24px 16px 28px; display: grid; gap: 22px; align-content: start;
  background: var(--paper);
}
.sample-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.sample-opt { position: relative; cursor: pointer; }
.sample-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sample-opt span {
  display: grid; gap: 3px; justify-items: center; align-content: center; min-height: 58px; padding: 6px 2px;
  font-size: 13px; font-weight: 600; text-align: center; line-height: 1.1;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: background-color .15s, border-color .15s;
}
.sample-opt span::before { content: ""; width: 14px; height: 6px; background: var(--tier); border: 1px solid rgba(14, 14, 14, .5); }
.sample-opt b { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--muted); }
.sample-opt input:checked + span { background: var(--ink); color: var(--chalk); border-color: var(--ink); box-shadow: var(--shadow); }
.sample-opt input:checked + span b { color: #c6c6c2; }
.sample-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.sample-opt:hover span { border-color: var(--ink); }

@media (max-width: 959px) { .open-side .result { order: -1; } }
.result {
  background: var(--white); border: 1px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; min-height: 248px;
}
.result-status {
  font-weight: 800; font-stretch: 78%; font-size: 40px; line-height: 1; letter-spacing: -.01em; margin-bottom: 12px;
}
.result-title { font-weight: 800; font-stretch: 78%; font-size: clamp(34px, 2vw + 20px, 44px); line-height: .95; letter-spacing: -.015em; margin-bottom: 8px; }
.result-num { font-family: var(--font-mono); font-size: .42em; font-weight: 600; vertical-align: .55em; color: var(--muted); font-stretch: 100%; }
.result-quote { font-size: 17px; color: #2b2b2a; margin-bottom: 14px; }
.result-open:not([hidden]) { animation: rise .5s var(--ease-mech) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.result-warn {
  display: flex; gap: 8px; align-items: baseline;
  margin: 14px 0 0; padding: 10px 12px;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.45;
  background: #fff6d6; border: 1px solid var(--ink); border-radius: 2px;
}
.result-warn .i { position: relative; top: 1px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.result-actions .btn { flex: 1 1 140px; }

@media (min-width: 960px) {
  .open-frame { grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); }
  .open-stage-col { padding: 44px 32px 36px; }
  .open-side { border-top: 0; border-left: 1px solid var(--ink); padding: 40px 32px; }
}

/* ---------- Spec sheets (dl) ---------- */
.spec { display: grid; border-top: 1px solid var(--ink); }
.spec > div {
  display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.spec dt { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.spec dd { font-size: 15.5px; font-weight: 500; }
.spec--compact > div { padding: 7px 0; }
.spec .is-na { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- How it works ---------- */
.equation {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: stretch;
  margin-bottom: 28px;
}
.eq-term {
  display: grid; gap: 4px; justify-items: start; align-content: center;
  padding: 22px 20px; background: var(--white); border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
}
.eq-term .i-big { margin-bottom: 10px; }
.eq-term .mono-label { margin: 0; }
.eq-term strong { font-size: clamp(26px, 1.4vw + 18px, 36px); font-weight: 800; font-stretch: 78%; letter-spacing: -.01em; line-height: 1; }
.eq-term--out { background: var(--ink); color: var(--chalk); }
.eq-term--out .mono-label { color: #a7a7a3; }
.eq-op {
  display: grid; place-items: center; height: 44px;
  font-family: var(--font-mono); font-weight: 600; font-size: 28px;
}
@media (min-width: 760px) {
  .equation { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr); }
  .eq-op { height: auto; }
}

.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.step {
  position: relative; padding: 26px 22px 24px;
  background: var(--chalk); border: 1px solid var(--line); border-radius: var(--radius);
}
.step-num { font-family: var(--font-mono); font-size: 12px; font-weight: 600; margin-bottom: 18px; display: inline-block; padding: 4px 7px; background: var(--chip); border-radius: 2px; }
.step h3 { font-size: 26px; font-weight: 800; font-stretch: 80%; letter-spacing: -.01em; margin-bottom: 10px; }
.step p:last-child { color: #2b2b2a; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.nots { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; }
.nots li:not(.nots-note) {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  background: var(--white); border: 1px solid var(--ink); border-radius: 2px;
}
.nots-note { font-size: 14.5px; color: var(--muted); margin-left: 6px; }

/* ---------- Tiers showroom ---------- */
.showroom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.showroom-stage { padding: 52px 12px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; justify-items: center; overflow: hidden; }
.showroom-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(14, 14, 14, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 14, 14, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000 20%, transparent 68%);
  mask-image: radial-gradient(ellipse at 50% 55%, #000 20%, transparent 68%);
}
.chip--float { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--ink); color: var(--chalk); }
.turntable {
  position: relative; z-index: 1;
  width: min(100%, 508px); aspect-ratio: 254 / 236;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  border-radius: var(--radius);
}
.turntable.is-dragging { cursor: grabbing; }
.turntable-still, .turntable-sprite { position: absolute; inset: 0; width: 100%; height: 100%; }
.turntable-sprite {
  background-repeat: no-repeat; background-size: 2400% 100%; background-position: 0 0;
  opacity: 0;
}
.turntable.has-sprite .turntable-sprite { opacity: 1; }
.turntable.has-sprite .turntable-still { opacity: 0; }
.turntable.is-swapping .turntable-still, .turntable.is-swapping .turntable-sprite { animation: swap-in .45s var(--ease-mech); }
@keyframes swap-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.turn-controls { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
.turn-hint { margin: 0; font-size: 12px; color: var(--muted); min-width: 130px; text-align: center; }
.hint-keys { display: none; }
.turntable:focus-visible ~ .turn-controls .hint-keys { display: inline; }
.turntable:focus-visible ~ .turn-controls .hint-pointer { display: none; }

.tier-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 2px 0 6px; margin: 0 0 14px; }
.tier-tab {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start;
  min-width: 0; min-height: 44px; padding: 8px 2px 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .08s, box-shadow .08s;
}
.tier-tab img { width: 100%; max-width: 92px; height: auto; margin-bottom: 4px; image-rendering: auto; }
.tier-tab .tt-num { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); line-height: 1.2; }
.tier-tab .tt-name { font-weight: 700; font-size: 13px; line-height: 1.15; max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 480px) { .tier-tab .tt-name { font-size: 15px; } .tier-tabs { gap: 8px; } }
.tier-tab:hover { border-color: var(--ink); }
.tier-tab[aria-selected="true"] { border-color: var(--ink); box-shadow: var(--shadow), inset 0 -3px 0 var(--tier); }

.tier-panel { padding: 4px 2px; }
.tier-panel:focus-visible { outline-offset: 6px; }
.tier-name { font-weight: 800; font-stretch: 75%; font-size: clamp(40px, 2.6vw + 26px, 64px); line-height: .9; letter-spacing: -.02em; margin-bottom: 12px; }
.tier-quote { font-size: clamp(19px, .5vw + 16px, 23px); font-weight: 600; margin-bottom: 10px; }
.tier-quote::before { content: "\201C"; }
.tier-quote::after { content: "\201D"; }
.tier-panel > p:not(.mono-label):not(.tier-quote):not(.tierbar) { color: #2b2b2a; margin-bottom: 18px; }
.tier-panel .spec { margin-bottom: 18px; }
.tier-panel:not([hidden]) { animation: rise .45s var(--ease-mech) both; }
.tier-fine { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }

.tierbar { display: flex; gap: 4px; margin: 0; }
.tierbar span { width: 26px; height: 10px; background: #d6d6d2; border: 1px solid rgba(14, 14, 14, .55); }
.tierbar span.on { background: var(--accent, var(--ink)); border-color: var(--ink); }
.tierbar--lg span { width: 34px; height: 12px; }

@media (min-width: 980px) {
  .showroom { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .showroom-stage { padding: 56px 24px 22px; position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- Progression ---------- */
.prog-frame { overflow: hidden; }
.prog-banner {
  display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: center;
  padding: 10px 16px; background: var(--ink); color: var(--chalk);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.prog-banner .sep { color: #5c5c59; }
.prog-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.prog-display { padding: 28px 16px 22px; display: grid; gap: 16px; justify-items: center; border-bottom: 1px solid var(--ink); }
.prog-stage { position: relative; width: min(100%, 470px); aspect-ratio: 254 / 236; }
.prog-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.prog-img--b { opacity: 0; clip-path: inset(0 0 100% 0); }
.prog-stage.is-scanning .prog-img--b { opacity: 1; animation: scan-reveal .55s var(--ease-mech) forwards; }
.prog-scan {
  position: absolute; left: -4%; right: -4%; top: 0; height: 2px;
  background: var(--accent, var(--blue)); box-shadow: 0 0 0 1px rgba(14, 14, 14, .25);
  opacity: 0; pointer-events: none;
}
.prog-stage.is-scanning .prog-scan { animation: scan-line .55s var(--ease-mech) forwards; }
@keyframes scan-reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes scan-line { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.prog-readout { display: grid; justify-items: center; text-align: center; }
.prog-readout .mono-label { margin-bottom: 4px; }
.prog-tier { font-weight: 800; font-stretch: 75%; font-size: clamp(40px, 2.4vw + 28px, 60px); line-height: .95; letter-spacing: -.02em; margin-bottom: 12px; }
.prog-num { font-family: var(--font-mono); font-size: .38em; font-weight: 600; vertical-align: .7em; color: var(--muted); font-stretch: 100%; }

.prog-controls { padding: 28px 16px 30px; display: grid; gap: 30px; align-content: center; background: var(--paper); }
.control-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.control-head label { font-family: var(--font-mono); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.control-head output {
  font-weight: 800; font-stretch: 80%; font-size: 26px; line-height: 1;
  padding: 4px 9px 6px; background: var(--ink); color: var(--chalk); border-radius: 3px;
}
.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer;
  --fill: 50%;
}
.range:focus { outline: none; }
.range:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.range::-webkit-slider-runnable-track {
  height: 10px; border: 1px solid var(--ink); border-radius: 2px;
  background: linear-gradient(to right, var(--ink) var(--fill), var(--white) var(--fill));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; margin-top: -10px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 3px;
  box-shadow: 2px 2px 0 0 var(--cast);
}
.range:active::-webkit-slider-thumb { transform: translate(1px, 1px); box-shadow: 1px 1px 0 0 var(--cast); }
.range::-moz-range-track { height: 10px; border: 1px solid var(--ink); border-radius: 2px; background: var(--white); }
.range::-moz-range-progress { height: 10px; background: var(--ink); }
.range::-moz-range-thumb {
  width: 24px; height: 24px; background: var(--white); border: 2px solid var(--ink); border-radius: 3px;
  box-shadow: 2px 2px 0 0 var(--cast);
}
.ticks {
  position: relative; height: 30px; margin: 0 14px;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
}
.ticks span {
  position: absolute; top: 0; padding-top: 9px; transform: translateX(-50%); white-space: nowrap;
}
.ticks span::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 6px; background: var(--line-strong); }
.ticks span:nth-child(1) { left: 0; }
.ticks span:nth-child(2) { left: 25%; }
.ticks span:nth-child(3) { left: 50%; }
.ticks span:nth-child(4) { left: 75%; }
.ticks span:nth-child(5) { left: 100%; }
.ticks span:first-child { transform: translateX(-14px); }
.ticks span:first-child::before { left: 14px; }
.ticks span:last-child { transform: translateX(calc(-100% + 14px)); }
.ticks span:last-child::before { left: auto; right: 14px; }
.ticks span.is-on { color: var(--ink); font-weight: 600; }
@media (max-width: 520px) {
  .ticks span:not(:first-child):not(:last-child) { visibility: hidden; }
}
@media (min-width: 920px) {
  .prog-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .prog-display { border-bottom: 0; border-right: 1px solid var(--ink); padding: 40px 28px 32px; }
  .prog-controls { padding: 40px 36px; }
}

/* ---------- Program / rewards ---------- */
.program-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.prose p { font-size: 18px; max-width: 620px; }
.callout-box {
  padding: 14px 16px; background: var(--white);
  border: 1px solid var(--ink); border-left: 6px solid var(--yellow); border-radius: 2px;
  font-size: 16px !important;
}
.callout-box--plain { border-left-color: var(--blue); }
.status-card { padding: 34px 20px 22px; background: var(--white); align-self: start; }
.status-card .mono-label { margin-bottom: 12px; color: var(--ink); }
.spec--status > div { grid-template-columns: minmax(130px, 45%) 1fr; }
.status-terms { margin-top: 14px; }
@media (min-width: 940px) {
  .program-grid { grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 56px; align-items: start; }
  .status-card { padding: 38px 28px 26px; }
}

.mixup { margin-top: clamp(48px, 6vw, 80px); }
.mixup .h3 { margin-bottom: 20px; }
.mixup-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.mix-card { padding: 22px 20px; background: var(--chalk); border: 1px solid var(--line); border-radius: var(--radius); }
.mix-card h4 { font-size: 23px; font-weight: 800; font-stretch: 82%; margin: 14px 0 8px; letter-spacing: -.005em; }
.mix-card p:last-child { font-size: 15.5px; color: #2b2b2a; }
.mix-card--this { background: var(--white); border-color: var(--ink); box-shadow: var(--shadow); }
.status-chip {
  display: inline-block; margin: 0; padding: 4px 8px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  border: 1px solid var(--ink); border-radius: 2px;
}
.status-chip--live { background: #dcefe1; }
.status-chip--proposed { background: var(--blue); color: var(--chalk); border-color: var(--blue-edge); }
@media (min-width: 860px) { .mixup-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- About (ink) ---------- */
.section--ink { background: var(--ink); color: var(--chalk); }
.section--ink .mono-label { color: #8a9099; }
.about-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: clamp(32px, 4vw, 52px); }
.about-lede { font-size: clamp(18px, .5vw + 16px, 21px); color: #d9dbde; max-width: 620px; }
.about-quote { margin-top: 18px; font-weight: 800; font-stretch: 80%; font-size: clamp(24px, 1.2vw + 18px, 32px); line-height: 1.15; }
.about-quote span { display: inline; }
.about-quote span:first-child { color: #8a9099; }
.about-quote .hl { display: inline-block; margin-top: 6px; padding: 2px 10px 5px; background: var(--chalk); color: var(--ink); border-radius: 3px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: #2a2e34; border: 1px solid #2a2e34; }
.about-card { padding: 24px 20px 26px; background: var(--ink); }
.about-card h3 { font-size: 24px; font-weight: 800; font-stretch: 82%; margin: 12px 0 8px; }
.about-card p:last-child { color: #b9bec5; font-size: 15.5px; }
.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (min-width: 700px) { .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) {
  .about-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 56px; }
  .about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Buyback flow ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: stretch; }
.flow-node {
  padding: 18px 18px 20px; background: var(--white);
  border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
}
.flow-node .mono-label { margin-bottom: 8px; }
.flow-node h3 { font-size: 22px; font-weight: 800; font-stretch: 82%; margin-bottom: 6px; }
.flow-node p:last-child { font-size: 15px; color: #2b2b2a; }
.flow-node--ink { background: var(--ink); color: var(--chalk); }
.flow-node--ink .mono-label { color: #a7a7a3; }
.flow-node--ink p:last-child { color: #c6c6c2; }
.flow-node--blue { border-color: var(--blue-edge); box-shadow: 2px 2px 0 0 var(--blue-edge); }
.flow-node--blue .mono-label { color: var(--blue); }
.flow-link, .flow-split { position: relative; height: 34px; }
.flow-link span, .flow-split span { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--ink); }
.flow-link span::after, .flow-split span::after {
  content: ""; position: absolute; left: -6px; bottom: -1px;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--ink);
}
.flow-branches { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.flow-notes { display: grid; gap: 16px; margin-top: 28px; max-width: 900px; }
.flow-notes p { font-size: 16px; }
@media (min-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1.15fr); align-items: center; }
  .flow-link, .flow-split { height: 2px; }
  .flow-link span, .flow-split span { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 0; border-left: 0; border-top: 2px solid var(--ink); }
  .flow-link span::after, .flow-split span::after {
    left: auto; right: -1px; bottom: auto; top: -6px;
    border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid var(--ink); border-right: 0;
  }
  .flow-notes { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ---------- Token ---------- */
.token-card { padding: 40px 18px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; background: var(--white); }
.token-id { display: flex; align-items: center; gap: 16px; }
.token-mark { width: 76px; height: 76px; display: grid; place-items: center; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); flex: none; }
.token-mark img { width: 66px; height: 66px; }
.token-ticker { font-weight: 800; font-stretch: 75%; font-size: clamp(52px, 3vw + 36px, 76px); line-height: .85; letter-spacing: -.02em; margin: 0 0 6px; }
.token-meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin: 0; }
.mint-row { display: grid; gap: 10px; }
.mint-code {
  display: block; padding: 14px 14px;
  font-size: clamp(13px, .6vw + 11px, 17px); font-weight: 500; line-height: 1.4;
  background: var(--chalk); border: 1px solid var(--ink); border-radius: 2px;
  word-break: break-all; user-select: all; -webkit-user-select: all;
}
.mint-code--sm { display: inline-block; padding: 6px 8px; font-size: 13px; }
.copy-btn { min-height: 50px; }
.copy-btn .i-check { display: none; }
.copy-btn.is-copied { background: var(--green); color: var(--ink); border-color: var(--ink); }
.copy-btn.is-copied .i-check { display: block; }
.copy-btn.is-copied .i-copy { display: none; }
.token-links { display: flex; flex-wrap: wrap; gap: 10px; }
.bridged { border: 1px solid var(--line); border-radius: var(--radius); background: var(--chalk); }
.bridged summary {
  cursor: pointer; list-style: none; padding: 14px 16px; min-height: 48px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.bridged summary::-webkit-details-marker { display: none; }
.bridged summary::after { content: "+"; font-size: 18px; }
.bridged[open] summary::after { content: "\2212"; }
.bridged > p { padding: 0 16px; font-size: 15.5px; }
.bridged > p:last-child { padding-bottom: 16px; }
@media (min-width: 900px) {
  .token-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px 48px; padding: 44px 36px 32px; }
  .token-id { align-self: center; }
  .mint, .token-links, .bridged, .token-card > .fine { grid-column: 1 / -1; }
  .mint-row { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.faq-group { margin: 28px 0 8px; }
.faq-group:first-child { margin-top: 0; }
.faq { border-top: 1px solid var(--ink); }
.faq:last-child { border-bottom: 1px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 2px; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(18px, .4vw + 16px, 21px); font-weight: 700; line-height: 1.25; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.faq-a { padding: 0 34px 20px 2px; max-width: 760px; }
.faq-a p { color: #2b2b2a; font-size: 16.5px; }
.faq-a [data-cfg], .callout-box code { word-break: break-all; }
@media (min-width: 980px) {
  .faq-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Final CTA ---------- */
.final { padding-bottom: clamp(72px, 8vw, 120px); }
.final-inner {
  display: grid; justify-items: center; text-align: center; gap: 28px;
  padding: clamp(40px, 6vw, 72px) 16px;
  background: var(--chalk); border: 1px solid var(--ink); position: relative;
}
.final-inner::before {
  content: ""; position: absolute; top: 7px; left: 7px; width: 13px; height: 13px;
  border-top: 3px solid var(--ink); border-left: 3px solid var(--ink);
}
.final-title { font-weight: 800; font-stretch: 75%; font-size: clamp(56px, 6vw + 24px, 120px); line-height: .86; letter-spacing: -.025em; }
.lineup {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end;
  width: min(100%, 1040px); padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
}
.lineup img { width: 100%; image-rendering: auto; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 520px) { .final-ctas .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c6c6c2; padding: 56px 0 40px; }
.site-footer .mono-label { color: #8a9099; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 15px; }
.footer-nav ul { display: grid; gap: 2px; }
.footer-nav a { display: inline-flex; min-height: 32px; align-items: center; color: var(--chalk); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { text-decoration: underline; }
.footer-legal p:not(.mono-label) { font-size: 14px; line-height: 1.55; }
.footer-mint code { word-break: break-all; color: var(--chalk); font-size: 12.5px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.1fr .8fr .8fr 1.4fr; gap: 40px; } }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s var(--ease-mech); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-shine { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
