/* ───────────────────────────────────────────────────────────────
   INTERFILM — Editorial cinema
   Pure black canvas, oversize serif display, scroll choreography
   ─────────────────────────────────────────────────────────────── */

:root {
  --bg:        #0a0907;
  --bg-2:      #131110;
  --ink:       #f3eee5;
  --ink-soft:  #b8b1a3;
  --ink-mute:  #65605a;
  --rule:      rgba(243,238,229,.08);
  --accent:    #c5b59b;          /* refined warm bone, not gold */
  --accent-2:  #b89a6a;          /* deeper amber, used very sparingly */
  --hot:       #d96a3c;          /* warm cinema-marker red, hover only */
  --t:         cubic-bezier(.2,.7,.15,1);
  --t-slow:    cubic-bezier(.2,.8,.1,1);
  /* Single display serif — Lora handles Latin + Cyrillic with identical metrics,
     so headings render the same visual weight across EN/UA. */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }
html, body { background: var(--bg); }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: .005em;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: none; /* custom cursor */
}

/* All display-serif uses go through --font-display; see :root + :lang(uk) above. */

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .35s var(--t);
}

::selection { background: var(--accent); color: var(--bg); }

/* ── Skip-link — keyboard a11y ─────────────────────────────── */
.skip-link {
  position: fixed;
  top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 1100;
  background: var(--bg);
  color: var(--ink);
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  text-decoration: none;
  transition: transform .25s var(--t);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 16px);
  outline: none;
}

/* ── Film-grain overlay across entire site ───────────────────── */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .055;
  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='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .94  0 0 0 0 .85  0 0 0 .45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  animation: grainShift 1.4s steps(3) infinite;
}

/* ── Cinema spotlight that tracks the cursor ─────────────────── */
.spotlight {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 199;
  background: radial-gradient(
    260px 260px at var(--mx, 50%) var(--my, 50%),
    rgba(243, 230, 200, .055) 0%,
    rgba(243, 230, 200, .025) 35%,
    transparent 70%
  );
  transition: opacity .4s var(--t);
  mix-blend-mode: screen;
}
@media (pointer: coarse) { .spotlight { display: none; } }

/* ── Filmstrip particles trailing the cursor ─────────────────
   Each "spark" is now a tiny 35mm film cell:
   dark sprocket bars top/bottom with 2 holes each, accent "image" middle. */
.spark {
  position: fixed;
  pointer-events: none;
  z-index: 998;
  width: 16px;
  height: 10px;
  -webkit-user-select: none;
  user-select: none;
  transform: translate(-50%, -50%);
  background-image:
    /* sprocket holes — top row */
    radial-gradient(circle at 4px 1.7px, var(--bg) 0.7px, transparent 0.9px),
    radial-gradient(circle at 12px 1.7px, var(--bg) 0.7px, transparent 0.9px),
    /* sprocket holes — bottom row */
    radial-gradient(circle at 4px 8.3px, var(--bg) 0.7px, transparent 0.9px),
    radial-gradient(circle at 12px 8.3px, var(--bg) 0.7px, transparent 0.9px),
    /* base strip — dark sprocket bars on edges, accent in the middle */
    linear-gradient(to bottom,
      #1a1612 0 3.2px,
      var(--accent) 3.2px calc(100% - 3.2px),
      #1a1612 calc(100% - 3.2px) 100%);
  box-shadow: 0 0 6px rgba(197,181,155,.18);
  animation: sparkLife 1100ms var(--t) forwards;
}
@keyframes sparkLife {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(0deg); }
  18%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(.9) rotate(var(--rot, 90deg)); }
}
@media (pointer: coarse) { .spark { display: none; } }
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-8px, 6px); }
  66%  { transform: translate(6px, -4px); }
  100% { transform: translate(0, 0); }
}

/* ── Cinema aperture iris cursor — hexagonal lens diaphragm ─── */
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 42px; height: 42px;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  color: var(--ink);
  transition: width .35s var(--t), height .35s var(--t), color .25s var(--t), opacity .25s var(--t);
}
.cursor-ring svg {
  width: 100%; height: 100%;
  overflow: visible;
  display: block;
}
.cursor-frame { transition: stroke .25s var(--t); }
.cursor-blades {
  transform-origin: 21px 21px;
  transition: transform .45s var(--t-slow);
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1001;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .25s var(--t), height .25s var(--t);
}
/* Hovering an interactive element: iris opens (scale up) + blades rotate (stopping down feel) */
body.hover-link .cursor-ring { width: 72px; height: 72px; color: var(--accent); }
body.hover-link .cursor-ring .cursor-blades { transform: rotate(30deg); }
body.hover-link .cursor-dot { width: 5px; height: 5px; }
/* Click: shutter snap — blades rotate further, frame pulses inward briefly */
.cursor-ring.click .cursor-blades { transform: rotate(60deg) scale(.82); transition: transform .18s var(--t); }
.cursor-ring.click .cursor-frame { transform: scale(.94); transform-origin: 21px 21px; }

