/* Inversia Films — base styles */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Poppins:wght@500;600;700&display=swap');

:root {
  --olive: #BFCF8D;
  --olive-light: #CBD9A1;
  --olive-deep: #23281A;
  --ruby: #9E1030;
  --prussian: #090727;
  --alabaster: #E8E8E8;

  --ink: #0C0C0C;
  --ink-deep: #060606;
  --alabaster-dim: rgba(232, 232, 232, 0.62);
  --ink-dim: rgba(12, 12, 12, 0.72);

  /* LATE poster palette */
  --amber: #E89B2D;
  --night-teal: #0D171B;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --header-pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--alabaster);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Film grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(3) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-14px, 9px); }
  66% { transform: translate(11px, -6px); }
  100% { transform: translate(0, 0); }
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

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

button { font-family: inherit; cursor: pointer; }

/* ---------- Text links ---------- */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ruby);
  transition: color 0.25s ease;
}

.text-link .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.text-link:hover { color: #c41941; }
.text-link:hover .arrow { transform: translateX(6px); }

/* ---------- Site header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--header-pad);
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(6, 6, 6, 0.88);
  backdrop-filter: blur(10px);
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 1px 0 rgba(232, 232, 232, 0.08);
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--alabaster);
  padding: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

.site-nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--alabaster);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.site-nav a:hover { color: var(--olive); }

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--ruby);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

/* Nested inside .site-nav so the "a" color rules above (and every per-theme
   override of them) apply here for free — no separate palette to keep in sync. */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.lang-switch a { opacity: 0.5; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.active { opacity: 1; cursor: default; pointer-events: none; }
.lang-switch a::after { content: none; }
.lang-switch span { opacity: 0.35; }

/* ---------- Hero / slideshow (home) ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6,6,6,0.55) 0%, rgba(6,6,6,0.05) 28%, rgba(6,6,6,0.15) 55%, rgba(6,6,6,0.94) 100%);
}

.hero-content {
  position: absolute;
  left: var(--header-pad);
  bottom: 28px;
  z-index: 3;
  max-width: 700px;
}

.hero-content.animate-in > * {
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-content.animate-in > *:nth-child(2) { animation-delay: 0.08s; }
.hero-content.animate-in > *:nth-child(3) { animation-delay: 0.16s; }
.hero-content.animate-in > *:nth-child(4) { animation-delay: 0.24s; }

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

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-format {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
}
.hero-format::after {
  content: '·';
  margin-left: 12px;
  color: rgba(232, 232, 232, 0.5);
}

.hero-year {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--alabaster-dim);
  font-weight: 500;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--alabaster);
}

.hero-title-link {
  color: inherit;
  transition: color 0.3s ease;
}
.hero-title-link:hover { color: var(--olive); }

.hero-cta {
  display: inline-block;
  position: relative;
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--alabaster);
  padding-bottom: 6px;
  transition: color 0.3s ease;
}

.hero-cta::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: rgba(232,232,232,0.35);
}

.hero-cta::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--ruby);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.hero-cta:hover { color: var(--olive); }
.hero-cta:hover::before { width: 100%; }

.hero-tagline {
  margin: 16px 0 0;
  max-width: 46ch;
  color: var(--alabaster-dim);
  font-size: clamp(15px, 1.6vw, 18px);
}

.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  position: relative;
  width: 44px;
  height: 3px;
  border: none;
  background: rgba(232,232,232,0.3);
  padding: 0;
  overflow: hidden;
}

.dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ruby);
  transform: scaleX(0);
  transform-origin: left;
}

.dot.active::after {
  animation: dotProgress var(--dot-duration, 6s) linear forwards;
}

@keyframes dotProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.scroll-cue {
  position: absolute;
  right: var(--header-pad);
  bottom: 28px;
  z-index: 3;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--alabaster);
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue::after {
  content: '';
  width: 2px;
  height: 34px;
  background: linear-gradient(180deg, var(--olive), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(-6px); opacity: 0.2; }
  50% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(6px); opacity: 0.2; }
}

/* ---------- About section (olive) ---------- */

.about {
  position: relative;
  padding: clamp(40px, 5vw, 68px) var(--header-pad);
  background: var(--alabaster);
  color: var(--ink);
}

.about-inner {
  max-width: 1280px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ruby);
  font-weight: 600;
  margin-bottom: 20px;
}

.about h2 {
  font-size: clamp(34px, 5.4vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 17ch;
  color: var(--ink);
}

.about h2 em,
.services-lead em,
.collaborate h2 em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-color: var(--olive);
  text-decoration-thickness: 5px;
  text-underline-offset: 3px;
  text-decoration-skip-ink: none;
}

.manifesto-rule {
  border: none;
  border-top: 1px solid rgba(12, 12, 12, 0.22);
  margin: clamp(24px, 3vw, 40px) 0;
  max-width: 1180px;
}

.about p.about-lead {
  margin: 0;
  max-width: 46ch;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(18px, 1.9vw, 26px);
  line-height: 1.42;
  color: var(--ink);
}

.about-support {
  margin: 18px 0 0;
  max-width: 46ch;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  color: var(--ink-dim);
}

.about-lead mark {
  background: none;
  background-image: linear-gradient(180deg, transparent 0 14%, var(--olive) 14% 86%, transparent 86% 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--ink);
  padding: 0 0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.about-actions {
  margin-top: 48px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
}

.about-more { color: var(--ink); }
.about-more:hover { color: var(--ruby); }

.about-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  margin-top: 56px;
  background: rgba(12,12,12,0.22);
  border: 1px solid rgba(12,12,12,0.22);
}

.about-services div {
  background: var(--olive);
  padding: 24px 22px;
  transition: background 0.3s ease;
}
.about-services div:hover { background: var(--olive-light); }

.about-services strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.about-services span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-dim);
}

/* Utility: dark-olive background, used below the About section on home */
.olive-deep-bg { background: var(--olive-deep); }

/* ---------- Projects invite ---------- */

