/* =========================================================
   WOP WATSON · FEELING ME: scroll-played film
   ========================================================= */

:root {
  --red: #ef1a10;
  --red-hot: #ff3b2f;
  --red-deep: #5e0000;
  --black: #060606;
  --ink: #0b0b0b;
  --bone: #f3ede7;
  --mute: #a39b95;
  --line: rgba(243, 237, 231, 0.16);

  --display: "Anybody", "Arial Black", Impact, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --units: 15;           /* scroll length of the film, in screens */
  --pad: clamp(14px, 2.4vw, 32px);
  --hdr: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--black);
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.is-gated body { overflow: hidden; }

img, video, svg, canvas { display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--red); color: var(--black); }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

.mono { font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.i { width: 1em; height: 1em; fill: currentColor; flex: none; }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 400;
  padding: 0.8em 1.2em; background: var(--red); color: var(--black);
  font-weight: 700; text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- marks, pills, equaliser ---------- */

.mark {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px;
  background: var(--red); color: var(--black);
  font: 900 18px/1 var(--display); font-variation-settings: "wdth" 120, "wght" 900;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.mark--lg { width: 52px; height: 52px; font-size: 28px; }

.pill {
  --bg: transparent; --fg: var(--bone); --bd: rgba(243, 237, 231, 0.42);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  padding: 0.95em 1.5em;
  border: 1px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s, scale 0.4s var(--ease);
}
.pill:hover { --bg: var(--bone); --fg: var(--black); --bd: var(--bone); }
.pill:active { scale: 0.97; }
.pill:disabled { opacity: 0.35; cursor: default; }
.pill--red { --bg: var(--red); --fg: var(--black); --bd: var(--red); }
.pill--bone { --bg: var(--bone); --fg: var(--black); --bd: var(--bone); }
.pill--bone:hover { --bg: var(--red); --bd: var(--red); }
.pill--sm { padding: 0.75em 1.2em; font-size: 11px; }
.pill--lg { padding: 1.2em 2.1em; font-size: 13px; }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.spk { width: 16px; height: 16px; fill: currentColor; }
.hdr__sound .eq { display: none; }
.hdr__sound[aria-pressed="true"] .eq { display: inline-flex; }
.hdr__sound[aria-pressed="true"] .spk { display: none; }
.eq i {
  width: 2px; height: 100%; background: currentColor;
  transform-origin: 50% 100%; transform: scaleY(0.25);
}
.eq.is-on i { animation: eq 0.9s ease-in-out infinite alternate; }
.eq.is-on i:nth-child(2) { animation-duration: 0.6s; }
.eq.is-on i:nth-child(3) { animation-duration: 0.75s; }
.eq.is-on i:nth-child(4) { animation-duration: 0.5s; }
@keyframes eq { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }

/* =========================================================
   GATE
   ========================================================= */

.gate {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--black);
  overflow: hidden;
}
.no-js .gate { display: none; }
.gate__film {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.2;
  filter: grayscale(1) sepia(1) saturate(7) hue-rotate(-38deg) brightness(0.75) contrast(1.2);
}
.gate__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 12) calc(100% / 8);
  opacity: 0.18;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.gate__inner {
  position: relative;
  display: grid; justify-items: center; gap: 22px;
  width: min(92vw, 1100px);
  text-align: center;
}
.gate__eyebrow { color: var(--mute); font-size: 11px; }
.gate__eyebrow i { color: var(--red); font-style: normal; }
.gate__name {
  display: flex; justify-content: center;
  color: var(--bone);
  font-family: var(--display);
  font-size: min(8vw, 132px);
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
}
.gate__name .L { display: inline-block; overflow: hidden; padding: 0.06em 0; }
.gate__name .Li { display: inline-block; font-variation-settings: "wdth" 150, "wght" 100; }
.gate__name .L.is-sp { width: 0.32em; }
.gate__meter {
  width: min(420px, 70vw); height: 1px;
  background: rgba(243, 237, 231, 0.18);
  overflow: hidden;
}
.gate__meter span {
  display: block; height: 100%;
  background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%;
}
.gate__count { font-size: 12px; color: var(--mute); }
.gate__count span:first-child { color: var(--bone); font-variant-numeric: tabular-nums; }
.gate__count i { color: var(--red); font-style: normal; margin-right: 0.8em; }
.gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.gate__hint { color: var(--mute); font-size: 10.5px; opacity: 0.7; }

