/* ===== CC FILMS 2026 — PREMIUM CINEMATIC STYLESHEET =====
   Dark theme, retro film production aesthetic
   Accessibility-first, mobile-optimized, PageSpeed-ready
*/

:root {
  /* Core palette - Moody Charcoal */
  --ink: #F4F1EA;
  --paper: #0B0B0C;
  --screen: #050507;

  /* Accent colors - boosted for dark theme */
  --accent: #6D46C9;       /* zombie purple */
  --accent2: #FF2A33;      /* marquee red */
  --accent3: #4AA0A8;      /* teal glow */
  --orange: #FE5800;       /* credit orange */

  /* Structural */
  --rule: 3px;
  --rule-strong: 5px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --max: 1120px;

  /* Typography — system fonts for zero CLS, instant render */
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Glow system */
  --glow-purple: 0 0 0 3px rgba(109,70,201,.20), 0 0 26px rgba(109,70,201,.40), 0 0 62px rgba(109,70,201,.22);
  --glow-red: 0 0 0 3px rgba(255,42,51,.18), 0 0 22px rgba(255,42,51,.36), 0 0 54px rgba(255,42,51,.20);
  --glow-teal: 0 0 0 3px rgba(74,160,168,.16), 0 0 22px rgba(74,160,168,.34), 0 0 54px rgba(74,160,168,.18);
  --glow-soft: 0 0 0 2px rgba(244,241,234,.10), 0 12px 40px rgba(0,0,0,.55);
}


/* ===== RESET + BASE ===== */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  background: var(--screen);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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


/* ===== SKIP LINK (Accessibility) ===== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  padding: 12px 24px;
  border-radius: 0 0 12px 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
  z-index: 10000;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 0;
  outline: none;
  box-shadow: var(--glow-purple);
}


/* ===== BACKGROUND LAYERS ===== */

body::before, body::after {
  content: "";
  position: fixed;
  inset: -10vh -10vw;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    url("./../img/noise.svg") repeat,
    radial-gradient(circle at 12% 18%, rgba(244,241,234,.16) 0 1px, transparent 2px) 0 0 / 10px 10px,
    radial-gradient(circle at 84% 68%, rgba(244,241,234,.12) 0 1px, transparent 2px) 0 0 / 12px 12px,
    radial-gradient(90% 90% at 50% 35%, rgba(0,0,0,.65), transparent 55%);
  mix-blend-mode: overlay;
  filter: contrast(1.05) brightness(.95);
  opacity: .95;
}

body::after {
  background:
    radial-gradient(40% 30% at 18% 25%, rgba(255,42,51,.18), transparent 60%),
    radial-gradient(38% 28% at 78% 22%, rgba(109,70,201,.20), transparent 62%),
    radial-gradient(45% 35% at 70% 78%, rgba(74,160,168,.16), transparent 60%),
    radial-gradient(34% 30% at 25% 80%, rgba(255,42,51,.12), transparent 58%);
  mix-blend-mode: screen;
  filter: saturate(1.15) blur(0.35px);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2vw,-1.5vh,0) scale(1.03); }
}


/* ===== CONTAINER ===== */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 18px 46px;
}

@media (min-width: 900px) {
  .container { padding: 24px 24px 64px; }
}


/* ===== HEADER ===== */

.header {
  border: var(--rule-strong) solid var(--ink);
  border-radius: var(--radius);
  background: rgba(11,11,12,.92);
  box-shadow: var(--shadow);
  position: sticky;
  top: 12px;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 20% 15%, rgba(109,70,201,.18), transparent 52%),
    radial-gradient(120% 70% at 85% 30%, rgba(255,42,51,.14), transparent 55%);
  mix-blend-mode: screen;
  opacity: .55;
  border-radius: inherit;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 190px;
}

.stamp {
  width: 56px;
  height: 56px;
  border: var(--rule) solid var(--ink);
  border-radius: 999px;
  background: rgba(11,11,12,.92);
  box-shadow: 2px 2px 0 rgba(0,0,0,.25);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

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

.stamp::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: repeating-linear-gradient(135deg, rgba(244,241,234,.08) 0 2px, transparent 2px 6px);
  mix-blend-mode: multiply;
  opacity: .28;
  transform: rotate(8deg);
}

