/* ============================================================
   LUISA VILA — Talent dossier / pressbook
   Dark default · Bodoni display · Plex Mono metadata · cinematic editorial
   ============================================================ */

/* ---------- Base tokens (Dark default) ---------- */
:root,
:root[data-theme="dark"] {
  --bg: #0c0a08;
  --bg-elev: #14110d;
  --bg-band: #181410;
  --ink: #ece4d2;
  --ink-soft: #d6cdb8;
  --muted: #908773;
  --line: #2a241a;
  --line-strong: #4a4131;
  --gold: #c9a86a;
  --gold-soft: #e2c98c;
  --photo-frame: #14110d;
  --photo-blend: normal;
  --photo-filter: contrast(0.92) saturate(0.88) brightness(0.92);
  --header-bg: rgba(12, 10, 8, 0.78);

  --serif: "Fraunces", "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --serif-soft: "Cormorant Garamond", "Fraunces", Georgia, serif;
  --sans:  "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --maxw: 1480px;
  --pad-x: clamp(20px, 5vw, 80px);
  --rail-w: 64px;

  --t-fast: 200ms ease;
  --t: 400ms cubic-bezier(.2,.7,.2,1);
}

/* ---------- Light theme ---------- */
:root[data-theme="light"] {
  --bg: #f1ecdf;
  --bg-elev: #e8e1d0;
  --bg-band: #ddd4bf;
  --ink: #14110d;
  --ink-soft: #2a2520;
  --muted: #6b6357;
  --line: #d6cebd;
  --line-strong: #b9aa90;
  --gold: #b08642;
  --gold-soft: #c89f5a;
  --photo-frame: #f1ecdf;
  --photo-blend: multiply;
  --photo-filter: contrast(0.96) saturate(0.94);
  --header-bg: rgba(241, 236, 223, 0.86);
}

