/* ============================================================
   Raphael Dael — Documentary Filmmaker
   Cream editorial ↔ full-bleed film panels.
   Monochrome by intent: swap --accent to introduce a color.
   ============================================================ */

:root {
  --paper:       #f2efe8;
  --paper-deep:  #e6e1d3;   /* highlighter behind <mark> */
  --ink:         #171512;
  --ink-soft:    #6b665c;
  --white:       #f6f4ee;

  --accent:      var(--ink);   /* ← single knob for future color */

  --sans:  "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --ease:   cubic-bezier(.22, .8, .24, 1);

  /* subtle chromatic aberration — white core, magenta/cyan fringes, soft glow */
  --chromatic:
    0 0 .18em rgb(255 255 255 / .25),
    0 0 .55em rgb(255 255 255 / .14),
    -.045em 0 .1em rgb(255 45 85 / .28),
    .045em 0 .1em rgb(0 205 255 / .28);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

mark {
  background: linear-gradient(180deg, transparent 58%, var(--paper-deep) 58%);
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- cross-page fade ----------
   View Transitions API: a soft cross-fade on same-origin navigations
   (landing ↔ films ↔ film pages). Unsupported browsers navigate
   instantly — no JS, graceful fallback. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .55s;
  animation-timing-function: var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}

.kicker {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.kicker--paper { color: color-mix(in srgb, var(--paper) 60%, transparent); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.1rem, 2.5vw, 1.8rem) var(--gutter);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.landing-page .site-header,
.films-index .site-header { color: var(--paper); }  /* over the dark landing / documentaries head */
.site-header.is-hidden {
  opacity: 0;
  transform: translateY(-.5rem);
  pointer-events: none;
}

.brand {
  font-family: "Staatliches", var(--sans);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding-block: .25em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- circular hamburger ---------- */
.nav-toggle {
  position: fixed;
  top: clamp(.9rem, 2vw, 1.4rem);
  right: var(--gutter);
  z-index: 60;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 14px rgb(0 0 0 / .18);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.6);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.nav-toggle.is-shown,
.menu-open .nav-toggle {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.nav-toggle__lines {
  display: block;
  width: 20px;
}
.nav-toggle__lines i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .35s var(--ease);
}
.nav-toggle__lines i + i { margin-top: 5px; }
.menu-open .nav-toggle__lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav-toggle__lines i:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================
   OVERLAY MENU
   ============================================================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  clip-path: circle(0% at calc(100% - var(--gutter) - 26px) 2.5rem);
  transition: clip-path .6s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 26px) 2.5rem); }

.menu__list { list-style: none; }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-family: "Staatliches", var(--sans);
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.18;
  color: #fff;
  text-shadow: var(--chromatic);
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity .5s var(--ease), transform .5s var(--ease), text-shadow .3s var(--ease);
}
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .2s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .28s; }
.menu__list a:hover {
  text-shadow:
    0 0 .2em rgb(255 255 255 / .4),
    0 0 .7em rgb(255 255 255 / .22),
    -.06em 0 .12em rgb(255 45 85 / .38),
    .06em 0 .12em rgb(0 205 255 / .38);
}
.menu__list small {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: .2em;
  color: color-mix(in srgb, var(--paper) 45%, transparent);
}
.menu__foot {
  position: absolute;
  bottom: var(--gutter);
  left: var(--gutter);
  font-size: .85rem;
  letter-spacing: .06em;
  color: color-mix(in srgb, var(--paper) 65%, transparent);
}
.menu__foot a:hover { color: var(--paper); }

/* ============================================================
   LANDING — full-screen reel, chromatic name
   ============================================================ */
.landing {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: #0a0a0a;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.landing__reel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landing__scrim {
  position: absolute;
  inset: 0;
  /* dark overlay removed — footage plays untouched */
}
.landing__stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.landing__name {
  font-family: "Staatliches", var(--sans);
  font-weight: 400;
  font-size: clamp(2.2rem, 9vw, 7rem);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  text-shadow: var(--chromatic);
  animation: landing-name 2.4s ease .3s both;
}
.landing__role {
  margin-top: 1.15rem;
  font-size: clamp(.9rem, 1.7vw, 1.15rem);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  animation: landing-in 1.6s ease 1.3s both;
}
.landing__based {
  margin-top: .45rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--white) 62%, transparent);
  animation: landing-in 1.6s ease 1.5s both;
}
.landing__cta {
  margin-top: clamp(1.8rem, 4vh, 2.6rem);
  padding: .8em 2.1em .75em;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--white) 55%, transparent);
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
  animation: landing-in 1.6s ease 1.9s both;
}
.landing__cta:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  transform: translateY(-2px);
}
@keyframes landing-name {
  from { opacity: 0; filter: blur(4px); }
}
@keyframes landing-in {
  from { opacity: 0; }
}

