/* ============ tokens: california dusk ============ */
:root {
  --night: #17120e;
  --night-2: #211a14;
  --night-3: #2e251d;
  --clay: #9a4f35;
  --ink: #2a1f17;
  --sand: #f6ecdd;
  --sand-2: #eadbc3;
  --gold: #ffc65a;
  --sun: #ff9440;
  --sun-deep: #e2701c;
  --rose: #e98aa6;
  --pump: #3be38f;
  --down: #a39384;
  --mute: #a69a8f;
  --line: rgba(246, 236, 221, 0.13);
  --line-dark: rgba(42, 31, 23, 0.14);
  --sunset: linear-gradient(180deg, var(--gold) 0%, var(--sun) 40%, var(--rose) 78%, var(--clay) 100%);
  --sun-text: linear-gradient(180deg, var(--sand) 10%, var(--gold) 62%, var(--sun) 100%);

  --f-display: "Anton", "Impact", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-sans: "Inter Tight", "Helvetica Neue", sans-serif;

  --gutter: clamp(16px, 3vw, 44px);
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

*, *::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(--night);
  color: var(--sand);
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; height: 100svh; }
/* no native scrollbar; #scrollbar is a thin one that only shows while scrolling */
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
.scrollbar { position: fixed; top: 4px; bottom: 4px; right: 3px; width: 3px; z-index: 70; pointer-events: none; opacity: 0; transition: opacity 0.5s; }
.scrollbar.is-on { opacity: 1; transition-duration: 0.15s; }
.scrollbar i { position: absolute; left: 0; right: 0; top: 0; border-radius: 3px; background: #fff; mix-blend-mode: difference; opacity: 0.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.noscript { padding: 120px var(--gutter); background: var(--sand); color: var(--night); font: 400 18px/1.6 var(--f-sans); }
::selection { background: var(--gold); color: var(--night); }

.mono { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; font-weight: 500; }
.serif { font-family: var(--f-serif); font-weight: 400; text-transform: none; letter-spacing: -0.01em; }
em.serif, .serif em { font-style: italic; }
.hud-dim { color: var(--mute); }

.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--pump); box-shadow: 0 0 0 0 rgba(59, 227, 143, 0.6);
  animation: pulse 1.6s infinite; vertical-align: 1px;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 227, 143, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(59, 227, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 227, 143, 0); }
}

/* film grain over everything */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
  animation: grain 0.8s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

/* ============ cursor ============ */
.cursor { position: fixed; inset: 0; z-index: 100; pointer-events: none; mix-blend-mode: difference; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--sand); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--sand);
  display: grid; place-items: center; transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out), background 0.3s;
}
.cursor-label { font: 700 10px/1 var(--f-mono); letter-spacing: 0.06em; color: var(--night); opacity: 0; transition: opacity 0.2s; }
.cursor.is-hover .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--sand); }
.cursor.is-hover .cursor-label { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .crosshair, .replays-note { display: none; } }
@media (hover: hover) and (pointer: fine) { body, a, button { cursor: none; } }

/* the low sun on the horizon, shared by gate + hero */
.horizon { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 38% at 50% 108%, rgba(255, 198, 90, 0.55), transparent 70%),
    radial-gradient(110% 60% at 50% 115%, rgba(255, 148, 64, 0.38), transparent 70%),
    radial-gradient(140% 80% at 50% 120%, rgba(233, 138, 166, 0.22), transparent 75%),
    linear-gradient(180deg, var(--night) 0%, #1f1711 55%, #33241a 100%);
}

