/* ============================================================
   MSC — The Mise En Scène Company
   v4 Shared Styles
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --black:      #0e0e0c;
  --off:        #151512;
  --rule:       #1e1e1b;
  --rule2:      #2a2a26;
  --dim:        #323230;
  --verm:       #c94a18;
  --chalk:      #f4f3ef;
  --cream:      #eeebe3;
  --paper-rule: #ccc9be;
  --warm:       #b8b3a5;
  --muted:      #8a8680;
  --ink-mid:    #8a8578;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Instrument Sans', system-ui, sans-serif;
  --nav-h:      54px;
  --pad:        clamp(20px, 4.5vw, 72px);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── GRAIN OVERLAY ──────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
body.page-cream::after { opacity: .025; }


/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--black);
  border-bottom: 1px solid var(--rule);
}
.nav-logo {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 20px; letter-spacing: -.01em; color: var(--chalk);
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logo-img { height: 36px; width: auto; display: block; filter: invert(1); }
.nav--cream .nav-logo-img { filter: invert(0); }
.nav-wordmark {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 16px; letter-spacing: -.005em; color: var(--chalk);
  line-height: 1;
  white-space: nowrap;
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}
.nav--cream .nav-wordmark { color: var(--black); border-left-color: var(--paper-rule); }
.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px 0; width: 22px;
  background: none; border: none;
}
.nav-burger span {
  display: block; height: 1px; background: var(--chalk);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.77,0,.18,1), width .28s;
}
.nav-burger span:last-child { width: 14px; margin-left: auto; }
.nav-burger.open span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-burger.open span:last-child  { transform: translateY(-3px) rotate(-45deg); width: 22px; }

/* Nav back link (film detail pages) */
.nav-back {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
  transition: color .16s, gap .2s;
}
.nav-back::before { content: ''; width: 20px; height: 1px; background: currentColor; transition: width .2s; }
.nav-back:hover { color: var(--chalk); gap: 12px; }
.nav-back:hover::before { width: 28px; }

/* Nav cream variant */
.nav--cream { background: var(--cream); border-bottom: 1px solid var(--paper-rule); }
.nav--cream .nav-logo { color: var(--black); }
.nav--cream .nav-burger span { background: var(--black); }

/* ── NAV OVERLAY ────────────────────────────────────────── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 1050;
  background: var(--black);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad) var(--pad) calc(var(--pad) + 16px);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity .38s cubic-bezier(.22,.61,.36,1), visibility 0s linear .38s;
}
.nav-overlay.open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition: opacity .38s cubic-bezier(.22,.61,.36,1), visibility 0s linear 0s;
}
.overlay-links { display: flex; flex-direction: column; margin-bottom: 40px; }
.overlay-link {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(28px, 8vw, 48px);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--dim);
  transition: color .18s;
}
.overlay-link:hover { color: var(--chalk); }
.overlay-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid var(--rule); padding-top: 20px;
}
.overlay-email { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); }
.overlay-loc { font-family: var(--sans); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--rule);
  padding: 32px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-family: var(--sans); font-size: 10px; letter-spacing: .07em; color: var(--muted); }
.footer-contact {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color .16s;
}
.footer-contact:hover { color: var(--chalk); }
.site-footer.footer--cream { background: var(--cream); border-top: 1px solid var(--paper-rule); }
.site-footer.footer--cream .footer-copy { color: #4a463c; }
.site-footer.footer--cream .footer-contact { color: var(--ink-mid); }
.site-footer.footer--cream .footer-contact:hover { color: var(--black); }

/* ── REVEAL ANIMATION ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .85s cubic-bezier(.22,.61,.36,1);
}
.reveal.vis { opacity: 1; transform: none; }
.rd1 { transition-delay: .08s; }
.rd2 { transition-delay: .16s; }
.rd3 { transition-delay: .24s; }
.rd4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── FOCUS ──────────────────────────────────────────────── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--verm);
  outline-offset: 3px;
}

/* ── IMAGE PLACEHOLDER CLEANUP ──────────────────────────── */
body .card-ghost,
body .poster-ghost,
body .still-ph { display: none !important; }

