:root {
  --ink: #0b0807;
  --ink-2: #14100d;
  --ink-3: #1d1712;
  --bone: #efe6da;
  --bone-dim: #b5aa9c;
  --muted: #7d7266;
  --line: rgba(239, 230, 218, 0.14);
  --ember: #e4561d;
  --flare: #f2a33a;
  --gold: #f0a93a;

  --display: "League Gothic", "Oswald", Impact, sans-serif;
  --sans: "Jost", "Futura", "Helvetica Neue", sans-serif;
  --serif: "Newsreader", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 17px/1.65 var(--serif);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
  opacity: .07;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* type */
.eyebrow {
  font: 600 12px/1.2 var(--sans);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--bone-dim); margin: 0 0 18px;
}
.eyebrow--ember { color: var(--flare); }
.h2 {
  font: 400 clamp(44px, 6vw, 76px)/.92 var(--display);
  text-transform: uppercase; letter-spacing: .01em;
  margin: 0 0 28px;
}
.h2--big { font-size: clamp(56px, 9vw, 120px); }
.h3 {
  font: 600 13px/1.2 var(--sans);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 16px;
}
.lede { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.4; margin: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone); text-decoration: none;
  padding: 16px 24px; border: 1px solid rgba(239, 230, 218, .45);
  background: transparent; cursor: pointer; border-radius: 0;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn svg { width: 14px; height: 14px; }
