/* ===================================================================
   LMB FILM EXPERIENCE — Step 1: Static Composition (no motion yet)
   System = MERIDIAN. Soul = the LMB room plate. Camera (GSAP) comes in Step 3.
   =================================================================== */

/* ---------- Fonts (self-hosted, no CDN — MERIDIAN) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
}

/* ---------- MERIDIAN tokens ---------- */
:root {
  --black: #0A0A0B;
  --coal: #141416;
  --bone: #F4F1EC;
  --bone-dim: rgba(244, 241, 236, 0.64);
  --bone-faint: rgba(244, 241, 236, 0.40);
  --signal: #C8102E;
  --hairline: rgba(244, 241, 236, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(24px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--black);
  color: var(--bone);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.label {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ---------- Buttons (MERIDIAN) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--signal); color: var(--bone); }
.btn-solid:hover { background: #e11533; }
.btn-ghost { background: transparent; color: var(--bone); border-color: rgba(244, 241, 236, 0.5); }
.btn-ghost:hover { background: var(--bone); color: var(--black); }

/* ===================================================================
   THE STAGE — full-bleed cinematic hero (Step 1 composition)
   =================================================================== */
/* scroll track — its height IS the scroll distance for the 6 beats.
   Default 100vh = clean static hero if JS never runs; app.js expands it. */
.track {
  position: relative;
  height: 100vh;
}

.stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--black);
}

/* THE CAMERA — moves the whole plane stack as one (parallax inside) */
.cam {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* LAYER 0 · the plate (the golden room) */
.stage-plate {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

/* 2.5D depth planes — duplicate the plate, masked into depth bands.
   At rest they overlay IDENTICAL pixels (composite = the approved frame, seamless);
   Step-3 parallax moves them at different rates to create depth.
   GPT build-seq Step 2: "separate OR simulate depth layers." */
.plane {
  position: absolute;
  inset: 0;
  background-image: url('assets/lmb-room-master.webp');
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  will-change: transform;
  pointer-events: none;
}
.plane-mid {
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
}
.plane-fg {
  z-index: 3;
  -webkit-mask-image: linear-gradient(to bottom, transparent 58%, #000 80%);
          mask-image: linear-gradient(to bottom, transparent 58%, #000 80%);
}

/* LAYER 1 · treatment — scrims for legibility + cinematic falloff.
   Kept subtle: the room is already dark; we only deepen edges + lower-left. */
.stage-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    /* lower-left legibility insurance (GPT +~10% over the headline zone) */
    radial-gradient(ellipse 64% 60% at 15% 88%, rgba(8, 8, 9, 0.42) 0%, rgba(8, 8, 9, 0) 72%),
    linear-gradient(to top, rgba(8, 8, 9, 0.94) 0%, rgba(8, 8, 9, 0.0) 48%),
    linear-gradient(to right, rgba(8, 8, 9, 0.82) 0%, rgba(8, 8, 9, 0.0) 44%),
    linear-gradient(to bottom, rgba(8, 8, 9, 0.55) 0%, rgba(8, 8, 9, 0.0) 22%),
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(8, 8, 9, 0) 40%, rgba(8, 8, 9, 0.45) 100%);
}

/* ---------- Top bar (brand left · red close right) ---------- */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;          /* UI above the silhouette sandwich */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px var(--gutter);
}
.brand {
  display: grid;
  gap: 6px;
}
.brand-name {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--bone);
}
.brand-rule {
  width: 28px; height: 1px;
  background: var(--signal);
}
.topbar .label { color: var(--bone-faint); }

/* ---------- Beat cards (lower-left narration, MERIDIAN restraint) ---------- */
.cards { position: absolute; inset: 0; z-index: 15; pointer-events: none; }
.card {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(72px, 11vh, 132px);
  max-width: 760px;
  opacity: 0;
  will-change: opacity, transform;
}
/* fallback: first card stays visible even if JS/GSAP never runs */
.card.is-shown { opacity: 1; }
.card-cta { margin-top: 30px; pointer-events: auto; }