/* ============================================================
   WORK — cream section head above the film panels
   ============================================================ */
.work-intro {
  min-height: 48svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
  padding-top: calc(var(--gutter) + 4rem);
  background: #0a0a0a;
  color: var(--white);
}
.work-intro__title {
  font-family: "Staatliches", var(--sans);
  font-size: clamp(2.4rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: clamp(.7rem, 1.8vh, 1.2rem);
  color: var(--white);
  text-shadow: var(--chromatic);
}
.work-intro .rule { border-top-color: color-mix(in srgb, var(--white) 28%, transparent); }
.rule {
  border: 0;
  border-top: 1px solid var(--ink);
  margin-bottom: clamp(1.5rem, 4vh, 2.75rem);
}
.work-intro__foot {
  display: flex;
  justify-content: space-between;
  padding-bottom: clamp(1rem, 4vh, 2.5rem);
}
.scroll-cue {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(.5rem); }
}
@keyframes hero-drop { from { opacity: 0; transform: translateY(-14px); } }
.site-header { animation: hero-drop .7s var(--ease) .9s both; }

/* ============================================================
   FILM PANELS — pin & sweep
   Each film pins fullscreen inside a taller stage; the next
   stage overlaps it (negative margin) so the incoming panel
   sweeps up over the pinned one, then pushes it away once its
   edge reaches the caption block.
   ============================================================ */
:root {
  --film-dwell: 40svh;         /* scroll distance a film holds alone, fullscreen */
  --film-push-line: 38svh;     /* where the incoming edge stops: JS sets this to
                                  the caption's real height + a small gap */
  --film-sweep: calc(100svh - var(--film-push-line));
}
.film-stage { height: calc(100svh + var(--film-dwell) + var(--film-sweep)); }
.film-stage + .film-stage { margin-top: calc(-1 * var(--film-sweep)); }
/* last film: hold, then About pushes it off normally (no sweep from cream) */
.film-stage:last-of-type { height: calc(100svh + var(--film-dwell)); }

.film {
  position: sticky;
  top: 0;
  height: 100svh;
  background: #0a0a0a var(--poster) center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.film__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(200deg, rgb(0 0 0 / .58) 0%, rgb(0 0 0 / .22) 34%, transparent 55%),
    linear-gradient(0deg,  rgb(0 0 0 / .35) 0%, transparent 22%);
}
.film__caption {
  position: absolute;
  top: 0; left: 0;
  padding: var(--gutter);
  padding-top: calc(var(--gutter) + 1.5rem);
}
.film__title {
  font-size: clamp(2.6rem, 6.5vw, 5.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.02em;
}
/* per-film title faces — echo each film's own title card */
#film-oml {
  font-family: "Barlow", var(--sans);
  font-weight: 700;
  text-transform: uppercase;
}
#film-harvest,
#film-harvest + .film__meta {
  font-family: "PT Serif", Georgia, serif;
  font-weight: 400;
}
#film-harvest { letter-spacing: .03em; }  /* match the film's title card tracking */
#film-maestro,
#film-maestro + .film__meta {
  /* Apple system font — renders on macOS/iOS; other platforms fall back to a generic script */
  font-family: "Apple Chancery", "Snell Roundhand", cursive;
  font-weight: 400;
  letter-spacing: normal;
}
.film__meta {
  margin-top: .65em;
  font-family: "Barlow", var(--sans);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 600;
  color: color-mix(in srgb, var(--white) 82%, transparent);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.4rem;
}
.tags li {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .42em 1em .38em;
  border: 1px solid color-mix(in srgb, var(--white) 70%, transparent);
  border-radius: 999px;
}
.film__logline {
  position: absolute;
  bottom: var(--gutter);
  left: var(--gutter);
  max-width: 52ch;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.6;
  color: color-mix(in srgb, var(--white) 88%, transparent);
  text-wrap: pretty;
}
.film:has(#film-oml) .film__logline {   /* Barlow is One More Lap's face */
  font-family: "Barlow", var(--sans);
  font-weight: 600;
}
.film:has(#film-harvest) .film__logline {   /* PT Serif is Harvest's face */
  font-family: "PT Serif", Georgia, serif;
  font-weight: 400;
}