.brand-text { line-height: 1.05; }

.brand-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: 20px;
}

.brand-text .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: .85;
}


/* ===== NAVIGATION ===== */

.nav {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: var(--rule) solid var(--ink);
  border-radius: 12px;
  background: rgba(11,11,12,.92);
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}

.nav a:hover {
  box-shadow: var(--glow-soft);
  transform: translateY(-1px);
}

.nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(244,241,234,.22), 0 0 0 6px rgba(109,70,201,.32), 0 0 30px rgba(109,70,201,.30);
}

.nav a[aria-current="page"] {
  background: rgba(109,70,201,.16);
  box-shadow: var(--glow-purple);
}


/* ===== MOBILE MENU ===== */

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  border: var(--rule) solid var(--ink);
  border-radius: 12px;
  background: rgba(11,11,12,.92);
  color: var(--ink);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 14px;
  padding: 10px 14px;
  box-shadow: 2px 2px 0 rgba(0,0,0,.18);
  cursor: pointer;
  transition: box-shadow .2s ease;
}

.menu-btn:hover {
  box-shadow: var(--glow-soft);
}

.menu-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(244,241,234,.22), 0 0 0 6px rgba(109,70,201,.32);
}

.menu-icon {
  width: 20px;
  height: 14px;
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease;
}

.menu-icon::before { top: 0; }
.menu-icon::after { bottom: 0; }

.menu-btn[aria-expanded="true"] .menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 760px) {
  .header-inner { gap: 10px; }
  .brand { min-width: auto; }
  .brand-text .name { font-size: 18px; }
  .brand-text .tag { display: none; }

  .menu-btn {
    display: flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    position: absolute;
    right: 12px;
    top: 74px;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: var(--rule-strong) solid var(--ink);
    border-radius: var(--radius);
    background: rgba(11,11,12,.96);
    box-shadow: var(--shadow);
    max-width: calc(100vw - 24px);
    transform-origin: top right;
    transform: scale(.98);
    opacity: 0;
    transition: opacity .16s ease, transform .18s ease;
  }

  .header { overflow: visible; }

  .nav.is-open {
    display: flex;
    opacity: 1;
    transform: scale(1);
  }

  .nav a { width: 100%; }
}


/* ===== HERO ===== */

.hero {
  margin-top: 16px;
  border: var(--rule-strong) solid var(--ink);
  border-radius: var(--radius);
  background: rgba(11,11,12,.92);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 70% at 15% 25%, rgba(109,70,201,.14), transparent 55%),
    radial-gradient(60% 60% at 85% 35%, rgba(255,42,51,.12), transparent 55%),
    radial-gradient(80% 80% at 50% 90%, rgba(74,160,168,.10), transparent 60%),
    repeating-linear-gradient(180deg, rgba(244,241,234,.06) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: .85;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  grid-template-areas:
    "top"
    "poster"
    "copy";
}

.hero-top { grid-area: top; }
.hero-poster { grid-area: poster; }
.hero-copy { grid-area: copy; }

@media (min-width: 900px) {
  .hero-inner {
    grid-template-areas:
      "top poster"
      "copy poster";
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    padding: 26px;
  }
  .hero-top { align-self: end; }
  .hero-copy { align-self: start; }
}

.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .9;
}

.h1 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: .02em;
  margin: 4px 0 6px;
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(109,70,201,.22),
    -1px 0 rgba(255,42,51,.16),
    1px 0 rgba(74,160,168,.14);
}

@media (min-width: 900px) {
  .h1 { font-size: 56px; }
}

.lede {
  max-width: 52ch;
  margin: 0;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  align-items: center;
}


/* ===== BUTTONS ===== */

.btn {
  border: var(--rule-strong) solid var(--ink);
  border-radius: 14px;
  padding: 12px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 15px;
  background: rgba(11,11,12,.92);
  color: var(--ink);
  box-shadow: var(--glow-soft);
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(0,0,0,.08), transparent 50%);
  opacity: .8;
  transform: rotate(6deg);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-purple);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(244,241,234,.22), 0 0 0 6px rgba(109,70,201,.32), 0 0 30px rgba(109,70,201,.30);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: rgba(109,70,201,.22);
}

.btn.primary:hover {
  box-shadow: var(--glow-purple);
}