.projects-invite {
  border-top: 1px solid rgba(232,232,232,0.1);
  padding: clamp(70px, 10vw, 120px) var(--header-pad);
}

.invite-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 64px);
  letter-spacing: -0.01em;
  color: var(--alabaster);
  transition: color 0.3s ease;
}

.invite-link .arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}

.invite-link:hover { color: var(--olive); }
.invite-link:hover .arrow { transform: translateX(14px); }

/* ---------- Founders strip (home) ---------- */

.founders {
  border-top: 1px solid rgba(232,232,232,0.1);
  padding: clamp(70px, 10vw, 120px) var(--header-pad);
}

.founders .eyebrow { color: var(--olive); }

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  margin-top: 32px;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 24px;
}

.founder-card img {
  width: clamp(96px, 10vw, 140px);
  height: clamp(96px, 10vw, 140px);
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.founder-card h3 {
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--alabaster);
}

.founder-role {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
}

.founder-socials {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.founder-socials a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--alabaster-dim);
  border-bottom: 1px solid rgba(232,232,232,0.3);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.founder-socials a:hover { color: var(--olive); border-color: var(--olive); }

.founders-more { margin-top: 40px; color: var(--olive); }
.founders-more:hover { color: var(--olive-light); }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: 64px var(--header-pad) 32px;
  background: var(--ruby);
  border-top: none;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 48px;
}

.footer-heading {
  font-size: clamp(22px, 3vw, 36px);
  max-width: 18ch;
  line-height: 1.2;
  color: var(--alabaster);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact a {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--alabaster);
  border-bottom: 2px solid var(--olive);
  transition: color 0.25s ease;
}
.footer-contact a:hover { color: var(--olive); }

.footer-contact span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
}

.footer-tagline {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.22;
  color: var(--alabaster);
}
.footer-tagline em {
  font-style: italic;
  color: var(--olive);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(232,232,232,0.12);
  font-size: 13px;
  color: var(--alabaster-dim);
  letter-spacing: 0.04em;
}

.site-footer .logo img { height: 26px; }

.footer-socials { display: flex; gap: 20px; }
.footer-socials a:hover { color: var(--olive); }

/* ---------- Projects page (light / editorial) ---------- */

.projects-intro { padding-bottom: clamp(8px, 1.5vw, 20px); }
.projects-intro h2 { font-size: clamp(30px, 4.6vw, 60px); max-width: 20ch; }

.projects-block {
  padding: clamp(24px, 3.5vw, 44px) var(--header-pad) 0;
}
.projects-block:last-of-type {
  padding-bottom: clamp(48px, 7vw, 88px);
}

.projects-section-label {
  display: block;
  padding-bottom: clamp(10px, 1.2vw, 16px);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ruby);
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.project-card {
  display: block;
  color: var(--ink);
}

.project-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--olive-deep);
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-thumb img { transform: scale(1.05); }

.project-meta {
  display: block;
  padding-top: clamp(8px, 1vw, 12px);
}

.project-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
  margin-bottom: 4px;
}

.project-title {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--ink);
  padding-bottom: 4px;
}

.project-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--olive);
  transition: width 0.35s ease;
}

.project-card:hover .project-title::after { width: 100%; }

.project-sub {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-dim);
}

/* In development: featured card + companion note fill the row */
.dev-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.dev-note {
  max-width: 38ch;
}
.dev-note p {
  margin: 0 0 26px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.45;
  color: var(--ink);
}
.dev-note-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 28px);
}
.dev-note-actions .about-more { color: var(--ink); }
.dev-note-actions .about-more:hover { color: var(--ruby); }

/* ---------- Project detail page ---------- */

.project-hero {
  position: relative;
  height: 74vh;
  min-height: 420px;
  overflow: hidden;
}

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

/* Hero + title strip together fill exactly one screen; video takes whatever
   the strip doesn't need, so there's no leftover gap at any window height. */
.film-intro {
  height: 100svh;
  display: flex;
  flex-direction: column;
}

.film-intro .project-hero {
  flex: 1;
  height: auto;
  min-height: 0;
}

.film-intro .film-title-bar {
  flex: none;
  padding-top: clamp(18px, 2.4vw, 30px);
  padding-bottom: clamp(18px, 2.4vw, 30px);
}


.project-hero .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,0.25) 0%, rgba(6,6,6,0) 30%, rgba(6,6,6,0) 70%, rgba(6,6,6,0.55) 100%);
}

/* Title strip below the still */
.film-title-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 56px) var(--header-pad);
  border-bottom: 1px solid rgba(232,232,232,0.1);
}

.film-title-bar .hero-title {
  font-size: clamp(32px, 5vw, 68px);
}

.project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
}
.project-hero-meta strong { color: var(--olive); font-weight: 500; }

/* Trailer button — filled pill CTA; each film theme supplies its own accent */
.trailer-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--ruby), #6e0a20);
  border: none;
  border-radius: 999px;
  color: #fff;
  padding: 13px 28px 13px 13px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}

/* Play triangle sits in its own disc, so the button reads as "video" at a glance */
.trailer-btn .tb-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.28);
  transition: transform 0.3s ease, background 0.25s ease;
}
.trailer-btn svg { width: 13px; height: 13px; flex: none; margin-left: 2px; }

.trailer-btn:not(:disabled):hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}
.trailer-btn:not(:disabled):hover .tb-play { transform: scale(1.12); }

.trailer-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.film-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.film-ig {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 clamp(28px, 4vw, 44px);
  border: 1px solid rgba(232,232,232,0.35);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--alabaster);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
/* Fills with the accent on hover, same principle as .btn-outline */
.film-ig:hover { background: var(--alabaster); border-color: var(--alabaster); color: var(--ink); }
.film-ig svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.film-ig:hover svg { transform: rotate(-16deg) scale(1.15); }
.theme-late .film-ig { color: var(--amber); border-color: rgba(232,155,45,0.5); }
.theme-late .film-ig:hover { background: var(--amber); border-color: var(--amber); color: var(--night-teal); }
.theme-bw .film-ig { color: #fff; border-color: rgba(255,255,255,0.5); }
.theme-bw .film-ig:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Trailer modal */
.trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,6,6,0.92);
  padding: var(--header-pad);
}
.trailer-modal[hidden] { display: none; }

