/* =========================================================================
   WORST DAY EVER — a MAMAWEDIDITFILMS film
   Design system: projection-booth dark, logo chrome + gold, film-craft motifs
   (slates, sprockets, tickets, timecode, end credits). Mobile-first.
   ========================================================================= */

/* Self-hosted fonts (SIL Open Font License) — no third-party font requests */
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-var.woff2') format('woff2-variations'), url('/assets/fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jetbrains-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jetbrains-mono-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #0a0a09;
  --ink-2: #111110;
  --ink-3: #191816;
  --paper: #efeae0;
  --paper-2: #e3dccd;
  --mute: #aaa498;
  --dim: #6e695f;
  --line: rgba(232, 230, 224, 0.12);
  --line-2: rgba(232, 230, 224, 0.24);
  --accent: #d4a050;          /* overridden from content/site.json */
  --accent-deep: color-mix(in srgb, var(--accent) 62%, #3a2608);
  --accent-ink: #140e05;
  --chrome: #e8e8e6;
  --lens: #8cc8f4;
  --tally: #ff4b3a;

  --f-disp: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(16px, 4.2vw, 56px);
  --maxw: 1320px;
  --header-h: 60px;
  --sec: clamp(76px, 12vw, 168px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);

  --chrome-grad: linear-gradient(180deg, #ffffff 0%, #e2e2df 30%, #9b9a96 49%, #5f5e5a 52%, #d9d9d5 64%, #ffffff 82%, #b9b8b3 100%);
}
@media (min-width: 900px) { :root { --header-h: 72px; } }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--f-disp); font-stretch: 100%; font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(780px + var(--gutter) * 2); }
.pad-b { padding-bottom: var(--sec); }
.pad-s { padding-block: 12px 28px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-disp); font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  line-height: 0.88; letter-spacing: -0.004em;
}
.display em, .sec-title em, .masthead__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em;
  color: var(--accent); font-stretch: 100%;
}
.mono { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.slate-label {
  display: inline-flex; align-items: center; gap: 0.75em; margin-bottom: 1.1rem;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute);
}
.slate-label::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.sec-title { font-size: clamp(2.9rem, 9vw, 7.25rem); margin-bottom: clamp(24px, 4vw, 48px); }
.sec-title em { font-size: 0.86em; }
.sec-head { margin-bottom: clamp(28px, 4vw, 56px); }
.sec-head .sec-title { margin-bottom: 0; }
.sec-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.sub-h { color: var(--mute); margin: 40px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.text-link {
  display: inline-flex; align-items: center; gap: 0.6em; margin-top: 28px;
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--paper);
  padding-bottom: 4px; background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat; transition: background-size 0.4s var(--ease), color 0.3s;
}
.text-link .icon { transition: transform 0.35s var(--ease); }
.text-link:hover { color: var(--accent); background-size: 40% 1px; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link--muted { color: var(--mute); background: none; }

/* Placeholders — loud on purpose so nothing ships unnoticed */
.ph {
  display: inline-block; font-family: var(--f-mono); font-size: max(0.72rem, 0.42em); font-weight: 500; font-style: normal;
  letter-spacing: 0.02em; text-transform: none; line-height: 1.35; font-stretch: 100%;
  color: #f0d39e; background: rgba(212, 160, 80, 0.09); border: 1px dashed rgba(212, 160, 80, 0.6); padding: 0.18em 0.5em; border-radius: 2px;
  vertical-align: middle;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.65em;
  min-height: var(--h); padding: 0 1.45em; border-radius: 2px; overflow: hidden; isolation: isolate;
  font-family: var(--f-disp); font-stretch: 100%; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.35s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after { /* light sweep */
  content: ''; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--gold { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(212, 160, 80, 0); }
.btn--gold:hover { box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--accent) 70%, transparent); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--paper); background: rgba(10, 10, 9, 0.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--sm { --h: 40px; padding: 0 1.1em; font-size: 0.72rem; }
.btn--lg { --h: 56px; font-size: 0.86rem; padding: 0 1.7em; }
.btn--xl { --h: 64px; font-size: 0.95rem; padding: 0 2em; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy='true'] { opacity: 0.6; pointer-events: none; }
.round-btn {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2);
  color: var(--paper); transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.round-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Film grain (fixed, GPU-cheap) ---------- */
.grain {
  position: fixed; inset: -60%; z-index: 90; pointer-events: none; opacity: 0.075;
  background: url('/assets/img/grain.png') repeat; animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-6%, 4%); } 33% { transform: translate(5%, -7%); }
  50% { transform: translate(-3%, 8%); } 67% { transform: translate(8%, 2%); } 83% { transform: translate(-7%, -4%); } 100% { transform: translate(0, 0); }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 200; padding: 12px 18px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Intro (first visit per session, ~1.4s, skippable) ---------- */
.intro { display: none; }
html.intro-on .intro {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: #000;
  animation: intro-out 0.55s var(--ease-io) 1.3s forwards; cursor: pointer;
}
html.intro-on .intro::before { content: ''; position: absolute; inset: 0; background: url('/assets/img/grain.png'); opacity: 0.16; animation: grain 0.6s steps(4) infinite; }
.intro__inner { position: relative; text-align: center; padding: 0 var(--gutter); }
.intro__kicker { color: var(--mute); opacity: 0; animation: fade-in 0.5s ease 0.1s forwards; }
.intro__title {
  margin-top: 14px; font-size: clamp(3.2rem, 15vw, 9rem); color: var(--chrome);
  letter-spacing: 0.5em; opacity: 0; filter: blur(8px); animation: intro-title 1.05s var(--ease) 0.2s forwards;
}
@keyframes intro-title { to { letter-spacing: 0.01em; opacity: 1; filter: blur(0); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes fade-in { to { opacity: 1; } }
html.intro-done .intro { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 80; height: var(--header-h);
  transition: background-color 0.4s, border-color 0.4s, transform 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled] { background: rgba(10, 10, 9, 0.84); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.site-header[data-hidden] { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 16px; padding-inline: var(--gutter); max-width: calc(1600px); margin-inline: auto; }
.brand { display: block; flex: none; margin-right: auto; }
.brand__mark { height: 24px; width: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)); }
@media (min-width: 900px) { .brand__mark { height: 30px; } }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.nav a {
  position: relative; text-decoration: none; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute);
  padding: 8px 0; transition: color 0.25s;
}
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.header-cta__long { display: none; }
@media (min-width: 640px) { .header-cta__long { display: inline; } .header-cta__short { display: none; } }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -8px; }
.menu-btn__bars { width: 22px; display: grid; gap: 6px; }
.menu-btn__bars span { height: 1.5px; background: var(--paper); transition: transform 0.35s var(--ease), width 0.35s var(--ease); }
.menu-btn__bars span:last-child { width: 14px; justify-self: end; }
.menu-btn:hover .menu-btn__bars span:last-child { width: 22px; }
@media (min-width: 1180px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .brand { margin-right: 0; }
  .nav { margin-inline: auto; }
}
.site-header--minimal .brand { margin-right: auto; }
.minimal-nav__back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--mute); }
.minimal-nav__back:hover { color: var(--accent); }

/* Mobile menu */
.mnav { position: fixed; inset: 0; z-index: 120; }
.mnav[hidden] { display: none; }
.mnav__bg { position: absolute; inset: 0; background: var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path 0.55s var(--ease-io); }
.mnav__bg::after { content: ''; position: absolute; inset: auto -20% -30% auto; width: 80vw; height: 80vw; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); }
.mnav.is-open .mnav__bg { clip-path: inset(0 0 0 0); }
.mnav__inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom)); overflow-y: auto; }
.mnav__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.mnav__close { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.mnav__list { margin: auto 0; padding-block: 24px; }
.mnav__list li { overflow: hidden; }
.mnav__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 4px 0; text-decoration: none;
  font-stretch: 62%; font-weight: 850; text-transform: uppercase; font-size: clamp(2rem, 9.5vw, 4.6rem); line-height: 1;
  transform: translateY(110%); transition: transform 0.6s var(--ease) calc(0.12s + var(--i) * 0.045s), color 0.25s;
}
.mnav__list a[aria-current='page'], .mnav__list a:hover { color: var(--accent); }
.mnav__num { font-family: var(--f-mono); font-size: 0.7rem; font-weight: 400; color: var(--mute); letter-spacing: 0.1em; }
.mnav.is-open .mnav__list a { transform: none; }
.mnav__cta, .mnav__foot { opacity: 0; transform: translateY(12px); transition: opacity 0.4s 0.45s, transform 0.5s var(--ease) 0.45s; }
.mnav.is-open .mnav__cta, .mnav.is-open .mnav__foot { opacity: 1; transform: none; }
.mnav__foot { margin-top: 18px; color: var(--dim); text-align: center; }
.mnav__top .brand__mark { height: 22px; }