/* =========================================================
   HEADER
   ========================================================= */

.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: var(--hdr);
  padding: 0 var(--pad);
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr::before {
  content: ""; position: absolute; inset: 0 0 -30px; z-index: -1;
  background: linear-gradient(rgba(6, 6, 6, 0.72), rgba(6, 6, 6, 0));
  pointer-events: none;
}
.hdr__brand {
  display: inline-flex; align-items: center; gap: 12px; justify-self: start;
  text-decoration: none;
}
.hdr__name {
  font: 900 20px/1 var(--display);
  font-variation-settings: "wdth" 150, "wght" 900;
  letter-spacing: 0.01em; text-transform: uppercase;
}
.hdr__chapter {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; color: var(--mute);
}
.hdr__chapter b { color: var(--red); font-weight: 700; }
.hdr__chapter span { color: var(--bone); min-width: 11ch; }
.hdr__right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hdr__sound {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0.75em 1.1em;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(6, 6, 6, 0.35);
  font-size: 11px; cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.hdr__sound:hover { border-color: var(--bone); }
.hdr__sound[aria-pressed="true"] { color: var(--red-hot); border-color: rgba(239, 26, 16, 0.6); }

/* =========================================================
   FILM STAGE
   ========================================================= */

.scroll { position: relative; height: calc(var(--units) * 100vh); height: calc(var(--units) * 100svh); }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}
.stage > * { position: absolute; }

.film, .cut { inset: 0; width: 100%; height: 100%; }
.film { z-index: 1; }
.cut { z-index: 3; pointer-events: none; }

/* ---------- the name ---------- */

.name {
  z-index: 2; inset: 0;
  pointer-events: none;
  perspective: 900px;
}
.name__h {
  position: absolute; inset: calc(var(--hdr) + 1.5vh) 0 7vh;
  display: flex; flex-direction: column;
  font-weight: 400;
}
.name__h--top { justify-content: flex-start; }
.name--hero .name__h--top { top: calc(var(--hdr) + 1.5vh + 80px); }
.name__h--bottom { justify-content: flex-end; }
.name--front { z-index: 4; }
.name--front .name__line { text-shadow: 0 18px 60px rgba(0, 0, 0, 0.35); }
.name__line {
  display: flex; justify-content: center;
  color: var(--red);
  font-family: var(--display);
  font-size: 24vw;
  line-height: 0.74;
  text-transform: uppercase;
  white-space: nowrap;
  transform-style: preserve-3d;
}
.name__line .L { display: inline-block; transform-style: preserve-3d; will-change: transform; }
.name__line .Li {
  display: inline-block;
  font-variation-settings: "wdth" 100, "wght" 900;
  transform-origin: 50% 80%;
  will-change: transform;
}
.name__line .L.is-sp { width: 0.25em; }
.name--outro { visibility: hidden; }

/* the ring of letters orbiting his head */
.ring { inset: 0; pointer-events: none; visibility: hidden; perspective: 1200px; }
.ring--back { z-index: 2; }
.ring--front { z-index: 4; }
.ring span {
  position: absolute; left: 0; top: 0;
  font-family: var(--display); font-weight: 900; line-height: 1;
  font-variation-settings: "wdth" 115, "wght" 900;
  color: var(--red);
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: visible;
}
.ring--back span { color: #9e0e08; }
.ring--front span { text-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); }

.front {
  z-index: 4;
  left: auto; right: 5vw; top: 44%;
  color: var(--bone);
  font-size: clamp(64px, 11vw, 190px);
  line-height: 1;
  text-align: center;
  text-shadow: 0 10px 50px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  white-space: nowrap;
  /* the intro uses --in, the scroll uses transform/opacity, so they never fight */
  filter: opacity(var(--in, 1));
  translate: 0 calc((1 - var(--in, 1)) * 70px);
}
.front--outro {
  visibility: hidden;
  top: auto; bottom: calc(var(--pad) + 270px);
  font-size: clamp(54px, 7vw, 120px);
}

/* ---------- dive through the O ---------- */

.dive { z-index: 5; inset: 0; width: 100%; height: 100%; visibility: hidden; pointer-events: none; }

/* ---------- chapters ---------- */

