/* ============================================================
   BRAND.CSS — shared across web + print
   Colors, typography, layout primitives, section styles.
   Nothing in here should be screen- or print-specific.
   ============================================================ */

/* --- ABC Favorit (Northbound branded typeface) --- */
@font-face {
  font-family: 'ABC Favorit';
  src: url('/assets/fonts/ABCFavorit-Regular-Trial.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ABC Favorit Extended';
  src: url('/assets/fonts/ABCFavoritExtended-Light-Trial.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ABC Favorit Extended';
  src: url('/assets/fonts/ABCFavoritExtended-Bold-Trial.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:       #0b0906;
  --surface:  #161009;
  --surface2: #1f1710;
  --text:     #e6dccc;
  --muted:    #7a6e5e;
  --accent:   #c96e28;
  --gold:     #FFD700;
  --rule:     #2e2318;
  --light:    #f0e8d8;

  /* Typography tokens */
  --font-heading: 'ABC Favorit Extended', sans-serif;
  --font-body:    'ABC Favorit', sans-serif;
  --font-label:   'ABC Favorit Extended', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 3rem 2rem;
  background: linear-gradient(
    to bottom,
    rgba(11, 9, 6, 1) 0%,
    rgba(11, 9, 6, 0.95) 50%,
    rgba(11, 9, 6, 0.75) 75%,
    rgba(11, 9, 6, 0.4) 90%,
    transparent 100%
  );
  padding-bottom: 2.5rem;
}
.nav-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ---------- HERO ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 6vw 5vh;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(180,90,20,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(201,110,40,0.08) 0%, transparent 60%),
    var(--bg);
  overflow: hidden;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(-8deg, transparent, transparent 42px, rgba(201,110,40,0.04) 42px, rgba(201,110,40,0.04) 43px);
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.hero-text {
  display: flex;
  flex-direction: column;
}
.hero-poster {
  max-width: 440px;
  width: 100%;
}
.hero-poster img {
  width: 100%;
  height: auto;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}
@media (max-width: 900px) {
  .hero-poster {
    max-width: 300px;
  }
}

.hero-eyebrow {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--light);
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 80px rgba(201,110,40,0.15);
}
.hero-title { color: var(--gold); }
.hero-title span { display: block; color: var(--light); }
.hero-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  margin: 2.5rem 0;
}
.hero-logline {
  max-width: 860px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.hero-meta {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 0.3rem; }
.hero-meta-label {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
}
.hero-meta-value {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--light);
}

/* ---------- TRAILER ---------- */
#trailer { border-top: 1px solid var(--rule); }

/* Trailer list — stacked vertically, each full-width */
.trailers-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.trailer-item { display: flex; flex-direction: column; margin: 0; }
.trailer-item-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
}
.trailer-item-label {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: var(--light);
}
.trailer-item-note {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.trailer-item-wrapper {
  position: relative;
  padding-top: 56.25%;
  background: var(--surface2);
  overflow: hidden;
}
.trailer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* Play button overlay */
.trailer-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 9, 6, 0.35);
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 2;
}
.trailer-play-overlay:hover {
  background: rgba(11, 9, 6, 0.15);
}
.trailer-play-overlay.hidden {
  display: none;
}
.trailer-play-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.trailer-play-overlay:hover .trailer-play-btn {
  transform: scale(1.08);
}
.trailer-play-btn svg {
  fill: var(--gold);
  margin-left: 4px;
}

/* Pause overlay — shown when video is paused mid-playback */
.trailer-pause-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 9, 6, 0.45);
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease;
}
.trailer-pause-overlay:hover {
  background: rgba(11, 9, 6, 0.25);
}
.trailer-pause-overlay.visible {
  display: flex;
}
.trailer-pause-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.3s ease;
}
.trailer-pause-overlay:hover .trailer-pause-btn {
  transform: scale(1.08);
}
.trailer-pause-bar {
  width: 6px;
  height: 22px;
  background: var(--gold);
  border-radius: 1px;
}

.trailer-wrapper {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #0b0906;
}
.trailer-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  background: linear-gradient(160deg, #1a1208 0%, #0b0906 100%);
}
.trailer-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(-12deg, transparent, transparent 38px, rgba(201,110,40,0.04) 38px, rgba(201,110,40,0.04) 39px);
}
.trailer-play-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.trailer-play-ring svg { fill: var(--accent); margin-left: 4px; }
.trailer-label { text-align: center; position: relative; z-index: 1; }
.trailer-label-main {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.12em;
  color: var(--light);
  line-height: 1;
}
.trailer-label-sub {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 0.6rem;
}
.trailer-footer {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.trailer-footer-line { flex: 1; height: 1px; }
.trailer-footer-line.l { background: linear-gradient(to right, transparent, var(--rule)); }
.trailer-footer-line.r { background: linear-gradient(to left, transparent, var(--rule)); }
.trailer-footer-text {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--rule);
  padding: 0 1.5rem;
  text-transform: uppercase;
}

