/* ==========================================================================
   Primitive Entertainment — shared stylesheet
   Dark theme: near-black ground, white text, yellow (#FFD520) highlights
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  /* color tokens */
  --ink: #0B0D0C;            /* page background */
  --ink-soft: #16191750;      /* fallback unused, see raised */
  --raised: #17191760;
  --raised-solid: #17191A;    /* input fields, portrait base */
  --white: #FFFFFF;           /* headings, primary emphasis */
  --text: #F2F1EC;            /* primary body text (near-white) */
  --muted: #A6A49B;           /* secondary/caption text */
  --yellow: #FFD520;          /* accent / highlight */
  --yellow-deep: #E0B800;     /* accent hover/active */
  --white-70: rgba(255, 255, 255, 0.7);
  --white-15: rgba(255, 255, 255, 0.15);
  --white-08: rgba(255, 255, 255, 0.08);

  /* type */
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* layout */
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
  --rule: 1px solid var(--white-15);
  --rule-light: 1px solid var(--white-08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
}

p { margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 12, 0.92);
  border-bottom: var(--rule-light);
}

/* Blur lives on a pseudo-element, not the header itself — putting
   backdrop-filter directly on .site-header would make it the containing
   block for any position:fixed descendant (like the mobile .site-nav
   panel), breaking its full-screen sizing. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

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

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  color: var(--text);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover { border-color: var(--white-15); }

.site-nav a[aria-current="page"] {
  color: var(--yellow);
  border-color: var(--yellow);
}

.nav-toggle {
  display: none;
  background: var(--raised-solid);
  border: 1px solid var(--white-15);
  border-radius: 4px;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-toggle:hover {
  border-color: var(--white-70);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.nav-toggle svg { width: 20px; height: 20px; overflow: visible; }

.nav-toggle svg line {
  stroke-width: 2.3;
  stroke-linecap: round;
  transform-origin: 12px 12px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] svg line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] svg line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] svg line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--raised-solid);
    box-shadow: 0 24px 48px rgba(0,0,0,0.5);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .site-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav a {
    width: 100%;
    padding: 16px 4px;
    border-bottom: var(--rule);
    font-size: 1.15rem;
    font-weight: 500;
  }
  .site-nav a[aria-current="page"] {
    border-left: 3px solid var(--yellow);
    padding-left: 16px;
    background: rgba(255, 213, 32, 0.06);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--text);
  overflow: hidden;
  padding: clamp(72px, 14vw, 148px) 0 clamp(56px, 9vw, 96px);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* darken + grade the footage so hero text stays readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(11,13,12,0.55) 0%, rgba(11,13,12,0.75) 55%, rgba(11,13,12,0.94) 100%),
    linear-gradient(100deg, rgba(11,13,12,0.55) 0%, rgba(11,13,12,0.1) 60%);
}

/* visitors who've asked for reduced motion get a still frame, not autoplay footage */
@media (prefers-reduced-motion: reduce) {
  .hero-video iframe { display: none; }
  .hero-video {
    background: radial-gradient(circle at 30% 20%, #26210a, var(--ink) 70%);
  }
}

.hero .wrap { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.92rem;
  color: var(--yellow);
  max-width: 46ch;
  margin-bottom: 28px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  max-width: 14ch;
  color: var(--white);
}

.hero-sub {
  margin-top: 24px;
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--white-70);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--white-15);
}

.hero-meta div { min-width: 90px; }

.hero-meta .num {
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--yellow);
}

.hero-meta .label {
  font-size: 0.82rem;
  color: var(--white-70);
  margin-top: 2px;
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section { padding: clamp(48px, 8vw, 96px) 0; }
section + section { border-top: var(--rule-light); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(28px, 5vw, 48px);
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
}

.section-head p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ==========================================================================
   Ledger — film listing rows
   ========================================================================== */

.ledger { border-top: var(--rule); }

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px 32px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: var(--rule);
  transition: padding-left 0.15s ease, background 0.15s ease;
}

.ledger-row:hover,
.ledger-row:focus-within {
  padding-left: 10px;
  background: rgba(255, 213, 32, 0.05);
}

.ledger-title {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 500;
  color: var(--white);
}

.ledger-title a::after {
  content: "";
}

.ledger-title a:hover,
.ledger-title a:focus-visible {
  color: var(--yellow);
}

.ledger-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
  max-width: 60ch;
}

.ledger-format {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.ledger-status {
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text);
}

.ledger-status.is-award { color: var(--yellow); }

@media (max-width: 640px) {
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ==========================================================================
   Current strip — homepage "currently in the field" grid, one card per film
   ========================================================================== */

.current-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 900px) {
  .current-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .current-strip { grid-template-columns: 1fr; }
}

.current-row {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 420px;
  border: var(--rule-light);
  transition: border-color 0.2s ease;
}

.current-row:hover,
.current-row:focus-within {
  border-color: var(--white-70);
}

.current-row-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--card-focus-y, 50%);
  z-index: 0;
  transition: transform 0.4s ease;
}

.current-row:hover .current-row-bg,
.current-row:focus-within .current-row-bg {
  transform: scale(1.04);
}

