/* ===========================================================================
   SARTHAK VATSYAYANA — FILMMAKER
   Design system: cinematic / editorial / monochrome.
   Colour comes from the work, never from the interface.
   =========================================================================== */

/* --------------------------------------------------------------- 1. TOKENS */
:root {
  /* Surface */
  --black:      #08080a;
  --black-2:    #0d0d10;
  --black-3:    #131317;
  --line:       rgba(255,255,255,.13);
  --line-soft:  rgba(255,255,255,.07);

  /* Ink */
  --white:      #f4f2ef;
  --grey:       #8c8a87;
  --grey-dim:   #5a5856;

  /* The only chromatic note in the interface — the record light. */
  --rec:        #e0402c;

  /* Type */
  --f-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-disp:  "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Times, serif;

  /* Rhythm */
  --pad:      clamp(1.25rem, 4vw, 4.5rem);
  --section:  clamp(6rem, 14vh, 12rem);

  /* Motion */
  --ease:     cubic-bezier(.22,.61,.36,1);
  --ease-io:  cubic-bezier(.65,.05,.36,1);
  --slow:     1.1s;
}

/* ------------------------------------------------------------- 2. RESET */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--white); color: var(--black); }

/* Scrollbar — thin, unobtrusive */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #2a2a2e; }
::-webkit-scrollbar-thumb:hover { background: #3d3d42; }

/* --------------------------------------------------------- 3. TYPOGRAPHY */
.display {
  font-family: var(--f-disp);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.03em;
  font-stretch: 112%;
}
.serif {
  font-family: var(--f-serif);
  font-weight: 400;
  letter-spacing: -.01em;
}

/* Small caps label — the workhorse of the whole site */
.label {
  font-size: clamp(.625rem, .72vw, .72rem);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 500;
  color: var(--grey);
}
.label--white { color: var(--white); }

.section-index {
  font-family: var(--f-disp);
  font-size: clamp(.7rem, .8vw, .8rem);
  letter-spacing: .2em;
  color: var(--grey-dim);
}

/* Section heading: oversized, edge-to-edge */
.h-section {
  font-family: var(--f-disp);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.035em;
  font-stretch: 115%;
  font-size: clamp(2.75rem, 9.5vw, 9.5rem);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------- 4. LAYOUT */
.wrap { padding-inline: var(--pad); }
.section { padding-block: var(--section); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
  flex-wrap: wrap;
}
.section-head .meta { text-align: right; max-width: 34ch; }

/* --------------------------------------------------------- 5. CURTAIN / INTRO */
#curtain {
  position: fixed; inset: 0; z-index: 200;
  background: var(--black);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
#curtain.gone { opacity: 0; visibility: hidden; pointer-events: none; }
#curtain .c-inner { text-align: center; }
#curtain .c-name {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: .02em;
  opacity: 0;
  animation: cIn 1.05s var(--ease) .12s forwards;
}
#curtain .c-bar {
  width: min(220px, 40vw); height: 1px; background: var(--line);
  margin: 1.4rem auto 0; position: relative; overflow: hidden;
}
#curtain .c-bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0); transform-origin: left;
  animation: cBar 1.15s var(--ease-io) .1s forwards;
}
@keyframes cIn  { to { opacity: 1; } }
@keyframes cBar { to { transform: scaleX(1); } }

/* Page-transition wipe */
#wipe {
  position: fixed; inset: 0; z-index: 190;
  background: var(--black);
  transform: scaleY(0); transform-origin: bottom;
  pointer-events: none;
}
#wipe.in {
  transform: scaleY(1); transform-origin: bottom;
  transition: transform .55s var(--ease-io);
}