.trailer-modal-inner {
  position: relative;
  width: min(1100px, 100%);
}

.trailer-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}
.trailer-embed iframe,
.trailer-embed video,
.trailer-embed wistia-player {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.trailer-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: var(--alabaster);
  font-size: 32px;
  line-height: 1;
  padding: 8px;
}
.trailer-close:hover { color: var(--ruby); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
  margin-bottom: 18px;
}
.back-link:hover { color: var(--ruby); }

.project-section {
  padding: clamp(40px, 5vw, 64px) var(--header-pad);
  max-width: 1280px;
  margin: 0 auto;
}

.project-section + .project-section { padding-top: 0; }

.project-overview.project-section {
  padding-top: clamp(16px, 2vw, 22px);
  padding-bottom: clamp(20px, 2.5vw, 28px);
}

.director-block + .project-section { padding-top: clamp(20px, 2.5vw, 28px); }

.section-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ruby);
  font-weight: 600;
  margin-bottom: 20px;
}

.project-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(270px, 28vw, 360px);
  gap: clamp(32px, 6vw, 72px);
}

.overview-main .specs-label { margin-top: clamp(20px, 2.5vw, 28px); }
.overview-main .trailer-label { margin-top: clamp(28px, 3.5vw, 40px); }

.specs-col { margin-top: 41px; }

.project-overview p {
  color: var(--alabaster-dim);
  font-size: clamp(15px, 1.35vw, 18px);
  max-width: 60ch;
  margin: 0 0 20px;
}

.project-overview p:first-of-type {
  color: var(--alabaster);
  font-size: clamp(17px, 1.6vw, 21px);
}

/* Poster + specs: rides down the rail together as you scroll */
.overview-side {
  position: sticky;
  top: clamp(84px, 12vh, 108px);
  align-self: start;
}

.project-poster { margin: 0; }
.project-poster img,
.poster-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}
.project-poster img {
  transition: transform 0.4s ease;
}

.poster-placeholder {
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
}
.poster-placeholder .ph-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--alabaster);
  max-width: 14ch;
  margin: 0 auto;
  line-height: 1.15;
}
.poster-placeholder .ph-note {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
}
.trailer-window {
  position: relative;
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  overflow: hidden;
}
.trailer-window iframe,
.trailer-window wistia-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Poster frame stands in until the Wistia custom element upgrades — one rule per
   film, since the swatch URL carries the media id */
.trailer-window wistia-player[media-id='pmse9t81p5']:not(:defined) {
  background: center / contain no-repeat url('https://fast.wistia.com/embed/medias/pmse9t81p5/swatch');
}
.trailer-window wistia-player[media-id='tj982791dm']:not(:defined) {
  background: center / contain no-repeat url('https://fast.wistia.com/embed/medias/tj982791dm/swatch');
}

.poster-credit {
  display: block;
  position: static;
  margin-top: 12px;
  padding: 0;
  background: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
  text-align: center;
}

/* Specs */

.specs-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(232,232,232,0.12);
}

.specs-list > div {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 12px 14px;
  margin-left: -14px;
  border-bottom: 1px solid rgba(232,232,232,0.12);
  transition: background 0.25s ease, padding-left 0.25s ease;
}

.specs-list > div::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--olive);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.specs-list > div:hover {
  background: rgba(232,232,232,0.05);
  padding-left: 22px;
}
.specs-list > div:hover::before { transform: scaleY(1); }

.specs-list dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
  transition: color 0.25s ease;
}

.specs-list > div:hover dt { color: var(--olive); }

.specs-list dd {
  margin: 0;
  font-size: 14px;
  text-align: right;
  color: var(--alabaster);
}

/* Director block */

.director-block {
  background: var(--olive);
  color: var(--ink);
}

.director-block .section-label { color: var(--ruby); }

.director-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 3.5vw, 40px) var(--header-pad) clamp(32px, 4vw, 48px);
}

.director-inner h2 {
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 8px;
}

.director-inner .director-role {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ruby);
  font-weight: 600;
}

.director-inner p {
  color: var(--ink-dim);
  max-width: 66ch;
  font-size: clamp(15px, 1.3vw, 17px);
  margin: 18px 0 0;
}

/* Director monogram + social */
.director-head {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
}

.director-monogram {
  flex: none;
  width: clamp(60px, 6vw, 76px);
  height: clamp(60px, 6vw, 76px);
  border-radius: 50%;
  background: var(--ink);
  color: var(--olive);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.02em;
}

.director-photo {
  flex: none;
  width: clamp(60px, 6vw, 76px);
  height: clamp(60px, 6vw, 76px);
  border-radius: 50%;
  object-fit: cover;
}

