/* ============================================================
   INTRUDER — a film by Austin John Smith
   The house at night: pure black, bone light, grain.
   ============================================================ */

:root {
  --black: #050505;
  --coal: #0b0b0b;
  --bone: #e8e5df;
  --silver: #a39f98;
  --dim: #6a665f;
  --line: rgba(232, 229, 223, 0.13);
  --warm: #c99a5f;
  --warm-dim: #8a6c48;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--bone);
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--bone); color: var(--black); }

img { display: block; max-width: 100%; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- typographic voices ---------- */

.slug {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
}

.kicker {
  font-family: 'Courier Prime', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 2.2rem;
}

/* ---------- grain ---------- */

.grain {
  position: fixed;
  inset: -100px;
  z-index: 50;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  animation: grain-shift 0.9s steps(3) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-40px, 25px); }
  66%  { transform: translate(30px, -35px); }
  100% { transform: translate(0, 0); }
}

/* ---------- cursor ---------- */

@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
  body.has-cursor input, body.has-cursor .cinema-bar { cursor: auto; }
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s;
}

.cursor.on { opacity: 1; }
.cursor.big { width: 44px; height: 44px; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  transform: translateY(-110%);
  transition: transform 0.5s var(--ease-out);
  background: linear-gradient(rgba(5,5,5,0.92), rgba(5,5,5,0.6) 70%, transparent);
}

.nav.show { transform: translateY(0); }

.nav-mark {
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-decoration: none;
  color: var(--bone);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  font-family: 'Courier Prime', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--silver);
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--bone); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.loaded .hero-bg { animation: hero-fade 2.4s 0.2s ease both; }

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 46s linear both;
  filter: brightness(0.72);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 50% 45%, transparent 40%, rgba(5,5,5,0.85) 100%),
    linear-gradient(rgba(5,5,5,0.35), transparent 30%, transparent 62%, var(--black));
}

@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-zoom { from { transform: scale(1.09); } to { transform: scale(1); } }

#dust {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1rem;
}

.hero-slug {
  color: var(--silver);
  opacity: 0;
}

.loaded .hero-slug { animation: fade-up 1.2s 0.7s var(--ease-out) both; }

.hero-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(3.6rem, 13.5vw, 11.5rem);
  line-height: 1;
  letter-spacing: 0.21em;
  margin-right: -0.21em; /* compensate trailing tracking */
  margin-top: 1.6rem;
  color: var(--bone);
  opacity: 0;
  text-shadow: 0 0 80px rgba(0,0,0,0.9);
}

.loaded .hero-title {
  animation:
    title-in 2s 1.15s var(--ease-out) both,
    title-flicker 9s 4.5s linear infinite;
}

@keyframes title-in {
  from { opacity: 0; letter-spacing: 0.4em; filter: blur(6px); }
  to   { opacity: 1; letter-spacing: 0.21em; filter: blur(0); }
}

@keyframes title-flicker {
  0%, 100% { opacity: 1; }
  71.2% { opacity: 1; }
  71.6% { opacity: 0.86; }
  72%   { opacity: 1; }
  84.1% { opacity: 1; }
  84.4% { opacity: 0.93; }
  84.8% { opacity: 1; }
}

.hero-byline {
  margin-top: 1.9rem;
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--silver);
  opacity: 0;
}

.hero-byline span { color: var(--bone); }

.loaded .hero-byline { animation: fade-up 1.2s 2.5s var(--ease-out) both; }

.hero-foot {
  position: absolute;
  z-index: 3;
  bottom: 2.2rem;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  opacity: 0;
}

.loaded .hero-foot { animation: fade-up 1.4s 3.1s var(--ease-out) both; }

.scroll-cue {
  display: block;
  width: 1px;
  height: 54px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.scroll-cue span {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--bone);
  animation: cue-drop 2.2s ease-in-out infinite;
}