/* --------------------------------------------------------- 6. NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem var(--pad);
  mix-blend-mode: difference;
  transition: transform .5s var(--ease), opacity .4s;
}
.nav.hidden { transform: translateY(-115%); }
.nav__brand {
  font-family: var(--f-disp);
  font-weight: 700; font-size: .78rem;
  letter-spacing: .26em; text-transform: uppercase;
  white-space: nowrap;
}
.nav__links { display: flex; gap: clamp(1.1rem, 2.4vw, 2.6rem); align-items: center; }
.nav__links a {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 500; position: relative; padding-block: .3rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { opacity: 1; }

.nav__burger { display: none; width: 26px; height: 14px; position: relative; }
.nav__burger span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease), opacity .3s;
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { bottom: 0; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--black);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io);
  visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu a {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.25rem, 12vw, 5rem); line-height: 1.02;
  letter-spacing: -.03em; padding-block: .18em;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0; transform: translateY(28px);
}
body.menu-open .menu a { animation: menuIn .6s var(--ease) forwards; }
body.menu-open .menu a:nth-child(1) { animation-delay: .12s; }
body.menu-open .menu a:nth-child(2) { animation-delay: .19s; }
body.menu-open .menu a:nth-child(3) { animation-delay: .26s; }
body.menu-open .menu a:nth-child(4) { animation-delay: .33s; }
body.menu-open .menu a:nth-child(5) { animation-delay: .40s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* --------------------------------------------------------- 7. HERO */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media video,
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.15s var(--ease);
}
.hero__media video.show, .hero__media img.show { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(8,8,10,.62) 0%, rgba(8,8,10,.15) 32%, rgba(8,8,10,.2) 55%, rgba(8,8,10,.92) 100%);
}
/* Film grain */
.grain {
  position: absolute; inset: -50%; pointer-events: none; z-index: 2;
  opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='.55'/></svg>");
  animation: grain 1.1s steps(4) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -2%); }
}

.hero__inner {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad); padding-bottom: clamp(2rem, 6vh, 4rem);
}
.hero__name {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 11.2vw, 12rem);
  line-height: .85; letter-spacing: -.045em; font-stretch: 118%;
}
.hero__name .ln { display: block; overflow: hidden; }
.hero__name .ln > span {
  display: block; transform: translateY(105%);
  animation: rise 1.15s var(--ease-io) forwards;
}
.hero__name .ln:nth-child(2) > span { animation-delay: .09s; }
@keyframes rise { to { transform: none; } }

.hero__sub {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-top: clamp(1rem, 2.5vw, 1.75rem); flex-wrap: wrap;
}
.hero__roles { display: flex; gap: 1.4rem; align-items: baseline; flex-wrap: wrap; }
.hero__roles .r-main {
  font-size: clamp(.8rem, 1.15vw, 1rem); letter-spacing: .3em;
  text-transform: uppercase; font-weight: 600;
}
.hero__scroll {
  display: inline-flex; align-items: center; gap: .7rem;
}

/* Showreel button */
.reel-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  padding: .7rem 1.15rem; border: 1px solid rgba(255,255,255,.42);
  background: rgba(8,8,10,.25); backdrop-filter: blur(4px);
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s;
  white-space: nowrap;
}
.reel-btn:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.reel-btn__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--rec);
  animation: blink 1.6s steps(1) infinite; flex: none;
}

/* Full-bleed showreel band on the homepage */
.reel-band {
  position: relative; overflow: hidden; display: block;
  aspect-ratio: 21 / 9; background: var(--black-2);
}
.reel-band img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) brightness(.62);
  transition: transform 1.4s var(--ease), filter .8s var(--ease);
}
.reel-band:hover img { transform: scale(1.05); filter: saturate(1) brightness(.72); }
.reel-band__c {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1rem; text-align: center; padding: var(--pad);
}
.reel-band__play {
  width: clamp(64px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  display: grid; place-items: center;
  transition: background .5s var(--ease), transform .5s var(--ease);
}
.reel-band__play::after {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-left: 13px solid var(--white);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  transition: border-left-color .5s;
}
.reel-band:hover .reel-band__play { background: var(--white); transform: scale(1.06); }
.reel-band:hover .reel-band__play::after { border-left-color: var(--black); }
@media (max-width: 760px) { .reel-band { aspect-ratio: 4 / 3; } }
.hero__scroll .arw { display: inline-block; animation: bob 2.1s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(5px); opacity: 1; } }

/* Viewfinder framing marks — carried over from the deck's visual language */
.viewfinder { position: absolute; inset: clamp(.9rem,2vw,1.6rem); z-index: 3; pointer-events: none; }
.viewfinder i {
  position: absolute; width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,.35);
}
.viewfinder i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.viewfinder i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.viewfinder i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.viewfinder i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.viewfinder .tc {
  position: absolute; bottom: -2px; left: 42px;
  font-size: .58rem; letter-spacing: .18em; color: rgba(255,255,255,.5);
  font-variant-numeric: tabular-nums;
}
/* bottom-right, clear of the navigation */
.viewfinder .rec {
  position: absolute; bottom: -2px; right: 42px;
  font-size: .58rem; letter-spacing: .18em; color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: .45rem;
}
.viewfinder .rec::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rec); animation: blink 1.6s steps(1) infinite;
}
@keyframes blink { 0%,60% { opacity: 1; } 61%,100% { opacity: .15; } }