/* caption reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-inview { opacity: 1; transform: none; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: clamp(6rem, 16vh, 11rem) var(--gutter);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  background: var(--ink);
  color: var(--white);
}
.about .kicker { color: color-mix(in srgb, var(--white) 55%, transparent); }
@media (min-width: 860px) {
  .about {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas:
      "kicker photo"
      "body   photo";
    align-items: start;
    column-gap: clamp(3rem, 7vw, 6rem);
  }
  .about > .kicker { grid-area: kicker; }
  .about__body     { grid-area: body; }
  .about__photo    { grid-area: photo; justify-self: end; max-width: 24rem; }
}
.about__photo { margin: 0; }
.about__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 2px;
}
@media (max-width: 859px) {
  .about__photo { max-width: 26rem; order: 2; }
  .about__body { order: 1; }
}
.about__lede {
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  max-width: 22ch;
  text-wrap: balance;
}
.about__body em {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: 0;
}
.about__body p + p {
  margin-top: 1.25rem;
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: color-mix(in srgb, var(--white) 72%, transparent);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--paper);
  min-height: 72svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3vh, 2.5rem);
  padding: clamp(5rem, 14vh, 9rem) var(--gutter) clamp(2rem, 5vh, 3rem);
}
.contact__email {
  font-family: "Staatliches", var(--sans);
  font-size: clamp(1.9rem, 6.5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.05;
  color: #fff;
  text-shadow: var(--chromatic);
  overflow-wrap: anywhere;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size .5s var(--ease), text-shadow .3s var(--ease);
}
.contact__email:hover {
  background-size: 100% 2px;
  text-shadow:
    0 0 .2em rgb(255 255 255 / .4),
    0 0 .7em rgb(255 255 255 / .22),
    -.06em 0 .12em rgb(255 45 85 / .38),
    .06em 0 .12em rgb(0 205 255 / .38);
}
.contact__socials {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.contact__socials a {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .55em 1.3em .5em;
  border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent);
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.contact__socials a:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.site-footer {
  margin-top: auto;
  padding-top: clamp(2.5rem, 6vh, 4rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 50%, transparent);
}

/* ============================================================
   FILM PANEL → PAGE LINK (homepage)
   ============================================================ */
.film__cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .6em 1.4em .55em;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  transition: transform .3s var(--ease);
}
.film__cta:hover { transform: translateY(-2px); }
.film__cta::after {
  /* stretched link: oversized hit area, clipped to the panel by
     .film's overflow:hidden — so the whole panel is the target */
  content: "";
  position: absolute;
  inset: -200svh -200vw;
}
.film__cta:focus-visible { outline-offset: 0; }
.film:has(.film__cta) { cursor: pointer; }

/* ============================================================
   FILM DETAIL PAGES
   ============================================================ */
.film-page { background: var(--paper); }

.page-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.1rem, 2.5vw, 1.8rem) var(--gutter);
  color: var(--paper);
}
.page-header__back {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .8;
}
.page-header__back:hover { opacity: 1; }

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--gutter) + 5rem) var(--gutter) clamp(3rem, 8vh, 5rem);
  text-align: center;
}
.page-hero .film__meta { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.page-hero .player { margin-inline: auto; }

.player {
  position: relative;
  width: min(100%, 1100px);
  aspect-ratio: 16 / 9;
  background: #000;
}
.player iframe,
.player .player__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player__facade {
  display: block;
  padding: 0;
  background: #000;
  cursor: pointer;
}
.player__facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: opacity .4s var(--ease);
}
.player__facade:hover img { opacity: 1; }
.player__btn {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: clamp(64px, 9vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  transition: transform .3s var(--ease);
}
.player__btn::after {          /* play triangle */
  content: "";
  position: absolute;
  top: 50%; left: 53%;
  translate: -50% -50%;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--ink);
}
.player__facade:hover .player__btn { transform: scale(1.08); }
.player__hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 4vh, 2rem);
  translate: -50%;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper);
}

.film-doc {
  padding: clamp(3.5rem, 9vh, 6rem) var(--gutter) 0;
  max-width: 1100px;
}
.film-doc:last-of-type { padding-bottom: clamp(3.5rem, 9vh, 6rem); }
.film-doc .kicker { margin-bottom: 1.6rem; }

.page-logline {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.45;
  font-weight: 500;
  max-width: 46ch;
  text-wrap: pretty;
}
.film-page--oml     .page-logline { font-family: "Barlow", var(--sans); font-weight: 600; }
.film-page--harvest .page-logline { font-family: "PT Serif", Georgia, serif; font-weight: 400; }

