/* ============================================================
   CUTC — Christ University Theatre Company
   Design System & Layout Stylesheet
   ============================================================
   Palette derived from stage lighting observed in production
   photography. Typography set for editorial programme-note feel.
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   0. CUSTOM PROPERTIES — THE DESIGN TOKENS
   ============================================================ */
:root {
  /* Colour — Stage */
  --void: #0a0a0a;
  --curtain: #121015;
  --curtain-warm: #1a1215;
  --parchment: #f0ead6;
  --parchment-dim: #c8c2b0;
  --follow-spot: #faf3e6;
  --warm-light: #d4a574;
  --gel-rose: #8b3a4a;
  --gel-rose-glow: #a8475a;
  --gel-blue: #2a3f5f;
  --gel-blue-deep: #1a2a40;
  --smoke: #7a7a7a;
  --smoke-faint: #4a4a4a;
  --stage-floor: #1e1a16;

  /* Typography — Scale (modular, 1.25 ratio) */
  --fs-micro: 0.75rem;
  /* 12px */
  --fs-small: 0.875rem;
  /* 14px */
  --fs-body: 1rem;
  /* 16px */
  --fs-lead: 1.125rem;
  /* 18px */
  --fs-h4: 1.25rem;
  /* 20px */
  --fs-h3: 1.5rem;
  /* 24px */
  --fs-h2: 2rem;
  /* 32px */
  --fs-h1: 3rem;
  /* 48px */
  --fs-display: 4.5rem;
  /* 72px */
  --fs-hero: 6rem;
  /* 96px */

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;
  --sp-xxl: 10rem;

  /* Layout */
  --max-width: 1200px;
  --max-narrow: 800px;
  --max-wide: 1400px;
  --gutter: clamp(1rem, 4vw, 3rem);

  /* Motion */
  --ease-curtain: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-reveal: 0.8s;
  --dur-slow: 1.2s;
  --dur-fast: 0.3s;

  /* Grain overlay */
  --grain-opacity: 0.03;
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--parchment);
  background-color: var(--void);
  /* `clip`, not `hidden`: `hidden` makes <body> a scroll container,
     which silently breaks every `position: sticky` on the page.
     Horizontal overflow is still clipped at the viewport by <html>. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film-grain overlay — applied to body */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: var(--grain-opacity);
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

a {
  color: var(--warm-light);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth);
}

a:hover {
  color: var(--follow-spot);
}

a:focus-visible {
  outline: 2px solid var(--warm-light);
  outline-offset: 3px;
}

::selection {
  background: var(--gel-rose);
  color: var(--follow-spot);
}

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--parchment);
}

.display-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, var(--fs-hero));
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--follow-spot);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, var(--fs-h1));
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-md);
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: var(--sp-sm);
}

.production-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, var(--fs-h2));
  font-weight: 700;
  font-style: italic;
  color: var(--follow-spot);
}

.body-lead {
  font-size: var(--fs-lead);
  line-height: 1.8;
  color: var(--parchment-dim);
}

.caption {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  color: var(--smoke);
  letter-spacing: 0.02em;
}

.label {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--smoke);
}

blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, var(--fs-h3));
  line-height: 1.5;
  color: var(--warm-light);
  border-left: 2px solid var(--gel-rose);
  padding-left: var(--sp-md);
  margin: var(--sp-lg) 0;
  max-width: var(--max-narrow);
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--narrow {
  max-width: var(--max-narrow);
}

.container--wide {
  max-width: var(--max-wide);
}

.section {
  padding: var(--sp-xxl) 0;
  position: relative;
}

.section--tight {
  padding: var(--sp-xl) 0;
}

/* Divider — thin theatrical line */
.divider {
  width: 60px;
  height: 1px;
  background: var(--gel-rose);
  margin: var(--sp-lg) auto;
  opacity: 0.6;
}

.divider--left {
  margin-left: 0;
}

