/* ==========================================================================
   The Studio, After Dark · Comic Art Mastery v3
   ========================================================================== */
:root {
  --bg: #0B0A09;
  --bg-2: #12100D;
  --bg-3: #1A1612;
  --ink: #EFE6D6;
  --ink-dim: #A89D8B;
  --ink-faint: #6E6558;
  --amber: #FFB45E;
  --amber-soft: #F2C27F;
  --gold: #E9B872;
  --ember: #D9762B;
  --ng: #E0574F;
  --line: rgba(239, 230, 214, .12);
  --line-2: rgba(239, 230, 214, .22);
  --paper: #F1E6CF;
  --paper-2: #E9DCC0;
  --paper-ink: #1F1A14;
  --serif: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --vh: 1vh;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.62 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
b, strong { font-weight: 600; }
::selection { background: var(--amber); color: #1a1209; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: #1a1209; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- atmosphere ---------- */
#stage {
  position: fixed; left: 0; top: 0;
  width: 100%; height: 100vh; height: 100lvh;
  z-index: 0; display: block;
  opacity: 0; transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
.webgl-ready #stage { opacity: 1; }
#stage.off { visibility: hidden; }
main { position: relative; z-index: 1; }

.grain {
  position: fixed; inset: -100px; z-index: 90; pointer-events: none;
  background-image: var(--grain, none); background-size: 180px 180px;
  opacity: .085;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-38px, 22px); } 33% { transform: translate(24px, -46px); }
  50% { transform: translate(-60px, -12px); } 67% { transform: translate(44px, 36px); } 83% { transform: translate(-14px, 58px); } 100% { transform: translate(0, 0); }
}
.vignette {
  position: fixed; inset: 0; z-index: 89; pointer-events: none;
  background: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 52%, rgba(0, 0, 0, .58) 100%);
}
.cursor-lamp {
  position: fixed; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px;
  z-index: 88; pointer-events: none; opacity: 0; transition: opacity .8s;
  background: radial-gradient(circle, rgba(255, 178, 96, .085) 0, rgba(255, 178, 96, .035) 32%, transparent 64%);
  mix-blend-mode: screen; will-change: transform;
}
.cursor-lamp.on { opacity: 1; }
@media (hover: none) { .cursor-lamp { display: none; } }

/* ---------- type ---------- */
.eyebrow {
  font: 500 12px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 22px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; flex: none; }