/* ---------- SHARED SECTION ---------- */
section { padding: 7rem 6vw; }
.section-label {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.section-heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--light);
  margin-bottom: 3rem;
}
.placeholder { color: var(--muted); font-style: italic; }

/* ---------- SYNOPSIS ---------- */
#synopsis {
  background:
    linear-gradient(135deg, rgba(201,110,40,0.05) 0%, transparent 50%),
    var(--surface);
  border-top: 1px solid var(--rule);
}
.synopsis-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.synopsis-banner {
  margin-top: -3rem;
}
.synopsis-banner img {
  width: 100%;
  height: 45vh;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.synopsis-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, var(--surface), transparent);
  pointer-events: none;
  z-index: 1;
}
.synopsis-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}
.synopsis-heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--light);
}
.synopsis-body {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 300;
}
.synopsis-body p + p { margin-top: 1.2em; }
.synopsis-pull {
  margin-top: 2.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  line-height: 1.4;
}

/* ---------- CAST ---------- */
#cast { background: var(--bg); border-top: 1px solid var(--rule); }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cast-card {
  /* Button reset — the card is now a clickable button */
  font: inherit;
  color: inherit;
  text-align: left;
  appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  /* Card styles */
  position: relative;
  aspect-ratio: 3/4;
  background: var(--surface);
  overflow: hidden;
  display: block;
  width: 100%;
}
.cast-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* "Read bio" hint that appears on hover/focus */
.cast-hint {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  background: rgba(11, 9, 6, 0.8);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.cast-card:hover .cast-hint,
.cast-card:focus-visible .cast-hint {
  opacity: 1;
  transform: translateY(0);
}
.cast-photo-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--surface2) 0%, var(--bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cast-photo-placeholder svg { width: 60px; height: 60px; opacity: 0.12; }
.cast-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cast-info {
  position: absolute;
  top: 76%;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(11,9,6,0.97) 40%, rgba(11,9,6,0.6) 75%, transparent);
  padding: 1rem 1.4rem 1.4rem;
  overflow: hidden;
}
.cast-name {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--light);
  line-height: 1;
}
.cast-role {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.cast-bio {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.6rem;
  line-height: 1.5;
}

/* ---------- CAST DIALOG ---------- */
.cast-dialog {
  background: var(--bg);
  color: var(--text);
  border: none;
  padding: 0;
  max-width: 1400px;
  width: 96vw;
  max-height: 90vh;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  position: fixed;
  overflow: hidden;
  margin: auto;
}
.cast-dialog::backdrop {
  background: rgba(11, 9, 6, 0.88);
  backdrop-filter: blur(6px);
}
.cast-dialog[open] {
  animation: dialogIn 0.3s ease;
}
@keyframes dialogIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cast-dialog-close-form {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  margin: 0;
}
.cast-dialog-close {
  background: rgba(11, 9, 6, 0.9);
  border: 1px solid var(--rule);
  color: var(--light);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s, color 0.2s;
}
.cast-dialog-close:hover,
.cast-dialog-close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}
.cast-dialog-body {
  display: grid;
  grid-template-columns: 45% 1fr;
  grid-template-rows: minmax(520px, 90vh);
  overflow: hidden;
}
.cast-dialog-photo {
  position: relative;
  background: var(--surface2);
  overflow: hidden;
}
.cast-dialog-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.cast-dialog-photo .cast-photo-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--surface2) 0%, var(--bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cast-dialog-photo .cast-photo-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.12;
}
.cast-dialog-text {
  padding: 3.5rem 4rem 3rem 3rem;
  overflow-y: auto;
}
.cast-dialog-role {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.cast-dialog-name {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 0.06em;
  color: var(--light);
  line-height: 0.95;
  margin-bottom: 1.8rem;
}
.cast-dialog-bio {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.75;
}
.cast-dialog-bio p + p { margin-top: 1em; }

@media (max-width: 720px) {
  .cast-dialog-body {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }
  .cast-dialog-photo {
    aspect-ratio: 3/4;
    position: relative;
  }
  .cast-dialog-text {
    padding: 2rem 1.5rem;
  }
}

/* ---------- BTS ---------- */
#bts { background: var(--bg); border-top: 1px solid var(--rule); }
.bts-intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 5rem;
}
.bts-heading { font-size: clamp(2rem, 3.5vw, 3.2rem); color: var(--light); line-height: 1; }
.bts-body {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.bts-note {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.bts-badge {
  padding: 1.5rem 2rem;
  border: 1px solid var(--rule);
  background: var(--surface2);
}
.bts-badge-label {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.bts-badge-title {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--light);
}
.bts-badge-status {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.4rem;
}
/* Featurette placeholder */
.featurette-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featurette-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(11, 9, 6, 0.45);
}

/* Featurette — full-width video above the clips grid */
.featurette {
  margin-bottom: 5rem;
}
.featurette-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
}