/* ---- Dark film page — centered document layout (One More Lap, Harvest…) ---- */
.film-page--dark .film-doc { margin-inline: auto; text-align: center; }
.film-page--dark .page-logline { margin-inline: auto; max-width: 62ch; }
.film-page--dark .credits { max-width: 40ch; margin-inline: auto; }
.film-page--dark .credits div {
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  text-align: center;
}
.film-page--dark .credits dt { padding-top: 0; }
.film-page--dark .credits__names { margin-inline: auto; text-align: center; }
.film-page--dark .credits__music { margin-inline: auto; text-align: center; }

/* ---- Director's statement ---- */
.director-statement {
  max-width: 78ch;
  margin-inline: auto;
  text-align: left;
  display: grid;
  gap: 1.1rem;
  font-weight: 500;   /* default sans; each film re-faces to match its own "About" copy */
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  line-height: 1.72;
  color: var(--ink);
}
.film-page--oml .director-statement {   /* Barlow matches One More Lap's About copy */
  font-family: "Barlow", var(--sans);
  font-weight: 600;
}
.film-page--harvest .director-statement {   /* PT Serif matches Harvest's face */
  font-family: "PT Serif", Georgia, serif;
  font-weight: 400;
}
.director-statement p { text-wrap: pretty; }

/* ---- Dark film page — ink instead of cream ---- */
.film-page--dark { background: var(--ink); color: var(--white); }
.film-page--dark .kicker,
.film-page--dark .credits dt,
.film-page--dark .credits__sub,
.film-page--dark .film-doc__empty { color: color-mix(in srgb, var(--white) 55%, transparent); }
.film-page--dark .credits div { border-bottom-color: color-mix(in srgb, var(--white) 16%, transparent); }
.film-page--dark .credits__music { color: color-mix(in srgb, var(--white) 82%, transparent); }
.film-page--dark .director-statement { color: color-mix(in srgb, var(--white) 84%, transparent); }
.film-page--dark .player { width: min(100%, 1650px); }   /* 1.5× the default 1100px */

.credits { display: grid; gap: .9rem; max-width: 46ch; }
.credits div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  padding-bottom: .9rem;
}
.credits dt {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: .25em;
}
.credits dd { font-weight: 600; }

.credits__sub {
  margin-top: 2.75rem;
  margin-bottom: 1.1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.credits__names {
  columns: 3 11rem;
  column-gap: 2.5rem;
  max-width: 44rem;
}
.credits__names li { padding-block: .2rem; break-inside: avoid; }

.film-doc__empty {
  color: var(--ink-soft);
  font-style: italic;
}

/* ---- partnership ---- */
.partner__logo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.partner__logo img {
  height: clamp(120px, 14vw, 150px);
  width: auto;
}
.partner__name {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.01em;
}

.bts-grid { columns: 3 300px; gap: 1rem; }
.bts-grid img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 2px;
  break-inside: avoid;
}

.credits__music {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--ink);
  max-width: 46ch;
}

/* film stills — uniform two-up grid, full frame (no crop) */
.stills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stills-grid img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}
@media (max-width: 640px) {
  .stills-grid { grid-template-columns: 1fr; }
}

/* ---- lightbox ---- */
.zoomable { cursor: zoom-in; transition: opacity .3s var(--ease); }
.zoomable:hover { opacity: .9; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3.75rem, 9vw, 6.5rem);
  background: rgb(8 7 6 / .95);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }

.lightbox__stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: min(1400px, 100%);
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgb(0 0 0 / .5);
}
.lightbox__caption {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  font-size: .82rem;
  line-height: 1.5;
  max-width: 66ch;
  text-align: center;
  text-wrap: pretty;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgb(255 255 255 / .1);
  color: var(--paper);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgb(255 255 255 / .22); }
.lightbox__nav:active { transform: translateY(-50%) scale(.92); }

.lightbox__close {
  top: clamp(1rem, 2.5vw, 1.75rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: clamp(46px, 5vw, 60px);
  aspect-ratio: 1;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  padding-bottom: .12em;
}
.lightbox__nav--prev { left: clamp(.75rem, 2.5vw, 2rem); }
.lightbox__nav--next { right: clamp(.75rem, 2.5vw, 2rem); }

.lightbox__count {
  position: absolute;
  bottom: clamp(1rem, 3vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  color: color-mix(in srgb, var(--paper) 55%, transparent);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
}

@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
}

.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(3rem, 8vh, 5rem) var(--gutter);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.page-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.page-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--gutter);
  background: var(--ink);
  color: color-mix(in srgb, var(--paper) 65%, transparent);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.page-foot a:hover { color: var(--paper); }

/* ============================================================
   RESPONSIVE / MOTION
   ============================================================ */
@media (max-width: 720px) {
  .nav-links { display: none; }         /* hamburger handles nav on mobile */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