@media (max-width: 900px), (pointer: coarse) {
  body { cursor: auto; }
  .cursor-ring, .cursor-dot, .spotlight { display: none; }
}

/* ── Page-load curtain ───────────────────────────────────────── */
.curtain {
  position: fixed; inset: 0;
  z-index: 500;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: transform 1.2s var(--t-slow), opacity .4s linear .9s;
}
.curtain.lift { transform: translateY(-101%); opacity: 0; pointer-events: none; }
.curtain .mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink);
  position: relative;
}
.curtain .mark::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--accent);
  margin-top: 12px;
  animation: drawLine 1.1s var(--t-slow) forwards;
}
@keyframes drawLine { to { width: 100%; } }

/* ── Top bar ─────────────────────────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 22px 36px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s var(--t), background .4s var(--t);
  mix-blend-mode: difference;
}
.topbar.scrolled {
  padding: 14px 36px;
  background: rgba(5,5,5,.7);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  mix-blend-mode: normal;
}
.topbar .brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink);
  /* Hit area: WCAG 2.5.5 minimum 44px */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}
.topbar nav ul {
  display: flex; gap: 32px;
  list-style: none;
}
.topbar nav a {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 14px 6px;
  display: inline-block;
  min-height: 44px;
  line-height: 1;
}
.topbar nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .35s var(--t);
}
.topbar nav a:hover { color: var(--ink); }
.topbar nav a:hover::after { width: 100%; }

.lang-toggle {
  display: flex; gap: 12px;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.lang-toggle button {
  background: none; border: 0; cursor: none;
  color: var(--ink-mute);
  font: inherit;
  padding: 12px 8px;
  min-width: 44px;
  min-height: 44px;
  position: relative;
  transition: color .25s var(--t);
}
.lang-toggle button:hover { color: var(--ink-soft); }
.lang-toggle button.active { color: var(--accent); }
.lang-toggle button.active::before {
  content: '';
  position: absolute;
  left: -10px; top: 50%;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.mobile-toggle {
  display: none;
  background: none; border: 0; cursor: none;
  color: var(--ink);
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  font: inherit; /* avoid Arial fallback on the bare <button> */
}
.mobile-toggle svg {
  display: block;
  overflow: visible;
}
.mobile-toggle svg path {
  transition: transform .35s var(--t), opacity .25s var(--t);
}
/* Per-line origin so each line rotates around its own midpoint
   in the SVG viewBox (more robust than fill-box for thin paths). */
.mobile-toggle .hamb-top { transform-origin: 12px 7px; }
.mobile-toggle .hamb-mid { transform-origin: 12px 12px; }
.mobile-toggle .hamb-bot { transform-origin: 12px 17px; }

/* Hamburger → X morph when the menu is open. Each line rotates
   around its own midpoint, then translates Y to meet at (12, 12).
   CSS transforms apply right-to-left, so rotate happens first. */
.topbar.menu-open .hamb-top { transform: translateY(5px) rotate(45deg); }
.topbar.menu-open .hamb-mid { opacity: 0; transform: scaleX(.4); }
.topbar.menu-open .hamb-bot { transform: translateY(-5px) rotate(-45deg); }

/* When the menu is open, drop mix-blend-mode and apply a solid backdrop
   so the dropdown panel reads correctly even at the top of the page. */
.topbar.menu-open {
  mix-blend-mode: normal;
  background: rgba(8, 7, 5, .92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

/* Current section indicator — used on touch devices and subtly on
   desktop to show which section is in view. */
.topbar nav a.is-current { color: var(--ink); }
.topbar nav a.is-current::after { width: 100%; background: var(--accent); }

/* Body scroll lock while the mobile menu is open */
body.nav-locked { overflow: hidden; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  /* Was 100vh — would push the CTA below the fold on 13–15" laptops.
     Cap it so "EXPLORE FILMS" stays visible without losing the cinematic feel. */
  min-height: clamp(640px, 90vh, 880px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 24px 60px;
  overflow: hidden;
}

/* Cinema reel — full-bleed crossfading film stills behind the typography */
.hero-stage {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Dim "off" state — stills are silhouettes until the user hovers the hero */
  filter: saturate(.18) contrast(1.05) brightness(.28) sepia(.2);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.5s var(--t-slow), filter 1s var(--t-slow);
  will-change: opacity, transform, filter;
}
.hero-stage img.show {
  opacity: 1;
  animation: kenBurns 9s var(--t-slow) forwards;
}
/* "Lit" state — only when cursor is on the hero */
.hero:hover .hero-stage img.show {
  filter: saturate(.55) contrast(1.05) brightness(.65) sepia(.08);
}
@keyframes kenBurns {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.13) translate(-1.4%, .8%); }
}

/* Cinema vignette + bottom fade — guarantees wordmark contrast at all stills */
.hero-stage::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(72% 56% at 50% 42%, transparent 0%, rgba(10,9,7,.35) 55%, rgba(10,9,7,.85) 100%),
    linear-gradient(180deg, rgba(10,9,7,.5) 0%, rgba(10,9,7,.18) 30%, rgba(10,9,7,.55) 72%, var(--bg) 100%);
}

/* All hero text content rides above the stage */
.hero-eyebrow,
.hero-title,
.hero-tagline,
.hero-since,
.hero-now { position: relative; z-index: 2; }

/* Boost wordmark contrast against varying stills */
.hero-title { text-shadow: 0 6px 80px rgba(0,0,0,.55); }

/* "Now showing" caption — crossfades in sync with the reel; clickable button */
.hero-now {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  background: rgba(10,9,7,.4);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  border-radius: 2px;
  opacity: 0;
  animation: fadeIn 1s var(--t) 1.6s forwards;
  /* button reset */
  font: inherit;
  color: inherit;
  cursor: none;
  transition: border-color .3s var(--t), background .3s var(--t), transform .3s var(--t);
}
.hero-now:hover {
  border-color: rgba(197,181,155,.35);
  background: rgba(10,9,7,.55);
  transform: translateY(-1px);
}
.hero-now:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}
@media (pointer: coarse) { .hero-now { cursor: pointer; } }
.hero-now .label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .6rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-right: 1px solid var(--rule);
  padding-right: 14px;
}
.hero-now .title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--ink);
  transition: opacity .7s var(--t-slow);
}

