/* =========================================================
   RK.OS — monochrome / Y2K / chrome / fluted glass
   ========================================================= */

@property --bg { syntax: '<color>'; inherits: true; initial-value: #070707; }
@property --fg { syntax: '<color>'; inherits: true; initial-value: #f2f2f0; }
@property --mute { syntax: '<color>'; inherits: true; initial-value: #808080; }
@property --line { syntax: '<color>'; inherits: true; initial-value: rgba(255,255,255,.14); }

:root {
  --bg: #070707;
  --fg: #f2f2f0;
  --mute: #808080;
  --line: rgba(255,255,255,.14);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e6e6e6 18%, #8c8c8c 42%, #fdfdfd 50%, #3d3d3d 55%, #9a9a9a 72%, #f4f4f4 92%, #bdbdbd 100%);
  --chrome-h: linear-gradient(100deg, #6f6f6f 0%, #ffffff 18%, #9b9b9b 34%, #f5f5f5 50%, #545454 66%, #e9e9e9 84%, #8a8a8a 100%);
  --f-display: 'Unbounded', 'Arial Black', sans-serif;
  --f-body: 'Space Grotesk', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-px: 'Silkscreen', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --rail-w: 0px;
}

body.is-neg {
  --bg: #efefed;
  --fg: #0a0a0a;
  --mute: #6b6b6b;
  --line: rgba(0,0,0,.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: --bg .9s var(--ease), --fg .9s var(--ease), --mute .9s var(--ease), --line .9s var(--ease);
}
body.is-loading { overflow: hidden; }
::selection { background: var(--fg); color: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 1px dashed var(--fg); outline-offset: 4px; }

@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------- fx ---------- */
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.fx--grain {
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type primitives ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.px { font-family: var(--f-px); letter-spacing: .08em; color: var(--fg); }
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 7.4vw, 124px);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.display--sm { font-size: clamp(30px, 4.6vw, 72px); }
.lede {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.45;
  color: var(--mute);
  max-width: 46ch;
}

.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
body.is-neg .chrome-text {
  background: linear-gradient(180deg, #000 0%, #2b2b2b 40%, #8a8a8a 50%, #1a1a1a 58%, #000 100%);
  -webkit-background-clip: text; background-clip: text;
}
.chrome-text.is-split { background: none; -webkit-text-fill-color: initial; color: inherit; }
.chrome-text .char {
  display: inline-block;
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  will-change: transform;
}
.outline-text {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
}

/* words revealed on scroll */
[data-words] .w { display: inline-block; opacity: .12; transition: opacity .25s linear; }
[data-words] .w.is-on { opacity: 1; }

/* ---------- glass ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0) 0px,
      rgba(255,255,255,.075) 5px,
      rgba(255,255,255,.015) 9px,
      rgba(0,0,0,.26) 14px,
      rgba(255,255,255,0) 16px),
    linear-gradient(155deg, rgba(255,255,255,.12), rgba(255,255,255,.02) 45%, rgba(255,255,255,.07));
  -webkit-backdrop-filter: blur(18px) brightness(.85) contrast(1.1);
  backdrop-filter: blur(18px) brightness(.85) contrast(1.1);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -1px 0 rgba(0,0,0,.5),
    0 50px 90px -30px rgba(0,0,0,.75);
  overflow: hidden;
}
.glass::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 0%), rgba(255,255,255,.16), transparent 55%);
  pointer-events: none;
  z-index: -1;
  transition: opacity .4s;
}
body.is-neg .glass {
  border-color: rgba(0,0,0,.14);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0px, rgba(255,255,255,.5) 5px, rgba(255,255,255,.1) 9px, rgba(0,0,0,.08) 14px, rgba(255,255,255,0) 16px),
    linear-gradient(155deg, rgba(255,255,255,.6), rgba(255,255,255,.2));
}

/* ---------- boot ---------- */
.boot {
  position: fixed; inset: 0;
  z-index: 200;
  color: #e9e9e9;
  font-family: var(--f-mono);
  font-size: 12px;
  pointer-events: none;
}
.boot__inner {
  position: absolute; inset: 0;
  background: #070707;
  padding: var(--gutter);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 20px;
}
.boot__top, .boot__bottom { display: flex; justify-content: space-between; gap: 16px; letter-spacing: .18em; }
.boot__top { color: #8a8a8a; font-size: 11px; }
.boot__log { margin: 0; align-self: end; white-space: pre-wrap; line-height: 1.8; color: #cfcfcf; font: inherit; max-width: 640px; }
.boot__log b { color: #fff; font-weight: 600; }
.boot__bar { height: 14px; border: 1px solid #555; padding: 2px; }
.boot__bar i {
  display: block; height: 100%; width: 0%;
  background: repeating-linear-gradient(90deg, #f2f2f2 0 8px, transparent 8px 11px);
}
.boot__pct { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 14vw, 200px); line-height: .8; letter-spacing: -.04em; }
.boot__hint { align-self: end; font-size: 11px; color: #8a8a8a; text-align: right; }
.boot__shutter { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.boot.is-opening .boot__inner { display: none; }
.boot.is-opening .boot__shutter { display: block; }
.boot.is-done { display: none; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; mix-blend-mode: difference; display: none; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
body.has-cursor .cursor { display: block; }
.cursor__ring {
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s;
}
.cursor__dot { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: #fff; border-radius: 50%; }
.cursor__label { font-family: var(--f-px); font-size: 10px; color: #000; opacity: 0; letter-spacing: .06em; white-space: nowrap; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: #fff; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-down .cursor__ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.spark {
  position: fixed; left: 0; top: 0; z-index: 299;
  pointer-events: none;
  color: #fff;
  mix-blend-mode: difference;
  font-size: 12px; line-height: 1;
  animation: spark .9s var(--ease-out) forwards;
}
@keyframes spark {
  0% { opacity: 1; transform: translate(var(--x), var(--y)) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy))) scale(.2) rotate(140deg); }
}

/* ---------- HUD ---------- */
.hud, .rail, .hud-foot { position: fixed; z-index: 80; color: #fff; mix-blend-mode: difference; }
.hud {
  top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em;
}
.hud__logo { font-family: var(--f-display); font-weight: 900; font-size: 18px; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 2px; }
.hud__logo span { display: inline-block; animation: spin 6s linear infinite; font-size: 14px; }
.hud__status { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.5); padding: 7px 14px; border-radius: 999px; }
.hud__status span { opacity: .6; }
.hud__status i, .engine__status i { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 1.6s infinite; }
.hud__menu { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .2em; padding: 8px 0; }
.hud__menu-icon { display: grid; gap: 5px; width: 26px; }
.hud__menu-icon i { display: block; height: 1.5px; background: #fff; transition: transform .5s var(--ease); }
body.menu-open .hud__menu-icon i:first-child { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .hud__menu-icon i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@keyframes spin { to { transform: rotate(360deg); } }

.rail { left: 16px; top: 50%; transform: translateY(-50%); display: flex; transition: opacity .6s; gap: 14px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; }
.rail ol { display: grid; gap: 10px; }
.rail a { display: flex; gap: 10px; align-items: center; opacity: .45; transition: opacity .3s; }
.rail a span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease); }
.rail a:hover, .rail a.is-active { opacity: 1; }
.rail a:hover span { max-width: 140px; }
.rail a.is-active b { text-decoration: underline; text-underline-offset: 4px; }
body.on-hero .rail { opacity: 0; pointer-events: none; }
.rail__track { width: 1px; background: rgba(255,255,255,.25); position: relative; }
.rail__track i { position: absolute; left: -1px; top: 0; width: 3px; height: 0; background: #fff; }

.hud-foot {
  left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em;
}
.hud-foot__sep { opacity: .4; margin: 0 8px; }
.sfx b { font-weight: 600; }

/* ---------- menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 70;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
body.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease), visibility 0s; }
.menu__glass {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.06) 10px, rgba(0,0,0,.35) 26px, rgba(255,255,255,0) 30px),
    rgba(10,10,10,.55);
  -webkit-backdrop-filter: blur(26px) brightness(.6);
  backdrop-filter: blur(26px) brightness(.6);
}
.menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 90px var(--gutter) 70px; color: #f2f2f0; }
.menu__eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; opacity: .6; margin-bottom: 24px; }
.menu__list { display: grid; gap: 2px; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(24px, 4vw, 60px); line-height: 1.02; letter-spacing: -.03em;
  transition: transform .5s var(--ease-out), color .3s;
}
.menu__list a i { font-family: var(--f-px); font-style: normal; font-size: 12px; letter-spacing: .1em; opacity: .5; }
.menu__list a:hover { transform: translateX(18px); }
.menu__list a:hover span, .menu__list a:hover { -webkit-text-stroke: 0; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; opacity: .75; }
.menu__list li { overflow: hidden; }
.menu__list li a { transform: translateY(110%); }
body.menu-open .menu__list li a { transform: translateY(0); transition: transform .9s var(--ease-out) calc(.25s + var(--i, 0) * .05s); }

/* ---------- layout ---------- */
main { position: relative; z-index: 2; }
.ch { position: relative; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- 00 hero ---------- */
.hero {
  height: 100vh; height: 100svh;
  min-height: 560px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 90px;
  padding-bottom: 38px;
  overflow: hidden;
}
.hero__inner { position: relative; display: grid; gap: clamp(14px, 2vh, 26px); padding-bottom: clamp(10px, 2vh, 24px); }
.hero__name {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .84;
  letter-spacing: -.045em;
  display: grid;
  filter: drop-shadow(0 2px 0 #4a4a4a) drop-shadow(0 3px 0 #2a2a2a) drop-shadow(0 4px 0 #1a1a1a) drop-shadow(0 22px 26px rgba(0,0,0,.65));
}
.hero__line { display: block; white-space: nowrap; overflow: visible; font-size: 10vw; }
.hero__line--2 { margin-top: .02em; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero__sub { max-width: 44ch; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.45; color: #c9c9c9; }
.hero__sub b { color: #fff; font-weight: 700; }
.stickers { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 560px; }
.sticker {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  padding: 8px 14px; border-radius: 999px;
  background: var(--chrome-h); color: #0a0a0a; font-weight: 600;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #555, 0 6px 18px rgba(0,0,0,.5);
}
.sticker:nth-child(1) { transform: rotate(-3deg); }
.sticker:nth-child(3) { transform: rotate(2deg); }
.sticker--o { background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.55); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sticker em { font-style: normal; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__cue { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: #9a9a9a; }
.hero__cue i { width: 70px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.hero__cue i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: translateX(-100%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

.marquee { position: relative; overflow: hidden; white-space: nowrap; pointer-events: none; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 54px); letter-spacing: -.02em; padding-right: .4em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.6);
}
.marquee--hero { border-top: 1px solid rgba(255,255,255,.18); padding: 10px 0 12px; margin: 0 calc(var(--gutter) * -1); }

/* ---------- 01 prologue ---------- */
.prologue { min-height: 100vh; }
.prologue__pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px);
  padding: 120px 0 100px;
  max-width: 1400px; margin: 0 auto;
}
.statement {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(28px, 4.4vw, 74px);
  line-height: 1.06; letter-spacing: -.03em;
  text-wrap: balance;
}
.identity { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--mute); }
.identity__swap {
  font-family: var(--f-px); font-size: clamp(18px, 2.2vw, 32px); letter-spacing: .04em; color: var(--fg);
  border: 1px solid var(--line); padding: 8px 16px; border-radius: 6px; min-width: 12ch;
  background: rgba(0,0,0,.3);
}

/* ---------- 02 lanes ---------- */
.lanes { padding: 0; }
.lanes__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.lanes__bg { position: absolute; left: 0; top: 50%; white-space: nowrap; pointer-events: none; will-change: transform; }
.lanes__bg span {
  font-family: var(--f-display); font-weight: 900; font-size: 26vh; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09);
}
.lanes__bg--2 { top: auto; bottom: 6vh; transform: none; }
.lanes__bg--2 span { font-family: var(--f-px); font-size: 5vh; -webkit-text-stroke: 0; color: rgba(255,255,255,.12); }
.lanes__track { position: relative; display: flex; align-items: center; gap: 4vw; padding: 0 12vw 0 calc(var(--gutter) + 6vw); will-change: transform; }
.lane { flex: 0 0 auto; }
.lane.glass {
  width: min(80vw, 430px); height: min(68vh, 560px);
  padding: 30px;
  display: flex; flex-direction: column;
}
.lane--intro { width: min(84vw, 720px); display: grid; gap: 28px; }
.lane--outro { width: min(84vw, 620px); display: grid; gap: 22px; }
.lane__hint { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--mute); }
.lane__arrow { font-family: var(--f-display); font-size: 64px; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(10px); } }
.lane__num { font-family: var(--f-display); font-weight: 900; font-size: 96px; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
.lane__icon { position: absolute; right: 26px; top: 26px; width: 74px; height: 74px; }
.lane__icon svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.4; opacity: .85; animation: spin 24s linear infinite; }
.lane__kicker { margin-top: auto; font-family: var(--f-px); font-size: 12px; letter-spacing: .1em; color: #bdbdbd; }
.lane__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; letter-spacing: -.03em; margin: 10px 0 14px; text-transform: uppercase; }
.lane__copy { color: #c4c4c4; font-size: 15px; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; padding: 5px 9px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.lanes__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 56px; height: 1px; background: rgba(255,255,255,.15); }
.lanes__progress i { position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 03 offer ---------- */
.offer { min-height: 100vh; }
.offer__pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px);
  padding: 110px 0 90px;
  max-width: 1400px; margin: 0 auto;
}
.neg { font-family: var(--f-px); color: var(--fg); }
.offer__grid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.offer__money { display: grid; gap: 10px; }
.offer__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; }
.odo {
  display: flex; align-items: flex-start;
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(56px, 11vw, 196px);
  line-height: 1; letter-spacing: -.05em;
}
.odo__cur { font-size: .5em; margin-right: .08em; margin-top: .1em; font-weight: 600; }
.odo__digits { display: flex; }
.odo__d { display: inline-block; height: 1em; overflow: hidden; position: relative; }
.odo__col { display: flex; flex-direction: column; will-change: transform; }
.odo__col span { height: 1em; display: block; text-align: center; }
.odo__comma { display: inline-block; width: .28em; }
.odo__unit { font-family: var(--f-mono); font-size: 13px; letter-spacing: .3em; }
.odo__unit span { color: var(--mute); }
.offer__story { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 42px); line-height: 1.15; letter-spacing: -.02em; max-width: 30ch; text-wrap: balance; }

/* Y2K window (monochrome) */
.win {
  background: #c8c8c8; color: #0a0a0a;
  border: 2px solid; border-color: #fff #2a2a2a #2a2a2a #fff;
  box-shadow: 1px 1px 0 #000, 14px 14px 0 rgba(0,0,0,.28);
  font-family: var(--f-mono); font-size: 13px;
  position: relative;
}
.win__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 5px 6px 5px 10px;
  background: linear-gradient(90deg, #0a0a0a, #5a5a5a 70%, #8d8d8d);
  color: #fff; font-family: var(--f-px); font-size: 11px; letter-spacing: .06em;
}
.win__btns { display: flex; gap: 3px; }
.win__btns i {
  width: 18px; height: 16px; display: grid; place-items: center;
  background: #c8c8c8; color: #000; font-style: normal; font-size: 10px; line-height: 1;
  border: 1.5px solid; border-color: #fff #2a2a2a #2a2a2a #fff;
}
.win__body { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 20px 12px; }
.win__icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--chrome); border: 2px solid #000;
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 22px;
}
.win__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.win__meta dt { font-size: 10px; letter-spacing: .14em; color: #4a4a4a; padding-top: 2px; }
.win__meta dd { font-weight: 600; }
.win__actions { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 20px 18px; }
.win__btn {
  min-width: 96px; padding: 7px 14px;
  background: #c8c8c8; font-family: var(--f-px); font-size: 11px; letter-spacing: .06em;
  border: 2px solid; border-color: #fff #2a2a2a #2a2a2a #fff;
  box-shadow: 1px 1px 0 #000;
}
.win__btn:active, .win__btn.is-pressed { border-color: #2a2a2a #fff #fff #2a2a2a; }
.win__btn--primary { outline: 1px dotted #000; outline-offset: -5px; }


/* ---------- 04 logbook ---------- */
.logbook { padding: 0; }
.log__pin {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: 1fr auto;
  gap: 28px 5vw; align-items: center;
  padding: 100px var(--gutter) 56px calc(var(--gutter) + 20px);
}
.log__year {
  position: absolute; right: -1vw; bottom: 2vh; z-index: 0; pointer-events: none;
  font-family: var(--f-display); font-weight: 900; font-size: 25vw; line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1);
}
.log__head { position: relative; z-index: 2; display: grid; gap: 22px; }
.log__count { font-family: var(--f-px); font-size: 14px; letter-spacing: .06em; }
.log__count i { font-style: normal; color: var(--mute); }
.log__stack { position: relative; z-index: 2; height: min(66vh, 540px); perspective: 1400px; }
.logcard {
  position: absolute; inset: 0; margin: auto; width: min(100%, 540px);
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(170deg, #171717, #070707);
  border: 1px solid rgba(255,255,255,.22); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 50px 90px -24px rgba(0,0,0,.9);
  transform-origin: 50% 60%; will-change: transform;
}
.logcard__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 5px 6px 5px 12px; background: var(--chrome-h); color: #0a0a0a;
  font-family: var(--f-px); font-size: 11px; letter-spacing: .04em; white-space: nowrap; overflow: hidden;
}
.logcard__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; }
.logcard__org { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: #bdbdbd; }
.logcard__role { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 2.3vw, 34px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.logcard__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--mute); }
.logcard__stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.logcard__stat b {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -.04em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.logcard__stat span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; color: #9a9a9a; }
.logcard__list { display: grid; gap: 8px; font-size: 14px; line-height: 1.45; color: #c9c9c9; }
.logcard__list li { position: relative; padding-left: 18px; }
.logcard__list li::before { content: '✦'; position: absolute; left: 0; top: 2px; font-size: 10px; color: #fff; }
.logcard .tags { margin-top: auto; padding-top: 6px; }
.log__rail { grid-column: 1 / -1; position: relative; z-index: 2; height: 34px; margin-top: 22px; }
.log__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255,255,255,.25); }
.log__line i { position: absolute; top: -5px; left: 0; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.14); }
.log__tick { position: absolute; top: 12px; left: var(--x); font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--mute); white-space: nowrap; transition: color .3s; }
.log__tick::before { content: ''; position: absolute; left: 0; top: -16px; width: 1px; height: 9px; background: rgba(255,255,255,.5); }
.log__tick.is-on { color: var(--fg); }
.log__tick--yr { top: -26px; font-family: var(--f-px); font-size: 11px; color: var(--fg); }
.log__tick--yr::before { display: none; }

@media (max-width: 899px) {
  .log__pin { display: block; height: auto; padding: 100px var(--gutter) 70px; }
  .log__year { font-size: 42vw; top: 70px; bottom: auto; right: -3vw; }
  .log__stack { height: auto; display: grid; gap: 22px; margin-top: 40px; perspective: none; }
  .logcard { position: relative; inset: auto; width: 100%; }
  .log__count, .log__rail { display: none; }
}

/* ---------- 05 crowds ---------- */
.crowds { padding-top: clamp(90px, 14vh, 160px); padding-bottom: clamp(80px, 12vh, 140px); overflow: hidden; }
.crowds__head { display: grid; gap: 22px; max-width: 1400px; margin: 0 auto; }
.marquee--diag { margin: clamp(40px, 8vh, 90px) calc(var(--gutter) * -1) 0; transform: rotate(-4deg); background: #f2f2f0; padding: 12px 0; }
.marquee--diag .marquee__track span { color: #0a0a0a; -webkit-text-stroke: 0; font-size: clamp(20px, 2.6vw, 40px); }
.passes {
  display: flex; justify-content: center; gap: clamp(18px, 3vw, 48px);
  margin: clamp(60px, 10vh, 120px) auto 0;
  perspective: 1200px;
  max-width: 1300px;
}
.pass { position: relative; width: clamp(210px, 20vw, 290px); transform-style: preserve-3d; transform-origin: 50% -40vh; }
.pass--mid { margin-top: 70px; }
.pass__strap {
  position: absolute; left: 50%; bottom: calc(100% - 22px); width: 34px; height: 48vh; transform: translateX(-50%);
  background:
    repeating-linear-gradient(180deg, transparent 0 46px, rgba(0,0,0,.6) 46px 48px),
    linear-gradient(90deg, #1a1a1a, #3a3a3a 30%, #111 70%, #2a2a2a);
  border-left: 1px solid rgba(255,255,255,.2); border-right: 1px solid rgba(255,255,255,.08);
}
.pass__strap::after {
  content: 'CREW ✦ CREW ✦ CREW ✦ CREW ✦ CREW ✦ CREW ✦ CREW ✦ CREW ✦';
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-family: var(--f-px); font-size: 10px; color: rgba(255,255,255,.55); white-space: nowrap; letter-spacing: .2em;
}
.pass__card {
  position: relative; overflow: hidden;
  aspect-ratio: 5 / 7.6;
  border-radius: 16px;
  padding: 44px 22px 20px;
  background: linear-gradient(170deg, #f7f7f5, #d9d9d7);
  color: #0a0a0a;
  display: flex; flex-direction: column;
  box-shadow: inset 0 1px 0 #fff, 0 40px 80px -24px rgba(0,0,0,.8);
  transform-style: preserve-3d;
}
.pass__card--dark { background: linear-gradient(170deg, #1e1e1e, #070707); color: #f2f2f0; border: 1px solid rgba(255,255,255,.18); }
.pass__hole { position: absolute; left: 50%; top: 14px; width: 54px; height: 12px; border-radius: 999px; transform: translateX(-50%); background: #070707; box-shadow: inset 0 2px 3px rgba(0,0,0,.8); }
.pass__card--dark .pass__hole { background: #000; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.pass__holo {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .75;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.95) calc(var(--hx, 40%) - 6%), rgba(0,0,0,.5) var(--hx, 40%), rgba(255,255,255,.9) calc(var(--hx, 40%) + 6%), transparent 80%);
}
.pass__top { display: flex; justify-content: space-between; font-family: var(--f-px); font-size: 11px; letter-spacing: .06em; border-bottom: 1px solid currentColor; padding-bottom: 8px; }
.pass__no { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; margin-top: 10px; opacity: .6; }
.pass__via {
  align-self: flex-start; margin-top: 12px; padding: 4px 8px;
  border: 1.5px solid currentColor; border-radius: 4px;
  font-family: var(--f-px); font-size: 10px; letter-spacing: .06em;
  transform: rotate(-4deg);
}
.pass__venue { font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 3.4vw, 52px); line-height: .86; letter-spacing: -.05em; margin-top: auto; }
.pass__venue small { display: block; font-size: .27em; letter-spacing: .02em; margin-top: 10px; line-height: 1.1; }
.pass__role { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; margin: 14px 0 12px; }
.pass__barcode { height: 40px; background: #000; }
.pass__card--dark .pass__barcode { background: #fff; }
.pass__foot { font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; margin-top: 8px; opacity: .7; }
.crowds__story { margin: clamp(60px, 10vh, 120px) auto 0; max-width: 1100px; font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.18; letter-spacing: -.02em; text-wrap: balance; }

/* ---------- 05 lens ---------- */
.lens { padding-top: clamp(90px, 14vh, 160px); }
.lens__intro { position: relative; display: grid; justify-items: center; text-align: center; gap: 30px; min-height: 90vh; align-content: center; }
.aperture { position: absolute; left: 50%; top: 50%; width: min(78vw, 640px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; opacity: .5; }
.aperture svg { width: 100%; height: 100%; overflow: visible; }
.lens__quote { position: relative; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 5vw, 84px); line-height: 1; letter-spacing: -.04em; max-width: 16ch; text-wrap: balance; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 20px; width: min(100%, 900px); }
.stat { background: rgba(7,7,7,.75); padding: 18px 14px; display: grid; justify-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stat b { font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -.04em; display: inline; }
.stat sup { font-family: var(--f-display); font-size: 20px; position: absolute; margin-left: 2px; }
.stat > b + sup { position: static; display: inline; }
.stat span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; color: var(--mute); margin-top: 8px; }

.disc { position: relative; margin: clamp(80px, 14vh, 160px) auto 0; max-width: 1400px; }
.disc__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: var(--mute); margin-bottom: 16px; }
.disc__list li {
  position: relative;
  display: grid; grid-template-columns: 60px 1fr auto; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--line);
  padding: 14px 0 10px;
  cursor: pointer;
}
.disc__list li:last-child { border-bottom: 1px solid var(--line); }
.disc__list i { font-family: var(--f-px); font-style: normal; font-size: 12px; color: var(--mute); }
.disc__list span {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 8.4vw, 140px); line-height: .9; letter-spacing: -.05em;
  transition: transform .6s var(--ease-out), color .3s;
}
.disc__list em { font-style: normal; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--mute); opacity: 0; transform: translateX(-12px); transition: .5s var(--ease-out); max-width: 22ch; text-align: right; }
.disc__list li:hover span { transform: translateX(24px); color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.disc__list li:hover em { opacity: 1; transform: none; }
.disc__preview {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: 260px; aspect-ratio: 3 / 4;
  pointer-events: none;
  opacity: 0; transform: scale(.6);
  transition: opacity .3s, transform .5s var(--ease-out);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
}
.disc__preview.is-on { opacity: 1; transform: scale(1); }
.disc__preview img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.disc__glass {
  position: absolute; inset: 0; display: none; place-items: center; text-align: center;
  font-family: var(--f-px); font-size: 14px; color: #fff;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.18) 6px, rgba(0,0,0,.3) 14px, rgba(255,255,255,0) 16px),
    linear-gradient(160deg, #3a3a3a, #0b0b0b);
}
.disc__preview.is-empty .disc__glass { display: grid; }
.disc__preview.is-empty img { display: none; }

/* photo component: fluted glass layer over a clear layer */
.ph { position: relative; overflow: hidden; border-radius: 10px; background: #111; cursor: pointer; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); user-select: none; -webkit-user-drag: none; }
.ph__glass { position: absolute; inset: 0; transition: opacity .55s var(--ease-out); }
.ph__glass img { filter: url(#flute) grayscale(1) contrast(1.1) brightness(.92); transform: scale(1.06); }
.ph__glass::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.14) 2%, rgba(0,0,0,.22) 4.4%, rgba(255,255,255,0) 5%);
  mix-blend-mode: overlay;
}
.ph:hover .ph__glass, .ph.is-clear .ph__glass { opacity: 0; }
.ph__cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; justify-content: space-between; gap: 8px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(6px); transition: .4s var(--ease-out);
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}
.ph:hover .ph__cap { opacity: 1; transform: none; }

.wall { position: relative; margin-top: clamp(100px, 16vh, 180px); }
.wall__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: 1400px; margin: 0 auto 40px; }
.wall__stage {
  position: relative; height: 150vh;
  margin: 0 calc(var(--gutter) * -1);
  overflow: hidden;
  perspective: 1600px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.wall__tilt {
  position: absolute; left: 50%; top: 50%;
  width: 118vw; height: 190vh;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  transform-style: preserve-3d;
}
.wall__col { position: relative; overflow: visible; }
.wall__track { display: grid; gap: 18px; will-change: transform; }
.wall__track .ph { aspect-ratio: 2 / 3; }

.sheet {
  position: relative; height: 100vh; height: 100svh;
  margin: clamp(60px, 10vh, 120px) calc(var(--gutter) * -1) 0;
  overflow: hidden;
  touch-action: pan-y;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  user-select: none;
}
.sheet.is-dragging { cursor: grabbing; }
.sheet__plane { position: absolute; inset: 0; }
.sheet__plane .ph { position: absolute; left: 0; top: 0; will-change: transform; border-radius: 6px; }
.sheet__hud {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 20px; z-index: 3;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; color: #fff;
  mix-blend-mode: difference; pointer-events: none;
}
.sheet__cross { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; transform: translate(-50%, -50%); pointer-events: none; z-index: 3; mix-blend-mode: difference; }
.sheet__cross::before, .sheet__cross::after { content: ''; position: absolute; background: #fff; }
.sheet__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.sheet__cross::after { top: 50%; left: 0; right: 0; height: 1px; }

/* ---------- 06 machines ---------- */
.machines { padding-top: clamp(110px, 16vh, 180px); padding-bottom: clamp(90px, 14vh, 160px); }
.machines__head { display: grid; gap: 22px; max-width: 1400px; margin: 0 auto; }
.machines__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); max-width: 1400px; margin: clamp(48px, 8vh, 90px) auto 0; align-items: start; }
.win--term { position: sticky; top: 100px; }
.term {
  margin: 0; min-height: 380px;
  background: #050505; color: #e8e8e8;
  padding: 20px; font-family: var(--f-mono); font-size: 13px; line-height: 1.75;
  white-space: pre-wrap; word-break: break-word;
  border: 2px solid; border-color: #2a2a2a #fff #fff #2a2a2a;
  margin: 4px;
}
.term .ok { color: #fff; font-weight: 600; }
.term .dim { color: #7a7a7a; }
.term .caret { display: inline-block; width: .6em; height: 1.1em; background: #fff; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cap.glass { padding: 22px; border-radius: 16px; min-height: 190px; display: flex; flex-direction: column; gap: 10px; }
.cap b { font-family: var(--f-px); font-weight: 400; font-size: 12px; color: #9a9a9a; }
.cap h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; margin-top: auto; }
.cap p { font-size: 14px; color: #bdbdbd; }
.paper { max-width: 1400px; margin: clamp(48px, 8vh, 90px) auto 0; }
.paper__sheet {
  margin: 4px; padding: clamp(24px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px);
  background: #f4f4f4; color: #0a0a0a;
  border: 2px solid; border-color: #2a2a2a #fff #fff #2a2a2a;
}
.paper__k { font-family: var(--f-px); font-size: 11px; letter-spacing: .08em; color: #555; }
.paper__title { margin-top: 16px; font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -.02em; }
.paper__by { margin-top: 14px; font-size: 12px; line-height: 1.6; color: #444; }
.paper__by b { color: #000; }
.paper__abs { margin-top: 22px; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: #222; max-width: 62ch; }
.paper__stats { align-self: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #bdbdbd; border: 1px solid #bdbdbd; }
.paper__stats > div { background: #f4f4f4; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.paper__stats dt { font-size: 10px; letter-spacing: .16em; color: #555; }
.paper__stats dd { font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; letter-spacing: -.04em; }
.paper__stats small { display: block; margin-top: 10px; font-family: var(--f-mono); font-weight: 400; font-size: 11px; line-height: 1.5; letter-spacing: 0; color: #444; }
@media (max-width: 899px) { .paper__sheet { grid-template-columns: 1fr; } }

/* ---------- 07 engine ---------- */
.engine { padding: 0; }
.engine__pin {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: 90px var(--gutter) 64px;
}
.engine__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; z-index: 2; }
.engine__status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.engine__ghost {
  position: absolute; left: 50%; top: 52%;
  font-family: var(--f-display); font-weight: 900; font-size: 21vw; line-height: 1; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12);
  white-space: nowrap; pointer-events: none; z-index: 0;
}
.engine__body { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.legs { display: grid; gap: 6px; }
.leg { opacity: .22; transition: opacity .6s var(--ease-out); max-width: 640px; }
.leg.is-active { opacity: 1; }
.leg__name { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 7.6vw, 130px); line-height: .9; letter-spacing: -.05em; }
.leg.is-active .leg__name { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.leg__copy { max-height: 0; overflow: hidden; color: #c4c4c4; font-size: clamp(14px, 1.15vw, 17px); max-width: 46ch; transition: max-height .7s var(--ease-out), margin .7s var(--ease-out); }
.leg.is-active .leg__copy { max-height: 120px; margin: 10px 0 18px; }
.engine__counter { text-align: right; }
.engine__km { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 12vw, 210px); line-height: .85; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.engine__unit { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 38px); margin-left: 8px; }
.engine__leg-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--mute); margin-top: 10px; }
.engine__foot { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 260px; gap: 30px; align-items: end; }
.route { position: relative; }
.route__bar { display: flex; height: 14px; border: 1px solid rgba(255,255,255,.4); padding: 2px; gap: 2px; }
.route__seg { display: block; width: var(--w); background: repeating-linear-gradient(90deg, rgba(255,255,255,.15) 0 2px, transparent 2px 6px); }
.route__fill { position: absolute; left: 3px; top: 3px; height: 8px; width: calc(100% - 6px); background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.route__marks { position: relative; height: 16px; margin-top: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--mute); }
.route__marks span { position: absolute; top: 0; white-space: nowrap; }
.route__marks span:nth-child(1) { left: 0; }
.route__marks span:nth-child(2) { left: 1.68%; transform: translateX(-10%); }
.route__marks span:nth-child(3) { left: 81.34%; transform: translateX(-50%); }
.route__marks span:nth-child(4) { right: 0; }
.ecg { display: grid; gap: 6px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--mute); }
.ecg svg { width: 100%; height: 46px; }
.ecg path { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 400; stroke-dashoffset: 400; animation: ecg 2.2s linear infinite; }
@keyframes ecg { to { stroke-dashoffset: 0; } }
.engine__final {
  position: relative; z-index: 2; margin-top: 18px;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(16px, 1.8vw, 28px); letter-spacing: -.01em;
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline;
  opacity: 0;
}
.engine__final span { font-family: var(--f-px); font-weight: 400; font-size: 12px; letter-spacing: .1em; color: var(--mute); }

/* ---------- 09 tally ---------- */
.tally { padding-top: clamp(110px, 16vh, 180px); padding-bottom: clamp(40px, 8vh, 100px); }
.tally__head { display: grid; gap: 22px; max-width: 1400px; margin: 0 auto; }
.tally__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  max-width: 1400px; margin: clamp(48px, 8vh, 90px) auto 0;
  background: var(--line); border: 1px solid var(--line);
}
.tile { background: var(--bg); padding: clamp(22px, 2.6vw, 36px); min-height: 220px; display: flex; flex-direction: column; gap: 14px; }
.tile__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--mute); }
.tile__v {
  margin-top: auto;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(52px, 6.4vw, 104px); line-height: .9; letter-spacing: -.05em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.tile__v small { font-size: .3em; letter-spacing: 0; margin-left: .25em; }
.tile__l { font-size: 15px; line-height: 1.45; color: #c4c4c4; max-width: 30ch; }
.tile--wide { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(20px, 3vw, 48px); }
.tile--wide .tile__k { grid-column: 1 / -1; }
.tile--wide .tile__l { max-width: 52ch; padding-bottom: .5em; }
.tally__fine {
  max-width: 1400px; margin: 28px auto 0;
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px;
  font-family: var(--f-mono); font-size: 13px; line-height: 1.6; color: #c4c4c4;
}
.tally__fine b {
  flex: none; padding: 6px 10px; border: 1.5px dashed currentColor; border-radius: 4px;
  font-family: var(--f-px); font-weight: 400; font-size: 12px; letter-spacing: .06em; color: var(--fg);
  transform: rotate(-3deg);
}
.roll { max-width: 1400px; margin: clamp(60px, 10vh, 110px) auto 0; }
.roll__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: var(--mute); margin-bottom: 16px; }
.roll__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--line); }
.roll__list li {
  display: flex; align-items: baseline; gap: 14px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 700; font-size: clamp(16px, 1.5vw, 24px); line-height: 1.15; letter-spacing: -.02em; text-transform: uppercase;
}
.roll__list li i { font-family: var(--f-px); font-style: normal; font-weight: 400; font-size: 11px; color: var(--mute); flex: none; }
.roll__list li small { display: block; margin-top: 6px; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .16em; color: var(--mute); }
@media (max-width: 1100px) {
  .tally__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roll__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .tally__grid { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .roll__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}

/* ---------- 10 contact ---------- */
.contact { padding-top: clamp(110px, 18vh, 200px); }
.contact__inner { max-width: 1400px; margin: 0 auto; display: grid; gap: 28px; }
.contact__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(48px, 10vw, 172px); line-height: .88; letter-spacing: -.055em; text-transform: uppercase; }
.contact__cta { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; margin-top: 30px; }
.orb { position: relative; width: clamp(170px, 18vw, 240px); aspect-ratio: 1; display: grid; place-items: center; }
.orb__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.orb__ring text { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; fill: var(--fg); }
.orb__core {
  width: 58%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 34% 28%, #fff 0%, #d0d0d0 18%, #6c6c6c 46%, #1a1a1a 70%, #8a8a8a 92%, #e6e6e6 100%);
  color: #0a0a0a; font-family: var(--f-display); font-weight: 900; font-size: clamp(14px, 1.3vw, 18px); line-height: 1;
  box-shadow: inset 0 -6px 14px rgba(0,0,0,.5), inset 0 4px 10px rgba(255,255,255,.7), 0 20px 50px rgba(0,0,0,.6);
  transition: transform .5s var(--ease-out);
}
.orb:hover .orb__core { transform: scale(1.08) rotate(-8deg); }
.links { display: grid; }
.link {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 16px;
  padding: 20px 4px; text-align: left;
  border-top: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
}
.links li:last-child .link { border-bottom: 1px solid var(--line); }
.link::before { content: ''; position: absolute; inset: 0; background: var(--chrome-h); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease-out); z-index: -1; }
.link:hover::before { transform: scaleY(1); }
.link:hover { color: #0a0a0a; }
.link__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; opacity: .6; }
.link__v { font-family: var(--f-display); font-weight: 600; font-size: clamp(16px, 2vw, 30px); letter-spacing: -.02em; overflow-wrap: anywhere; }
.link__a { font-family: var(--f-px); font-size: 11px; }
.foot { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 60px 0 30px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; color: var(--mute); }
.loopnote { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 60px 0 100px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: var(--mute); }
.loopnote span { color: var(--fg); font-family: var(--f-px); }
.loopnote i { font-style: normal; display: inline-block; animation: spin 3s linear infinite; font-size: 16px; color: var(--fg); }

/* ---------- loop clone ---------- */
.hero--clone .hero__cue span::after { content: ' — AGAIN'; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .5s var(--ease-out), visibility 0s .5s; }
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .5s var(--ease-out); }
.lightbox__glass {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.05) 8px, rgba(0,0,0,.4) 22px, rgba(255,255,255,0) 26px),
    rgba(5,5,5,.7);
  -webkit-backdrop-filter: blur(24px) brightness(.5);
  backdrop-filter: blur(24px) brightness(.5);
}
.lightbox__fig { position: relative; display: grid; gap: 14px; justify-items: center; transform: scale(.94); transition: transform .6s var(--ease-out); }
.lightbox.is-open .lightbox__fig { transform: none; }
.lightbox__fig img { max-width: min(88vw, 1100px); max-height: 76vh; object-fit: contain; filter: grayscale(1) contrast(1.06); border-radius: 6px; box-shadow: 0 40px 100px rgba(0,0,0,.8); transition: filter .6s; }
.lightbox.is-raw .lightbox__fig img { filter: none; }
.lightbox figcaption { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; justify-content: center; color: #f2f2f0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.lightbox figcaption b { font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-transform: none; }
.lightbox__btn, .lightbox__close, .lightbox__raw {
  position: absolute; color: #f2f2f0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 10px 16px;
  background: rgba(0,0,0,.35);
  transition: background .3s, color .3s;
}
.lightbox__btn:hover, .lightbox__close:hover, .lightbox__raw:hover, .lightbox__raw[aria-pressed="true"] { background: #f2f2f0; color: #0a0a0a; }
.lightbox__btn { top: 50%; transform: translateY(-50%); font-size: 18px; padding: 14px 20px; }
.lightbox__btn--prev { left: var(--gutter); }
.lightbox__btn--next { right: var(--gutter); }
.lightbox__close { top: 20px; right: var(--gutter); }
.lightbox__raw { top: 20px; left: var(--gutter); }

.toast {
  position: fixed; left: 50%; bottom: 56px; z-index: 160;
  transform: translate(-50%, 20px); opacity: 0;
  background: #f2f2f0; color: #0a0a0a; padding: 10px 16px; border-radius: 999px;
  font-family: var(--f-px); font-size: 12px;
  transition: .4s var(--ease-out); pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.confetti { position: fixed; z-index: 170; pointer-events: none; font-size: 20px; color: var(--fg); left: 0; top: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .rail { display: none; }
  .passes { flex-wrap: wrap; row-gap: 60px; }
  .pass { width: clamp(220px, 38vw, 300px); }
  .machines__grid { grid-template-columns: 1fr; }
  .win--term { position: relative; top: 0; }
  .offer__grid { grid-template-columns: 1fr; }
  .offer__grid .win { max-width: 440px; }
}
@media (max-width: 760px) {
  .hud__status { display: none; }
  .hud-foot__l > span:last-child, .hud-foot__l .hud-foot__sep { display: none; }
  .stickers { justify-content: flex-start; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .lane__num { font-size: 72px; }
  .lane.glass { padding: 24px; height: min(66vh, 520px); }
  .passes { flex-direction: column; align-items: center; gap: 70px; }
  .pass { width: min(78vw, 300px); }
  .pass--mid { margin-top: 0; }
  .pass__strap { height: 90px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .disc__list li { grid-template-columns: 34px 1fr; }
  .disc__list em { display: none; }
  .wall__tilt { grid-template-columns: repeat(3, 1fr); width: 150vw; gap: 10px; }
  .wall__track { gap: 10px; }
  .wall__stage { height: 110vh; }
  .caps { grid-template-columns: 1fr; }
  .cap.glass { min-height: 150px; }
  .engine__pin { padding-top: 76px; padding-bottom: 46px; }
  .engine__body { grid-template-columns: 1fr; gap: 10px; align-content: center; }
  .engine__counter { text-align: left; order: -1; }
  .engine__foot { grid-template-columns: 1fr; gap: 12px; }
  .ecg { display: none; }
  .route__marks span:nth-child(2), .route__marks span:nth-child(3) { display: none; }
  .contact__cta { grid-template-columns: 1fr; }
  .link { grid-template-columns: 1fr auto; }
  .link__k { grid-column: 1 / -1; }
  .lightbox__btn { top: auto; bottom: 24px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hud__logo span, .lane__icon svg, .orb__ring, .ecg path, .loopnote i, .hero__cue i::after { animation: none; }
  .ecg path { stroke-dashoffset: 0; }
  [data-words] .w { opacity: 1; }
}