.director-photo-btn {
  flex: none;
  width: clamp(60px, 6vw, 76px);
  height: clamp(60px, 6vw, 76px);
  padding: 0;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.director-photo-btn .director-photo {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}
.director-photo-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.director-photo-btn:hover .director-photo { transform: scale(1.08); }
.director-photo-btn:hover::after { opacity: 1; }

.director-head h2 { margin-bottom: 6px; }

.director-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.director-ig {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid rgba(12,12,12,0.35);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.director-ig svg { width: 15px; height: 15px; }
.director-imdb img { width: 21px; height: auto; display: block; }
.director-ig:hover { color: var(--ruby); border-color: var(--ruby); }

.theme-late .director-monogram { color: var(--amber); }
.theme-late .director-ig { color: var(--ink); border-bottom-color: rgba(12,12,12,0.4); }
.theme-late .director-ig:hover { color: #7a4a05; border-color: #7a4a05; }
.theme-bw .director-monogram { color: #fff; }
.theme-bw .director-ig { color: var(--ink); }
.theme-bw .director-ig:hover { color: #000; border-color: #000; }

/* Stills grid — several thumbnails at once, works for any number of images */
.stills-section {
  padding-top: clamp(28px, 4vw, 44px);
}

.stills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 80%;
}

.still-thumb.featured { grid-column: 1 / -1; }

.still-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: none;
  background: rgba(232,232,232,0.06);
  cursor: pointer;
}
.still-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.still-thumb:hover img { transform: scale(1.06); }

/* Fullscreen lightbox — shared by the stills grid and poster */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,6,6,0.94);
  padding: var(--header-pad);
}
.lightbox[hidden] { display: none; }

.lightbox-stage { max-width: min(1040px, 100%); max-height: 79vh; }
.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 79vh;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: clamp(20px, 4vw, 48px);
  background: none;
  border: none;
  color: var(--alabaster);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { color: var(--ruby); }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: none;
  color: var(--alabaster);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.lightbox-arrow:hover { border-color: var(--alabaster); }
.lightbox-arrow[hidden] { display: none; }
.lightbox-arrow.prev { left: clamp(12px, 3vw, 40px); }
.lightbox-arrow.next { right: clamp(12px, 3vw, 40px); }
.lightbox-arrow svg { width: 18px; height: 18px; }

.lightbox-count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
}

.theme-late .lightbox-close { color: var(--amber); }
.theme-late .lightbox-close:hover { color: #f0b968; }
.theme-late .lightbox-arrow { color: var(--amber); border-color: rgba(232,155,45,0.5); }
.theme-late .lightbox-arrow:hover { border-color: var(--amber); }
.theme-late .lightbox-count { color: var(--amber); }

/* Why this story matters (project pages) */
.why-lead {
  max-width: 60ch;
  color: var(--alabaster);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.45;
  margin: 0 0 clamp(32px, 4vw, 48px);
}
.why-lead em { color: var(--olive); font-style: italic; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 44px);
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid rgba(232, 232, 232, 0.12);
}

.why-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(191, 207, 141, 0.1);
  border: 1px solid rgba(191, 207, 141, 0.25);
  color: var(--olive);
}
.why-icon svg { width: 24px; height: 24px; }
.why-point p {
  margin: 0;
  color: var(--alabaster-dim);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.5;
}

.why-close {
  max-width: 62ch;
  margin: clamp(32px, 4vw, 48px) 0 0;
  color: var(--alabaster);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  padding-left: 20px;
  border-left: 2px solid var(--olive);
}

/* Key stats — sit inside the Why section, on the film's accent */
.why-stats {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid rgba(232, 232, 232, 0.12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.why-stat { max-width: 28ch; }
.why-stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 5.5vw, 74px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--olive);
  margin-bottom: clamp(10px, 1.2vw, 16px);
}
.why-stat-unit { font-size: 0.42em; font-weight: 600; letter-spacing: 0; }
.why-stat p {
  margin: 0;
  color: var(--alabaster-dim);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.5;
}
.why-stat p strong { color: var(--alabaster); font-weight: 700; }
.why-stat sup { font-size: 0.6em; vertical-align: super; }

.why-stats-source {
  display: block;
  margin-top: clamp(20px, 2.5vw, 28px);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--alabaster-dim);
}
.why-stats-source sup { font-size: 0.85em; }

/* Already on board — supporter logos (project pages) */
.supporters-section { padding-bottom: clamp(20px, 3vw, 36px); }
.supporters-lead {
  max-width: 58ch;
  color: var(--alabaster-dim);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  margin: 0 0 clamp(28px, 3.5vw, 40px);
}
.supporters-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}
.supporter {
  display: block;
  opacity: 0.82;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.supporter img { display: block; height: clamp(56px, 6vw, 78px); width: auto; }
.supporter:hover { opacity: 1; transform: translateY(-3px); }

/* In financing / partners CTA (project pages) */
.partner-section {
  padding: clamp(20px, 3vw, 36px) var(--header-pad) clamp(48px, 7vw, 88px);
}
.partner-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid rgba(191, 207, 141, 0.28);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(191, 207, 141, 0.08), rgba(191, 207, 141, 0.02));
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.partner-inner::after {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  right: -140px;
  top: -180px;
  background: radial-gradient(circle, rgba(191, 207, 141, 0.16), transparent 70%);
  pointer-events: none;
}
.partner-main { position: relative; z-index: 1; }
.partner-inner .section-label { color: var(--olive); }
.partner-inner h2 {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.1;
  color: var(--alabaster);
  margin: 0 0 clamp(16px, 2vw, 22px);
}
.partner-main > p {
  max-width: 46ch;
  color: var(--alabaster-dim);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.5;
  margin: 0 0 clamp(26px, 3vw, 34px);
}
.partner-main > p em { color: var(--olive); font-style: italic; }

.partner-aside {
  position: relative;
  z-index: 1;
  border-left: 1px solid rgba(232, 232, 232, 0.14);
  padding-left: clamp(28px, 3.5vw, 44px);
}
.partner-aside-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
  margin-bottom: clamp(14px, 1.8vw, 20px);
}
.partner-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.partner-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--alabaster);
}
.partner-list li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 17px);
  color: #fff;
  background: linear-gradient(135deg, var(--ruby), #6e0a20);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-solid .arrow { transition: transform 0.3s ease; }
.btn-solid:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32); }
.btn-solid:hover .arrow { transform: translateX(6px); }

@media (max-width: 780px) {
  .partner-inner { grid-template-columns: 1fr; }
  .partner-aside {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(232, 232, 232, 0.14);
    padding-top: clamp(24px, 4vw, 32px);
  }

  /* A narrow box crops most of a 16:9 frame's width away, and cover() takes it
     evenly off both sides — which is exactly where this loop keeps its two faces.
     Hold the right-hand one instead of the empty middle. 90% suits both spots it
     appears in: their heights differ, so they crop by different amounts (the
     face lands at 54% of the home slide, 65% of the film hero). */
  .hero-slide-video.focus-right,
  .project-hero .hero-video.focus-right { object-position: 90% center; }
}