/* ============ gate ============ */
.gate {
  position: fixed; inset: 0; z-index: 80; background: var(--night); overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; padding: var(--gutter);
}
/* glitch slices: see-through windows onto the sharp chart behind everything (drawn by JS) */
.gate-glitch { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.gate-glow { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(18px) saturate(1.2); opacity: 0.5; }
.gate-row { position: relative; display: flex; justify-content: space-between; align-items: center; color: var(--mute); }
.gate-center { position: relative; display: grid; place-content: center; justify-items: center; gap: 26px; text-align: center; }
.gate-name {
  display: flex; align-items: center; justify-content: center; min-height: 1.2em;
  font: 400 clamp(44px, 7vw, 108px)/1.15 var(--f-display); color: var(--sand); white-space: nowrap;
  text-shadow: 0 0 34px rgba(255, 198, 90, 0.22); transform-origin: 50% 50%; will-change: transform;
}
.gate-meter { width: min(420px, 72vw); display: grid; gap: 10px; }
.gate-line { position: relative; height: 1px; background: rgba(246, 236, 221, 0.14); }
.gate-line i {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--pump), var(--gold)); box-shadow: 0 0 12px rgba(59, 227, 143, 0.6);
}
.gate-readout { display: flex; justify-content: space-between; color: var(--mute); }
.gate-readout #gate-num { color: var(--sand); font-variant-numeric: tabular-nums; }
.gate-copy { margin-left: 10px; color: var(--sand); opacity: 0.6; }
/* glows and breathes so it gets noticed; settles once the intro is playing */
.gate-intro { margin: 0; color: var(--sand); animation: intro-glow 2.4s ease-in-out infinite; }
.gate-intro.is-playing { animation: none; opacity: 0.45; text-shadow: none; }
@keyframes intro-glow {
  0%, 100% { opacity: 0.6; text-shadow: 0 0 6px rgba(255, 198, 90, 0.2); }
  50% { opacity: 1; text-shadow: 0 0 12px rgba(255, 198, 90, 0.75), 0 0 28px rgba(255, 148, 64, 0.35); }
}
.gate-enter { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; opacity: 0; visibility: hidden; }
.gate .btn-enter { font-size: 18px; padding: 14px 22px 14px 26px; gap: 14px; }
.gate .eq { height: 14px; }
.btn-enter {
  display: inline-flex; align-items: center; gap: 18px; padding: 20px 30px 20px 34px; border-radius: 999px;
  background: linear-gradient(100deg, var(--gold), var(--sun)); color: var(--night); font: 400 clamp(22px, 2.4vw, 30px)/1 var(--f-display);
  text-transform: uppercase; letter-spacing: 0.01em; transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  box-shadow: 0 10px 40px -10px rgba(255, 148, 64, 0.7);
}
.btn-enter:hover { transform: scale(1.04); box-shadow: 0 14px 60px -8px rgba(255, 198, 90, 0.9); }
.btn-quiet { color: var(--sand); opacity: 0.75; padding: 8px 14px; border-radius: 999px; background: rgba(23, 18, 14, 0.7); transition: opacity 0.2s; }
.btn-quiet:hover { opacity: 1; }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 18px; }
.eq i { width: 3px; background: currentColor; height: 30%; }
.eq-idle i { animation: eq 0.9s ease-in-out infinite; }
.eq-idle i:nth-child(2) { animation-delay: -0.3s; }
.eq-idle i:nth-child(3) { animation-delay: -0.6s; }
.eq-idle i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.curtain { position: fixed; inset: 0; z-index: 85; display: flex; pointer-events: none; }
.curtain i { flex: 1; background: var(--sunset); transform: scaleY(0); transform-origin: bottom; }

/* ============ nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  color: var(--sand); transition: color 0.4s;
}
.nav[data-theme="sand"], .nav[data-theme="sunset"] { color: var(--night); }
/* frosted strip behind the header (as on spacefs.com): untinted blur that dissolves downward
   through a gradient mask, so content scrolling under it just softens */