.h2 { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 86px); line-height: .98; letter-spacing: -.012em; margin-bottom: 26px; text-wrap: balance; }
.h2 em, .turn-big em, .pattern-title em, .final-title em, .t-title em, .review em, .sub em, .hero-title em {
  font-style: italic;
  background: linear-gradient(100deg, #FFD9A1 0%, var(--amber) 45%, #E58B3A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  padding: 16px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-amber {
  color: #1B1209;
  background: linear-gradient(180deg, #FFCB86 0%, #F4A24C 100%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .7), 0 0 0 1px rgba(255, 190, 120, .35), 0 12px 44px -6px rgba(255, 150, 60, .45);
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 240, 210, .8), 0 0 0 1px rgba(255, 200, 140, .6), 0 18px 60px -6px rgba(255, 160, 70, .65); }
.btn-ghost { color: var(--ink); background: rgba(239, 230, 214, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover, .btn-ghost[aria-pressed="true"] { color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255, 180, 94, .6); background: rgba(255, 180, 94, .06); }
.btn-ink { color: #F6ECD8; background: var(--paper-ink); box-shadow: 0 10px 30px -10px rgba(31, 26, 20, .6); }
.btn-ink:hover { background: #000; transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-lg { padding: 20px 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-text {
  display: inline-flex; align-items: center; gap: .5em;
  font: 500 15px/1 var(--sans); color: var(--ink); text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s;
}
.btn-text:hover { color: var(--amber); border-color: var(--amber); }
.btn-text .i { width: 16px; height: 16px; }

/* ---------- HUD ---------- */
.hud {
  position: fixed; left: 0; right: 0; top: 0; z-index: 80;
  height: 66px; padding: 0 clamp(16px, 2.4vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(to bottom, rgba(11, 10, 9, .85), rgba(11, 10, 9, 0));
  transition: opacity .8s, transform .8s var(--ease);
}
.intro .hud { opacity: 0; transform: translateY(-10px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; color: var(--gold); flex: none; }
.brand-name { font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; }
.hud-tc { display: flex; align-items: center; gap: 14px; font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); position: absolute; left: 50%; transform: translateX(-50%); }
.hud-tc .tc { color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--ng); box-shadow: 0 0 10px var(--ng); animation: rec 1.6s steps(2) infinite; }
@keyframes rec { 50% { opacity: .15; } }
.hud-actions { display: flex; align-items: center; gap: 20px; }
.hud-login { font: 500 14px/1 var(--sans); color: var(--ink-dim); text-decoration: none; }
.hud-login:hover { color: var(--ink); }

/* ---------- chapter rail ---------- */
.rail {
  position: fixed; right: clamp(14px, 1.6vw, 26px); top: 50%; transform: translateY(-50%);
  z-index: 79; display: flex; flex-direction: column; gap: 4px;
  transition: opacity .6s;
}
.intro .rail { opacity: 0; }
.rail a { display: flex; align-items: center; flex-direction: row-reverse; gap: 10px; text-decoration: none; color: var(--ink-faint); }
.rail i {
  font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: .04em;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid transparent; transition: all .35s var(--ease);
}
.rail span {
  font: 400 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translateX(6px); transition: all .35s var(--ease); white-space: nowrap;
  background: rgba(11, 10, 9, .7); padding: 5px 7px; border-radius: 4px;
}
.rail a:hover span, .rail a.on span { opacity: 1; transform: none; }
.rail a:hover i { color: var(--ink); border-color: var(--line-2); }
.rail a.on { color: var(--amber); }
.rail a.on i { border-color: rgba(255, 180, 94, .5); box-shadow: 0 0 16px rgba(255, 180, 94, .25); color: var(--amber); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 290vh; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* Fallback: static desk composition (no WebGL / reduced motion) */
.hero-fallback { position: absolute; inset: 0; overflow: hidden; perspective: 1500px; transition: opacity 1.2s; background: radial-gradient(ellipse 80% 60% at 50% 60%, #1d140d, var(--bg) 70%); }
.webgl-ready .hero-fallback { opacity: 0; }
.fb-desk { position: absolute; left: 50%; top: 52%; width: 1500px; height: 1100px; margin: -550px 0 0 -750px; transform: rotateX(50deg) scale(.92); transform-style: preserve-3d; }
.fb { position: absolute; box-shadow: 0 30px 50px rgba(0, 0, 0, .7); filter: sepia(.45) brightness(.42) contrast(1.05); }
.fb.s1 { width: 400px; left: 550px; top: 300px; transform: rotate(-3deg); filter: sepia(.4) brightness(.72); }
.fb.s2 { width: 270px; left: 230px; top: 260px; transform: rotate(9deg); }
.fb.s3 { width: 270px; left: 1000px; top: 220px; transform: rotate(-8deg); }
.fb.s4 { width: 230px; left: 300px; top: 640px; transform: rotate(-14deg); }
.fb.s5 { width: 520px; left: 480px; top: -40px; transform: rotate(2deg); filter: brightness(.45); }
.fb.s6 { width: 200px; left: 1010px; top: 640px; transform: rotate(11deg); }
.fb-light { position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, rgba(255, 170, 80, .26), rgba(255, 150, 60, .08) 28%, transparent 52%); mix-blend-mode: screen; }
.intro .fb-light, .intro .fb-desk { opacity: 0; }
.s1 .fb-light, .s1 .fb-desk { animation: flicker 1.6s linear both; }
.reduced .fb-light, .reduced .fb-desk { animation: none; opacity: 1; }
@keyframes flicker { 0% { opacity: 0; } 8% { opacity: .9; } 12% { opacity: .1; } 20% { opacity: .7; } 24% { opacity: .2; } 40% { opacity: 1; } 100% { opacity: 1; } }

/* letterbox */
.bar {
  position: absolute; left: 0; right: 0; z-index: 3;
  height: max(70px, calc((100vh - 100vw / 2.39) / 2));
  background: #000;
  display: flex; justify-content: space-between; gap: 20px;
  padding: 0 clamp(16px, 2.4vw, 32px);
  font: 400 10.5px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint);
  transition: height 1.9s var(--ease-io);
}
.bar-top { top: 0; align-items: flex-end; padding-bottom: 14px; }
.bar-bottom { bottom: 0; align-items: flex-start; padding-top: 14px; }
.intro .bar { height: 50.5%; }
.bar > span { transition: opacity 1s .4s; }
.intro .bar > span { opacity: 0; }
.bar .bar-mid { color: var(--gold); opacity: .8; }
.bar .blurb { text-transform: none; letter-spacing: .04em; font-size: 12px; color: var(--ink-dim); }
.bar .blurb b { color: var(--ink); font-weight: 500; }
.lamp-hint::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); margin-right: 10px; vertical-align: 1px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (hover: none) { .lamp-hint { display: none; } }

.slug {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none;
  font: 400 13px/1 var(--mono); letter-spacing: .32em; color: var(--ink-dim); text-transform: uppercase;
  opacity: 0; transition: opacity .7s;
}
.slug span { padding: 0 20px; text-align: center; }
.intro .slug { opacity: 1; }
.intro .slug span { animation: typeon 1.1s steps(30) .25s both; }
@keyframes typeon { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.hero-card {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: min(1100px, 100% - 2 * var(--gutter));
  transform: translate(-50%, calc(-50% - var(--title-y, 0px)));
  text-align: center; opacity: var(--title-o, 1);
}
.hero-card::before {
  content: ""; position: absolute; inset: -18% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(8, 7, 6, .62), rgba(8, 7, 6, 0) 100%);
}
.presents {
  font: 500 12px/1 var(--mono); letter-spacing: .5em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 28px; opacity: 0; transition: opacity 1.4s, letter-spacing 2.6s var(--ease);
}
.s2 .presents { opacity: 1; letter-spacing: .36em; }
.hero-title {
  font-family: var(--serif); font-size: clamp(46px, 7.6vw, 124px); line-height: .96; letter-spacing: -.018em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .55);
  margin-bottom: 30px;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); opacity: 0; filter: blur(8px); transition: transform 1.5s var(--ease), opacity 1.2s, filter 1.4s; }
.s3 .hero-title .w > span { transform: none; opacity: 1; filter: none; }
.hero-title .w:nth-child(2) > span { transition-delay: .08s; } .hero-title .w:nth-child(3) > span { transition-delay: .16s; }
.hero-title .w:nth-child(5) > span { transition-delay: .3s; } .hero-title .w:nth-child(6) > span { transition-delay: .38s; } .hero-title .w:nth-child(7) > span { transition-delay: .46s; }
.hero-sub { max-width: 600px; margin: 0 auto 32px; color: var(--ink-dim); font-size: clamp(16px, 1.3vw, 19px); text-shadow: 0 1px 20px rgba(0, 0, 0, .8); }
.hero-sub b { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-sub, .hero-cta { opacity: 0; transform: translateY(14px); transition: opacity 1.2s, transform 1.2s var(--ease); }
.s4 .hero-sub, .s4 .hero-cta { opacity: 1; transform: none; }
.s4 .hero-cta { transition-delay: .15s; }

.hero-beat {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: min(900px, 100% - 2 * var(--gutter)); margin: 0; text-align: center;
  font: italic 400 clamp(30px, 4.4vw, 64px)/1.08 var(--serif); color: var(--ink);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .8); text-wrap: balance;
  opacity: 0; pointer-events: none;
}
.hero-beat span { display: inline-block; transform: translateY(calc((1 - var(--o, 0)) * 16px)); filter: blur(calc((1 - var(--o, 0)) * 6px)); }
.hero-black { position: absolute; inset: 0; z-index: 5; background: var(--bg); opacity: var(--black, 0); pointer-events: none; }

/* ==========================================================================
   CHAPTER CARDS
   ========================================================================== */
.chapter {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  background: var(--bg); text-align: center; overflow: hidden; padding: 12vh var(--gutter);
}
.chapter::before, .chapter::after {
  content: ""; position: absolute; left: clamp(16px, 4vw, 60px); right: clamp(16px, 4vw, 60px); height: 26px; pointer-events: none;
  border: 1px solid var(--line); opacity: .7;
}
.chapter::before { top: 12vh; border-bottom: 0; }
.chapter::after { bottom: 12vh; border-top: 0; }
.chapter-inner { position: relative; z-index: 2; }
.chapter-num { font: 500 12px/1 var(--mono); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-bottom: 30px; opacity: 0; transition: opacity 1.2s .1s, letter-spacing 2s var(--ease); }
.chapter-title {
  font-family: var(--serif); font-size: clamp(76px, 15vw, 240px); line-height: .88; letter-spacing: -.02em;
  background: linear-gradient(180deg, #FBF1E0 10%, #E9C089 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; filter: blur(16px); transform: scale(1.06); transition: opacity 1.1s var(--ease), filter 1.3s var(--ease), transform 2.2s var(--ease);
  padding: 0 .08em .06em;
}
.chapter-meta { display: flex; justify-content: center; gap: 28px; margin: 36px 0 0; font: 400 11px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); opacity: 0; transition: opacity 1.4s .7s; flex-wrap: wrap; }
.chapter-meta span + span::before { content: "·"; margin-right: 28px; }
.chapter.in .chapter-num { opacity: 1; letter-spacing: .38em; }
.chapter.in .chapter-title { opacity: 1; filter: none; transform: none; }
.chapter.in .chapter-meta { opacity: 1; }
.leak {
  position: absolute; z-index: 1; top: 50%; left: -40%; width: 70vw; height: 70vw; margin-top: -35vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 150, 60, .55), rgba(220, 90, 30, .18) 40%, transparent 68%);
  filter: blur(40px); mix-blend-mode: screen; opacity: 0; pointer-events: none;
}
.chapter.in .leak { animation: leak 3.4s var(--ease) .1s both; }
@keyframes leak { 0% { opacity: 0; transform: translateX(0) scale(.7); } 30% { opacity: .55; } 100% { opacity: 0; transform: translateX(150vw) scale(1.1); } }