/* More works strip (project pages) */
.more-works {
  border-top: 1px solid rgba(232,232,232,0.14);
  padding: clamp(44px, 6vw, 72px) var(--header-pad);
}

.more-works-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.more-works .eyebrow { color: var(--olive); margin: 0; }
.more-works .text-link { color: var(--olive); }
.more-works .text-link:hover { color: var(--olive-light); }

.more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 2vw, 22px);
}

.more-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.more-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.more-card:hover img { transform: scale(1.05); }

.more-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 18px 16px;
  background: linear-gradient(0deg, rgba(6,6,6,0.9), transparent);
}
.more-card-info h3 {
  color: var(--alabaster);
  font-size: clamp(16px, 1.8vw, 22px);
}
.more-card-info span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
}

.theme-late .more-works .eyebrow,
.theme-late .more-works .text-link { color: var(--amber); }
.theme-late .more-works .text-link:hover { color: #f0b968; }
.theme-bw .more-works .eyebrow,
.theme-bw .more-works .text-link { color: #fff; }
.theme-bw .more-works .text-link:hover { color: #bbb; }
.theme-bw .more-card img { filter: none; }

/* Statement */

.statement blockquote {
  margin: 0;
  max-width: 800px;
}

.statement blockquote p {
  color: var(--alabaster-dim);
  font-size: clamp(15px, 1.35vw, 18px);
  margin: 0 0 18px;
}

.statement blockquote p:first-of-type {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  color: var(--alabaster);
  border-left: 3px solid var(--ruby);
  padding-left: 24px;
  margin-bottom: 28px;
}

.statement cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}

/* Credits */

.credits-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(232,232,232,0.12);
  max-width: 900px;
}

.credit-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: 16px;
  padding: 14px 0 14px 14px;
  margin-left: -14px;
  border-bottom: 1px solid rgba(232,232,232,0.12);
  transition: background 0.25s ease, padding-left 0.25s ease, opacity 0.5s ease, transform 0.5s ease;
}

.credit-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--olive);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.credit-row:hover {
  background: rgba(232,232,232,0.05);
  padding-left: 22px;
}
.credit-row:hover::before { transform: scaleY(1); }

.credit-row .role {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--alabaster-dim);
  padding-top: 3px;
  transition: color 0.25s ease;
}

.credit-row:hover .role { color: var(--olive); }

/* Stagger reveal for the long credits list on scroll */
.credit-row.reveal-row {
  opacity: 0;
  transform: translateY(14px);
}
.credit-row.reveal-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.credit-row .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
}

.credit-row .name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--alabaster-dim);
  margin-top: 4px;
}

.credit-row .name .as {
  color: var(--olive);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
}

/* Full credits — native disclosure dropdown; the summary is one more row of
   the list, so it shares the row's box metrics and hover treatment. */
.full-credits {
  max-width: 900px;
}

.full-credits > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 16px 14px;
  margin-left: -14px;
  border-bottom: 1px solid rgba(232,232,232,0.12);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--alabaster);
  transition: background 0.25s ease, padding-left 0.25s ease, color 0.25s ease;
}
.full-credits > summary::-webkit-details-marker { display: none; }

.full-credits > summary::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--olive);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.full-credits > summary:hover {
  background: rgba(232,232,232,0.05);
  padding-left: 22px;
  color: var(--olive);
}
.full-credits > summary:hover::before { transform: scaleY(1); }

.full-credits > summary .fc-toggle {
  flex: none;
  width: 13px;
  height: 13px;
  position: relative;
}
.full-credits > summary .fc-toggle::before,
.full-credits > summary .fc-toggle::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.full-credits > summary .fc-toggle::before {
  top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%);
}
.full-credits > summary .fc-toggle::after {
  left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%);
}
.full-credits[open] > summary .fc-toggle::after { transform: translateX(-50%) scaleY(0); opacity: 0; }

.full-credits:not([open]) .fc-body { display: none; }

