/* ============================================================
   CK FILM & ENTERTAINMENT — DESIGN SYSTEM
   "The Marquee" — a cinematic editorial aesthetic.
   Deep blacks, amber marquee accents, poster typography.
   Hero sections lock to viewport height. Mobile fully tuned.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* core palette */
  --ink:      #0b0a08;
  --ink-2:    #14110d;
  --ink-3:    #1d1814;
  --paper:    #f3ece0;
  --paper-2:  rgba(243,236,224,.72);
  --paper-3:  rgba(243,236,224,.42);
  --paper-4:  rgba(243,236,224,.16);
  --marquee:  #e8b04a;
  --marquee-2:#f7c768;
  --marquee-glow: 0 0 38px rgba(232,176,74,.35);

  --red-77:   #c8302a;
  --blue-rick:#4a8fbf;
  --acid-fest:#9bd13d;

  --font-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --font-serif:   'Fraunces', 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max:    1440px;
  --rule:   1px solid rgba(243,236,224,.14);
  --rule-2: 1px solid rgba(243,236,224,.28);

  /* viewport heights — locks hero sections to visible window */
  --header-h: 60px;
  --ticker-h: 28px;
  --hero-h:   calc(100vh - var(--header-h) - var(--ticker-h));

  /* tells browsers to render native UI controls (selects, scrollbars,
     date pickers, etc.) in dark mode — fixes the white-flash dropdown */
  color-scheme: dark;
}
@supports (height: 100svh) {
  :root { --hero-h: calc(100svh - var(--header-h) - var(--ticker-h)); }
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-serif);
  font-weight: 350;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 1.6s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0,0); }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.55) 100%);
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--marquee); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--marquee); color: var(--ink); }

/* ----- type system ----- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--marquee);
  font-weight: 500;
}
.eyebrow::before { content: "▸ "; opacity: .7; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.ticker {
  background: var(--marquee);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,.2);
  height: var(--ticker-h);
  display: flex;
  align-items: center;
}
.ticker__track {
  display: inline-flex;
  gap: 4rem;
  white-space: nowrap;
  animation: ticker 70s linear infinite;
  padding-left: 100%;
}
.ticker__track span::before { content: "★ "; color: var(--ink); margin-right: .35em; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,10,8,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--rule);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header__inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .12em;
}
.brand__mark {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -.02em;
  border-radius: 2px;
  flex-shrink: 0;
}
.brand__text { font-size: .95rem; line-height: 1.15; }
.brand__text small { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .25em; opacity: .55; margin-top: 2px; }

.nav { display: flex; justify-content: center; gap: 1.8rem; }
.nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper-2);
  position: relative;
  padding: .4rem 0;
}
.nav a:hover, .nav a.is-active { color: var(--paper); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--marquee);
}
.nav__has-sub { position: relative; }
.nav__has-sub > a::after { content: " ▾"; opacity: .5; }
.nav__sub {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  background: var(--ink-2);
  border: var(--rule);
  padding: .5rem 0;
  min-width: 240px;
  opacity: 0; pointer-events: none;
  transition: all .2s ease;
}
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav__sub a {
  display: block;
  padding: .65rem 1.1rem;
  letter-spacing: .14em;
  font-size: 10.5px;
  border-left: 2px solid transparent;
}
.nav__sub a:hover { border-left-color: var(--marquee); background: rgba(232,176,74,.06); }

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .65rem 1rem;
  border: 1px solid var(--paper-3);
  color: var(--paper);
  transition: all .2s ease;
}
.header__cta:hover { background: var(--marquee); color: var(--ink); border-color: var(--marquee); }
.header__cta::before { content: "●"; color: var(--marquee); font-size: 9px; }

.hamburger { display: none; }

/* ============================================================
   HERO — locked to viewport height, vertical-centered
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(1rem, 2.5vw, 2rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
  min-height: var(--hero-h);
  display: grid;
  align-items: center;
}
.hero__layer {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
}
.hero__left .eyebrow { margin-bottom: 1rem; display: inline-block; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.8vw, 6.5rem);
  line-height: .85;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--paper);
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  text-transform: lowercase;
  color: var(--marquee);
  font-variation-settings: "opsz" 144;
  letter-spacing: -.02em;
}
.hero__sub {
  margin-top: 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(.95rem, 1.1vw, 1.08rem);
  line-height: 1.5;
  color: var(--paper-2);
  max-width: 32rem;
}
.hero__meta {
  margin-top: 1.4rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero__right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .8rem;
  max-height: calc(var(--hero-h) - 4rem);
}
.hero__poster {
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--ink-2);
  border: 1px solid var(--paper-4);
  overflow: hidden;
  max-height: calc(var(--hero-h) - 6rem);
  width: auto;
  align-self: center;
}
.hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.hero__poster::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.hero__credit {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper-3);
  text-align: center;
}

/* small scroll cue — fixed to viewport bottom-center.
   z-index sits ABOVE the body::after vignette (9998) and ::before grain (9999)
   so it stays visible at the bottom of the screen. Fades on scroll. */