/* ── NO AI USED BADGE ────────────────────────────────────
   Small label that sits on the lower-left of poster artwork
   for current slate films across homepage hero, Cannes grid,
   and any other place that uses .card-no-ai. */
.card-no-ai {
  position: absolute; bottom: 18px; left: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 8px;
  background: rgba(14,14,12,.82);
  border: 1px solid var(--rule2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--warm);
  pointer-events: none;
}
.card-no-ai-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--verm); flex-shrink: 0;
}
body .card-poster-ph::before,
body .card-poster-ph::after,
body .poster-wrap::before,
body .poster-wrap::after { display: none !important; }
body .card-poster-ph { padding: 0 !important; }

/* ── SILENT HOUSE BLOCKS ────────────────────────────────── */
/*
  Layout: left column = large section name label
          right column = headline + body copy (slides in on scroll)

  Silent House pattern exactly:
  - Left label is always fully visible
  - Right panel translates in from right + fades in on scroll trigger
  - Once open, stays open (no re-collapse)
*/
.sh-block {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.sh-block + .sh-block { border-top: none; }
.sh-block.sh-on-cream { border-bottom: 1px solid var(--paper-rule); }

.sh-left {
  padding: clamp(40px, 6vw, 96px) var(--pad);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.sh-block.sh-on-cream .sh-left { border-right: 1px solid var(--paper-rule); }

.sh-section-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 56px);
  line-height: .94;
  letter-spacing: -.025em;
  color: var(--chalk);
}
.sh-block.sh-on-cream .sh-section-name { color: var(--black); }

.sh-right {
  padding: clamp(40px, 6vw, 96px) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity .7s cubic-bezier(.22,.61,.36,1),
    transform .7s cubic-bezier(.22,.61,.36,1);
}
.sh-block.sh-open .sh-right {
  opacity: 1;
  transform: translateX(0);
}

.sh-right-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--chalk);
}
.sh-block.sh-on-cream .sh-right-headline { color: var(--black); }

.sh-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.sh-block.sh-on-cream .sh-eyebrow { color: var(--ink-mid); }

.sh-body {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--warm);
  line-height: 1.85;
  letter-spacing: .02em;
  max-width: 58ch;
}
.sh-block.sh-on-cream .sh-body { color: #4a463c; }

.sh-body--lg {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.45;
  color: var(--chalk);
  letter-spacing: -.005em;
  max-width: 36ch;
}
.sh-block.sh-on-cream .sh-body--lg { color: var(--black); }

.sh-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
}
.sh-block.sh-on-cream .sh-meta-grid { border-top: 1px solid var(--paper-rule); }

.sh-meta-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.sh-block.sh-on-cream .sh-meta-item { border-bottom: 1px solid var(--paper-rule); }
.sh-meta-item:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--rule); }
.sh-block.sh-on-cream .sh-meta-item:nth-child(odd) { border-right: 1px solid var(--paper-rule); }
.sh-meta-item:nth-child(even) { padding-left: 20px; }

.sh-meta-lbl {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.sh-block.sh-on-cream .sh-meta-lbl { color: var(--ink-mid); }

.sh-meta-val {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--warm); line-height: 1.5;
}
.sh-block.sh-on-cream .sh-meta-val { color: var(--black); }

.sh-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--chalk);
  transition: gap .22s;
}
.sh-block.sh-on-cream .sh-cta { color: var(--black); }
.sh-cta::after {
  content: '→';
  color: var(--verm);
  font-size: 14px; line-height: 1;
  transition: transform .22s;
}
.sh-cta:hover::after { transform: translateX(4px); }