.ch {
  z-index: 6; inset: 0;
  visibility: hidden;
  pointer-events: none;
}
.ch a, .ch button, .ch .card { pointer-events: auto; }

/* 01 · title */
.ch--title { display: grid; place-items: center; }
.title { position: relative; display: grid; place-items: center; will-change: transform; }
.title__h { position: relative; display: grid; place-items: center; font-weight: 400; }
.title__word {
  display: flex;
  color: var(--bone);
  font-family: var(--display);
  font-size: 13.6vw;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  perspective: 1000px;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}
.title__word .L { display: inline-block; will-change: transform; }
.title__word .Li { display: inline-block; font-variation-settings: "wdth" 150, "wght" 900; }
.title__me {
  position: absolute; right: -2vw; bottom: -0.5em;
  color: var(--red);
  font-size: 22vw;
  line-height: 0.6;
  text-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}
.title__meta {
  visibility: hidden; /* shown by the timeline once the title has landed */
  position: absolute; left: var(--pad); bottom: calc(var(--pad) + 46px);
  display: grid; gap: 6px;
  font-size: 11px; color: var(--bone);
}
.title__meta p:first-child { color: var(--bone); }
.title__cta { position: absolute; right: var(--pad); bottom: calc(var(--pad) + 40px); }


/* 03 · room (positions come from the portrait frame: --card-x/y/w/h, set in JS) */
.room__side {
  position: absolute;
  top: calc(var(--card-y, 10vh) + var(--card-h, 80vh) / 2);
  display: flex;
  writing-mode: vertical-rl;
  color: var(--bone);
  font-family: var(--display);
  font-size: calc(var(--card-h, 80vh) / 6);
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
}
.room__side .L, .room__side .Li { display: inline-block; }
.room__side .Li { font-variation-settings: "wdth" 100, "wght" 900; }
.room__side .L.is-sp { height: 0.24em; }
/* placed beside the frame in JS (GSAP owns transform); the left word is turned 180° by the timeline */
.room__side--r { color: var(--red); }
.room__side { justify-content: center; }
.room__frame {
  position: absolute;
  left: var(--card-x, 30vw); top: var(--card-y, 10vh);
  width: var(--card-w, 40vw); height: var(--card-h, 80vh);
  pointer-events: none;
}
.room__frame i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--bone); }
.room__frame i:nth-child(1) { left: -12px; top: -12px; border-top-width: 2px; border-left-width: 2px; }
.room__frame i:nth-child(2) { right: -12px; top: -12px; border-top-width: 2px; border-right-width: 2px; }
.room__frame i:nth-child(3) { left: -12px; bottom: -12px; border-bottom-width: 2px; border-left-width: 2px; }
.room__frame i:nth-child(4) { right: -12px; bottom: -12px; border-bottom-width: 2px; border-right-width: 2px; }
.room__frame span {
  position: absolute; left: 0; bottom: calc(100% + 16px);
  font-size: 10px; color: var(--bone); white-space: nowrap;
}
.room__frame span::before { content: "● "; color: var(--red-hot); }
.room__info {
  position: absolute; left: var(--pad); bottom: calc(var(--pad) + 48px);
  justify-items: start !important; text-align: left !important; translate: none !important;
  max-width: 22vw; width: auto;
  display: grid; justify-items: center; gap: 12px;
  width: max-content; max-width: 92vw;
  translate: -50% 0;
  text-align: center;
}
.room__serif { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; color: var(--bone); }
.room__info .mono { font-size: 10.5px; color: var(--mute); }