@keyframes cue-drop {
  from { top: -40%; }
  to   { top: 110%; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- logline ---------- */

.logline {
  padding: clamp(7rem, 16vh, 12rem) 1.5rem;
  text-align: center;
}

.logline-text {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.9rem, 4.4vw, 3.5rem);
  line-height: 1.3;
  max-width: 26ch;
  margin: 0 auto;
  color: var(--bone);
}

/* ---------- watch ---------- */

.watch {
  padding: clamp(4rem, 10vh, 8rem) clamp(1.2rem, 5vw, 4rem) clamp(6rem, 14vh, 11rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.watch-head {
  text-align: center;
  margin-bottom: 3.2rem;
}

.watch-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.watch-note {
  margin-top: 1.1rem;
  font-style: italic;
  color: var(--silver);
  font-size: 1.05rem;
}

.screen {
  position: relative;
  width: min(1060px, 100%);
  aspect-ratio: 2048 / 858;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--coal);
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease-out), filter 0.8s;
  filter: brightness(0.92);
}

.screen:hover img,
.screen:focus-visible img {
  transform: scale(1.03);
  filter: brightness(1.08);
}

.play-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92px; height: 92px;
  border: 1px solid rgba(232,229,223,0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bone);
  background: rgba(5,5,5,0.28);
  backdrop-filter: blur(3px);
  transition: transform 0.5s var(--ease-out), background 0.4s;
}

.play-ring svg { margin-left: 4px; }

.screen:hover .play-ring,
.screen:focus-visible .play-ring {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(5,5,5,0.5);
}

.screen-slug {
  position: absolute;
  bottom: 1.1rem;
  left: 0; right: 0;
  text-align: center;
  color: var(--bone);
  opacity: 0.85;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

/* ---------- story ---------- */

.story {
  border-top: 1px solid var(--line);
  padding: clamp(5rem, 12vh, 9rem) clamp(1.5rem, 7vw, 6rem);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.story-syn {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 300;
  line-height: 1.45;
  margin-bottom: 2rem;
}

.story-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--silver);
  max-width: 56ch;
}

.spec-poster {
  display: block;
  margin-bottom: 2rem;
  text-decoration: none;
}

.spec-poster img {
  border: 1px solid var(--line);
  transition: filter 0.5s;
  filter: brightness(0.94);
}

.spec-poster:hover img { filter: brightness(1.05); }

.spec-poster .slug {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.6rem;
  color: var(--dim);
  transition: color 0.3s;
}

.spec-poster:hover .slug { color: var(--silver); }

.spec dl { border-top: 1px solid var(--line); }

.spec div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-family: 'Courier Prime', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--dim);
  padding-top: 0.25em;
}

.spec dd {
  font-family: 'Courier Prime', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--bone);
}

/* ---------- divider ---------- */

.divider {
  position: relative;
  height: clamp(420px, 78vh, 760px);
  overflow: hidden;
  display: grid;
  place-items: end center;
}

.divider img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  filter: brightness(0.8);
  will-change: transform;
}

.divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--black), transparent 25%, transparent 70%, var(--black));
}

.divider-quote {
  position: relative;
  z-index: 2;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--bone);
  padding-bottom: clamp(3rem, 9vh, 6rem);
  text-shadow: 0 2px 30px rgba(0,0,0,0.9);
}

/* ---------- stills ---------- */

.stills {
  padding: clamp(5rem, 12vh, 9rem) 0;
}

.stills-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
}

.stills-head .kicker { margin-bottom: 0; }

.stills-nav { display: flex; gap: 0.6rem; }

.stills-nav button {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--silver);
  font-size: 1rem;
  transition: color 0.3s, border-color 0.3s;
}

.stills-nav button:hover { color: var(--bone); border-color: var(--silver); }

.stills-track {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2.4rem clamp(1.5rem, 6vw, 5rem) 1rem;
  scrollbar-width: none;
}

.stills-track::-webkit-scrollbar { display: none; }

.stills-track figure {
  flex: 0 0 min(880px, 78vw);
  scroll-snap-align: center;
}

.stills-track img {
  width: 100%;
  aspect-ratio: 2048 / 858;
  object-fit: cover;
  border: 1px solid var(--line);
}

.stills-track figcaption {
  margin-top: 0.8rem;
  font-size: 0.62rem;
  color: var(--dim);
}

/* ---------- statement ---------- */

.statement {
  border-top: 1px solid var(--line);
  padding: clamp(5rem, 13vh, 10rem) 1.5rem;
  max-width: 46rem;
  margin: 0 auto;
}

.statement .kicker { text-align: center; }

.statement-body p {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 350;
  line-height: 1.8;
  margin-bottom: 1.6em;
}