/* ============================================================
   3.5. PRELOADER — THEATRICAL OVERTURE
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: var(--void);
  background-image:
    radial-gradient(ellipse 65% 55% at 50% 48%, rgba(212, 165, 116, 0.08) 0%, transparent 70%),
    radial-gradient(circle at 50% 45%, rgba(139, 58, 74, 0.12) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.85s var(--ease-curtain),
    visibility 0.85s var(--ease-curtain),
    transform 0.85s var(--ease-curtain);
}

.preloader.preloader--hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  pointer-events: none;
}

.preloader-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-lg);
  max-width: 480px;
}

.preloader-spotlight {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(250, 243, 230, 0.14) 0%, rgba(212, 165, 116, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
  animation: spotlightBreathe 4s ease-in-out infinite alternate;
}

.preloader-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 176px;
  height: 176px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(212, 165, 116, 0.28);
  border-radius: 50%;
  pointer-events: none;
  animation: haloRotate 24s linear infinite;
}

.preloader-emblem-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: var(--sp-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: emblemFloat 3.2s ease-in-out infinite alternate;
}

.preloader-emblem {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 18px rgba(212, 165, 116, 0.28));
  animation: emblemReveal 1.1s var(--ease-curtain) forwards;
}

.preloader-meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-md);
}

.preloader-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--follow-spot);
  white-space: nowrap;
}

.preloader-caption {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-light);
  opacity: 0.85;
}

.preloader-progress-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.preloader-percent {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--warm-light);
  opacity: 0.9;
  font-variant-numeric: tabular-nums;
}

.preloader-track {
  width: 180px;
  height: 2px;
  background: rgba(240, 234, 214, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--warm-light), var(--follow-spot));
  border-radius: 2px;
  transition: width 0.3s var(--ease-smooth);
}

.preloader-skip {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--smoke);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.preloader-skip:hover,
.preloader-skip:focus-visible {
  opacity: 1;
  color: var(--parchment-dim);
  text-decoration: underline;
}

@keyframes emblemReveal {
  0% {
    opacity: 0;
    transform: scale(0.85) rotate(-3deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

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

  100% {
    transform: translateY(-5px);
  }
}

@keyframes haloRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spotlightBreathe {
  0% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(0.92);
  }

  100% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.08);
  }
}



/* ============================================================
   4. NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--sp-sm) 0;
  transition: background var(--dur-fast) var(--ease-smooth),
    backdrop-filter var(--dur-fast) var(--ease-smooth);
}

.site-nav.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-smooth);
}

.nav-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  /* Base state must explicitly define all filter functions so they can animate smoothly */
  filter: sepia(0%) saturate(100%) hue-rotate(0deg) brightness(100%) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.nav-logo:hover .nav-logo-img {
  /* Exactly matches the #d4a574 (212, 165, 116) gold color without glowing */
  filter: sepia(60%) saturate(200%) hue-rotate(-5deg) brightness(70%) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.nav-logo:hover .nav-logo-text {
  color: var(--follow-spot);
}

.nav-links {
  display: flex;
  gap: var(--sp-md);
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
  display: inline-block;
  transition: transform 0.2s ease-out, color 0.3s ease;
  position: relative;
  padding: 5px 10px;
  transform-style: preserve-3d;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 12px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 24" preserveAspectRatio="none"><path d="M-100,12 Q-75,0 -50,12 T0,12 T50,12 T100,12 T150,12 T200,12" fill="none" stroke="%23d4a574" stroke-width="4"/><path d="M-100,12 Q-75,0 -50,12 T0,12 T50,12 T100,12 T150,12 T200,12" fill="none" stroke="%23d4a574" stroke-width="1.5" opacity="0.6" transform="translate(15, 4)"/></svg>') repeat-x center;
  background-size: 80px 100%;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  pointer-events: none;
}

.nav-links a:hover {
  color: #d4a574;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: translateY(0);
  animation: waveRipple 2.5s linear infinite;
}

@keyframes waveRipple {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: -80px;
  }
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--parchment-dim);
  margin: 6px 0;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--curtain);
    padding: var(--sp-xxl) var(--sp-lg);
    gap: var(--sp-md);
    transition: right var(--dur-reveal) var(--ease-curtain);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: var(--fs-body);
  }
}

/* ============================================================
   5. HERO / OVERTURE — THEATRICAL REPERTOIRE
   ============================================================
   The stage (photograph), the paper panel and the repertoire
   logos are driven by initRepertoireHero() in script.js.
   Geometry (logo size, panel height, slot positions) is set in
   JS from one layout table; timing comes from CSS custom
   properties below so it is defined in one place.
   ============================================================ */
.hero {
  --paper: var(--curtain);
  --paper-shade: #0a090b;
  --ink: #f5f2eb;
  --panel-h: 34%;
  --logo-w: 600px;
  --hero-photo-dur: 1.5s;
  --hero-logo-dur: 1.15s;
  --hero-ease: cubic-bezier(0.45, 0.05, 0.2, 1);

  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 540px;
  overflow: hidden;
  background: var(--void);
  isolation: isolate;
  touch-action: pan-y;
}

