/* =============================================================
   CHLOÉ LATRECH — Premiere film portfolio
   Vantablack / Silver-Halide / Practical Amber
   Fraunces + Inter Tight + Courier Prime + Big Shoulders Display
   ============================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Palette — Nicole Goode-style cinematic dark:
     pure black, warm cream, single dusty-rose accent for italic emphasis.
     Photography carries the color; typography stays grayscale. */
  --vantablack:    #0A0A0A;   /* primary surface — deep black */
  --carbon:        #131313;   /* slightly raised */
  --graphite:      #1B1B1B;   /* card background */
  --emulsion:      #262626;   /* hover surface */

  --silver:        #DCD8CF;   /* primary body text — warm cream off-white */
  --silver-soft:   #918D85;   /* secondary text */
  --silver-dim:    #5A5650;   /* tertiary, captions */
  --silver-ghost:  #2B2A26;   /* low-contrast strokes / decorative */
  --lightbox:      #F5F2EC;   /* highlights, emphasis headlines */

  --practical:     #C19178;   /* dusty rose / faded coral — italic emphasis */
  --practical-deep:#9A6F5A;
  --practical-glow:rgba(193,145,120,0.14);

  --brass:         #B08C5C;   /* rare gold accent */

  --rule:          rgba(220,216,207,0.10);
  --rule-medium:   rgba(220,216,207,0.18);
  --rule-strong:   rgba(220,216,207,0.28);

  /* Type — four voices */
  --serif:    "Fraunces", "Charter", "Iowan Old Style", Georgia, serif;
  --classic:  "Tinos", "Times New Roman", Times, serif;   /* nav, slugs, small UI labels — classic newspaper */
  --sans:     "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --script:   "Courier Prime", "Courier New", ui-monospace, monospace;  /* kept only for technical overlays (modal-meta, reel-meta) */
  --poster:   "Big Shoulders Display", "Bebas Neue", "Inter Tight", sans-serif;

  /* Motion */
  --film:       cubic-bezier(0.16, 1, 0.30, 1);     /* long ease out */
  --mechanical: cubic-bezier(0.83, 0, 0.17, 1);     /* hard cut */

  /* Layout */
  --gutter: clamp(24px, 4.4vw, 72px);
  --container: 1680px;
  --container-narrow: 1040px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--vantablack);
  color: var(--silver);
  font-family: var(--sans);
  font-weight: 380;
  font-size: clamp(19px, 1.3vw, 23px);
  line-height: 1.65;
  overflow-x: clip;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  hyphens: none;
  opacity: 0;
  transition: opacity 600ms var(--film);
}
body.is-ready { opacity: 1; }
body.is-leaving { opacity: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--practical); color: var(--vantablack); }
.no-break { white-space: nowrap; }

/* Subtle film grain — barely there */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: screen;
}

/* =============================================================
   TYPE PRIMITIVES
   ============================================================= */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.038em;
  line-height: 0.88;
  text-wrap: balance;
  word-break: keep-all;
  color: var(--lightbox);
}
.display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
  color: var(--practical);
}

.poster {
  font-family: var(--poster);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.92;
}

.script {
  font-family: var(--script);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--classic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 19px);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--practical);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 32px; height: 1px; background: var(--practical);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
.eyebrow.no-mark::before { display: none; }

.lede {
  font-family: var(--serif);
  font-weight: 360;
  font-variation-settings: "opsz" 36;
  font-style: italic;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.55;
  color: var(--silver);
  max-width: 56ch;
}
.lede em { font-style: italic; color: var(--lightbox); }

.body-text {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 24;
  font-size: clamp(19px, 1.3vw, 23px);
  line-height: 1.7;
  color: var(--silver);
  max-width: 62ch;
}
.body-text em { font-style: italic; font-variation-settings: "opsz" 24, "SOFT" 100; color: var(--lightbox); }
.body-text strong { font-weight: 500; color: var(--lightbox); }