.current-row-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,13,12,0.05) 0%, rgba(11,13,12,0.55) 60%, rgba(11,13,12,0.92) 100%);
}

.current-row-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: clamp(20px, 2.5vw, 28px);
}

.current-row-content .ledger-title { color: var(--white); font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.current-row-content .ledger-note {
  color: var(--text);
  opacity: 0.85;
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.current-row-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--white-15);
  font-size: 0.82rem;
}

.current-row-meta .ledger-format { color: var(--white-70); white-space: nowrap; }
.current-row-meta .ledger-status { color: var(--text); font-weight: 500; text-align: right; }
.current-row-meta .ledger-status.is-award { color: var(--yellow); }

/* film filter */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-bar button {
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 9px 18px;
  border: var(--rule);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-bar button:hover { border-color: var(--yellow); }

.filter-bar button.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

/* ==========================================================================
   Dispatches (news) list
   ========================================================================== */

.dispatch-list { border-top: var(--rule); }

.dispatch {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: var(--rule);
}

.dispatch time {
  font-size: 0.84rem;
  color: var(--muted);
  padding-top: 4px;
}

.dispatch h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--white);
}

.dispatch h3 a { color: inherit; }
.dispatch h3 a:hover { color: var(--yellow); }

.dispatch p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 62ch;
}

@media (max-width: 560px) {
  .dispatch { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 5vw, 56px);
}

.team-card { border-top: 2px solid var(--yellow); padding-top: 22px; }

.team-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  margin-bottom: 20px;
  background: linear-gradient(160deg, var(--raised-solid), var(--ink) 70%);
  position: relative;
  overflow: hidden;
  border: var(--rule-light);
}

.team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 0;
}

.team-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,213,32,0.22), transparent 55%);
}

.team-initial {
  position: absolute;
  bottom: 14px; left: 16px;
  font-family: var(--display);
  font-size: 3rem;
  color: var(--white-70);
}

.team-card h3 { font-size: 1.35rem; margin-bottom: 2px; }
.team-role { font-size: 0.88rem; color: var(--yellow); font-weight: 500; margin-bottom: 14px; }
.team-bio { font-size: 0.96rem; color: var(--muted); max-width: 46ch; }
.team-contact { margin-top: 16px; font-size: 0.86rem; }
.team-contact a { border-bottom: 1px solid var(--white-15); color: var(--text); }

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

/* ==========================================================================
   Pull quote
   ========================================================================== */

.pull-quote {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  max-width: 26ch;
  line-height: 1.25;
  color: var(--white);
  margin: 12px 0 8px;
}

.pull-quote cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
}

/* ==========================================================================
   Stat / partner strips
   ========================================================================== */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.tag-row span {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 7px 14px;
  border: var(--rule-light);
  border-radius: 999px;
}

/* ==========================================================================
   Awards timeline
   ========================================================================== */

.timeline { border-top: var(--rule); }

.timeline-year {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: var(--rule);
  align-items: start;
}

.timeline-year .year {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--yellow);
  position: sticky;
  top: 92px;
}

.timeline-entries { display: flex; flex-direction: column; gap: 14px; }

.timeline-entry { font-size: 0.96rem; color: var(--text); }

.timeline-entry .kind {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--yellow);
  margin-right: 10px;
}

.timeline-entry .kind.nom { color: var(--muted); }

.timeline-entry .film { font-weight: 600; color: var(--white); }

@media (max-width: 560px) {
  .timeline-year { grid-template-columns: 1fr; gap: 8px; }
  .timeline-year .year { position: static; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.field input,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px 14px;
  border: var(--rule);
  border-radius: 3px;
  background: var(--raised-solid);
  color: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--yellow);
}

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

.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: #FF6B57;
}

.field .error-msg {
  font-size: 0.8rem;
  color: #FF6B57;
  min-height: 1em;
}

.btn {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  background: var(--yellow);
  color: var(--ink);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--yellow-deep); }

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--yellow);
}

.contact-info h3 { font-size: 1.2rem; margin-bottom: 14px; }
.contact-info address { font-style: normal; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.contact-info .socials { display: flex; gap: 18px; margin-top: 8px; }
.contact-info .socials a { font-size: 0.88rem; border-bottom: 1px solid var(--white-15); color: var(--text); }

.map-frame {
  margin-top: 28px;
  border: var(--rule);
  border-radius: 3px;
  overflow: hidden;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

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

/* ==========================================================================
   About intro
   ========================================================================== */

.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.about-intro p { font-size: 1.05rem; color: var(--muted); margin-bottom: 18px; }
.about-intro p:first-child { color: var(--text); font-size: 1.15rem; }

@media (max-width: 760px) {
  .about-intro { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--white-70);
  padding: 48px 0 32px;
  border-top: var(--rule-light);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: var(--rule-light);
  margin-bottom: 24px;
}

.footer-top .logo-img { height: 30px; }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.88rem; color: var(--white-70); }
.footer-nav a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

.footer-bottom .socials { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--yellow); }

/* ==========================================================================
   Page header (non-home pages)
   ========================================================================== */

