/* =============================================================================
   DIANA TAYLOR — "The Stage"
   A persistent performer; the interface recomposes around her per scene.
   Sections:  0 Tokens · 1 Reset · 2 Chrome · 3 Index · 4 Bottom bar
              5 Stage (light/figure/backtype) · 6 Scenes · 7 Scene content
              8 Cursor · 9 Curtain · 10 Reveal · 11 Responsive · 12 Reduced motion
   ========================================================================== */

/* -------- 0 · TOKENS -------------------------------------------------------- */
:root {
  --stage:      #0b0a08;   /* warm near-black                */
  --stage-2:    #16120d;   /* raised warm charcoal           */
  --ink:        #e8ddca;   /* stage-light cream (display)    */
  --ink-2:      #c7baa2;   /* softened cream                 */
  --muted:      #8b8173;   /* quiet taupe (secondary)        */
  --muted-2:    #6a6155;   /* quieter                        */
  --amber:      #c88f52;   /* the warm shaft — used sparingly*/
  --line:       rgba(232,221,202,.16);
  --line-soft:  rgba(232,221,202,.08);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans:  "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-cam: cubic-bezier(.66, 0, .18, 1);   /* a camera move */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --cut:      1.05s;                            /* scene cut duration */

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --track:  .28em;
}

/* -------- 1 · RESET / BASE -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--stage);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1; }

::selection { background: var(--amber); color: #140f09; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 200;
  transform: translateY(-160%);
  padding: .7rem 1.1rem; background: var(--ink); color: #120d08;
  font: 500 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 4px;
}

/* Cursor is custom in js + fine-pointer; keep native elsewhere */
@media (hover: hover) and (pointer: fine) {
  .js body { cursor: none; }
  .js a, .js button { cursor: none; }
}

/* =============================================================================
   5 · THE STAGE  (persistent: lighting, monumental type, the figure)
   ========================================================================== */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* base wash — warm vertical grade */
.stage__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 62% 8%, rgba(60,50,38,.55), transparent 55%),
    linear-gradient(180deg, #100d0a 0%, var(--stage) 42%, #070605 100%);
}

/* the diagonal light shaft catching the back wall */
.stage__beam {
  position: absolute;
  top: -30%; right: 14%;
  width: 46vw; height: 150vh;
  background: linear-gradient(180deg, rgba(226,190,140,.20), rgba(200,143,82,.05) 45%, transparent 72%);
  transform: rotate(14deg);
  filter: blur(28px);
  opacity: .8;
}

/* moving spotlight — follows cursor, biased toward the figure */
.stage__spot {
  position: absolute; inset: 0;
  background: radial-gradient(38vw 46vw at var(--mx, 50%) var(--my, 40%),
              rgba(255,241,222,.16), rgba(255,241,222,.05) 30%, transparent 60%);
  transition: background-position .4s linear;
  mix-blend-mode: screen;
}

/* reflective floor */
.stage__floor {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 30vh;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(150,130,104,.14), transparent 60%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.5));
}
.stage__floor::before {   /* horizon sheen */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  opacity: .6;
}

.stage__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 42%, transparent 52%, rgba(0,0,0,.62) 100%);
}

.stage__grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .05;
  mix-blend-mode: overlay;
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-2%)}
  60%{transform:translate(-2%,4%)} 80%{transform:translate(4%,-3%)} 100%{transform:translate(0,0)}
}

/* --- Monumental type BEHIND the figure ------------------------------------ */
.backtype {
  position: absolute; inset: 0;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0);
  will-change: transform;
}
.backtype__scene {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity var(--cut) var(--ease-cam);
}
.backtype__scene.is-active { opacity: 1; }

/* Arrival: the split name that embraces her silhouette */
.backtype__line {
  position: absolute;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: .74;
  letter-spacing: .01em;
  font-size: clamp(4.5rem, 16.5vw, 15.5rem);
  text-shadow: 0 2px 40px rgba(0,0,0,.5);
}
.backtype__line--a { top: 15vh;  left: var(--gutter); }
.backtype__line--b { bottom: 20vh; right: var(--gutter); color: var(--ink-2); }

/* Other scenes: a single ghosted chapter word */
.backtype__mono {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(6rem, 26vw, 26rem);
  letter-spacing: .02em;
  color: var(--ink);
  opacity: .09;
  white-space: nowrap;
}