.hero__scroll {
  position: fixed;
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--paper);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: .55rem .85rem;
  background: rgba(11,10,8,.55);
  border: 1px solid rgba(243,236,224,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  animation: scrollbob 2.2s ease-in-out infinite;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  text-shadow: 0 1px 6px rgba(0,0,0,.85);
}
.hero__scroll::after { content: "↓"; font-size: 1.05rem; color: var(--marquee); line-height: 1; }
.hero__scroll.is-hidden { opacity: 0; pointer-events: none; }
@keyframes scrollbob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(5px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.3rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid var(--paper);
  color: var(--paper);
  background: transparent;
  transition: all .2s ease;
  position: relative;
  white-space: nowrap;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn--solid { background: var(--marquee); color: var(--ink); border-color: var(--marquee); }
.btn--solid:hover { background: var(--marquee-2); border-color: var(--marquee-2); color: var(--ink); }
.btn--ghost { border-color: var(--paper-3); color: var(--paper-2); }
.btn--ghost:hover { color: var(--marquee); border-color: var(--marquee); background: transparent; }
.btn .arrow { font-size: 1.1em; line-height: 1; }

/* ============================================================
   STATUS PILLS
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border: 1px solid var(--paper-3);
  color: var(--paper-2);
  border-radius: 2px;
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--marquee);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--marquee);
}
.pill--live::before { background: #5fd97a; box-shadow: 0 0 8px #5fd97a; animation: pulse 1.6s ease-in-out infinite; }
.pill--soon::before { background: var(--marquee); }
.pill--prod::before { background: var(--red-77); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .55; }
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
  position: relative;
}
.section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: clamp(1.2rem, 3vw, 2.5rem);
  border-bottom: var(--rule);
  padding-bottom: 1rem;
}
.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: .9;
  letter-spacing: -.005em;
}
.section__head .num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--paper-3);
  text-transform: uppercase;
}

.rule-strip {
  height: 22px;
  background-image:
    linear-gradient(90deg, var(--paper) 50%, transparent 50%),
    linear-gradient(90deg, var(--paper) 50%, transparent 50%);
  background-size: 28px 5px, 28px 5px;
  background-position: 0 4px, 0 14px;
  background-repeat: repeat-x;
  opacity: .12;
  margin: 0 var(--gutter);
}

/* ============================================================
   FILM CARD GRID
   ============================================================ */
.film-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.film-card {
  display: block;
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--paper-4);
  transition: all .35s ease;
  overflow: hidden;
}
.film-card:hover {
  border-color: var(--marquee);
  transform: translateY(-4px);
  box-shadow: var(--marquee-glow);
}
.film-card__poster {
  aspect-ratio: 2/3;
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
}
.film-card__poster img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.film-card:hover .film-card__poster img { transform: scale(1.04); }
.film-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(243,236,224,.04) 12px 24px),
    var(--ink-3);
  color: var(--paper-3);
  text-align: center;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  gap: .8rem;
}
.film-card__placeholder svg { width: 34px; height: 34px; opacity: .35; }
.film-card__body {
  padding: 1.1rem 1.2rem 1.3rem;
  border-top: var(--rule);
}
.film-card__year {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--paper-3);
  text-transform: uppercase;
  margin-bottom: .5rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.film-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.1vw, 2.1rem);
  letter-spacing: 0;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.film-card__sub {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--paper-2);
  font-size: .95rem;
}

/* ============================================================
   PRESS STRIP
   ============================================================ */