/* ==========================================================================
   I. THE BLOCK
   ========================================================================== */
.block { background: var(--bg); padding: 6vh 0 18vh; }
.block-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.still { margin: 0; }
.still-frame { position: relative; padding: 10px; background: #15120F; box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.still-frame img { width: 100%; height: auto; }
.flashback .still-frame img { filter: sepia(.55) contrast(1.08) brightness(.82) saturate(.9); }
.still-frame::after { content: ""; position: absolute; inset: 10px; pointer-events: none; background: radial-gradient(ellipse at 30% 20%, rgba(255, 170, 90, .14), transparent 60%); mix-blend-mode: screen; }
.still figcaption { margin-top: 14px; font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.still figcaption span { color: var(--gold); margin-right: 10px; }
.scrub { margin: 0 0 26px; }
.scrub p { font-family: var(--serif); font-size: clamp(28px, 3.3vw, 52px); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.scrub .wd { opacity: clamp(.14, calc((var(--p, 0) * var(--n, 1) - var(--i, 0)) * 1), 1); transition: opacity .2s linear; }
.cite { font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }
.cite::before { content: "— "; }

.takes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16vh; }
.take { border: 1px solid var(--line); padding: 20px 22px 26px; background: linear-gradient(180deg, rgba(239, 230, 214, .03), transparent); position: relative; }
.take-meta { display: flex; justify-content: space-between; align-items: center; margin: 0 0 30px; font: 400 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.take-meta b { color: var(--ng); border: 1px solid currentColor; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; font-weight: 500; letter-spacing: .06em; transform: rotate(-12deg) scale(1.6); opacity: 0; transition: all .5s var(--ease) .7s; }
.take.in .take-meta b { transform: rotate(-12deg); opacity: 1; }
.take-line { font: 400 clamp(22px, 2vw, 28px)/1.15 var(--serif); margin: 0; position: relative; display: inline; background-image: linear-gradient(var(--ng), var(--ng)); background-repeat: no-repeat; background-size: 0 2px; background-position: 0 58%; transition: background-size .8s var(--ease) .9s; }
.take.in .take-line { background-size: 100% 2px; }
.take:nth-child(2) { transition-delay: .1s; } .take:nth-child(3) { transition-delay: .2s; } .take:nth-child(4) { transition-delay: .3s; }

.turn { text-align: center; margin-top: 18vh; }
.turn-lead { font: 500 12px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 26px; }
.turn-big { font: 400 clamp(34px, 4.8vw, 76px)/1.04 var(--serif); letter-spacing: -.015em; max-width: 1050px; margin: 0 auto; text-wrap: balance; }

/* ==========================================================================
   II. THE PATTERN (particle morph)
   ========================================================================== */
.pattern { position: relative; height: 560vh; }
.pattern-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pattern-glow {
  position: absolute; left: 62%; top: 50%; width: 80vh; height: 110vh; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 160, 70, .16), rgba(255, 140, 60, .05) 45%, transparent 70%);
  pointer-events: none; mix-blend-mode: screen; opacity: var(--pe, 0);
}
.pattern-fallback { position: absolute; left: 62%; top: 50%; height: 82vh; aspect-ratio: 300 / 720; transform: translate(-50%, -48%); transition: opacity 1s; }
.webgl-ready .pattern-fallback { opacity: 0; }
.pl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; filter: brightness(1.25) drop-shadow(0 0 12px rgba(255, 170, 90, .15)); }
.pl.on { opacity: 1; }
.pl.l3 { filter: sepia(.25) brightness(.9) drop-shadow(0 0 12px rgba(255, 170, 90, .15)); }