/* Honor reduced-motion: hold a single still, no Ken Burns, no cycling caption fade */
@media (prefers-reduced-motion: reduce) {
  .hero-stage img.show { animation: none; transform: none; }
  .hero-now .title { transition: none; }
}
.hero-eyebrow {
  font-size: .68rem;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 36px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 30px; height: 1px;
  background: var(--ink-mute);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.5rem, 19vw, 18rem);
  line-height: .85;
  letter-spacing: -.04em;
  text-align: center;
  position: relative;
}
.hero-title .ch {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  animation: charRise 1.1s var(--t-slow) forwards;
}
@keyframes charRise {
  to { transform: translateY(0); opacity: 1; }
}
.hero-tagline {
  margin-top: 38px;
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-style: italic;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 400;
  max-width: 640px;
  opacity: 0;
  animation: fadeIn 1s var(--t) 1.2s forwards;
}
.hero-since {
  margin-top: 36px;
  opacity: 0;
  animation: fadeIn 1s var(--t) 1.4s forwards;
}
.hero-since a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-soft);
  min-height: 44px;
  transition: color .35s var(--t), border-color .35s var(--t), gap .35s var(--t), background .35s var(--t);
}
.hero-since a::after {
  content: '↓';
  font-size: 1rem;
  letter-spacing: 0;
  transition: transform .4s var(--t);
}
.hero-since a:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(243,238,229,.03);
  gap: 22px;
}
.hero-since a:hover::after { transform: translateY(2px); }
@keyframes fadeIn { to { opacity: 1; } }

/* ── Section common ─────────────────────────────────────────── */
section { position: relative; }

.section-label {
  display: flex; align-items: baseline; gap: 24px;
  padding: 0 max(36px, 5vw);
  margin-bottom: 80px;
  /* h2 reset — keep visual identical now that section-label is an h2 */
  margin-top: 0;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section-label .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
}
.section-label .line {
  flex: 1; height: 1px; background: var(--rule);
}

/* ── Films editorial list ───────────────────────────────────── */
.films-list {
  display: flex; flex-direction: column;
}
.film-row {
  display: grid;
  grid-template-columns: 90px 110px 1fr 380px;
  gap: 48px;
  padding: 56px max(36px, 5vw);
  border-top: 1px solid var(--rule);
  align-items: center;
  cursor: none;
  position: relative;
  transition: background .4s var(--t);
}
.film-row:last-child { border-bottom: 1px solid var(--rule); }
.film-row:hover { background: rgba(240,234,223,.02); }

/* Left-edge accent indicator — grows in on hover, replaces the
   removed title translation. Pure visual cue, no layout impact. */
.film-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--accent);
  transform: translateY(-50%);
  transition: height .5s var(--t);
  pointer-events: none;
}
.film-row:hover::before { height: 56px; }

/* Index marker e.g. "F·01" */
.film-row .film-idx {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-left: 1px solid var(--rule);
  padding-left: 16px;
  transition: color .4s var(--t), border-color .4s var(--t);
}
.film-row:hover .film-idx { color: var(--accent); border-color: var(--accent); }