/* --------------------------------------------------------- 8. REVEALS */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal-delay="4"] { transition-delay: .36s; }

/* Image mask reveal */
.mask { overflow: hidden; }
.mask > * { transform: scale(1.14); transition: transform 1.5s var(--ease); }
.mask.in > * { transform: scale(1); }

/* --------------------------------------------------------- 9. PROJECT CARD */
.card { position: relative; display: block; }
.card__frame {
  position: relative; overflow: hidden;
  background: var(--black-2);
  aspect-ratio: 16 / 9;
}
.card--v .card__frame { aspect-ratio: 9 / 16; }
.card__frame img,
.card__frame video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.card__frame img {
  transition: transform 1.3s var(--ease), opacity .5s var(--ease), filter 1s var(--ease);
  filter: saturate(.92);
}
.card__frame video { opacity: 0; transition: opacity .5s var(--ease); z-index: 1; }
.card.playing .card__frame video { opacity: 1; }
.card.playing .card__frame img { opacity: 0; }
.card:hover .card__frame img { transform: scale(1.06); }

/* thin border that draws on hover */
.card__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0);
  transition: box-shadow .5s var(--ease);
}
.card:hover .card__frame::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }

.card__watch {
  position: absolute; z-index: 4; left: 50%; top: 50%;
  transform: translate(-50%,-50%) translateY(12px);
  opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease);
  font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600;
  padding: .75rem 1.15rem; border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(3px); background: rgba(8,8,10,.22);
  white-space: nowrap;
}
.card:hover .card__watch { opacity: 1; transform: translate(-50%,-50%); }

.card__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.5rem; padding-top: .85rem;
}
.card__title {
  font-family: var(--f-disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(.92rem, 1.5vw, 1.3rem); letter-spacing: -.005em; line-height: 1.1;
}
.card__title .tbd { color: var(--grey-dim); font-weight: 500; font-style: italic; text-transform: none; letter-spacing: 0; }
.card__brand { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.card__role  { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-dim); white-space: nowrap; }

/* --------------------------------------------------------- 10. GRIDS */
.grid { display: grid; gap: clamp(1.6rem, 3.2vw, 3.2rem) clamp(1rem, 2vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
/* Vertical, social-first films read as a contact sheet rather than as
   over-scaled portrait cards. */
.grid--v { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

/* Mixed-orientation sets (the Work index) flow as columns so 9:16 and 16:9
   can sit together without tearing holes in the rows. */
.masonry {
  column-count: 3;
  column-gap: clamp(1rem, 2vw, 2rem);
}
.masonry > .item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: clamp(1.6rem, 3.2vw, 3.2rem);
  display: block;
}
@media (max-width: 1024px) { .masonry { column-count: 2; } }
@media (max-width: 560px)  { .masonry { column-count: 1; } }

/* Films: asymmetric editorial stack */
.films { display: grid; gap: clamp(3rem, 7vw, 7rem); }
.films .card:nth-child(odd)  { width: min(100%, 72%); }
.films .card:nth-child(even) { width: min(100%, 56%); margin-left: auto; }
.films .card:nth-child(3n)   { width: min(100%, 64%); margin-left: 14%; }

/* Microdramas: horizontal rail of 9:16 */
.rail {
  display: flex; gap: clamp(.85rem, 1.6vw, 1.5rem);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.rail > * { flex: 0 0 clamp(200px, 22vw, 300px); scroll-snap-align: start; }

/* Contact sheet — the 200+ social ads montage */
.sheet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 3px;
}
.sheet .cell {
  position: relative; aspect-ratio: 9/16; overflow: hidden; background: var(--black-2);
}
.sheet .cell img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.72);
  transition: filter .6s var(--ease), transform 1s var(--ease);
}
.sheet .cell:hover img { filter: none; transform: scale(1.07); }

/* --------------------------------------------------------- 11. MARQUEE */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.1rem; }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--f-disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(.85rem, 1.4vw, 1.15rem); letter-spacing: .12em;
  color: var(--grey); white-space: nowrap;
  transition: color .4s;
}
.marquee span:hover { color: var(--white); }
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------- 12. STATEMENT */
.statement { position: relative; }
.statement__lines {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 8.4vw, 8.5rem); line-height: .9;
  letter-spacing: -.04em; font-stretch: 112%;
}
.statement__lines .ln { display: block; overflow: hidden; }
.statement__lines .ln > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease-io); }
.statement.in .ln > span { transform: none; }
.statement.in .ln:nth-child(2) > span { transition-delay: .08s; }
.statement.in .ln:nth-child(3) > span { transition-delay: .16s; }