.pattern-copy { position: absolute; left: clamp(24px, 6vw, 110px); top: 50%; transform: translateY(-50%); width: min(460px, 36vw); z-index: 2; }
.pattern-title { font: 400 clamp(38px, 4.2vw, 66px)/1 var(--serif); letter-spacing: -.012em; margin-bottom: 34px; }
.shots { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.shots li { border-bottom: 1px solid var(--line); padding: 14px 0; opacity: .38; transition: opacity .5s; display: grid; grid-template-columns: 74px 1fr; column-gap: 12px; }
.shots li.on { opacity: 1; }
.shot-n { font: 400 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); padding-top: 8px; }
.shots li.on .shot-n { color: var(--amber); }
.shots b { font: 400 26px/1.1 var(--serif); }
.shots p { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-dim); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .5s, margin .5s; }
.shots li.on p { max-height: 140px; opacity: 1; margin-top: 8px; }
.pattern-final { font: italic 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); margin: 26px 0 0; opacity: 0; transform: translateY(10px); transition: opacity .8s, transform .8s var(--ease); }
.pattern-final.show { opacity: 1; transform: none; }
.pattern-final em { color: var(--amber-soft); }
.pattern-meter { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; font: 400 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); z-index: 2; white-space: nowrap; }
.pm-label { color: var(--amber); min-width: 120px; text-align: right; }
.pm-track { width: 160px; height: 1px; background: var(--line-2); position: relative; }
.pm-track span { position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--pp, 0) * 100%); background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.pm-hint { min-width: 120px; }

/* ==========================================================================
   LAMP REVEAL (faces)
   ========================================================================== */
.lamp { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: 20vh 0 16vh; }
.lamp-copy p { color: var(--ink-dim); max-width: 440px; }
.lamp-stage { position: relative; --lx: 30%; --ly: 40%; --r: clamp(120px, 14vw, 200px); }
.lamp-sheet { position: relative; aspect-ratio: 903 / 720; touch-action: pan-y; cursor: none; }
.lamp-sheet::before { content: ""; position: absolute; inset: -6% -4%; background: radial-gradient(ellipse at 50% 50%, #17130F, transparent 70%); }
.lf { position: absolute; inset: 0; width: 100%; height: 100%; }
.lf.base { opacity: .2; filter: saturate(.3) brightness(.8); }
.lf.con, .lf.fin {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--lx) var(--ly), #000 0%, #000 45%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--lx) var(--ly), #000 0%, #000 45%, transparent 100%);
}
.lf.con { filter: brightness(1.15) saturate(1.1); }
.lf.fin { filter: brightness(1.2); opacity: .9; }
.lamp-pool {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle calc(var(--r) * 1.5) at var(--lx) var(--ly), rgba(255, 184, 100, .22), rgba(255, 160, 80, .07) 45%, transparent 72%);
}
.lamp-stage.up { --r: 1400px; }
.lamp-stage.up .lamp-pool { opacity: .5; }
.lamp-hint { margin: 18px 0 0; text-align: center; font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }

/* ==========================================================================
   PROGRAM (lobby cards)
   ========================================================================== */