.card-eyebrow { margin-bottom: 22px; color: var(--bone-dim); }
.card-eyebrow .dot {
  display: inline-block;
  width: 5px; height: 5px;
  margin: 0 12px 2px 0;
  border-radius: 50%;
  background: var(--signal);
  vertical-align: middle;
}
.card-title {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(44px, 6.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.005em;
  color: var(--bone);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}
.card-title em { font-style: italic; color: #efe7d8; }
.card-sub {
  max-width: 460px;
  margin-top: 34px;
  color: var(--bone-dim);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.78;
}

/* ---------- Monitor: the living proof window (Beat V) ---------- */
.monitor-proof {
  position: absolute;
  left: var(--mon-x, 61%);
  top: var(--mon-y, 28%);
  width: var(--mon-w, 24%);
  height: var(--mon-h, 33%);
  z-index: 7;
  opacity: 0;            /* dark until Beat V */
  overflow: hidden;
  background: linear-gradient(160deg, rgba(20,16,12,0.5), rgba(6,6,8,0.72));
  box-shadow: 0 0 70px rgba(200, 16, 46, 0.18), inset 0 0 44px rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
}
.mon-scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(244,241,236,0.06) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen; opacity: 0.5;
}
.mon-roll { display: grid; gap: 10px; padding: 0 8%; text-align: center; }
.mon-roll span {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(9px, 0.82vw, 13px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.84);
  text-shadow: 0 0 12px rgba(244,241,236,0.25);
}

/* ---------- Red production light (breathes at the wrap) ---------- */
.red-glow {
  position: absolute;
  right: -6%; top: 6%;
  width: 42%; height: 64%;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 50% 50% at 78% 32%, rgba(200,16,46,0.42) 0%, rgba(200,16,46,0) 62%);
  mix-blend-mode: screen;
}

/* ---------- Scroll cue (bottom-center) ---------- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 15;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 12px;
}
.scroll-cue .line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--bone-faint), transparent);
}
.scroll-cue .label { color: var(--bone-faint); font-size: 10px; }

/* ---------- Step-1 placeholder note (removed once scenes are built) ---------- */
.stage-foot {
  position: absolute;
  right: var(--gutter);
  bottom: 30px;
  z-index: 15;
  color: var(--bone-faint);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .topbar { padding: 20px 20px; }
  .topbar .btn { padding: 12px 18px; font-size: 11px; }
  .brand-name { font-size: 13px; letter-spacing: 0.28em; }
  .brand .label { font-size: 9px; letter-spacing: 0.14em; }
  .card { left: 20px; right: 20px; bottom: 92px; max-width: none; }
  .card-title { font-size: clamp(38px, 11vw, 56px); }
  .card-sub { font-size: 15px; max-width: none; }
  .stage-plate { object-position: center 38%; }
  .plane { background-position: center 38%; }
  .stage-foot { display: none; }
}

/* ===================================================================
   THE RECORD — Credits Theater (Act III · the legacy world)
   Custom credit wall rendered on the BLANK theater screen.
   Correct name (LeDiedra M. Baldwin / LMB). Verified credits only. No poster art.
   =================================================================== */
.theater {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #07060a;
  /* exact screen bounds (tuned against headless renders) — one place to dial */
  --scr-x: 20.5%;
  --scr-y: 6.5%;
  --scr-w: 59.5%;
  --scr-h: 60.5%;
  /* projector lens position + beam tilt (tune-live against the plate) */
  --beam-x: 87.4%;
  --beam-y: 55.6%;
  --beam-angle: -29deg;
}
.theater-plate {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.theater-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 82% 72% at 50% 40%, transparent 52%, rgba(5,4,8,0.5) 100%);
}

/* the projected screen — our canvas (tunable to the plate) */
/* soft light spill where the projector hits the screen (sits behind the screen) */
.screen-spill {
  position: absolute;
  left: calc(var(--scr-x, 27%) - 5%);
  top: calc(var(--scr-y, 8%) - 4%);
  width: calc(var(--scr-w, 49%) + 10%);
  height: calc(var(--scr-h, 42%) + 8%);
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(ellipse 58% 58% at 50% 46%, rgba(130,130,160,0.09) 0%, transparent 72%);
  mix-blend-mode: screen;
  animation: spill-breathe 7.5s ease-in-out infinite;   /* screen light washing the room, breathing */
}
@keyframes spill-breathe { 0%, 100% { opacity: 0.9; } 50% { opacity: 1.15; } }

/* ===================================================================
   THE PROJECTOR — living light. Amplifies the plate's REAL beam:
   a soft volumetric haze that flickers + sways, a pulsing lens glow,
   and dust drifting down the cone toward the screen; plus the table
   candle's faint flicker. All screen-blended, UNDER the screen (z5).
   Tune-live: --beam-x / --beam-y / --beam-angle on .theater.
   =================================================================== */