/* Pull quote — French film school style */
.pull-quote {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0;
  max-width: 760px; margin: 0 auto;
  text-align: center;
}
.pull-quote::before, .pull-quote::after {
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--practical);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1; opacity: 0.6;
  display: block;
}
.pull-quote::before { content: '\201C'; margin-bottom: 12px; }
.pull-quote::after { content: '\201D'; margin-top: -16px; }
.pull-quote p {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-style: italic;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.2;
  color: var(--lightbox);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.pull-quote cite {
  display: block; margin-top: 24px;
  font-family: var(--script); font-style: normal;
  font-weight: 700; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.015em;
  color: var(--silver-soft);
}

/* =============================================================
   PRELOADER — clean fade
   ============================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--vantablack);
  display: grid; place-items: center;
  transition: opacity 800ms var(--film), visibility 800ms;
}
.preloader > div { display: flex; flex-direction: column; align-items: center; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.pre-mark {
  width: 112px; height: 112px; border-radius: 50%;
  background: transparent; color: var(--lightbox);
  border: 1px solid var(--silver-dim);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 380;
  font-size: 22px;
  position: relative;
}
@media (max-width: 480px) { .pre-mark { width: 96px; height: 96px; } }
.pre-mark::after {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; border: 1px solid var(--practical);
  opacity: 0; animation: preRing 1.6s 0.3s ease-out forwards;
}
@keyframes preRing { 0%{transform:scale(1);opacity:0} 50%{opacity:0.55} 100%{transform:scale(1.5);opacity:0} }
.pre-bar { width: 160px; height: 1px; background: rgba(196,194,189,0.14); margin-top: 28px; position: relative; overflow: hidden; }
.pre-bar-fill { position: absolute; inset: 0 100% 0 0; background: var(--practical); animation: preBar 1.4s 0.1s var(--film) forwards; }
@keyframes preBar { to { inset: 0 0 0 0; } }

/* =============================================================
   GREETING BAR — masthead-italic, classic
   ============================================================= */
.greeting {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 11px var(--gutter);
  background: rgba(10,10,10,0.94);
  border-bottom: 1px solid var(--rule);
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(14px, 1vw, 18px);
  letter-spacing: 0.02em;
  color: var(--silver-soft);
}
.greeting .glyph { color: var(--practical); font-style: normal; }
.greeting .v { color: var(--silver); font-weight: 700; }
@media (max-width: 720px) {
  .greeting { font-size: 13px; gap: 10px; padding: 9px var(--gutter); }
  .greeting .hide-sm { display: none; }
}

/* =============================================================
   NAV — masthead atop greeting
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px var(--gutter);
  padding-top: max(env(safe-area-inset-top, 0px), 24px);
  pointer-events: none;
  transition: background 600ms var(--film), padding 400ms var(--film), border-color 400ms var(--film), transform 380ms var(--film);
  border-bottom: 1px solid transparent;
  /* IMPORTANT: do NOT set will-change/transform/filter here. Those properties
     create a containing block for fixed-positioned descendants, which would
     trap the mobile menu (.nav-links is a child) inside the nav bar's box
     instead of letting it fill the viewport via inset: 0. */
}
.nav.is-scrolled {
  background: rgba(10,10,10,0.86);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  padding: 12px var(--gutter);
  padding-top: max(env(safe-area-inset-top, 0px), 12px);
  border-bottom-color: var(--rule);
}
/* Auto-hide when scrolling down on long pages */
.nav.is-hidden { transform: translateY(-110%); }
/* Lock body scroll when mobile menu is open — overflow:hidden only,
   no touch-action (that would block taps on the menu links). */
body.nav-open { overflow: hidden; }
.nav > * { pointer-events: auto; }
.nav-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--silver); }
.nav-logo {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--silver-dim);
  display: grid; place-items: center;
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: 22px; color: var(--lightbox);
  background: var(--vantablack);
  flex-shrink: 0;
  transition: border-color 400ms var(--film), transform 600ms var(--film);
}
.nav-brand:hover .nav-logo { border-color: var(--practical); transform: rotate(-8deg); }
.nav-logo { overflow: hidden; }
.nav-logo .cl-mark { width: 100%; height: 100%; display: block; object-fit: cover; }
.pre-mark { overflow: hidden; }
.pre-mark > .cl-mark,
.pre-mark > svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.nav-tag {
  display: flex; flex-direction: column; line-height: 1.25;
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(15px, 1vw, 18px);
  letter-spacing: 0.01em;
  color: var(--silver-soft);
}
.nav-tag span:first-child { color: var(--practical); font-style: normal; font-weight: 700; font-size: 0.85em; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links {
  display: inline-flex; gap: clamp(18px, 2.2vw, 34px);
  align-items: center;
}
.nav-links a {
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(17px, 1.15vw, 22px);
  letter-spacing: 0.005em;
  color: var(--silver-soft);
  padding: 8px 0;
  transition: color 300ms var(--film);
  position: relative;
}
.nav-links a:hover { color: var(--lightbox); }
.nav-links a.is-active { color: var(--practical); }
.nav-links a.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: -1px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--practical);
  transform: translateX(-50%);
}
@media (max-width: 960px) { .nav-tag { display: none; } }
@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: fixed; inset: 0; z-index: 99;
    flex-direction: column;
    /* Center the links vertically so they're in the thumb-reach zone,
       not crammed against the top edge under the nav bar. */
    justify-content: center; align-items: center;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: calc(env(safe-area-inset-top, 0px) + 80px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 48px);
    gap: clamp(24px, 4.5vh, 40px);
    overflow-y: auto;
    text-align: center;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    font-family: var(--serif); font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 30;
    font-style: italic;
    font-size: clamp(28px, 8vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--lightbox);
    padding: 6px 16px;
    min-height: 48px;
    display: inline-flex; align-items: center;
  }
  .nav-links a.is-active::after { display: none; }
  .nav-links a.is-active { color: var(--practical); }
  .nav-toggle { display: flex !important; }
}
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--silver-dim);
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--silver);
}
.nav-toggle svg { width: 14px; height: 14px; }

/* =============================================================
   PAGE HERO — used on most inner pages
   ============================================================= */
.page-hero {
  padding: 160px var(--gutter) clamp(56px, 9vh, 100px);
  max-width: var(--container);
  margin: 0 auto;
  display: grid; gap: clamp(20px, 3vh, 36px);
  position: relative;
}
.page-hero .slug-row {
  display: flex; gap: 14px; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(16px, 1.1vw, 20px);
  letter-spacing: 0.01em;
  color: var(--silver-soft);
}
.page-hero .slug-row .l { color: var(--practical); display: inline-flex; align-items: center; gap: 10px; }
.page-hero .slug-row .l::before { content: ''; width: 6px; height: 6px; background: var(--practical); border-radius: 50%; }
.page-hero .number {
  font-family: var(--poster); font-weight: 700;
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.85; letter-spacing: 0.005em;
  color: var(--silver-ghost);
  margin-bottom: -8px;
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(54px, 8.4vw, 144px);
  line-height: 0.9; letter-spacing: -0.04em;
  margin: 0; color: var(--lightbox);
  text-wrap: balance; word-break: keep-all;
}
.page-hero h1 em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--practical); }
.page-hero .lede { max-width: 56ch; }