/* 04 · more */
.tape {
  position: absolute;
  left: -10vw; right: -10vw;
  overflow: hidden;
  padding: 0.18em 0;
  font-family: var(--display);
  font-size: min(9vw, 120px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.tape p { display: inline-block; font-variation-settings: "wdth" 150, "wght" 900; will-change: transform; }
.tape--a { top: 27%; background: var(--red); color: var(--black); rotate: -4deg; }
.tape--b { top: 60%; color: transparent; -webkit-text-stroke: 1.5px var(--bone); rotate: 4deg; }

.card {
  position: absolute; top: 50%;
  width: min(23vw, 300px, 38vh);
  translate: 0 -50%;
}
.card--a { left: 12vw; }
.card--b { right: 12vw; }
.card__media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0; border: 2px solid var(--red); border-radius: 4px;
  overflow: hidden; background: #000; cursor: pointer;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__play {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: var(--red); color: var(--black); font-size: 22px;
  transition: scale 0.4s var(--ease), background-color 0.3s;
}
.card__media:hover .card__play { scale: 1.12; background: var(--bone); }
.card__rec {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.4em 0.6em; background: rgba(6, 6, 6, 0.6); font-size: 10px;
}
.card__rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hot); animation: blink 1.1s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.card__num { margin-top: 14px; font-size: 12px; color: var(--bone); }
.card__title {
  margin-top: 4px;
  font: 900 clamp(26px, 2.6vw, 40px)/0.95 var(--display);
  font-variation-settings: "wdth" 130, "wght" 900;
  text-transform: uppercase;
}
.card__meta { margin-top: 6px; font-size: 12px; color: rgba(243, 237, 231, 0.8); white-space: nowrap; }

/* 05 · booking */
.ch--book { display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; }
.book__eyebrow { font-size: 11px; color: var(--bone); }
.book__h { display: grid; justify-items: center; font-weight: 400; }
.book__row {
  display: block; overflow: hidden;
  font-family: var(--display);
  font-size: min(11.5vw, 15vh);
  line-height: 0.84;
  text-transform: uppercase;
  white-space: nowrap;
}
.book__row > span { display: inline-block; font-variation-settings: "wdth" var(--wd, 150), "wght" 900; }
.book__row:nth-child(2) { font-size: min(8.1vw, 12vh); }
.book__row:nth-child(2) > span { transform-origin: 50% 0; }
.book__row--serif { font-size: min(10vw, 14vh); line-height: 1; color: var(--bone); }
.book__row--serif > span { font-variation-settings: normal; padding: 0 0.1em 0.08em; }

/* 06 · footer */
.ch--foot { display: flex; flex-direction: column; justify-content: flex-end; }
.foot__inner {
  display: grid; grid-template-columns: 1.6fr repeat(2, 1fr); gap: 28px;
  margin: 0 var(--pad);
  padding: 30px 30px 26px;
  border: 1px solid var(--line); border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: rgba(6, 6, 6, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}
.foot__brand { display: grid; align-content: start; gap: 12px; }
.foot__sig { color: var(--red); font-size: clamp(40px, 4vw, 64px); line-height: 1; }
.foot__col h3 { margin-bottom: 14px; font-size: 10.5px; font-weight: 500; color: var(--red-hot); }
.foot__col ul { display: grid; gap: 9px; }
.foot__col a, .foot__col button {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 15px/1.2 var(--display); font-variation-settings: "wdth" 115, "wght" 600;
  text-transform: uppercase; text-decoration: none;
  transition: color 0.3s, letter-spacing 0.4s var(--ease);
}
.foot__col a:hover, .foot__col button:hover { color: var(--red-hot); letter-spacing: 0.04em; }
.foot__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 22px;
  margin: 0 var(--pad);
  padding: 14px 30px calc(14px + env(safe-area-inset-bottom));
  border: 1px solid var(--line); border-top-color: rgba(243, 237, 231, 0.08);
  background: rgba(6, 6, 6, 0.86);
  font-size: 10.5px; color: var(--mute);
}
.foot__bar a { color: var(--bone); text-decoration: none; }
.foot__bar a:hover { color: var(--red-hot); }
.foot__replay { color: var(--bone) !important; }
.foot__col--film { display: none; }

/* ---------- HUD + finish ---------- */