.projector { position: absolute; inset: 0; z-index: 5; pointer-events: none; }

.beam-haze {
  position: absolute; left: var(--beam-x); top: var(--beam-y);
  width: 30%; height: 12%;
  transform: translate(-92%, -50%) rotate(var(--beam-angle));
  transform-origin: 100% 50%;
  background: radial-gradient(ellipse 52% 50% at 90% 50%,
              rgba(178,200,232,0.40) 0%, rgba(150,176,214,0.15) 40%, transparent 74%);
  filter: blur(10px);
  mix-blend-mode: screen;
  animation: beam-live 6.5s ease-in-out infinite;
}
.lens-glow {
  position: absolute; left: var(--beam-x); top: var(--beam-y);
  width: 26px; height: 26px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(216,230,255,0.92) 0%, rgba(172,198,238,0.34) 42%, transparent 72%);
  mix-blend-mode: screen;
  animation: lens-flicker 2.7s steps(1, end) infinite;
}
.mote {
  position: absolute; left: var(--beam-x); top: var(--beam-y);
  width: 3px; height: 3px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220,232,255,0.85), transparent 70%);
  mix-blend-mode: screen; opacity: 0;
  animation: mote-drift 9s linear infinite;
}
.mote.m2 { animation-duration: 11s; animation-delay: -3s; }
.mote.m3 { animation-duration: 13s; animation-delay: -6s; }
.mote.m4 { animation-duration: 10s; animation-delay: -8s; }

.candle-flicker {
  position: absolute; left: 70.2%; top: 83.4%;
  width: 44px; height: 64px; transform: translate(-50%, -62%);
  z-index: 5; pointer-events: none;
  background: radial-gradient(ellipse 42% 52% at 50% 50%, rgba(255,190,120,0.5) 0%, rgba(255,168,86,0.13) 46%, transparent 72%);
  mix-blend-mode: screen;
  animation: candle 1.9s ease-in-out infinite;
}

@keyframes beam-live {
  0%, 100% { opacity: 0.32; transform: translate(-92%, -50%) rotate(var(--beam-angle)); }
  45%      { opacity: 0.50; transform: translate(-92%, -50%) rotate(calc(var(--beam-angle) - 0.8deg)); }
  72%      { opacity: 0.40; transform: translate(-92%, -50%) rotate(calc(var(--beam-angle) + 0.6deg)); }
}
@keyframes lens-flicker {
  0%, 100% { opacity: 0.92; } 50% { opacity: 0.72; } 53% { opacity: 1; } 56% { opacity: 0.82; } 80% { opacity: 0.96; }
}
@keyframes mote-drift {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(var(--beam-angle)) translateX(0); }
  12%  { opacity: 0.85; }
  88%  { opacity: 0.5; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--beam-angle)) translateX(-330px); }
}
@keyframes candle {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -62%) scale(1); }
  40%      { opacity: 1;    transform: translate(-50%, -63%) scale(1.05); }
  70%      { opacity: 0.7;  transform: translate(-50%, -62%) scale(0.97); }
}

/* THE SCREEN — the only media surface. Reel + text are clipped INSIDE it.
   No card: the dark center is a soft radial that fades out before the edges,
   so there is no rectangle floating in front of the room. */
.screen {
  position: absolute;
  left: var(--scr-x, 27%);
  top: var(--scr-y, 8%);
  width: var(--scr-w, 49%);
  height: var(--scr-h, 42%);
  z-index: 20;          /* SANDWICH layer 2 — media screen (sits BEHIND her silhouette) */
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  overflow: hidden;   /* COVER-FILL: clip the reel to the exact screen rectangle */
  animation: screen-flicker 5.5s ease-in-out infinite;
}

/* SANDWICH layer 3 — LeDiedra's silhouette, cut out and floated in FRONT so the
   screen media slides BEHIND her (matches Roll Credits.png). Drop a full-frame
   transparent PNG here (only her + arm + chair opaque); it aligns to the plate. */
.theater-fg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 30;
  pointer-events: none;
}