/* Section primitives */
section { padding: clamp(80px, 12vh, 140px) var(--gutter); position: relative; }
.section-num {
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(15px, 1vw, 19px);
  letter-spacing: 0.01em;
  color: var(--silver-dim);
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 12px;
}
.section-num::before {
  content: ''; width: 20px; height: 1px;
  background: var(--silver-dim);
}
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.96; letter-spacing: -0.025em;
  color: var(--lightbox);
  margin-bottom: 18px;
  text-wrap: balance;
}
.section-title em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--practical); font-weight: 300; }
.section-intro {
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: clamp(19px, 1.4vw, 23px);
  line-height: 1.6;
  color: var(--silver);
  max-width: 50ch;
}

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--film), transform 1s var(--film); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* =============================================================
   HOME HERO — letterbox-cinema feel
   ============================================================= */
.home-hero {
  min-height: 100svh;
  padding: clamp(120px, 14vh, 180px) var(--gutter) clamp(56px, 9vh, 100px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 100px);
  align-items: end;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
@media (max-width: 980px) { .home-hero { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-top: 130px; align-items: start; } }

.home-hero-content { position: relative; z-index: 2; }
.home-hero-slug {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vh, 48px);
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(16px, 1.1vw, 20px);
  letter-spacing: 0.01em;
  color: var(--silver-soft);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-medium);
}
.home-hero-slug .dot { color: var(--practical); }
.home-hero-title {
  font-family: var(--serif); font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(54px, 8.8vw, 132px);
  line-height: 0.9; letter-spacing: -0.04em;
  color: var(--lightbox);
  text-wrap: balance;
}
.home-hero-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
  color: var(--practical);
}
.home-hero-meta {
  margin-top: 30px;
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.55;
  color: var(--silver);
  max-width: 44ch;
}
.home-hero-meta .rot {
  display: inline-block;
  min-width: 8ch;
  color: var(--practical);
}
.home-hero-meta .rot {
  color: var(--practical);
  transition: opacity 280ms var(--film);
}
.home-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: var(--practical); color: var(--vantablack);
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(15px, 1vw, 19px);
  letter-spacing: 0.01em;
  transition: background 350ms var(--film), color 350ms var(--film), transform 500ms var(--film);
  white-space: nowrap;
}
.btn:hover { background: var(--lightbox); transform: translateY(-2px); }
.btn .arrow { transition: transform 300ms var(--film); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--silver); border: 1px solid var(--silver-dim); }
.btn.ghost:hover { background: var(--lightbox); color: var(--vantablack); border-color: var(--lightbox); }
.btn-link {
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(15px, 1vw, 19px);
  letter-spacing: 0.01em;
  color: var(--silver);
  padding: 6px 0;
  border-bottom: 1px solid var(--rule-strong);
  transition: color 350ms var(--film), border-color 350ms var(--film);
}
.btn-link:hover { color: var(--practical); border-color: var(--practical); }

/* Hero visual — dominant photograph, sepia-graded post-process */
.home-hero-visual {
  position: relative; aspect-ratio: 4/5; width: 100%;
  overflow: hidden;
  background: var(--carbon);
}
.home-hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  /* The hero file is pre-baked with sepia/skin smoothing; CSS adds just a hair of polish. */
  filter: contrast(1.04) brightness(0.98);
  transition: transform 8s var(--film), filter 1.2s var(--film);
  transform: scale(1.02);
}
.home-hero-visual:hover img {
  transform: scale(1);
  filter: contrast(1.06) brightness(1);
}
.home-hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.35));
  pointer-events: none;
}
@media (max-width: 980px) { .home-hero-visual { aspect-ratio: 3/4; } }

/* Photographer credit / image caption — bottom-right of the visual */
.home-hero-cap {
  position: absolute; right: 18px; bottom: 16px; z-index: 2;
  font-family: var(--classic); font-style: italic;
  font-size: clamp(13px, 0.9vw, 16px);
  color: var(--lightbox); opacity: 0.85;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.home-hero-cap em { color: var(--practical); font-style: normal; margin-right: 0.4em; }

/* Home quick-nav cards (3 doors below hero) */
.home-doors {
  background: var(--carbon);
  padding: clamp(60px, 10vh, 120px) var(--gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.home-doors-wrap {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
}
@media (max-width: 760px) { .home-doors-wrap { grid-template-columns: 1fr; } }
.door {
  position: relative;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3vw, 44px);
  background: var(--graphite);
  border: 1px solid var(--rule);
  display: block;
  overflow: hidden;
  transition: background 400ms var(--film), border-color 400ms var(--film), transform 600ms var(--film);
}
.door:hover { background: var(--emulsion); border-color: var(--practical); transform: translateY(-4px); }
.door-num {
  font-family: var(--poster); font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--silver-ghost);
  margin-bottom: 14px;
  transition: color 400ms var(--film);
}
.door:hover .door-num { color: var(--practical); }
.door-title {
  font-family: var(--serif); font-weight: 320;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--lightbox);
  margin-bottom: 12px;
}
.door-title em { font-style: italic; font-variation-settings: "opsz" 60, "SOFT" 100; color: var(--practical); }
.door-desc {
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: clamp(17px, 1.15vw, 20px); line-height: 1.5;
  color: var(--silver-soft);
  max-width: 32ch;
}
.door-arrow {
  position: absolute; bottom: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px);
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--silver-dim);
  display: grid; place-items: center;
  color: var(--silver);
  transition: background 350ms var(--film), color 350ms var(--film), border-color 350ms var(--film), transform 600ms var(--film);
}
.door:hover .door-arrow { background: var(--practical); color: var(--vantablack); border-color: var(--practical); transform: translateX(2px); }