.btn.secondary {
  background: rgba(255,42,51,.16);
}

.btn.secondary:hover {
  box-shadow: var(--glow-red);
}

.btn.submit {
  background: rgba(74,160,168,.16);
  width: 100%;
}

.btn.submit:hover {
  box-shadow: var(--glow-teal);
}

.btn-icon {
  font-size: 12px;
}

/* Marquee pulse animation */
@media (prefers-reduced-motion: no-preference) {
  .btn.primary {
    animation: marqueePulse 2.8s ease-in-out infinite;
  }

  @keyframes marqueePulse {
    0%, 100% {
      box-shadow: var(--glow-soft);
      filter: saturate(1);
    }
    50% {
      box-shadow: 0 0 0 3px rgba(109,70,201,.25), 0 0 32px rgba(109,70,201,.45), 0 0 68px rgba(109,70,201,.25);
      filter: saturate(1.08);
    }
  }
}

.badge {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  border: var(--rule) solid var(--ink);
  border-radius: 999px;
  background: rgba(244,241,234,.06);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(109,70,201,.6);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}


/* ===== CARDS ===== */

.stack {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  border: var(--rule-strong) solid var(--ink);
  border-radius: var(--radius);
  background: rgba(11,11,12,.92);
  box-shadow: 0 16px 46px rgba(0,0,0,.55);
  overflow: hidden;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 20% 15%, rgba(109,70,201,.12), transparent 52%),
    radial-gradient(120% 70% at 85% 30%, rgba(255,42,51,.10), transparent 55%);
  mix-blend-mode: screen;
  opacity: .45;
  border-radius: inherit;
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 3px rgba(244,241,234,.10), 0 22px 68px rgba(0,0,0,.70);
  }
}

.card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: var(--rule) solid rgba(244,241,234,.18);
  background: rgba(244,241,234,.04);
  position: relative;
}

.label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 16px;
  margin: 0;
}

.meta {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: .85;
}

.card .body {
  padding: 16px;
  position: relative;
}


/* ===== MEDIA FRAMES ===== */

.media {
  aspect-ratio: 16/9;
  border: var(--rule) solid rgba(244,241,234,.18);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 40% 35%, rgba(109,70,201,.22), transparent 65%),
    radial-gradient(60% 60% at 70% 65%, rgba(255,42,51,.18), transparent 65%),
    radial-gradient(70% 70% at 55% 80%, rgba(74,160,168,.14), transparent 68%),
    repeating-linear-gradient(90deg, rgba(244,241,234,.08) 0 1px, transparent 1px 6px);
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(244,241,234,.08);
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(109,70,201,.14), transparent 55%),
    radial-gradient(60% 60% at 70% 40%, rgba(255,42,51,.10), transparent 58%);
  mix-blend-mode: screen;
  opacity: .7;
  pointer-events: none;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 45%, rgba(255,255,255,.08) 50%, transparent 55% 100%);
  opacity: .5;
  transform: translateY(-60%);
  animation: flicker 2.6s ease-in-out infinite;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes flicker {
  0% { transform: translateY(-75%); opacity: .35; }
  40% { transform: translateY(-10%); opacity: .65; }
  55% { transform: translateY(8%); opacity: .35; }
  70% { transform: translateY(20%); opacity: .72; }
  100% { transform: translateY(70%); opacity: .42; }
}

.media.flicker-jolt::after {
  opacity: .88;
  filter: contrast(1.15);
}