/* Social cuts — 9:16 vertical interview placeholders */
.social-cuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}
@media (max-width: 900px) {
  .social-cuts-grid { grid-template-columns: repeat(2, 1fr); }
}
.social-cut {
  display: flex;
  flex-direction: column;
}
/* Clickable thumbnail card (button reset) */
.social-cut-card {
  font: inherit;
  color: inherit;
  text-align: left;
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  width: 100%;
  cursor: pointer;
  display: block;
}
.social-cut-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.social-cut-wrapper {
  position: relative;
  padding-top: 177.78%; /* 16/9 = 1.7778 for 9:16 aspect */
  background: var(--surface2);
  overflow: hidden;
}
.social-cut-wrapper img,
.social-cut-wrapper .trailer-video,
.social-cut-wrapper .featurette-placeholder,
.social-cut-wrapper .trailer-play-overlay,
.social-cut-wrapper .trailer-pause-overlay {
  position: absolute;
  inset: 0;
}
.social-cut-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.social-cut-card:hover .social-cut-wrapper img {
  transform: scale(1.04);
}
.social-cut-card:hover .trailer-play-btn {
  transform: scale(1.08);
}
.social-cut-wrapper .trailer-play-overlay {
  align-items: flex-end;
  padding-bottom: 18%;
}
.social-cut-wrapper .trailer-play-btn {
  width: 64px;
  height: 64px;
}
.social-cut-wrapper .trailer-pause-btn {
  width: 52px;
  height: 52px;
}
.social-cut-wrapper .trailer-pause-bar {
  width: 5px;
  height: 18px;
}
.social-cut-label {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--light);
  margin-top: 0.8rem;
}
.social-cut-role {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* Interview modal — 16:9 player opened from a One on One thumbnail */
.interview-dialog {
  background: var(--bg);
  color: var(--text);
  border: none;
  padding: 0;
  width: min(92vw, 1100px);
  max-width: 1100px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  position: fixed;
  inset: 0;
  margin: auto;
  overflow: visible;
}
.interview-dialog::backdrop {
  background: rgba(11, 9, 6, 0.88);
  backdrop-filter: blur(6px);
}
.interview-dialog[open] {
  animation: dialogIn 0.3s ease;
}
.interview-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.interview-dialog-close-form {
  position: absolute;
  top: -1.2rem;
  right: -1.2rem;
  z-index: 10;
  margin: 0;
}
.interview-dialog-close {
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s, color 0.2s;
}
.interview-dialog-close:hover,
.interview-dialog-close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}
@media (max-width: 600px) {
  .interview-dialog-close-form {
    top: 0.6rem;
    right: 0.6rem;
  }
}

.bts-clips-label {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.bts-clips-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--rule);
}
.bts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.bts-embed { display: flex; flex-direction: column; }
.bts-embed-label {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  background: var(--surface2);
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* BTS thumbnail behind overlay */
.bts-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BTS play overlay — click to load Vimeo iframe */
.bts-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 9, 6, 0.45);
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 2;
}
.bts-play-overlay:hover {
  background: rgba(11, 9, 6, 0.2);
}

.video-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.video-link:hover { color: var(--accent); }

