.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 500;
  padding: 12px 20px;
  background: var(--surface-dark, #0a0a0b);
  color: var(--text-on-dark, #f7f7f5);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
}
 
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--cobalt, #2e6bff);
  outline-offset: 3px;
}
 
/* ==========================================================================
   HERO — KINETIC WALL
   ========================================================================== */
 
.films-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--surface-dark, #0a0a0b);
  font-family: "Inter", system-ui, sans-serif;
}
 
/* --- The wall ---------------------------------------------------------------
   Columns bleed 90px past the top/bottom edges so the ambient drift (±44px)
   plus the scroll-velocity offset never exposes the background.             */
.films-hero__wall {
  position: absolute;
  inset: -90px -12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  opacity: 0.85;
}
 
.films-hero__col-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}
 
/* Static vertical offsets give the brick rhythm even before any JS runs */
.films-hero__col:nth-child(2) .films-hero__col-inner { margin-top: -56px; }
.films-hero__col:nth-child(3) .films-hero__col-inner { margin-top: -24px; }
.films-hero__col:nth-child(4) .films-hero__col-inner { margin-top: -72px; }
.films-hero__col:nth-child(5) .films-hero__col-inner { margin-top: -40px; }
 
.films-hero__tile {
  margin: 0;
  overflow: hidden;
  border-radius: 0;                        /* radius-0 — media is never rounded */
  background: #17181c;                     /* holds space while images load */
}
 
.films-hero__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
 
.films-hero__tile--tall img {
  aspect-ratio: 1 / 1;
}
 
/* --- Scrim -------------------------------------------------------------------
   Corner-weighted on desktop (text block sits lower-left); flips to a
   bottom-weighted wash on mobile where the text spans full width.          */
.films-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    rgba(10, 10, 11, 0.85) 0%,
    rgba(10, 10, 11, 0.38) 48%,
    rgba(10, 10, 11, 0.06) 100%
  );
  pointer-events: none;
}
 
/* --- Headline block ---------------------------------------------------------- */
.films-hero__content {
  position: absolute;
  left: clamp(1.25rem, 4vw, 5rem);         /* edge token */
  right: clamp(1.25rem, 4vw, 5rem);
  bottom: clamp(2.5rem, 6vh, 4.5rem);
  max-width: 50rem;
}
 