.press {
  background: var(--ink-2);
  border-block: var(--rule);
  padding: 2rem var(--gutter);
}
.press__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
.press__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--paper-3);
  white-space: nowrap;
}
.press__list {
  display: flex;
  gap: clamp(1rem, 3vw, 2.8rem);
  flex-wrap: wrap;
  align-items: center;
}
.press__list span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  letter-spacing: .02em;
  color: var(--paper-2);
  position: relative;
}
.press__list span:not(:last-child)::after {
  content: "✦";
  margin-left: clamp(1rem, 3vw, 2.8rem);
  color: var(--marquee);
  font-size: .55em;
  vertical-align: middle;
}

/* ============================================================
   PULL QUOTE
   ============================================================ */
.pull {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-block: var(--rule);
}
.pull__mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: .7;
  color: var(--marquee);
}
.pull__body {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  color: var(--paper);
}
.pull__cite {
  margin-top: .8rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--paper-3);
  text-transform: uppercase;
}

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-tease {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.about-tease__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: .9;
  margin-bottom: 1.2rem;
}
.about-tease__copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  text-transform: lowercase;
  color: var(--marquee);
}
.about-tease__copy p {
  font-size: 1.02rem;
  color: var(--paper-2);
  max-width: 36rem;
  margin-bottom: .8rem;
}
.about-tease__img {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--paper-4);
  overflow: hidden;
}
.about-tease__img img { width: 100%; height: 100%; object-fit: cover; }
.about-tease__img::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.6));
  pointer-events: none;
}
.about-tease__img figcaption {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper);
  z-index: 1;
}

/* ============================================================
   FILM PAGE — POSTER + DETAIL HERO
   .film__top is the hero (locked to viewport); children below flow normally.
   ============================================================ */
.film {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.film__top {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: var(--hero-h);
  padding: clamp(1rem, 2.5vw, 2rem) 0;
}
.film__poster {
  position: relative;
  aspect-ratio: 2/3;
  background: var(--ink-2);
  border: 1px solid var(--paper-4);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  max-height: calc(var(--hero-h) - 4rem);
  width: auto;
  align-self: center;
  justify-self: center;
}
.film__poster img { width: 100%; height: 100%; object-fit: cover; }
.film__poster--placeholder { display: flex; align-items: center; justify-content: center; }

.film__detail .eyebrow { margin-bottom: 1rem; display: inline-block; }
.film__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  line-height: .85;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.film__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  text-transform: lowercase;
  color: var(--marquee);
}
.film__tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--paper-2);
  margin-bottom: 1.4rem;
  font-variation-settings: "opsz" 144;
}
.film__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--paper-4);
  border: 1px solid var(--paper-4);
  margin-bottom: 1.4rem;
}
.film__meta dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--paper-3);
  margin-bottom: .3rem;
}
.film__meta dd {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .03em;
}
.film__meta > div {
  background: var(--ink);
  padding: .75rem 1rem;
}

.film__synopsis {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--paper-2);
  margin-bottom: .8rem;
  max-width: 38rem;
}
.film__synopsis::first-letter {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: .9;
  float: left;
  margin: .15rem .5rem 0 0;
  color: var(--marquee);
}
.film__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* per-film accent — colored TEXT GLOW on titles (text-shadow, not box-shadow,
   so the glow emanates from the letterforms, not a rectangle behind them).
   Pills get the colored dot + box-shadow halo on their ::before indicator. */
.film-77 .film__title em,
.film-77 .film__title-accent {
  color: var(--red-77);
  text-shadow: 0 0 22px rgba(200,48,42,.55), 0 0 50px rgba(200,48,42,.28);
}
.film-77 .pill::before { background: var(--red-77); box-shadow: 0 0 8px var(--red-77); }

.film-rick .film__title em,
.film-rick .film__title-accent {
  color: var(--blue-rick);
  text-shadow: 0 0 22px rgba(74,143,191,.55), 0 0 50px rgba(74,143,191,.32);
}
.film-rick .pill::before { background: var(--blue-rick); box-shadow: 0 0 8px var(--blue-rick); }

.film-festevil .film__title em,
.film-festevil .film__title-accent {
  color: var(--acid-fest);
  text-shadow: 0 0 22px rgba(155,209,61,.55), 0 0 50px rgba(155,209,61,.32);
}
.film-festevil .pill::before { background: var(--acid-fest); box-shadow: 0 0 8px var(--acid-fest); }

/* keeps the title in display-font caps but tints the accent word —
   use this for proper nouns where italic-lowercase serif would be wrong */