.film-row .film-year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-mute);
  transition: color .4s var(--t), transform .4s var(--t);
}
.film-row:hover .film-year { color: var(--accent); }

.film-info { min-width: 0; position: relative; }
.film-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  transition: transform .5s var(--t), color .4s var(--t);
  transform-origin: left center;
}
.film-row:hover .film-title { color: var(--ink); }

/* country pills */
.film-countries {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.film-countries span {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  padding: 4px 9px;
  border-radius: 2px;
  transition: color .35s var(--t), border-color .35s var(--t);
}
.film-row:hover .film-countries span { color: var(--ink); border-color: rgba(243,238,229,.18); }

.film-meta {
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 18px;
}

/* Tagline — always visible, dim by default, brightens on hover.
   Persistent layout (no max-height/translateY animations) so the row
   never reflows. The kinetic load is carried by the image lift + zoom
   and the left-edge accent rule. */
.film-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-mute);
  max-width: 56ch;
  line-height: 1.5;
  margin-top: 6px;
  margin-bottom: 12px;
  transition: color .45s var(--t), opacity .45s var(--t);
  opacity: .8;
}
.film-row:hover .film-tagline {
  color: var(--ink-soft);
  opacity: 1;
}

/* "View →" CTA */
.film-cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .5s var(--t), transform .5s var(--t);
  pointer-events: none;
}
.film-cta::after {
  content: '';
  width: 60px; height: 1px;
  background: currentColor;
  transition: width .4s var(--t);
}
.film-row:hover .film-cta {
  opacity: 1;
  transform: translateX(0);
}
.film-row:hover .film-cta::after { width: 90px; }

.film-still {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-2);
  transition: transform .6s var(--t-slow), box-shadow .6s var(--t-slow);
}
.film-row:hover .film-still {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(243,238,229,.06);
}
.film-still img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.55) contrast(1.04) brightness(.86) sepia(.12);
  transform: scale(1.05);
  transition: filter .8s var(--t), transform .8s var(--t);
}
.film-row:hover .film-still img {
  filter: saturate(1.05) contrast(1.05) brightness(1) sepia(0);
  transform: scale(1.12);
}
.film-still::after {
  content: '↗';
  position: absolute;
  bottom: 16px; right: 18px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  font-size: 1.6rem;
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: opacity .4s var(--t), transform .4s var(--t);
  z-index: 2;
}
.film-row:hover .film-still::after {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Team magazine spread ───────────────────────────────────── */
.team-spread {
  padding: 0 max(36px, 5vw);
  display: flex; flex-direction: column; gap: 140px;
}
.person {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.person.flip { grid-template-columns: 1.3fr 1fr; }
.person.flip .person-photo { order: 2; }

.person-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.person-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.4) contrast(1.06) brightness(.92) sepia(.18);
  transition: filter 1.2s var(--t-slow), transform 1.2s var(--t-slow);
}
.person:hover .person-photo img {
  filter: saturate(1) contrast(1.05) brightness(1) sepia(0);
  transform: scale(1.04);
}
.person-photo::before {
  content: attr(data-num);
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  padding: 4px 12px;
  letter-spacing: .15em;
}

.person-text .role {
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.person-text h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.person-text .title {
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.person-bio {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--ink-soft);
  column-count: 1;
  column-gap: 36px;
  margin-bottom: 32px;
}
.person-bio em { color: var(--ink); font-style: italic; }
.person-bio p, .person-bio br { margin-bottom: 1em; }

.person-tabs {
  display: flex; gap: 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}
.person-tabs button {
  background: none; border: 0; cursor: none;
  color: var(--ink-mute);
  font: inherit;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: 14px 2px;
  min-height: 44px;
  position: relative;
  transition: color .3s var(--t);
}
.person-tabs button.active { color: var(--ink); }
.person-tabs button.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--accent);
}

.person-pane { display: none; animation: fade .35s var(--t); }
.person-pane.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.person-pane h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 28px 0 14px;
}
.person-pane h4:first-child { margin-top: 0; }
.person-pane ul { list-style: none; padding: 0; margin: 0; }
.person-pane ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.5;
}

/* ── About manifesto ───────────────────────────────────────── */
.manifesto {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.005em;
  margin-bottom: 80px;
  position: relative;
}
.manifesto-quote::before, .manifesto-quote::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--accent);
  margin: 30px auto;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  text-align: left;
  margin-top: 60px;
}
.manifesto-grid h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.manifesto-grid ul { list-style: none; padding: 0; margin: 0; }
.manifesto-grid ul li {
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: .95rem;
  font-family: var(--font-display);
  font-style: italic;
}
.manifesto-grid .address {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.7;
  font-style: normal;
}
.manifesto-grid .email {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  font-size: .9rem;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 10px 4px 10px 0;
  min-height: 44px;
}