:root.theme-ready * { transition-property: background-color, color, border-color; transition-duration: var(--t-fast); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Typography ---------- */
.serif    { font-family: var(--serif); font-weight: 400; }
.mono     { font-family: var(--mono); }
.caps     { text-transform: uppercase; letter-spacing: 0.18em; }
.center   { text-align: center; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.98;
  margin: 0;
}
h1 { font-size: clamp(56px, 11vw, 180px); }
h2 { font-size: clamp(36px, 5.5vw, 80px); line-height: 1.02; }
h3 { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.1; }
p  { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.lead {
  font-family: var(--serif-soft);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  color: var(--ink-soft);
}

::selection { background: var(--gold); color: #0c0a08; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(80px, 10vw, 160px); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

main { padding-left: 0; }
@media (min-width: 1024px) {
  main { padding-left: var(--rail-w); }
}

/* ---------- Vertical rail (desktop) ---------- */
.rail {
  display: none;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail-w);
  z-index: 40;
  border-right: 1px solid var(--line);
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.rail .monogram {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.rail .monogram .dot { color: var(--gold); }
.rail .vmark {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.rail .igh {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: color var(--t-fast);
}
.rail .igh:hover { color: var(--gold); }

@media (min-width: 1024px) { .rail { display: flex; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad-x);
  transition: background var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}
@media (min-width: 1024px) { .site-header { left: var(--rail-w); } }

.brand {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.brand .b-mark { color: var(--gold); }
.brand .b-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Inline nav (desktop) */
.nav-inline {
  display: none;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.nav-inline a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.nav-inline a:hover { color: var(--gold); }
.nav-inline a[aria-current="page"] { color: var(--gold); }
.nav-inline a[aria-current="page"]::before { content: "—"; margin-right: 8px; color: var(--gold); }
@media (min-width: 800px) { .nav-inline { display: inline-flex; } }

.header-actions { display: inline-flex; align-items: center; gap: 14px; }

.icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.icon-btn svg { width: 14px; height: 14px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
}
.menu-btn .bars {
  display: inline-block;
  width: 22px; height: 8px; position: relative;
}
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
}
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after  { bottom: 0; }
@media (min-width: 800px) { .menu-btn { display: none; } }

/* When hero/video-hero is on the page, header text on top is light over the image */
.site-header.is-on-dark { color: #f3eedf; }
.site-header.is-on-dark .icon-btn { color: #f3eedf; border-color: rgba(255,255,255,0.45); }
.site-header.is-on-dark .icon-btn:hover { background: #fff; color: #0c0a08; border-color: #fff; }
.site-header.is-on-dark .nav-inline a { color: rgba(243,238,223,0.85); }
.site-header.is-on-dark .nav-inline a:hover { color: var(--gold-soft); }
.site-header.is-on-dark .menu-btn { color: #f3eedf; }
.site-header.is-on-dark.is-scrolled { color: var(--ink); background: var(--header-bg); }
.site-header.is-on-dark.is-scrolled .icon-btn { color: var(--ink); border-color: var(--line-strong); }
.site-header.is-on-dark.is-scrolled .menu-btn { color: var(--ink); }
.site-header.is-on-dark.is-scrolled .nav-inline a { color: var(--ink-soft); }

/* ---------- Mobile nav drawer ---------- */
.nav-drawer {
  position: fixed; inset: 0;
  z-index: 60;
  background: var(--bg);
  color: var(--ink);
  transform: translateY(-101%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 500ms cubic-bezier(.7,.0,.2,1), visibility 0s linear 500ms;
  display: flex; flex-direction: column;
}
.nav-drawer.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 500ms cubic-bezier(.7,.0,.2,1), visibility 0s;
}
.nav-drawer-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.nav-drawer-list {
  list-style: none; margin: 0;
  padding: clamp(40px, 8vw, 100px) var(--pad-x);
  display: flex; flex-direction: column;
  gap: clamp(8px, 1.5vw, 16px);
  flex: 1;
}
.nav-drawer-list a {
  font-family: var(--serif);
  font-size: clamp(40px, 9vw, 88px);
  letter-spacing: -0.02em;
  display: inline-flex; align-items: baseline;
  gap: 18px;
}
.nav-drawer-list a .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}
.nav-drawer-list a:hover { color: var(--gold); }
.nav-drawer-foot {
  padding: 22px var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
}
body.menu-open { overflow: hidden; }

/* ---------- Splash / Film leader ---------- */
.splash {
  position: fixed; inset: 0;
  z-index: 100;
  background: #050403;
  color: #f1ecdf;
  display: flex; align-items: center; justify-content: center;
  padding: var(--pad-x);
  opacity: 1;
  transition: opacity 700ms ease, visibility 700ms;
}
.splash::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
body.splashing { overflow: hidden; }

.splash-corner {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(241, 236, 223, 0.55);
}
.splash-corner.tl { top: 24px; left: 24px; }
.splash-corner.tr { top: 24px; right: 24px; text-align: right; }
.splash-corner.bl { bottom: 24px; left: 24px; }
.splash-corner.br { bottom: 24px; right: 24px; text-align: right; }

.splash-leader {
  position: relative; z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 980px;
}
.splash-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 28px;
  opacity: 0;
  animation: fadeUp 800ms ease 200ms forwards;
}
.splash-name {
  font-family: var(--serif);
  font-size: clamp(64px, 14vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 400;
}
.splash-name .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1000ms cubic-bezier(.2,.7,.2,1) forwards;
}
.splash-name .word:nth-child(1) { animation-delay: 350ms; }
.splash-name .word:nth-child(2) { animation-delay: 550ms; margin-left: 0.2em; }

.splash-sub {
  margin: 28px 0 56px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #cfc7b0;
  opacity: 0;
  animation: fadeUp 800ms ease 1000ms forwards;
}
.splash-progress {
  width: min(420px, 70%);
  height: 1px;
  margin: 0 auto 36px;
  background: rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
}
.splash-progress > span {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--gold);
  transition: width 1.6s cubic-bezier(.4,.0,.2,1);
}
.splash-progress.is-done > span { width: 100% !important; }
.splash-enter {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 500ms ease, background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.splash-enter::after { content: "→"; font-size: 14px; letter-spacing: 0; transition: transform var(--t-fast); }
.splash-enter.is-ready { opacity: 1; transform: none; pointer-events: auto; }
.splash-enter:hover { background: var(--gold); border-color: var(--gold); color: #0c0a08; }
.splash-enter:hover::after { transform: translateX(6px); }

@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Hero — poster layout (asymmetric) ---------- */
.poster {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100svh;
  min-height: 100vh;
  background: var(--bg);
  isolation: isolate;
}
@media (min-width: 1024px) {
  .poster { grid-template-columns: minmax(420px, 42fr) 58fr; }
}

.poster-meta {
  position: relative;
  padding: clamp(120px, 14vw, 200px) clamp(28px, 5vw, 64px) clamp(60px, 8vw, 100px);
  display: flex; flex-direction: column; gap: 28px;
  border-right: 1px solid var(--line);
  background: var(--bg);
  z-index: 2;
}
@media (max-width: 1023px) {
  .poster-meta { order: 2; border-right: 0; border-top: 1px solid var(--line); padding-top: 60px; }
}
.poster-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
}
.poster-tag::before {
  content: ""; width: 28px; height: 1px; background: var(--gold);
}
.poster-name {
  font-family: var(--serif);
  font-size: clamp(56px, 8.5vw, 152px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin: 0;
}
.poster-name em { font-style: italic; color: var(--gold-soft); }
.poster-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.poster-quote {
  font-family: var(--serif-soft);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  border-left: 1px solid var(--gold);
  padding-left: 18px;
  max-width: 460px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.spec-grid dt { color: var(--muted); }
.spec-grid dd { margin: 0; color: var(--ink); }

.poster-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.poster-photo {
  position: relative;
  background: #000;
  overflow: hidden;
  min-height: 60svh;
}
.poster-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: contrast(0.95) saturate(0.92);
  transform: scale(1.04);
  animation: heroIn 1800ms cubic-bezier(.2,.7,.2,1) 100ms forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.poster-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.poster-frame {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  z-index: 2;
}
.poster-frame.tl, .poster-frame.tr { display: none; }
.poster-frame.bl { bottom: 22px; left: 22px; }
.poster-frame.br { bottom: 22px; right: 22px; text-align: right; }
.poster-frame::before, .poster-frame::after {
  content: ""; display: inline-block; width: 14px; height: 1px;
  background: currentColor; vertical-align: middle; margin: 0 6px;
}

@media (max-width: 1023px) {
  .poster-photo { aspect-ratio: 4/5; min-height: 0; }
  .poster-frame { display: none; }
}

/* ---------- Marquee strip ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.marquee-track span {
  display: inline-flex; align-items: center; gap: 14px;
}
.marquee-track .star { color: var(--gold); font-size: 8px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn::after { content: "→"; font-family: var(--sans); font-size: 14px; letter-spacing: 0; transition: transform var(--t-fast); }
.btn:hover::after { transform: translateX(4px); }
.btn-light { color: #fff; }
.btn-light:hover { background: #fff; color: #111; }
.btn-dark { color: var(--ink); border-color: var(--line-strong); }
.btn-dark:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-gold { color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: #0c0a08; }
.btn-ghost { padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Page heads ---------- */
.page-head {
  padding: 160px var(--pad-x) 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-head .page-num {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 12px;
}
.page-head .page-num::before {
  content: ""; width: 32px; height: 1px; background: var(--gold);
}
.page-head h1 {
  font-size: clamp(64px, 12vw, 180px);
  letter-spacing: -0.03em;
}
.page-head h1 em { font-style: italic; color: var(--gold-soft); font-family: var(--serif); }
.page-head .lead { max-width: 540px; }
@media (max-width: 900px) { .page-head { padding-top: 130px; grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 120px);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Filmography (acting) ---------- */
.filmography {
  border-top: 1px solid var(--line);
}
.filmography .row {
  display: grid;
  grid-template-columns: 80px 1fr 200px 200px;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--t-fast), color var(--t-fast);
}
.filmography .row:hover { padding-left: 16px; color: var(--gold); }
.filmography .yr {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.18em;
  color: var(--muted);
}
.filmography .ttl {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 38px);
  letter-spacing: -0.01em;
}
.filmography .ttl em { font-style: italic; color: var(--gold-soft); }
.filmography .role {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.filmography .venue {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
@media (max-width: 900px) {
  .filmography .row { grid-template-columns: 60px 1fr; }
  .filmography .role, .filmography .venue { grid-column: 2; text-align: left; }
}

/* ---------- Case files (production) ---------- */
.case-file {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.case-file:nth-child(even) { direction: rtl; }
.case-file:nth-child(even) > * { direction: ltr; }
.case-file:last-child { border-bottom: 1px solid var(--line); }

.case-meta { position: sticky; top: 110px; }
.case-num {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.4em; color: var(--gold);
  margin-bottom: 24px;
}
.case-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 84px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 24px;
}
.case-title em { font-style: italic; color: var(--gold-soft); }

.spec-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 24px;
}
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; color: var(--ink-soft); }

.case-figure {
  margin: 0;
  background: var(--photo-frame);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.case-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: var(--photo-blend);
  filter: var(--photo-filter);
  transition: transform 1000ms cubic-bezier(.2,.7,.2,1);
}
.case-file:hover .case-figure img { transform: scale(1.03); }
.case-body {
  font-family: var(--serif-soft);
  font-size: 18px; line-height: 1.55;
  margin-top: 22px;
  max-width: 60ch;
  color: var(--ink-soft);
}
.case-body strong { color: var(--ink); font-weight: 500; }

@media (max-width: 900px) {
  .case-file { grid-template-columns: 1fr; }
  .case-file:nth-child(even) { direction: ltr; }
  .case-meta { position: static; }
}

/* ---------- Galleries ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(8px, 1.2vw, 18px);
}
.gallery figure { margin: 0; overflow: hidden; background: var(--photo-frame); position: relative; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: var(--photo-blend);
  filter: var(--photo-filter);
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
}
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.45);
  padding: 6px 10px;
  backdrop-filter: blur(4px);
}
.g-tall  { grid-column: span 4; aspect-ratio: 3/4; }
.g-wide  { grid-column: span 8; aspect-ratio: 16/10; }
.g-square{ grid-column: span 4; aspect-ratio: 1/1; }
.g-half  { grid-column: span 6; aspect-ratio: 4/5; }
.g-third { grid-column: span 4; aspect-ratio: 3/4; }
.g-full  { grid-column: span 12; aspect-ratio: 21/9; }

/* ---------- Card link (home) ---------- */
.home-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 48px);
}
.card-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--photo-frame);
}
.card-link img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: var(--photo-blend);
  filter: var(--photo-filter);
  transition: transform 1000ms cubic-bezier(.2,.7,.2,1);
}
.card-link:hover img { transform: scale(1.04); }
.card-link .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.card-link .label {
  position: absolute; left: clamp(20px, 3vw, 32px); bottom: clamp(20px, 3vw, 28px);
  color: #fff;
}
.card-link .label .eyebrow { color: var(--gold-soft); }
.card-link .label .title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  margin-top: 6px;
}
@media (max-width: 700px) { .home-cta { grid-template-columns: 1fr; } }

/* ---------- Reel hero (acting) ---------- */
.video-hero {
  position: relative;
  height: 100svh;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
  color: #fff;
  isolation: isolate;
}
.video-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.video-hero-bg iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%) scale(1.15);
  border: 0;
  filter: brightness(0.78) contrast(1.02) saturate(0.9);
}
.video-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.video-hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(120px, 14vw, 180px) var(--pad-x) clamp(48px, 6vw, 80px);
}
.video-hero h1 {
  font-size: clamp(64px, 12vw, 180px);
  letter-spacing: -0.025em;
  line-height: 0.92;
  margin: 14px 0 0;
}
.video-hero h1 em { font-style: italic; color: var(--gold-soft); font-family: var(--serif); }
.video-hero .credit {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold-soft);
  display: inline-flex; align-items: center; gap: 10px;
}
.video-hero .credit::before {
  content: ""; width: 28px; height: 1px; background: var(--gold);
}
.video-hero .video-hero-foot {
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: end;
}
.video-hero .credits-line {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  line-height: 1.6;
}
.sound-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.6);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: #fff;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.sound-toggle:hover { background: #fff; color: #0c0a08; }
.sound-toggle .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(201,168,106,0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(201,168,106,0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(201,168,106,0); }
  100% { box-shadow: 0 0 0 0   rgba(201,168,106,0); }
}
@media (max-width: 700px) {
  .video-hero .video-hero-foot { grid-template-columns: 1fr; }
  .sound-toggle { align-self: flex-start; }
}