.films-hero__eyebrow {
  margin: 0 0 clamp(0.75rem, 2vh, 1.25rem);
  color: var(--cobalt, #2e6bff);           /* the viewport's single accent */
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
 
.films-hero__title {
  margin: 0;
  color: var(--text-on-dark, #f7f7f5);
  font-size: clamp(1.75rem, 8vw, 5rem);
white-space: nowrap;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
 
.films-hero__stats {
  margin: clamp(1rem, 2.5vh, 1.5rem) 0 0;
  color: var(--text-on-dark-2, rgba(247, 247, 245, 0.64));
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
 
/* --- Hero responsive ----------------------------------------------------------
   ≤767px: two columns only (payload + legibility), static wall (films.js
   also bails), bottom-weighted scrim, 84svh so the next section peeks in.  */
@media (max-width: 767px) {
  .films-hero {
    min-height: 84svh;
  }
 
  .films-hero__wall {
    grid-template-columns: repeat(2, 1fr);
    inset: -32px -8px;
    gap: 8px;
  }
 
  .films-hero__col:nth-child(n + 3) {
    display: none;
  }
 
  .films-hero__col:nth-child(2) .films-hero__col-inner {
    margin-top: -64px;
  }
 
  .films-hero__scrim {
    background: linear-gradient(
      to top,
      rgba(10, 10, 11, 0.92) 0%,
      rgba(10, 10, 11, 0.46) 45%,
      rgba(10, 10, 11, 0.1) 100%
    );
  }
}
 
/* ==========================================================================
   SHARED LIGHT-SECTION SCAFFOLD
   ========================================================================== */
 
.releases,
.archive {
  background: var(--surface-light, #f7f7f5);
  font-family: "Inter", system-ui, sans-serif;
  padding: clamp(5rem, 3.33rem + 7.4vw, 10rem) 0;   /* space-section */
}
 
.releases__inner,
.archive__inner {
  max-width: var(--container-max, 1440px);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 5rem);              /* edge token */
}
 
.releases__head,
.archive__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
 
.releases__eyebrow,
.archive__eyebrow {
  margin: 0;
  color: var(--text-on-light-3, rgba(10, 10, 11, 0.44));
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
 
/* The page's single editorial beat — sits between eyebrow and stage grid */
.releases__head--with-lead {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
 
.releases__lead {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  color: var(--text-on-light, #0a0a0b);
  font-size: clamp(2rem, 1.5rem + 2.22vw, 3.5rem);   /* h2 clamp */
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
 
.archive__range {
  color: var(--text-on-light-3, rgba(10, 10, 11, 0.44));
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}
 
/* ==========================================================================
   LATEST RELEASES — SPLIT STAGE
   ========================================================================== */
 
.releases__stagegrid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
 
/* --- Rows ------------------------------------------------------------------ */
.releases__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-on-light, rgba(10, 10, 11, 0.12));
}
 
.release-row {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--border-on-light, rgba(10, 10, 11, 0.12));
  transition: opacity 300ms ease;
}
 
.release-row__media {
  display: none;                            /* desktop: stage carries imagery */
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: 0;
}
 
.release-row__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
 
.release-row__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
 
.release-row__title {
  margin: 0;
  color: var(--text-on-light, #0a0a0b);
  font-size: clamp(1.5rem, 1.25rem + 1.11vw, 2.25rem);   /* h3 clamp */
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
 
.release-row__year {
  color: var(--text-on-light-3, rgba(10, 10, 11, 0.44));
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
 
.release-row__meta {
  margin: 0.625rem 0 0;
  color: var(--text-on-light-2, rgba(10, 10, 11, 0.64));
  font-size: 0.875rem;
}
 
/* Active/dim states are class-driven from films.js so keyboard focus and
   hover share one code path */
.releases__list.has-active .release-row {
  opacity: 0.45;
}
 
.releases__list.has-active .release-row.is-active {
  opacity: 1;
}
 
@media (hover: hover) and (pointer: fine) {
  /* No cursor:pointer — rows aren't links until the trailer affordance
     ships. The hover choreography alone carries the interactivity. */
  .release-row.is-active .release-row__title {
    transform: translateX(8px);
  }
}
 
/* --- Stage ------------------------------------------------------------------- */
.releases__stage {
  position: sticky;
  top: clamp(5rem, 12vh, 8rem);
}
 
.releases__frame {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  background: #17181c;
}
 
.releases__frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 400ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
 
.releases__frame-img.is-active {
  opacity: 1;
  transform: scale(1);
}
 
.releases__frame-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.75rem;
}
 
.releases__frame-cap {
  color: var(--text-on-light-3, rgba(10, 10, 11, 0.44));
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
 
.releases__frame-idx {
  color: var(--cobalt, #2e6bff);            /* the section's single accent */
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}
 
/* --- Releases responsive --------------------------------------------------------
   ≤1023px (and all touch): stage hidden, per-row stills shown, cobalt index
   moves onto each row's caption via the year element order.                */
@media (max-width: 1023px) {
  .releases__stagegrid {
    grid-template-columns: 1fr;
  }
 
  .releases__stage {
    display: none;
  }
 
  .releases__list {
    border-top: 0;
  }
 
  .release-row {
    border-bottom: 0;
    padding: 0 0 clamp(2.25rem, 6vw, 3rem);
  }
 
  .release-row__media {
    display: block;
  }
 
  .releases__list.has-active .release-row {
    opacity: 1;                             /* no dimming without hover */
  }
}
 
/* ==========================================================================
   ARCHIVE — POSTER GRID
   ========================================================================== */
 
.archive__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 3.5vw, 3.5rem) clamp(1rem, 1.7vw, 1.5rem);
}
 
/* Alternating column offset (columns 2 and 4) */
.film-card:nth-child(4n + 2),
.film-card:nth-child(4n) {
  margin-top: clamp(2rem, 3.5vw, 3.25rem);
}
 
.film-card__frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #17181c;
}
 
/* Hairline overlay guards light-edged one-sheets against #f7f7f5 */
.film-card__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-on-light, rgba(10, 10, 11, 0.12));
  pointer-events: none;
}
 
.film-card__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
 
.film-card__cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
 
.film-card__title {
  color: var(--text-on-light, #0a0a0b);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
 
.film-card__year {
  color: var(--text-on-light-3, rgba(10, 10, 11, 0.44));
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  transition: color 200ms ease;
}
 
@media (hover: hover) and (pointer: fine) {
  .film-card:hover .film-card__frame img {
    transform: scale(1.05);
  }
 
  .film-card:hover .film-card__year {
    color: var(--cobalt, #2e6bff);
  }
}
 
/* --- Archive responsive -------------------------------------------------------- */
@media (max-width: 1023px) {
  .archive__grid {
    grid-template-columns: repeat(3, 1fr);
  }
 
  /* re-map the offset to a 3-col rhythm: middle column drops */
  .film-card:nth-child(4n + 2),
  .film-card:nth-child(4n) {
    margin-top: 0;
  }
 
  .film-card:nth-child(3n + 2) {
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
  }
}
 
@media (max-width: 639px) {
  .archive__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 0.875rem;
  }
 
  .film-card:nth-child(3n + 2) {
    margin-top: 0;
  }
 
  .film-card:nth-child(2n) {
    margin-top: 1.875rem;
  }
}
 
/* ==========================================================================
   REDUCED MOTION
   films.js bails out of the drift and the stage crossfade collapses to a
   plain opacity swap; data-reveal handling is animations.js's job.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .releases__frame-img {
    transform: none;
    transition: opacity 200ms ease;
  }
 
  .release-row__title,
  .film-card__frame img {
    transition: none;
  }
 
  .release-row {
    transition: none;
  }
}

/* ==========================================================================
   IN PRODUCTION — THE CALL SHEET
   Dark continuation of the hero bookend. Outline titles fill on hover;
   stroke brightness encodes production stage; the pulsing cobalt dot is
   the section's only accent and only motion.
   ========================================================================== */
 
.slate {
  background: var(--surface-dark, #0a0a0b);
  font-family: "Inter", system-ui, sans-serif;
  padding: clamp(5rem, 3.33rem + 7.4vw, 10rem) 0;
}
 
.slate__inner {
  max-width: var(--container-max, 1440px);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 5rem);
}
 
.slate__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
 
.slate__label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
 
/* The recording light — sole accent, sole motion in the section */
.slate__live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cobalt, #2e6bff);
  animation: slate-pulse 2.4s ease-in-out infinite;
}
 
@keyframes slate-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.7); }
}
 
.slate__eyebrow {
  margin: 0;
  color: var(--text-on-dark-2, rgba(247, 247, 245, 0.64));
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
 
.slate__count {
  color: var(--text-on-dark-3, rgba(247, 247, 245, 0.4));
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
 
.slate__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
 
.slate-project {
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
 
.slate-project:last-child {
  margin-bottom: 0;
}
 
/* --- The unfilled title -------------------------------------------------------
   Outline letterforms: the film isn't finished, so the type isn't filled in.
   Development projects sit fainter than actively-shooting ones.            */
.slate-project__title {
  margin: 0;
  font-size: clamp(2.25rem, 1.5rem + 3.33vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #f7f7f5;
  /* color: transparent; */
  /* -webkit-text-stroke: 1px var(--text-on-dark-dim, rgba(247, 247, 245, 0.45));
  transition:
    color 500ms ease,
    -webkit-text-stroke-color 500ms ease; */
}
 
.slate-project--active .slate-project__title {
  -webkit-text-stroke-color: var(--text-on-dark-strong, rgba(247, 247, 245, 0.75));
}
 
/* Browsers without text-stroke get dim solid type instead of invisible type */
@supports not (-webkit-text-stroke: 1px #fff) {
  .slate-project__title {
    color: rgba(247, 247, 245, 0.45);
  }
 
  .slate-project--active .slate-project__title {
    color: rgba(247, 247, 245, 0.75);
  }
}
 
@media (hover: hover) and (pointer: fine) {
  .slate-project:hover .slate-project__title {
    color: var(--text-on-dark, #f7f7f5);
    -webkit-text-stroke-color: transparent;
  }
}
 
/* --- Call-sheet data strip ---------------------------------------------------- */
.slate-project__data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-on-dark, rgba(247, 247, 245, 0.14));
}
 
.slate-project__cell dt {
  color: var(--text-on-dark-3, rgba(247, 247, 245, 0.4));
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}
 
.slate-project__cell dd {
  margin: 0;
  color: var(--text-on-dark-2, rgba(247, 247, 245, 0.72));
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
 
.slate-project--active .slate-project__cell dd {
  color: var(--text-on-dark, #f7f7f5);
}
 
/* --- Call-sheet responsive -----------------------------------------------------
   ≤767px: columns fold into document-style label/value rows                */
@media (max-width: 767px) {
  .slate-project__data {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }
 
  .slate-project__cell {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-on-dark-dim, rgba(247, 247, 245, 0.08));
  }
 
  .slate-project__cell:last-child {
    border-bottom: 0;
  }
 
  .slate-project__cell dt {
    margin-bottom: 0;
  }
}
 
@media (prefers-reduced-motion: reduce) {
  .slate__live {
    animation: none;
  }
 
  .slate-project__title {
    transition: none;
  }
}
 
 
 
.releases,
.archive {
  background: var(--surface-light, #f7f7f5);
  font-family: "Inter", system-ui, sans-serif;
  padding: clamp(5rem, 3.33rem + 7.4vw, 10rem) 0;   /* space-section */
}
 
.releases__inner,
.archive__inner {
  max-width: var(--container-max, 1440px);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 5rem);              /* edge token */
}
 
.releases__head,
.archive__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
 
.releases__eyebrow,
.archive__eyebrow {
  margin: 0;
  color: var(--text-on-light-3, rgba(10, 10, 11, 0.44));
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
 
/* The page's single editorial beat — sits between eyebrow and stage grid */
.releases__head--with-lead {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
 
.releases__lead {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  color: var(--text-on-light, #0a0a0b);
  font-size: clamp(1.5rem, 1.25rem + 1.11vw, 2.25rem);   /* h3 clamp */
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
 
.archive__range {
  color: var(--text-on-light-3, rgba(10, 10, 11, 0.44));
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}