.film__title-accent {
  display: inline-block;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--marquee);
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.gallery > * {
  aspect-ratio: 4/3;
  background: var(--ink-2);
  border: 1px solid var(--paper-4);
  overflow: hidden;
  position: relative;
}
.gallery > *:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 16/11; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery > *:hover img { transform: scale(1.05); }
.gallery__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  text-align: center; color: var(--paper-3);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  padding: 1rem;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(243,236,224,.03) 14px 28px),
    var(--ink-3);
}
.gallery__placeholder svg { width: 28px; height: 28px; opacity: .35; }

/* ============================================================
   TRAILER — simple link button to YouTube
   ============================================================ */
.trailer {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.trailer__btn {
  font-size: 13px;
  padding: 1.1rem 2rem;
  letter-spacing: .22em;
}

@media (max-width: 720px) {
  .trailer__btn {
    width: 100%;
    justify-content: center;
  }
}

/* press log */
.press-log {
  margin-top: 3rem;
  padding: 1.6rem;
  border: var(--rule);
  background: var(--ink-2);
}
.press-log h3 { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .04em; margin-bottom: 1rem; }
.press-log ul { display: flex; flex-direction: column; gap: .8rem; }
.press-log li {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: .8rem;
  border-bottom: var(--rule);
  font-family: var(--font-serif);
  font-size: .95rem;
}
.press-log li:last-child { border-bottom: 0; padding-bottom: 0; }
.press-log time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  color: var(--paper-3);
  text-transform: uppercase;
}
.press-log strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .03em; color: var(--paper); }
.press-log em { color: var(--paper-2); font-style: italic; }
.press-log .source {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--marquee);
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink-2);
  border-top: var(--rule);
  margin-top: clamp(2rem, 5vw, 5rem);
}
.footer__strip {
  background: var(--paper);
  color: var(--ink);
  padding: 2.2rem var(--gutter);
}
.footer__strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.footer__strip h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: .95;
}
.footer__strip h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  text-transform: lowercase;
  color: var(--red-77);
}
.footer__main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--marquee);
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer__col li a {
  color: var(--paper-2);
  font-family: var(--font-serif);
  font-size: .98rem;
}
.footer__brand p {
  margin-top: .8rem;
  color: var(--paper-3);
  font-size: .9rem;
}
.footer__bottom {
  border-top: var(--rule);
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem var(--gutter);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.footer__bottom a:hover { color: var(--marquee); }

/* ============================================================
   FORMS
   ============================================================ */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  max-width: 760px;
}
.form__group { display: flex; flex-direction: column; gap: .35rem; }
.form__group--full { grid-column: 1 / -1; }
.form label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.form input,
.form textarea,
.form select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--paper-3);
  padding: .7rem 0;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color .2s ease;
  color-scheme: dark;
}
.form input:focus,
.form textarea:focus,
.form select:focus { border-bottom-color: var(--marquee); }
.form textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   CUSTOM SELECT — designed component, replaces native dropdowns
   in the contact form. Native <select> rules below stay as a
   fallback for any other unattached selects.
   ============================================================ */
.select { position: relative; font-family: var(--font-serif); }

.select__trigger {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--paper-3);
  padding: .7rem 0;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: border-color .2s ease, color .2s ease;
}
.select__trigger:hover { border-bottom-color: var(--paper-2); }
.select.is-open .select__trigger,
.select__trigger:focus-visible { border-bottom-color: var(--marquee); outline: none; }

.select__current {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.select__current[data-empty="true"] {
  color: var(--paper-3);
  font-style: italic;
}

.select__arrow {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--marquee);
  transition: transform .25s cubic-bezier(.5,0,.4,1.2);
  flex-shrink: 0;
}
.select__arrow svg { width: 100%; height: 100%; }
.select.is-open .select__arrow { transform: rotate(180deg); }

.select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--ink-2);
  border: 1px solid var(--paper-4);
  z-index: 25;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 18px 50px -16px rgba(0,0,0,.7), 0 0 0 1px rgba(232,176,74,.05);
  padding: .35rem 0;
}
.select.is-open .select__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* flip up if the menu would overflow viewport bottom */
.select.is-flip .select__menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(6px);
}
.select.is-flip.is-open .select__menu { transform: translateY(0); }

/* film-strip top edge — single decorative perforation row */
.select__menu::before {
  content: "";
  display: block;
  height: 4px;
  margin: -.35rem 0 .35rem;
  background-image:
    linear-gradient(90deg, var(--marquee) 50%, transparent 50%);
  background-size: 14px 4px;
  background-repeat: repeat-x;
  opacity: .35;
}