@media (prefers-reduced-motion: no-preference) {
  .media::before {
    animation: screenBreath 6.5s ease-in-out infinite alternate;
  }

  @keyframes screenBreath {
    0% { opacity: .5; filter: saturate(1); }
    100% { opacity: .85; filter: saturate(1.15); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .media::after { animation: none; opacity: .3; transform: none; }
  .media::before { animation: none; }
}


/* ===== POSTER ===== */

.media.poster {
  background: rgba(0,0,0,.25);
  display: grid;
  place-items: center;
  aspect-ratio: 2/3;
  width: min(420px, 92vw);
  max-height: 74vh;
  border: var(--rule) solid rgba(244,241,234,.18);
  border-radius: 18px;
  box-shadow:
    0 0 0 3px rgba(11,11,12,.55),
    0 0 26px rgba(0,0,0,.55),
    0 0 14px rgba(109,70,201,.12);
}

.media.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 520px) {
  .hero-poster {
    width: min(360px, 92vw);
    margin: 0 auto;
    max-height: 56vh;
  }
}


/* ===== TRAILER ===== */

.trailer-embed {
  aspect-ratio: 16/9;
  width: min(1040px, 96vw);
  margin: 0 auto;
  border: var(--rule) solid rgba(244,241,234,.18);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  box-shadow: 0 0 0 3px rgba(11,11,12,.55), 0 0 26px rgba(0,0,0,.55);
}

.trailer-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.trailer-center {
  text-align: center;
}

.trailer-center .btn {
  margin-left: auto;
  margin-right: auto;
}


/* ===== PRESS LIST ===== */

.press-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.press-list li {
  margin: 0;
}

.press-list a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: var(--rule) solid var(--ink);
  border-radius: 999px;
  background: rgba(244,241,234,.06);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.press-list a:hover {
  background: rgba(109,70,201,.16);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.press-list a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(244,241,234,.22), 0 0 0 6px rgba(109,70,201,.32);
}


/* ===== PREMIERE ===== */

.premiere-recap {
  text-align: center;
  max-width: 64ch;
  margin: 0 auto 18px;
}

/* ── Slideshow (homepage) ── */

.premiere-slideshow {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: rgba(0,0,0,.3);
  cursor: pointer;
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

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

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.5);
  color: var(--cream);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.slide-arrow:hover { background: rgba(0,0,0,.7); }
.slide-prev { left: 12px; }
.slide-next { right: 12px; }

.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease;
}

.slide-dot.active {
  background: var(--cream);
}

.slideshow-cta {
  text-align: center;
  margin: 18px 0 0;
}

/* ── Gallery grid (gallery page) ── */

.premiere-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-item {
  display: block;
  border: var(--rule) solid rgba(244,241,234,.18);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

/* ── Lightbox ── */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

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

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity .2s ease;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 32px;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
  z-index: 2;
  line-height: 1;
  padding: 8px;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244,241,234,.1);
  border: 1px solid rgba(244,241,234,.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 22px;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s, background .2s;
  z-index: 2;
}

.lightbox-arrow:hover {
  opacity: 1;
  background: rgba(244,241,234,.18);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cream);
  opacity: .6;
}

@media (max-width: 760px) {
  .lightbox-arrow { width: 40px; height: 40px; font-size: 18px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 12px; font-size: 28px; }
  .lightbox-img { max-width: 96vw; max-height: 85vh; border-radius: 6px; }
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-item:hover img {
    transform: scale(1.04);
  }
}

.gallery-credit {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: .7;
  margin: 12px 0 0;
}

@media (max-width: 760px) {
  .slide-arrow { width: 36px; height: 36px; font-size: 18px; }
  .slide-prev { left: 8px; }
  .slide-next { right: 8px; }
  .slide-dots { bottom: 10px; gap: 6px; }
  .slide-dot { width: 8px; height: 8px; }

  .premiere-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .premiere-gallery {
    gap: 6px;
  }
}

/* YouTube play button: scale down on small screens */
@media (max-width: 520px) {
  .yt-facade::after {
    width: 56px;
    height: 40px;
    border-radius: 12px;
  }
  .yt-facade .play-icon {
    border-width: 10px 0 10px 16px;
  }
}


/* ===== REVIEWS ===== */

.review-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-item {
  border: var(--rule) solid rgba(244,241,234,.18);
  border-radius: 14px;
  padding: 18px;
  background: rgba(244,241,234,.03);
  text-align: center;
}

.review-source {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.review-score {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent3);
  text-shadow: 0 0 20px rgba(74,160,168,.35);
  margin-bottom: 6px;
}

.review-byline {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: .8;
  margin-bottom: 14px;
}


/* ===== CREDITS ===== */

.card.combo .body {
  text-align: left;
}

.card.combo .copyblock {
  max-width: 880px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 10px;
  border-left: var(--rule) solid rgba(244,241,234,.18);
}

.card.combo .copyblock p {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .01em;
  margin: 0 0 14px;
}

.credits-footnote {
  margin-top: 18px;
  padding-top: 14px;
  border-top: var(--rule) solid rgba(244,241,234,.18);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  opacity: .9;
  text-align: center;
}