.statement-body p:first-child::first-letter {
  font-family: 'Anton', sans-serif;
  font-size: 3.4em;
  float: left;
  line-height: 0.82;
  padding: 0.08em 0.14em 0 0;
  color: var(--bone);
}

.statement-sig {
  font-family: 'Courier Prime', monospace;
  font-size: 0.78rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ---------- filmmaker (the warm room) ---------- */

.filmmaker {
  background: linear-gradient(var(--black), #140f09 14%, #140f09 86%, var(--black));
  padding: clamp(5rem, 13vh, 10rem) clamp(1.5rem, 7vw, 6rem);
}

.filmmaker .kicker { color: var(--warm-dim); }

.filmmaker-grid {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr);
  gap: clamp(3rem, 7vw, 7rem);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.filmmaker-photo img {
  border: 1px solid rgba(201, 154, 95, 0.25);
  filter: saturate(0.88) brightness(0.96);
}

.filmmaker-photo figcaption {
  margin-top: 1rem;
  font-size: 0.62rem;
  color: var(--warm-dim);
}

.filmmaker-name {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.06em;
  margin-bottom: 2.4rem;
  color: var(--bone);
}

.filmmaker-bio p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--silver);
  max-width: 58ch;
  margin-bottom: 1.4em;
}

.filmmaker-bio em, .filmmaker-why em { color: var(--bone); }

.filmmaker-why {
  border-left: 1px solid rgba(201, 154, 95, 0.4);
  padding-left: clamp(1.4rem, 3vw, 2.4rem);
  margin: 3rem 0;
}

.filmmaker-why .kicker { margin-bottom: 1.2rem; }

.filmmaker-why p:not(.kicker) {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: var(--bone);
}

.bts-toggle {
  border: 1px solid rgba(201, 154, 95, 0.45);
  padding: 1.1rem 1.9rem;
  transition: background 0.4s, border-color 0.4s;
}

.bts-toggle .slug { color: var(--warm); transition: color 0.4s; }

.bts-toggle:hover {
  background: rgba(201, 154, 95, 0.08);
  border-color: var(--warm);
}

.bts-toggle[aria-expanded="true"] { border-color: var(--warm); background: rgba(201,154,95,0.08); }

.bts { max-width: 1180px; margin: 0 auto; }

.bts-note {
  font-style: italic;
  color: var(--warm);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin: 3.4rem 0 1.8rem;
  text-align: center;
}

.bts-grid {
  columns: 3;
  column-gap: 14px;
}

.bts-grid img {
  margin-bottom: 14px;
  border: 1px solid rgba(201, 154, 95, 0.18);
  break-inside: avoid;
}

/* ---------- credits ---------- */

.credits {
  padding: clamp(5rem, 13vh, 9rem) 1.5rem;
  text-align: center;
}

.credits .kicker { margin-bottom: 3rem; }

.credits-roll {
  display: flex;
  flex-direction: column;
  gap: 2.1rem;
  max-width: 34rem;
  margin: 0 auto;
}

.credits-roll dt {
  font-family: 'Courier Prime', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--dim);
  margin-bottom: 0.55rem;
}

.credits-roll dd {
  font-size: 1.08rem;
  font-weight: 350;
  line-height: 1.6;
  color: var(--bone);
}

/* ---------- contact ---------- */

.contact {
  border-top: 1px solid var(--line);
  padding: clamp(5rem, 14vh, 10rem) 1.5rem clamp(3rem, 6vh, 4rem);
  text-align: center;
}

.contact-lede {
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--silver);
  margin-bottom: 1.6rem;
}

.contact-mail {
  display: inline-block;
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.5rem, 4.6vw, 3.2rem);
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--bone);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.18em;
  transition: border-color 0.35s, color 0.35s;
}

.contact-mail:hover { border-color: var(--bone); }

.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin: 2.6rem 0 5rem;
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--silver);
}

.contact-links a {
  text-decoration: none;
  color: var(--silver);
  transition: color 0.3s;
}

.contact-links a:hover { color: var(--bone); }

.contact-fine {
  font-size: 0.58rem;
  color: var(--dim);
}

/* ---------- cinema ---------- */