/* =============================================================
   MARQUEE
   ============================================================= */
.marquee {
  padding: 18px 0;
  overflow: hidden;
  background: var(--vantablack);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.marquee-track {
  display: flex; gap: 0;
  white-space: nowrap; width: max-content;
  animation: mscroll 64s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 2.4rem;
  padding-right: 2.4rem;
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 100;
  font-weight: 360;
  font-size: clamp(20px, 2vw, 30px);
  color: var(--silver);
}
.marquee-item span { color: var(--practical); font-size: 0.65em; font-style: normal; }
@keyframes mscroll { to { transform: translateX(-50%); } }

/* =============================================================
   REEL CARD (used on home + portfolio)
   ============================================================= */
.reel-block { padding: clamp(80px, 12vh, 140px) var(--gutter); background: var(--vantablack); }
.reel-wrap { max-width: var(--container); margin: 0 auto; }
.reel-head {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 6vh, 64px);
}
@media (max-width: 880px) { .reel-head { grid-template-columns: 1fr; } }
.reel-meta {
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(15px, 1vw, 18px); letter-spacing: 0.01em;
  color: var(--silver-soft);
  text-align: right;
  display: grid;
  gap: 14px 0;
}
.reel-meta > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.reel-meta > div:last-child { border-bottom: 0; }
.reel-meta .v { color: var(--lightbox); font-style: normal; font-variation-settings: "opsz" 24; font-weight: 500; }
@media (max-width: 880px) {
  .reel-meta { text-align: left; }
  .reel-meta > div { grid-template-columns: 1fr 1fr; }
}

.reel-card {
  position: relative; width: 100%;
  aspect-ratio: 16/9; overflow: hidden;
  background-image: linear-gradient(rgba(8,8,10,0.3), rgba(8,8,10,0.05)), url("thumbs/x9MN2NvgceU.jpg");
  background-size: cover; background-position: center;
  cursor: pointer;
  border: 1px solid var(--rule);
  transition: transform 1.2s var(--film), border-color 600ms var(--film);
}
.reel-card:hover { transform: scale(0.992); border-color: var(--practical); }
.reel-play { position: absolute; inset: 0; display: grid; place-items: center; }
.reel-play-circle {
  width: clamp(76px, 8vw, 124px); height: clamp(76px, 8vw, 124px);
  border-radius: 50%;
  background: var(--lightbox); color: var(--vantablack);
  display: grid; place-items: center;
  transition: background 350ms var(--film), color 350ms var(--film), transform 600ms var(--film);
}
.reel-card:hover .reel-play-circle { background: var(--practical); color: var(--vantablack); transform: scale(1.05); }
.reel-play-circle svg { width: 24px; height: 24px; fill: currentColor; transform: translateX(2px); }
.reel-corner {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; gap: 18px;
}
.reel-corner span {
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(14px, 0.95vw, 18px); letter-spacing: 0.015em;
  color: var(--lightbox); padding: 6px 10px; background: rgba(8,8,10,0.55); backdrop-filter: blur(6px);
}
.reel-corner .rec { color: var(--practical); margin-right: 4px; }

/* =============================================================
   PORTFOLIO — Featured film + Index + Frames
   ============================================================= */
.feature {
  position: relative; min-height: 100svh;
  overflow: hidden; isolation: isolate;
}
.feature::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: var(--feature-bg, url("thumbs/-XU_xDBOe78.jpg"));
  background-size: cover; background-position: center;
  filter: contrast(1.05) saturate(0.55) brightness(0.48) grayscale(0.35);
}
.feature::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(193,145,120,0.16) 0%, transparent 55%),
    linear-gradient(to top, rgba(10,10,10,0.96), rgba(10,10,10,0.55) 50%, rgba(10,10,10,0.92));
}
/* A more compact spread for the secondary featured-film blocks (so 8 films don't each take a full viewport) */
.feature.compact { min-height: 76svh; }
.feature.compact .feature-inner { min-height: 76svh; padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(64px, 10vh, 120px); }
.feature.compact .feature-title { font-size: clamp(48px, 8vw, 130px); }
/* Section divider between stacked feature spreads */
.feature + .feature { border-top: 1px solid rgba(220,216,207,0.08); }
.feature-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(96px, 16vh, 180px) var(--gutter) clamp(80px, 14vh, 160px);
  display: grid; gap: clamp(28px, 5vh, 56px);
  min-height: 100svh;
  align-content: center;
}
.feature-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
/* Defensive text-shadow on every text element layered over the feature
   background photo.  Even though .feature::after already paints a strong
   dark overlay, an individual letter on a bright spot (sky, flash, white
   prop) can still wash out.  These shadows keep type crisp regardless. */
