:root {
  /* Strict 3-color core (Niki Aroca rule): Obsidian + Warm Film Bone + Cap Signal Red */
  --bg: #101013;
  --surface: #16161a;
  --surface-elev: #1d1d23;
  --ink: #efe9dc;
  --ink-muted: #a69f92;
  --accent: #e04b3f;
  --cobalt-mark: #3d7bf0; /* Used strictly on brand emblem badges */
  --line: rgba(239, 233, 220, 0.13);
  --line-strong: rgba(239, 233, 220, 0.28);

  --font-display: "Instrument Serif", Georgia, serif;
  --font-sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  padding-bottom: 68px; /* Space for 35mm scrubber */
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ---------- MANDATORY SCROLL PROGRESS INDICATOR ---------- */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 120;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

@keyframes grow-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll())) {
    #progress {
      animation: grow-progress linear forwards;
      animation-timeline: scroll();
    }
  }
}

/* ---------- SINGLE RIPPLED FILM GRAIN TEXTURE (Son Daven discipline) ---------- */
.film-grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 95;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
}

/* ---------- STICKY TOP BAR ---------- */
.topbar {
  position: sticky;
  top: 3px;
  z-index: 90;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(16, 16, 19, 0.86);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: auto;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topnav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--ink);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-btn,
.close-btn,
.mode-switch {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease, transform 160ms ease;
}

.pill-btn:hover,
.close-btn:hover,
.mode-switch:hover {
  border-color: var(--ink);
  background: var(--surface-elev);
}

.pill-btn.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #101013;
  font-weight: 700;
}

.pill-btn.accent:hover {
  filter: brightness(1.08);
}

/* ---------- HERO: APERTURE MASK + 2.5D PARALLAX STAGE ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 84vh, 840px);
  display: flex;
  align-items: flex-end;
  padding: 64px 20px 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0b0b0e;
  overflow: hidden;
}

.hero-media,
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-media.is-active,
.hero-canvas.is-active {
  opacity: 0.78;
}

/* Son Daven mask iris reveal */
@keyframes apertureOpen {
  from {
    clip-path: circle(12% at 62% 45%);
  }
  to {
    clip-path: circle(95% at 50% 50%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-stage {
    animation: apertureOpen 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

.aperture-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 65% 36%, rgba(16, 16, 19, 0.14) 0%, rgba(16, 16, 19, 0.78) 62%, rgba(16, 16, 19, 0.96) 100%),
    linear-gradient(180deg, rgba(16, 16, 19, 0.45) 0%, rgba(16, 16, 19, 0.25) 40%, #101013 97%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

/* Rourke-compliant upward slide reveal inside clipped line wrappers (no fade/bounce) */
.hero-title {
  margin: 0 0 18px;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 14ch;
}

.hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.reveal-word {
  display: inline-block;
  transform: translateY(108%);
}

@keyframes wordSlideUp {
  to {
    transform: translateY(0%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-word {
    animation: wordSlideUp 620ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .reveal-line:nth-child(1) .reveal-word:nth-child(1) { animation-delay: 80ms; }
  .reveal-line:nth-child(1) .reveal-word:nth-child(2) { animation-delay: 140ms; }
  .reveal-line:nth-child(1) .reveal-word:nth-child(3) { animation-delay: 200ms; }
  .reveal-line:nth-child(2) .reveal-word:nth-child(1) { animation-delay: 270ms; }
  .reveal-line:nth-child(2) .reveal-word:nth-child(2) { animation-delay: 330ms; }
  .reveal-line:nth-child(2) .reveal-word:nth-child(3) { animation-delay: 390ms; }
  .reveal-line:nth-child(3) .reveal-word:nth-child(1) { animation-delay: 460ms; }
  .reveal-line:nth-child(3) .reveal-word:nth-child(2) { animation-delay: 520ms; }
  .reveal-line:nth-child(3) .reveal-word:nth-child(3) { animation-delay: 580ms; }
}

.hero-sub {
  max-width: 60ch;
  color: #cfc8ba;
  font-size: clamp(15px, 1.5vw, 18px);
  margin: 0 0 26px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #101013;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.btn-ghost {
  background: rgba(22, 22, 26, 0.72);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface-elev);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin: 0;
}

.hero-metrics dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.hero-metrics dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.concave-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 36px;
  z-index: 3;
  pointer-events: none;
}

/* ---------- SECTIONS & TYPOGRAPHY ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 20px 24px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.section-lead {
  max-width: 48ch;
  color: var(--ink-muted);
  margin: 0;
  font-size: 15px;
}

/* ---------- MANDATORY SCROLLYTELLING STAGE TRACKING ---------- */
.scroll-stage {
  position: relative;
}

@keyframes stage-emerge {
  from {
    opacity: 0.25;
    transform: translateY(34px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .scroll-stage {
      view-timeline: --stage-tl block;
      animation: stage-emerge linear both;
      animation-timeline: --stage-tl;
      animation-range: entry 0% cover 34%;
    }
  }
}

/* JS IntersectionObserver .scroll-fallback support when animation-range is unavailable */
.scroll-fallback .scroll-stage {
  --p: 0;
  opacity: calc(0.28 + 0.72 * min(1, max(0, var(--p) * 2)));
  transform: translateY(calc((1 - min(1, max(0, var(--p) * 2))) * 26px));
  transition: opacity 80ms linear, transform 80ms linear;
}

/* ---------- FILM SLATE CARDS ---------- */
.slate-list {
  display: grid;
  gap: 24px;
}

.film-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  align-items: center;
  transition: border-color 220ms ease, background 220ms ease;
}

.film-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
}

.film-card:nth-child(even) .film-media-wrap {
  order: 2;
}

.film-card:hover {
  border-color: var(--line-strong);
  background: #19191f;
}

.film-card.is-draft {
  border-style: dashed;
  border-color: rgba(239, 233, 220, 0.34);
}

.film-media-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0c;
  cursor: pointer;
}

.film-media-wrap img,
.film-media-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-media-wrap video {
  opacity: 0;
  transition: opacity 280ms ease;
}

.film-card:hover .film-media-wrap video,
.film-media-wrap.is-playing video {
  opacity: 1;
}

.film-badge-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.film-num,
.film-award {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 16, 19, 0.85);
  border: 1px solid var(--line-strong);
}

.film-award {
  color: var(--ink);
  border-color: rgba(224, 75, 63, 0.6);
}

.film-play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(16, 16, 19, 0.15), rgba(16, 16, 19, 0.45));
  opacity: 0.92;
  transition: opacity 200ms ease;
}