/* --- The persistent figure ------------------------------------------------- */
.figure {
  position: fixed;
  left: 50%; bottom: 7vh;
  height: 90vh;
  aspect-ratio: 1024 / 1536;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  transition: transform var(--cut) var(--ease-cam),
              opacity var(--cut) var(--ease-cam),
              filter var(--cut) var(--ease-cam);
  will-change: transform, opacity, filter;
}
.figure__parallax {
  position: relative; width: 100%; height: 100%;
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--fy, 0px)), 0) scale(var(--fs, 1));
  transition: transform .5s var(--ease-out);
}
.figure__img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)) contrast(1.02);
}
.figure__reflection {
  position: absolute; left: 0; top: 100%;
  width: 100%; height: 46%;
  object-fit: contain; object-position: top center;
  transform: scaleY(-1);
  opacity: .12; filter: blur(3px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 66%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 66%);
}

/* Per-scene camera poses — she stays; the frame moves around her */
.figure[data-scene="0"] { transform: translateX(-50%) scale(1); }
.figure[data-scene="1"] { transform: translate(calc(-50% + 21vw), 0) scale(1.03); }
.figure[data-scene="2"] { transform: translate(calc(-50% - 22vw), 1vh) scale(1.09); }
.figure[data-scene="3"] { transform: translateX(-50%) scale(.9); opacity: .3; filter: blur(7px) saturate(.7); }
.figure[data-scene="4"] { transform: translate(calc(-50% + 34vw), 9vh) scale(1.15); opacity: .82; }
.figure[data-scene="5"] { transform: translate(-50%, 11vh) scale(.82); opacity: .4; }

/* =============================================================================
   2 · FIXED CHROME
   ========================================================================== */
.chrome { position: fixed; z-index: 30; pointer-events: none; }
.chrome a, .chrome button { pointer-events: auto; }

.chrome--top {
  top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 2rem;
  padding: clamp(1.1rem, 2.5vw, 1.9rem) var(--gutter);
}

.brand { display: inline-flex; align-items: baseline; gap: .7rem; }
.brand__initials {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  letter-spacing: .04em; color: var(--ink);
}
.brand__name {
  font-size: .68rem; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--muted);
}

.topnav { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); margin-left: 2.5rem; }
.topnav a {
  position: relative;
  font-size: .72rem; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--ink-2); padding: .3rem 0;
  transition: color .3s;
}
.topnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
}
.topnav a:hover, .topnav a:focus-visible { color: var(--ink); }
.topnav a:hover::after, .topnav a:focus-visible::after { transform: scaleX(1); }

.disciplines {
  margin-left: auto;
  font-size: .7rem; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--muted);
}
.disciplines span { color: var(--amber); margin: 0 .35em; }

/* =============================================================================
   3 · SCENE INDEX  (the stage control)
   ========================================================================== */
.index {
  position: fixed; z-index: 30;
  top: 50%; right: var(--gutter);
  transform: translateY(-50%);
}
.index__list { display: grid; gap: .55rem; }
.index__btn {
  display: flex; align-items: center; justify-content: flex-end; gap: .9rem;
  width: 100%;
  color: var(--muted-2);
  transition: color .35s;
}
.index__btn i {
  font-style: normal; font-size: .72rem; letter-spacing: .18em;
  font-variant-numeric: tabular-nums;
  color: var(--muted-2); transition: color .35s;
}
.index__btn em {
  font-style: normal; font-size: .68rem; letter-spacing: var(--track);
  text-transform: uppercase;
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  transition: max-width .45s var(--ease-out), opacity .35s;
}
.index__btn::after {
  content: ""; width: 1.6rem; height: 1px; background: currentColor;
  transform: scaleX(.4); transform-origin: right; transition: transform .4s var(--ease-out);
}
.index__btn:hover em, .index__btn:focus-visible em { max-width: 8rem; opacity: 1; }
.index__btn:hover, .index__btn:focus-visible { color: var(--ink-2); }
.index__btn.is-active { color: var(--ink); }
.index__btn.is-active i { color: var(--ink); }
.index__btn.is-active em { max-width: 8rem; opacity: 1; }
.index__btn.is-active::after { background: var(--amber); transform: scaleX(1); }

/* =============================================================================
   4 · BOTTOM BAR
   ========================================================================== */
.chrome--bottom {
  bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 1.5rem;
  padding: clamp(1rem, 2.2vw, 1.7rem) var(--gutter);
}
.nowplaying {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .7rem; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--muted);
}
.nowplaying__idx { color: var(--ink); font-variant-numeric: tabular-nums; }
.nowplaying__sep { color: var(--muted-2); }
.nowplaying__name { color: var(--ink-2); }