/* Big number (200+) */
.bignum {
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(5rem, 26vw, 22rem); line-height: .78;
  letter-spacing: -.055em; font-stretch: 120%;
}

/* --------------------------------------------------------- 13. PEOPLE */
.people { border-top: 1px solid var(--line); }
.people__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  padding-block: clamp(1rem, 2.4vw, 1.9rem);
  border-bottom: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.people__row .nm {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.35rem, 5.2vw, 4rem); line-height: 1;
  letter-spacing: -.03em;
  transition: transform .6s var(--ease), color .5s;
}
.people__row:hover .nm { transform: translateX(clamp(.5rem, 1.6vw, 1.6rem)); }
.people__row::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; right: 0;
  background: var(--white); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.people__row:hover::before { transform: scaleX(1); }

/* --------------------------------------------------------- 14. FILTERS */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.filters button {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  padding: .62rem 1.05rem; border: 1px solid var(--line);
  color: var(--grey); transition: color .35s, border-color .35s, background .35s;
}
.filters button:hover { color: var(--white); border-color: rgba(255,255,255,.35); }
.filters button.on { background: var(--white); color: var(--black); border-color: var(--white); }

.filter-grid > .item { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.filter-grid > .item.out { display: none; }
.filter-grid > .item.enter { opacity: 0; transform: translateY(20px) scale(.985); }

/* --------------------------------------------------------- 15. PROJECT PAGE */
.p-hero { position: relative; height: 78svh; min-height: 440px; overflow: hidden; background: var(--black-2); }
.p-hero img, .p-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,10,.55) 0%, rgba(8,8,10,.05) 40%, rgba(8,8,10,.95) 100%);
}
.p-hero__inner {
  position: absolute; z-index: 2; inset: auto 0 0 0; padding: var(--pad);
}
.p-title {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 7.6vw, 7rem); line-height: .88; letter-spacing: -.04em;
  font-stretch: 112%;
}
.p-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem 2rem; padding-block: clamp(2rem,4vw,3rem);
  border-bottom: 1px solid var(--line);
}
.p-facts dt { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grey-dim); margin-bottom: .5rem; }
.p-facts dd { margin: 0; font-size: .92rem; }

.player { position: relative; background: #000; }
.player video { width: 100%; height: auto; display: block; }
.player--v { max-width: 420px; margin-inline: auto; }
.player__note {
  display: flex; gap: .6rem; align-items: center; justify-content: center;
  padding-top: .9rem;
}

.embed-slot {
  border: 1px dashed var(--line); padding: clamp(2rem,5vw,4rem); text-align: center;
}

.nextlink {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-block: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}
.nextlink .nx {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.6rem, 6vw, 5rem); line-height: .95; letter-spacing: -.035em;
  transition: transform .6s var(--ease);
}
.nextlink:hover .nx { transform: translateX(clamp(.5rem,2vw,2rem)); }

/* --------------------------------------------------------- 16. LIGHTBOX */
.lb {
  position: fixed; inset: 0; z-index: 180; background: rgba(6,6,8,.96);
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.lb.on { opacity: 1; visibility: visible; }
.lb__inner { width: min(1180px, 100%); }
.lb video { width: 100%; height: auto; max-height: 82svh; background: #000; }
.lb__embed { display: none; width: 100%; aspect-ratio: 16 / 9; max-height: 82svh; background: #000; }
.lb__embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-top: 1rem; }
.lb__close { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }

/* --------------------------------------------------------- 17. FOOTER */
.foot { border-top: 1px solid var(--line); }
.foot__big {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.1rem, 10vw, 10rem); line-height: .88; letter-spacing: -.04em;
  font-stretch: 112%;
}
.foot__cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem);
}
.foot__cols a { border-bottom: 1px solid transparent; transition: border-color .4s; }
.foot__cols a:hover { border-color: var(--white); }
.foot__base {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding-block: 1.6rem; border-top: 1px solid var(--line-soft);
}
.tbd-inline { color: var(--grey-dim); font-style: italic; }