/* ---------- MUSIC / SCORE ---------- */
#music {
  background: var(--surface);
  border-top: 1px solid var(--rule);
}
.music-section {
  display: flex;
  flex-direction: column;
}
.music-banner {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  position: relative;
  background: var(--surface2);
}
.music-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.music-banner-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: linear-gradient(160deg, var(--surface2) 0%, var(--bg) 100%);
}
.music-banner-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: linear-gradient(160deg, var(--surface2) 0%, var(--bg) 100%);
}
.music-meta {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-top: 1.4rem;
}
.music-track-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}
.music-track-artist {
  font-size: 0.85rem;
  color: var(--muted);
}
.music-player-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
}
.music-waveform-container {
  flex: 1;
}
.music-waveform {
  position: relative;
  height: 64px;
  cursor: pointer;
  overflow: hidden;
  background: var(--bg);
  border-radius: 2px;
}
#waveform-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.music-waveform-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: rgba(255, 215, 0, 0.15);
  pointer-events: none;
  transition: width 0.1s linear;
}
.music-waveform-progress::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}
.music-waveform-hover {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: rgba(255, 215, 0, 0.06);
  pointer-events: none;
  display: none;
}
.music-waveform:hover .music-waveform-hover {
  display: block;
}
.music-time {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.music-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.music-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: none;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.music-play-btn:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: scale(1.05);
}
.music-play-btn .music-icon-pause {
  display: none;
}
.music-play-btn.playing .music-icon-play {
  display: none;
}
.music-play-btn.playing .music-icon-pause {
  display: block;
}

/* ---------- KEY ART ---------- */
#keyart {
  background: var(--bg);
  border-top: 1px solid var(--rule);
}
/* Key Art — deck-style horizontal carousel; slides share one height so verticals fit fully */
.keyart-viewer {
  position: relative;
  margin-top: 3rem;
}
.keyart-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: rgba(11, 9, 6, 0.85);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.keyart-arrow:hover {
  background: var(--surface2);
  border-color: var(--text);
  color: var(--text);
}
.keyart-arrow-left { left: 1rem; }
.keyart-arrow-right { right: 1rem; }
.keyart-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.keyart-scroll::-webkit-scrollbar { height: 6px; }
.keyart-scroll::-webkit-scrollbar-track { background: transparent; }
.keyart-scroll::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.keyart-scroll::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.keyart-slide {
  flex: 0 0 auto;
  height: min(78vh, 760px);
  scroll-snap-align: center;
  position: relative;
  display: block;
  text-decoration: none;
  border: 1px solid var(--rule);
}
.keyart-slide img {
  height: 100%;
  width: auto;
  display: block;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.4);
}
.keyart-download-hint {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: rgba(11, 9, 6, 0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.keyart-slide:hover .keyart-download-hint {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px) {
  .keyart-slide { height: 62vh; }
}

/* ---------- FILMMAKERS ---------- */
#filmmakers { background: var(--surface); border-top: 1px solid var(--rule); }
.filmmaker-featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--rule);
}
.filmmaker-photo {
  aspect-ratio: 3/4;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.filmmaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to right, black, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to right, black, black 70%, transparent);
  -webkit-mask-composite: source-in;
}
.filmmaker-photo svg { opacity: 0.1; }
.filmmaker-role-tag {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.filmmaker-name {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--light);
  margin-bottom: 1.5rem;
}
.filmmaker-bio {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.75;
}
.filmmaker-bio p + p { margin-top: 1em; }
.director-filmography { margin-top: 2.5rem; }
.filmmaker-photo--director img { object-position: 50% 22%; }
.filmmaker-photo-credit {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.75rem;
  text-align: left;
}

/* Expandable bio — shows first 2 paragraphs, fades out */
.expandable-bio.collapsed {
  position: relative;
  max-height: 10em;
  overflow: hidden;
}
.expandable-bio.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4em;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}
.expandable-bio.expanded {
  max-height: none;
}
.expandable-bio.expanded::after {
  display: none;
}
.bio-expand-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--gold);
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
  float: right;
}
.bio-expand-btn:hover {
  color: var(--light);
}
.bio-expand-btn.hidden {
  display: none;
}
/* Production companies — equal-weight logo wall.
   Logos are pre-normalized to equal ink-area on identical canvases
   (src/assets/logos/norm/), so a clean even grid renders them at
   matching visual weight. */
.production-companies {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.75rem;
  align-items: center;
}
.production-company {
  display: grid;
  place-items: center;
}
.production-company .producer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  color: var(--light);
  line-height: 1.1;
  text-align: center;
}
.production-company-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
}
@media (max-width: 1000px) {
  .production-companies { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }
}
@media (max-width: 540px) {
  .production-companies { grid-template-columns: repeat(2, 1fr); }
}