.hud {
  z-index: 7; inset: 0; pointer-events: none;
  font-size: 11px; color: rgba(243, 237, 231, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.5);
}
.hud__c { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(243, 237, 231, 0.55); }
.hud__c--tl { top: calc(var(--hdr) + 6px); left: var(--pad); border-top-width: 1px; border-left-width: 1px; }
.hud__c--tr { top: calc(var(--hdr) + 6px); right: var(--pad); border-top-width: 1px; border-right-width: 1px; }
.hud__c--bl { bottom: var(--pad); left: var(--pad); border-bottom-width: 1px; border-left-width: 1px; }
.hud__c--br { bottom: var(--pad); right: var(--pad); border-bottom-width: 1px; border-right-width: 1px; }
.hud__frame { position: absolute; left: calc(var(--pad) + 30px); bottom: calc(var(--pad) - 2px); font-variant-numeric: tabular-nums; }
.hud__frame b { color: var(--red-hot); font-weight: 500; margin-right: 0.3em; }
.hud__frame b + span { margin-right: 1.4em; }
.hud__rec { position: absolute; right: calc(var(--pad) + 30px); top: calc(var(--hdr) + 10px); display: flex; align-items: center; gap: 8px; }
.hud__rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hot); animation: blink 1.1s steps(2, jump-none) infinite; }
.hud__prog {
  position: absolute; right: calc(var(--pad) + 30px); bottom: calc(var(--pad) + 3px);
  width: min(260px, 30vw); height: 1px; background: rgba(243, 237, 231, 0.2);
}
.hud__prog > span { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.hud__prog ol { position: absolute; inset: 0; }
.hud__prog li { position: absolute; top: -3px; width: 1px; height: 7px; background: rgba(243, 237, 231, 0.6); }
.hud__scroll {
  position: absolute; left: 50%; bottom: 96px;
  font-size: 12px; color: rgba(243, 237, 231, 0.9);
  display: flex; align-items: center; gap: 10px;
  translate: -50% 0;
}
.hud__scroll i { position: relative; width: 1px; height: 26px; overflow: hidden; background: rgba(243, 237, 231, 0.25); }
.hud__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--red);
  animation: drip 1.6s var(--ease) infinite;
}
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

.fx { inset: 0; pointer-events: none; }
.fx--vignette {
  z-index: 8;
  background: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
.fx--grain {
  z-index: 9; inset: -50%;
  opacity: 0.09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.8s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 4%); }
  50% { transform: translate(4%, -2%); }
  75% { transform: translate(-5%, -4%); }
  100% { transform: translate(0, 0); }
}

/* =========================================================
   PLAYER
   ========================================================= */

.player {
  width: min(94vw, 560px, (94vh - 4.5rem) * 0.5625);
  max-height: 94vh;
  padding: 0; border: 0;
  background: transparent; color: var(--bone);
  overflow: visible;
}
.player::backdrop { background: rgba(6, 6, 6, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.player[open] { animation: player-in 0.5s var(--ease); }
@keyframes player-in { from { opacity: 0; translate: 0 26px; } }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.player__title {
  font: 900 24px/1 var(--display); font-variation-settings: "wdth" 150, "wght" 900;
  text-transform: uppercase;
}
.player__close {
  padding: 0.7em 1em; border: 1px solid var(--line); border-radius: 999px;
  background: none; font-size: 11px; cursor: pointer;
}
.player__close:hover { background: var(--red); border-color: var(--red); color: var(--black); }
.player__video { width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: 18px; box-shadow: 0 30px 120px rgba(239, 26, 16, 0.28); }

/* =========================================================
   CURSOR
   ========================================================= */

.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--red); }
.cursor__ring {
  display: grid; place-items: center;
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(243, 237, 231, 0.6);
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.3s, border-color 0.3s;
}
.cursor__ring b { font: 700 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity 0.2s; }
.cursor.is-hover .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--bone); border-color: var(--bone); }
.cursor.is-hover .cursor__ring b { opacity: 1; }
.cursor.is-hover .cursor__dot { opacity: 0; }

/* =========================================================
   SMALL SCREENS
   ========================================================= */