/* ---- Controls ---- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: transparent;
  border: none;
  color: var(--parchment);
  opacity: 0.15;
  width: 64px;
  height: 64px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.hero-arrow svg {
  stroke: var(--parchment);
}

@media (hover: hover) {
  .hero-arrow:hover {
    opacity: 0.7;
  }
}

.hero-arrow:focus-visible {
  opacity: 0.7;
  outline: 1px solid var(--parchment);
}

.hero-arrow-prev {
  left: max(10px, 1vw);
}

.hero-arrow-next {
  right: max(10px, 1vw);
}

/* ---- Stage photographs ---- */
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--focus, 50% 35%);
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity var(--hero-photo-dur) var(--ease-smooth),
    transform calc(var(--hero-photo-dur) * 2.2) var(--hero-ease);
  will-change: opacity, transform;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-photo.is-active,
.hero-photo.is-leaving {
  opacity: 1;
  transform: scale(1);
}

/* ---- Cinematic treatment ---- */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* navigation band */
    linear-gradient(to bottom, rgba(8, 7, 7, 0.66) 0%, rgba(8, 7, 7, 0.28) 11%, rgba(8, 7, 7, 0) 24%),
    /* soft pool behind the active title */
    radial-gradient(ellipse 40% 26% at 51% 74%, rgba(6, 5, 5, 0.5) 0%, rgba(6, 5, 5, 0.22) 55%, rgba(6, 5, 5, 0) 100%),
    /* vignette */
    radial-gradient(ellipse 115% 95% at 50% 38%, rgba(0, 0, 0, 0) 52%, rgba(4, 4, 4, 0.6) 100%),
    /* overall depth */
    linear-gradient(rgba(10, 8, 8, 0.12), rgba(10, 8, 8, 0.12));
}

/* ---- Paper panel ---- */
.hero-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--panel-h);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 -6px 22px rgba(0, 0, 0, 0.38));
}

.hero-panel-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.panel-edge {
  fill: var(--paper);
}

.panel-shape--narrow {
  display: none;
}

.hero.layout-mobile .panel-shape--wide {
  display: none;
}

.hero.layout-mobile .panel-shape--narrow {
  display: inline;
}

/* ---- Repertoire logos ---- */
.hero-repertoire {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.production {
  --s: 1;
  --slot-opacity: 1;
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--logo-w);
  height: calc(var(--logo-w) / 2);
  margin-left: calc(var(--logo-w) / -2);
  margin-top: calc(var(--logo-w) / -4);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
  opacity: var(--slot-opacity);
  transform-origin: 50% 50%;
  transition:
    transform var(--hero-logo-dur) var(--hero-ease),
    opacity var(--hero-logo-dur) var(--hero-ease),
    visibility 0s linear 0s;
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}

.production.is-active {
  z-index: 1;
  cursor: default;
}

.production.is-offstage {
  visibility: hidden;
  pointer-events: none;
  transition:
    transform var(--hero-logo-dur) var(--hero-ease),
    opacity var(--hero-logo-dur) var(--hero-ease),
    visibility 0s linear var(--hero-logo-dur);
}

.production.no-transition,
.hero-repertoire.no-transition .production {
  transition: none !important;
}

.production-inner {
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease-smooth);
}

.production-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity var(--hero-logo-dur) var(--hero-ease);
}

/* Inactive: warm ink letterforms printed on the paper */
.production-art--ink {
  filter: url(#logo-ink);
  opacity: 1;
}

.production-art--colour {
  opacity: 0;
}

/* Active: the supplied artwork in full colour */
.production.is-active .production-art--ink {
  opacity: 0;
}

.production.is-active .production-art--colour {
  opacity: 1;
}

@media (hover: hover) {
  .production:not(.is-active):hover {
    opacity: min(1, calc(var(--slot-opacity) + 0.22));
  }

  .production:not(.is-active):hover .production-inner {
    transform: translateY(-3%);
  }
}

/* Focus ring stays ~2px regardless of the slot scale */
.production:focus {
  outline: none;
}

.production:focus-visible::after {
  content: '';
  position: absolute;
  inset: 6% 4%;
  border: calc(1.5px / var(--s)) solid var(--gel-rose-glow);
  border-radius: calc(6px / var(--s));
  pointer-events: none;
}

.repertoire-noscript {
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: min(80vw, 600px);
  transform: translateX(-50%);
}

/* Reduced motion: logos fade out, re-seat, fade in (JS adds .is-swapping) */
.hero-repertoire.is-swapping .production {
  opacity: 0 !important;
}

/* Visually hidden, still announced by assistive tech */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ============================================================
   6. NOW PLAYING — A Double Bill
   ============================================================ */
.now-playing {
  background: var(--curtain);
}

.now-playing-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.now-playing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
}