.progress {
  flex: 1; max-width: 30vw; height: 1px; background: var(--line-soft);
  position: relative; overflow: hidden;
}
.progress__bar {
  position: absolute; inset: 0; transform-origin: left;
  transform: scaleX(calc(var(--p, 0)));
  background: linear-gradient(90deg, var(--muted), var(--ink));
  transition: transform var(--cut) var(--ease-cam);
}

.pager { display: inline-flex; align-items: center; gap: 1.1rem; margin-left: auto; }
.pager__btn { width: 42px; color: var(--muted); transition: color .3s, transform .3s var(--ease-out); }
.pager__btn svg { width: 100%; height: 8px; fill: none; stroke: currentColor; stroke-width: 1; }
.pager__btn:hover:not(:disabled) { color: var(--ink); }
.pager__btn#nextBtn:hover:not(:disabled) { transform: translateX(4px); }
.pager__btn#prevBtn:hover:not(:disabled) { transform: translateX(-4px); }
.pager__btn:disabled { opacity: .28; }
.pager__count {
  font-size: .72rem; letter-spacing: .2em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pager__count b { color: var(--ink); font-weight: 400; }

/* =============================================================================
   6 · SCENES  (base = scrollable fallback; .js = fixed cinematic cuts)
   ========================================================================== */
.scene {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  z-index: 10;
  padding: clamp(6rem, 12vh, 9rem) var(--gutter) clamp(5rem, 10vh, 7rem);
}

/* JS mode: stacked fixed overlays, only the active one visible */
.js .scene {
  position: fixed; inset: 0;
  min-height: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--cut) var(--ease-cam), visibility 0s linear var(--cut);
}
.js .scene.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity var(--cut) var(--ease-cam), visibility 0s;
}
.js body { overflow: hidden; height: 100vh; height: 100svh; }

/* scenes carry no full background so the figure shows through */
.scene__eyebrow {
  font-size: .7rem; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--muted);
}
.scene__head { max-width: 30rem; }
.scene__head--right { margin-left: auto; text-align: right; }
.scene__head--center { text-align: center; margin-inline: auto; }
.scene__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
  color: var(--ink);
  margin-top: .3rem;
}

/* =============================================================================
   7 · SCENE CONTENT
   ========================================================================== */

/* ---- 00 Arrival ---- */
.scene--arrival .scene__eyebrow--tl {
  position: absolute; top: 34vh; left: var(--gutter);
}
.arrival__tagline {
  position: absolute; left: var(--gutter); bottom: 24vh;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem); color: var(--ink-2); line-height: 1.4;
}
.reel-cue {
  position: absolute; left: var(--gutter); bottom: 13vh;
  display: inline-flex; align-items: center; gap: 1rem;
  color: var(--ink-2);
}
.reel-cue__ring {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color .4s, transform .5s var(--ease-out);
}
.reel-cue__tri {
  width: 0; height: 0; margin-left: 3px;
  border-left: 9px solid var(--ink-2);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  transition: border-left-color .4s;
}
.reel-cue__label { font-size: .74rem; letter-spacing: var(--track); text-transform: uppercase; }
.reel-cue__line { width: clamp(2rem, 6vw, 6rem); height: 1px; background: var(--line); transition: background .4s; }
.reel-cue:hover .reel-cue__ring, .reel-cue:focus-visible .reel-cue__ring { border-color: var(--amber); transform: scale(1.06); }
.reel-cue:hover .reel-cue__tri { border-left-color: var(--amber); }
.reel-cue:hover .reel-cue__line { background: var(--amber); }