.select__option {
  list-style: none;
  padding: .65rem 1.1rem .65rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-2);
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-left-color .15s ease;
  position: relative;
  user-select: none;
}
.select__option:hover,
.select__option.is-focus {
  border-left-color: var(--marquee);
  background: rgba(232,176,74,.07);
  color: var(--paper);
}
.select__option.is-selected {
  color: var(--marquee);
  border-left-color: var(--marquee);
  font-weight: 500;
}
.select__option.is-selected::after {
  content: "✓";
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--marquee);
  font-weight: 700;
}
.select__option--placeholder {
  color: var(--paper-3);
  font-style: italic;
  letter-spacing: .12em;
}

/* dark scrollbar for the menu (color-scheme handles most browsers) */
.select__menu::-webkit-scrollbar { width: 6px; }
.select__menu::-webkit-scrollbar-track { background: transparent; }
.select__menu::-webkit-scrollbar-thumb { background: var(--paper-4); border-radius: 3px; }
.select__menu::-webkit-scrollbar-thumb:hover { background: var(--marquee); }

/* dark-themed dropdown — overrides the white system default */
.form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'><path d='M1 1l5 5 5-5' stroke='%23e8b04a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right .35rem center;
  background-size: 11px;
  padding-right: 1.6rem;
  cursor: pointer;
}
.form select option,
.form select optgroup {
  background-color: #14110d;     /* var(--ink-2) — option panel bg */
  color: #f3ece0;                /* var(--paper) — option text */
  font-family: 'Fraunces', serif;
  padding: .6rem .8rem;
}
.form select:focus { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'><path d='M1 7l5-5 5 5' stroke='%23e8b04a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }

/* ============================================================
   PLACEHOLDER UTILITY
   ============================================================ */
.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(243,236,224,.04) 14px 28px),
    var(--ink-2);
  border: 1px dashed var(--paper-4);
  color: var(--paper-3);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  min-height: 180px;
}
.placeholder svg { width: 34px; height: 34px; opacity: .4; }
.placeholder small {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .9rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--paper-3);
  font-weight: 300;
}

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); animation: reveal .8s cubic-bezier(.22,.7,.2,1) forwards; }
.reveal--1 { animation-delay: .04s; }
.reveal--2 { animation-delay: .14s; }
.reveal--3 { animation-delay: .26s; }
.reveal--4 { animation-delay: .38s; }
.reveal--5 { animation-delay: .5s; }
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE — three breakpoints, mobile heavily tuned
   ============================================================ */
@media (max-width: 1080px) {
  .hero__title { font-size: clamp(2.4rem, 7vw, 5.5rem); }
  .film__title { font-size: clamp(2.2rem, 5.8vw, 4.8rem); }
}