.cinema {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #000;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.cinema[hidden] { display: none; }

.cinema.open { opacity: 1; }

.cinema-close {
  position: absolute;
  top: 1.4rem;
  right: 1.8rem;
  z-index: 5;
  color: var(--silver);
  transition: color 0.3s;
  padding: 0.6rem;
}

.cinema-close:hover { color: var(--bone); }

.cinema-stage {
  position: relative;
  width: min(96vw, calc(88vh * 2.386));
}

.cinema-stage video {
  width: 100%;
  display: block;
  background: #000;
}

.cinema-gate {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  background: #000;
  text-align: center;
  padding: 2rem;
}

.cinema.locked .cinema-gate { display: flex; }
.cinema.locked .cinema-bigplay,
.cinema.locked .cinema-bar,
.cinema.locked video { visibility: hidden; }

.gate-lede {
  font-style: italic;
  font-weight: 300;
  color: var(--silver);
  font-size: 1.05rem;
  max-width: 34ch;
}

.gate-lede em { color: var(--bone); }

#gate-pass {
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  font-family: 'Courier Prime', monospace;
  font-size: 1rem;
  letter-spacing: 0.4em;
  text-align: center;
  padding: 0.7rem 0.5rem;
  width: min(300px, 80vw);
  outline: none;
  transition: border-color 0.3s;
}

#gate-pass:focus { border-color: var(--silver); }

#gate-pass::placeholder { color: var(--dim); letter-spacing: 0.3em; }

.cinema-gate button {
  border: 1px solid var(--line);
  padding: 0.85rem 2.2rem;
  transition: border-color 0.3s, background 0.3s;
}

.cinema-gate button:hover { border-color: var(--silver); background: rgba(232,229,223,0.05); }

.gate-error { color: #b0655a; }

.cinema-gate.shake { animation: gate-shake 0.4s; }

@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-9px); }
  50% { transform: translateX(7px); }
  75% { transform: translateX(-4px); }
}

.cinema-bigplay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 108px; height: 108px;
  border: 1px solid rgba(232,229,223,0.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bone);
  background: rgba(0,0,0,0.35);
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}

.cinema-bigplay svg { margin-left: 5px; }

.cinema.playing .cinema-bigplay { opacity: 0; pointer-events: none; }

.cinema-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 2.2rem 1.2rem 0.9rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  opacity: 0;
  transition: opacity 0.4s;
}

.cinema.show-ui .cinema-bar,
.cinema:not(.playing) .cinema-bar { opacity: 1; }

.cinema-bar button {
  color: var(--silver);
  display: grid;
  place-items: center;
  padding: 0.35rem;
  transition: color 0.25s;
}

.cinema-bar button:hover { color: var(--bone); }

.ctl-time {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--silver);
  min-width: 3.4em;
  text-align: center;
}

#ctl-seek {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 2px;
  background: rgba(232,229,223,0.22);
  outline: none;
}

#ctl-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bone);
}

#ctl-seek::-moz-range-thumb {
  width: 11px; height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--bone);
}

#ctl-play .i-pause, .cinema.playing #ctl-play .i-play { display: none; }
.cinema.playing #ctl-play .i-pause { display: block; }
#ctl-mute .i-muted, .cinema.muted #ctl-mute .i-vol { display: none; }
.cinema.muted #ctl-mute .i-muted { display: block; }

body.lights-out { overflow: hidden; }
body.lights-out .cursor { display: none; }
body.has-cursor.lights-out, body.has-cursor.lights-out button { cursor: auto; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .story-grid, .filmmaker-grid { grid-template-columns: 1fr; }
  .filmmaker-photo { max-width: 420px; }
  .bts-grid { columns: 2; }
  .nav { padding: 1rem 1.2rem; }
  .nav-links { gap: 1.1rem; }
  .nav-links a:not([href="#watch"]):not([href="#filmmaker"]) { display: none; }
  .stills-track figure { flex-basis: 86vw; }
  .spec div { grid-template-columns: 8rem 1fr; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .hero-bg img { animation: none; transform: none; }
  .loaded .hero-title { animation: title-in 0.01s both; }
  .loaded .hero-slug, .loaded .hero-byline, .loaded .hero-foot,
  .loaded .hero-bg { animation-duration: 0.01s; animation-delay: 0s; }
  .scroll-cue span { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .cursor { display: none; }
  #dust { display: none; }
}