@media (max-width: 800px) {
  .sh-block { grid-template-columns: 1fr; overflow: visible; }
  .sh-left { border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 28px; }
  .sh-block.sh-on-cream .sh-left { border-right: none; border-bottom: 1px solid var(--paper-rule); }
  .sh-right { opacity: 1; transform: none; transition: none; }
  .sh-meta-grid { grid-template-columns: 1fr; }
  .sh-meta-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .sh-meta-item:nth-child(even) { padding-left: 0; }
}

/* ── HOMEPAGE FILM CAROUSEL ─────────────────────────────── */
.fc-section { background: var(--black); border-bottom: 1px solid var(--rule); }
.fc-hdr {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 20px var(--pad);
  border-bottom: 1px solid var(--rule);
}
.fc-lbl {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.fc-nav { display: flex; gap: 10px; align-items: center; }
.fc-nav-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule2);
  background: rgba(244,243,239,.04);
  cursor: pointer;
  font-size: 18px; color: var(--chalk);
  transition: border-color .15s, color .15s, background .15s, transform .2s;
}
.fc-nav-btn:hover {
  border-color: var(--verm);
  color: var(--verm);
  background: rgba(201,74,24,.08);
  transform: translateY(-1px);
}
.fc-nav-btn:active { transform: translateY(0); }
.fc-nav-btn:disabled { opacity: .25; cursor: default; pointer-events: none; }
.fc-track-wrap { overflow: hidden; }
.fc-track {
  display: flex;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.fc-card {
  flex: 0 0 calc(100% / 4);
  position: relative;
  border-right: 1px solid var(--rule);
  background: var(--off);
  aspect-ratio: 2/3;
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.fc-card:last-child { border-right: none; }
.fc-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.fc-card:hover .fc-card-img { transform: scale(1.04); }
.fc-card-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(14,14,12,.95), rgba(14,14,12,.55) 55%, rgba(14,14,12,0));
  color: var(--chalk);
}
.fc-card:hover .fc-card-meta { transform: none; opacity: 1; }
.fc-card-title {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 23px; line-height: 1.05; letter-spacing: -.012em;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(14,14,12,.7), 0 1px 2px rgba(14,14,12,.55);
}
.fc-card-dir {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--warm);
  text-shadow: 0 1px 6px rgba(14,14,12,.75);
}
/* No AI Used chip: matches the .no-ai badge on film detail pages exactly.
   On fc-card the bottom area is occupied by the .fc-card-meta text overlay,
   so the chip sits just above that overlay (bottom: 90px) — visually mirroring
   the bottom-left placement on the film detail page poster. */
.fc-card .card-no-ai {
  position: absolute; top: auto; bottom: 90px; left: 20px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 8px;
  background: rgba(14,14,12,.82);
  border: 1px solid var(--rule2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--warm);
  pointer-events: none;
}
.fc-card .card-no-ai-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--verm); flex-shrink: 0;
}
@media (max-width: 1100px) { .fc-card { flex-basis: calc(100% / 3); } }
@media (max-width: 800px)  { .fc-card { flex-basis: calc(100% / 2); } }
@media (max-width: 520px)  { .fc-card { flex-basis: 100%; } }

/* ── CANNES POSTER GRID ─────────────────────────────────── */
.cn-stage {
  position: relative;
  border-bottom: 1px solid var(--rule);
  background: var(--black);
  overflow: hidden;
}

.cn-grid {
  display: flex;
  height: clamp(520px, 72svh, 800px);
}

.cn-poster {
  position: relative;
  flex: 1 1 25%;
  border-right: 1px solid var(--rule);
  background: var(--off);
  cursor: pointer;
  overflow: hidden;
  transition: flex-basis .55s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
  min-width: 0;
}
.cn-poster:last-child { border-right: none; }

.cn-poster-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.cn-poster:hover .cn-poster-img { transform: scale(1.03); }