/* ---------- Reveal system (JS adds .is-in) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal--clip { opacity: 1; transform: none; clip-path: inset(14% 0 14% 0); transition: clip-path 1.25s var(--ease-io); }
html.js .reveal--clip img { transform: scale(1.14); transition: transform 1.6s var(--ease); }
html.js .reveal--clip.is-in { clip-path: inset(0 0 0 0); }
html.js .reveal--clip.is-in img { transform: none; }
html.js .reveal--scale { transform: scale(0.94); }
html.js .reveal--rise { transform: translateY(70px) rotate(-1.6deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 70% 10%, #1b1712 0%, var(--ink) 60%);
}
.hero__media { position: absolute; inset: -8% 0; z-index: -3; will-change: transform; }
.hero__img, .hero__video { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s var(--ease) both; filter: saturate(0.9) contrast(1.05); }
.hero__video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.hero__video.is-playing { opacity: 1; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__ambient { position: absolute; inset: 0; overflow: hidden; }
.beam {
  position: absolute; top: -20%; right: 8%; width: 46vw; height: 140%; transform-origin: top center; transform: rotate(24deg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 34%, transparent), transparent 75%);
  filter: blur(40px); opacity: 0.55; animation: beam 16s ease-in-out infinite alternate;
}
.beam--2 { right: 40%; width: 26vw; transform: rotate(-18deg); background: linear-gradient(180deg, color-mix(in srgb, var(--lens) 26%, transparent), transparent 70%); opacity: 0.35; animation-duration: 21s; animation-delay: -6s; }
@keyframes beam { from { transform: rotate(22deg) translateX(0); } to { transform: rotate(30deg) translateX(-8vw); } }
.beam--2 { animation-name: beam2; }
@keyframes beam2 { from { transform: rotate(-16deg); } to { transform: rotate(-24deg) translateX(6vw); } }
.glint {
  position: absolute; top: 20%; right: 16%; width: 10px; height: 10px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 18px 6px var(--lens), 0 0 80px 22px color-mix(in srgb, var(--lens) 45%, transparent);
  animation: glint 5.5s ease-in-out infinite;
}
.glint::before { content: ''; position: absolute; top: 50%; left: 50%; width: 46vw; height: 1px; transform: translate(-50%, -50%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--lens) 70%, white), transparent); opacity: 0.7; }
@keyframes glint { 0%, 100% { opacity: 0.55; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }
.hero__vignette {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 35%, rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(180deg, rgba(10, 10, 9, 0.55) 0%, transparent 28%, transparent 55%, var(--ink) 100%);
}
.letterbox { position: absolute; left: 0; right: 0; z-index: 2; height: clamp(18px, 5.5vh, 64px); background: #000; pointer-events: none; }
.letterbox--top { top: 0; } .letterbox--bottom { bottom: 0; }
html.js .letterbox { height: 50%; transition: height 1.3s var(--ease-io) var(--hero-delay, 0.1s); }
html.js .hero.is-live .letterbox { height: clamp(18px, 5.5vh, 64px); }
.hero__inner {
  position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding-top: calc(var(--header-h) + clamp(24px, 6vh, 64px)); padding-bottom: calc(clamp(18px, 5.5vh, 64px) + clamp(28px, 6vh, 64px));
  min-height: 100svh;
}
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--mute); }
.rec { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); font-variant-numeric: tabular-nums; }
.rec__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tally); box-shadow: 0 0 10px var(--tally); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

.title { margin: auto 0; }
.title__lines { display: flex; flex-direction: column; font-family: var(--f-disp); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: 0.8; font-size: clamp(5.4rem, 27vw, 19rem); letter-spacing: -0.01em; }
.title__word { display: block; white-space: nowrap; padding-block: 0.04em; }
.title__word .ltr { display: inline-block; }
.w1 .ltr { background: var(--chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55)); }
.w2 { margin-left: 0.55em; }
.w2 .ltr { color: transparent; -webkit-text-stroke: 1.5px var(--chrome); }
.w3 { color: var(--accent); transform-origin: 8% 90%; transform: rotate(-4deg) translateX(0.08em); text-shadow: 0 10px 50px color-mix(in srgb, var(--accent) 35%, transparent); }
@media (min-width: 900px) {
  .title__lines { font-size: clamp(8rem, 19vw, 19rem); }
  .w2 { margin-left: 1.1em; }
  .w2 .ltr { -webkit-text-stroke-width: 2px; }
}
/* Title animation: letters rise; EVER lands last with a comedic thud */
html.js .w1, html.js .w2 { overflow: hidden; }
html.js .w1 .ltr, html.js .w2 .ltr { transform: translateY(105%); transition: transform 1s var(--ease) calc(var(--hero-delay, 0.1s) + 0.25s + var(--l) * 0.05s); }
html.js .w2 .ltr { transition-delay: calc(var(--hero-delay, 0.1s) + 0.45s + var(--l) * 0.05s); }
html.js .hero.is-live .w1 .ltr, html.js .hero.is-live .w2 .ltr { transform: none; }
html.js .w3 { opacity: 0; }
html.js .hero.is-live .w3 { animation: thud 0.95s cubic-bezier(0.3, 1.4, 0.5, 1) calc(var(--hero-delay, 0.1s) + 0.95s) both; }
@keyframes thud {
  0% { opacity: 0; transform: translateY(-80%) rotate(6deg); }
  55% { opacity: 1; transform: translateY(4%) rotate(-6deg); }
  75% { transform: translateY(-2%) rotate(-3deg); }
  100% { opacity: 1; transform: rotate(-4deg) translateX(0.08em); }
}
html.intro-on { --hero-delay: 1.35s; }