.btn--solid { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn--solid:hover { background: var(--flare); border-color: var(--flare); color: var(--ink); }
.btn--small { padding: 11px 16px; font-size: 11px; }
:focus-visible { outline: 2px solid var(--flare); outline-offset: 3px; }

/* placeholders: anything still missing */
.tbd { color: var(--gold) !important; font-style: italic; opacity: .75; }
.tbd-btn { opacity: .45; pointer-events: none; border-style: dashed; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(14px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 14px max(var(--gutter), env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(11, 8, 7, .6), rgba(11, 8, 7, 0));
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* solid layer fades in on scroll; nothing reflows */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 8, 7, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .3s;
}
.nav.is-solid { border-color: var(--line); }
.nav.is-solid::before { opacity: 1; }
.nav__mark { font: 400 26px/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--bone-dim); }
.nav__links a:hover { color: var(--bone); }

/* hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(40px, 7vh, 80px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,8,7,.55) 0%, rgba(11,8,7,0) 22%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11,8,7,.75) 25%, rgba(11,8,7,0) 60%),
    linear-gradient(90deg, rgba(11,8,7,.7) 0%, rgba(11,8,7,0) 55%);
}
.hero__inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.title {
  font: 400 clamp(88px, 15vw, 220px)/.84 var(--display);
  text-transform: uppercase; margin: 0; letter-spacing: -.005em;
}
.title__the { display: block; font-size: .42em; line-height: 1; }
.hero__tag {
  font: 600 clamp(13px, 1.3vw, 16px)/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--bone-dim); margin: 22px 0 34px; max-width: 30em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--line); max-width: 640px; }
.hero__meta div { margin: 0; }
.hero__meta dt { font: 600 10px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hero__meta dd { margin: 0; font: 500 15px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* laurels */
.laurels { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; padding: 48px var(--gutter); border-bottom: 1px solid var(--line); }
.laurels[hidden] { display: none; }
.laurel { display: flex; flex-direction: column; align-items: center; text-align: center; font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; padding: 0 34px; position: relative; }
.laurel::before, .laurel::after { content: ""; position: absolute; top: 50%; width: 22px; height: 52px; transform: translateY(-50%); border: 2px solid var(--bone-dim); border-radius: 50%; }
.laurel::before { left: 0; border-right: 0; }
.laurel::after { right: 0; border-left: 0; }
.laurel__label { font-size: 10px; color: var(--bone-dim); }
.laurel__name { font-size: 13px; font-weight: 600; }

/* logline */
.logline { padding-top: clamp(80px, 14vh, 160px); padding-bottom: clamp(40px, 8vh, 80px); }
.logline__text {
  font: 400 clamp(32px, 4.4vw, 60px)/1.18 var(--serif); font-style: italic;
  margin: 0; max-width: 18em;
}

/* full-bleed film bands (chess misdirect, helmet) */
.move { padding: clamp(40px, 8vh, 90px) 0 0; }
.band { position: relative; margin: 0; min-height: min(88vh, 56.25vw); display: flex; align-items: flex-end; overflow: hidden; }
.band + .band { margin-top: 4px; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,8,7,.85) 0%, rgba(11,8,7,.15) 45%, rgba(11,8,7,0) 70%); }
.band__text { position: relative; z-index: 1; padding-bottom: clamp(32px, 7vh, 80px); }
.band__text p { font: 400 clamp(40px, 6vw, 88px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 0; max-width: 14em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.band__text .move__turn { color: var(--flare); }
.band--short { min-height: min(70vh, 48vw); }
.band__text .band__small { font-size: clamp(30px, 4vw, 56px); }

/* the fall */
.fall { padding: clamp(60px, 10vh, 120px) 0; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.stats { list-style: none; padding: 0; margin: 0 0 clamp(48px, 8vh, 90px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 28px 24px 0 0; border-right: 1px solid var(--line); margin-right: 24px; }
.stats li:last-child { border-right: 0; margin-right: 0; }
.stat__n { display: block; font: 400 clamp(64px, 8vw, 112px)/.9 var(--display); color: var(--bone); }
.stat__n small { font-size: .38em; margin-left: 4px; color: var(--bone-dim); }
.stat__l { display: block; margin-top: 12px; font: 500 13px/1.45 var(--sans); letter-spacing: .04em; color: var(--bone-dim); max-width: 16em; }
.fall__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.fall__copy p { margin: 0 0 1.1em; font-size: 19px; max-width: 34em; }
.fall__copy p:first-child { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.4; }
.fall__turn { font: 400 clamp(30px, 3.4vw, 44px)/1.1 var(--display) !important; text-transform: uppercase; color: var(--flare); margin-top: 1.4em !important; }

.sensitive { position: relative; margin: 0; }
.sensitive img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.sensitive { overflow: hidden; }
.sensitive figcaption { font: 500 11px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 14px; }

/* trailer */
.trailer { padding: clamp(60px, 10vh, 120px) 0; background: var(--ink-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .h2 { margin: 0; }
.section-head__note { font: 500 13px/1 var(--sans); letter-spacing: .2em; color: var(--muted); margin: 0; }
.player { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease, opacity .4s; opacity: .92; }
.player:hover img { transform: scale(1.025); opacity: 1; }
.player__btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255,255,255,.7); background: rgba(11,8,7,.25); backdrop-filter: blur(4px);
  transition: background .3s, border-color .3s;
}
.player:hover .player__btn { background: var(--ember); border-color: var(--ember); }
.player__btn svg { width: 30%; height: 30%; margin-left: 6%; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* synopsis */
.synopsis { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(80px, 12vh, 140px); }
.synopsis__col p { margin: 0 0 1em; font-size: 19px; }
.synopsis__col .lede { font-size: clamp(22px, 2.3vw, 28px); }

/* people */
.person { padding: clamp(60px, 10vh, 120px) 0; border-top: 1px solid var(--line); }
.person__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.person--director .person__grid { grid-template-columns: 1fr 1fr; }
.person__photo { margin: 0; }
.person__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.person--andrea { padding-top: 0; }
.person__hero { margin: 0 0 clamp(48px, 8vh, 96px); }
.person__hero img { width: 100%; aspect-ratio: 16 / 9; max-height: 92vh; object-fit: cover; }
.person__split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.person__quotes .quote:first-child { margin-top: 0; }
.person__copy p { margin: 0 0 1.1em; font-size: 19px; max-width: 34em; }
.quote { margin: 36px 0 0; padding-left: 24px; border-left: 2px solid var(--ember); }
.quote p { font: 400 clamp(26px, 2.8vw, 36px)/1.25 var(--serif) !important; font-style: italic !important; margin: 0 !important; }
.quote--small { margin-top: 24px; border-color: var(--line); }
.quote--small p { font-size: clamp(20px, 2vw, 24px) !important; color: var(--bone-dim); }
.statement__h { margin-top: 40px; }
.statement { font-style: italic; font-size: 21px !important; line-height: 1.55; }
.signature { font: 400 34px/1 var(--display) !important; text-transform: uppercase; color: var(--bone-dim); letter-spacing: .04em; }

/* stills */
.stills { padding: clamp(60px, 10vh, 120px) 0; background: var(--ink-2); }
.gallery__h { margin: 40px 0 16px; }
.gallery__h:first-of-type { margin-top: 8px; }
.gallery--film img { aspect-ratio: 16 / 9 !important; }
.gallery--film { grid-auto-flow: dense; }
.gallery--film .g--wide img { aspect-ratio: auto !important; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery li { margin: 0; overflow: hidden; background: #000; }
.gallery .g--wide { grid-column: span 2; grid-row: span 2; }
.gallery a { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .9s ease, opacity .4s; opacity: .9; }
.gallery .g--wide img { aspect-ratio: auto; }
.gallery a:hover img { transform: scale(1.04); opacity: 1; }

/* specs */
.specs { padding: clamp(80px, 12vh, 140px) 0; }
.specs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.table { margin: 0; }
.table div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.table dt { font: 600 11px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.table dd { margin: 0; font: 400 16px/1.5 var(--sans); }

/* screener */
.screener { position: relative; padding: clamp(100px, 18vh, 200px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.screener__media { position: absolute; inset: 0; }
.screener__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 70%; opacity: .45; }
.screener::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 15%, rgba(11,8,7,.6) 60%, rgba(11,8,7,.3) 100%); }
.screener__inner { position: relative; z-index: 2; }
.screener__copy { font-size: clamp(19px, 1.8vw, 22px); max-width: 28em; margin: 0 0 32px; }
.contact { margin: 56px 0 0; display: flex; flex-wrap: wrap; gap: 20px 56px; }
.contact dt { font: 600 10px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact dd { margin: 0; font: 500 16px/1.4 var(--sans); }
.contact a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact a:hover { border-color: var(--flare); }

/* footer */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 32px; padding-bottom: 32px; border-top: 1px solid var(--line); font: 500 12px/1.4 var(--sans); letter-spacing: .08em; color: var(--muted); }
.footer__mark { font: 400 22px/1 var(--display); text-transform: uppercase; color: var(--bone-dim); }

/* modal + lightbox */
.modal, .lightbox { position: fixed; inset: 0; z-index: 200; background: #050403; display: grid; place-items: center; padding: calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom)); }
.modal[hidden], .lightbox[hidden] { display: none; }
.modal__frame { width: min(1400px, 100%); aspect-ratio: 16 / 9; max-height: 86vh; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 18px; font-size: 40px; line-height: 1; color: var(--bone); background: none; border: 0; cursor: pointer; padding: 8px; }
.lightbox { grid-template-rows: 1fr auto; gap: 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox__bar { display: flex; gap: 10px; }

/* reveal on pass (no pinning) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.move__turn.reveal { transition-delay: .35s; }
.stats .reveal:nth-child(2) { transition-delay: .1s; }
.stats .reveal:nth-child(3) { transition-delay: .2s; }
.stats .reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* responsive */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(2) { border-right: 0; margin-right: 0; }
  .stats li { padding-bottom: 28px; }
  .fall__grid, .synopsis, .person__grid, .person--director .person__grid, .specs__grid { grid-template-columns: 1fr; }
  .person--director .person__photo { order: -1; }
  .person__split { grid-template-columns: 1fr; }
  .person__hero img { aspect-ratio: 1 / 1; object-position: 40% 35%; max-height: none; }
  .sensitive { max-width: 460px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__mark { font-size: 22px; }
  .nav .btn--small { padding: 15px 14px; font-size: 10px; letter-spacing: .14em; }
  .lightbox__bar .btn--small { padding: 15px 18px; }
  .hero__video { object-position: 52% 50%; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
  .band { min-height: 72vh; }
  .band--short { min-height: 56vh; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { margin-right: 14px; padding-right: 14px; }
  .table div { grid-template-columns: 1fr; gap: 4px; }
  .fall__copy p, .synopsis__col p, .person__copy p { font-size: 17px; }
}