.theme-late .full-credits > summary:hover { color: var(--amber); }
.theme-late .full-credits > summary::before { background: var(--amber); }
.theme-bw .full-credits > summary { color: #fff; }
.theme-bw .full-credits > summary:hover { color: #fff; }
.theme-bw .full-credits > summary::before { background: #ffffff; }

/* ---------- LATE theme (poster: amber on night teal) ---------- */

.theme-late {
  background: var(--night-teal);
}

/* header in film colors */
.theme-late .site-header.scrolled {
  background: rgba(13, 23, 27, 0.92);
  box-shadow: 0 1px 0 rgba(232, 155, 45, 0.18);
}
.theme-late .logo img {
  filter: brightness(0) saturate(100%) invert(66%) sepia(61%) saturate(1352%) hue-rotate(354deg) brightness(97%) contrast(88%);
}
.theme-late .site-nav a { color: #EFD9B4; }
.theme-late .site-nav a:hover { color: var(--amber); }
.theme-late .site-nav a::after { background: var(--amber); }

.theme-late .film-title-bar { border-bottom-color: rgba(232,155,45,0.25); }

.theme-late .hero-title,
.theme-late .project-section h2 { color: var(--amber); }

.theme-late .hero-year,
.theme-late .project-hero-meta strong,
.theme-late .section-label,
.theme-late .statement cite,
.theme-late .credit-row .name .as { color: var(--amber); }

.theme-late .statement blockquote p:first-of-type { border-left-color: var(--amber); }

.theme-late .back-link:hover { color: var(--amber); }

.theme-late .specs-list > div::before,
.theme-late .credit-row::before { background: var(--amber); }
.theme-late .specs-list > div:hover dt,
.theme-late .credit-row:hover .role { color: var(--amber); }

.theme-late .trailer-btn {
  background: linear-gradient(135deg, var(--amber), #C97A16);
  color: var(--night-teal);
}
.theme-late .trailer-btn .tb-play { background: rgba(13, 23, 27, 0.82); color: var(--amber); }
.theme-late .trailer-btn:not(:disabled):hover { box-shadow: 0 14px 34px rgba(232, 155, 45, 0.36); }

.theme-late .director-block {
  background: var(--amber);
  color: var(--ink);
}
.theme-late .director-block .section-label { color: var(--ink); opacity: 0.65; }
.theme-late .director-inner .director-role { color: #7a4a05; }

.theme-late .site-footer { background: var(--ink); }
.theme-late .footer-contact a { border-bottom-color: var(--amber); }
.theme-late .footer-contact a:hover,
.theme-late .footer-socials a:hover { color: var(--amber); }

/* ---------- Visita theme (film pink) ---------- */
.theme-visita {
  --visita: #E7409F;
  --visita-soft: #F06BB5;
  background: #150910;
}

.theme-visita .site-header.scrolled {
  background: rgba(21, 9, 16, 0.9);
  box-shadow: 0 1px 0 rgba(231, 64, 159, 0.2);
}
.theme-visita .site-nav a { color: #F3CCE2; }
.theme-visita .site-nav a:hover { color: var(--visita); }
.theme-visita .site-nav a::after { background: var(--visita); }

.theme-visita .film-title-bar { border-bottom-color: rgba(231, 64, 159, 0.25); }
.theme-visita .hero-year,
.theme-visita .project-hero-meta strong,
.theme-visita .section-label { color: var(--visita); }

.theme-visita .back-link:hover { color: var(--visita); }

.theme-visita .specs-list > div::before { background: var(--visita); }
.theme-visita .specs-list > div:hover dt { color: var(--visita); }

.theme-visita .director-block {
  background: linear-gradient(155deg, #D6249B 0%, #A81874 100%);
  color: #fff;
}
.theme-visita .director-inner h2 { color: #fff; }
.theme-visita .director-inner p { color: rgba(255, 255, 255, 0.9); }
.theme-visita .director-inner .director-role { color: rgba(255, 255, 255, 0.85); }
.theme-visita .director-ig { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.45); }
.theme-visita .director-ig:hover { color: #fff; border-color: #fff; }

.theme-visita .why-lead em { color: var(--visita); }
.theme-visita .why-icon {
  background: rgba(231, 64, 159, 0.12);
  border-color: rgba(231, 64, 159, 0.3);
  color: var(--visita);
}
.theme-visita .why-close { border-left-color: var(--visita); }
.theme-visita .why-stat-num { color: var(--visita); }

.theme-visita .partner-inner {
  border-color: rgba(231, 64, 159, 0.32);
  background: linear-gradient(160deg, rgba(231, 64, 159, 0.12), rgba(231, 64, 159, 0.02));
}
.theme-visita .partner-inner::after {
  background: radial-gradient(circle, rgba(231, 64, 159, 0.22), transparent 70%);
}
.theme-visita .partner-inner .section-label { color: var(--visita); }
.theme-visita .partner-main > p em { color: var(--visita); }
.theme-visita .partner-list li::before { background: var(--visita); }

.theme-visita .btn-outline { border-color: var(--visita); color: var(--visita); }
.theme-visita .btn-outline:hover { background: var(--visita); color: #fff; }
.theme-visita .btn-solid {
  background: linear-gradient(135deg, #E7409F 0%, #B01B78 100%);
  box-shadow: 0 8px 24px rgba(231, 64, 159, 0.28);
}
.theme-visita .btn-solid:hover { box-shadow: 0 14px 34px rgba(231, 64, 159, 0.4); }

.theme-visita .more-works .eyebrow,
.theme-visita .more-works .text-link { color: var(--visita); }
.theme-visita .more-works .text-link:hover { color: var(--visita-soft); }

.theme-visita .site-footer { background: var(--ink); }
.theme-visita .footer-contact a { border-bottom-color: var(--visita); }
.theme-visita .footer-contact a:hover,
.theme-visita .footer-socials a:hover { color: var(--visita); }

/* ---------- WTCC theme (black & white) ---------- */

.theme-bw { background: #0A0A0A; }

.theme-bw img { filter: grayscale(1); }

.theme-bw .site-header.scrolled {
  background: rgba(18, 18, 18, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14);
}
.theme-bw .logo img { filter: grayscale(1) brightness(1.6); }
.theme-bw .site-nav a { color: #fff; }
.theme-bw .site-nav a:hover { color: #9a9a9a; }
.theme-bw .site-nav a::after { background: #fff; }

.theme-bw .film-title-bar { border-bottom-color: rgba(255,255,255,0.18); }

/* Frame is wider than the hero box, so cover() drops ~90px of height: anchor the
   video to its bottom edge and lose that from the top instead of splitting it. */
.theme-bw .project-hero .hero-video { object-position: center bottom; }

.theme-bw .hero-year,
.theme-bw .project-hero-meta strong,
.theme-bw .section-label,
.theme-bw .credit-row .name .as { color: #ffffff; }

.theme-bw .section-label { border-bottom: 1px solid rgba(255,255,255,0.3); display: block; width: fit-content; padding-bottom: 6px; }

.theme-bw .specs-list > div::before,
.theme-bw .credit-row::before { background: #ffffff; }
.theme-bw .specs-list > div:hover dt,
.theme-bw .credit-row:hover .role { color: #ffffff; }

.theme-bw .trailer-btn {
  background: linear-gradient(135deg, #ffffff, #C9C9C9);
  color: var(--ink);
}
.theme-bw .trailer-btn .tb-play { background: rgba(12, 12, 12, 0.88); color: #ffffff; }
.theme-bw .trailer-btn:not(:disabled):hover { box-shadow: 0 14px 34px rgba(255, 255, 255, 0.22); }

.theme-bw .director-block {
  background: var(--alabaster);
  color: var(--ink);
}
.theme-bw .director-block .section-label { color: var(--ink); border-bottom-color: rgba(12,12,12,0.4); }
.theme-bw .director-inner .director-role { color: #555; }

.theme-bw .back-link:hover { color: #fff; }

/* WTCC footer in grayscale shades */
.theme-bw .site-footer { background: #161616; }
.theme-bw .footer-contact a { border-bottom-color: #fff; }
/* Was #fff over an --alabaster base — a 7-shade shift nobody could see. Dims to the
   same grey the nav uses, since a B&W theme has no brighter colour to move to. */
.theme-bw .footer-contact a:hover,
.theme-bw .footer-socials a:hover { color: #9a9a9a; }

/* ---------- Team page (olive) ---------- */

.team-page { background: var(--olive); color: var(--ink); }

/* About page: light manifesto variant (keeps team-page ink header) */
.about-light { background: var(--alabaster); }
.about--page {
  padding-top: clamp(96px, 11vw, 130px);
  padding-bottom: clamp(16px, 2vw, 32px);
}
.team-page .site-header.scrolled {
  background: rgba(191, 207, 141, 0.92);
  box-shadow: 0 1px 0 rgba(12,12,12,0.15);
}
.team-page .site-header .site-nav a { color: var(--ink); }
.team-page .site-header .site-nav a:hover { color: var(--ruby); }
.team-page .site-header .site-nav a::after { background: var(--ruby); }
.team-page .site-header .nav-toggle { color: var(--ink); }
.team-page .site-header .logo img { filter: brightness(0); }

.team-hero {
  padding: clamp(96px, 11vw, 130px) var(--header-pad) clamp(36px, 5vw, 56px);
}

.team-hero .eyebrow { color: var(--ruby); }

.team-hero h1 {
  font-size: clamp(30px, 4.5vw, 56px);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.team-hero p {
  margin-top: 20px;
  max-width: 56ch;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.4vw, 18px);
}

/* Production path — the road a project travels with us (team hero) */
.prod-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: clamp(28px, 3.5vw, 40px);
}
.pp-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-dim);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  animation: ppStep 0.5s ease forwards;
  animation-delay: calc(var(--i) * 0.14s + 0.25s);
}
.pp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ruby);
}
.pp-sep {
  flex: 1 1 20px;
  min-width: 20px;
  max-width: 72px;
  height: 1px;
  background: rgba(12, 12, 12, 0.28);
  transform: scaleX(0);
  transform-origin: left center;
  animation: ppSep 0.4s ease forwards;
  animation-delay: calc(var(--i) * 0.14s + 0.42s);
}
@keyframes ppStep { to { opacity: 1; transform: translateY(0); } }
@keyframes ppSep { to { transform: scaleX(1); } }

@media (max-width: 640px) {
  .pp-sep { display: none; }
  .prod-path { gap: 10px 18px; }
}

/* Duo — the two producers, side by side */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(56px, 7vw, 120px);
  max-width: 1180px;
  padding: clamp(32px, 4vw, 56px) var(--header-pad) clamp(56px, 7vw, 96px);
}
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; gap: clamp(48px, 8vw, 72px); }
}

/* Both profiles read the same way: photo left, text right */
.duo-card {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 32px);
}

.duo-media {
  position: relative;
  flex: none;
  width: clamp(132px, 14vw, 176px);
  margin: 0;
}
.duo-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--olive);
  transform: translate(16px, 16px);
  transition: transform 0.35s ease;
}
.duo-media img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.duo-card:hover .duo-media img { transform: translate(-4px, -4px); }
.duo-card:hover .duo-media::before { transform: translate(20px, 20px); }

.duo-info { flex: 1; min-width: 0; }

.duo-name {
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.duo-role {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ruby);
  font-weight: 600;
}

.duo-bio {
  margin: 18px 0 0;
  max-width: 58ch;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.65;
}

.duo-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 22px;
}
.duo-mail {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 2px solid var(--ruby);
  padding-bottom: 2px;
  transition: color 0.25s ease;
}
.duo-mail:hover { color: var(--ruby); }
.duo-socials { display: flex; gap: 16px; }
.duo-socials a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  border-bottom: 1px solid rgba(12,12,12,0.3);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.duo-socials a:hover { color: var(--ruby); border-color: var(--ruby); }

@media (max-width: 720px) {
  .duo-card { flex-direction: column; align-items: flex-start; }
  .duo-media { width: min(200px, calc(100% - 16px)); }
  .duo-media::before { transform: translate(12px, 12px); }
}

/* Collaborate call (team page) */
.collaborate {
  padding: clamp(16px, 2.5vw, 32px) var(--header-pad) clamp(48px, 7vw, 88px);
}

.collaborate .eyebrow { color: var(--ruby); }

.collaborate h2 {
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 22ch;
}

.collaborate > p {
  margin: 20px 0 0;
  max-width: 58ch;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.4vw, 18px);
}

.collab-cats {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  max-width: 1180px;
}

.collab-cat {
  display: flex;
  flex-direction: column;
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid rgba(12,12,12,0.18);
  color: var(--ink);
}

.collab-cat .extra-icon {
  display: grid;
  place-items: center;
  width: clamp(52px, 5vw, 60px);
  height: clamp(52px, 5vw, 60px);
  border-radius: 50%;
  background: var(--ink);
  color: var(--olive);
  transition: transform 0.3s ease;
}
.collab-cats .collab-cat:nth-child(2) .extra-icon { background: var(--ruby); color: var(--alabaster); }
.collab-cat:hover .extra-icon { transform: translateY(-4px) rotate(-4deg); }
.collab-cat .extra-icon svg { width: 26px; height: 26px; }

.collab-cat h3 {
  margin-top: 20px;
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--ink);
}

.collab-cat > p {
  margin: 10px 0 clamp(20px, 2.5vw, 28px);
  color: var(--ink-dim);
  font-size: clamp(14px, 1.3vw, 16px);
  max-width: 30ch;
}

.collab-cat-link {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1.5px solid var(--ruby);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ruby);
  transition: background 0.25s ease, color 0.25s ease;
}
.collab-cat-link .arrow { transition: transform 0.3s ease; }
.collab-cat:hover .collab-cat-link { background: var(--ruby); color: var(--alabaster); }
.collab-cat:hover .collab-cat-link .arrow { transform: translateX(5px); }

/* About page services block */
.about-page-services {
  padding: clamp(8px, 1.5vw, 24px) var(--header-pad) clamp(40px, 6vw, 72px);
}
.about-page-services .eyebrow { color: var(--ruby); }

.services-lead {
  margin-top: 14px;
  max-width: 20ch;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.cycles {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-width: 880px;
}

.cycle {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(26px, 3.5vw, 38px) 0;
  border-top: 1px solid rgba(12,12,12,0.18);
}

.cycle-step {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ruby);
  padding-top: 12px;
  letter-spacing: 0.05em;
}

.cycle-icon {
  display: grid;
  place-items: center;
  width: clamp(52px, 5vw, 64px);
  height: clamp(52px, 5vw, 64px);
  border-radius: 50%;
  background: var(--ink);
  color: var(--olive);
  transition: transform 0.3s ease, background 0.3s ease;
}

.cycle:nth-child(even) .cycle-icon { background: var(--ruby); color: var(--alabaster); }
.cycle:hover .cycle-icon { transform: translateY(-4px) rotate(-4deg); }

.cycle-icon svg { width: 28px; height: 28px; }

.cycle h3 {
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cycle p {
  margin: 10px 0 0;
  max-width: 56ch;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.35vw, 17px);
}

/* About extras (commercials / music videos / production services) */
.about-extras {
  padding: 0 var(--header-pad) clamp(32px, 5vw, 56px);
}
.about-extras .eyebrow { color: var(--ruby); }

.extras-grid {
  margin-top: clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  max-width: 1180px;
}

.extra-card {
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid rgba(12,12,12,0.18);
}

.extra-icon {
  display: grid;
  place-items: center;
  width: clamp(52px, 5vw, 60px);
  height: clamp(52px, 5vw, 60px);
  border-radius: 50%;
  background: var(--ink);
  color: var(--olive);
  transition: transform 0.3s ease;
}
.extras-grid .extra-card:nth-child(even) .extra-icon { background: var(--ruby); color: var(--alabaster); }
.extra-card:hover .extra-icon { transform: translateY(-4px) rotate(-4deg); }

.extra-icon svg {
  width: 26px;
  height: 26px;
}

.extra-card h3 {
  margin-top: 20px;
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--ink);
}

.extra-card p {
  margin-top: 10px;
  color: var(--ink-dim);
  font-size: clamp(14px, 1.3vw, 16px);
}

/* About page bottom CTA */
.about-cta {
  padding: clamp(8px, 2vw, 24px) var(--header-pad) clamp(56px, 8vw, 100px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border: 1.5px solid var(--ruby);
  color: var(--ruby);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 18px);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-outline .arrow { transition: transform 0.3s ease; }
.btn-outline:hover { background: var(--ruby); color: var(--alabaster); }
.btn-outline:hover .arrow { transform: translateX(6px); }

/* About poster ribbon */
.about-posters {
  padding: clamp(48px, 7vw, 88px) var(--header-pad) clamp(56px, 8vw, 100px);
  background: var(--olive-deep);
}

.about-posters-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.about-posters .eyebrow { color: var(--olive); }
.about-posters h2 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--alabaster);
  letter-spacing: -0.01em;
}
.about-posters .text-link { color: var(--olive); }
.about-posters .text-link:hover { color: var(--olive-light); }

.poster-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 28px);
}

.poster-tile {
  display: block;
  position: relative;
  overflow: hidden;
}

.poster-tile img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.poster-tile:hover img { transform: scale(1.05); }

.poster-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(0deg, rgba(6,8,4,0.9), transparent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--alabaster);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.poster-caption em {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}

/* ---------- Contact page ---------- */

.contact-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
  gap: clamp(40px, 7vw, 96px);
  padding: clamp(8px, 1.5vw, 20px) var(--header-pad) clamp(56px, 8vw, 96px);
  align-items: start;
}

.contact-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ruby);
  font-weight: 600;
  margin-bottom: 14px;
}

.contact-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 2px solid var(--ruby);
  transition: color 0.25s ease;
}
.contact-primary:hover { color: var(--ruby); }

/* Form sits in the wide left column; the email block rides the right column. */
.contact-form-block iframe {
  display: block;
  width: 100%;
  border: none;
}

.contact-legal address {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-dim);
  font-size: 15px;
}
.contact-legal address strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 4px;
}