/* projected light the screen "catches" */
.screen-wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 72% 70% at 50% 42%, rgba(150,152,176,0.10) 0%, transparent 70%);
  mix-blend-mode: screen;
}
/* credits ↔ reel switch — low-profile, sits just under the screen */
.reel-toggle {
  position: absolute;
  left: 50%;
  top: calc(var(--scr-y) + var(--scr-h) + 2.5%);
  transform: translateX(-50%);
  z-index: 20;
  display: inline-flex; align-items: center;
  padding: 9px 22px;
  border: 1px solid rgba(194,178,157,0.28);
  border-radius: 999px;
  background: rgba(10,8,8,0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--bone-dim);
  font-family: 'Archivo', sans-serif; font-weight: 500;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.reel-toggle:hover {
  color: var(--bone);
  border-color: rgba(194,178,157,0.55);
  background: rgba(20,16,14,0.6);
}

/* the channel media — each video/still that plays on the screen (cover-fills the rect).
   The ONLY thing bound to the media itself is the warm color grade. ALL edge/texture
   treatment (vignette, grain, blend) lives on the .screen PARENT, so any aspect ratio —
   vertical, square, odd — fades into the screen shadow instead of a hard digital edge. */
.reel {
  position: absolute;
  inset: 0;
  z-index: 1;                 /* always UNDER the grain (z2) + vignette (z3) overlays */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;   /* frame the crop on the eye / makeup work */
  display: block;
  opacity: 1;
  transition: opacity 600ms var(--ease, ease);
  /* sit it INTO the dim warm room — not a bright monitor pasted on the wall */
  filter: brightness(0.9) contrast(1.04) saturate(0.96) sepia(0.05);
}
/* crossfade: new clip enters from transparent, outgoing clip leaves to transparent */
.reel--enter, .reel--leave { opacity: 0; }
/* stills get a slow Ken Burns drift so a frozen frame still feels alive on the channel */
.reel--still { animation: kenburns 14s ease-out forwards; transform-origin: 50% 42%; }
@keyframes kenburns {
  from { transform: scale(1.001); }
  to   { transform: scale(1.085); }
}
/* projector vignette — PARENT-bound so EVERY channel item (any aspect) falls off into
   the screen surface with no hard edge: radial center + top/bottom + left/right feather. */
.screen::after {
  content: "";
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(ellipse 86% 84% at 50% 44%, transparent 58%, rgba(6,5,9,0.55) 100%),
    linear-gradient(to bottom, rgba(6,5,9,0.28) 0%, transparent 16%, transparent 84%, rgba(6,5,9,0.34) 100%),
    linear-gradient(to right, rgba(6,5,9,0.30) 0%, transparent 12%, transparent 88%, rgba(6,5,9,0.30) 100%);
  mix-blend-mode: multiply;
}

/* faint film grain / scanlines on the projection */
.screen-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(244,241,236,0.04) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen; opacity: 0.42;
}
/* projected text — lower contrast, soft, blends with the screen (not digital UI) */
.screen .cw {
  position: relative; z-index: 3;
  opacity: 0.95;
  /* projector realism: the text emanates light onto the screen, not a flat UI overlay */
  filter: contrast(1.04) brightness(0.97) drop-shadow(0 0 14px rgba(180,180,210,0.12));
  mix-blend-mode: screen;
}
/* STATE MACHINE: the screen shows EITHER the credits OR the reel, never both */
.screen[data-view="credits"] .reel { display: none; }
.screen[data-view="reel"] .cw { display: none; }