.nav::before {
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: calc(var(--nav-h) + 52px);
  z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: blur(12px) saturate(1.08); backdrop-filter: blur(12px) saturate(1.08);
  -webkit-mask-image: linear-gradient(#000 0, rgba(0, 0, 0, 0.92) 38%, transparent);
  mask-image: linear-gradient(#000 0, rgba(0, 0, 0, 0.92) 38%, transparent);
}
.logo { font: 400 26px/1 var(--f-display); letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.sound {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px;
  border: 1px solid currentColor; border-radius: 999px;
}
.sound-bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.sound-bars i { width: 2px; height: 2px; background: currentColor; transition: height 0.08s linear; }
.nav-cta { height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--sand); color: var(--night); transition: background 0.4s, color 0.4s; }
.nav[data-theme="sand"] .nav-cta, .nav[data-theme="sunset"] .nav-cta { background: var(--night); color: var(--sand); }

/* ============ hero ============ */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #f4e6d2; color: var(--ink); }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-chart { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }

/* three photos, invisible until the cursor swirls across them; they sit under the chart */
.hero-photo { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-photo canvas { width: 100%; height: 100%; display: block; }

.crosshair { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.hero:hover .crosshair { opacity: 1; }
.ch-h, .ch-v { position: absolute; opacity: 0.45; }
.ch-h { left: 0; right: 0; top: 0; height: 1px; background-image: linear-gradient(to right, var(--ink) 50%, transparent 0); background-size: 8px 1px; }
.ch-v { top: 0; bottom: 0; left: 0; width: 1px; background-image: linear-gradient(to bottom, var(--ink) 50%, transparent 0); background-size: 1px 8px; }
.ch-tag, .ch-time { position: absolute; padding: 4px 8px; background: var(--ink); color: var(--sand); font-weight: 700; white-space: nowrap; }
.ch-tag { right: 0; top: 0; transform: translateY(-50%); background: var(--pump); color: var(--ink); }
.ch-tag.is-down { background: var(--down); color: var(--sand); }
.ch-time { bottom: 0; left: 0; transform: translateX(-50%); }

.hud { position: absolute; inset: 0; z-index: 5; pointer-events: none; color: var(--ink); }
.hero .hud-dim { color: #8a7a6a; }
.hud > * { position: absolute; }
.hud-tl { top: calc(var(--nav-h) + 12px); left: var(--gutter); display: flex; gap: 8px; align-items: center; }
.hud-tr { top: calc(var(--nav-h) + 12px); right: var(--gutter); }
.hud-tr b { color: #14935a; font-weight: 700; }
.hud-bl { bottom: var(--gutter); left: var(--gutter); }
.hud-br { bottom: var(--gutter); right: var(--gutter); }
.hud-arrow { display: inline-block; animation: bob 1.6s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.now-playing { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; font-weight: 500; }
.np-bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.np-bars i { width: 2px; height: 3px; background: var(--sun-deep); transition: height 0.08s linear; }

.hero-copy {
  position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 64px);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; pointer-events: none;
}
.hero-kicker { font-size: clamp(34px, 4.6vw, 76px); line-height: 0.95; }
.hero-kicker em { color: var(--sun-deep); }
.hero-sub { max-width: 30ch; text-align: right; opacity: 0.75; line-height: 1.7; }

.hero-title {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: -0.06em; text-align: center;
  font: 400 clamp(120px, 31vw, 640px)/0.8 var(--f-display); letter-spacing: -0.005em; white-space: nowrap; pointer-events: none;
}
.ht { display: flex; justify-content: center; overflow: hidden; padding-top: 0.08em; }
/* dotted wordmark: a warm gradient seen through a halftone dot mask that thins toward the sand */
.ht span {
  --ds: 7px; --dr: 2.5px;
  display: inline-block; will-change: transform;
  background: linear-gradient(180deg, var(--ink) 15%, var(--clay) 60%, var(--sun-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: radial-gradient(circle, #000 var(--dr), transparent calc(var(--dr) + 0.7px)), linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0.45) 100%);
  mask-image: radial-gradient(circle, #000 var(--dr), transparent calc(var(--dr) + 0.7px)), linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0.45) 100%);
  -webkit-mask-size: var(--ds) var(--ds), 100% 100%; mask-size: var(--ds) var(--ds), 100% 100%;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* ============ media + placeholders ============ */
.media { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--night-2); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media.is-empty {
  --a: var(--sun); --b: var(--rose);
  background:
    radial-gradient(90% 70% at var(--px, 30%) var(--py, 85%), color-mix(in srgb, var(--a) 80%, transparent), transparent 65%),
    radial-gradient(70% 60% at 80% 100%, color-mix(in srgb, var(--b) 70%, transparent), transparent 70%),
    linear-gradient(180deg, var(--night-2), var(--night-3));
}
.media.is-empty[data-v="1"] { --a: var(--gold); --b: var(--sun); --px: 70%; --py: 90%; }
.media.is-empty[data-v="2"] { --a: var(--rose); --b: var(--clay); --px: 50%; --py: 75%; }
.media.is-empty[data-v="3"] { --a: var(--sun); --b: var(--gold); --px: 20%; --py: 95%; }
.media.is-empty::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph { position: absolute; inset: 0; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; color: var(--sand); }
.ph-top { display: flex; justify-content: space-between; font: 500 9px/1.2 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.ph-num { font: italic 400 clamp(40px, 6vw, 96px)/0.8 var(--f-serif); }
.ph-candles { position: absolute; left: 12px; right: 12px; bottom: 34%; height: 36%; display: flex; align-items: flex-end; gap: 5%; }
.ph-candles i { position: relative; flex: 1; border-radius: 1px; background: var(--pump); opacity: 0.75; }
.ph-candles i.d { background: var(--down); }
.ph-candles i::before { content: ""; position: absolute; left: 50%; top: -18%; bottom: -12%; width: 1px; background: inherit; }
.media.is-mini .ph { display: none; }

/* ============ ticker ============ */
.ticker { position: relative; height: clamp(150px, 20vw, 260px); background: var(--sand); overflow: hidden; z-index: 2; }
.tape-band { position: absolute; left: -5%; right: -5%; top: 50%; padding: 14px 0; white-space: nowrap; overflow: hidden; }
.band-a { background: linear-gradient(90deg, var(--gold), var(--sun), var(--rose)); color: var(--night); transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.band-b { background: var(--night); color: var(--sand); transform: translateY(-50%) rotate(2.5deg); }
.band-track { display: inline-flex; will-change: transform; }
.band-item { display: inline-flex; align-items: center; gap: 0.5em; padding-right: 0.5em; font: 400 clamp(28px, 4vw, 60px)/1 var(--f-display); text-transform: uppercase; }
.band-item .star { font-size: 0.55em; }
.band-b .band-item { -webkit-text-stroke: 1px var(--sand); color: transparent; }
.band-b .band-item .star { -webkit-text-stroke: 0; color: var(--pump); }

/* ============ shared section bits ============ */
.eyebrow { display: flex; gap: 18px; color: var(--mute); margin-bottom: 28px; }
.section-h, .story-h, .socials-h {
  font: 400 clamp(56px, 9vw, 160px)/0.86 var(--f-display); text-transform: uppercase; letter-spacing: -0.005em;
}
.section-h em, .story-h em, .socials-h em { font-family: var(--f-serif); font-style: italic; text-transform: none; color: var(--gold); letter-spacing: -0.02em; }
[data-theme="sand"] .section-h em { color: var(--sun-deep); }
[data-theme="sand"] .eyebrow { color: #85786b; }

/* ============ manifesto ============ */
.manifesto { position: relative; background: #f5f1ea; color: var(--night); padding: clamp(96px, 14vw, 200px) var(--gutter); z-index: 2; overflow: hidden; }
.manifesto-portrait {
  position: absolute; left: 0; top: 0; bottom: 0; width: 52vw; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 96%), linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 30%, transparent 96%), linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* original colour; the masks above still fade it out to the right (and top/bottom) */
.manifesto-portrait img { width: 100%; height: 115%; object-fit: cover; object-position: 40% 30%; }
.manifesto-body { position: relative; margin-left: 40vw; }
.manifesto-text {
  font: 400 clamp(38px, 5.2vw, 100px)/0.98 var(--f-display); text-transform: uppercase; letter-spacing: -0.005em; max-width: 16ch;
}
.manifesto-text .w { display: inline-block; opacity: 0.12; margin-right: 0.22em; }
.manifesto-text .w.hl { font-family: var(--f-serif); font-style: italic; text-transform: none; color: var(--sun-deep); letter-spacing: -0.02em; }
.pill {
  display: inline-block; vertical-align: -0.08em; width: 1.7em; height: 0.82em; margin-right: 0.22em;
  border-radius: 999px; overflow: hidden; transform: scale(0); transform-origin: center;
}
.manifesto-foot { display: flex; justify-content: space-between; margin-top: clamp(48px, 8vw, 120px); color: #85786b; border-top: 1px solid var(--line-dark); padding-top: 18px; }

/* ============ story ============ */
.story { position: relative; background: var(--night); z-index: 2; }
.story-pin { position: relative; height: 100svh; overflow: hidden; padding: calc(var(--nav-h) + 24px) var(--gutter) var(--gutter); }
.story-pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 50% at 80% 110%, rgba(255, 148, 64, 0.16), transparent 70%); pointer-events: none; }
.story-head { position: relative; z-index: 3; }
.story-chart { position: absolute; left: var(--gutter); right: var(--gutter); top: 24%; bottom: 14%; }
.story-chart svg { width: 100%; height: 100%; overflow: visible; }
.story-grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.story-dots { position: absolute; inset: 0; }
.s-dot { position: absolute; width: 0; height: 0; }
.s-float { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.s-dot::before {
  content: ""; position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--night); border: 2px solid var(--pump); transform: scale(0); transition: transform 0.5s var(--ease-out);
}
.s-dot.is-on::before { transform: scale(1); background: var(--pump); box-shadow: 0 0 18px rgba(59, 227, 143, 0.7); }
.s-dot .s-card {
  position: absolute; bottom: 22px; left: 50%; width: clamp(130px, 13vw, 210px); aspect-ratio: 4 / 5;
  border-radius: 10px; overflow: hidden; transform: translate(-50%, 20px) scale(0.85) rotate(var(--r, -3deg)); opacity: 0;
  transition: transform 0.8s var(--ease-out), opacity 0.4s; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}
.s-dot.is-below .s-card { bottom: auto; top: 22px; }
.s-dot.is-below .s-tag { top: auto; bottom: 16px; }
.s-dot.is-on .s-card { transform: translate(-50%, 0) scale(1) rotate(var(--r, -3deg)); opacity: 1; }
.s-dot .s-tag { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); color: var(--mute); white-space: nowrap; }
.story-chapters { position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--nav-h) + 24px); width: min(420px, 40vw); height: 200px; }
.chapter { position: absolute; inset: 0; opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.7s var(--ease-out); }
.chapter.is-on { opacity: 1; transform: none; }
.chapter-tag { color: var(--gold); margin-bottom: 10px; display: block; }
.chapter-title { font: 400 clamp(36px, 4vw, 68px)/0.9 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.chapter-body { font: 400 clamp(17px, 1.4vw, 21px)/1.35 var(--f-serif); color: rgba(246, 236, 221, 0.78); max-width: 34ch; }
.story-progress { position: absolute; z-index: 3; left: var(--gutter); bottom: var(--gutter); }
.story-progress span { font: 400 clamp(40px, 5vw, 80px)/1 var(--f-display); color: var(--pump); letter-spacing: 0; }

/* ============ tape ============ */
.tape { position: relative; background: var(--sand); color: var(--night); z-index: 2; }
.tape-pin { position: relative; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.tape-head { position: absolute; top: calc(var(--nav-h) + 24px); left: var(--gutter); z-index: 0; }
.tape-track { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: clamp(16px, 2.4vw, 40px); padding: 0 var(--gutter) 0 max(40vw, 420px); will-change: transform; margin-top: 12vh; }
.t-item { flex: none; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.t-frame { position: relative; overflow: hidden; border-radius: 6px; }
.t-frame .media { transform: scale(1.15); will-change: transform; }
.t-item[data-size="s"] .t-frame { width: clamp(160px, 16vw, 260px); aspect-ratio: 1; }
.t-item[data-size="m"] .t-frame { width: clamp(220px, 22vw, 380px); aspect-ratio: 4 / 5; }
.t-item[data-size="l"] .t-frame { width: clamp(300px, 34vw, 600px); aspect-ratio: 16 / 10; }
.t-item[data-size="tall"] .t-frame { width: clamp(220px, 22vw, 360px); aspect-ratio: 9 / 14; }
.t-cap { display: flex; justify-content: space-between; gap: 16px; }
.t-cap span:last-child { color: #85786b; }
.tape-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); height: 2px; background: var(--line-dark); }
.tape-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--sun)); transform-origin: left; transform: scaleX(0); }

/* ============ replays ============ */
.replays { position: relative; background: var(--night); padding: clamp(96px, 12vw, 180px) var(--gutter); z-index: 2; }
.replays-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
.replays-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.replays-note { color: var(--mute); }
.replays-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.r-tile { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--night-2); clip-path: inset(12% 12% 12% 12% round 10px); }
.r-tile:nth-child(3n + 2) { transform: translateY(12%); }
.r-frames { position: absolute; inset: 0; }
.r-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); will-change: transform, opacity; filter: saturate(0.85) contrast(1.05); transition: filter 0.6s; }
.r-frame.is-first { opacity: 1; }
.r-tile.is-playing .r-frame { filter: saturate(1.05) contrast(1.08); }
.r-tile.is-playing .r-frames { animation: weave 0.24s steps(2) infinite; }
@keyframes weave { 0% { transform: translate(0, 0); } 50% { transform: translate(0.4px, -0.6px); } 100% { transform: translate(0, 0); } }
.r-leak {
  position: absolute; inset: -20%; z-index: 1; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(40% 50% at 15% 20%, rgba(255, 150, 60, 0.55), transparent 70%), radial-gradient(35% 45% at 90% 80%, rgba(255, 198, 90, 0.4), transparent 70%);
}
.r-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.r-tile.is-playing::after { animation: grain 0.5s steps(3) infinite; opacity: 0.28; }
.r-meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 14px 18px; display: flex; justify-content: space-between; align-items: flex-end;
  background: linear-gradient(to top, rgba(23, 18, 14, 0.85), transparent); z-index: 2;
}
.r-title { font: 400 clamp(22px, 2.2vw, 36px)/1 var(--f-display); text-transform: uppercase; }
.r-time { font-variant-numeric: tabular-nums; }
.r-state {
  position: absolute; z-index: 2; top: 14px; right: 14px; height: 30px; padding: 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; background: rgba(23, 18, 14, 0.55); color: var(--sand);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.r-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); }
.r-tile.is-playing .r-state i { background: var(--pump); box-shadow: 0 0 8px var(--pump); }
.r-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 3; background: rgba(246, 236, 221, 0.15); }
.r-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--sun)); transform-origin: left; transform: scaleX(0); }