@media (max-width: 820px) {
  .contact-body { grid-template-columns: 1fr; }
  .poster-ribbon { grid-template-columns: repeat(3, 1fr); }
}

.team-card h2 {
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--ink);
}

.team-card .team-role {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ruby);
  font-weight: 600;
}

.team-card a.team-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 2px solid var(--ruby);
  padding-bottom: 2px;
  transition: color 0.25s ease;
}
.team-card a.team-mail:hover { color: var(--ruby); }

.team-footer-note {
  padding: clamp(32px, 5vw, 56px) var(--header-pad) clamp(48px, 7vw, 80px);
}

.team-footer-note p {
  max-width: 50ch;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.4vw, 18px);
  margin: 0 0 16px;
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  /* backdrop-filter turns the header into the containing block for its own
     position:fixed children, trapping the fullscreen nav overlay inside the
     68px header once .scrolled kicks in. Drop it on mobile so the menu can
     cover the viewport again. */
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--ink-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 20px; color: var(--alabaster) !important; }
  .nav-toggle { display: block; z-index: 101; }

  /* Home hero: title breaks as "When" / "the Curtains Close" on phones */
  #hero .hero-title br.br-hide-m { display: none; }

  .project-overview { grid-template-columns: 1fr; }
  /* Poster: smaller and centred */
  .project-poster { max-width: 220px; margin-left: auto; margin-right: auto; }
  /* Stills: bigger, running edge to edge */
  .stills-grid {
    width: auto;
    margin-left: calc(var(--header-pad) * -1);
    margin-right: calc(var(--header-pad) * -1);
    gap: 6px;
  }

  .film-title-bar { align-items: flex-start; flex-direction: column; }
}