.credits-footnote p {
  margin: 0 0 8px;
}


/* ===== CONTACT ===== */

.contact-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }
}

.contact-box {
  border: var(--rule) solid rgba(244,241,234,.18);
  border-radius: 14px;
  padding: 16px;
  background: rgba(244,241,234,.04);
}

.contact-heading {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0 0 8px;
}

.contact-location {
  font-family: var(--font-mono);
  font-size: 14px;
  margin: 0 0 8px;
  opacity: .9;
}

.contact-tagline {
  font-style: italic;
  opacity: .85;
  margin: 0 0 12px;
}

.contact-note {
  font-size: 14px;
  opacity: .8;
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  gap: 12px;
}

@media (min-width: 650px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .9;
}

input, textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: var(--rule) solid var(--ink);
  background: rgba(11,11,12,.92);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: box-shadow .2s ease, border-color .2s ease;
}

input::placeholder, textarea::placeholder {
  color: rgba(244,241,234,.45);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109,70,201,.25), 0 0 20px rgba(109,70,201,.20);
}

textarea {
  min-height: 120px;
  resize: vertical;
}


/* ===== FAQ ===== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: var(--rule) solid rgba(244,241,234,.18);
  border-radius: 12px;
  background: rgba(244,241,234,.03);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item:hover {
  border-color: rgba(244,241,234,.28);
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(109,70,201,.18), 0 0 20px rgba(109,70,201,.15);
}

.faq-question {
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  opacity: .7;
  transition: transform .2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  background: rgba(244,241,234,.04);
}

.faq-question:focus-visible {
  outline: none;
  background: rgba(109,70,201,.12);
  box-shadow: inset 0 0 0 2px rgba(109,70,201,.3);
}

.faq-answer {
  padding: 0 16px 16px;
  font-size: 15px;
  line-height: 1.7;
  opacity: .9;
  border-top: 1px solid rgba(244,241,234,.12);
  margin-top: -1px;
  padding-top: 14px;
}

.faq-answer p {
  margin: 0;
}


/* ===== FOOTER ===== */

.footer {
  margin-top: 16px;
  border: var(--rule-strong) solid var(--ink);
  border-radius: var(--radius);
  background: rgba(11,11,12,.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  padding: 14px 16px;
}

.footer .chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: var(--rule) solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(244,241,234,.04);
  font-family: var(--font-mono);
  font-size: 12px;
}

.footer .chip img {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: var(--rule) solid var(--ink);
  background: rgba(11,11,12,.92);
}

.site-credit {
  margin: 0 14px 14px;
  border: var(--rule) solid rgba(244,241,234,.18);
  border-radius: 14px;
  background: rgba(11,11,12,.82);
  padding: 10px 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--orange);
  box-shadow: 0 0 0 3px rgba(11,11,12,.55), 0 0 22px rgba(254,88,0,.18);
}

.site-credit a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(254,88,0,.55);
  transition: filter .2s ease;
}

.site-credit a:hover {
  filter: brightness(1.1);
}

.site-credit a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(254,88,0,.4);
  border-radius: 2px;
}


/* ===== SCROLL REVEAL ===== */

.reveal {
  opacity: 0;
  transform: translateY(12px) rotate(-0.25deg);
  transition: opacity .5s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

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


/* ===== SPOTLIGHT ===== */

#spotlight {
  position: fixed;
  inset: -15vh -15vw;
  pointer-events: none;
  z-index: -1;
  opacity: .65;
  mix-blend-mode: screen;
  filter: blur(0.45px) saturate(1.25) contrast(1.02);
  background:
    radial-gradient(520px 520px at var(--sx, 50%) var(--sy, 20%),
      rgba(109,70,201,.26), transparent 62%),
    radial-gradient(720px 560px at calc(var(--sx, 50%) + 10%) calc(var(--sy, 20%) + 16%),
      rgba(255,42,51,.16), transparent 68%),
    radial-gradient(680px 640px at calc(var(--sx, 50%) - 14%) calc(var(--sy, 20%) + 20%),
      rgba(74,160,168,.14), transparent 72%);
}