/* ── Sponsors & Co-producers — featured tier + editorial credit-roll
   Two-tier design: a row of "lead" partner cards with serif numerals
   and region tags on top, then a denser column grid of remaining
   partners below. Cards lift subtly on hover; columns keep the
   accent-prefix dot indicator from before. */
.partners-bands {
  display: flex;
  flex-direction: column;
  gap: 72px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px max(36px, 5vw) 64px;
  border-top: 1px solid var(--rule);
}

/* Featured tier — marquee co-producers as serif-numeral cards */
.partners-featured {
  display: flex;
  flex-direction: column;
}
.partners-featured-label {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 24px;
}
.partners-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;                         /* hairline divider via gap-fill */
  background: var(--rule);
  border: 1px solid var(--rule);
}
.partners-lead {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 26px 28px;
  background: var(--bg);
  text-decoration: none;
  color: var(--ink);
  min-height: 200px;
  position: relative;
  transition: background .35s var(--t), transform .35s var(--t);
}
.partners-lead::after {
  content: '';
  position: absolute;
  left: 26px; right: 26px; bottom: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(.3);
  transform-origin: left center;
  transition: opacity .35s var(--t), transform .45s var(--t);
}
.partners-lead:hover {
  background: var(--bg-2);
}
.partners-lead:hover::after {
  opacity: .7;
  transform: scaleX(1);
}
.partners-lead:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -2px;
}
.partners-lead-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--accent);
  letter-spacing: .002em;
  line-height: 1;
}
.partners-lead-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--ink);
  margin-top: auto;
}
.partners-lead-region {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Secondary tier — credit-roll columns */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 56px;
}
.partners-col {
  display: flex;
  flex-direction: column;
  position: relative;
}
.partners-col-label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: .002em;
  color: var(--ink);
  margin: 0 0 22px;
  padding-bottom: 14px;
  position: relative;
}
/* Short accent hairline below each label — was a heavy full-width rule before */
.partners-col-label::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 56px;
  height: 1px;
  background: var(--accent);
  opacity: .55;
}
.partners-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.partners-col li {
  font-family: 'Inter', sans-serif;
  font-size: .96rem;
  line-height: 1.4;
  letter-spacing: .003em;
  position: relative;
}
.partners-col a {
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;          /* WCAG 2.5.5 hit area */
  padding: 8px 2px;
  position: relative;
  transition: color .3s var(--t), gap .3s var(--t);
}
/* Tiny accent index marker before each name */
.partners-col a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--ink-mute);
  flex: 0 0 auto;
  transition: width .3s var(--t), background .3s var(--t);
}
.partners-col a:hover {
  color: var(--ink);
  gap: 16px;
}
.partners-col a:hover::before {
  width: 24px;
  background: var(--accent);
}
.partners-col a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .partners-bands { gap: 56px; padding: 56px 24px 32px; }
  .partners-featured-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 36px;
  }
  .partners-lead { min-height: 170px; padding: 28px 22px 24px; }
}
@media (max-width: 560px) {
  .partners-bands { gap: 44px; padding: 44px 20px 24px; }
  .partners-featured-grid { grid-template-columns: 1fr; }
  .partners-featured-label { font-size: .72rem; letter-spacing: .18em; margin-bottom: 18px; }
  .partners-grid { grid-template-columns: 1fr; gap: 36px; }
  .partners-lead { min-height: 0; padding: 24px 20px 22px; }
  .partners-lead-name { font-size: 1.15rem; }
  .partners-col-label { font-size: 1.05rem; padding-bottom: 12px; }
}

/* ── Touch devices — bake "lit" hover states into the default ────
   On desktop a hover pass lights up film rows, partner cards, etc.
   Touch devices have no hover, so we bring the warm/accent palette
   forward by default. The result: mobile reads with the same
   intentional warmth as a desktop user moving over the page. */
@media (hover: none) {
  /* Films list — accent year + idx, full-ink title, visible CTA,
     partially-lit poster (not all-the-way-hovered, to keep some
     visual restraint across 12 stacked rows). */
  .film-row::before { height: 32px; opacity: .55; }
  .film-row .film-idx { color: var(--accent); border-color: var(--accent); }
  .film-row .film-year { color: var(--accent); }
  .film-row .film-countries span { color: var(--ink); border-color: rgba(243,238,229,.18); }
  .film-row .film-tagline { color: var(--ink-soft); opacity: 1; }
  .film-row .film-cta { opacity: 1; transform: translateX(0); }
  .film-row .film-cta::after { width: 78px; }
  .film-row .film-still {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0,0,0,.45), 0 0 0 1px rgba(243,238,229,.05);
  }
  .film-row .film-still img {
    filter: saturate(.95) contrast(1.04) brightness(.96) sepia(.04);
    transform: scale(1.06);
  }
  .film-row .film-still::after { opacity: .9; transform: translate(0, 0); }
  .film-row { cursor: pointer; }

  /* Partners — lead cards already feel like cards, but hover-lift
     bg + accent rule were invisible. Promote both to the default. */
  .partners-lead { background: var(--bg-2); cursor: pointer; }
  .partners-lead::after { opacity: .55; transform: scaleX(.85); }

  /* Credit-roll columns — small dash + warmer link colour so each
     entry reads as an obvious tap target. */
  .partners-col a { color: var(--ink); cursor: pointer; }
  .partners-col a::before { width: 20px; background: var(--accent); opacity: .5; }

  /* Hero "now showing" caption is already cursor:pointer on touch
     (line ~397). Keep it lit. */
  .hero-now { color: var(--ink); }

  /* Misc cursor:none → pointer cleanups for buttons that already
     handle this individually elsewhere. */
  .mobile-toggle, .lang-toggle button, .modal-close { cursor: pointer; }
}