.feature-badge,
.feature-meta,
.feature-title,
.feature-cred h5,
.feature-cred p,
.feature-play .label {
  text-shadow: 0 1px 2px rgba(0,0,0,0.7), 0 2px 12px rgba(0,0,0,0.55);
}
.feature-title {
  text-shadow: 0 2px 4px rgba(0,0,0,0.85), 0 4px 24px rgba(0,0,0,0.6);
}
.feature-badge {
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(14px, 0.95vw, 18px); letter-spacing: 0.015em;
  color: var(--practical);
}
.feature-meta {
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(14px, 0.95vw, 18px); letter-spacing: 0.015em;
  color: var(--silver-soft);
  text-wrap: balance;
}
.feature-meta .amber { color: var(--practical); }
.feature-title {
  font-family: var(--serif); font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(60px, 11vw, 170px);
  line-height: 0.84; letter-spacing: -0.045em;
  color: var(--lightbox);
  text-wrap: balance; word-break: keep-all; hyphens: none;
}
.feature-title em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
.feature-cred {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 56px);
}
@media (max-width: 760px) { .feature-cred { grid-template-columns: 1fr; gap: 16px; } }
.feature-cred h5 {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.015em;
  color: var(--practical); margin-bottom: 8px;
}
.feature-cred p {
  font-family: var(--serif); font-weight: 380;
  font-variation-settings: "opsz" 24;
  font-size: clamp(17px, 1.15vw, 20px); line-height: 1.45; color: var(--silver);
}
.feature-cred p em { font-style: italic; font-variation-settings: "opsz" 24, "SOFT" 100; }
.feature-play {
  display: inline-flex; align-items: center; gap: 18px;
  color: var(--lightbox);
  align-self: start;
  transition: transform 600ms var(--film);
  cursor: pointer;
}
.feature-play:hover { transform: translateX(6px); }
.feature-play .circle {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  transition: background 350ms var(--film), color 350ms var(--film), border-color 350ms var(--film);
}
.feature-play:hover .circle { background: var(--practical); border-color: var(--practical); color: var(--vantablack); }
.feature-play .circle svg { width: 18px; height: 18px; fill: currentColor; transform: translateX(2px); }
.feature-play .label {
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(14px, 0.95vw, 18px); letter-spacing: 0.015em;
  color: var(--lightbox);
}

/* Index — Criterion-style table */
.index-sec { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.index-wrap { max-width: var(--container); margin: 0 auto; }
.index-head {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 6vh, 64px);
}
@media (max-width: 880px) { .index-head { grid-template-columns: 1fr; } }

.index-list { border-top: 1px solid var(--silver); }
.film-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2.4fr) minmax(0, 1.2fr) auto;
  align-items: baseline;
  gap: 22px;
  padding: 26px 6px;
  border-bottom: 1px solid var(--rule);
  color: var(--silver);
  position: relative;
  text-align: left;
  width: 100%;
  transition: padding 700ms var(--film), background 500ms var(--film);
}
.film-row:hover { padding-left: 22px; background: rgba(255,138,44,0.04); }
.film-row .num {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.2em;
  color: var(--silver-dim);
}
.film-row-title {
  font-family: var(--serif); font-weight: 360;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-size: clamp(24px, 2.6vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--silver);
  word-break: keep-all;
}
.film-row-title em { font-style: italic; font-variation-settings: "opsz" 60, "SOFT" 100; color: var(--silver); transition: color 400ms var(--film); }
.film-row:hover .film-row-title { color: var(--lightbox); }
.film-row:hover .film-row-title em { color: var(--practical); }
.film-row .role {
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: clamp(17px, 1.15vw, 20px); color: var(--silver-soft);
  line-height: 1.4;
}
.film-row .place {
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(14px, 0.95vw, 18px); letter-spacing: 0.015em;
  color: var(--silver-dim);
}
.film-row .year {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.18em;
  color: var(--silver-dim);
}
.film-row .play-mark {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--silver-soft);
  display: grid; place-items: center;
  color: var(--silver-soft);
  transition: background 350ms var(--film), color 350ms var(--film), border-color 350ms var(--film), transform 600ms var(--film);
}
.film-row:hover .play-mark { background: var(--practical); border-color: var(--practical); color: var(--vantablack); transform: scale(1.04); }
.film-row .play-mark svg { width: 11px; height: 11px; fill: currentColor; transform: translateX(1px); }
@media (max-width: 880px) {
  .film-row { grid-template-columns: 40px 1fr auto; gap: 12px 18px; padding: 22px 0; }
  .film-row .role { grid-column: 2 / 3; padding-left: 0; margin-top: -4px; font-size: clamp(14px, 0.95vw, 18px); }
  .film-row .place, .film-row .year { display: none; }
}

/* Selected Frames grid */
.frames-sec { background: var(--carbon); padding: clamp(80px, 12vh, 140px) var(--gutter); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.frames-wrap { max-width: var(--container); margin: 0 auto; }
.frames-head {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 6vh, 64px);
}
@media (max-width: 880px) { .frames-head { grid-template-columns: 1fr; } }
.frames-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
}
@media (max-width: 760px) { .frames-grid { grid-template-columns: repeat(2, 1fr); } }
.frame {
  position: relative; aspect-ratio: 2.39/1;
  background-size: cover; background-position: center;
  overflow: hidden;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter 600ms var(--film);
}
.frame:hover { filter: grayscale(0) contrast(1.1); }
.frame::before {
  content: attr(data-num);
  position: absolute; left: 12px; bottom: 10px;
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(11px, 0.75vw, 14px);
  letter-spacing: 0.015em;
  color: var(--lightbox);
  padding: 4px 8px; background: rgba(8,8,10,0.6); backdrop-filter: blur(6px);
}

/* =============================================================
   BIOGRAPHY — manifesto sticky
   ============================================================= */
.acts-list { max-width: var(--container); margin: 0 auto; padding: clamp(40px, 6vh, 72px) 0; }
.act {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 6vw, 96px);
  padding: clamp(64px, 11vh, 120px) var(--gutter);
  border-top: 1px solid var(--rule);
  align-items: start;
}
.act:last-child { border-bottom: 1px solid var(--rule); }
@media (max-width: 880px) { .act { grid-template-columns: 1fr; gap: 20px; padding: 56px var(--gutter); } }