/* ============ fan edits ============ */
.edits { position: relative; background: var(--night); padding: clamp(96px, 12vw, 180px) var(--gutter); z-index: 2; }
.edits-head { margin-bottom: clamp(40px, 6vw, 80px); }
.edits-stage { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.edits-player {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(246, 236, 221, 0.08);
}
.edits-player video { display: block; width: 100%; height: 100%; object-fit: contain; }
.edits-sound {
  position: absolute; top: 14px; right: 14px; z-index: 2; height: 34px; padding: 0 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; color: var(--sand); background: rgba(23, 18, 14, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background 0.3s, color 0.3s;
}
.edits-sound i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); }
.edits-sound.is-on { background: var(--gold); color: var(--night); }
.edits-sound.is-on i { background: var(--night); }
.edits-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 30px 16px 14px; display: flex; justify-content: space-between;
  color: var(--sand); background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent); pointer-events: none;
}
.edits-meta #edits-time { font-variant-numeric: tabular-nums; }
.edits-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: rgba(246, 236, 221, 0.12); }
.edits-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--sun)); transform-origin: left; transform: scaleX(0); }
.edits-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.edit-item {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%;
  padding: 8px; border-radius: 12px; opacity: 0.55; transition: opacity 0.3s, background 0.3s;
}
.edit-item:hover { opacity: 0.9; background: rgba(246, 236, 221, 0.04); }
.edit-item.is-active { opacity: 1; background: rgba(246, 236, 221, 0.07); }
.edit-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.edit-thumb img { width: 100%; height: 100%; object-fit: cover; }
.edit-thumb i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.edit-info { display: grid; gap: 5px; min-width: 0; }
.edit-num { color: var(--gold); }
.edit-title { font: 400 clamp(18px, 1.5vw, 24px)/1 var(--f-display); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============ business ============ */
.business { position: relative; background: var(--sand); color: var(--night); padding: clamp(96px, 12vw, 180px) var(--gutter); z-index: 2; overflow: hidden; }
.biz-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.biz-offers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); counter-reset: offer; }
.biz-offers li {
  display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-dark);
  font: 400 clamp(26px, 2.6vw, 42px)/1 var(--f-display); text-transform: uppercase; counter-increment: offer;
}
.biz-offers li::before { content: "0" counter(offer); font: 500 11px/1 var(--f-mono); color: #85786b; letter-spacing: 0.04em; }
/* current collabs: prints just sitting in the section, not part of the inquiry */
.biz-proofs { position: relative; display: flex; align-items: flex-end; margin: clamp(32px, 5vw, 64px) 0 0 clamp(0px, 6vw, 100px); }
.biz-proof {
  margin: 0; flex: none; width: clamp(200px, 17vw, 280px);
  padding: 10px 10px 16px; background: #fffaf2; border-radius: 4px; transform: rotate(-4deg);
  box-shadow: 0 30px 60px -25px rgba(42, 31, 23, 0.45), 0 2px 6px rgba(42, 31, 23, 0.08); will-change: transform;
}
.biz-proof img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.biz-proof.is-landscape { width: clamp(240px, 22vw, 360px); margin-left: -28px; margin-bottom: 40px; }
.biz-proof.is-landscape img { aspect-ratio: 16 / 10; }
.biz-proof figcaption { padding: 14px 4px 0; color: var(--night); }
.biz-collab-title { display: block; font: 400 clamp(22px, 1.9vw, 30px)/0.95 var(--f-display); text-transform: uppercase; }
.biz-collab-brand { display: block; margin-top: 6px; font: italic 400 clamp(18px, 1.5vw, 24px)/1 var(--f-serif); color: var(--sun-deep); }
.biz-inquiry { margin-top: 28px; }
.biz-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px;
  border-radius: 999px; background: var(--night); color: var(--sand); transition: transform 0.5s var(--ease-out);
}
a.biz-cta:hover { transform: scale(1.02); }
.biz-cta.is-pending { background: transparent; color: var(--night); border: 1px dashed rgba(42, 31, 23, 0.35); }