/* ── Footer — minimal editorial ─────────────────────────────── */
.site-foot {
  position: relative;
  text-align: center;
  padding: 70px 24px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.foot-rule {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(420px, 60%);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule) 20%, var(--rule) 80%, transparent);
}
.foot-mark {
  width: 72px;
  display: inline-block;
  /* expand hit area to WCAG 2.5.5 minimum without changing visual size */
  padding: 13px 0;
  min-height: 44px;
  opacity: .38;
  filter: invert(1) saturate(0) brightness(1.2) contrast(.9) sepia(.18);
  transition: opacity .5s var(--t), transform .5s var(--t), filter .5s var(--t);
  cursor: none;
}
.foot-mark:hover {
  opacity: .85;
  transform: translateY(-3px);
  filter: invert(1) saturate(0) brightness(1.15) contrast(1) sepia(.3);
}
.foot-mark:focus-visible { outline: 1px solid var(--accent); outline-offset: 6px; }
.foot-mark img { width: 100%; display: block; }
.foot-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  letter-spacing: .005em;
  color: var(--ink-soft);
  margin: 0;
}
.foot-meta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.foot-dot {
  color: var(--accent);
  opacity: .55;
  font-size: .9rem;
  line-height: 0;
  letter-spacing: 0;
}
.foot-meta a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  transition: color .3s var(--t), border-color .3s var(--t);
}
.foot-meta a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
@media (max-width: 560px) {
  .site-foot { padding: 56px 20px 36px; gap: 14px; }
  .foot-mark { width: 60px; }
  .foot-meta { gap: 6px 10px; font-size: .62rem; letter-spacing: .2em; flex-direction: column; }
  .foot-dot { display: none; }
}

/* ───────────────────────────────────────────────────────────────
   Film detail — full-screen cinematic takeover (replaces modal)
   ─────────────────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: none;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .55s var(--t);
}
.modal.open { display: block; opacity: 1; }

/* Close — fixed top-right, doesn't compete with content */
.modal-close {
  position: fixed;
  top: 28px; right: max(28px, 4vw);
  background: rgba(10,9,7,.7);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border: 1px solid var(--rule);
  cursor: none;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: 2px;
  transition: color .3s var(--t), border-color .3s var(--t);
}
.modal-close:hover { color: var(--accent); border-color: var(--accent); }
.modal-close::after {
  content: '×';
  font-size: 1.6rem;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  margin-left: 4px;
}

/* ── Cinema hero — full-bleed still becomes the page header ── */
.detail-hero {
  position: relative;
  height: 92vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.detail-hero-img {
  position: absolute; inset: 0;
  z-index: 0;
}
.detail-hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  /* Dim "off" state — silhouette by default */
  filter: saturate(.22) contrast(1.05) brightness(.32) sepia(.18);
  transform: scale(1.06);
  animation: heroSlowZoom 18s var(--t-slow) forwards;
  transition: filter 1s var(--t-slow);
}
/* "Lit" state — only when cursor is on the detail hero */
.detail-hero:hover .detail-hero-img img {
  filter: saturate(.7) contrast(1.05) brightness(.7) sepia(.05);
}
@keyframes heroSlowZoom {
  to { transform: scale(1); }
}
/* Cinematic darkening gradient + bottom fade into page */
.detail-hero-img::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 30% 40%, transparent 0, rgba(0,0,0,.35) 60%, rgba(0,0,0,.7) 100%),
    linear-gradient(180deg, rgba(10,9,7,.4) 0%, rgba(10,9,7,.15) 35%, rgba(10,9,7,.65) 75%, var(--bg) 100%);
  z-index: 1;
}

.detail-hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 max(36px, 6vw) clamp(50px, 6vw, 90px);
  max-width: 1280px;
  margin: 0 auto;
}

.detail-supported {
  font-style: italic;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: .08em;
  opacity: 0;
  animation: heroFadeUp .9s var(--t) .3s forwards;
}