.producers-title {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.producers-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.producer-item { padding: 1.8rem 0; border-bottom: 1px solid var(--rule); }
.producer-role {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.producer-name {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--light);
}
@media (max-width: 600px) {
  /* Key Crew + Producers/EPs: two per row on phones */
  .producers-list { grid-template-columns: repeat(2, 1fr); column-gap: 1.25rem; }
  .producer-item { padding: 1.2rem 0; }
  .producer-name { font-size: 1.05rem; }
}

/* ---------- STATEMENT ---------- */
#statement { background: var(--bg); border-top: 1px solid var(--rule); }
.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}
.statement-inner { max-width: 900px; }
.statement-body {
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--accent);
}
.statement-body p + p { margin-top: 1.2em; }
.statement-body::before {
  content: '\201C';
  font-family: var(--font-body);
  font-size: 8rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: -2rem;
  left: -0.5rem;
  line-height: 1;
  pointer-events: none;
}
.statement-image {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-right: -6vw;
  min-height: 0;
}
.statement-image img {
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  object-fit: cover;
  display: block;
}
.statement-image img:first-child {
  mask-image: linear-gradient(to bottom, transparent, black 15%),
              linear-gradient(to right, transparent, black 15%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%),
                      linear-gradient(to right, transparent, black 15%);
  -webkit-mask-composite: source-in;
}
.statement-image img:last-child {
  mask-image: linear-gradient(to top, transparent, black 15%),
              linear-gradient(to right, transparent, black 15%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to top, transparent, black 15%),
                      linear-gradient(to right, transparent, black 15%);
  -webkit-mask-composite: source-in;
}

/* ---------- DECK ---------- */
#deck { background: var(--surface); border-top: 1px solid var(--rule); }
.deck-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.deck-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--accent);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.deck-download:hover {
  background: var(--accent);
  color: var(--bg);
}
.deck-viewer {
  position: relative;
  margin-top: 3rem;
}
.deck-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: rgba(11, 9, 6, 0.85);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.deck-arrow:hover {
  background: var(--surface2);
  border-color: var(--text);
  color: var(--text);
}
.deck-arrow-left { left: 1rem; }
.deck-arrow-right { right: 1rem; }
.deck-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.deck-scroll::-webkit-scrollbar {
  height: 6px;
}
.deck-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.deck-scroll::-webkit-scrollbar-thumb {
  background: var(--rule);
  border-radius: 3px;
}
.deck-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}
.deck-slide {
  flex: 0 0 auto;
  width: 75vw;
  max-width: 960px;
  height: auto;
  scroll-snap-align: center;
  border: 1px solid var(--rule);
  display: block;
}
.deck-counter {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-align: center;
  margin-top: 1.2rem;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .deck-slide {
    width: 90vw;
  }
}

/* ---------- SPECS ---------- */
#specs { background: var(--surface); border-top: 1px solid var(--rule); }
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
}
@media (max-width: 700px) {
  .specs-grid { grid-template-columns: 1fr; }
}
.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  gap: 1rem;
}
.spec-label {
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}
.spec-value {
  font-size: 1rem;
  color: var(--text);
  text-align: right;
}

/* ---------- PRESS ---------- */
#press {
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(201,110,40,0.1) 0%, transparent 65%),
    var(--bg);
  border-top: 1px solid var(--rule);
}
.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.press-note {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}
.contact-block {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact-block + .contact-block { border-top: none; }
.contact-label {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.contact-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--light);
}
.contact-detail {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.contact-detail a { color: var(--muted); text-decoration: none; }
.contact-detail a:hover { color: var(--accent); }
.assets-panel {
  background: var(--surface);
  padding: 3rem;
  border: 1px solid var(--rule);
}
.assets-title {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.asset-list { list-style: none; }
.asset-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--muted);
}
.asset-item:last-child { border-bottom: none; }
.asset-download {
  color: var(--gold);
  border-color: var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.asset-download:hover {
  background: rgba(255, 215, 0, 0.1);
}
.asset-tag {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--rule);
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 3rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.footer-copy {
  font-family: var(--font-label); font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0.5;
}

/* ---------- DIALOGUE EXCERPTS ---------- */
.dialogue-interstitial {
  width: 100%;
  line-height: 0;
  margin-top: 4rem;
}
.dialogue-interstitial + #deck {
  margin-top: 2.5rem;
}
.dialogue-interstitial img {
  width: 100%;
  height: auto;
  display: block;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 5rem 5vw; }
  .synopsis-grid, .bts-intro-grid, .filmmaker-featured, .press-grid, .statement-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .statement-image {
    margin-right: 0;
  }
  .bts-grid { grid-template-columns: 1fr; }
  .filmmaker-photo { max-width: 260px; }
  footer { flex-direction: column; gap: 1rem; align-items: flex-start; }
}