.feature-card {
  position: absolute; right: var(--gutter); bottom: 12vh;
  display: inline-flex; align-items: center; gap: 1.1rem;
}
.feature-card__still {
  width: 92px; height: 116px; background-size: cover; background-position: 50% 20%;
  filter: grayscale(.2) brightness(.9);
  transition: filter .5s, transform .6s var(--ease-out);
  border: 1px solid var(--line-soft);
}
.feature-card__meta { display: grid; gap: .18rem; text-align: right; }
.feature-card__meta b {
  font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--ink);
}
.feature-card__meta i {
  font-style: normal; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.feature-card:hover .feature-card__still { filter: none; transform: scale(1.03); }

/* ---- 01 Work / Filmography ---- */
.scene--work { padding-right: clamp(4rem, 14vw, 12rem); }
.work {
  position: relative;
  margin-top: clamp(2rem, 5vh, 4rem);
  max-width: 46rem;
}
.filmo { display: grid; gap: clamp(.4rem, 1.4vh, 1rem); }
.filmo__link {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  grid-template-areas: "no title meta" "no role dir";
  align-items: baseline; column-gap: 1.2rem; row-gap: .1rem;
  width: 100%; text-align: left;
  padding: clamp(.5rem, 1.4vh, 1rem) 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  transition: color .4s;
}
.filmo__row:last-child .filmo__link { border-bottom: 1px solid var(--line-soft); }
.filmo__no  { grid-area: no; font-size: .72rem; letter-spacing: .14em; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.filmo__title {
  grid-area: title; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.7rem); line-height: 1; color: var(--ink-2);
  transition: color .4s, transform .5s var(--ease-out);
}
.filmo__meta { grid-area: meta; display: inline-flex; gap: 1rem; }
.filmo__meta i { font-style: normal; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.filmo__role { grid-area: role; font-size: .8rem; letter-spacing: .04em; color: var(--muted); }
.filmo__dir  { grid-area: dir;  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); text-align: right; }
.filmo__link:hover, .filmo__link:focus-visible { color: var(--ink); }
.filmo__link:hover .filmo__title, .filmo__link:focus-visible .filmo__title { color: var(--ink); transform: translateX(10px); }

/* still viewer — appears to the side on hover/focus */
.still {
  position: fixed;
  right: clamp(2rem, 8vw, 8rem); top: 50%;
  width: clamp(180px, 20vw, 300px);
  transform: translateY(-50%) scale(.98);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease-out), transform .55s var(--ease-out), visibility 0s linear .45s;
  z-index: 12;
}
.still.is-visible { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); transition-delay: 0s; }
.still__frame {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--stage-2);
  border: 1px solid var(--line);
}
.still__frame::after {   /* film grain over still */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55));
}
.still__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.05); }
.still__placeholder {
  position: absolute; inset: 0; display: none; place-items: center;
  font-size: .68rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted);
  background: repeating-linear-gradient(45deg, #14110d, #14110d 12px, #171310 12px, #171310 24px);
}
.still.no-image .still__img { display: none; }
.still.no-image .still__placeholder { display: grid; }
.still__cap {
  margin-top: .7rem; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

/* ---- 02 Range / Roles ---- */
.scene--range { padding-left: clamp(4rem, 14vw, 12rem); }
.roles {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: grid; gap: clamp(.1rem, .8vh, .6rem); text-align: right;
}
.roles__btn {
  color: transparent;
  -webkit-text-stroke: 1px var(--muted-2);
  transition: color .4s, -webkit-text-stroke-color .4s, transform .5s var(--ease-out);
}
.roles__word {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(2rem, 6vw, 4.6rem); line-height: 1.04;
}
.roles__btn:hover, .roles__btn:focus-visible {
  color: var(--ink); -webkit-text-stroke-color: transparent; transform: translateX(-12px);
}
.roles__readout {
  position: absolute; left: clamp(4rem, 14vw, 12rem); bottom: 22vh;
  max-width: 22rem;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  color: var(--ink-2); line-height: 1.4;
  min-height: 3em;
  transition: opacity .4s;
}

/* ---- 03 Reel ---- */
.scene--reel { display: grid; place-content: center; text-align: center; }
.scene--reel .scene__head { margin-bottom: clamp(1.5rem, 4vh, 3rem); }
.reel { display: grid; justify-items: center; gap: 1.1rem; }
.reel__stage {
  position: relative;
  width: min(64vw, 60vh, 780px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
}
.reel__poster {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: grayscale(.25) contrast(1.05) brightness(.7);
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out), filter .6s;
}
.reel__scrim { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, transparent, rgba(0,0,0,.5)); }
.reel__play { position: absolute; inset: 0; display: grid; place-items: center; }
.reel__play svg { width: clamp(58px, 7vw, 84px); height: auto; fill: none; }
.reel__play circle { stroke: var(--ink); stroke-width: 1; opacity: .85; transition: stroke .4s; }
.reel__play path { fill: var(--ink); transition: fill .4s; transform-origin: center; }
.reel__runtime {
  position: absolute; left: 1rem; bottom: 1rem;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
}
.reel__stage:hover .reel__poster { transform: scale(1.06); filter: grayscale(0) contrast(1.05) brightness(.82); }
.reel__stage:hover .reel__play circle { stroke: var(--amber); }
.reel__stage:hover .reel__play path { fill: var(--amber); }
.reel__note { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }

/* ---- 04 About ---- */
.scene--about { display: grid; align-content: center; }
.about {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-areas: "head portrait" "body portrait" "recog portrait";
  column-gap: clamp(2rem, 6vw, 6rem); row-gap: 1.6rem;
  align-items: start;
  max-width: 62rem;
}
.scene--about .scene__head { grid-area: head; }
.about__body { grid-area: body; max-width: 34rem; display: grid; gap: 1rem; color: var(--muted); }
.about__lede {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.3; color: var(--ink-2);
}
.about__body p { font-size: .95rem; line-height: 1.7; }
.about__portrait {
  grid-area: portrait; align-self: stretch;
  border: 1px solid var(--line); overflow: hidden;
  aspect-ratio: 3 / 4;
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(.1) contrast(1.03); }
.recognition { grid-area: recog; max-width: 30rem; }
.recognition__h { font-size: .7rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.recognition ul { display: grid; gap: .5rem; }
.recognition li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--line-soft);
  font-size: .82rem; color: var(--ink-2);
}
.recognition li i { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.recognition__note { margin-top: .8rem; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

/* ---- 05 Contact / Curtain ---- */
.scene--contact { display: grid; place-content: center; text-align: center; }
.contact { display: grid; justify-items: center; gap: clamp(2rem, 5vh, 3.5rem); }
.contact__role { margin-top: .8rem; font-size: .74rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.contact__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(2rem, 6vw, 5rem); }
.contact__col { display: grid; gap: .5rem; justify-items: center; }
.contact__label { font-size: .66rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted-2); margin-bottom: .3rem; }
.contact__col a {
  position: relative; font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2);
  transition: color .3s;
}
.contact__col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.contact__col a:hover, .contact__col a:focus-visible { color: var(--ink); }
.contact__col a:hover::after, .contact__col a:focus-visible::after { transform: scaleX(1); }
.contact__fin {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--muted);
}

/* =============================================================================
   8 · CUSTOM CURSOR
   ========================================================================== */