.hero__bottom { display: grid; gap: 22px; max-width: 760px; }
.hero__tagline { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); line-height: 1.12; color: var(--paper); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero__ctas .btn { flex: 0 0 auto; } }
.hero__aside { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--mute); max-width: 44ch; }
html.js .hero__bottom > *, html.js .hero__top { opacity: 0; transform: translateY(18px); transition: opacity 0.8s, transform 0.9s var(--ease); }
html.js .hero.is-live .hero__top { opacity: 1; transform: none; transition-delay: calc(var(--hero-delay, 0.1s) + 0.2s); }
html.js .hero.is-live .hero__bottom > * { opacity: 1; transform: none; }
html.js .hero.is-live .hero__bottom > :nth-child(1) { transition-delay: calc(var(--hero-delay, 0.1s) + 1.15s); }
html.js .hero.is-live .hero__bottom > :nth-child(2) { transition-delay: calc(var(--hero-delay, 0.1s) + 1.28s); }
html.js .hero.is-live .hero__bottom > :nth-child(3) { transition-delay: calc(var(--hero-delay, 0.1s) + 1.4s); }
.hero__side { display: none; }
@media (min-width: 1000px) {
  .hero__side { display: block; position: absolute; right: calc(var(--gutter) * 0.6); bottom: 26%; z-index: 3; writing-mode: vertical-rl; color: var(--dim); letter-spacing: 0.3em; }
  .hero__bottom { grid-template-columns: 1fr; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px; background: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__row { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-stretch: 62%; font-weight: 850; text-transform: uppercase; font-size: clamp(1.6rem, 4.4vw, 3.4rem); line-height: 1; white-space: nowrap; }
.marquee__row span:nth-child(4n + 3) { color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.marquee__star { color: var(--accent); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SLATE (artwork stand-in) ---------- */
.slate { position: absolute; inset: 0; container-type: inline-size; background: radial-gradient(90% 90% at 30% 20%, #1d1c19, #0b0b0a 70%); display: flex; flex-direction: column; padding: 5cqw 6cqw; gap: 3cqw; }
.slate__clapper { height: 11cqw; position: relative; transform-origin: 2% 100%; transform: rotate(-7deg); transition: transform 0.25s cubic-bezier(0.5, 0, 0.9, 0.5); }
.slate__clapper span { position: absolute; inset: 0; border-radius: 1cqw; background: repeating-linear-gradient(-55deg, var(--paper) 0 5cqw, #111 5cqw 10cqw); box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, 0.6); }
.slate.is-clapped .slate__clapper, .theater-sec.is-engaged .slate__clapper { transform: rotate(0); }
.slate__board { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); border: 0.35cqw solid rgba(239, 234, 224, 0.75); border-radius: 1cqw; background: #121211; }
.slate__cell { padding: 1.4cqw 2cqw; border: 0.18cqw solid rgba(239, 234, 224, 0.4); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.slate__cell--wide { grid-column: span 3; }
.slate__cell small { font-family: var(--f-mono); font-size: max(8px, 1.5cqw); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.slate__cell strong { font-stretch: 62%; font-weight: 850; text-transform: uppercase; font-size: 6.4cqw; line-height: 1; color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slate__cell--wide:first-child strong { font-size: 9cqw; color: var(--accent); }

/* ---------- TRAILER THEATER ---------- */
.theater-sec { padding-block: var(--sec); position: relative; }
.theater-sec--standalone { padding-top: calc(var(--header-h) + clamp(36px, 7vw, 96px)); }
.theater { width: min(100%, 1480px); margin-inline: auto; padding-inline: max(0px, calc(var(--gutter) - 8px)); }
.theater__frame { background: #050505; border-radius: 2px; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line); }
.sprockets {
  height: 20px; background-color: #050505;
  background-image: linear-gradient(90deg, rgba(239, 234, 224, 0.17) 0 9px, transparent 9px 24px);
  background-size: 24px 9px; background-repeat: repeat-x; background-position: 0 center;
}
.theater-sec.is-playing .sprockets, .theater__frame:hover .sprockets { animation: sprocket 0.5s linear infinite; }
@keyframes sprocket { to { background-position: 24px center; } }
.theater__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.theater__poster { position: absolute; inset: 0; }
.theater__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 0.8s; }
.theater__frame:hover .theater__img { transform: scale(1.03); filter: brightness(0.85); }
.theater__shade { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.55)); pointer-events: none; }
.theater__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: clamp(104px, 15vw, 150px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; }
.ring { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.ring span { position: absolute; left: 50%; top: 0; height: 50%; transform-origin: bottom center; transform: translateX(-50%) rotate(var(--r)); font-family: var(--f-mono); font-size: clamp(9px, 1vw, 11px); letter-spacing: 0; color: var(--paper); text-shadow: 0 1px 6px #000; }
.theater__play:hover .ring, .theater__play:focus-visible .ring { animation-duration: 5s; }
.theater__play-core { width: 58%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: pulse 2.4s ease-out infinite; transition: transform 0.4s var(--ease); }
.theater__play-core .icon { margin-left: 4px; }
.theater__play:hover .theater__play-core { transform: scale(1.08); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 26px transparent; } }
.theater__pending { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; padding: 0 12px; }
.theater__player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.theater__player video, video.theater__player { width: 100%; height: 100%; object-fit: contain; }
.theater__msg { position: absolute; inset: auto 12px 14px; text-align: center; font-family: var(--f-mono); font-size: 0.8rem; color: var(--paper); background: rgba(0,0,0,.7); padding: 10px; }
.theater__end { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 20px; background: radial-gradient(80% 80% at 50% 50%, rgba(10, 10, 9, 0.86), rgba(0, 0, 0, 0.97)); }
.theater__end[hidden] { display: none; }
.theater__end-title { font-size: clamp(2rem, 6vw, 5rem); max-width: 14ch; }
.theater__end-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
html.js .theater__end:not([hidden]) > * { animation: rise 0.7s var(--ease) both; }
html.js .theater__end:not([hidden]) > :nth-child(2) { animation-delay: 0.08s; }
html.js .theater__end:not([hidden]) > :nth-child(3) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.after { display: grid; gap: 28px; align-items: end; margin-top: clamp(36px, 6vw, 72px); }
@media (min-width: 900px) { .after { grid-template-columns: 1fr auto; } }
.after__lines { position: relative; display: grid; }
.after__state { grid-area: 1 / 1; font-size: clamp(2.6rem, 7.5vw, 6.2rem); transition: clip-path 0.9s var(--ease-io), opacity 0.6s; }
.after__state em { display: block; font-size: 0.82em; }
.after__state--after { clip-path: inset(0 100% 0 0); opacity: 0; }
.theater-sec.is-engaged .after__state--before { clip-path: inset(0 0 0 100%); opacity: 0; }
.theater-sec.is-engaged .after__state--after { clip-path: inset(0 0 0 0); opacity: 1; }
.after__cta { display: grid; gap: 12px; justify-items: start; }
.after__kicker { color: var(--mute); }

/* ---------- POSTER ---------- */
.poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--ink-3); box-shadow: 0 40px 80px -30px #000, 0 0 0 1px var(--line); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster--ph { background: radial-gradient(90% 60% at 50% 18%, #2a2216, #0d0d0c 70%); }
.poster__inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 9% 8%; text-align: center; }
.poster__logo { width: 62%; opacity: 0.95; }
.poster__title { font-size: clamp(3rem, 9vw, 6.4rem); line-height: 0.82; background: var(--chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.poster__credit { color: var(--mute); }
.poster__label { position: absolute; top: 12px; left: 12px; }

/* ---------- DOSSIER ---------- */
.dossier { padding-block: var(--sec); }
.dossier__grid { display: grid; gap: clamp(36px, 6vw, 88px); align-items: start; }
.dossier__poster { max-width: 440px; width: 100%; }
@media (min-width: 900px) {
  .dossier__grid { grid-template-columns: minmax(280px, 5fr) 7fr; }
  .dossier__poster { position: sticky; top: calc(var(--header-h) + 32px); }
}
.logline { font-family: var(--f-serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; margin-bottom: 20px; }
.synopsis { font-family: var(--f-serif); font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.8rem); line-height: 1.38; color: var(--paper); }
.synopsis--more { margin-top: 1em; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--paper-2); }
.synopsis:first-letter { font-family: var(--f-disp); font-stretch: 62%; font-weight: 900; color: var(--accent); }
.meta { margin-top: 36px; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .dossier .meta { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.meta__row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--line); }
.meta dt { color: var(--mute); font-size: 0.68rem; }
.meta dd { font-weight: 600; letter-spacing: 0.02em; }
.meta dd a { color: var(--accent); }
.billing { margin-top: 32px; font-stretch: 62%; font-weight: 500; text-transform: uppercase; font-size: 0.86rem; line-height: 1.35; letter-spacing: 0.06em; color: var(--mute); text-wrap: balance; }
.billing b { color: var(--paper); font-weight: 750; font-size: 1.12em; letter-spacing: 0.04em; }

/* ---------- WATCH / TICKET ---------- */
.watch-sec { position: relative; padding-block: var(--sec); overflow: hidden; }
.watch-sec--tight { padding-top: 0; }
.watch-sec__light { position: absolute; inset: 0 0 auto; height: 100%; pointer-events: none; background: conic-gradient(from 180deg at 50% -10%, transparent 160deg, color-mix(in srgb, var(--accent) 16%, transparent) 180deg, transparent 200deg); filter: blur(10px); }
.watch-sec .wrap { position: relative; display: grid; justify-items: center; }
.ticket {
  --stub: 0px; position: relative; width: 100%; max-width: 1000px; display: grid; color: var(--ink); background: var(--paper);
  border-radius: 6px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 120px -40px color-mix(in srgb, var(--accent) 40%, transparent);
  background-image: radial-gradient(rgba(10, 10, 9, 0.06) 1px, transparent 1px); background-size: 4px 4px;
}
.ticket__stub {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; background: var(--ink-2); color: var(--accent);
  border-radius: 6px 6px 0 0; border-bottom: 2px dashed rgba(239, 234, 224, 0.28);
}
.ticket__admit { font-size: 1.9rem; letter-spacing: 0.04em; }
.ticket__no { color: var(--mute); font-size: 0.62rem; }
.ticket__main { padding: clamp(24px, 5vw, 56px); }
.ticket .slate-label { color: #6a6253; }
.ticket__title { font-size: clamp(2.4rem, 7vw, 5rem); }
.ticket__title em { color: var(--accent-deep); }
.ticket__copy { margin-top: 14px; max-width: 46ch; color: #3b372f; font-size: 1.05rem; }
.ticket__price { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 8px; padding-top: 22px; border-top: 1px solid rgba(10, 10, 9, 0.14); }
.ticket__amount { font-size: clamp(3rem, 9vw, 5.5rem); line-height: 0.9; }
.ticket__amount .ph { font-size: 1rem; color: #6b4a14; background: rgba(212, 160, 80, 0.16); border-color: #9c7130; }
.ticket__per { color: #6a6253; }
.ticket__feats { display: grid; gap: 14px; margin: 22px 0 30px; }
@media (min-width: 640px) { .ticket__feats { grid-template-columns: 1fr 1fr; gap: 18px 28px; } }
.ticket__feats li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ticket__feats .icon { color: var(--accent-deep); margin-top: 2px; }
.ticket__feats strong { display: block; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ticket__feats span { display: block; font-size: 0.92rem; color: #4a453b; line-height: 1.45; }
.ticket__feats .ph { color: #6b4a14; border-color: #9c7130; background: rgba(212, 160, 80, 0.14); }
.ticket .btn--gold { box-shadow: inset 0 0 0 1.5px rgba(10, 10, 9, 0.35); }
.ticket__fine { margin-top: 14px; font-size: 0.82rem; color: #5a5448; }
.ticket__fine a { color: var(--ink); font-weight: 600; }
.ticket .form-status { color: #7a2e12; }
@media (min-width: 760px) {
  .ticket {
    --stub: 116px; grid-template-columns: var(--stub) 1fr;
    -webkit-mask: radial-gradient(circle 16px at var(--stub) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at var(--stub) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
            mask: radial-gradient(circle 16px at var(--stub) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at var(--stub) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  }
  .ticket__stub { flex-direction: column; justify-content: center; border-radius: 6px 0 0 6px; border-bottom: 0; border-right: 2px dashed rgba(239, 234, 224, 0.28); padding: 28px 0; }
  .ticket__admit { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 3.4rem; }
  .ticket__no { writing-mode: vertical-rl; transform: rotate(180deg); }
}

/* ---------- GALLERY: strip ---------- */
.strip-sec { padding-block: var(--sec); }
.strip-nav { display: none; gap: 10px; }
@media (min-width: 760px) { .strip-nav { display: flex; } }
.strip {
  position: relative; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
  padding: 26px 0; background: #050505; cursor: grab;
}
.strip::before, .strip::after { content: ''; position: sticky; display: block; left: 0; width: max(100%, var(--track-w, 100%)); height: 0; }
.strip:active { cursor: grabbing; }
.strip:focus-visible { outline-offset: -3px; }
.strip__track {
  display: flex; gap: 14px; width: max-content; padding-inline: var(--gutter);
  border-block: 0 solid; position: relative;
}
.strip__track::before, .strip__track::after { content: ''; position: absolute; left: 0; right: 0; height: 12px; background-image: linear-gradient(90deg, rgba(239, 234, 224, 0.16) 0 8px, transparent 8px 22px); background-size: 22px 8px; background-repeat: repeat-x; background-position: 0 center; }
.strip__track::before { top: -20px; } .strip__track::after { bottom: -20px; }
.frame { flex: none; scroll-snap-align: center; }
.strip .frame__img { height: clamp(220px, 46vw, 470px); }
.frame--wide .frame__img { aspect-ratio: 16 / 9; }
.frame--tall .frame__img { aspect-ratio: 2 / 3; }
.frame--square .frame__img { aspect-ratio: 1; }
.frame__img { position: relative; display: block; width: auto; overflow: hidden; background: var(--ink-3); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s; filter: saturate(0.85); }
button.frame__img { cursor: zoom-in; }
button.frame__img:hover img, button.frame__img:focus-visible img { transform: scale(1.05); filter: saturate(1.05); }
.frame__cap { display: flex; gap: 10px; margin-top: 10px; color: var(--mute); font-size: 0.66rem; opacity: 0.7; transition: opacity 0.4s; }
.frame__cap span { color: var(--accent); }
.frame:hover .frame__cap { opacity: 1; }
.frame--ph .frame__img { border: 1px dashed rgba(212, 160, 80, 0.35); background: repeating-linear-gradient(135deg, #121211 0 14px, #0e0e0d 14px 28px); }
.frame__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 12px; text-align: center; color: var(--mute); }
.strip-sec .text-link { margin-top: 30px; }

/* ---------- GALLERY: editorial ---------- */
.editorial { padding-bottom: var(--sec); }
.editorial__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 24px); }
.editorial__cell { grid-column: span 2; }
.editorial__cell:has(.frame--tall), .editorial__cell:has(.frame--square) { grid-column: span 1; }
.editorial .frame__img { width: 100%; }
@media (min-width: 900px) {
  .editorial__grid { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .editorial__cell:nth-child(6n + 1) { grid-column: 1 / span 8; }
  .editorial__cell:nth-child(6n + 2) { grid-column: 9 / span 4; margin-top: 18vh; }
  .editorial__cell:nth-child(6n + 3) { grid-column: 2 / span 6; margin-top: -10vh; }
  .editorial__cell:nth-child(6n + 4) { grid-column: 8 / span 5; margin-top: 6vh; }
  .editorial__cell:nth-child(6n + 5) { grid-column: 1 / span 4; }
  .editorial__cell:nth-child(6n + 6) { grid-column: 5 / span 8; margin-top: 10vh; }
}

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, 0.96); color: var(--paper); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__fig { display: grid; justify-items: center; gap: 12px; padding: 64px 16px; }
.lightbox__fig img { max-width: min(92vw, 1600px); max-height: 80dvh; width: auto; object-fit: contain; box-shadow: 0 30px 80px #000; animation: rise 0.5s var(--ease); }
.lightbox__fig figcaption { color: var(--mute); }
.lightbox .round-btn { position: absolute; background: rgba(10, 10, 9, 0.6); }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox__close { right: 12px; top: 12px; }

/* ---------- COMPANY ---------- */
.company { position: relative; padding-block: var(--sec); overflow: hidden; border-top: 1px solid var(--line); }
.company__glow { position: absolute; left: -10%; top: 10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); pointer-events: none; }
.company__grid { position: relative; display: grid; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .company__grid { grid-template-columns: 1fr 1fr; } }
.company__logo { position: relative; }
.company__logo img { width: 100%; max-width: 640px; margin-inline: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8)); }
@keyframes float { 50% { transform: translateY(-10px); } }
.company__name { font-size: clamp(2.6rem, 8.4vw, 6rem); background: var(--chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.company__readas { margin-top: 6px; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); color: var(--accent); }
.company__tag { margin-top: 14px; letter-spacing: 0.32em; color: var(--mute); }
.company__intro { margin-top: 28px; font-size: 1.1rem; max-width: 52ch; }
.company__role { margin-top: 16px; color: var(--mute); }
.company__role strong { color: var(--paper); }

/* ---------- MORE / PROJECTS ---------- */
.more { padding-block: var(--sec); border-top: 1px solid var(--line); }
.projects { display: grid; border-top: 1px solid var(--line); }
.project { display: grid; grid-template-columns: 3rem 1fr; gap: 16px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.project__n { color: var(--accent); padding-top: 8px; }
.project__t { font-size: clamp(2rem, 5vw, 3.6rem); }
.project__s { color: var(--mute); margin: 8px 0; }
.projects-empty { padding-block: 18px; }
.more__future { margin-top: 32px; color: var(--mute); }

/* ---------- SOCIAL (end-credits) ---------- */
.social-sec { padding-block: var(--sec); border-top: 1px solid var(--line); }
.social-sec__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .social-sec__grid { grid-template-columns: 1.1fr 1fr; } }
.credits-list li a { display: flex; align-items: center; gap: 14px; padding-block: 16px; text-decoration: none; border-bottom: 1px solid var(--line); transition: color 0.3s, padding 0.4s var(--ease); }
.credits-list__role { color: var(--mute); min-width: 7.5rem; }
.credits-list__dots { flex: 1; height: 1px; background-image: linear-gradient(90deg, var(--line-2) 50%, transparent 50%); background-size: 8px 1px; }
.credits-list__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; }
.credits-list li a:hover { color: var(--accent); padding-left: 10px; }
.credits-empty { padding-bottom: 12px; }

/* ---------- NEWSLETTER ---------- */
.nl-band { padding-block: var(--sec); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(212, 160, 80, 0.04)); }
.nl-band__grid { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .nl-band__grid { grid-template-columns: 1.2fr 1fr; } }
.nl-band__copy { color: var(--mute); max-width: 52ch; }
.nl-form__row { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-form__row .field { flex: 1 1 220px; }
.nl-form__row .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .nl-form__row .btn { flex: 0 0 auto; } }
.field {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--paper);
  background: rgba(239, 234, 224, 0.04); border: 1px solid var(--line-2); border-radius: 2px; transition: border-color 0.25s, background-color 0.25s;
}
.field::placeholder { color: var(--dim); }
.field:hover { border-color: rgba(239, 234, 224, 0.4); }
.field:focus { outline: none; border-color: var(--accent); background: rgba(212, 160, 80, 0.06); }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
select.field option { background: var(--ink-2); }
textarea.field { resize: vertical; min-height: 150px; }
.form-status { min-height: 1.5em; margin-top: 10px; font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--accent); }
.form-status.is-error { color: #ff8a73; }
.nl-form--compact .nl-form__row { flex-direction: column; }
.nl-form--compact .btn { width: 100%; }

/* Newsletter dialog */
.nl-dialog {
  width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; background: transparent; color: var(--paper); overflow: visible;
}
.nl-dialog::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.nl-dialog__frame {
  position: relative; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 50px 120px -30px #000, 0 0 90px -40px color-mix(in srgb, var(--accent) 60%, transparent);
  overflow: hidden; max-height: calc(100dvh - 28px); overflow-y: auto;
}
.nl-dialog.is-open .nl-dialog__frame { animation: iris 0.65s var(--ease-io) both; }
@keyframes iris { from { clip-path: inset(48% 0 48% 0); opacity: 0.4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.nl-dialog__strip { display: flex; gap: 28px; padding: 8px 0; background: var(--accent); color: var(--accent-ink); font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.nl-dialog__strip span { animation: marquee 9s linear infinite; padding-left: 28px; }
.nl-dialog__body { padding: clamp(26px, 6vw, 44px); }
.nl-dialog__title { font-size: clamp(2.8rem, 12vw, 4.6rem); }
.nl-dialog__copy { margin: 16px 0 24px; color: var(--mute); }
.nl-dialog__later { margin-top: 6px; padding: 10px 0; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); text-decoration: underline; text-underline-offset: 0.3em; }
.nl-dialog__later:hover { color: var(--paper); }
.nl-dialog__x { position: absolute; top: 40px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--mute); }
.nl-dialog__x:hover { color: var(--paper); }

/* ---------- MASTHEAD (sub-pages) ---------- */
.masthead { position: relative; padding: calc(var(--header-h) + clamp(48px, 10vw, 130px)) 0 clamp(40px, 7vw, 90px); overflow: hidden; border-bottom: 1px solid var(--line); }
.masthead__glow { position: absolute; right: -15%; top: -40%; width: 80vw; height: 80vw; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent); pointer-events: none; }
.masthead__title { font-size: clamp(3.4rem, 13vw, 11rem); text-wrap: balance; overflow-wrap: anywhere; }
.masthead__title em { font-size: 0.85em; }
.masthead__lede { margin-top: 22px; max-width: 54ch; font-family: var(--f-serif); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.3; color: var(--paper-2); }
.masthead__lede strong { font-family: var(--f-disp); font-stretch: 62%; text-transform: uppercase; font-weight: 800; color: var(--accent); font-size: 1.05em; }

/* ---------- MOVIE PAGE ---------- */
.credits-sec { padding-block: var(--sec); border-top: 1px solid var(--line); }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
@media (min-width: 760px) { .people { grid-template-columns: repeat(4, 1fr); } }
.person__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-3); display: grid; place-items: center; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter 0.6s, transform 1s var(--ease); }
.person:hover .person__photo img { filter: none; transform: scale(1.04); }
.person__initial { font-size: 5rem; color: var(--dim); }
.person__name { margin-top: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.person__role { color: var(--mute); margin-top: 2px; }
.crew { display: grid; }
@media (min-width: 760px) { .crew { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.crew__row { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.crew dt { color: var(--mute); }
.crew dd { font-weight: 600; text-align: right; }
.director { padding-block: var(--sec); border-top: 1px solid var(--line); }
.director__grid { display: grid; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .director__grid { grid-template-columns: 5fr 7fr; } }
.director__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); max-width: 520px; }
.director__photo img { width: 100%; height: 100%; object-fit: cover; }
.director__ph { width: 100%; height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #121211 0 14px, #0e0e0d 14px 28px); border: 1px dashed rgba(212, 160, 80, 0.35); }
.director__bio { font-size: 1.1rem; max-width: 58ch; color: var(--paper-2); }
.notes { padding-block: var(--sec); border-top: 1px solid var(--line); }
.notes__body { font-family: var(--f-serif); font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); line-height: 1.45; }
.cta-band { padding-block: clamp(60px, 9vw, 120px); border-top: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent); }
.cta-band__inner { display: grid; gap: 26px; justify-items: start; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; align-items: end; } }
.cta-band__t { font-size: clamp(2.6rem, 8vw, 6rem); }
.cta-band__t em { display: block; }

/* ---------- CHECKOUT ---------- */
.checkout { padding-block: clamp(40px, 7vw, 90px); }
.checkout__grid { display: grid; gap: clamp(30px, 5vw, 64px); align-items: start; }
.checkout__art { width: min(100%, 300px); margin-inline: auto; }
@media (min-width: 1000px) {
  .checkout__grid { grid-template-columns: minmax(260px, 4fr) 8fr; }
  .checkout__art { width: 100%; position: sticky; top: calc(var(--header-h) + 28px); }
}
.checkout__pay { margin-top: 18px; display: flex; gap: 8px; align-items: flex-start; color: var(--mute); text-transform: none; letter-spacing: 0.02em; line-height: 1.6; font-size: 0.74rem; }
.checkout__pay .icon { flex: none; margin-top: 3px; color: var(--accent); }
.steps { padding-block: var(--sec); border-top: 1px solid var(--line); }
.steps__list { display: grid; gap: 30px; counter-reset: s; }
@media (min-width: 900px) { .steps__list { grid-template-columns: repeat(3, 1fr); } }
.steps__item { padding-top: 22px; border-top: 1px solid var(--line-2); }
.steps__n { font-size: 5rem; color: transparent; -webkit-text-stroke: 1px var(--accent); display: block; margin-bottom: 14px; }
.steps__item h3 { text-transform: uppercase; letter-spacing: 0.08em; font-size: 1rem; margin-bottom: 8px; }
.steps__item p { color: var(--mute); }
.faq { padding-block: var(--sec); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-family: var(--f-mono); color: var(--accent); font-size: 1.3rem; line-height: 1; transition: transform 0.3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding-bottom: 22px; color: var(--paper-2); max-width: 64ch; }
.faq__item a { color: var(--accent); }

/* ---------- CONTACT ---------- */
.contact { padding-block: clamp(48px, 8vw, 110px) var(--sec); }
.contact__grid { display: grid; gap: clamp(40px, 7vw, 100px); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 7fr 5fr; } }
.contact-form { display: grid; gap: 22px; }
.field-group label { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.form-note { font-size: 0.85rem; color: var(--mute); }
.contact-form .btn { justify-self: start; }
.contact__logo { width: 100%; max-width: 360px; margin-bottom: 26px; }

/* ---------- LEGAL ---------- */
.legal { padding-block: clamp(40px, 6vw, 80px) var(--sec); }
.prose { color: var(--paper-2); }
.prose h2 { margin: 2.2em 0 0.6em; font-stretch: 62%; text-transform: uppercase; font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--paper); }
.prose p, .prose ul { margin-bottom: 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.6em; }
.prose a { color: var(--accent); }
.prose code { font-family: var(--f-mono); font-size: 0.85em; color: var(--accent); }
.lede-s { font-family: var(--f-serif); font-size: 1.4rem; color: var(--paper); }
.review-note { margin-bottom: 30px; padding: 16px 18px; border-left: 3px solid var(--accent); background: rgba(212, 160, 80, 0.07); font-size: 0.92rem; }

/* ---------- SUCCESS / RESTORE ---------- */
.success { min-height: 92svh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; text-align: center; }
.success__state { display: grid; justify-items: center; gap: 14px; max-width: 760px; }
.success__state[hidden] { display: none; }
.success__state:not([hidden]) > * { animation: rise 0.7s var(--ease) both; }
.success__state:not([hidden]) > :nth-child(2) { animation-delay: 0.06s; }
.success__state:not([hidden]) > :nth-child(3) { animation-delay: 0.12s; }
.success__state:not([hidden]) > :nth-child(4) { animation-delay: 0.18s; }
.success__t { font-size: clamp(2.8rem, 9vw, 6rem); }
.success__t--big { font-size: clamp(5rem, 22vw, 15rem); background: var(--chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.success__sub { font-size: clamp(1.8rem, 5vw, 3.4rem); margin-bottom: 18px; }
.success__copy { color: var(--paper-2); max-width: 52ch; }
.success__copy a { color: var(--accent); }
.success__fine { color: var(--mute); font-size: 0.88rem; max-width: 52ch; }
.leader { position: relative; width: 150px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; }
.leader::before, .leader::after { content: ''; position: absolute; background: var(--line-2); }
.leader::before { width: 100%; height: 1px; } .leader::after { width: 1px; height: 100%; }
.leader__sweep { position: absolute; inset: 0; background: conic-gradient(from 0deg, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); animation: spin 1s linear infinite; }
.leader__n { position: relative; z-index: 1; font-size: 5rem; color: var(--paper); }
.leader--sm { width: 72px; }

/* ---------- SCREENING ROOM ---------- */
.is-screening .site-header { background: rgba(0, 0, 0, 0.86); border-color: var(--line); }
.screen-room { padding-top: var(--header-h); }
.screen-room__stage { background: #000; border-bottom: 1px solid var(--line); }
.screen-room__player { position: relative; width: min(100%, calc((100svh - var(--header-h) - 90px) * 16 / 9)); min-width: min(100%, 320px); margin-inline: auto; aspect-ratio: 16 / 9; background: #000; }
@media (max-width: 640px) { .screen-room__player { width: 100%; } }
.screen-room__state { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; color: var(--mute); }
.screen-room__state[hidden] { display: none; }
.screen-room__state[data-state='locked'] { place-content: stretch; }
.screen-room__lock { position: relative; z-index: 2; display: grid; justify-items: center; align-content: center; gap: 12px; padding: 20px; text-align: center; color: var(--paper-2); background: radial-gradient(70% 80% at 50% 50%, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.55)); }
.screen-room__state[data-state='locked'] .slate { opacity: 0.45; }
.screen-room__state[data-state='locked'] .screen-room__lock { position: absolute; inset: 0; }
.screen-room__t { font-size: clamp(2rem, 7vw, 4.6rem); color: var(--paper); }
.screen-room__lock .hero__ctas { justify-content: center; }
.screen-room__state--ready { display: block; place-content: initial; }
.screen-room__video, .screen-room__video mux-player, .screen-room__video iframe { width: 100%; height: 100%; display: block; border: 0; aspect-ratio: 16 / 9; }
.screen-room__video mux-player { --media-object-fit: contain; }
.screen-room__info { display: grid; gap: 22px; padding-block: 32px 48px; }
@media (min-width: 900px) { .screen-room__info { grid-template-columns: 1fr auto; align-items: start; } }
.screen-room__title { font-size: clamp(2.6rem, 7vw, 5rem); }
.screen-room__desc { margin-top: 12px; max-width: 64ch; color: var(--paper-2); }
.screen-room__side { display: grid; gap: 6px; justify-items: start; }
.screen-room__side .text-link { margin-top: 6px; }
.screen-room__side [data-expiry] { color: var(--mute); }
.restore { padding-bottom: 48px; }
.restore[hidden] { display: none; }
.restore__form { max-width: 620px; padding: 28px; border: 1px solid var(--line-2); background: var(--ink-2); display: grid; gap: 12px; }
.restore__t { font-size: 2.6rem; }
.restore__form p { color: var(--mute); }

/* ---------- TRUST ---------- */
.trust { padding-block: var(--sec); border-top: 1px solid var(--line); }
.quotes { display: grid; gap: 40px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote p { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.quote footer { margin-top: 14px; color: var(--accent); }
.press-list { margin-top: 40px; border-top: 1px solid var(--line); }
.press-list a { display: flex; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); text-decoration: none; }
.press-list .mono { color: var(--accent); min-width: 8rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.notfound__title { font-size: clamp(5rem, 22vw, 16rem); line-height: 0.78; }
.notfound__title em { font-size: 0.8em; }
.notfound__copy { margin: 26px 0 30px; font-family: var(--f-serif); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); max-width: 34ch; color: var(--paper-2); }

/* ---------- FOOTER ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); overflow: hidden; padding-top: var(--sec); background: linear-gradient(180deg, var(--ink), #060606); }
.footer-roll { text-align: center; display: grid; justify-items: center; }
.footer-roll__line { font-size: clamp(2.6rem, 9.5vw, 8rem); }
.footer-roll__line--gold { color: var(--accent); }
.footer-roll__cta { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer-grid { display: grid; gap: 40px; margin-top: var(--sec); padding-top: 48px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 0.8fr 0.9fr 1.3fr; } }
.footer-brand img { width: 220px; }
.footer-brand p { margin-top: 12px; color: var(--dim); }
.footer-col__h { font-family: var(--f-mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; list-style: none; padding: 0; }
.footer-col a { text-decoration: none; color: var(--paper-2); }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex !important; gap: 8px !important; margin-top: 18px; }
.footer-social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; }
.footer-social a:hover { border-color: var(--accent); }
.footer-nl-copy { color: var(--mute); font-size: 0.92rem; margin-bottom: 14px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding-block: 28px; margin-top: 40px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--dim); }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; }
.footer-legal a { color: var(--mute); text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }
.footer-fin { text-align: center; font-size: 24vw; line-height: 0.75; color: transparent; -webkit-text-stroke: 1px rgba(232, 230, 224, 0.07); margin-bottom: -0.12em; user-select: none; }
.site-footer--minimal { padding-top: 0; }
.site-footer--minimal .footer-legal { margin-top: 0; }

/* ---------- Page transitions (cross-document, progressive) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in 0.45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; filter: brightness(0.3); } }
@keyframes vt-in { from { opacity: 0; transform: scale(1.012); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .grain, .marquee__track, .ring, .beam, .glint, .company__logo img, .nl-dialog__strip span { animation: none !important; }
  html.js .reveal, html.js .reveal--clip, html.js .reveal--clip img { opacity: 1; transform: none; clip-path: none; }
  html.js .w1 .ltr, html.js .w2 .ltr { transform: none; }
  html.js .w3, html.js .hero__bottom > *, html.js .hero__top { opacity: 1; transform: rotate(-4deg) translateX(0.08em); }
  html.js .hero__bottom > *, html.js .hero__top { transform: none; }
  html.js .letterbox { height: clamp(18px, 5.5vh, 64px); }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media print {
  .grain, .site-header, .intro, .nl-dialog, .marquee { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Purchase prompt layered over the playing teaser */
.theater__buy { position: absolute; z-index: 3; top: 12px; right: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
.theater__buy[hidden] { display: none; }
html.js .theater__buy:not([hidden]) { animation: rise 0.6s var(--ease) both; }
@media (max-width: 559px) { .theater__buy { top: 8px; right: 8px; --h: 36px; font-size: 0.64rem; padding: 0 0.9em; } }
.hero__img { object-position: 50% 35%; }

/* ---- Hero composition refinements (QA pass 1) ---- */
.nav ul { list-style: none; margin: 0; padding: 0; }
.hero__img, .hero__video { filter: brightness(0.56) saturate(0.82) contrast(1.08); }
.hero__vignette {
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.78) 0%, rgba(10, 10, 9, 0.35) 48%, rgba(10, 10, 9, 0.1) 75%),
    radial-gradient(120% 90% at 60% 40%, transparent 40%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(180deg, rgba(10, 10, 9, 0.5) 0%, transparent 26%, transparent 60%, var(--ink) 100%);
}
.title__lines { font-size: min(30vw, 21svh); }
@media (min-width: 900px) { .title__lines { font-size: min(19vw, 27svh); } }
@media (min-width: 1000px) {
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); grid-template-rows: auto 1fr; column-gap: clamp(24px, 4vw, 64px); align-items: end; }
  .hero__top { grid-column: 1 / -1; align-self: start; }
  .title { grid-column: 1; margin: 0; align-self: end; }
  .hero__bottom { grid-column: 2; align-self: end; padding-bottom: 0.4em; }
  .hero .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero .hero__ctas .btn { flex: none; }
  .hero__side { bottom: auto; top: 50%; translate: 0 -50%; }
}

/* ---- QA pass 2 ---- */
.poster .poster__logo { width: 74%; height: auto; object-fit: contain; }
.company__name { font-size: clamp(2.1rem, 11.6vw, 5rem); overflow-wrap: normal; white-space: nowrap; }
@media (min-width: 900px) { .company__name { font-size: min(5.3vw, 5.4rem); } }
.nl-form--compact .field { flex: none; }
.theater__play { width: clamp(112px, 13vw, 176px); }
.ring span { font-size: clamp(9px, 0.85vw, 12px); }
.checkout__grid { grid-template-columns: minmax(0, 1fr); }
.checkout__grid > * { min-width: 0; }
@media (min-width: 1000px) { .checkout__grid { grid-template-columns: minmax(260px, 4fr) minmax(0, 8fr); } }
.ph { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.btn--block { white-space: normal; text-align: center; line-height: 1.25; padding-block: 0.6em; }
.ticket { grid-template-columns: minmax(0, 1fr); }
.ticket > * { min-width: 0; }
@media (min-width: 760px) { .ticket { grid-template-columns: var(--stub) minmax(0, 1fr); } }
@media (max-width: 380px) { .btn--xl { --h: 58px; font-size: 0.82rem; padding-inline: 1.1em; } }
/* a11y: contrast margins */
:root { --dim: #8b867b; }
.frame__cap { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html.js .hero .w3, html.js .hero.is-live .w3 { animation: none !important; opacity: 1; transform: rotate(-4deg) translateX(0.08em); }
}

/* =========================================================================
   BLUE PASS — the logo's lens blue as the second accent.
   Red = primary actions + "EVER". Blue = labels, links, focus, light, glows.
   Palette: red, black, white, blue (client, 2026-10-09).
   ========================================================================= */
:root { --blue: #4a9ae8; --blue-deep: #1d5fa6; --red-text: #ff5a60; }

/* Focus + selection */
:focus-visible { outline-color: var(--blue); }

/* Labels, links, nav */
.slate-label::before { background: linear-gradient(90deg, var(--blue), var(--lens)); }
.text-link { background-image: linear-gradient(var(--blue), var(--blue)); }
.text-link:hover { color: var(--lens); }
.nav a::after { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.nav a:hover, .nav a[aria-current='page'] { color: #fff; }
.mnav__list a[aria-current='page'], .mnav__list a:hover { color: var(--lens); }
.mnav__num { color: var(--blue); }
.mnav__bg::after { background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 26%, transparent), transparent); }

/* Ghost buttons light up blue */
.btn--ghost { border-color: color-mix(in srgb, var(--blue) 45%, var(--line-2)); }
.btn--ghost:hover { border-color: var(--blue); color: var(--lens); box-shadow: 0 10px 40px -14px color-mix(in srgb, var(--blue) 75%, transparent); }
.round-btn:hover { border-color: var(--blue); color: var(--lens); }


/* Hero: cool projector light against warm wood */
.beam--2 { right: 34%; width: 34vw; opacity: 0.6; background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 42%, transparent), transparent 72%); }
.hero__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(70% 80% at 85% 20%, color-mix(in srgb, var(--blue) 55%, transparent), transparent 60%),
              linear-gradient(200deg, color-mix(in srgb, var(--blue-deep) 40%, transparent), transparent 55%); }
.glint { top: 16%; right: 12%; }
.w2 .ltr { -webkit-text-stroke-color: color-mix(in srgb, var(--lens) 70%, var(--chrome)); text-shadow: 0 0 30px color-mix(in srgb, var(--blue) 35%, transparent); }
.hero__side { color: color-mix(in srgb, var(--blue) 55%, var(--dim)); }

/* Marquee stars alternate gold / blue */
.marquee__row .marquee__star:nth-of-type(4n) { color: var(--blue); }
.marquee { border-color: color-mix(in srgb, var(--blue) 25%, var(--line)); }

/* Trailer theater: projector-beam glow, blue sprockets, blue ring halo */
.theater__frame { box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px color-mix(in srgb, var(--blue) 30%, var(--line)), 0 0 140px -50px var(--blue); }
.sprockets { background-image: linear-gradient(90deg, color-mix(in srgb, var(--lens) 30%, transparent) 0 9px, transparent 9px 24px); }
.theater__play::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; box-shadow: 0 0 40px 6px color-mix(in srgb, var(--blue) 55%, transparent); }
.ring span { color: var(--lens); }
.after__kicker { color: var(--lens); }

/* Dossier + ticket */
.meta dd a { color: var(--lens); }
.synopsis:first-letter { color: var(--blue); }
.ticket .slate-label::before { background: var(--blue-deep); }
.ticket__feats .icon { color: var(--blue-deep); }
.ticket__fine a { color: var(--blue-deep); }
.ticket__stub { box-shadow: inset 0 0 40px -10px color-mix(in srgb, var(--blue) 45%, transparent); }
.watch-sec__light { background: conic-gradient(from 180deg at 50% -10%, transparent 150deg, color-mix(in srgb, var(--blue) 20%, transparent) 170deg, color-mix(in srgb, var(--accent) 14%, transparent) 185deg, color-mix(in srgb, var(--blue) 14%, transparent) 200deg, transparent 215deg); }

/* Gallery */
.frame__cap span { color: var(--lens); }
.strip { scrollbar-color: var(--blue) transparent; }
.strip__track::before, .strip__track::after { background-image: linear-gradient(90deg, color-mix(in srgb, var(--lens) 28%, transparent) 0 8px, transparent 8px 22px); }

/* Company: gold + blue halo behind the logo */
.company__glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 22%, transparent), color-mix(in srgb, var(--accent) 8%, transparent) 55%, transparent 72%); }
.company__logo img { max-width: 480px; }
.company__tag { color: var(--lens); }

/* Social, steps, FAQ, legal */
.credits-list li a:hover { color: var(--lens); }
.credits-list__name .icon { color: var(--blue); }
.steps__n { -webkit-text-stroke-color: var(--blue); }
.faq__item summary::after { color: var(--blue); }
.faq__item a, .prose a, .success__copy a { color: var(--lens); }
.prose code { color: var(--lens); }
.review-note { border-left-color: var(--blue); background: color-mix(in srgb, var(--blue) 9%, transparent); }

/* Newsletter dialog strip goes blue */
.nl-dialog__strip { background: var(--blue-deep); color: #eaf4ff; }
.nl-dialog__frame { box-shadow: 0 50px 120px -30px #000, 0 0 90px -40px var(--blue); }
.nl-band { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--blue) 7%, transparent)); }

/* Forms: success in blue, errors in light red */
.field:focus { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, transparent); }
.form-status { color: var(--lens); }
.form-status.is-error { color: var(--red-text); }
.ticket .form-status { color: var(--blue-deep); }
.ticket .form-status.is-error { color: #a3161e; }

/* Masthead + footer */
.masthead__glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 18%, transparent), color-mix(in srgb, var(--accent) 6%, transparent) 60%, transparent); }
.footer-col__h { color: var(--lens); }
.footer-social a:hover, .footer-col a:hover, .footer-legal a:hover { color: var(--lens); border-color: var(--blue); }
.footer-fin { -webkit-text-stroke-color: color-mix(in srgb, var(--blue) 22%, transparent); }

/* Purchase-flow pages */
.leader__sweep { background: conic-gradient(from 0deg, color-mix(in srgb, var(--blue) 55%, transparent), transparent 70%); }
.success__t--big { filter: drop-shadow(0 0 40px color-mix(in srgb, var(--blue) 35%, transparent)); }
.screen-room__stage { box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--blue) 35%, transparent); }

/* Red/white/blue: small red text uses a lighter red for contrast; police-light hero beams */
.quote footer, .press-list .mono, .project__n { color: var(--red-text); }
.beam { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 30%, transparent), transparent 72%); opacity: 0.5; }
.ticket__amount .ph, .ticket__feats .ph { color: #6b1a1f; border-color: #a3161e; background: rgba(215, 38, 47, 0.08); }
.ticket__title em { color: #a3161e; }
.ticket .btn--gold { box-shadow: none; }
.title__lines .w3 { text-shadow: 0 10px 50px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 1px #000; }
/* Cool blue grade on hero footage so red/white/blue read cleanly */
.hero__img, .hero__video { filter: brightness(0.52) saturate(0.5) contrast(1.12); }
.hero__media::after { mix-blend-mode: color; opacity: 0.55;
  background: linear-gradient(160deg, var(--blue-deep), #0b2a4d 70%); }

/* Full, uncropped logo in the header (client request) — taller header, logo shrinks a little on scroll */
:root { --header-h: 68px; }
@media (min-width: 900px) { :root { --header-h: 88px; } }
.brand__mark { height: 52px; width: auto; transition: height 0.4s var(--ease); }
@media (min-width: 900px) { .brand__mark { height: 70px; } }
.site-header[data-scrolled] .brand__mark { height: 46px; }
@media (min-width: 900px) { .site-header[data-scrolled] .brand__mark { height: 56px; } }
.mnav__top .brand__mark { height: 50px; }

/* =========================================================================
   LOGO PALETTE PASS (client, 2026-10-09)
   Blue = primary (buttons, headline accents). Chrome/white = type.
   Gold = thin trim, like the logo's rings and rules. Red = support only.
   ========================================================================= */
:root { --red: #d7262f; --gold: #d4a050; --tally: var(--red); --gold-line: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 70%, transparent) 20%, color-mix(in srgb, var(--gold) 70%, transparent) 80%, transparent); }

/* Headline accent words → lens blue (were red) */
.display em, .sec-title em, .masthead__title em, .after__state em { color: var(--blue); }
.masthead__lede strong, .company__readas, .footer-roll__line--gold { color: var(--blue); }
.ticket__title em { color: var(--blue-deep); }

/* Primary buttons: logo-lens blue with a soft glass highlight */
.btn--gold { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, white) 0%, var(--accent) 45%, color-mix(in srgb, var(--accent) 80%, black) 100%); color: #fff; }
.btn--gold:hover { box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--blue) 80%, transparent), 0 0 0 1px color-mix(in srgb, var(--lens) 50%, transparent) inset; }
.theater__play-core { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--lens) 70%, var(--accent)), var(--accent) 60%); color: #fff; }

/* Red as support */
.title__lines .w3 { color: var(--red); text-shadow: 0 10px 50px color-mix(in srgb, var(--red) 45%, transparent), 0 0 1px #000; }
.slate-label::before { background: var(--red); }
.marquee__star { color: var(--red); }
.marquee__row .marquee__star:nth-of-type(4n) { color: var(--blue); }
.steps__n { -webkit-text-stroke-color: var(--red); }
.faq__item summary::after { color: var(--red); }
.frame__cap span, .project__n, .mnav__num { color: var(--red-text); }
.beam { background: linear-gradient(180deg, color-mix(in srgb, var(--red) 26%, transparent), transparent 72%); opacity: 0.45; }

/* Gold trim — thin rules and frames echoing the logo's rings */
.masthead { border-bottom: 0; }
.masthead::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-line); }
.marquee { border-image: var(--gold-line) 1; }
.theater__frame { box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent), 0 0 140px -50px var(--blue); }
.poster { box-shadow: 0 40px 80px -30px #000, 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent); }
.ticket__stub { color: var(--gold); }
.ticket { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 120px -40px color-mix(in srgb, var(--blue) 45%, transparent); }
.company, .more, .social-sec, .nl-band, .credits-sec, .director, .notes, .steps, .faq, .cta-band { border-top: 0; position: relative; }
.company::before, .more::before, .social-sec::before, .nl-band::before, .credits-sec::before, .director::before, .notes::before, .steps::before, .faq::before, .cta-band::before,
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--gold-line); opacity: 0.6; }
.site-footer { border-top: 0; }
.footer-grid { border-top: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.company__glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 24%, transparent), color-mix(in srgb, var(--gold) 8%, transparent) 55%, transparent 72%); }

