:root {
  --bg: #0b0b0c;
  --ink: #f2f0e9;
  --muted: #a6a49e;
  --line: rgba(255,255,255,.16);
  --acid: #d7ff43;
  --warm: #ff754f;
  --blue: #7ba4ff;
  --progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-progress {
  position: fixed; z-index: 100; left: 0; top: 0; width: 100%; height: 3px;
  background: rgba(255,255,255,.06);
}
.page-progress span { display:block; height:100%; width:100%; transform:scaleX(0); transform-origin:left; background: var(--acid); }

.topbar {
  position: fixed; z-index: 90; inset: 0 0 auto 0; height: 78px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap: 24px;
  padding: 0 28px; mix-blend-mode: difference; color:#fff; pointer-events:none;
}
.brand, .menu-button { pointer-events:auto; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; font-size:12px; letter-spacing:.18em; font-weight:700; }
.brand-mark { width:36px; height:36px; display:grid; place-items:center; border:1px solid currentColor; border-radius:50%; font-size:10px; }
.topbar-meta { display:flex; align-items:center; gap:10px; font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing:.12em; opacity:.88; }
.topbar-meta .dot { width:4px; height:4px; border-radius:50%; background:currentColor; }
.menu-button { justify-self:end; border:1px solid currentColor; background:transparent; color:inherit; border-radius:999px; padding:10px 14px; font:600 10px/1 ui-monospace, monospace; letter-spacing:.1em; cursor:pointer; }

.chapter-nav {
  position:fixed; z-index:95; top:72px; right:24px; width:min(280px, calc(100vw - 48px));
  padding:10px; border:1px solid rgba(255,255,255,.14); border-radius:18px;
  background:rgba(12,12,13,.84); backdrop-filter: blur(18px); transform:translateY(-8px) scale(.98); opacity:0; pointer-events:none; transition:.25s ease;
}
.chapter-nav.open { transform:none; opacity:1; pointer-events:auto; }
.chapter-nav a { display:flex; gap:18px; align-items:center; text-decoration:none; padding:13px 12px; border-radius:10px; font-size:13px; color:#d8d7d2; }
.chapter-nav a:hover, .chapter-nav a.active { background:rgba(255,255,255,.08); color:#fff; }
.chapter-nav a span { font:700 10px/1 ui-monospace, monospace; color:var(--acid); }

.hero {
  min-height:100svh; position:relative; display:flex; align-items:flex-end; overflow:hidden; isolation:isolate;
  background:#170d13;
}
.hero-video { position:absolute; inset:-4%; width:108%; height:108%; object-fit:cover; z-index:-4; filter:saturate(.9) contrast(1.05); }
.hero-shade { position:absolute; inset:0; z-index:-3; background:linear-gradient(100deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.13) 56%,rgba(0,0,0,.46) 100%), linear-gradient(0deg,rgba(0,0,0,.67),transparent 42%); }
.hero-noise { position:absolute; inset:0; z-index:-2; opacity:.13; pointer-events:none; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); mix-blend-mode:soft-light; }
.hero-copy { width:min(1050px,92vw); padding:0 5vw 8vh; }
.eyebrow { margin:0 0 18px; font:700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing:.2em; text-transform:uppercase; }
.hero h1 { margin:0; font-size:clamp(72px,14vw,220px); line-height:.72; letter-spacing:-.075em; font-weight:850; text-transform:uppercase; }
.hero h1 span { display:block; }
.hero h1 span:last-child { color:transparent; -webkit-text-stroke:1.5px rgba(255,255,255,.85); margin-left:9vw; }
.hero-lead { max-width:620px; margin:38px 0 0 9vw; font-size:clamp(18px,2vw,30px); line-height:1.25; letter-spacing:-.035em; }
.hero-index { position:absolute; right:4vw; top:12vh; font:900 clamp(180px,30vw,480px)/.8 ui-sans-serif; letter-spacing:-.08em; color:rgba(255,255,255,.05); z-index:-1; }
.scroll-cue { position:absolute; right:4vw; bottom:5vh; display:flex; align-items:center; gap:14px; font:700 9px/1 ui-monospace,monospace; letter-spacing:.17em; }
.mouse { width:26px; height:42px; border:1.5px solid currentColor; border-radius:16px; display:block; position:relative; }
.mouse i { position:absolute; width:3px;height:8px;left:50%;top:8px;transform:translateX(-50%);background:currentColor;border-radius:3px;animation:wheel 1.4s infinite; }
@keyframes wheel { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 100%{opacity:0;transform:translate(-50%,12px)} }

.scrub-story { position:relative; height:300vh; background:#d8d4c9; }
.sticky-stage { position:sticky; top:0; height:100svh; overflow:hidden; background:#d8d4c9; color:#121212; isolation:isolate; }
.scene-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-3; }
.scene-vignette { position:absolute; inset:0; z-index:-2; background:linear-gradient(90deg,rgba(236,231,219,.75),transparent 42%,rgba(236,231,219,.18)),linear-gradient(0deg,rgba(255,255,255,.25),transparent 38%); pointer-events:none; }
.ghost-number { position:absolute; right:-.03em; bottom:-.16em; z-index:-1; font:900 clamp(220px,42vw,680px)/.75 ui-sans-serif; letter-spacing:-.1em; color:rgba(0,0,0,.055); }
.chapter-kicker { position:absolute; top:100px; left:5vw; font:800 11px/1 ui-monospace,monospace; letter-spacing:.2em; }
.scrub-meter { position:absolute; right:34px; top:18vh; width:2px; height:64vh; background:rgba(0,0,0,.17); }
.scrub-meter span { display:block; width:100%; height:100%; transform-origin:top; transform:scaleY(0); background:#111; }
.story-card { position:absolute; width:min(430px,40vw); opacity:0; transform:translateY(50px) scale(.97); filter:blur(10px); transition:opacity .12s linear; }
.story-card span { font:800 10px/1 ui-monospace,monospace; letter-spacing:.16em; }
.story-card h2 { margin:12px 0 12px; font-size:clamp(34px,4vw,68px); line-height:.92; letter-spacing:-.055em; }
.story-card p { max-width:390px; font-size:16px; line-height:1.45; }
.card-a { left:5vw; top:28vh; }
.card-b { right:10vw; top:22vh; text-align:right; }
.card-b p { margin-left:auto; }
.card-c { left:8vw; bottom:10vh; }

.field { min-height:190vh; position:relative; overflow:hidden; background:#0d0f12; color:#f4f2eb; isolation:isolate; }
.field-grid { position:absolute; inset:0; opacity:.25; background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size:72px 72px; mask-image:linear-gradient(to bottom,transparent,black 15%,black 85%,transparent); }
.field-copy { position:sticky; top:0; min-height:100svh; width:min(820px,88vw); margin:0 auto; display:flex; flex-direction:column; justify-content:center; z-index:3; }
.field-copy h2 { margin:0; font-size:clamp(54px,8vw,130px); line-height:.88; letter-spacing:-.065em; max-width:900px; }
.field-copy > p:last-child { width:min(560px,80%); margin:34px 0 0 auto; color:#b8b8b5; font-size:18px; line-height:1.55; }
.orbit { position:absolute; border:1px solid rgba(255,255,255,.25); border-radius:50%; z-index:1; }
.orbit::before { content:"";position:absolute;inset:10%;border:1px dashed rgba(215,255,67,.3);border-radius:inherit; }
.orbit-a { width:62vw;height:62vw;left:-19vw;top:15vh; }
.orbit-b { width:44vw;height:44vw;right:-12vw;top:68vh; }
.orbit-c { width:18vw;height:18vw;right:17vw;top:30vh;background:radial-gradient(circle,rgba(123,164,255,.22),transparent 68%);border-color:rgba(123,164,255,.45); }
.field-word { position:absolute; z-index:0; font:900 clamp(120px,22vw,360px)/.7 ui-sans-serif; letter-spacing:-.085em; color:rgba(255,255,255,.035); user-select:none; }
.word-one{top:14vh;left:-3vw}.word-two{top:75vh;right:-2vw}.word-three{top:128vh;left:10vw}
.field-coordinates { position:absolute; left:3vw; bottom:6vh; right:3vw; display:flex; justify-content:space-between; font:700 9px/1 ui-monospace,monospace; letter-spacing:.15em; color:#84878c; }

.media-shift { height:220vh; position:relative; background:#f2efe7; color:#111; }
.media-sticky { position:sticky; top:0; height:100svh; overflow:hidden; }
.media-frame { position:absolute; left:50%; top:50%; width:58vw; height:62vh; transform:translate(-50%,-50%); overflow:hidden; border-radius:2px; background:#111; box-shadow:0 30px 80px rgba(0,0,0,.18); will-change:transform,width,height,border-radius; }
.media-video { width:100%;height:100%;object-fit:cover; }
.media-copy { position:absolute; z-index:2; left:5vw; top:14vh; width:min(500px,40vw); }
.chapter-number { display:block; font:900 clamp(90px,14vw,210px)/.7 ui-sans-serif; letter-spacing:-.08em; color:#e1ddd4; margin-bottom:26px; }
.media-copy h2 { margin:0; font-size:clamp(44px,6vw,94px); line-height:.9; letter-spacing:-.06em; }
.media-caption { position:absolute; z-index:3; right:5vw; bottom:7vh; width:min(410px,36vw); margin:0; font-size:16px; line-height:1.45; }

.signal { background:#090a0c; }
.signal-stage { background:#090a0c; color:#f6f5f0; }
.contain-video { object-fit:contain; width:72%; left:28%; }
.signal-glow { position:absolute; inset:0; z-index:-2; background:radial-gradient(circle at 66% 48%,rgba(123,164,255,.14),transparent 33%),radial-gradient(circle at 66% 48%,rgba(255,255,255,.06),transparent 56%); }
.wave-field { position:absolute; left:54%; top:50%; width:44vw; height:44vw; transform:translate(-50%,-50%); z-index:-1; }
.wave-field i { position:absolute; inset:50%; border:1px solid rgba(123,164,255,.22); border-radius:50%; transform:translate(-50%,-50%); }
.wave-field i:nth-child(1){width:12%;height:12%}.wave-field i:nth-child(2){width:25%;height:25%}.wave-field i:nth-child(3){width:40%;height:40%}.wave-field i:nth-child(4){width:56%;height:56%}.wave-field i:nth-child(5){width:72%;height:72%}.wave-field i:nth-child(6){width:88%;height:88%}.wave-field i:nth-child(7){width:104%;height:104%}
.signal-copy { position:absolute; left:5vw; top:18vh; width:min(650px,45vw); z-index:2; }
.signal-copy h2 { margin:0; font-size:clamp(48px,7vw,112px); line-height:.86; letter-spacing:-.065em; }
.signal-copy > p:last-child { margin-top:28px; max-width:430px; color:#a9aaad; font-size:16px; line-height:1.5; }
.signal-stat { position:absolute; z-index:3; display:flex; flex-direction:column; gap:5px; font:700 10px/1 ui-monospace,monospace; letter-spacing:.14em; }
.signal-stat b { font-size:24px; color:var(--acid); }
.stat-a { right:5vw; top:16vh; text-align:right; }
.stat-b { right:5vw; bottom:9vh; text-align:right; }

.ticker { height:140svh; min-height:100svh; background:var(--acid); color:#111; display:flex; flex-direction:column; justify-content:center; overflow:hidden; position:relative; }
.ticker-row { display:flex; gap:4vw; white-space:nowrap; width:max-content; font:900 clamp(80px,15vw,220px)/.78 ui-sans-serif; letter-spacing:-.08em; text-transform:uppercase; }
.ticker-row i { font-style:normal; font-weight:400; }
.ticker-a { transform:translateX(-12vw); }
.ticker-b { transform:translateX(-50vw); color:transparent; -webkit-text-stroke:2px #111; }
.ticker-center { position:absolute; inset:0; display:grid; place-items:center; text-align:center; padding:20px; font:800 clamp(18px,2vw,32px)/1.1 ui-monospace,monospace; letter-spacing:.09em; mix-blend-mode:multiply; }

.finale { height:240vh; position:relative; background:#070707; }
.finale-sticky { position:sticky; top:0; height:100svh; overflow:hidden; color:#fff; }
.finale-media { position:absolute; left:50%; top:50%; width:64vw; height:64vh; transform:translate(-50%,-50%); overflow:hidden; border-radius:44px; will-change:transform,width,height,border-radius; }
.finale-video { width:100%;height:100%;object-fit:cover; }
.finale-title { position:absolute; z-index:3; left:4vw; bottom:13vh; pointer-events:none; }
.finale-title > span { font:700 10px/1 ui-monospace,monospace; letter-spacing:.18em; }
.finale-title h2 { margin:16px 0 0; font-size:clamp(64px,11vw,180px); line-height:.76; letter-spacing:-.075em; }
.finale-title em { font-family:Georgia,serif; font-weight:400; color:var(--acid); }
.finale-footer { position:absolute; left:4vw; right:4vw; bottom:4vh; display:flex; justify-content:space-between; gap:20px; border-top:1px solid rgba(255,255,255,.2); padding-top:14px; font:700 9px/1 ui-monospace,monospace; letter-spacing:.12em; text-transform:uppercase; }

.endcap { min-height:86vh; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:10vw; background:#efece3; color:#111; }
.endcap h2 { margin:0 0 36px; font-size:clamp(56px,9vw,140px); line-height:.86; letter-spacing:-.07em; }
.endcap a { border-bottom:1px solid currentColor; text-decoration:none; font:800 11px/1 ui-monospace,monospace; letter-spacing:.14em; padding-bottom:8px; }

@media (max-width: 820px) {
  .topbar { grid-template-columns:1fr auto; height:64px; padding:0 16px; }
  .topbar-meta { display:none; }
  .brand-name { display:none; }
  .hero-copy { padding:0 20px 12vh; }
  .hero h1 { font-size:clamp(64px,20vw,130px); }
  .hero h1 span:last-child { margin-left:0; }
  .hero-lead { margin-left:0; max-width:90%; }
  .scroll-cue { right:20px; }
  .chapter-kicker { top:80px; left:20px; }
  .scrub-meter { right:14px; }
  .story-card { width:78vw; }
  .card-a { left:20px; top:22vh; }
  .card-b { right:28px; top:34vh; }
  .card-c { left:20px; bottom:12vh; }
  .field-copy { width:calc(100% - 40px); }
  .field-copy > p:last-child { width:90%; }
  .orbit-a { width:110vw;height:110vw;left:-54vw; }
  .orbit-b { width:78vw;height:78vw;right:-38vw; }
  .media-frame { width:82vw; height:42vh; }
  .media-copy { left:20px; top:10vh; width:82vw; }
  .media-caption { right:20px; bottom:8vh; width:70vw; }
  .contain-video { width:100%; left:0; opacity:.72; }
  .signal-copy { left:20px; top:14vh; width:86vw; }
  .signal-copy h2 { font-size:clamp(46px,12vw,88px); }
  .signal-stat { right:20px; }
  .finale-media { width:86vw; height:52vh; }
  .finale-title { left:20px; bottom:16vh; }
  .finale-footer { left:20px;right:20px;flex-wrap:wrap;justify-content:flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .mouse i { animation:none; }
  .parallax, .ticker-row, .media-frame, .finale-media { transform:none !important; }
}