.cn-poster-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px clamp(12px, 1.8vw, 24px);
  background: linear-gradient(to top, rgba(14,14,12,.95) 15%, rgba(14,14,12,0));
  z-index: 2;
  transition: opacity .3s ease;
}
.cn-poster-num {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--verm); margin-bottom: 8px;
}
.cn-poster-title {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(16px, 2vw, 30px);
  line-height: .96; letter-spacing: -.02em;
  color: var(--chalk); margin-bottom: 5px;
}
.cn-poster-dir {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--warm);
}

.cn-stage:not(.has-active):hover .cn-poster { opacity: .35; }
.cn-stage:not(.has-active):hover .cn-poster:hover { opacity: 1; }

.cn-stage.has-active .cn-poster {
  flex: 0 0 64px;
  opacity: .45;
  cursor: pointer;
}
.cn-stage.has-active .cn-poster:hover { opacity: .75; }
.cn-stage.has-active .cn-poster.is-active {
  flex: 0 0 clamp(280px, 30vw, 400px);
  opacity: 1;
  cursor: default;
}
.cn-stage.has-active .cn-poster:not(.is-active) .cn-poster-meta { opacity: 0; }
.cn-stage.has-active .cn-poster.is-active .cn-poster-meta { opacity: 0; }
.cn-poster .card-no-ai { transition: opacity .3s ease; }
.cn-stage.has-active .cn-poster:not(.is-active) .card-no-ai { opacity: 0; }

.cn-detail {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}
.cn-stage.has-active .cn-detail {
  pointer-events: auto;
}

.cn-detail-inner {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--black);
  border-left: 2px solid var(--verm);
  overflow-y: auto;
  scrollbar-width: none;
  transform: translateX(-100%);
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.cn-detail-inner::-webkit-scrollbar { display: none; }
.cn-stage.has-active .cn-detail-inner {
  transform: translateX(0);
}

.cn-stage.has-active .cn-poster.is-active { z-index: 6; }

.cn-detail-main {
  padding: clamp(28px, 3vw, 48px) clamp(24px, 2.8vw, 44px);
  border-bottom: 1px solid var(--rule);
  position: relative;
  flex-shrink: 0;
}

.cn-detail-actions {
  padding: clamp(24px, 2.6vw, 40px) clamp(24px, 2.8vw, 44px) clamp(28px, 3vw, 48px);
  flex-shrink: 0;
}

.cn-detail-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule2);
  background: var(--black);
  cursor: pointer;
  color: var(--muted);
  font-size: 15px;
  transition: border-color .15s, color .15s;
  z-index: 20;
}
.cn-detail-close:hover { border-color: var(--verm); color: var(--verm); }

.cn-detail-genre {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--verm); margin-bottom: 10px;
}
.cn-detail-title {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: .92; letter-spacing: -.025em;
  color: var(--chalk); margin-bottom: 14px;
  padding-right: 40px;
}
.cn-detail-dir {
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
}
.cn-detail-dir-lbl {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.cn-detail-dir-name {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--chalk);
}
.cn-detail-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}
.cn-detail-meta-item { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.cn-detail-meta-item:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--rule); }
.cn-detail-meta-item:nth-child(even) { padding-left: 12px; }
.cn-detail-meta-lbl {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.cn-detail-meta-val {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--warm); line-height: 1.4;
}
.cn-detail-logline {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(13px, 1.3vw, 17px); line-height: 1.55;
  color: var(--chalk);
}

.cn-detail-cta-label {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.cn-detail-ctas { display: flex; flex-direction: column; }
.cn-detail-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
  transition: color .15s;
}
.cn-detail-cta:first-of-type { border-top: 1px solid var(--rule); }
.cn-detail-cta:hover { color: var(--chalk); }
.cn-detail-cta::after { content: '\2192'; color: var(--verm); font-size: 12px; }