/* More blue light overall */
.watch-sec__light { background: conic-gradient(from 180deg at 50% -10%, transparent 150deg, color-mix(in srgb, var(--blue) 24%, transparent) 172deg, color-mix(in srgb, var(--lens) 14%, transparent) 185deg, color-mix(in srgb, var(--blue) 18%, transparent) 198deg, transparent 215deg); }
.cta-band { background: radial-gradient(60% 120% at 50% 100%, color-mix(in srgb, var(--blue) 14%, transparent), transparent); }
.hero { background: radial-gradient(120% 80% at 70% 10%, #0f1c2c 0%, var(--ink) 60%); }
.success__t--big { filter: drop-shadow(0 0 40px color-mix(in srgb, var(--blue) 40%, transparent)); }
::selection { background: var(--blue); color: #fff; }
.btn--gold { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 95%, white) 0%, var(--accent) 50%, color-mix(in srgb, var(--accent) 86%, black) 100%); }
.ticket__amount .ph, .ticket__feats .ph { color: #6b4a14; border-color: #9c7130; background: rgba(212, 160, 80, 0.14); }

/* Gallery page: no overlapping frames, tighter tall crops */
@media (min-width: 900px) {
  .editorial__grid { row-gap: clamp(28px, 4vw, 56px); }
  .editorial__cell:nth-child(6n + 2) { margin-top: 10vh; }
  .editorial__cell:nth-child(6n + 3) { margin-top: 0; }
  .editorial__cell:nth-child(6n + 4) { margin-top: 0; }
  .editorial__cell:nth-child(6n + 6) { margin-top: 0; }
  .editorial .frame--tall .frame__img { aspect-ratio: 4 / 5; }
}

/* ---------- Access codes ---------- */
.code-card { margin-top: 18px; padding: 22px 26px; display: grid; justify-items: center; gap: 10px; border: 1.5px dashed color-mix(in srgb, var(--blue) 70%, transparent); background: color-mix(in srgb, var(--blue) 8%, transparent); max-width: 520px; }
.code-card[hidden] { display: none; }
.code-card .slate-label { margin-bottom: 0; }
.code-card__code { font-family: var(--f-mono); font-weight: 600; font-size: clamp(1.6rem, 6vw, 2.4rem); letter-spacing: 0.12em; color: #fff; user-select: all; }
.code-card__hint { font-size: 0.88rem; color: var(--mute); max-width: 44ch; }
.code-card__hint strong { color: var(--paper); }
.room-code { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.room-code[hidden] { display: none; }
.room-code strong { display: block; margin-top: 4px; font-size: 1.1rem; letter-spacing: 0.14em; color: var(--lens); user-select: all; }
.field--code { font-family: var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.restore { display: grid; gap: 16px; }
.restore__form--alt { background: transparent; border-style: dashed; }
.restore__t--sm { font-family: var(--f-disp); font-stretch: 62%; font-weight: 850; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }

/* Paid-but-lost-code lookup (screening room) */
.recover__row { display: flex; flex-wrap: wrap; gap: 10px; }
.recover__row .field { flex: 1 1 220px; min-width: 0; }
.recover__row .recover__last4 { flex: 0 1 150px; }
.recover__row .btn { flex: 1 1 100%; }
@media (min-width: 640px) { .recover__row .btn { flex: 0 0 auto; } }
.restore__form .restore__hint { font-size: 0.86rem; line-height: 1.5; }
.restore__hint a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.text-link[hidden] { display: none; }
.text-link.text-link--muted { background: none; color: var(--mute); }
.text-link.text-link--muted:hover { color: var(--paper); }
/* Phones: the locked / loading messages are taller than a 16:9 box — let the box grow instead of overlapping */
@media (max-width: 720px) {
  .screen-room__player[data-current]:not([data-current="ready"]) { aspect-ratio: auto; min-height: 56vw; }
  .screen-room__player[data-current]:not([data-current="ready"]) > .screen-room__state:not([hidden]) { position: relative; inset: auto; padding: 0; overflow: hidden; }
  .screen-room__player[data-current] .screen-room__state[data-state='locked'] .screen-room__lock { position: relative; inset: auto; padding: 40px 16px; }
}

/* "I have a code" — always one tap from the screening room */
.header-code { gap: 6px; white-space: nowrap; }
.header-code .icon { flex: none; }
.header-code__long { display: none; }
@media (min-width: 640px) { .header-code__long { display: inline; } .header-code__short { display: none; } }
.header-code[aria-current='page'] { border-color: var(--lens); color: #fff; }
.mnav__code { margin-top: 10px; }
.hero__code { margin: 2px 0 0; }
.hero__code a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 5px; }
.hero__code a:hover { color: var(--lens); }