/* ============ socials ============ */
.socials { position: relative; background: var(--sunset); color: var(--night); padding: clamp(96px, 12vw, 180px) var(--gutter); z-index: 2; overflow: hidden; }
.socials .eyebrow { color: var(--night); opacity: 0.6; }
.socials-h em { color: var(--sand); }
.social-list { list-style: none; margin: clamp(48px, 7vw, 100px) 0 0; padding: 0; border-top: 1px solid rgba(18, 14, 28, 0.3); }
.social-row { position: relative; border-bottom: 1px solid rgba(18, 14, 28, 0.3); overflow: hidden; }
.social-row > a, .social-row > div { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(18px, 2.4vw, 32px) 0; transition: color 0.4s, padding 0.6s var(--ease); }
.social-row .s-name { font: 400 clamp(54px, 10vw, 180px)/0.85 var(--f-display); text-transform: uppercase; }
.social-row .s-handle { display: flex; align-items: center; gap: 14px; }
.social-row .s-arrow { display: inline-grid; place-items: center; width: clamp(44px, 4vw, 64px); aspect-ratio: 1; border-radius: 50%; border: 1px solid currentColor; font-size: 18px; transition: transform 0.6s var(--ease); }
.social-row .s-fill { position: absolute; inset: 0; background: var(--night); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); z-index: 1; }
.social-row:not(.is-soon):hover .s-fill { transform: scaleY(1); }
.social-row:not(.is-soon):hover > a { color: var(--gold); padding-left: 24px; padding-right: 24px; }
.social-row:hover .s-arrow { transform: rotate(45deg); }
.social-row.is-soon .s-name { opacity: 0.45; }
.s-soon { padding: 8px 14px; border-radius: 999px; border: 1px dashed currentColor; }
.social-float {
  position: fixed; z-index: 3; top: 0; left: 0; width: 240px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden;
  pointer-events: none; opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.5s var(--ease-out);
}
.social-float.is-on { opacity: 1; transform: scale(1); }