@keyframes screen-flicker {
  0%, 100% { filter: brightness(1); }
  48% { filter: brightness(1.04); }
  50% { filter: brightness(0.97); }
  52% { filter: brightness(1.03); }
}
.cw {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;   /* spread header / grid / footer to fill the screen */
  align-items: center;
  text-align: center;
  filter: drop-shadow(0 0 14px rgba(160,180,220,0.10));
}
.cw-eyebrow {
  font-family: 'Archivo', sans-serif; font-weight: 500;
  font-size: clamp(8px, 0.82vw, 13px); letter-spacing: 0.34em; text-transform: uppercase;
  color: #c2b29d;
}
.cw-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(26px, 3.1vw, 46px); line-height: 1; color: var(--bone);
}
.cw-meta {
  font-family: 'Archivo', sans-serif; font-weight: 300;
  font-size: clamp(8px, 0.74vw, 12px); letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bone-dim);
}
.cw-networks {
  max-width: 96%;
  font-family: 'Archivo', sans-serif; font-weight: 500;
  font-size: clamp(8px, 0.84vw, 13px); letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(194,178,157,0.80); line-height: 1.95;
}
.cw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(7px, 1.0vw, 14px);
  width: 100%; margin: clamp(4px, 1vh, 12px) 0;
}
.cw-card {
  border: 1px solid rgba(244,241,236,0.06);
  background: rgba(244,241,236,0.025);
  padding: clamp(11px, 2.0vh, 24px) 8px;
  display: grid; gap: 3px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
/* State 2: hover illuminates the cell like a glowing projection panel */
.cw-card:hover {
  border-color: rgba(194,178,157,0.45);
  background: rgba(244,241,236,0.06);
  box-shadow: 0 0 22px rgba(194,178,157,0.14);
}
.cw-card b {
  font-family: 'Archivo', sans-serif; font-weight: 500;
  font-size: clamp(11px, 1.0vw, 15px); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone);
}
.cw-card span {
  font-family: 'Archivo', sans-serif; font-weight: 300;
  font-size: clamp(7px, 0.64vw, 10px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-faint);
}
.cw-legacy {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500;
  font-size: clamp(15px, 1.7vw, 24px); color: var(--bone);
}
.cw-speaks {
  font-family: 'Archivo', sans-serif; font-weight: 500;
  font-size: clamp(8px, 0.74vw, 11px); letter-spacing: 0.32em; text-transform: uppercase; color: #c2b29d;
}
.cw-credit {
  font-family: 'Archivo', sans-serif; font-weight: 300;
  font-size: clamp(7px, 0.62vw, 10px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-faint);
}

/* return-to-set cue */
.return-cue {
  position: absolute; left: var(--gutter); bottom: 30px; z-index: 50;
  font-family: 'Archivo', sans-serif; font-weight: 500;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dim);
}
.return-cue:hover { color: var(--bone); }

/* ===================================================================
   THE REMOTE — always-on filmstrip. Surf the channel.
   UI layer (z50): sits over the lower velvet, above her silhouette.
   Placement is the one tune-live dial — nudge --remote-bottom against a
   headless render, the same way the screen rect was dialed in.
   =================================================================== */
.remote {
  position: absolute;
  left: 50%;
  bottom: var(--remote-bottom, 4.5%);
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: clamp(8px, 0.8vw, 14px);
  max-width: min(86%, 760px);
  padding: clamp(7px, 0.7vw, 11px) clamp(9px, 0.9vw, 14px);
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 12px;
  border: 1px solid rgba(194,178,157,0.20);
  background: rgba(10,8,8,0.42);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 10px 34px rgba(0,0,0,0.42);
}
.remote::-webkit-scrollbar { display: none; }
.remote[hidden] { display: none; }

/* each thumbnail = a real frame from the media (video poster / the still itself) */
.remote-item {
  flex: 0 0 auto;
  position: relative;
  width: clamp(74px, 8vw, 104px);
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid rgba(194,178,157,0.22);
  border-radius: 7px;
  background: #0c0a0a;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.62;
  filter: grayscale(0.18) brightness(0.92);
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease), filter 0.25s var(--ease), transform 0.25s var(--ease);
}
.remote-item:hover {
  opacity: 0.92;
  border-color: rgba(194,178,157,0.5);
  transform: translateY(-2px);
}
.remote-item.is-active {
  opacity: 1;
  filter: none;
  border-color: rgba(194,178,157,0.85);
  box-shadow: 0 0 0 1px rgba(194,178,157,0.5), 0 0 20px rgba(194,178,157,0.22);
}
.remote-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.remote-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 6px 4px;
  font-family: 'Archivo', sans-serif; font-weight: 500;
  font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone);
  text-align: left;
  background: linear-gradient(to top, rgba(6,5,9,0.82) 0%, transparent 100%);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.remote-item:hover .remote-cap,
.remote-item.is-active .remote-cap { opacity: 1; }

@media (max-width: 720px) {
  .screen { --scr-x: 14%; --scr-y: 13%; --scr-w: 72%; --scr-h: 34%; padding: 3% 4%; }
  .cw-grid { grid-template-columns: repeat(2, 1fr); }
  .cw { gap: 8px; }
  .remote { bottom: var(--remote-bottom, 3%); max-width: 92%; gap: 7px; }
  .remote-item { width: 62px; }
}