@media (prefers-reduced-motion: no-preference) {
  #spotlight {
    animation: spotShimmer 6.5s ease-in-out infinite alternate;
  }

  @keyframes spotShimmer {
    0% { filter: blur(0.45px) saturate(1.2); }
    100% { filter: blur(0.55px) saturate(1.35); }
  }
}

@media (prefers-reduced-motion: reduce) {
  #spotlight { display: none; }
}


/* ===== FILM LEADER INTRO ===== */

#filmLeader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5,5,7,.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#filmLeader.is-on { display: flex; }

#filmLeader .frame {
  width: min(640px, 92vw);
  border: var(--rule-strong) solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 25% 10%, rgba(109,70,201,.18), transparent 55%),
    radial-gradient(120% 90% at 85% 25%, rgba(255,42,51,.12), transparent 58%),
    radial-gradient(110% 90% at 60% 110%, rgba(74,160,168,.10), transparent 60%),
    repeating-linear-gradient(180deg, rgba(244,241,234,.09) 0 1px, transparent 1px 6px),
    var(--paper);
  box-shadow: 0 0 0 3px rgba(244,241,234,.10), 0 24px 70px rgba(0,0,0,.75);
  position: relative;
}

#filmLeader .perfs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(244,241,234,.22) 0 10px, transparent 10px 24px);
  opacity: .10;
  mask:
    radial-gradient(10px 10px at 18px 18px, #000 99%, transparent 100%) top left / 24px 24px repeat,
    radial-gradient(10px 10px at 18px 18px, #000 99%, transparent 100%) bottom left / 24px 24px repeat;
  -webkit-mask:
    radial-gradient(10px 10px at 18px 18px, #000 99%, transparent 100%) top left / 24px 24px repeat,
    radial-gradient(10px 10px at 18px 18px, #000 99%, transparent 100%) bottom left / 24px 24px repeat;
}

#filmLeader .content {
  padding: 32px 24px;
  text-align: center;
  color: var(--ink);
}

#filmLeader .title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 38px;
  margin: 0 0 8px;
  text-shadow:
    0 0 26px rgba(109,70,201,.35),
    -1px 0 rgba(255,42,51,.18),
    1px 0 rgba(74,160,168,.16);
}

#filmLeader .sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  opacity: .9;
  margin: 0 0 14px;
}

#filmLeader .hint {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: .85;
}

#filmLeader .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(244,241,234,.75);
  box-shadow: 0 0 18px rgba(109,70,201,.35), 0 0 12px rgba(255,42,51,.20);
  animation: dotPulse 1s ease-in-out infinite;
}

#filmLeader .dot:nth-child(2) { animation-delay: .15s; }
#filmLeader .dot:nth-child(3) { animation-delay: .3s; }

@keyframes dotPulse {
  0%, 100% { opacity: .4; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  #filmLeader .frame {
    animation: leaderIn .55s ease-out, leaderOut .55s ease-in 1.05s forwards;
  }

  @keyframes leaderIn {
    from { transform: translateY(10px) scale(.98); opacity: .6; }
    to { transform: translateY(0) scale(1); opacity: 1; }
  }

  @keyframes leaderOut {
    to { transform: translateY(-6px) scale(.985); opacity: 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  #filmLeader { display: none !important; }
}


/* ===== NOW SHOWING BADGE ===== */

#nowBadge {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: var(--rule-strong) solid var(--ink);
  border-radius: 999px;
  background: rgba(11,11,12,.92);
  box-shadow: var(--glow-purple);
  max-width: min(92vw, 420px);
  cursor: pointer;
  user-select: none;
  transition: box-shadow .2s ease;
}

#nowBadge:hover {
  box-shadow: 0 0 0 3px rgba(109,70,201,.28), 0 0 32px rgba(109,70,201,.50), 0 0 70px rgba(109,70,201,.28);
}

#nowBadge .pip {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(109,70,201,.95);
  box-shadow: 0 0 18px rgba(109,70,201,.60), 0 0 14px rgba(255,42,51,.22);
  animation: pipPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pipPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 18px rgba(109,70,201,.60); }
  50% { opacity: .6; box-shadow: 0 0 28px rgba(109,70,201,.80); }
}

#nowBadge .txt {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.25;
  opacity: .95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#nowBadge.min {
  padding: 10px;
  max-width: none;
}

#nowBadge.min .txt { display: none; }