.act-label {
  font-family: var(--poster); font-weight: 700;
  font-size: clamp(56px, 7vw, 120px);
  line-height: 0.86; color: var(--practical);
}
.act-meta {
  display: block; margin-top: 14px;
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(14px, 0.95vw, 18px); letter-spacing: 0.015em;
  color: var(--silver-dim);
}
.act-meta .amber { color: var(--practical); }

.act-body { display: grid; gap: 22px; max-width: 56ch; }
.act-body h3 {
  font-family: var(--serif); font-weight: 320;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1; letter-spacing: -0.025em;
  color: var(--lightbox);
  text-wrap: balance; word-break: keep-all;
}
.act-body h3 em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--practical); font-weight: 300; }
.act-body p {
  font-family: var(--serif); font-weight: 380;
  font-variation-settings: "opsz" 24;
  font-size: clamp(19px, 1.4vw, 22px);
  line-height: 1.7;
  color: var(--silver);
}
.act-body p em { font-style: italic; font-variation-settings: "opsz" 24, "SOFT" 100; color: var(--lightbox); }

/* Signature */
.signature {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(60px, 10vh, 120px) var(--gutter);
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 6vw, 96px); align-items: center;
}
@media (max-width: 880px) { .signature { grid-template-columns: 1fr; gap: 32px; } }
.signature-img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--carbon); border: 1px solid var(--rule); }
.signature-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.05); }
.sig-name {
  margin-top: 28px;
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 100;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--practical); line-height: 1;
}
.sig-place {
  margin-top: 8px;
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.015em; color: var(--silver-dim);
}

/* =============================================================
   EDUCATION — schools as cards
   ============================================================= */