.film-play-pill {
  background: rgba(16, 16, 19, 0.9);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.film-card:hover .film-play-pill {
  background: var(--accent);
  color: #101013;
  border-color: var(--accent);
}

.film-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.film-body h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.02em;
}

.film-premiere {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 12px;
}

.film-logline {
  margin: 0 0 14px;
  color: #d6d0c4;
  font-size: 15px;
}

.film-rule {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
  margin: 0 0 18px;
}

.film-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.reel-banner {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(120deg, #17171d, #121216);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.reel-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
}

.reel-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-chip {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(16, 16, 19, 0.88);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
}

.reel-body h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.reel-body p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

/* ---------- TACTILE SET <-> SCREEN WIPE (Sideways DNA) ---------- */
.wipe-tabs,
.bts-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: all 160ms ease;
}

.filter-chip.is-active,
.filter-chip:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: rgba(224, 75, 63, 0.14);
}

.compare-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.compare-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #09090b;
  user-select: none;
  touch-action: pan-y;
  --wipe: 54%;
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--wipe)) 0 0);
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--wipe);
  width: 2px;
  background: var(--ink);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  z-index: 4;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #101013;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.compare-tag {
  position: absolute;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(16, 16, 19, 0.86);
  border: 1px solid var(--line);
  z-index: 5;
  pointer-events: none;
}

.compare-tag.left { left: 14px; color: var(--ink); }
.compare-tag.right { right: 14px; color: var(--ink-muted); }

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

.compare-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  padding: 14px 4px 2px;
}

.compare-meta p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.compare-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

/* ---------- 35MM BTS CONTACT SHEET ---------- */
.contact-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 12px;
  background: #0c0c0f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.contact-cell {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #141418;
  border: 1px solid rgba(239, 233, 220, 0.1);
  border-radius: 8px;
  padding: 7px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-cell:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.contact-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 5px;
  overflow: hidden;
  background: #09090b;
  margin-bottom: 8px;
}

.contact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-type {
  position: absolute;
  top: 6px;
  right: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(16, 16, 19, 0.88);
  border: 1px solid var(--line-strong);
}

.contact-type.is-clip {
  background: var(--accent);
  color: #101013;
  border-color: var(--accent);
  font-weight: 700;
}

.contact-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 3px;
}

.contact-cap {
  font-size: 12px;
  color: #ccc5b7;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- CREW UNIT GRID (Auntie Land tactile unit card inspiration) ---------- */
.sideways-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  font-size: 12px;
  color: var(--ink-muted);
}

.pencil-flourish {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.crew-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms ease;
}

.crew-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.crew-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.crew-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #1f1f26;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.crew-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crew-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.crew-card h3 {
  margin: 2px 0 0;
  font-size: 20px;
}