/* --------------------------------------------------------- 18. CURSOR */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none;
  width: 9px; height: 9px; border-radius: 50%; background: var(--white);
  transform: translate(-50%,-50%);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s, opacity .3s;
  mix-blend-mode: difference;
}
.cursor.big { width: 68px; height: 68px; background: rgba(255,255,255,.9); }
.cursor__txt {
  position: fixed; z-index: 301; pointer-events: none;
  transform: translate(-50%,-50%);
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  color: var(--black); opacity: 0; transition: opacity .3s;
}
.cursor__txt.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor__txt { display: none; } }

/* --------------------------------------------------------- 19. MISC */
.link-u { position: relative; }
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

.stills-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3px; }
.stills-strip figure { overflow: hidden; aspect-ratio: 16/9; background: var(--black-2); }
.stills-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stills-strip figure:hover img { transform: scale(1.05); }

.note-box {
  border-left: 1px solid var(--line); padding-left: 1.1rem;
  color: var(--grey); font-size: .82rem; max-width: 46ch;
}
.note-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .95em; color: var(--white);
}

/* Placeholder frame — used where no photograph has been supplied.
   Deliberately reads as an empty camera frame rather than filler imagery. */
.ph {
  position: relative; background: var(--black-2);
  border: 1px solid var(--line-soft);
  display: grid; place-items: center; overflow: hidden;
}
.ph::before, .ph::after {
  content: ""; position: absolute; background: var(--line);
}
.ph::before { left: 50%; top: 50%; width: 22px; height: 1px; transform: translate(-50%,-50%); }
.ph::after  { left: 50%; top: 50%; width: 1px; height: 22px; transform: translate(-50%,-50%); }
.ph > .ph-l {
  position: absolute; top: .8rem; left: .9rem;
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-dim);
}
.ph > .ph-r {
  position: absolute; bottom: .8rem; right: .9rem;
  font-size: .58rem; letter-spacing: .2em; color: var(--grey-dim);
}
.ph i {
  position: absolute; width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.22);
}
.ph i:nth-of-type(1) { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.ph i:nth-of-type(2) { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.ph i:nth-of-type(3) { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.ph i:nth-of-type(4) { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

/* Editorial two-column split used on About / Theatre */
.split {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.split--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split--wide { grid-template-columns: 1fr; } }

.prose p { max-width: 54ch; color: #c9c6c2; font-size: clamp(.95rem, 1.15vw, 1.06rem); line-height: 1.85; }
.prose p + p { margin-top: 1.25rem; }

.dolist { border-top: 1px solid var(--line); }
.dolist > div {
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.2rem;
  padding-block: clamp(1.1rem, 2.4vw, 1.8rem);
  border-bottom: 1px solid var(--line-soft);
}
.dolist h3 {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.05rem, 2.2vw, 1.7rem); letter-spacing: -.02em; line-height: 1;
}
.dolist p { color: var(--grey); font-size: .82rem; margin-top: .5rem; }

.pull {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 4.2vw, 3.4rem);
  line-height: 1.22; letter-spacing: -.015em; max-width: 20ch;
}

/* --------------------------------------------------------- 20. RESPONSIVE */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .films .card:nth-child(odd),
  .films .card:nth-child(even),
  .films .card:nth-child(3n) { width: 100%; margin-left: 0; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .section-head .meta { text-align: left; }
  .rail > * { flex-basis: 62vw; }
  .sheet { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  .card__meta { flex-direction: column; gap: .3rem; }
  .card__role { white-space: normal; }
  /* keep the scroll cue clear of the timecode / REC row */
  .hero__inner { padding-bottom: 3.4rem; }
  .hero__sub { gap: .9rem; }
  .p-hero { height: 62svh; }
  .foot__base { flex-direction: column; gap: .5rem; }
}
@media (max-width: 460px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .films { gap: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__name .ln > span, .statement__lines .ln > span { transform: none; }
  .grain { display: none; }
}