@media (max-width: 960px) {
  :root { --header-h: 56px; --ticker-h: 26px; }
  .hero { padding: 1rem var(--gutter); }
  .hero__layer {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    align-items: start;
  }
  .hero__left { order: 2; }
  .hero__right {
    order: 1;
    max-width: 200px;
    max-height: 45vh;
    margin: 0 auto;
  }
  .hero__poster { max-height: 40vh; }
  .hero__credit { display: none; }
  .hero__title { font-size: clamp(2.2rem, 8.5vw, 4rem); line-height: .88; }
  .hero__sub { font-size: .95rem; }
  .hero__meta { margin-top: 1rem; gap: .55rem; }
  .hero__meta .btn { padding: .65rem 1rem; font-size: 10.5px; }
  .film__top {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
  }
  .film__poster {
    max-width: 200px;
    max-height: 42vh;
    margin: 0 auto;
  }
  .film__title { font-size: clamp(2rem, 7.5vw, 3.6rem); margin-bottom: .6rem; }
  .film__tag { margin-bottom: 1rem; font-size: 1rem; }
  .film__meta { grid-template-columns: repeat(2, 1fr); margin-bottom: 1rem; }
  .film__synopsis { font-size: .95rem; }
  .film__synopsis::first-letter { font-size: 2.2rem; }
  .film-grid { grid-template-columns: repeat(2, 1fr); }
  .about-tease { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__strip-inner { grid-template-columns: 1fr; text-align: left; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery > *:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }
  .section { padding: 2rem var(--gutter); }
  .section__head { margin-bottom: 1.5rem; }
  .section__head h2 { font-size: clamp(1.8rem, 5.5vw, 2.8rem); }
  .press-log li { grid-template-columns: 70px 1fr; }
  .press-log .source { grid-column: 2; }
}

@media (max-width: 720px) {
  :root { --header-h: 52px; --ticker-h: 24px; }
  .ticker { font-size: 10px; letter-spacing: .12em; }
  .header__inner { grid-template-columns: 1fr auto; padding: 0 var(--gutter); gap: .5rem; }
  .brand { gap: .5rem; }
  .brand__mark { width: 28px; height: 28px; font-size: .9rem; }
  .brand__text { font-size: .82rem; letter-spacing: .08em; }
  .brand__text small { display: none; }
  .nav { display: none; position: fixed; inset: calc(var(--header-h) + var(--ticker-h)) 0 0; flex-direction: column; gap: 0; padding: 1.5rem; background: var(--ink); align-items: flex-start; z-index: 30; overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; font-size: 1rem; letter-spacing: .15em; border-bottom: var(--rule); width: 100%; }
  .nav__sub { position: static; transform: none; opacity: 1; pointer-events: auto; background: transparent; border: 0; padding: 0 0 0 1rem; min-width: 0; margin-top: .3rem; margin-bottom: .3rem; }
  .nav__sub a { font-size: .85rem; padding: .5rem 0; border-bottom: 0; }
  .header__cta { display: none; }
  .hamburger {
    display: inline-flex; flex-direction: column; gap: 5px; padding: 8px;
    z-index: 31; position: relative;
  }
  .hamburger span { width: 22px; height: 2px; background: var(--paper); transition: transform .2s ease; }
  .hero { padding: .8rem var(--gutter); }
  .hero__layer { gap: 1rem; }
  .hero__title { font-size: clamp(2rem, 9vw, 3.2rem); line-height: .9; }
  .hero__sub { font-size: .9rem; line-height: 1.5; }
  .hero__right { max-width: 150px; max-height: 36vh; }
  .hero__poster { max-height: 34vh; }
  .hero__meta { gap: .5rem; flex-direction: column; align-items: stretch; }
  .hero__meta .btn { justify-content: center; padding: .7rem 1rem; font-size: 10.5px; width: 100%; }
  .film__top { padding: .8rem 0; gap: .8rem; }
  .film__title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .film__tag { font-size: .92rem; margin-bottom: .8rem; }
  .film__poster { max-width: 160px; max-height: 32vh; }
  .film__meta { grid-template-columns: 1fr 1fr; }
  .film__meta dd { font-size: .95rem; }
  .film__synopsis { font-size: .9rem; }
  .film__actions { gap: .5rem; }
  .film__actions .btn { padding: .65rem .9rem; font-size: 10px; }
  .film-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .pull { grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem 0; }
  .pull__mark { font-size: 2.5rem; }
  .pull__body { font-size: 1.05rem; }
  .press__inner { grid-template-columns: 1fr; gap: .8rem; }
  .press__list { gap: 1rem; }
  .press__list span:not(:last-child)::after { margin-left: 1rem; }
  .section__head { grid-template-columns: 1fr; gap: .5rem; }
  .form { grid-template-columns: 1fr; }
  .gallery { gap: .6rem; }
  .gallery > *:nth-child(1) { aspect-ratio: 16/9; }
  .trailer__play { width: 60px; height: 60px; font-size: 1.1rem; }
  .trailer__caption { font-size: 9px; bottom: .6rem; left: .8rem; right: .8rem; }
  .press-log { padding: 1.2rem; }
  .press-log li { grid-template-columns: 1fr; gap: .25rem; padding-bottom: .8rem; }
  .press-log .source { grid-column: 1; }
  .footer__strip { padding: 1.6rem var(--gutter); }
  .footer__main { padding: 1.8rem var(--gutter) 1rem; }
  .footer__bottom { font-size: 9px; flex-direction: column; gap: .5rem; }
  .hero__scroll { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.85rem, 10vw, 2.6rem); }
  .hero__right { max-width: 130px; max-height: 30vh; }
  .film__poster { max-width: 140px; max-height: 28vh; }
  .footer__main { grid-template-columns: 1fr; }
  .pill { font-size: 9px; padding: .25rem .5rem; }
  .eyebrow { font-size: 10px; }
  .section { padding: 1.5rem var(--gutter); }
}