/* phones held sideways get the desktop layout (plus the short-screen fixes below) */
@media (max-width: 860px) and (orientation: portrait), (max-width: 560px) {
  :root { --hdr: 60px; }
  .hdr { grid-template-columns: auto 1fr auto; }
  .hdr__name { display: none; }
  .hdr__chapter { justify-self: center; font-size: 10px; }
  .hdr__chapter span { min-width: 0; }
  .hdr__sound, .hdr__right .pill { min-height: 44px; }
  .hdr__sound { padding: 0 12px; }
  .hdr__sound span:last-child { display: none; }
  .hdr__sound { width: 44px; justify-content: center; }
  .hdr__right { gap: 6px; }
  .hdr__chapter { font-size: 11px; gap: 6px; color: rgba(243, 237, 231, 0.9); }
  .hud__scroll { left: 16px; bottom: 170px; translate: none; writing-mode: vertical-rl; }
  .name__h--top, .name--hero .name__h--top { top: calc(var(--hdr) + 4px); }
  .name--hero .name__h--bottom { bottom: calc(7vh + 100px); }
  .title__cta { min-height: 52px; bottom: calc(var(--pad) + 150px) !important; }
  .title__meta { bottom: calc(var(--pad) + 214px) !important; }
  .foot__bar { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .foot__bar a { color: var(--bone) !important; font-size: 12px; }
  .foot__col ul { row-gap: 0; }
  .foot__col a, .foot__col button { min-height: 44px; display: inline-flex; align-items: center; }
  .foot__col ul { gap: 0 18px; }
  .hud__rec, .hud__prog ol { display: none; }
  .hud__prog { width: 28vw; }

  .front { left: 0; right: 0; top: 62%; text-align: center; }
  .room__info { left: 50%; right: auto; bottom: auto; top: calc(var(--card-y, 10vh) + var(--card-h, 80vh) + 18px); justify-items: center !important; text-align: center !important; translate: none !important; max-width: none; left: 4vw !important; right: 4vw !important; width: auto; }
  .name__h { inset: calc(var(--hdr) + 12vh) 0 calc(7vh + 70px); }
  .title__cta { bottom: calc(var(--pad) + 110px); }
  .title__meta { bottom: calc(var(--pad) + 176px); }
  .front--outro { bottom: calc(var(--pad) + 330px); }

  .title__word { font-size: 14.4vw; }
  .title__me { font-size: 30vw; right: 2vw; bottom: -0.75em; }
  .title__meta { bottom: calc(var(--pad) + 108px); }
  .title__cta { left: var(--pad); right: var(--pad); bottom: calc(var(--pad) + 40px); }


  .tape { font-size: 13vw; }
  .tape--a { top: 19%; }
  .tape--b { top: 78%; }
  .card { width: min(40vw, 30vh); }
  .card--a { left: 6vw; top: 48%; }
  .card--b { right: 6vw; top: 54%; }
  .card__title { font-size: 20px; }
  .card__meta { white-space: normal; font-size: 10.5px; }
  .card__num { font-size: 10.5px; }

  .room__side { font-size: calc(var(--card-h, 60vh) / 11.5); }

  .foot__inner { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px 12px; }
  .foot__col ul { display: grid; grid-template-columns: 1fr 1fr; }
  .foot__brand { display: flex; align-items: center; gap: 12px; }
  .foot__sig { font-size: 34px; }
  .foot__col h3 { margin-bottom: 6px; }
  .foot__col ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .foot__col a, .foot__col button { font-size: 13px; }
  .foot__bar { padding-inline: 20px; }
}

/* phones held sideways: everything has to fit in ~400px of height */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --hdr: 52px; }
  .hdr__name { display: none; }
  .hdr__sound span:last-child { display: none; }
  .hud__rec, .hud__prog ol, .hud__scroll { display: none; }
  .title__word { font-size: min(13.6vw, 26vh); }
  .title__me { font-size: min(22vw, 42vh); }
  .title__meta { bottom: calc(var(--pad) + 30px); }
  .title__cta { bottom: calc(var(--pad) + 24px); }
  .front { font-size: min(11vw, 22vh); }
  .front--outro { display: none; }
  .room__info { bottom: calc(var(--pad) + 30px); max-width: 26vw; }
  .room__info .mono { display: none; }
  .room__serif { font-size: min(4.4vw, 10vh); }
  .card { width: min(23vw, 300px, 36vh); }
  .card__num, .card__meta { display: none; }
  .tape { font-size: min(9vw, 18vh); }
  .foot__inner { padding-block: 12px; gap: 18px; }
  .foot__col ul { gap: 4px; }
  .foot__sig { font-size: 32px; }
  .name--hero .name__h--top { top: calc(var(--hdr) + 4px); }
  .name--outro, .room__info, .room__frame span { display: none; }
}

/* short phones (SE, mini): a slimmer footer so the outro name still fits above it */
@media (orientation: portrait) and (max-height: 720px) {
  .foot__brand { display: none; }
  .foot__inner { padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx--grain, .hud__scroll i::after, .eq.is-on i, .card__rec i, .hud__rec i { animation: none; }
}

.noscript { position: fixed; inset: auto 0 0; z-index: 500; padding: 16px; background: var(--red); color: var(--black); text-align: center; }