.page-header {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text);
  padding: clamp(88px, 15vw, 160px) 0 clamp(64px, 9vw, 104px);
}

.page-header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,13,12,0.35) 0%, rgba(11,13,12,0.7) 65%, rgba(11,13,12,0.94) 100%),
    linear-gradient(100deg, rgba(11,13,12,0.5) 0%, rgba(11,13,12,0.05) 55%);
}

.page-header .wrap { position: relative; z-index: 2; }

.page-header h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 18ch; color: var(--white); }
.page-header p { margin-top: 18px; max-width: 52ch; color: var(--white-70); font-size: 1.02rem; }

/* ==========================================================================
   Project detail page (individual film template)
   ========================================================================== */

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { margin: 0 8px; color: var(--white-15); }
.breadcrumb .current { color: var(--text); }

.project-hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,213,32,0.14), transparent 45%),
    linear-gradient(160deg, #17191A, var(--ink) 65%);
  padding: clamp(56px, 10vw, 100px) 0 clamp(44px, 7vw, 72px);
  border-bottom: var(--rule-light);
  overflow: hidden;
}

/* Real still or bespoke illustration for this film. Falls back to the
   gradient above if no <img class="project-hero-img"> is present. */
.project-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Experimental: on wider screens, bias the crop toward wherever a photo's
   subject actually sits (set per-image via the --hero-focus-x / --hero-focus-y
   custom properties) and give the hero a little extra height, so less of the
   image needs to be cropped away — without breaking the full-bleed
   edge-to-edge look. Applied per-page via extra classes; both default to
   center (50%) if not set on the element. */
@media (min-width: 900px) {
  .hero-img-zoom-out {
    object-position: var(--hero-focus-x, 50%) var(--hero-focus-y, 50%);
  }
  .project-hero--tall {
    padding-top: clamp(96px, 16vw, 180px);
    padding-bottom: clamp(64px, 10vw, 120px);
  }
  /* Spaceship Earth hero: shrink and shift the globe right, revealing more
     of the surrounding black space on desktop. Left at default (centered,
     full cover) on narrower screens, where the shorter hero has no spare
     room and the same transform would push the globe off-frame. */
  .hero-img-earth {
    transform: scale(0.88) translateX(22%);
  }
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,13,12,0.35) 0%, rgba(11,13,12,0.65) 60%, rgba(11,13,12,0.92) 100%),
    linear-gradient(100deg, rgba(11,13,12,0.55) 0%, rgba(11,13,12,0.05) 55%);
}

.project-hero .wrap { position: relative; z-index: 2; }

.project-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.9rem);
  max-width: 18ch;
  color: var(--white);
}

.project-tagline {
  margin-top: 18px;
  max-width: 50ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--yellow);
  font-family: var(--display);
  font-style: italic;
}

.project-tagline a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--white-15);
  text-underline-offset: 3px;
}
.project-tagline a:hover {
  text-decoration-color: currentColor;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--white-15);
}

.project-meta-row div { min-width: 120px; }

.project-meta-row .k {
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.project-meta-row .v {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

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

.project-main h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.project-pull-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  color: var(--white);
  line-height: 1.4;
  max-width: 42ch;
  border-left: 2px solid var(--yellow);
  padding-left: 20px;
  margin-bottom: 28px;
}

.project-pull-quote cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 10px;
}

.project-body p {
  font-size: 1.02rem;
  color: var(--text);
  max-width: 64ch;
  margin-bottom: 18px;
  line-height: 1.65;
}

.trailer-embed {
  margin-top: 36px;
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  background: var(--raised-solid);
  border: var(--rule-light);
  border-radius: 3px;
  overflow: hidden;
}

.trailer-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-poster {
  margin: 28px 0 0 auto;
  max-width: 420px;
}

.project-poster img {
  width: 100%;
  display: block;
  border: var(--rule-light);
  border-radius: 3px;
}

.project-poster figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.project-sidebar > div + div {
  margin-top: 36px;
  padding-top: 28px;
  border-top: var(--rule-light);
}

.project-sidebar h3 {
  font-size: 0.98rem;
  color: var(--white);
  margin-bottom: 14px;
}

.detail-list dt {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
}

.detail-list dt:first-child { margin-top: 0; }

.detail-list dd {
  margin: 2px 0 0;
  font-size: 0.95rem;
  color: var(--text);
}

.credit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credit-list li {
  font-size: 0.92rem;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: var(--rule-light);
}

.credit-list li:last-child { border-bottom: none; padding-bottom: 0; }

.credit-list .film-name { color: var(--muted); display: block; font-size: 0.84rem; margin-top: 2px; }

.share-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.share-row a {
  font-size: 0.86rem;
  color: var(--text);
  border-bottom: 1px solid var(--white-15);
}

.share-row a:hover { color: var(--yellow); border-color: var(--yellow); }

.project-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.project-nav a {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-nav a:hover .project-nav-title { color: var(--yellow); }

.project-nav .dir-label { font-size: 0.75rem; text-transform: none; }
.project-nav-title {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--white);
  transition: color 0.15s ease;
}

.project-nav .next { text-align: right; align-items: flex-end; }