.program { padding: 10vh 0 18vh; }
.program-head { max-width: 760px; margin-bottom: 60px; }
.program-head p:not(.eyebrow) { color: var(--ink-dim); max-width: 560px; }
.lobby { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, -30%), rgba(255, 180, 94, .12), transparent 70%); opacity: 0; transition: opacity .4s; }
.card:hover::after { opacity: 1; }
.card-art { aspect-ratio: 4 / 3.2; overflow: hidden; background: #0f0d0b; }
.card-art img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) brightness(.72) contrast(1.05); transition: filter .7s, transform 1.4s var(--ease); }
.card:hover .card-art img { filter: sepia(.1) brightness(.98); transform: scale(1.04); }
.card-body { padding: 24px 24px 28px; }
.card-n { font: 500 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.card h3 { font: 400 28px/1.04 var(--serif); margin-bottom: 14px; }
.card p { font-size: 15px; line-height: 1.55; color: var(--ink-dim); }
.card ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.card li { font-size: 13.5px; color: var(--ink-dim); padding: 4px 0 4px 20px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 1px; background: var(--amber); }
.card:nth-child(2) { transition-delay: .08s; } .card:nth-child(3) { transition-delay: .16s; } .card:nth-child(4) { transition-delay: .24s; }

/* ==========================================================================
   III. THE PROOF
   ========================================================================== */
.proof { position: relative; height: 340vh; }
.proof-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: 70px max(var(--gutter), calc((100vw - 1240px) / 2)) 30px; overflow: hidden; }
.proof-copy .h2 { font-size: clamp(38px, 4.4vw, 70px); }
.slate { list-style: none; padding: 0; margin: 0 0 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.slate li { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 11px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-faint); transition: all .4s; }
.slate li span { color: inherit; opacity: .6; margin-right: 8px; }
.slate li.on { color: #1B1209; background: var(--amber); box-shadow: 0 0 24px rgba(255, 180, 94, .35); }
.before { display: flex; gap: 16px; align-items: center; margin: 0 0 24px; }
.before img { width: 74px; height: 104px; object-fit: cover; filter: sepia(.3) brightness(.85); box-shadow: inset 0 0 0 1px var(--line); }
.before figcaption { font: 400 12px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.before figcaption span { color: var(--ink-faint); }
.fine { font-size: 13px; color: var(--ink-faint); max-width: 420px; }
.proof-stage { display: grid; place-items: center; height: 100%; }
.projector { position: relative; height: min(80vh, 760px); aspect-ratio: 720 / 1112; max-width: 100%; box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 140px -20px rgba(255, 170, 80, .14); background: #111; }
.projector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.projector .wipe { clip-path: inset(0 0 calc(100% - var(--w, 0) * 100%) 0); }
.w1 { --w: var(--w1, 0); } .w2 { --w: var(--w2, 0); }
.beam { position: absolute; left: -4%; right: -4%; height: 3px; top: calc(var(--w) * 100%); margin-top: -1px; pointer-events: none; background: linear-gradient(90deg, transparent, #FFE2B0 20%, #fff 50%, #FFE2B0 80%, transparent); box-shadow: 0 0 22px 6px rgba(255, 180, 94, .55), 0 0 80px 20px rgba(255, 150, 60, .25); opacity: calc(min(var(--w) * 20, 1) * min((1 - var(--w)) * 20, 1)); }
.beam.b1 { --w: var(--w1, 0); } .beam.b2 { --w: var(--w2, 0); }
.frame-tag { position: absolute; left: 12px; top: 12px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .6); padding: 7px 9px; border-radius: 4px; }

.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); padding: 16vh 0 10vh; }
.review { margin: 0; text-align: center; padding: 10px 10px 0; }
.laurels { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin-bottom: 26px; }
.lau { width: 26px; height: 52px; opacity: .8; }
.lau.r { transform: scaleX(-1); }
.stars { display: inline-flex; gap: 4px; }
.stars svg { width: 18px; height: 18px; color: var(--amber); filter: drop-shadow(0 0 6px rgba(255, 180, 94, .4)); }
.review blockquote { margin: 0 0 20px; font: 400 clamp(26px, 2.6vw, 40px)/1.12 var(--serif); text-wrap: balance; }
.review figcaption { font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }

/* Rob credit sequence */
.rob { padding: 14vh 0 18vh; text-align: center; }
.rob .eyebrow { justify-content: center; }
.rob .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.rob-name { font: 400 clamp(56px, 11vw, 172px)/.9 var(--serif); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; background: linear-gradient(180deg, #FBF1E0 10%, #E2B57C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rob-role { font: 400 12px/1.6 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 7vh; }
.rob-still { margin: 0 auto; width: min(1120px, 100% - 2 * var(--gutter)); aspect-ratio: 16 / 9; overflow: hidden; position: relative; box-shadow: 0 0 0 1px var(--line), 0 60px 120px -40px rgba(0, 0, 0, .9); }
.rob-still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: sepia(.2) contrast(1.06) brightness(.9); }
.rob-still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 10, 9, .5), transparent 25%, transparent 75%, rgba(11, 10, 9, .5)); pointer-events: none; }
.rob-subs { margin-top: 44px; }
.sub { margin: 0 auto 22px; max-width: 980px; }
.sub p { margin: 0; font: 400 clamp(24px, 2.7vw, 42px)/1.18 var(--serif); text-wrap: balance; }
.sub-2 p { font-size: clamp(19px, 1.7vw, 25px); color: var(--ink-dim); font-style: italic; }

/* ==========================================================================
   IV. THE MENTOR
   ========================================================================== */
.mentor { padding: 6vh 0 0; }
.mentor-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.mentor-photo { margin: 0; position: sticky; top: 100px; }
.mentor-photo .still-frame img { aspect-ratio: 1 / 1; object-fit: cover; filter: sepia(.18) contrast(1.04) brightness(.95); }
.mentor-photo figcaption { margin-top: 14px; font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.mentor-photo figcaption span { color: var(--gold); margin-right: 10px; }
.mentor-copy > p:not(.eyebrow) { color: var(--ink-dim); max-width: 560px; }
.mentor-copy b { color: var(--ink); font-weight: 500; }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin: 40px 0; border-top: 1px solid var(--line); }
.specs div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.specs div:nth-child(even) { padding-left: 24px; }
.specs dt { font: 400 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; }
.specs dd { margin: 0; font: 400 clamp(38px, 3.6vw, 54px)/1 var(--serif); color: var(--amber-soft); }
.mentor-quote { margin: 0 0 36px; padding-left: 24px; border-left: 1px solid var(--amber); }
.mentor-quote p { font: italic 400 clamp(24px, 2.2vw, 32px)/1.2 var(--serif); margin-bottom: 14px; }
.mentor-quote cite { font: 500 12px/1 var(--mono); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }
.influences { font-size: 15px; color: var(--ink-dim); line-height: 1.8; }
.influences span { display: block; font: 400 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; }

