/* ==========================================================================
   Contrail — site stylesheet
   Dark, premium, one rationed accent. Shapes are distinguished by tone only:
   a surface ladder of shades on the black canvas, never by outlines, borders
   or shadows. Mono uppercase eyebrows, tight display type, restrained motion.
   The only outline left is the keyboard focus ring (:focus-visible), which
   never shows for mouse or touch and is required for accessibility.
   ========================================================================== */

:root {
  --bg: #06070a;
  --bg-deep: #030304;
  --surface-1: #0e1015;
  --surface-2: #14171d;
  --surface-3: #1b1f26;
  --surface-4: #242930;
  --ink: #f2f3f5;
  --ink-2: rgba(242, 243, 245, 0.72);
  --ink-3: rgba(242, 243, 245, 0.5);
  --mute: #6b7078;
  --accent: #3b64f4;
  --accent-2: #7c9cff;
  --accent-soft: rgba(59, 100, 244, 0.16);
  --accent-glow: rgba(59, 100, 244, 0.4);
  --success: #5dd28a;
  --standard: #8b909a;
  --silver: #d4d8df;
  --black: #f2f3f5;
  --platinum: #8fb0ff;
  --tone-1: rgba(255, 255, 255, 0.05);
  --tone-2: rgba(255, 255, 255, 0.08);
  --tone-3: rgba(255, 255, 255, 0.12);

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-s: 10px;
  --r: 16px;
  --r-l: 24px;
  --r-xl: 32px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.7s;

  --container: 1200px;
  --wide: 1360px;
  --gutter: 24px;
  --section: 128px;
  --nav-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
body::after { /* film grain */
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.028;
  background-image: url(../art/grain.png); /* pre-rasterised tile: no SVG filter to re-render */
  background-size: 192px 192px;
}
a { color: inherit; text-decoration: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid rgba(124, 156, 255, 0.7); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: var(--wide); }
.container--narrow { max-width: 820px; }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section--flush-top { padding-top: 0; }
.section-head { max-width: 640px; }
.section-head--center { text-align: center; margin: 0 auto; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.stack > * + * { margin-top: 16px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow--plain::before { display: none; }
.eyebrow--mute { color: var(--mute); }
.eyebrow--mute::before { background: var(--mute); }
.h-display { font-size: clamp(46px, 7.6vw, 104px); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; margin: 0; text-wrap: balance; }
.h-page { font-size: clamp(40px, 6vw, 76px); font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; margin: 0; text-wrap: balance; }
.h-section { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.h-card { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.copy { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.copy--small { font-size: 14px; color: var(--ink-3); }
.mono { font-family: var(--mono); }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; } .mt-7 { margin-top: 96px; }
.text-center { text-align: center; }
.link { color: var(--accent-2); font-weight: 600; transition: color 0.2s ease; }
.link:hover { color: #fff; }
.arrow::after { content: ' \2192'; display: inline-block; transition: transform 0.25s var(--ease); }
.arrow:hover::after { transform: translateX(4px); }
.gradient-text { background: linear-gradient(100deg, #fff 0%, #c9d6ff 40%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* word-by-word reveal for display type */
.words .w { display: inline-block; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js .words:not(.in) .w { opacity: 0; transform: translateY(0.35em); filter: blur(10px); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, height 0.35s ease;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(6, 7, 10, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: 0.32em; font-size: 14px; color: var(--ink); }
.brand svg { width: 18px; height: 18px; color: var(--accent-2); }
.nav__links { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.nav__links a:not(.btn) { color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: color 0.2s ease, background 0.2s ease; }
.nav__links a:not(.btn):hover { color: var(--ink); background: var(--tone-1); }
.nav__links a[aria-current="page"]:not(.btn) { color: var(--ink); background: var(--tone-2); }
.nav__links .btn { margin-left: 12px; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; border-radius: 12px; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), top 0.35s var(--ease), opacity 0.2s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons / pills / chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
  cursor: pointer;
}
.btn--sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn--primary { background: #fff; color: #0b0d11; }
.btn--primary:hover { background: #e4e7ec; }
.btn--ghost { background: var(--tone-2); color: var(--ink); }
.btn--ghost:hover { background: var(--tone-3); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #4d74ff; }
.btn--shine::after {
  content: '';
  position: absolute;
  top: -50%; bottom: -50%; left: -30%;
  width: 40%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.0) 30%, rgba(11,13,17,0.16) 50%, transparent 70%);
  transform: skewX(-20deg) translateX(-160%);
  animation: shine 5.5s var(--ease-io) infinite;
  animation-delay: 1.2s;
}
@keyframes shine { 0% { transform: skewX(-20deg) translateX(-160%); } 35%, 100% { transform: skewX(-20deg) translateX(460%); } }
.btn .apple { width: 16px; height: 16px; margin-top: -2px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--tone-2);
}
.pill .dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.pill .dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; background: rgba(93,210,138,0.35); animation: halo 2.2s ease-out infinite; }
@keyframes halo { 0% { transform: scale(0.4); opacity: 0.9; } 70%, 100% { transform: scale(1.3); opacity: 0; } }
.pill-glow { display: inline-flex; border-radius: 999px; }
.pill-glow .pill { /* tonal sheen drifting through the pill */
  color: #d8dce4;
  background: linear-gradient(100deg, var(--tone-2) 0%, rgba(124,156,255,0.22) 35%, rgba(255,235,170,0.14) 50%, rgba(124,156,255,0.22) 65%, var(--tone-2) 100%);
  background-size: 300% 100%;
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--tone-3);
  white-space: nowrap;
}
.chip--standard { color: #d8dbe1; background: rgba(6,7,10,0.6); }
.chip--silver { color: #151b23; background: rgba(228,231,234,0.92); }
.chip--black { color: #fff; background: rgba(0,0,0,0.68); }
.chip--platinum { color: #151b23; background: rgba(244,246,248,0.92); }
.chip--verified { color: var(--success); background: rgba(93,210,138,0.16); }

.kbd { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 5px; font-family: var(--mono); font-size: 11px; color: #cdd1d8; background: var(--surface-3); }

/* ---------- surfaces ---------- */
.panel { position: relative; background: var(--surface-1); border-radius: var(--r-l); }
.panel--2 { background: var(--surface-2); }
.tile { position: relative; background: var(--surface-1); border-radius: var(--r); padding: 20px 22px; transition: background 0.25s ease, transform 0.35s var(--ease); }
.panel .tile { background: var(--surface-2); }
a.tile:hover { background: var(--surface-2); }
.panel a.tile:hover { background: var(--surface-3); }
.tile__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.tile__value { font-family: var(--mono); font-size: 17px; margin-top: 10px; color: var(--ink); }
.tile__big { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; }

/* spotlight tiles: a soft tonal glow follows the cursor via --mx/--my */
.spot { --mx: 50%; --my: 50%; position: relative; overflow: hidden; }
.spot::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(124,156,255,0.14), transparent 45%);
  opacity: 0; transition: opacity 0.5s ease;
}
.spot:hover::after { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  /* fills the first screen on every device, so nothing below it (the ticker included) shows until you scroll */
  min-height: calc(100vh + 16px);
  min-height: calc(100lvh + 16px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 64px) 0 96px;
  overflow: hidden; isolation: isolate;
}
/* gallery wall hero: pure black, bright art tiles scattered across it, copy anchored to the bottom */
.hero--wall { justify-content: flex-end; padding: calc(var(--nav-h) + 24px) 0 64px; z-index: 1; } /* later wall tiles never paint over the hero copy */
.wall { position: absolute; inset: 0; z-index: 0; transform: translate(var(--px, 0px), var(--py, 0px)); transition: transform 0.9s var(--ease); }
.tile-art {
  position: absolute; display: block; width: var(--w, 200px); color: var(--ink);
  animation: tileFloat 9s ease-in-out infinite alternate; animation-delay: var(--d, 0s);
}
.tile-art::before { /* the artwork's own colour bleeding onto the black */
  content: ''; position: absolute; left: -30%; top: -30%; width: 160%; height: 160%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 42%, color-mix(in srgb, var(--glow) 34%, transparent), transparent 70%);
}
.tile-art__img { position: relative; display: block; width: 100%; aspect-ratio: var(--ar, 5 / 7); border-radius: 14px; overflow: hidden; clip-path: inset(0 round 14px); background: var(--surface-2); }
.tile-art__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.tile-art:hover .tile-art__img img { transform: scale(1.07); }
.tile-art__cap { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; line-height: 1.6; white-space: nowrap; }
.tile-art__cap b { display: block; font-weight: 500; color: var(--ink); }
.tile-art__cap i { display: block; font-style: normal; color: var(--mute); }
@keyframes tileFloat { from { translate: 0 0; } to { translate: 0 -9px; } }
/* positions: a loose, staggered wall with the outer tiles running off the edges */
.t1  { --w: clamp(120px, 11vw, 190px); left: -3%;  top: 9%; }
.t2  { --w: clamp(150px, 13.5vw, 230px); left: 14%; top: 8%; }
.t3  { --w: clamp(150px, 14vw, 240px); left: 13%; top: 41%; }
.t4  { --w: clamp(160px, 15.5vw, 260px); left: 33%; top: 14%; }
.t5  { --w: clamp(160px, 15vw, 250px); left: 53%; top: 38%; }
.t6  { --w: clamp(150px, 13.5vw, 230px); left: 73%; top: 8%; }
.t7  { --w: clamp(150px, 14vw, 240px); left: 70%; top: 41%; }
.t8  { --w: clamp(130px, 12vw, 200px); right: -4%; top: 30%; }
.t10 { --w: clamp(110px, 10vw, 160px); left: -4%; top: 62%; }
/* short viewports: the copy zone at the bottom needs more of the height, so the wall shrinks and moves up */
@media (max-height: 820px) and (min-width: 861px) {
  .tile-art { --shrink: 0.78; }
  .t1 { top: 12%; } .t2 { --w: clamp(120px, 11vw, 190px); top: 11%; } .t3 { --w: clamp(120px, 11.5vw, 195px); top: 40%; }
  .t4 { --w: clamp(130px, 12.5vw, 210px); top: 11%; } .t5 { --w: clamp(130px, 12vw, 200px); top: 32%; }
  .t6 { --w: clamp(120px, 11vw, 190px); top: 11%; } .t7 { --w: clamp(120px, 11.5vw, 195px); top: 40%; }
  .t8 { --w: clamp(110px, 10vw, 170px); top: 20%; } .t10 { top: 48%; }
}
.hero__foot { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 48px; }
.hero__foot .h-display { font-size: min(clamp(42px, 5.6vw, 84px), 9.5vh); margin-top: 22px; max-width: 11ch; }
.hero__foot .lede { max-width: 34ch; font-size: 17px; }
.hero__foot .hero__ctas { justify-content: flex-start; margin-top: 22px; }
.hero__ctas { display: flex; gap: 14px; align-items: center; margin-top: 38px; flex-wrap: wrap; justify-content: center; }

/* phone stage (How it works) */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 32px; margin-top: 84px; padding: 0 24px 24px; perspective: 1400px; }
.phones::before { content: ''; position: absolute; left: 50%; bottom: -60px; width: 900px; height: 320px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(59,100,244,0.3), transparent 70%); filter: blur(30px); z-index: -1; pointer-events: none; }
.phone { width: 300px; border-radius: 40px; background: #000; transition: transform 0.9s var(--ease), opacity 0.9s var(--ease); animation: float 7s ease-in-out infinite; }
.phone--l { transform: rotate(-4deg) translateY(28px) rotateY(10deg); animation-delay: -1s; }
.phone--c { width: 332px; z-index: 2; animation-delay: -3.5s; }
.phone--r { transform: rotate(4deg) translateY(28px) rotateY(-10deg); animation-delay: -5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento__item {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border-radius: var(--r-l);
  padding: 32px; min-height: 390px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: background 0.3s ease;
}
.bento__item:hover { background: linear-gradient(180deg, var(--surface-3), var(--surface-2)); }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.bento__visual { position: absolute; inset: 0; pointer-events: none; }
.bento__text { position: relative; z-index: 2; }
.bento__text .h-card { margin-top: 14px; }
.bento__text .copy { margin-top: 10px; max-width: 46ch; }
.bento__item--glow::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 80% 0%, rgba(59,100,244,0.3), transparent 65%); }

/* radar visual (illustration, not UI chrome) */
.radar { position: absolute; right: -60px; top: -40px; width: 460px; height: 460px; opacity: 0.95; }
.radar circle.ring { fill: none; stroke: rgba(255,255,255,0.08); }
.radar .sweep { transform-origin: 230px 230px; animation: sweep 5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar .blip { fill: var(--accent-2); animation: blip 5s ease-out infinite; transform-origin: center; }
.radar .blip:nth-child(2) { animation-delay: -1.2s; } .radar .blip:nth-child(3) { animation-delay: -2.6s; } .radar .blip:nth-child(4) { animation-delay: -3.7s; }
@keyframes blip { 0% { opacity: 0; r: 2; } 8% { opacity: 1; r: 4; } 60% { opacity: 0.35; r: 3; } 100% { opacity: 0; r: 3; } }
.radar .me { fill: #fff; }

/* card stack visual */
.stack-visual { position: absolute; right: 24px; top: 28px; width: 220px; height: 300px; }
.stack-visual .mini { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; transform-origin: 50% 100%; transition: transform 0.7s var(--ease); }
.stack-visual .mini img { width: 100%; height: 100%; object-fit: cover; }
.stack-visual .mini:nth-child(1) { transform: rotate(-12deg) translateX(-34px) translateY(10px); }
.stack-visual .mini:nth-child(2) { transform: rotate(-2deg) translateY(2px); }
.stack-visual .mini:nth-child(3) { transform: rotate(9deg) translateX(30px) translateY(12px); }
.bento__item:hover .stack-visual .mini:nth-child(1) { transform: rotate(-18deg) translateX(-56px) translateY(4px); }
.bento__item:hover .stack-visual .mini:nth-child(3) { transform: rotate(15deg) translateX(52px) translateY(6px); }
.bento__item:hover .stack-visual .mini:nth-child(2) { transform: rotate(0deg) translateY(-10px); }

/* record visual: tonal zebra rows instead of rules */
.record-visual { position: absolute; right: 28px; top: 24px; left: 28px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-3); }
.record-visual .line { display: flex; justify-content: space-between; gap: 16px; padding: 8px 12px; border-radius: 8px; }
.record-visual .line:nth-child(odd) { background: var(--tone-1); }
.record-visual .line b { color: var(--ink); font-weight: 500; }
.record-visual .ok { color: var(--success); }
.typing { overflow: hidden; white-space: nowrap; animation: caret 1s step-end infinite; }
@keyframes caret { 50% { opacity: 0.55; } }
.step__visual .record-visual { font-size: 11.5px; letter-spacing: 0.04em; }

/* ---------- aircraft card ---------- */
.card {
  --gx: 50%; --gy: 50%;
  --card-r: 22px;
  position: relative;
  display: block;
  aspect-ratio: 5 / 7;
  border-radius: var(--card-r);
  overflow: hidden;
  /* clip-path keeps the corners round while the card is 3D-transformed or its layers animate;
     border-radius alone can drop the rounding mid-animation in Chromium and WebKit */
  clip-path: inset(0 round var(--card-r));
  background: var(--surface-2);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease);
  --card-ink: #f2f3f5;
  color: var(--card-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  isolation: isolate;
  -webkit-user-select: none; user-select: none;
  container-type: inline-size;
}
.card--silver, .card--platinum { --card-ink: #151b23; }
.card--silver .card__scrim, .card--platinum .card__scrim { background: linear-gradient(180deg, transparent 42%, rgba(211,217,223,0.60) 74%, rgba(211,217,223,0.66)); }
.card.is-tilting { transition: transform 0.08s linear; }
.card__art { position: absolute; inset: 0; }
.card__art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.4s var(--ease); }
.card:hover .card__art img { transform: scale(1.06); }
.card__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,12,16,0.35) 0%, rgba(10,12,16,0) 26%, rgba(10,12,16,0) 48%, rgba(14,16,21,0.78) 82%, rgba(16,18,24,0.9) 100%); } /* one tone above the page so the card's foot keeps its shape */
.card__glare {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(60% 45% at var(--gx) var(--gy), rgba(255,255,255,0.22), rgba(255,255,255,0.04) 45%, transparent 70%);
  mix-blend-mode: soft-light;
  opacity: 0; transition: opacity 0.4s ease;
}
.card:hover .card__glare { opacity: 1; }
.card__foil {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.16) 40%, transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0; transition: opacity 0.5s ease;
}
.card:hover .card__foil { opacity: 0.55; }
@keyframes sheenSlide { from { transform: translateX(-30%); } to { transform: translateX(30%); } }
.card__top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 4; gap: 8px; }
.card__serial { font-family: inherit; font-size: 11px; letter-spacing: 0.12em; color: #fff; background: rgba(0,0,0,0.6); padding: 5px 8px; border-radius: 999px; }
.card__mark { position: absolute; right: 18px; bottom: 18px; z-index: 4; width: 18px; height: 18px; color: var(--card-ink); opacity: 0.65; }
.card__body { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 4; }
.card__type { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.card__meta { margin-top: 8px; font-size: 13px; color: var(--card-ink); opacity: 0.85; }
.card__foot { margin-top: 12px; padding-right: 28px; display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--card-ink); opacity: 0.8; flex-wrap: wrap; }
.card--sm { --card-r: 16px; }
.card--sm .card__type { font-size: 20px; }
.card--sm .card__body { left: 14px; right: 14px; bottom: 14px; }
.card--sm .card__top { top: 12px; left: 12px; right: 12px; gap: 6px; }
.card--sm .chip { height: 22px; padding: 0 8px; font-size: 9.5px; letter-spacing: 0.1em; }
.card--sm .card__serial { font-size: 10px; letter-spacing: 0.06em; }
.card--sm .card__meta { font-size: 12px; }
.card--sm .card__foot { display: none; }
.card--sm .card__mark { display: none; }
.card--sm .card__foil { display: none; } /* one blend layer per small card, not two */
@container (max-width: 200px) { .card__serial { display: none; } }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }

/* cinematic card band */
.stage { position: relative; overflow-x: clip; }
.stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(55% 40% at 50% 68%, rgba(59,100,244,0.16), transparent 70%); pointer-events: none; } /* fades out inside the section: no hard edge where it ends */
.fan { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; height: 470px; margin-bottom: 56px; perspective: 1600px; }
.fan .card { width: 300px; position: absolute; bottom: 0; transform-origin: 50% 120%; transition: translate 0.7s var(--ease); will-change: translate; }
.fan .card:nth-child(1) { transform: rotate(-16deg) translateX(-330px) translateY(40px); z-index: 1; }
.fan .card:nth-child(2) { transform: rotate(-7deg) translateX(-160px) translateY(10px); z-index: 2; }
.fan .card:nth-child(3) { transform: translateY(0); z-index: 3; }
.fan .card:nth-child(4) { transform: rotate(7deg) translateX(160px) translateY(10px); z-index: 2; }
.fan .card:nth-child(5) { transform: rotate(16deg) translateX(330px) translateY(40px); z-index: 1; }
.fan .card:hover { translate: 0 -16px; } /* a quiet lift; stacking order stays fixed so nothing pops */
.fan .card .card__art img, .fan .card:hover .card__art img { transform: none; }

/* editions */
.editions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.edition { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--surface-1); min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; transition: transform 0.5s var(--ease); }
.edition:hover { transform: translateY(-4px); }
.edition__art { position: absolute; inset: 0; z-index: -1; }
.edition__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.edition:hover .edition__art img { transform: scale(1.06); }
.edition__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,10,0.05) 0%, rgba(6,7,10,0.25) 40%, rgba(6,7,10,0.9) 72%, rgba(6,7,10,0.96) 100%); }
.edition__name { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; }
.edition__run { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.edition__copy { font-size: 14px; color: var(--ink-2); margin-top: 12px; line-height: 1.55; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px 24px; border-radius: var(--r); background: var(--surface-1); }
.stat__num { font-size: clamp(44px, 5vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.stat__num small { font-size: 0.5em; letter-spacing: -0.02em; margin-left: 2px; }
.stat__label { margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); padding: 88px 48px; text-align: center; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 120%, rgba(59,100,244,0.42), transparent 70%); }
.cta-band .h-section { max-width: 16ch; margin: 18px auto 0; }
.cta-band .lede { max-width: 46ch; margin: 18px auto 0; }
.cta-band .hero__ctas { margin-top: 32px; }

/* ---------- registry ---------- */
.search { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--surface-1); transition: background 0.25s ease; }
.search:focus-within { background: var(--surface-3); }
.search svg { width: 18px; height: 18px; color: var(--mute); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font-size: 15px; }
.search input::placeholder { color: var(--mute); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--tone-2); transition: background 0.2s ease, color 0.2s ease; }
.filter:hover { background: var(--tone-3); color: var(--ink); }
.filter[aria-pressed="true"] { background: #fff; color: #0b0d11; }
.filter .n { font-family: var(--mono); font-size: 11px; opacity: 0.6; }
.view-toggle { display: inline-flex; background: var(--surface-1); border-radius: 999px; padding: 3px; gap: 2px; }
.view-toggle button { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s ease, color 0.2s ease; }
.view-toggle button[aria-pressed="true"] { background: var(--surface-4); color: var(--ink); }
.view-toggle svg { width: 14px; height: 14px; }
.rows { display: flex; flex-direction: column; gap: 8px; }
.rows__head, .row { display: grid; grid-template-columns: 52px 110px 1.1fr 1.3fr 1.2fr 160px 90px; gap: 16px; align-items: center; }
.rows__head { padding: 6px 20px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.row {
  padding: 12px 20px; border-radius: 14px; background: var(--surface-1); color: var(--ink);
  transition: background 0.25s ease, transform 0.35s var(--ease);
  opacity: 0; transform: translateY(8px); animation: rowIn 0.6s var(--ease) forwards; animation-delay: calc(var(--i) * 35ms);
}
@keyframes rowIn { to { opacity: 1; transform: none; } }
.row:hover { background: var(--surface-2); }
.row__thumb { width: 44px; height: 62px; border-radius: 7px; object-fit: cover; }
.row__reg { font-family: var(--mono); font-size: 14px; }
.row__type { font-weight: 700; font-size: 15px; }
.row__dim { color: var(--ink-2); font-size: 15px; }
.row__minted { font-family: var(--mono); font-size: 14px; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.empty { text-align: center; color: var(--mute); padding: 72px 0; }

/* ---------- card page ---------- */
.verify { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 40px; align-items: start; }
.verify__side { display: grid; gap: 10px; }
.verify__side .grid-2 { gap: 10px; }
.timeline { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.timeline__item { position: relative; display: grid; grid-template-columns: 140px 1fr auto; gap: 20px; align-items: baseline; padding: 16px 20px 16px 44px; border-radius: 14px; background: var(--surface-1); }
.timeline__item::before { content: ''; position: absolute; left: 20px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface-4); }
.timeline__item.is-current { background: var(--surface-2); }
.timeline__item.is-current::before { background: var(--success); }
.timeline__date { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.timeline__text { font-size: 15px; color: var(--ink-2); }
.timeline__text b { color: var(--ink); font-weight: 600; }
.timeline__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--mute); }
.timeline__tag--current { color: var(--success); }

/* ---------- profile / pass ---------- */
.pass {
  position: relative; overflow: hidden; border-radius: var(--r-l);
  background: var(--surface-1); isolation: isolate; padding: 36px 40px; color: var(--ink);
  -webkit-mask: radial-gradient(14px at 0 62%, transparent 98%, #000) -14px 0 / 100% 100%, radial-gradient(14px at 100% 62%, transparent 98%, #000) 14px 0 / 100% 100%;
  -webkit-mask-composite: source-in; mask: radial-gradient(14px at 0 62%, transparent 98%, #000), radial-gradient(14px at 100% 62%, transparent 98%, #000); mask-composite: intersect;
}
.pass__art { position: absolute; inset: 0; z-index: -1; }
.pass__art img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.pass__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,7,10,0.92) 0%, rgba(6,7,10,0.75) 45%, rgba(6,7,10,0.25) 100%); }
.pass__head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.avatar { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 24px; letter-spacing: 0.04em; background: radial-gradient(120% 120% at 30% 20%, var(--surface-4), var(--surface-2)); }
.pass__rank { margin-left: auto; text-align: right; }
.pass__rank .tile__label { color: var(--ink-3); }
.pass__rank b { display: block; font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: 6px; }
.pass__divider { height: 30px; }
.pass__stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pass__stats .tile__label { color: var(--ink-3); }
.pass__stats b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pass__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 20px; }
.barcode { display: flex; gap: 3px; align-items: stretch; height: 28px; opacity: 0.8; }
.barcode i { display: block; width: 2px; background: #fff; }
.barcode i:nth-child(3n) { width: 4px; } .barcode i:nth-child(5n) { width: 1px; } .barcode i:nth-child(7n) { width: 3px; }
.levelbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-3); }
.levelbar i { display: block; width: var(--w); transition: width 1.4s var(--ease); }
.js .levelbar:not(.in) i { width: 0; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0.06em; }
.legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 8px; vertical-align: 1px; }
.badge-list { display: flex; flex-direction: column; gap: 10px; }
.badge { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: var(--surface-1); }
.badge b { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.badge b .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); flex: none; }
.badge b .ic svg { width: 15px; height: 15px; }
.badge span { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.constellation { position: relative; border-radius: var(--r); background: var(--surface-1); overflow: hidden; }
.constellation svg { width: 100%; height: auto; }
.constellation .grid line { stroke: rgba(255,255,255,0.05); }
.constellation .route { fill: none; stroke: var(--accent-2); stroke-width: 1.2; opacity: 0.8; stroke-dasharray: 600; }
.js .constellation .route { stroke-dashoffset: 600; }
.js .constellation.in .route { animation: draw 2.4s var(--ease) forwards; }
.js .constellation.in .route:nth-of-type(2) { animation-delay: 0.15s; } .js .constellation.in .route:nth-of-type(3) { animation-delay: 0.3s; } .js .constellation.in .route:nth-of-type(4) { animation-delay: 0.45s; } .js .constellation.in .route:nth-of-type(5) { animation-delay: 0.6s; } .js .constellation.in .route:nth-of-type(6) { animation-delay: 0.75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.constellation .node { fill: var(--accent-2); }
.constellation .home { fill: #ffd166; }
.constellation .label { position: absolute; top: 16px; left: 18px; }
.constellation .pill { position: absolute; right: 14px; bottom: 14px; font-size: 11px; background: var(--surface-3); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.steps__rail { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 6px; }
.steps__rail a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); transition: color 0.2s ease, background 0.2s ease; }
.steps__rail a.is-active { color: var(--ink); background: var(--surface-1); }
.steps__rail a .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 11px; transition: background 0.2s ease, color 0.2s ease; }
.steps__rail a.is-active .n { background: var(--accent); color: #fff; }
.step { padding: 48px 0; scroll-margin-top: 110px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; }
.step:first-child { padding-top: 0; }
.step__visual { position: relative; border-radius: var(--r); background: var(--surface-1); aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center; }
.step__visual .radar { position: absolute; inset: auto; width: 100%; height: 100%; right: auto; top: auto; }
.tiers { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.tier { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 18px; padding: 14px 18px 14px 14px; border-radius: 14px; background: var(--surface-1); font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; }
.tier img { width: 40px; height: 56px; border-radius: 6px; object-fit: cover; }
.tier .run { color: var(--mute); }
.tier--platinum { background: linear-gradient(90deg, rgba(59,100,244,0.2), var(--surface-2)); }
.tier--platinum .name { color: var(--platinum); } .tier--silver .name { color: var(--silver); } .tier--standard .name { color: var(--standard); }

/* ---------- prose (about) ---------- */
.prose h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.prose p { margin: 14px 0 0; }
.prose section { padding: 36px 32px; margin-top: 16px; border-radius: var(--r-l); background: var(--surface-1); scroll-margin-top: 100px; }
.prose section:first-of-type { margin-top: 0; }

/* ---------- footer ---------- */
.footer { background: linear-gradient(180deg, var(--bg) 0%, #0c0e13 100%); margin-top: 0; padding: 96px 0 40px; position: relative; overflow: hidden; }
main > .section:last-of-type { padding-bottom: 64px; } /* the footer's own padding carries the rest of the gap */
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__col h4 { margin: 0 0 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.footer__col a { display: block; color: var(--ink-2); font-size: 14px; padding: 5px 0; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--ink); }
.footer__tag { margin-top: 14px; color: var(--ink-3); font-size: 14px; max-width: 30ch; line-height: 1.55; }
.footer__bottom { margin-top: 72px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
.footer__wordmark { position: absolute; left: 50%; bottom: -0.28em; transform: translateX(-50%); font-size: clamp(120px, 20vw, 300px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: rgba(255,255,255,0.03); pointer-events: none; -webkit-user-select: none; user-select: none; white-space: nowrap; }

/* ---------- reveal on scroll ---------- */
/* gated on the .js root class so content stays visible if scripts never run */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.js .reveal--blur:not(.in) { filter: blur(8px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .t2 { left: 10%; } .t4 { left: 30%; } .t6 { left: 70%; } .t7 { left: 71%; }
  .t10 { display: none; }
  .tile-art__cap { font-size: 10px; }
  .hero__foot { grid-template-columns: 1fr; gap: 24px; }
  .hero__foot .lede { max-width: 48ch; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-row { grid-template-columns: repeat(3, 1fr); }
  .editions { grid-template-columns: repeat(2, 1fr); }
  .span-4, .span-5, .span-7, .span-8 { grid-column: span 6; }
  .fan .card { width: 240px; }
  .fan .card:nth-child(1) { transform: rotate(-16deg) translateX(-250px) translateY(40px); }
  .fan .card:nth-child(2) { transform: rotate(-7deg) translateX(-125px) translateY(10px); }
  .fan .card:nth-child(4) { transform: rotate(7deg) translateX(125px) translateY(10px); }
  .fan .card:nth-child(5) { transform: rotate(16deg) translateX(250px) translateY(40px); }
  .rows__head, .row { grid-template-columns: 52px 100px 1fr 1.2fr 140px 80px; }
  .rows__head > :nth-child(5), .row > :nth-child(5) { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__col:first-child { grid-column: span 3; }
}
@media (max-width: 860px) {
  :root { --section: 88px; --nav-h: 64px; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0; flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 24px; background: rgba(6,7,10,0.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.4s var(--ease);
  }
  .nav__links a:not(.btn) { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; padding: 10px 14px; }
  .nav__links .btn { margin: 18px 0 0; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: rgba(6,7,10,0.96); }
  .nav__toggle { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 72px; }
  /* on phones the wall becomes a compact grid of six tiles above the copy */
  .hero--wall { justify-content: center; gap: 28px; }
  .wall { position: relative; inset: auto; transform: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 var(--gutter); }
  .tile-art { position: static; width: auto; animation: none; }
  .tile-art:nth-child(n + 7), .tile-art__cap i { display: none; }
  .tile-art__img { aspect-ratio: 4 / 5; border-radius: 12px; clip-path: inset(0 round 12px); }
  .tile-art__cap { margin-top: 8px; font-size: 10px; white-space: normal; }
  .hero__foot .h-display { font-size: clamp(36px, 10.5vw, 48px); max-width: none; }
  .phones { gap: 14px; margin-top: 56px; }
  .phone { width: 30vw; border-radius: 22px; }
  .phone--c { width: 34vw; }
  .bento { grid-template-columns: 1fr; }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 1; }
  .bento__item { min-height: 300px; padding: 24px; }
  .bento__item--record { min-height: 470px; }
  .bento__phone { display: none; }
  .bento__text--half { max-width: 100% !important; }
  .radar { width: 360px; height: 360px; right: -90px; top: -60px; opacity: 0.45; }
  .search .kbd { display: none; }
  .stack-visual { width: 150px; height: 205px; right: 16px; top: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 20px; }
  .card-grid, .card-grid--3, .card-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .editions { grid-template-columns: 1fr 1fr; gap: 12px; }
  .edition { min-height: 300px; padding: 18px; }
  .fan { height: 380px; }
  .fan .card { width: 180px; }
  .fan .card:nth-child(1) { transform: rotate(-16deg) translateX(-150px) translateY(40px); }
  .fan .card:nth-child(2) { transform: rotate(-7deg) translateX(-78px) translateY(10px); }
  .fan .card:nth-child(4) { transform: rotate(7deg) translateX(78px) translateY(10px); }
  .fan .card:nth-child(5) { transform: rotate(16deg) translateX(150px) translateY(40px); }
  .cta-band { padding: 64px 24px; border-radius: var(--r-l); }
  .rows__head { display: none; }
  .row { grid-template-columns: 44px 1fr auto; gap: 14px; padding: 12px 14px; }
  .row > :nth-child(3), .row > :nth-child(5), .row > :nth-child(7) { display: none; }
  .row__reg { display: none; }
  .row__type::after { content: attr(data-reg); display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--mute); margin-top: 2px; }
  .verify { grid-template-columns: 1fr; }
  .verify .card { max-width: 380px; }
  .timeline__item { grid-template-columns: 1fr; gap: 4px; }
  .pass { padding: 24px 22px; }
  .pass__stats { grid-template-columns: repeat(3, 1fr); }
  .pass__rank { margin-left: 0; text-align: left; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps__rail { position: static; flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
  .steps__rail a { white-space: nowrap; }
  .step { grid-template-columns: 1fr; }
  .step__visual { max-width: 340px; }
  .prose section { padding: 28px 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__col:first-child { grid-column: span 2; }
}
@media (max-width: 520px) {
  .h-display { font-size: clamp(38px, 12vw, 54px); letter-spacing: -0.035em; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .phones { gap: 8px; }
  .phone { width: 31vw; border-radius: 16px; }
  .phone--c { width: 36vw; }
  .card-grid, .card-grid--3, .card-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .editions { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .pass__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .js .reveal:not(.in), .js .words:not(.in) .w, .row { opacity: 1; transform: none; filter: none; }
  .js .levelbar:not(.in) i { width: var(--w); }
  .js .constellation .route { stroke-dashoffset: 0; }
}

/* The approved regular-card family uses one bold, tracked system sans label. */
.card .chip { font-family: inherit; font-weight: 700; letter-spacing: 0.2em; }