/* ============ footer ============ */
.footer { position: relative; background: var(--night); padding: clamp(80px, 10vw, 140px) var(--gutter) var(--gutter); overflow: hidden; z-index: 2; }
.footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 45% at 50% 100%, rgba(255, 148, 64, 0.25), transparent 70%); pointer-events: none; }
.footer-top { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.footer-line { font-size: clamp(48px, 7vw, 120px); line-height: 0.9; }
.footer-line em { color: var(--gold); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-cols a:hover, .link-btn:hover { color: var(--gold); }
.link-btn { text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; font-weight: 500; }
.footer-mark {
  position: relative; display: flex; justify-content: center; margin: clamp(40px, 6vw, 80px) calc(var(--gutter) * -1) 0;
  font: 400 31.5vw/0.78 var(--f-display); white-space: nowrap; overflow: hidden; padding-top: 0.04em;
}
.footer-mark span { display: inline-block; background: var(--sun-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-legal { position: relative; display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--mute); }

/* ============ easter egg ============ */
.send-it { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; pointer-events: none; background: radial-gradient(circle, rgba(59, 227, 143, 0.22), transparent 70%); }
.send-it span {
  font: 400 clamp(90px, 18vw, 300px)/1 var(--f-display); color: var(--pump); padding: 0.05em 0.25em;
  border: 0.06em solid var(--pump); border-radius: 0.12em; background: rgba(18, 14, 28, 0.6);
}

/* ============ responsive ============ */
@media (max-width: 1100px) { .nav-links { gap: 18px; } }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-copy { flex-direction: column; gap: 14px; top: calc(var(--nav-h) + 48px); }
  .hero-sub { text-align: left; }
  .hero-photo { height: 78%; bottom: 40px; }
  .hero-title { font-size: 31vw; bottom: 52px; }
  .hud-tr { display: none; }

  .story-pin { height: auto; overflow: visible; padding-bottom: 80px; }
  .story-chart { position: relative; left: auto; right: auto; top: auto; bottom: auto; height: 46vh; margin: 32px 0 24px; }
  .story-chapters { position: relative; right: auto; top: auto; width: auto; height: auto; display: grid; gap: 36px; }
  .chapter { position: relative; opacity: 1; transform: none; }
  .story-progress { display: none; }
  .s-dot .s-card { width: 26vw; }

  /* pinned like desktop: scrolling down slides the reel sideways */
  .tape-pin { flex-direction: column; justify-content: center; align-items: stretch; padding: var(--nav-h) 0 56px; }
  .tape-head { position: relative; top: auto; left: auto; padding: 0 var(--gutter); }
  .tape-head .section-h { font-size: clamp(44px, 13vw, 72px); }
  .tape-track { padding: 0 var(--gutter); margin-top: 24px; }
  .t-item[data-size] .t-frame { width: 56vw; }
  .t-item[data-size="l"] .t-frame { width: 76vw; }

  .replays-head { grid-template-columns: 1fr; }
  .replays-grid { grid-template-columns: 1fr 1fr; }
  .r-tile:nth-child(3n + 2) { transform: none; }
  .r-tile:nth-child(2n) { transform: translateY(10%); }

  .biz-grid { grid-template-columns: 1fr; }
  .edits-stage { grid-template-columns: 1fr; }
  .edits-list { grid-auto-flow: column; grid-auto-columns: 62vw; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .edits-list::-webkit-scrollbar { display: none; }
  .edit-item { grid-template-columns: 1fr; scroll-snap-align: start; }
  .biz-proofs { margin-left: 0; }
  .biz-proof { width: 46vw; }
  .biz-proof.is-landscape { width: 54vw; margin-left: -6vw; margin-bottom: 18vw; }
  .manifesto-portrait { width: 100%; opacity: 0.42; }
  .manifesto-body { margin-left: 0; }
  .ht span { --ds: 4px; --dr: 1.45px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-legal { flex-direction: column; }
  .social-float { display: none; }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
  .btn-enter { padding: 18px 24px; }
  .manifesto-foot { flex-direction: column; gap: 6px; }
  .social-row .s-handle > span:first-child { display: none; }
  .now-playing .hud-dim { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .live-dot, .hud-arrow, .eq-idle i, .gate-intro { animation: none; }
  .manifesto-text .w { opacity: 1; }
  .pill { transform: none; }
}