.detail-index-badge {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp .9s var(--t) .35s forwards;
}
.detail-index-badge .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.detail-index-badge .bar {
  display: inline-block;
  width: 30px; height: 1px;
  background: rgba(243,238,229,.3);
}

.detail-hero h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0 0 24px;
  max-width: 14ch;
  color: var(--ink);
  text-shadow: 0 4px 60px rgba(0,0,0,.5);
  opacity: 0;
  animation: heroFadeUp 1.1s var(--t) .45s forwards;
}
.detail-hero .meta {
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 60ch;
  opacity: 0;
  animation: heroFadeUp 1.1s var(--t) .55s forwards;
}
.detail-hero-row {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 1.1s var(--t) .65s forwards;
}
.detail-hero-row .countries {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.detail-hero-row .countries span {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid rgba(243,238,229,.2);
  padding: 5px 11px;
  border-radius: 2px;
  background: rgba(10,9,7,.4);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll cue at bottom of hero */
.detail-hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: 'Inter', sans-serif;
  font-size: .6rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0;
  animation: heroFadeUp 1s var(--t) 1.2s forwards;
}
.detail-hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 36px;
  background: rgba(243,238,229,.4);
  animation: scrollDown 2.2s var(--t) infinite;
  transform-origin: top;
}

/* Container after hero */
.modal-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px max(36px, 5vw);
  position: relative;
}

.icon-links {
  display: inline-flex; gap: 14px;
  justify-content: flex-start;
}
.icon-links a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: border-color .3s var(--t), background .3s var(--t);
}
.icon-links a:hover { border-color: var(--accent); background: rgba(212,166,97,.08); }
.icon-links img { width: 18px; height: 18px; opacity: .75; filter: brightness(2); }

.stills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
.stills a {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
  cursor: none;
}
.stills img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.7) brightness(.9) sepia(.08);
  transition: filter .8s var(--t), transform .8s var(--t);
}
.stills a:hover img { filter: saturate(1.05) brightness(1) sepia(0); transform: scale(1.06); }

/* Continuous editorial sections inside the detail page (no tabs) */
.detail-section {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 100px) 0;
  border-top: 1px solid var(--rule);
}
.detail-section:first-of-type { border-top: 0; padding-top: clamp(40px, 5vw, 60px); }
.detail-section .section-eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 36px;
}
.detail-section .section-eyebrow .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.detail-section .section-eyebrow .line {
  flex: 1; height: 1px; background: var(--rule);
}

.detail-pane {
  max-width: 880px;
  margin: 0 auto;
}
.detail-pane table {
  width: 100%;
  border-collapse: collapse;
}
.detail-pane table th,
.detail-pane table td {
  text-align: left;
  vertical-align: top;
  padding: 18px 20px;
  border-bottom: 1px solid var(--rule);
}
.detail-pane table th {
  width: 38%;
  max-width: 260px;
  font-weight: 400;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-family: 'Inter', sans-serif;
}
.detail-pane table td {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
}
.detail-pane > p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.2em;
  font-style: italic;
}
.detail-pane > p em { color: var(--accent); }
/* Synopsis reads better in upright type — no italic paragraphs, no italic em either */
.detail-pane.synopsis > p { font-style: normal; line-height: 1.65; }
.detail-pane.synopsis > p em { font-style: normal; color: var(--accent); }
.detail-pane ul {
  list-style: none; padding: 0; margin: 0;
}
.detail-pane ul li {
  padding: 18px 0 18px 36px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  position: relative;
}
.detail-pane ul li::before {
  content: '—';
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 18px;
  line-height: 1.6;
}
.detail-pane ul li strong { color: var(--ink); font-weight: 500; }
.detail-pane ul li a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* "Next film" footer inside the modal */
.detail-next {
  margin-top: 80px;
  padding: 36px 0 0;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.detail-next .label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.detail-next .next-link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ink);
  cursor: none;
  display: inline-flex; align-items: center; gap: 22px;
  transition: color .35s var(--t), gap .35s var(--t);
}
.detail-next .next-link:hover { color: var(--accent); gap: 32px; }
.detail-next .next-link::after {
  content: '→';
  font-style: normal;
  font-size: .9em;
}
.detail-next .next-meta {
  margin-top: 8px;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(5,5,5,.97);
  display: none;
  align-items: center; justify-content: center;
  padding: 50px;
  cursor: none;
  opacity: 0;
  transition: opacity .35s var(--t);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox.open img { transform: scale(1); }

/* Close button — top right, subtle */
.lb-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-soft);
  cursor: none;
  transition: color .25s var(--t), border-color .25s var(--t), background .25s var(--t), transform .25s var(--t);
  z-index: 2;
}
.lb-close:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(197,181,155,.06);
  transform: rotate(90deg);
}
.lb-close:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* Prev / next nav arrows — flank image, fade in subtly */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-soft);
  cursor: none;
  opacity: .55;
  transition: color .25s var(--t), border-color .25s var(--t), background .25s var(--t), opacity .25s var(--t), transform .25s var(--t);
  z-index: 2;
}
.lb-nav:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(197,181,155,.06);
  opacity: 1;
}
.lb-nav:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; opacity: 1; }
.lb-prev { left: 28px; }
.lb-next { right: 28px; }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }

/* Counter — bottom centre, monospaced feel */
.lb-counter {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(10,9,7,.4);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 760px) {
  .lightbox { padding: 70px 12px; }
  .lb-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-counter { bottom: 14px; font-size: .6rem; padding: 6px 12px; }
}

/* ── Reveal-on-scroll (with safety fallbacks) ──────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--t), transform 1s var(--t);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Fallback for users without JS / scripting disabled / SEO crawlers */
@media (scripting: none) {
  .reveal { opacity: 1 !important; transform: none !important; }
}
/* Respect motion preferences: skip the slide, just fade */
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity .4s linear; }
  .hero-title .ch { animation: none !important; transform: none !important; opacity: 1 !important; }
  .detail-hero h2,
  .detail-hero .meta,
  .detail-supported,
  .detail-index-badge,
  .detail-hero-row,
  .detail-hero-scroll { animation: none !important; opacity: 1 !important; transform: none !important; }
  .detail-hero-img img { animation: none !important; transform: none !important; }
  .grain { animation: none !important; }
}

.lang-switching main { opacity: .25; transition: opacity .25s var(--t); }

/* ── Section spacing ───────────────────────────────────────── */
section.page { padding: 100px 0; }
section.page.no-pad-bot { padding-bottom: 0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  section.page { padding: 72px 0; }
  .hero { padding: 100px 24px 80px; }
  .film-row { grid-template-columns: 60px 80px 1fr 280px; gap: 28px; }
  .person, .person.flip { grid-template-columns: 1fr; gap: 36px; }
  .person.flip .person-photo { order: 0; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-spread { gap: 96px; }
  .partners-bands { padding: 56px max(24px, 4vw) 24px; }
}
@media (max-width: 760px) {
  section.page { padding: 56px 0; }
  .hero { padding: 96px 20px 96px; min-height: 0; }
  .hero-now { margin-top: 18px; padding: 9px 14px; gap: 10px; }
  .hero-since { margin-top: 28px; }
  .topbar { padding: 16px 20px; }
  .topbar.scrolled { padding: 12px 20px; }
  .topbar nav { display: none; }
  .topbar nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    padding: 24px 24px 32px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 28px 60px rgba(0,0,0,.55);
  }
  .topbar nav.open ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .topbar nav.open li {
    border-bottom: 1px solid var(--rule);
  }
  .topbar nav.open li:last-child { border-bottom: 0; }
  /* Bigger, hand-friendly menu rows. The accent underline becomes a
     subtle left-edge bar so each row reads as its own tap target. */
  .topbar nav.open a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 4px;
    min-height: 56px;
    font-size: .82rem;
    letter-spacing: .28em;
    color: var(--ink-soft);
  }
  .topbar nav.open a::after { display: none; }
  .topbar nav.open a::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 1px;
    background: var(--ink-mute);
    margin-right: 16px;
    transition: width .3s var(--t), background .3s var(--t);
  }
  .topbar nav.open a.is-current {
    color: var(--accent);
  }
  .topbar nav.open a.is-current::before {
    width: 36px;
    background: var(--accent);
  }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .film-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 36px 20px;
  }
  .film-row .film-year { font-size: 1rem; }
  .film-still { aspect-ratio: 16 / 9; max-width: 100%; }
  .team-spread { padding: 0 20px; gap: 72px; }
  .manifesto { padding: 0 20px; }
  .stills { grid-template-columns: repeat(2, 1fr); }
  .modal-inner { padding: 70px 20px; }
  .modal-close { right: 20px; top: 20px; }
  .detail-poster { max-width: 260px; margin-bottom: 30px; }
  .detail-tabs { gap: 18px; flex-wrap: wrap; }
  .detail-tabs button { font-size: .7rem; padding: 12px 0; }
  .detail-pane table th, .detail-pane table td { padding: 14px 0; display: block; width: 100%; }
  .detail-pane table th { padding-bottom: 4px; }
  .section-label { padding: 0 20px; margin-bottom: 40px; gap: 14px; flex-wrap: wrap; }
}
@media (max-width: 420px) {
  section.page { padding: 44px 0; }
  .hero { padding: 88px 18px 72px; }
  .hero-eyebrow { letter-spacing: .35em; }
  .film-row { padding: 28px 18px; gap: 14px; }
  .section-label { padding: 0 18px; gap: 10px; }
  .stills { grid-template-columns: 1fr; }
  .partners-bands { padding: 36px 18px 18px; gap: 28px; }
}