.schools-wrap { max-width: var(--container); margin: 0 auto; padding: clamp(40px, 6vh, 72px) var(--gutter); }
.school {
  display: grid; grid-template-columns: 4fr 8fr;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(56px, 9vh, 100px) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.school:last-child { border-bottom: 1px solid var(--rule); }
@media (max-width: 880px) { .school { grid-template-columns: 1fr; gap: 20px; padding: 48px 0; } }

.school-side .year {
  font-family: var(--poster); font-weight: 700;
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 0.9; color: var(--practical);
  letter-spacing: 0.005em;
}
.school-side .place {
  margin-top: 14px;
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.015em; color: var(--silver-dim);
}
.school-body h3 {
  font-family: var(--serif); font-weight: 320;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1; letter-spacing: -0.025em;
  color: var(--lightbox); margin-bottom: 8px;
}
.school-body h3 em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--practical); }
.school-body .school-degree {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.015em;
  color: var(--practical); margin-bottom: 20px;
  display: inline-flex; gap: 12px; align-items: center;
}
.school-body p {
  font-family: var(--serif); font-weight: 380;
  font-variation-settings: "opsz" 24;
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.65;
  color: var(--silver);
  margin-bottom: 16px;
  max-width: 56ch;
}
.school-body p em { font-style: italic; font-variation-settings: "opsz" 24, "SOFT" 100; color: var(--lightbox); }
.school-honors {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.school-honor {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.015em;
  color: var(--practical);
  padding: 6px 12px; border: 1px solid var(--practical);
}

/* =============================================================
   SPECIALTIES — disciplines + tools
   ============================================================= */
.disciplines-wrap { max-width: var(--container); margin: 0 auto; padding: clamp(60px, 10vh, 120px) var(--gutter); }
.disciplines {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 760px) { .disciplines { grid-template-columns: 1fr; } }
.discipline {
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--graphite);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  transition: background 400ms var(--film), border-color 400ms var(--film);
}
.discipline:hover { background: var(--emulsion); border-color: var(--practical); }
.discipline-num {
  font-family: var(--poster); font-weight: 700;
  font-size: clamp(40px, 4.5vw, 64px);
  color: var(--silver-ghost);
  line-height: 1;
  transition: color 400ms var(--film);
}
.discipline:hover .discipline-num { color: var(--practical); }
.discipline-title {
  margin-top: 12px;
  font-family: var(--serif); font-weight: 320;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1; letter-spacing: -0.015em;
  color: var(--lightbox);
}
.discipline-title em { font-style: italic; font-variation-settings: "opsz" 60, "SOFT" 100; color: var(--practical); }
.discipline-desc {
  margin-top: 14px;
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: clamp(17px, 1.15vw, 20px); line-height: 1.55;
  color: var(--silver-soft);
}
.discipline-list {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.discipline-tag {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(11px, 0.75vw, 14px);
  letter-spacing: 0.015em;
  color: var(--silver-soft);
  padding: 5px 9px; border: 1px solid var(--rule-medium);
}

/* Tools list */
.tools-block {
  background: var(--carbon); padding: clamp(60px, 10vh, 120px) var(--gutter);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.tools-wrap { max-width: var(--container); margin: 0 auto; }
.tools-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  margin-top: clamp(40px, 6vh, 64px);
}
@media (max-width: 720px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
.tool-col h5 {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.015em;
  color: var(--practical); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.tool-col ul { list-style: none; padding: 0; }
.tool-col li {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24;
  font-size: clamp(17px, 1.15vw, 20px); line-height: 1.7;
  color: var(--silver);
}
.tool-col li em { font-style: italic; font-variation-settings: "opsz" 24, "SOFT" 100; color: var(--silver-soft); }

/* =============================================================
   RESUME — full CV
   ============================================================= */
.cv-wrap { max-width: var(--container); margin: 0 auto; padding: clamp(40px, 6vh, 72px) var(--gutter); }
.cv-section {
  padding: clamp(48px, 7vh, 96px) 0;
  border-top: 1px solid var(--rule);
}
.cv-section:last-child { border-bottom: 1px solid var(--rule); }
.cv-section-head {
  display: grid; grid-template-columns: 3fr 9fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: baseline;
  margin-bottom: clamp(28px, 4vh, 48px);
}
@media (max-width: 760px) { .cv-section-head { grid-template-columns: 1fr; gap: 8px; } }
.cv-section-title {
  font-family: var(--poster); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 0.95; color: var(--lightbox);
  letter-spacing: 0.005em;
}
.cv-section-sub {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.015em;
  color: var(--silver-dim);
}
.cv-entry-grid {
  display: grid; gap: clamp(20px, 2vh, 32px);
}
.cv-entry {
  display: grid; grid-template-columns: 2fr 6fr 4fr;
  gap: clamp(16px, 2vw, 32px);
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
@media (max-width: 760px) {
  .cv-entry { grid-template-columns: 1fr; gap: 4px; padding: 22px 0; }
  .cv-entry .cv-place { font-size: clamp(14px, 0.95vw, 18px); }
}
.cv-entry:last-child { border-bottom: 0; }
.cv-year {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14.5px, 1vw, 19px);
  letter-spacing: 0.015em;
  color: var(--practical);
}
.cv-role {
  font-family: var(--serif); font-weight: 380;
  font-variation-settings: "opsz" 36;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.35;
  color: var(--lightbox);
}
.cv-role em { font-style: italic; font-variation-settings: "opsz" 36, "SOFT" 100; color: var(--silver); display: block; margin-top: 4px; font-size: 0.85em; }
.cv-place {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.015em;
  color: var(--silver-soft);
  text-align: right;
}
@media (max-width: 760px) { .cv-place { text-align: left; } }

.cv-download {
  margin-top: clamp(60px, 10vh, 100px);
  text-align: center;
}
.cv-download a {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  border: 1px solid var(--silver);
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(14.5px, 1vw, 19px); letter-spacing: 0.015em;
  color: var(--lightbox);
  transition: background 350ms var(--film), color 350ms var(--film), border-color 350ms var(--film);
}
.cv-download a:hover { background: var(--practical); color: var(--vantablack); border-color: var(--practical); }

/* =============================================================
   CONTACT
   ============================================================= */
.contact-block {
  min-height: 100svh;
  padding: 160px var(--gutter) clamp(80px, 14vh, 160px);
  display: grid; place-items: center; text-align: center;
  max-width: var(--container); margin: 0 auto;
}
.contact-statement {
  font-family: var(--serif); font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.9; letter-spacing: -0.04em;
  color: var(--lightbox);
  max-width: 18ch; margin: 24px auto 0;
  text-wrap: balance; word-break: keep-all;
}
.contact-statement em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--practical); }
.contact-lede {
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: clamp(19px, 1.5vw, 24px);
  line-height: 1.55; color: var(--silver);
  max-width: 44ch; margin: 32px auto 0;
}
.contact-mail {
  margin-top: clamp(40px, 7vh, 64px);
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 30px;
  border: 1px solid var(--silver);
  font-family: var(--serif);
  font-variation-settings: "opsz" 36;
  font-size: clamp(18px, 1.7vw, 26px);
  color: var(--lightbox);
  transition: background 400ms var(--film), color 400ms var(--film), border-color 400ms var(--film), transform 500ms var(--film);
  white-space: nowrap;
}
.contact-mail:hover { background: var(--practical); color: var(--vantablack); border-color: var(--practical); transform: translateY(-2px); }
.contact-mail .arrow { transition: transform 400ms var(--film); }
.contact-mail:hover .arrow { transform: translateX(5px); }
.contact-pills {
  margin-top: clamp(32px, 6vh, 48px);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.contact-pills a {
  font-family: var(--classic); font-style: italic; font-weight: 400;
  font-size: clamp(14px, 0.95vw, 18px); letter-spacing: 0.015em;
  color: var(--silver-soft);
  padding: 12px 22px; border: 1px solid var(--rule-strong);
  transition: color 350ms var(--film), border-color 350ms var(--film);
}
.contact-pills a:hover { color: var(--practical); border-color: var(--practical); }
.contact-foot {
  margin-top: 40px;
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.015em;
  color: var(--silver-dim);
}

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  padding: 32px var(--gutter);
  background: var(--vantablack);
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 24px; align-items: center;
}
footer .left, footer .right {
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(13.5px, 0.92vw, 17.5px);
  letter-spacing: 0.015em;
  color: var(--silver-dim);
}
footer .right { text-align: right; }
footer .center {
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: clamp(14.5px, 1vw, 19px); color: var(--silver-soft);
}
@media (max-width: 760px) {
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .right { text-align: center; }
}

/* =============================================================
   VIDEO MODAL
   ============================================================= */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.96);
  display: grid; place-items: center;
  padding: clamp(48px, 6vh, 80px) clamp(16px, 4vw, 56px) clamp(20px, 4vh, 48px);
  /* Respect iPhone notch / Android gesture areas */
  padding-top: max(env(safe-area-inset-top, 0px), clamp(48px, 6vh, 80px));
  padding-bottom: max(env(safe-area-inset-bottom, 0px), clamp(20px, 4vh, 48px));
  opacity: 0; visibility: hidden;
  transition: opacity 400ms var(--film), visibility 0s linear 400ms;
}
.modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal-frame {
  position: relative;
  /* Fit within viewport while preserving 16:9. Account for meta strip above (≈48px). */
  width: min(1280px, 92vw, calc((100vh - 200px) * 16 / 9));
  aspect-ratio: 16/9;
  background: #000;
  max-width: 100%;
  max-height: calc(100vh - 200px);
  transform: scale(0.96); transition: transform 700ms var(--film);
}
.modal.is-open .modal-frame { transform: scale(1); }
/* #modalPlayer fills the 16:9 modal-frame so the iframe inside it has a
   definite height to stretch into (height: 100% otherwise resolves to 0). */