@media (max-width: 900px) {
  .cn-grid { height: auto; flex-direction: column; }
  .cn-poster { flex: none; height: 56vw; border-right: none; border-bottom: 1px solid var(--rule); }
  .cn-stage.has-active .cn-poster { flex: none; opacity: 1; }
  .cn-stage.has-active .cn-poster.is-active { flex: none; }
  .cn-stage.has-active .cn-poster:not(.is-active) .cn-poster-meta { opacity: 1; }
  .cn-stage.has-active .cn-poster.is-active .cn-poster-meta { opacity: 0; }
  .cn-detail {
    top: auto; bottom: 0;
    left: 0 !important;
    width: 100% !important;
    height: auto;
    max-height: 75%;
    border-left: none;
    border-top: 2px solid var(--verm);
    transform: translateY(100%);
    opacity: 1;
    transition: transform .55s cubic-bezier(.22,.61,.36,1);
  }
  .cn-stage.has-active .cn-detail { transform: translateY(0); }
  .cn-detail-inner { transform: none; opacity: 1; transition: none; }
}

/* ── STILLS ─────────────────────────────────────────────── */
body .still-slide {
  cursor: zoom-in;
  transition: flex-basis .55s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
  position: relative;
}
body .still-slide img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
body .stills-track.has-active .still-slide {
  flex: 0 0 80px; cursor: pointer; opacity: .55;
}
body .stills-track.has-active .still-slide:hover { opacity: .85; }
body .stills-track.has-active .still-slide.is-active {
  flex: 0 0 100%; cursor: zoom-out; opacity: 1;
}
/* Keep object-fit: cover throughout the transition so the image doesn't pop
   when expanding/collapsing. Active state just adds a black background as a fallback. */
body .stills-track.has-active .still-slide.is-active img {
  background: #000;
}
/* Disable scroll-snap while a slide is active — the snap algorithm fights with
   the flex-basis transition and the programmatic smooth scroll. */
body .stills-track-wrap:has(.stills-track.has-active) {
  scroll-snap-type: none;
}
body .still-slide .still-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: none; align-items: center; justify-content: center;
  border: 1px solid var(--rule2);
  background: rgba(14,14,12,.82);
  backdrop-filter: blur(8px);
  color: var(--chalk); font-family: var(--sans); font-size: 16px;
  cursor: pointer; z-index: 5;
  transition: border-color .15s, color .15s;
}
body .still-slide.is-active .still-close { display: flex; }
body .still-slide .still-close:hover { border-color: var(--verm); color: var(--verm); }
body .still-slide .still-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px var(--pad);
  background: linear-gradient(to top, rgba(14,14,12,.85), rgba(14,14,12,0));
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--warm);
  opacity: 0; transition: opacity .35s ease .15s;
  pointer-events: none; z-index: 4;
}
body .still-slide.is-active .still-caption { opacity: 1; }
@media (max-width: 700px) {
  body .stills-track.has-active .still-slide { flex: 0 0 100%; opacity: .6; }
  body .stills-track.has-active .still-slide.is-active { flex: 0 0 100%; }
}