.now-playing-visual {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}


/* Video Collage */
.video-collage {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: var(--sp-xl) auto 0;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-collage-img {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.6s ease;
  object-fit: cover;
}

.video-collage-vid {
  position: relative;
  z-index: 10;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  width: 75%;
  transform: rotate(6deg);
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.6s ease;
}

/* Scattered background images */
.v-img-1 {
  width: 35%;
  aspect-ratio: 4/3;
  left: 5%;
  top: 5%;
  z-index: 1;
  transform: rotate(-12deg);
}

.v-img-2 {
  width: 30%;
  aspect-ratio: 3/4;
  right: 5%;
  top: 2%;
  z-index: 2;
  transform: rotate(15deg);
}

.v-img-3 {
  width: 40%;
  aspect-ratio: 4/3;
  left: 0%;
  bottom: 5%;
  z-index: 3;
  transform: rotate(-6deg);
}

.v-img-4 {
  width: 35%;
  aspect-ratio: 3/4;
  right: 0%;
  bottom: -5%;
  z-index: 4;
  transform: rotate(8deg);
}

.v-img-5 {
  width: 45%;
  aspect-ratio: 4/3;
  left: 25%;
  top: 15%;
  z-index: 5;
  transform: rotate(-3deg);
}

/* Center behind video */
.v-img-6 {
  width: 35%;
  aspect-ratio: 3/4;
  left: 40%;
  top: -5%;
  z-index: 0;
  transform: rotate(5deg);
}

/* Top center */
.v-img-7 {
  width: 40%;
  aspect-ratio: 4/3;
  right: 25%;
  bottom: -10%;
  z-index: 6;
  transform: rotate(-8deg);
}

/* Bottom center */

.v-img-8 {
  width: 20%;
  aspect-ratio: 4/3;
  left: -5%;
  top: 30%;
  z-index: 0;
  transform: rotate(-25deg);
}

.v-img-9 {
  width: 18%;
  aspect-ratio: 3/4;
  right: 15%;
  top: -10%;
  z-index: 0;
  transform: rotate(35deg);
}

.v-img-10 {
  width: 22%;
  aspect-ratio: 4/3;
  left: 15%;
  top: -5%;
  z-index: 0;
  transform: rotate(15deg);
}

.v-img-11 {
  width: 25%;
  aspect-ratio: 4/3;
  right: -5%;
  top: 40%;
  z-index: 0;
  transform: rotate(20deg);
}

.v-img-12 {
  width: 15%;
  aspect-ratio: 3/4;
  left: -2%;
  bottom: 20%;
  z-index: 0;
  transform: rotate(-10deg);
}

.v-img-13 {
  width: 20%;
  aspect-ratio: 4/3;
  right: 10%;
  bottom: -15%;
  z-index: 0;
  transform: rotate(-25deg);
}

/* Hover states (Scatter outwards) */
.video-collage:hover .video-collage-vid {
  transform: scale(1.05) rotate(4deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
}

.video-collage:hover .v-img-1 {
  transform: translate(-30px, -20px) rotate(-18deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.video-collage:hover .v-img-2 {
  transform: translate(30px, -20px) rotate(22deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.video-collage:hover .v-img-3 {
  transform: translate(-30px, 30px) rotate(-10deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.video-collage:hover .v-img-4 {
  transform: translate(30px, 30px) rotate(12deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.video-collage:hover .v-img-5 {
  transform: translate(-15px, -30px) rotate(-6deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.video-collage:hover .v-img-6 {
  transform: translate(10px, -45px) rotate(10deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.video-collage:hover .v-img-7 {
  transform: translate(15px, 40px) rotate(-12deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.video-collage:hover .v-img-8 {
  transform: translate(-40px, 0) rotate(-35deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-collage:hover .v-img-9 {
  transform: translate(15px, -30px) rotate(45deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-collage:hover .v-img-10 {
  transform: translate(-20px, -30px) rotate(5deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-collage:hover .v-img-11 {
  transform: translate(45px, 0) rotate(30deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-collage:hover .v-img-12 {
  transform: translate(-30px, 20px) rotate(-20deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-collage:hover .v-img-13 {
  transform: translate(25px, 35px) rotate(-15deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Parallax Collage */
.parallax-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collage-img {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.6s ease;
  object-fit: cover;
}

/* Base states (Scattered tightly) */
.collage-img-1 {
  width: 45%;
  aspect-ratio: 4/3;
  left: 5%;
  top: 10%;
  z-index: 1;
  transform: rotate(-8deg);
}

.collage-img-2 {
  width: 40%;
  aspect-ratio: 4/3;
  right: 10%;
  top: 5%;
  z-index: 2;
  transform: rotate(10deg);
}

.collage-img-3 {
  width: 50%;
  aspect-ratio: 4/3;
  left: 25%;
  top: 30%;
  z-index: 5;
  transform: rotate(0deg);
}

.collage-img-4 {
  width: 45%;
  aspect-ratio: 4/3;
  left: 10%;
  bottom: 10%;
  z-index: 3;
  transform: rotate(6deg);
}

.collage-img-5 {
  width: 42%;
  aspect-ratio: 4/3;
  right: 5%;
  bottom: 5%;
  z-index: 4;
  transform: rotate(-5deg);
}

/* Hover states (Scattering outwards) - NO z-index changes to prevent flashing */
.parallax-collage:hover .collage-img-1 {
  transform: translate(-25px, -25px) rotate(-12deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.parallax-collage:hover .collage-img-2 {
  transform: translate(25px, -20px) rotate(15deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.parallax-collage:hover .collage-img-3 {
  transform: scale(1.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
}

.parallax-collage:hover .collage-img-4 {
  transform: translate(-20px, 25px) rotate(12deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.parallax-collage:hover .collage-img-5 {
  transform: translate(25px, 25px) rotate(-10deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* Base img styling */
.now-playing-visual img {
  width: 100%;
  height: auto;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.now-playing-visual:hover img {
  transform: scale(1.03);
}

.now-playing-text {
  padding: var(--sp-md) 0;
}

.now-playing-text h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-sm);
}

.now-playing-text p {
  color: var(--parchment-dim);
  margin-bottom: var(--sp-sm);
}

/* Cast list */
.cast-list {
  list-style: none;
  margin: var(--sp-md) 0;
  padding: 0;
}

.cast-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.4em 0;
  border-bottom: 1px solid rgba(240, 234, 214, 0.06);
  font-size: var(--fs-small);
}

.cast-list .role {
  color: var(--smoke);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cast-list .actor {
  color: var(--parchment);
  font-family: 'Source Serif 4', Georgia, serif;
}

/* Photo strip — horizontal auto-scroll */
.photo-strip {
  overflow: hidden;
  padding: calc(3.5vw + 1rem) 0;
  transform: rotate(-4deg) scale(1.05);
  /* Tilt the ENTIRE track clockwise */
  transform-origin: center center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* Ensure it spans full screen despite any container */
}

.photo-strip-inner {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: photo-strip-marquee 60s linear infinite;
  will-change: transform;

  /* Film reel styling */
  background-color: #efe9d6;
  padding: 40px 20px;

  /* Sprocket holes */
  background-image:
    linear-gradient(90deg, #0a0a0a 16px, transparent 16px),
    linear-gradient(90deg, #0a0a0a 16px, transparent 16px);
  background-size: 32px 16px;
  background-position:
    0 12px,
    0 calc(100% - 12px);
  background-repeat: repeat-x;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@keyframes photo-strip-marquee {
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

.photo-strip figure {
  flex: 0 0 auto;
  width: clamp(280px, 35vw, 420px);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  /* Rounded off corners */
  will-change: transform;
}

.photo-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-smooth);
  cursor: pointer;
}

.photo-strip figure:hover img {
  transform: scale(1.04);
}

.photo-strip figcaption {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  color: var(--smoke);
  padding-top: var(--sp-xs);
}

@media (max-width: 768px) {
  .now-playing-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   6.5. STILLS FROM THE SHOW
   ============================================================ */
.stills-section {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--sp-xxl) + 2rem);
  padding-bottom: var(--sp-lg);
}

.stills-grid {
  column-count: 3;
  column-gap: var(--sp-md);
}

.stills-item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: var(--sp-md);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--curtain-warm);
  border: 2.5px solid rgba(240, 234, 214, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  transition: transform var(--dur-fast) var(--ease-smooth),
    box-shadow var(--dur-fast) var(--ease-smooth),
    border-color var(--dur-fast) var(--ease-smooth);
}

.stills-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 24px rgba(212, 165, 116, 0.15);
  border-color: rgba(212, 165, 116, 0.35);
}

.stills-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.stills-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .stills-grid {
    column-count: 2;
    column-gap: var(--sp-sm);
  }

  .stills-item {
    margin-bottom: var(--sp-sm);
  }
}

@media (max-width: 600px) {
  .stills-grid {
    column-count: 1;
  }
}

/* ============================================================
   7. INTERLUDE — Philosophy Pull-Quote
   ============================================================ */
.interlude {
  padding: var(--sp-xl) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.interlude blockquote {
  border-left: none;
  padding-left: 0;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(1.25rem, 2.8vw, var(--fs-h2));
}

.interlude .attribution {
  display: block;
  margin-top: var(--sp-md);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* ============================================================
   8. REPERTOIRE / ARCHIVE
   ============================================================ */
.repertoire {
  background: var(--void);
  padding-top: var(--sp-lg);
}

.production-block {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-lg);
  align-items: center;
  margin-bottom: var(--sp-xxl);
}

.production-block:nth-child(even) {
  grid-template-columns: 1.5fr 1fr;
}

.production-block:nth-child(even) .production-image {
  order: 2;
}

.production-block:nth-child(even) .production-info {
  order: 1;
}

.production-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.production-image img {
  width: 100%;
  height: auto;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.production-image:hover img {
  transform: scale(1.03);
}

/* Colour wash overlay on hover */
.production-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 58, 74, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-smooth);
}

.production-image:hover::after {
  opacity: 1;
}

.production-info {
  padding: var(--sp-md) 0;
}

.production-info .section-subtitle {
  margin-bottom: 0.5em;
}

.production-info .production-title {
  margin-bottom: var(--sp-sm);
}

.production-meta {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  color: var(--smoke);
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-sm);
}

.production-description {
  color: var(--parchment-dim);
  margin-bottom: var(--sp-md);
  max-width: 500px;
}

.production-credits {
  list-style: none;
  padding: 0;
}

.production-credits li {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  color: var(--smoke);
  padding: 0.3em 0;
}

.production-credits li strong {
  color: var(--parchment-dim);
  font-weight: 500;
}

/* Flagship production — wider, more dramatic */
.production-block--flagship {
  grid-template-columns: 1fr;
  text-align: center;
}

.production-block--flagship .production-image {
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.production-block--flagship .production-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.production-block--flagship .production-info {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: var(--sp-lg) 0;
}

/* Production gallery strip */
.production-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
  padding-bottom: var(--sp-sm);
}

.production-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-smooth),
    opacity var(--dur-fast) var(--ease-smooth);
  opacity: 0.8;
}

.production-gallery img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {

  .production-block,
  .production-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .production-block:nth-child(even) .production-image,
  .production-block:nth-child(even) .production-info {
    order: unset;
  }

  .production-block--flagship .production-image img {
    height: auto;
  }
}

/* Text-only production (no photography available) */
.production-block--text-only {
  grid-template-columns: 1fr;
  max-width: var(--max-narrow);
  margin-left: auto;
  margin-right: auto;
  padding: var(--sp-lg);
  border: 1px solid rgba(240, 234, 214, 0.06);
  background: var(--curtain-warm);
}

.production-block--text-only .production-info {
  text-align: center;
}

.production-block--text-only .production-description {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.production-block--text-only .production-credits {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   9. ENSEMBLE — People
   ============================================================ */
.ensemble {
  background: var(--curtain);
  padding-top: var(--sp-lg);
}

.ensemble-intro {
  max-width: var(--max-narrow);
  margin: 0 auto var(--sp-xl);
  text-align: center;
}

.person-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--sp-lg);
  align-items: start;
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(240, 234, 214, 0.06);
}

.person-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.person-block:nth-child(even) {
  grid-template-columns: 1fr 300px;
}

.person-block:nth-child(even) .person-image {
  order: 2;
}

.person-block:nth-child(even) .person-info {
  order: 1;
}

.person-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3/4;
}

.person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: filter var(--dur-slow) var(--ease-smooth),
    transform var(--dur-slow) var(--ease-smooth);
}

.person-image:hover img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.person-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--follow-spot);
  margin-bottom: 0.2em;
}

.person-role {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-light);
  margin-bottom: var(--sp-md);
}

.person-bio {
  color: var(--parchment-dim);
  max-width: 550px;
}

.person-bio p {
  margin-bottom: var(--sp-sm);
}

.person-productions {
  margin-top: var(--sp-md);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  color: var(--smoke);
}

.person-productions span {
  display: inline-block;
  padding: 0.3em 0.8em;
  border: 1px solid var(--smoke-faint);
  border-radius: 2px;
  margin: 0.2em 0.3em 0.2em 0;
  white-space: nowrap;
}

@media (max-width: 768px) {

  .person-block,
  .person-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .person-block:nth-child(even) .person-image,
  .person-block:nth-child(even) .person-info {
    order: unset;
  }

  .person-image {
    max-width: 300px;
    aspect-ratio: 4/5;
  }
}

/* ============================================================
   10. THE CRAFT — Production Capabilities
   ============================================================ */
.craft {
  background: var(--void);
  padding-top: var(--sp-lg);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.craft-card {
  padding: var(--sp-lg) var(--sp-md);
  background: var(--curtain-warm);
  border: 1px solid rgba(240, 234, 214, 0.04);
  border-radius: 2px;
  transition: border-color var(--dur-fast) var(--ease-smooth),
    transform var(--dur-fast) var(--ease-smooth);
}

.craft-card:hover {
  border-color: rgba(212, 165, 116, 0.2);
  transform: translateY(-2px);
}

.craft-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--warm-light);
  margin-bottom: var(--sp-sm);
}

.craft-card p {
  color: var(--parchment-dim);
  font-size: var(--fs-small);
  line-height: 1.7;
}

.craft-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--sp-xs);
  row-gap: var(--sp-xs);
  margin-top: var(--sp-xl);
}

.craft-image-pair + .craft-image-pair {
  margin-top: var(--sp-sm);
}

.craft-image-pair figure {
  overflow: hidden;
  border-radius: 12px;
}

.craft-image-pair img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.craft-image-pair figure:hover img {
  transform: scale(1.03);
}

.craft-image-pair figcaption {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  color: var(--smoke);
  padding-top: var(--sp-xs);
}

@media (max-width: 768px) {
  .craft-grid {
    grid-template-columns: 1fr;
  }

  .craft-image-pair {
    grid-template-columns: 1fr;
  }

  .craft-image-pair img {
    height: 220px;
  }
}

/* ============================================================
   11. FOOTER / CURTAIN CALL
   ============================================================ */
.curtain-call {
  background: var(--curtain);
  padding: var(--sp-xl) 0 var(--sp-lg);
  border-top: 1px solid rgba(240, 234, 214, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(240, 234, 214, 0.08);
}

.footer-brand-link {
  display: inline-block;
  line-height: 0;
  flex-shrink: 0;
  border-radius: 50%;
  transition: transform var(--dur-fast) var(--ease-smooth);
}

.footer-brand-link:hover {
  transform: scale(1.05);
}

.footer-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 14px rgba(212, 165, 116, 0.2));
  transition: filter var(--dur-fast) var(--ease-smooth);
}

.footer-brand-link:hover .footer-logo {
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 22px rgba(212, 165, 116, 0.45));
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
}

.footer-brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--follow-spot);
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

.footer-brand-tagline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--warm-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  margin-bottom: var(--sp-sm);
}

.footer-col p,
.footer-col address {
  font-style: normal;
  color: var(--smoke);
  font-size: var(--fs-small);
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(240, 234, 214, 0.06);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-micro);
  color: var(--smoke-faint);
}

.footer-bottom-copy {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-bottom-emblem {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0.75;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
  .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-sm);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-sm);
    text-align: center;
  }
}

/* ============================================================
   12. SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-reveal) var(--ease-curtain),
    transform var(--dur-reveal) var(--ease-curtain);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-image {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity var(--dur-slow) var(--ease-curtain),
    transform var(--dur-slow) var(--ease-curtain);
}

.reveal-image.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children .reveal {
  transition-delay: calc(var(--stagger-index, 0) * 0.1s);
}

/* ============================================================
   13. LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--dur-fast) var(--ease-smooth),
    visibility var(--dur-fast) var(--ease-smooth);
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  background: none;
  border: none;
  color: var(--parchment-dim);
  font-size: var(--fs-h3);
  cursor: pointer;
  padding: var(--sp-xs);
  transition: color var(--dur-fast) var(--ease-smooth);
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--follow-spot);
}

/* ============================================================
   14. SKIP LINK & ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-sm);
  background: var(--gel-rose);
  color: var(--follow-spot);
  padding: var(--sp-xs) var(--sp-sm);
  z-index: 10001;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-small);
  border-radius: 2px;
  transition: top var(--dur-fast) var(--ease-smooth);
}

.skip-link:focus {
  top: var(--sp-sm);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-photo,
  .hero-photo.is-active,
  .hero-photo.is-leaving {
    transform: none;
  }

  .hero-photo {
    transition: opacity 0.9s ease !important;
  }

  .production {
    transition: opacity 0.3s ease, visibility 0s linear 0s !important;
  }

  .production-art {
    transition: none !important;
  }

  .production-inner {
    transform: none !important;
  }

  .reveal,
  .reveal-image {
    opacity: 1;
    transform: none;
  }

  .preloader {
    display: none !important;
  }
}

/* ============================================================
   15. PRINT STYLES
   ============================================================ */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  body::after {
    display: none;
  }

  .site-nav,
  .lightbox-overlay,
  .preloader,
  .repertoire,
  .hero-panel {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding: 2rem 0;
  }

  img {
    max-height: 400px;
  }
}

/* ============================================================
   7. CINEMATIC GALLERY
   ============================================================ */
.cinematic-gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: var(--sp-xl) 0;
}

.cinematic-gallery-track {
  display: flex;
  width: max-content;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.cinematic-gallery-track::-webkit-scrollbar {
  display: none;
}

.cinematic-gallery-seq {
  display: flex;
  gap: var(--sp-md);
  padding: 0 calc(var(--sp-md) / 2);
}

.cinematic-gallery-seq .gallery-card {
  margin: 0;
  flex: 0 0 auto;
  height: min(50vh, 400px);
  background: var(--void);
}

.cinematic-gallery-seq .gallery-card img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}

.gallery-nav-prev,
.gallery-nav-next {
  background: transparent;
  border: none;
  color: var(--parchment);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.gallery-nav-prev:hover,
.gallery-nav-next:hover {
  opacity: 1;
}

.gallery-nav-prev svg,
.gallery-nav-next svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 600px) {
  .now-playing-header .body-lead {
    max-width: 90%;
    margin: 0 auto !important;
    padding: 0 12px;
    text-align: center;
    line-height: 1.6;
    overflow-wrap: normal;
    word-break: normal;
  }
}

.production-logo {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Parallax Scrolling Gallery */








@media (max-width: 768px) {}

/* ============================================================
   STICKY PARALLAX GALLERY (About section)
   .pg-wrapper   — tall scroll track that sets how long the effect lasts
   .pg-container — pinned 100vh viewport window that clips the columns
   .pg-col       — columns at their true content height, moved by JS
   ============================================================ */
.pg-wrapper {
  --pg-gap: 1.5rem;
  position: relative;
  height: 400vh;
  /* taller track = slower, longer parallax */
  margin-top: var(--sp-xl);
  background: var(--curtain);
}

.pg-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  /* stop flex from stretching columns to 100vh */
  gap: var(--pg-gap);
  padding: 0 var(--pg-gap);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
}

.pg-col {
  flex: 1 0 0;
  /* equal widths, never shrink */
  min-width: 0;
  align-self: flex-start;
  height: max-content;
  /* true content height, never the container's 100vh */
  max-height: none;
  display: flex;
  flex-direction: column;
  gap: var(--pg-gap);
  will-change: transform;
}

.pg-col img {
  display: block;
  flex: 0 0 auto;
  /* images never squish inside the column */
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  /* matches the 1600x2400 sources; reserves height before load */
  object-fit: cover;
  border-radius: 8px;
  background: var(--curtain-warm);
}

@media (max-width: 768px) {
  .pg-wrapper {
    --pg-gap: 0.75rem;
    height: 300vh;
  }
}

/* Double Bill Background Video */
.doublebill-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

@media (min-width: 769px) {
  .doublebill-bg-video {
    transform: translateY(-28%);
  }
}