/* ---------- Skill grid ---------- */
.skill-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.skill-row .skill {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.skill-row .skill .num {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.32em; color: var(--gold);
}
.skill-row .skill h4 {
  font-family: var(--serif-soft);
  font-size: 22px;
  margin-top: 6px;
  letter-spacing: 0;
}
@media (max-width: 900px) { .skill-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: center;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block .label {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}
.contact-block .value {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 38px);
  display: inline-block;
  position: relative;
}
.contact-block .value::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t);
}
.contact-block .value:hover::after { width: 100%; }
.contact-block + .contact-block { margin-top: 28px; }
.contact-portrait {
  aspect-ratio: 4/5;
  background: var(--photo-frame);
  overflow: hidden;
}
.contact-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: var(--photo-blend);
  filter: var(--photo-filter);
}

/* ---------- Footer / Colophon ---------- */
.colophon {
  background: var(--bg-band);
  color: var(--ink-soft);
  padding: clamp(60px, 8vw, 100px) var(--pad-x) 28px;
  border-top: 1px solid var(--line);
}
.colophon-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.colophon h3 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.colophon h3 em { font-style: italic; color: var(--gold-soft); }
.colophon .label {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px; display: block;
}
.colophon a { color: var(--ink); transition: color var(--t-fast); border-bottom: 1px solid transparent; }
.colophon a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.colophon p { color: var(--ink-soft); margin: 0 0 6px; }
.colophon-meta {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
}
.colophon-meta .center { text-align: center; }
.colophon-meta .right  { text-align: right; }
@media (max-width: 900px) {
  .colophon-row { grid-template-columns: 1fr 1fr; }
  .colophon-meta { grid-template-columns: 1fr; }
  .colophon-meta .center, .colophon-meta .right { text-align: left; }
}
@media (max-width: 600px) { .colophon-row { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 900ms ease, transform 900ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile fine-tuning ---------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header { padding: 14px var(--pad-x); }
  .brand .b-sub { display: none; }
  .icon-btn { width: 32px; height: 32px; }
  .splash-corner { font-size: 9px; letter-spacing: 0.32em; }
  .splash-corner.bl, .splash-corner.br { display: none; }
  .filmography .row { padding: 18px 0; }
  .filmography .row:hover { padding-left: 0; }
  .marquee-track { gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .g-tall, .g-third, .g-half, .g-wide, .g-square { grid-column: span 2; }
  .g-full { grid-column: span 2; aspect-ratio: 4/3; }
  .case-figure { aspect-ratio: 4/5; }
}