.dailies { margin-top: 16vh; }
.dailies-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.dailies-head .eyebrow { margin: 0; }
.strip {
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab;
  background: #050403; border-block: 1px solid var(--line);
  overscroll-behavior-x: contain;
}
.strip::-webkit-scrollbar { display: none; }
.strip.drag { cursor: grabbing; }
.strip-track {
  display: flex; gap: 12px; width: max-content; padding: 34px var(--gutter);
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, #2B241D 10px 24px, transparent 24px 34px) 0 10px / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 10px, #2B241D 10px 24px, transparent 24px 34px) 0 calc(100% - 10px) / 100% 14px no-repeat;
}
.strip figure { margin: 0; height: clamp(220px, 34vh, 340px); flex: none; background: #000; overflow: hidden; box-shadow: 0 0 0 1px #000; }
.strip img { height: 100%; width: auto; filter: sepia(.28) brightness(.82); transition: filter .5s; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.strip figure:hover img { filter: none; }

/* ==========================================================================
   BOX OFFICE · ticket
   ========================================================================== */
.boxoffice { padding: 18vh 0 14vh; position: relative; background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(255, 170, 80, .1), transparent 70%); }
.bo-head { text-align: center; max-width: 900px; margin: 0 auto 64px; }
.bo-head .eyebrow { justify-content: center; }
.bo-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.ticket {
  position: relative; max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 18px 230px;
  color: var(--paper-ink);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)) drop-shadow(0 0 70px rgba(255, 170, 80, .13));
}
.ticket.reveal { transform: translateY(30px) rotate(-1.5deg); }
.ticket.reveal.in { transform: rotate(-1deg); }
.t-main {
  position: relative; padding: 38px 44px 34px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, .5), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(170, 130, 70, .18), transparent 60%),
    var(--paper);
  border-radius: 16px 0 0 16px;
  -webkit-mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000 100%);
  mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000 100%);
}
.t-main::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(31, 26, 20, .18); border-radius: 8px 0 0 8px; border-right: 0; pointer-events: none; }
.t-top { display: flex; justify-content: space-between; gap: 16px; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(31, 26, 20, .6); margin-bottom: 22px; flex-wrap: wrap; }
.t-title { font: 400 clamp(38px, 4.6vw, 64px)/.95 var(--serif); letter-spacing: -.015em; margin-bottom: 24px; }
.t-title em { background: none; color: #A8471A; -webkit-background-clip: border-box; background-clip: border-box; }
.t-bill { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.t-bill li { font-size: 15px; font-weight: 500; display: flex; gap: 10px; align-items: baseline; }
.t-bill span { font: 500 11px/1 var(--mono); color: #A8471A; }
.t-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 24px; border-block: 1px dashed rgba(31, 26, 20, .3); }
.t-grid div { padding: 12px 0; }
.t-grid div + div { padding-left: 14px; border-left: 1px dashed rgba(31, 26, 20, .3); }
.t-grid dt { font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(31, 26, 20, .55); margin-bottom: 6px; }
.t-grid dd { margin: 0; font: 400 22px/1 var(--serif); }
.t-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.t-was { margin: 0 0 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(31, 26, 20, .6); }
.t-was s { color: #A8471A; text-decoration-thickness: 2px; }
.t-now { margin: 0; font: 400 96px/.8 var(--serif); letter-spacing: -.03em; }
.t-now sup { font-size: .42em; vertical-align: .9em; margin-right: 2px; }
.t-now span { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(31, 26, 20, .6); margin-left: 6px; vertical-align: .4em; }
.t-fine { margin: 14px 0 0; font: 500 11px/1.5 var(--mono); letter-spacing: .08em; color: rgba(31, 26, 20, .6); text-align: center; }
.t-perf {
  background:
    radial-gradient(circle 5px at 50% 50%, transparent 92%, var(--paper) 100%) 0 0 / 18px 16px repeat-y;
  -webkit-mask: radial-gradient(circle 12px at 50% 0, transparent 98%, #000 100%), radial-gradient(circle 12px at 50% 100%, transparent 98%, #000 100%);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 12px at 50% 0, transparent 98%, #000 100%) intersect, radial-gradient(circle 12px at 50% 100%, transparent 98%, #000 100%);
  position: relative; z-index: 1;
}
.t-stub {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
  padding: 34px 20px 28px; text-decoration: none; color: var(--paper-ink);
  background:
    repeating-linear-gradient(135deg, rgba(31, 26, 20, .05) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #FFC47A, #EE9C47);
  border-radius: 0 16px 16px 0;
  -webkit-mask: radial-gradient(circle 12px at 0 0, transparent 98%, #000 100%), radial-gradient(circle 12px at 0 100%, transparent 98%, #000 100%);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 12px at 0 0, transparent 98%, #000 100%) intersect, radial-gradient(circle 12px at 0 100%, transparent 98%, #000 100%);
  transform-origin: 0% 100%; cursor: grab; touch-action: pan-y;
  transform: rotate(var(--tear, 0deg)) translateX(var(--tx, 0px));
  transition: transform .5s var(--ease);
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
}
.t-stub.dragging { transition: none; cursor: grabbing; }
.t-stub:focus-visible { outline-offset: -6px; outline-color: var(--paper-ink); }
.stub-admit { font: italic 400 42px/.9 var(--serif); }
.stub-price { font: 400 72px/.9 var(--serif); letter-spacing: -.03em; }
.stub-tear { font: 500 11px/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; border-top: 1px dashed rgba(31, 26, 20, .4); padding-top: 14px; }
.tear-arrow { display: inline-block; transform: rotate(-90deg); font-size: 16px; animation: snip 2s ease-in-out infinite; }
@keyframes snip { 50% { transform: rotate(-90deg) translateX(-4px); } }
.t-stub:hover .stub-tear { color: #7A2E0E; }
.t-after {
  position: absolute; right: 0; top: 0; bottom: 0; width: 230px; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px;
  color: var(--ink); opacity: 0; transition: opacity .6s .35s;
}
.t-after span { font: italic 400 30px/1 var(--serif); color: var(--amber-soft); }
.t-after small { font: 400 10px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); }
.ticket.torn .t-stub { animation: tearoff 1.05s var(--ease-io) forwards; pointer-events: none; }
.ticket.torn .t-after { opacity: 1; }
@keyframes tearoff {
  0% { transform: rotate(var(--tear, 0deg)); }
  22% { transform: rotate(7deg) translate(4px, -4px); }
  100% { transform: rotate(32deg) translate(140px, 420px); opacity: 0; }
}

.bo-extras { max-width: 1000px; margin: 64px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.guarantee { display: flex; gap: 20px; align-items: center; }
.guarantee p { margin: 0; color: var(--ink-dim); font-size: 15px; }
.guarantee p b { color: var(--ink); font-weight: 500; }
.g-ring { flex: none; width: 84px; height: 84px; border-radius: 50%; border: 1px dashed rgba(255, 180, 94, .6); display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 6px rgba(255, 180, 94, .3); }
.g-ring b { font: 400 34px/.9 var(--serif); color: var(--amber); }
.g-ring i { font: 500 9px/1 var(--mono); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }
.extras { border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.extras summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 500; }
.extras summary::-webkit-details-marker { display: none; }
.extras summary span { font: 300 22px/1 var(--sans); color: var(--amber); transition: transform .3s; }
.extras[open] summary span { transform: rotate(45deg); }
.extras ul { margin: 0; padding: 0 0 18px 18px; color: var(--ink-dim); font-size: 14.5px; }
.extras li { margin-bottom: 6px; }

/* ==========================================================================
   Q&A
   ========================================================================== */
.qa { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 80px); padding: 12vh 0 18vh; align-items: start; }
.qs details { border-bottom: 1px solid var(--line); }
.qs details:first-child { border-top: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); transition: color .3s; }
.qs summary:hover { color: var(--amber-soft); }
.qs summary::-webkit-details-marker { display: none; }
.qs summary span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); font: 300 20px/1 var(--sans); color: var(--amber); transition: transform .35s var(--ease); }
.qs details[open] summary span { transform: rotate(45deg); }
.qs details p { color: var(--ink-dim); max-width: 640px; margin: -6px 0 24px; }

/* ==========================================================================
   END CREDITS
   ========================================================================== */
.credits { position: relative; height: 460vh; background: #000; }
.credits-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.credits-window {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(transparent 6%, #000 24%, #000 76%, transparent 94%);
  mask-image: linear-gradient(transparent 6%, #000 24%, #000 76%, transparent 94%);
}
.credits-roll { position: absolute; left: 0; right: 0; top: 0; padding: 0 var(--gutter); text-align: center; transform: translate3d(0, var(--cy, 100vh), 0); will-change: transform; }
.cr-open { font: 500 11px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 9vh; }
.cr-open strong { display: block; margin-top: 18px; font: 400 clamp(54px, 7vw, 110px)/.95 var(--serif); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.cr-open:first-child strong { font-style: italic; background: linear-gradient(100deg, #FFD9A1, var(--amber) 50%, #E58B3A); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em; }
.cr-list { margin: 0 auto; max-width: 860px; }
.cr-list div { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 44px; align-items: baseline; }
.cr-list dt { text-align: right; font: 400 11px/1.6 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); }
.cr-list dd { text-align: left; margin: 0; font: 400 24px/1.3 var(--serif); color: var(--ink); }
.cr-noai { margin: 10vh 0 0; font: italic 400 clamp(22px, 2.2vw, 30px)/1.4 var(--serif); color: var(--amber-soft); }
.credits-final {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 var(--gutter);
  opacity: var(--fo, 0); transform: translateY(calc((1 - var(--fo, 0)) * 30px)); pointer-events: none;
}
.credits-final.live { pointer-events: auto; }
.credits-final .eyebrow { justify-content: center; }
.credits-final .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.final-title { font: 400 clamp(40px, 6.4vw, 100px)/.98 var(--serif); letter-spacing: -.018em; max-width: 1000px; margin-bottom: 40px; text-wrap: balance; }
.final-fine { margin-top: 18px; font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; background: #000; border-top: 1px solid var(--line); padding: 56px 0 120px; }
.foot-inner { display: grid; gap: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-links a { color: var(--ink-dim); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--amber); }
.legal { margin: 0; font-size: 12.5px; color: var(--ink-faint); max-width: 860px; }
.legal a { color: var(--ink-dim); }

/* ---------- mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 85;
  display: none; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 14px 14px 20px; border-radius: 999px; text-decoration: none;
  color: #1B1209; background: linear-gradient(180deg, #FFCB86, #F4A24C);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .6), 0 0 30px rgba(255, 160, 70, .3);
  font-size: 15px; transform: translateY(160%); transition: transform .6s var(--ease);
}
.mobile-cta b { font-weight: 700; }
.mobile-cta em { font: 400 26px/1 var(--serif); font-style: normal; background: #1B1209; color: #FFCB86; padding: 6px 14px 7px; border-radius: 999px; }
.mobile-cta.show { transform: none; }

/* ---------- reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .ticket.reveal.in { transform: rotate(-1deg); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .rail { display: none; }
  .lobby { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hud-tc { display: none; }
  .block-grid, .lamp, .mentor-grid, .qa { grid-template-columns: 1fr; }
  .flashback { max-width: 420px; }
  .takes { grid-template-columns: repeat(2, 1fr); }
  .mentor-photo { position: relative; top: 0; max-width: 560px; }
  .pattern-copy { width: min(400px, 40vw); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hud { height: 58px; }
  .hud-login { display: none; }
  .brand-name { font-size: 11px; letter-spacing: .16em; }
  .bar { height: 13vh; height: 13svh; font-size: 9.5px; letter-spacing: .14em; }
  .bar-top { padding-bottom: 10px; }
  .bar-top > span:first-child, .bar-top > span:last-child { display: none; }
  .bar-top { justify-content: center; }
  .bar-bottom { justify-content: center; text-align: center; }
  .bar .blurb { font-size: 11px; }
  .hero-card { transform: translate(-50%, calc(-46% - var(--title-y, 0px))); }
  .presents { font-size: 10.5px; letter-spacing: .3em; margin-bottom: 20px; }
  .s2 .presents { letter-spacing: .24em; }
  .hero-title { font-size: clamp(42px, 12.4vw, 62px); margin-bottom: 22px; }
  .hero-sub { font-size: 15.5px; margin-bottom: 26px; }
  .hero-cta { gap: 18px; }
  .chapter::before { top: 9vh; } .chapter::after { bottom: 9vh; }
  .chapter-meta { gap: 14px; letter-spacing: .18em; }
  .chapter-meta span + span::before { margin-right: 14px; }
  .takes { grid-template-columns: 1fr; gap: 10px; margin-top: 10vh; }
  .take-meta { margin-bottom: 14px; }

  /* pattern on mobile: figure centered, copy split top/bottom */
  .pattern-glow { left: 50%; width: 120vw; }
  .pattern-fallback { left: 50%; height: 56vh; top: 48%; }
  .pattern-copy { position: absolute; inset: 0; transform: none; width: auto; pointer-events: none; }
  .pattern-copy .eyebrow { position: absolute; top: 76px; left: var(--gutter); right: var(--gutter); margin: 0; font-size: 10.5px; }
  .pattern-title { position: absolute; top: 102px; left: var(--gutter); right: var(--gutter); font-size: 30px; margin: 0; text-align: left; }
  .shots { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 74px; border: 0; }
  .shots li { display: none; border: 0; padding: 0; grid-template-columns: 1fr; opacity: 1; background: linear-gradient(transparent, rgba(11, 10, 9, .9) 30%); padding-top: 20px; }
  .shots li.on { display: grid; }
  .shot-n { padding: 0 0 6px; }
  .shots b { font-size: 26px; }
  .shots p { grid-column: 1; font-size: 14.5px; }
  .pattern-final { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 74px; margin: 0; background: rgba(11, 10, 9, .9); padding: 14px 0; font-size: 22px; }
  .pattern-meter { bottom: calc(22px + env(safe-area-inset-bottom)); gap: 10px; }
  .pm-label { min-width: 0; }
  .pm-hint { display: none; }
  .pm-track { width: 90px; }

  .lamp { padding: 12vh 0 10vh; }
  .lobby { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 38% 1fr; }
  .card-art { aspect-ratio: auto; height: 100%; min-height: 200px; }
  .card-body { padding: 18px 16px 20px; }
  .card h3 { font-size: 23px; margin-bottom: 8px; }
  .card p { font-size: 14px; margin-bottom: 10px; }
  .card ul { display: none; }

  .proof { height: 300vh; }
  .proof-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 14px; padding: 70px var(--gutter) calc(88px + env(safe-area-inset-bottom)); align-content: start; }
  .proof-copy .eyebrow { margin-bottom: 10px; }
  .proof-copy .h2 { font-size: 30px; margin-bottom: 12px; }
  .slate { margin-bottom: 0; }
  .slate li { padding: 8px 11px; font-size: 11px; }
  .before, .proof-copy .fine { display: none; }
  .proof-stage { min-height: 0; height: 100%; }
  .projector { height: 100%; width: auto; max-width: 100%; }
  .pattern-copy.final .shots { opacity: 0; }
  .shots { transition: opacity .4s; }

  .reviews { grid-template-columns: 1fr; padding: 10vh 0 6vh; gap: 56px; }
  .rob { padding: 10vh 0 12vh; }
  .rob-name { letter-spacing: .04em; font-size: clamp(48px, 15vw, 80px); }
  .rob-role { letter-spacing: .16em; font-size: 11px; }
  .rob-still { aspect-ratio: 4 / 5; width: min(520px, 100% - 2 * var(--gutter)); }
  .rob-still img { object-position: 50% 30%; }
  .rob-still::after { display: none; }
  .specs dd { font-size: 36px; }

  .ticket { grid-template-columns: 1fr; grid-template-rows: auto 18px auto; }
  .ticket.reveal, .ticket.reveal.in, .js .ticket.reveal.in { transform: none; }
  .t-main { padding: 30px 22px 26px; border-radius: 16px 16px 0 0; -webkit-mask: none; mask: none; }
  .t-main::before { inset: 8px; border-radius: 8px 8px 0 0; border-right: 1px solid rgba(31, 26, 20, .18); border-bottom: 0; }
  .t-bill { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr 1fr; }
  .t-grid div:nth-child(3) { padding-left: 0; border-left: 0; }
  .t-grid div:nth-child(n+3) { border-top: 1px dashed rgba(31, 26, 20, .3); }
  .t-now { font-size: 80px; }
  .t-perf {
    background: radial-gradient(circle 5px at 50% 50%, transparent 92%, var(--paper) 100%) 0 0 / 16px 18px repeat-x;
    -webkit-mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000 100%), radial-gradient(circle 12px at 100% 50%, transparent 98%, #000 100%);
    -webkit-mask-composite: source-in;
    mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000 100%) intersect, radial-gradient(circle 12px at 100% 50%, transparent 98%, #000 100%);
  }
  .t-stub {
    flex-direction: row; padding: 22px 22px 24px; border-radius: 0 0 16px 16px; transform-origin: 0% 0%;
    -webkit-mask: radial-gradient(circle 12px at 0 0, transparent 98%, #000 100%), radial-gradient(circle 12px at 100% 0, transparent 98%, #000 100%);
    -webkit-mask-composite: source-in;
    mask: radial-gradient(circle 12px at 0 0, transparent 98%, #000 100%) intersect, radial-gradient(circle 12px at 100% 0, transparent 98%, #000 100%);
    touch-action: manipulation;
  }
  .stub-admit { font-size: 30px; text-align: left; }
  .stub-price { font-size: 56px; }
  .stub-tear { border-top: 0; padding-top: 0; flex-direction: column; font-size: 10px; }
  .t-after { left: 0; right: 0; top: auto; width: auto; height: 110px; }
  .bo-extras { grid-template-columns: 1fr; margin-top: 44px; }

  .cr-list div { grid-template-columns: 1fr; gap: 8px; margin-bottom: 36px; }
  .cr-list dt, .cr-list dd { text-align: center; }
  .cr-list dd { font-size: 22px; }
  .credits { height: 560vh; }

  .mobile-cta { display: flex; }
  .footer { padding-bottom: 110px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .rec, .tear-arrow, .lamp-hint::before { animation: none; }
  .js .reveal { transform: none; filter: none; transition: opacity .6s; }
  .chapter-title { filter: none; transform: none; transition: opacity .8s; }
  .chapter.in .leak { animation: none; }
  .hero-title .w > span { transform: none; filter: none; }
  .hero-beat span { transform: none; filter: none; }
  .bar, .hero-sub, .hero-cta, .presents { transition: none; }
}