.crew-role {
  font-size: 12px;
  color: var(--ink-muted);
}

.crew-note {
  margin: 0;
  font-size: 14px;
  color: #d6d0c4;
}

.crew-credits {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

/* ---------- CLAPPERBOARD CALL SHEET ---------- */
.clapper-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  align-items: center;
}

.clapper-visual {
  background: #0d0d10;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
}

.clapper-arm {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 26px;
  background: #141418;
  border-bottom: 2px solid var(--ink);
  transform-origin: left bottom;
  transform: rotate(-8deg);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.clapper-visual.is-snapped .clapper-arm {
  transform: rotate(0deg);
}

.clapper-arm span:nth-child(odd) {
  background: var(--ink);
  transform: skewX(-24deg);
}

.clapper-arm span:nth-child(even) {
  background: #141418;
  transform: skewX(-24deg);
}

.clapper-face {
  padding: 16px;
  display: grid;
  gap: 12px;
  font-family: var(--font-mono);
}

.clapper-row {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.clapper-row.top,
.clapper-row.bot {
  grid-template-columns: 2fr 1fr 1fr;
}

.clapper-row.mid {
  grid-template-columns: 1fr 1fr;
}

.clapper-row small {
  display: block;
  font-size: 9px;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
}

.clapper-row strong {
  font-size: 12px;
  color: var(--ink);
}

.callsheet-form h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.form-note {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--ink-muted);
}

.callsheet-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.callsheet-form label span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.callsheet-form input,
.callsheet-form select,
.callsheet-form textarea {
  width: 100%;
  background: #0d0d10;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

.callsheet-form input:focus,
.callsheet-form select:focus,
.callsheet-form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.form-feedback {
  font-size: 13px;
  color: var(--ink);
}

/* ---------- FOOTER ---------- */
.site-footer {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 24px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--ink-muted);
}

.site-footer p {
  margin: 0;
}

/* ---------- BOTTOM 35MM TIMECODE SCRUBBER ---------- */
.scrubber-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 88;
  background: rgba(16, 16, 19, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.scrubber-tc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.tc-label {
  color: var(--accent);
  font-weight: 700;
}

.scrubber-ticks {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
}

.scrubber-ticks::-webkit-scrollbar {
  display: none;
}

.tick-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}

.tick-btn.is-active,
.tick-btn:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: rgba(224, 75, 63, 0.16);
}

.scrubber-top {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
}

/* ---------- DIALOG MODALS (closedby="any") ---------- */
.modal-dialog {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--ink);
  max-width: min(960px, 94vw);
  width: 100%;
  margin: auto;
}

.modal-dialog::backdrop {
  background: rgba(8, 8, 10, 0.84);
  backdrop-filter: blur(6px);
}

.dialog-panel {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.dialog-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.dialog-head h2 {
  margin: 0;
  font-size: 24px;
}

.dialog-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cinema-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.cinema-frame iframe,
.cinema-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.cinema-vault-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at center, #1d1d24, #0d0d10);
}

.cinema-details {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cinema-details p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #d6d0c4;
}

.cinema-crew {
  font-family: var(--font-mono);
  font-size: 12px !important;
  color: var(--ink-muted) !important;
}

.bts-stage {
  max-height: 64vh;
  background: #09090b;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.bts-stage img,
.bts-stage video {
  max-height: 64vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.bts-caption {
  margin: 12px 0 0;
  font-size: 14px;
  color: #d6d0c4;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.quick-card {
  text-align: left;
  background: #101013;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.quick-card:hover {
  border-color: var(--accent);
}

.quick-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.quick-card strong {
  display: block;
  font-size: 15px;
}

.quick-card span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

/* ---------- MANDATORY REDUCED MOTION SAFETY ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scroll-stage,
  .scroll-fallback .scroll-stage,
  .hero-stage,
  .reveal-word {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    translate: 0 0 !important;
  }
}

/* ---------- RESPONSIVE MOBILE & TABLET ---------- */
@media (max-width: 960px) {
  .topnav {
    display: none;
  }
  .film-card,
  .film-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .film-card:nth-child(even) .film-media-wrap {
    order: 0;
  }
  .crew-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clapper-shell,
  .cinema-details,
  .reel-banner {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .topbar-inner {
    padding: 8px 12px;
    gap: 8px;
  }
  .brand {
    min-width: 0;
    flex: 1;
    gap: 8px;
  }
  .brand-mark {
    width: 32px;
  }
  .brand-meta {
    min-width: 0;
  }
  .brand-name {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-tag {
    font-size: 9px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .pill-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
  #nameToggleBtn {
    display: none;
  }
  .crew-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-sheet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }
  .scrubber-tc {
    display: none;
  }
}