/* ── TRAILER ────────────────────────────────────────────── */
.trailer-section {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--black);
  position: relative;
}
.trailer-inner {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.trailer-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1), opacity .4s ease;
}
.trailer-inner:hover .trailer-thumb { transform: scale(1.03); }
.trailer-inner.is-playing .trailer-thumb { opacity: 0; pointer-events: none; }
.trailer-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,14,12,.7) 0%, rgba(14,14,12,.1) 60%, rgba(14,14,12,0) 100%);
  transition: opacity .4s ease;
  pointer-events: none;
}
.trailer-inner.is-playing .trailer-overlay { opacity: 0; }
.trailer-meta {
  position: absolute; left: var(--pad); bottom: 28px;
  z-index: 3; transition: opacity .3s ease;
}
.trailer-inner.is-playing .trailer-meta { opacity: 0; pointer-events: none; }
.trailer-eyebrow {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.trailer-film-title {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 3vw, 38px);
  color: var(--chalk); line-height: 1; letter-spacing: -.015em;
}
.trailer-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 70px; height: 70px;
  border: 1px solid rgba(244,243,239,.25);
  border-radius: 50%;
  background: rgba(14,14,12,.5);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s, transform .2s;
  pointer-events: none;
}
.trailer-inner:hover .trailer-play-btn {
  border-color: var(--verm);
  background: rgba(14,14,12,.7);
  transform: translate(-50%, -50%) scale(1.06);
}
.trailer-play-btn::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent var(--chalk);
  margin-left: 4px;
  transition: border-left-color .2s;
}
.trailer-inner:hover .trailer-play-btn::after { border-left-color: var(--verm); }
.trailer-inner.is-playing .trailer-play-btn { display: none; }
.trailer-fullscreen-btn {
  position: absolute; top: 18px; right: 18px;
  z-index: 10;
  width: 34px; height: 34px;
  border: 1px solid var(--rule2);
  background: rgba(14,14,12,.7);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .15s;
}
.trailer-inner.is-playing .trailer-fullscreen-btn { display: flex; }
.trailer-fullscreen-btn:hover { border-color: var(--verm); }
.trailer-fullscreen-btn svg {
  width: 13px; height: 13px;
  stroke: var(--chalk); fill: none; stroke-width: 1.5;
  transition: stroke .15s;
}
.trailer-fullscreen-btn:hover svg { stroke: var(--verm); }
.trailer-iframe-wrap {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .4s ease .1s;
  pointer-events: none;
}
.trailer-inner.is-playing .trailer-iframe-wrap { opacity: 1; pointer-events: auto; }
.trailer-iframe-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}

/* ── CAST BLOCK ─────────────────────────────────────────── */
.cast-block { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.cast-lbl {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.cast-names { display: flex; flex-direction: column; gap: 2px; }
.cast-name {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(17px, 2vw, 24px);
  color: var(--chalk); line-height: 1.2; letter-spacing: -.01em;
}
.cast-name--secondary { color: var(--warm); font-size: clamp(14px, 1.5vw, 19px); }

/* ── TEAM SECTION ───────────────────────────────────────── */
.team-section { background: var(--cream); border-bottom: 1px solid var(--paper-rule); }
.team-section-hdr {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 22px var(--pad);
  border-bottom: 1px solid var(--paper-rule);
}
.team-label {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mid);
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.team-member {
  padding: clamp(32px, 5vw, 64px) var(--pad);
  border-right: 1px solid var(--paper-rule);
  transition: opacity .28s ease, background .18s ease;
  position: relative;
}
.team-member:nth-child(3n) { border-right: none; }
.team-photo {
  aspect-ratio: 3/4;
  background: #d4d0c6;
  margin-bottom: 24px;
  position: relative; overflow: hidden;
}
.team-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; z-index: 1;
}
.team-photo-ph--dark {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.team-photo-overlay {
  position: absolute; inset: 0;
  background: rgba(14,14,12,.72);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  opacity: 0; transition: opacity .28s ease;
  z-index: 3; pointer-events: none;
}
.team-member:hover .team-photo-overlay { opacity: 1; }
.team-photo-overlay-name {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--chalk); letter-spacing: -.01em; line-height: 1;
}
.team-photo-overlay-role {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--verm);
}
.team-grid:has(.team-member:hover) .team-member:not(:hover) { opacity: .35; }
.team-name {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 2.8vw, 36px); color: var(--black);
  letter-spacing: -.015em; margin-bottom: 6px; line-height: 1;
}
.team-role {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--verm); margin-bottom: 16px;
}
.team-bio { font-family: var(--sans); font-size: 12px; color: #4a463c; line-height: 1.85; }

.team-section.team-section--dark { background: var(--black); border-bottom: 1px solid var(--rule); }
.team-section.team-section--dark .team-section-hdr { border-bottom: 1px solid var(--rule); }
.team-section.team-section--dark .team-label { color: var(--muted); }
.team-section.team-section--dark .team-member { border-right: 1px solid var(--rule); }
.team-section.team-section--dark .team-member:hover { background: rgba(255,255,255,.02); }
.team-section.team-section--dark .team-name { color: var(--chalk); }
.team-section.team-section--dark .team-bio { color: var(--muted); }
.team-section.team-section--dark .team-photo { background: var(--off); border: 1px solid var(--rule); }

@media (max-width: 880px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-member:nth-child(3n) { border-right: 1px solid var(--paper-rule); }
  .team-member:nth-child(2n) { border-right: none; }
  .team-section.team-section--dark .team-member:nth-child(3n) { border-right: 1px solid var(--rule); }
  .team-section.team-section--dark .team-member:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-member { border-right: none !important; border-bottom: 1px solid var(--paper-rule); }
  .team-section.team-section--dark .team-member { border-bottom: 1px solid var(--rule); }
  .team-member:last-child { border-bottom: none; }
}

/* ── COPY TO CLIPBOARD ──────────────────────────────────── */
.copy-email-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.c-email { margin-bottom: 0; }
.copy-btn {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mid);
  background: none;
  border: 1px solid var(--paper-rule);
  padding: 4px 10px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  white-space: nowrap; flex-shrink: 0;
}
.copy-btn:hover { border-color: var(--verm); color: var(--verm); }
.copy-btn.copied { border-color: var(--verm); color: var(--verm); }