.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .js .cursor { display: block; } }
.cursor__dot, .cursor__ring, .cursor__label {
  position: absolute; top: 0; left: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.cursor__ring {
  width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s, background-color .3s;
}
.cursor__label {
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: #120d08;
  opacity: 0; transition: opacity .25s;
}
.cursor.is-hot .cursor__ring { width: 46px; height: 46px; border-color: var(--amber); }
.cursor.is-hot.has-label .cursor__ring { width: 70px; height: 70px; background: var(--amber); }
.cursor.is-hot.has-label .cursor__dot { opacity: 0; }
.cursor.is-hot.has-label .cursor__label { opacity: 1; }
.cursor.is-down .cursor__ring { width: 26px; height: 26px; }

/* =============================================================================
   9 · CURTAIN (opening)
   ========================================================================== */
.curtain {
  position: fixed; inset: 0; z-index: 80;
  background: var(--stage);
  display: grid; place-items: center;
  transition: opacity 1s var(--ease-cam), visibility 0s linear 1s;
  /* Safety net: lift even if script.js never runs */
  animation: curtainAuto .01s linear 2.6s forwards;
}
.curtain.is-open { opacity: 0; visibility: hidden; }
@keyframes curtainAuto { to { opacity: 0; visibility: hidden; } }
.curtain__mark { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.curtain__initials {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 500; letter-spacing: .1em; color: var(--ink);
  opacity: 0; animation: markIn 1s var(--ease-out) .15s forwards;
}
.curtain__word {
  font-size: .66rem; letter-spacing: .5em; text-transform: uppercase; color: var(--muted);
  padding-left: .5em;
  opacity: 0; animation: markIn 1s var(--ease-out) .45s forwards;
}
@keyframes markIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =============================================================================
   10 · REVEAL (choreographed entrances)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
}
.scene.is-active [data-reveal] {
  opacity: 1; transform: none;
  transition-delay: calc(var(--i, 0) * 70ms + 160ms);
}
/* fallback (no-js): everything visible */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* =============================================================================
   11 · RESPONSIVE
   ========================================================================== */

/* Large tablet / small laptop */
@media (max-width: 1080px) {
  .figure { height: 82vh; bottom: 8vh; }
  .figure[data-scene="1"] { transform: translate(calc(-50% + 24vw), 0) scale(1); }
  .figure[data-scene="2"] { transform: translate(calc(-50% - 24vw), 0) scale(1.05); }
  .figure[data-scene="4"] { transform: translate(calc(-50% + 32vw), 8vh) scale(1.12); }
  .still { right: 3vw; width: clamp(150px, 22vw, 220px); }
}

/* Tablet portrait */
@media (max-width: 860px) {
  :root { --track: .24em; }
  .disciplines { display: none; }
  .topnav { margin-left: auto; }
  .backtype__line--a { top: 12vh; }
  .backtype__line--b { bottom: 24vh; }

  .about {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "portrait" "body" "recog";
    max-width: 34rem; row-gap: 1.4rem;
  }
  .about__portrait { max-width: 20rem; }
  .still { position: static; transform: none; opacity: 1; visibility: visible;
           width: 100%; max-width: 260px; margin-top: 2rem; }
  .still.is-visible { transform: none; }
}

/* Mobile — rethink: she becomes the ground the content rises from */
@media (max-width: 640px) {
  :root { --gutter: 1.15rem; }

  /* figure anchored, quieter, so text is legible above her */
  .figure { height: 66vh; bottom: 0; }
  .figure__img { object-position: bottom center; }
  .figure[data-scene="0"] { transform: translate(-50%, 4vh) scale(1); opacity: .9; }
  .figure[data-scene="1"] { transform: translate(-42%, 8vh) scale(1.05); opacity: .28; }
  .figure[data-scene="2"] { transform: translate(-58%, 8vh) scale(1.08); opacity: .3; }
  .figure[data-scene="3"] { transform: translate(-50%, 6vh) scale(.95); opacity: .2; filter: blur(6px); }
  .figure[data-scene="4"] { transform: translate(-50%, 12vh) scale(1.35); opacity: .22; }
  .figure[data-scene="5"] { transform: translate(-50%, 10vh) scale(.85); opacity: .32; }

  /* legibility scrim rising from her feet, sitting above the figure */
  .js .scene.is-active::before {
    content: ""; position: fixed; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(11,10,8,.35) 0%, rgba(11,10,8,.72) 55%, rgba(11,10,8,.92) 100%);
  }
  .scene { padding-top: 6.5rem; padding-bottom: 6.5rem; }

  /* index collapses; pager + swipe drive navigation */
  .index { display: none; }
  .progress { max-width: none; }

  .brand__name { display: none; }
  .topnav { gap: 1.1rem; }

  /* Arrival: name stacks, content flows */
  .backtype__line { font-size: clamp(3.6rem, 21vw, 7rem); }
  .backtype__line--a { top: 10vh; left: var(--gutter); }
  .backtype__line--b { top: 22vh; bottom: auto; right: var(--gutter); left: auto; }
  .backtype__mono { font-size: 42vw; opacity: .07; }

  .scene--arrival .scene__eyebrow--tl { top: 31vh; }
  .arrival__tagline { bottom: 21vh; }
  .reel-cue { bottom: 13vh; }
  .feature-card { display: none; }

  /* Work list simplifies */
  .scene--work { padding-right: var(--gutter); }
  .filmo__link {
    grid-template-columns: 1.8rem 1fr;
    grid-template-areas: "no title" "no meta" "no role";
    row-gap: .25rem;
  }
  .filmo__dir { display: none; }
  .filmo__meta { gap: .8rem; }
  .filmo__title { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .filmo__link:hover .filmo__title, .filmo__link:focus-visible .filmo__title { transform: translateX(5px); }

  /* Range */
  .scene--range { padding-left: var(--gutter); }
  .roles { position: static; transform: none; text-align: left; margin-top: 2rem; }
  .roles__word { font-size: clamp(2rem, 11vw, 3.4rem); }
  .roles__btn:hover, .roles__btn:focus-visible { transform: none; }
  .roles__readout { position: static; margin-top: 1.4rem; min-height: 4em; }

  .reel__stage { width: 86vw; }

  .contact__grid { gap: 1.6rem; }
}

/* Short landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  .figure { height: 92vh; bottom: 2vh; }
  .arrival__tagline, .reel-cue, .feature-card { position: static; }
}

/* =============================================================================
   12 · REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  :root { --cut: .28s; }
  .stage__grain { animation: none; }
  .figure, .figure__parallax { transition: opacity .28s linear; }
  .figure__parallax { transform: none !important; }   /* no parallax */
  [data-reveal] { transition: opacity .3s linear; transform: none; }
  .scene.is-active [data-reveal] { transition-delay: 0s; }
  .filmo__link:hover .filmo__title { transform: none; }
  .roles__btn:hover { transform: none; }
  .js body, .js a, .js button { cursor: auto; }
  .cursor { display: none !important; }
}