@media (max-width: 760px) {
  #nowBadge {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
}


/* ===== STAMP ANIMATION ===== */

@media (prefers-reduced-motion: no-preference) {
  .stamp {
    transform-origin: 50% 60%;
    will-change: transform;
  }

  .stamp:hover {
    animation: stampPress .55s ease-in-out;
  }

  @keyframes stampPress {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    35% { transform: translateY(1px) scale(.965) rotate(-1deg); }
    65% { transform: translateY(-1px) scale(1.01) rotate(1deg); }
    100% { transform: translateY(0) scale(1) rotate(0deg); }
  }

  .stamp:hover::after { opacity: .5; }
}


/* ===== PAGE LAYOUTS ===== */

.page {
  margin-top: 16px;
  border: var(--rule-strong) solid var(--ink);
  border-radius: var(--radius);
  background: rgba(11,11,12,.92);
  box-shadow: var(--shadow);
}

.page-inner {
  padding: 24px 18px;
}

@media (min-width: 900px) {
  .page-inner { padding: 32px 26px; }
}

.h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 34px;
  line-height: 1.05;
  margin: 0 0 10px;
  text-shadow:
    0 0 24px rgba(109,70,201,.22),
    -1px 0 rgba(255,42,51,.16),
    1px 0 rgba(74,160,168,.14);
}


/* ===== THANKS PAGE ===== */

.thanks-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.thanks-icon {
  color: var(--accent3);
  margin-bottom: 16px;
  animation: checkPop .6s ease-out;
}

@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}


/* ===== ERROR PAGE ===== */

.error-page .page-inner {
  text-align: center;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  opacity: .15;
  margin-bottom: -20px;
  text-shadow: 0 0 40px rgba(255,42,51,.3);
}

.error-hint {
  font-size: 15px;
  opacity: .8;
  margin-top: 12px;
}


/* ===== TAP GLOW (Touch devices) ===== */

.tap-glow {
  box-shadow: 0 0 0 3px rgba(244,241,234,.12),
              0 0 28px rgba(109,70,201,.38),
              0 0 58px rgba(109,70,201,.20),
              0 0 22px rgba(255,42,51,.14) !important;
}


/* ===== MOBILE OPTIMIZATIONS ===== */

@media (max-width: 760px) {
  :root {
    --rule: 2px;
    --rule-strong: 4px;
    --radius: 16px;
  }

  body {
    font-size: 17px;
    line-height: 1.7;
  }

  #spotlight { opacity: .35; }
  body::after { opacity: .65; }

  .header { top: 10px; }
  .header-inner { padding: 10px; }
  .stamp { width: 50px; height: 50px; }

  .h1 { font-size: clamp(34px, 8vw, 44px); }
  .h2 { font-size: clamp(26px, 6.5vw, 34px); }
  .kicker { font-size: 12px; }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-row { gap: 10px; }
  .badge { font-size: 11px; }

  .hero, .card, .page, .footer, .header {
    border-radius: 18px;
  }

  .media { border-radius: 16px; }
  .contact-grid { grid-template-columns: 1fr; }

  @media (hover: none) {
    .card { transform: none !important; }
  }
}

@media (max-width: 520px) {
  .hero-inner { padding: 14px; gap: 12px; }
  .h1 { font-size: 38px; }
  .kicker { font-size: 12px; }
}

@media (max-width: 390px) {
  .container { padding: 14px 14px 44px; }
  .stamp { width: 46px; height: 46px; }
  .nav { right: 10px; }
  #nowBadge { max-width: 88vw; }
}


/* ===== REDUCED MOTION ===== */

@media (prefers-reduced-motion: reduce) {
  #spotlight { display: none; }
  body::after { animation: none; }
  .media::before { animation: none; }
  .media::after { animation: none; }
  .btn.primary { animation: none; }
  .badge-dot { animation: none; }
  #nowBadge .pip { animation: none; }
  #filmLeader .dot { animation: none; }
  .thanks-icon { animation: none; }

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


/* ===== FOCUS VISIBLE (Global) ===== */

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(244,241,234,.22), 0 0 0 6px rgba(109,70,201,.32), 0 0 30px rgba(109,70,201,.30);
  border-radius: 8px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
details summary:focus-visible {
  outline: none;
}