/* ── PAGE TRANSITIONS ───────────────────────────────────── */
#pgCurtain {
  position: fixed; inset: 0; z-index: 9500;
  background: var(--black);
  transform: translateY(100%);
  pointer-events: none;
  will-change: transform;
}
#pgCurtain.pg-curtain--enter {
  animation: curtainEnter .38s cubic-bezier(.77,0,.18,1) forwards;
}
#pgCurtain.pg-curtain--covering {
  transform: translateY(0); transition: none;
}
#pgCurtain.pg-curtain--reveal {
  animation: curtainReveal .44s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes curtainEnter {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes curtainReveal {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  #pgCurtain { display: none; }
}

/* ── NAV LINKS (desktop horizontal nav) ──────────────────
   Promoted from the homepage's inline <style> so every page
   that loads v4.css picks up the same desktop nav styling. */
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 28px); }
.nav-links a {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .5s, transform .5s, color .15s;
}
.nav-links a:hover { color: var(--chalk); }
.nav-links a.vis { opacity: 1; transform: none; pointer-events: auto; }
.nav-links a:nth-child(1) { transition-delay: .10s; }
.nav-links a:nth-child(2) { transition-delay: .17s; }
.nav-links a:nth-child(3) { transition-delay: .24s; }
.nav-links a:nth-child(4) { transition-delay: .31s; }
.nav-links a:nth-child(5) { transition-delay: .38s; }

/* Cream-page variant: links and hover need darker tones */
.nav--cream .nav-links a { color: var(--ink-mid); }
.nav--cream .nav-links a:hover { color: var(--black); }

/* ── NAV CONTACT BUTTON ─────────────────────────────────── */
.nav-contact-btn {
  background: none;
  border: 1px solid var(--verm);
  padding: 6px 16px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--verm);
  transition: background .15s, color .15s;
  flex-shrink: 0;
  /* Reveal animation matches the .nav-links a entry */
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .5s .45s, transform .5s .45s, background .15s, color .15s;
}
.nav-contact-btn:hover { background: var(--verm); color: var(--chalk); }
.nav-contact-btn.vis { opacity: 1; transform: none; pointer-events: auto; }

/* ── NAV MOBILE TEXT MENU BUTTON ────────────────────────── */
.nav-menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--chalk); padding: 6px 0;
}
.nav--cream .nav-menu-btn { color: var(--black); }

/* ── OVERLAY GET IN TOUCH BUTTON ────────────────────────── */
.overlay-contact-trigger {
  background: none; border: none; cursor: pointer;
  text-align: left; padding: 0;
  color: var(--verm) !important;
}