#modalPlayer { position: absolute; inset: 0; background: #000; }
.modal iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Layout above the frame, stacked top-to-bottom to guarantee no collision:
   row 1 (highest): close button at top-right
   row 2 (just above frame): meta strip — "NOW PLAYING" on left, "YouTube · 16:9" on right
   The meta's right side is padded so it can't reach under the close button. */
.modal-close {
  position: absolute;
  top: -56px; right: 0;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: transparent;
  display: grid; place-items: center; color: var(--silver);
  z-index: 3;
  transition: background 300ms var(--film), color 300ms var(--film), border-color 300ms var(--film), transform 400ms var(--film);
}
.modal-close:hover,
.modal-close:focus-visible {
  background: var(--practical); color: var(--vantablack); border-color: var(--practical);
  transform: rotate(90deg);
}

.modal-meta {
  position: absolute; left: 0; right: 56px; top: -28px;
  display: flex; justify-content: space-between; gap: 18px;
  font-family: var(--classic); font-style: italic; font-weight: 400; font-size: clamp(13px, 0.95vw, 18px);
  letter-spacing: 0.015em;
  color: var(--silver-soft);
  pointer-events: none;
  white-space: nowrap; overflow: hidden;
}
.modal-meta > span { overflow: hidden; text-overflow: ellipsis; }
.modal-meta .now { color: var(--practical); }
.modal-meta .v { color: var(--lightbox); }

@media (max-width: 720px) {
  .modal { padding-left: 12px; padding-right: 12px; }
  .modal-frame { width: min(100%, calc((100vh - 140px) * 16 / 9)); max-height: calc(100vh - 140px); }
  .modal-close { top: -48px; width: 36px; height: 36px; }
  .modal-meta { right: 48px; top: -26px; font-size: 11px; gap: 10px; }
}

/* Phones held in landscape — extra-tight vertical budget */
@media (max-height: 480px) and (orientation: landscape) {
  .modal { padding-top: max(env(safe-area-inset-top, 0px) + 8px, 60px); padding-bottom: 8px; }
  .modal-frame { width: min(95vw, calc((100vh - 80px) * 16 / 9)); max-height: calc(100vh - 80px); }
  .modal-close { top: -42px; width: 32px; height: 32px; }
  .modal-meta { right: 44px; top: -22px; font-size: 10px; }
}

/* =============================================================
   NAV — sound toggle + controls wrapper
   ============================================================= */
.nav-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-sound {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--silver-dim);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--silver-soft);
  position: relative;
  transition: border-color 350ms var(--film), color 350ms var(--film), transform 500ms var(--film);
}
.nav-sound svg { width: 16px; height: 16px; overflow: visible; }
.nav-sound:hover { color: var(--lightbox); border-color: var(--silver); }
.nav-sound .snd-wave { opacity: 0; transition: opacity 400ms var(--film); transform-origin: 11px 9px; }
.nav-sound.is-on { color: var(--practical); border-color: var(--practical); }
.nav-sound.is-on .snd-wave { opacity: 1; animation: sndPulse 2.4s ease-in-out infinite; }
@keyframes sndPulse {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.78); }
}

/* Recording-dot blink on the home-hero status row */
.home-hero-slug .dot {
  display: inline-block;
  color: var(--practical);
  animation: recBlink 2s ease-in-out infinite;
}
@keyframes recBlink {
  0%, 60%, 100% { opacity: 1; }
  70%, 90%      { opacity: 0.25; }
}

/* =============================================================
   ACCESSIBILITY — focus rings + reduced motion
   ============================================================= */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--practical);
  outline-offset: 3px;
  /* DO NOT set border-radius here.  Browsers follow the element's own
     border-radius for the outline, so a circular button keeps a circular
     focus ring.  Setting a value here would override the element's actual
     border-radius and reshape the button itself. */
}
.nav-sound:focus-visible,
.nav-toggle:focus-visible,
.modal-close:focus-visible {
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .home-hero-slug .dot,
  .nav-sound.is-on .snd-wave { animation: none; }
}

/* =============================================================
   TOUCH DEVICES — disable lift/scale hover effects
   ============================================================= */
@media (hover: none) and (pointer: coarse) {
  .door:hover,
  .btn:hover,
  .reel-card:hover,
  .feature:hover,
  .still:hover img,
  .nav-brand:hover .nav-logo {
    transform: none !important;
  }
  /* Increase tap targets where the underline link is small */
  .contact-pills a,
  .footer a,
  .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* =============================================================
   MOBILE TOUCH-UPS — header padding so two controls fit on small phones
   ============================================================= */
@media (max-width: 760px) {
  /* Bring nav buttons up to iOS-recommended 44px tap target on mobile */
  .nav-controls { gap: 10px; }
  .nav-sound,
  .nav-toggle { width: 44px; height: 44px; }
  .nav-sound svg { width: 18px; height: 18px; }
  /* Logo a touch larger on mobile too */
  .nav-logo { width: 48px; height: 48px; font-size: 24px; }
}
@media (max-width: 380px) {
  .nav-controls { gap: 8px; }
  .nav-sound,
  .nav-toggle { width: 40px; height: 40px; }
}

/* Hidden tab — pause heavy CSS animations when document is offscreen */
body.is-hidden .marquee-track,
body.is-hidden .home-hero-slug .dot,
body.is-hidden .nav-sound.is-on .snd-wave { animation-play-state: paused; }