/* ── CONTACT DRAWER BACK BUTTON OVERRIDES ───────────────── */
.cp-back-btn {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.cp-back-btn::after {
  content: 'Back';
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  padding-top: 1px;
}
.cp-close { display: none !important; }

/* ── NAV MOBILE BREAKPOINT ──────────────────────────────── */
@media (max-width: 768px) {
  .nav { display: flex; align-items: center; justify-content: space-between; }
  .nav-logo { grid-column: unset; }
  .nav-menu-btn { display: block; justify-self: unset; }
  .nav-links { display: none; }
  .nav-logo-img { height: 36px; }
  .nav-wordmark { display: none; }
}

/* ── CONTACT DRAWER ─────────────────────────────────────── */
.cp-overlay {
  position: fixed; inset: 0; z-index: 590;
  background: rgba(14,14,12,.65);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .4s;
}
.cp-overlay.open { opacity: 1; pointer-events: auto; }

.cp-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 600;
  width: 400px; max-width: 92vw;
  background: var(--black);
  border-left: 1px solid var(--rule);
  transform: translateX(100%);
  transition: transform .52s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.cp-panel.open { transform: translateX(0); }

.cp-header {
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.cp-header-lbl {
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.cp-statement {
  padding: 32px var(--pad) 28px;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.cp-statement-hl {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(36px, 8vw, 52px);
  line-height: .95; letter-spacing: -.025em;
  color: var(--chalk);
}
.cp-statement-sub {
  margin-top: 14px;
  font-size: 12px; letter-spacing: .01em;
  color: var(--muted); line-height: 1.7; max-width: 32ch;
}

.cp-rows { flex: 1; overflow-y: auto; }

.cp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: background .15s;
}
.cp-row:hover { background: rgba(255,255,255,.028); }
.cp-row-left { display: flex; flex-direction: column; gap: 5px; }
.cp-row-audience {
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.cp-row-action {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(19px, 3vw, 25px);
  color: var(--chalk); letter-spacing: -.01em; line-height: 1;
}
.cp-row-arrow {
  width: 32px; height: 32px;
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
}
.cp-row-arrow svg {
  width: 12px; height: 12px;
  stroke: var(--verm); fill: none; stroke-width: 1.5;
  transition: transform .18s;
}
.cp-row:hover .cp-row-arrow { border-color: var(--verm); background: var(--verm); }
.cp-row:hover .cp-row-arrow svg { stroke: var(--chalk); transform: translateX(2px); }

/* ── Close button: small grey text label ────────────────── */
.cp-close {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: lowercase;
  color: var(--muted);
  padding: 4px 0;
  transition: color .15s;
  /* Override the square button default from v4.css base */
  width: auto;
  height: auto;
  display: inline;
}
.cp-close:hover { color: var(--chalk); }

/* ── MOBILE: contact drawer full viewport ───────────────── */
@media (max-width: 768px) {
  .cp-panel {
    width: 100vw;
    max-width: 100vw;
    border-left: none;
    border-top: 1px solid var(--rule);
    /* Raise above fixed nav so logo doesn't overlap */
    z-index: 1200;
  }
}

/* ── Back-arrow close button (mobile drawer footer) ─────── */
.cp-footer-close {
  padding: 20px var(--pad);
  border-top: 1px solid var(--rule);
  display: none; /* shown only on mobile */
}
.cp-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1;
  color: var(--verm);
  padding: 8px 0;
  display: block;
}
.cp-back-btn:hover { opacity: .7; }
@media (max-width: 768px) {
  .cp-footer-close { display: block; }
}

/* ── MOBILE: logo size ──────────────────────────────────── */
@media (max-width: 768px) {
  .nav-logo-img { height: 28px; }
}

/* ── NAV OVERLAY: sans-serif, matches desktop nav ───────── */
.overlay-link {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(28px, 8vw, 48px);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--dim);
  transition: color .18s;
}
.overlay-link:hover { color: var(--chalk); }
