/* =====================================================================
   DRISHYAM — Styles
   ===================================================================== */
:root {
  --black: #0b0a09;
  --char: #141210;
  --char-2: #1c1916;
  --line: rgba(232, 214, 178, .14);
  --gold: #c9a96e;
  --gold-hi: #e6cf9c;
  --ivory: #f3ece0;
  --ivory-dim: rgba(243, 236, 224, .68);
  --muted: rgba(243, 236, 224, .46);
  --red: #7a1c1c;
  --red-hi: #a3292a;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --bn: "Tiro Bangla", "Noto Serif Bengali", serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold-hi); font-weight: 300; }
::selection { background: var(--gold); color: var(--black); }
.bn { font-family: var(--bn); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--black); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin: 0 0 28px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow .idx { font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: 15px; color: var(--muted); }
.eyebrow .idx::after { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--gold); opacity: .5; margin-left: 14px; vertical-align: middle; }
.h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6vw, 84px); line-height: 1.02; letter-spacing: -.015em;
  margin: 0 0 32px; max-width: 14ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 500; border: 1px solid transparent; cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  font-family: var(--sans); position: relative; overflow: hidden; white-space: nowrap;
}
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--ivory); }
.btn--ghost { border-color: rgba(243,236,224,.35); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.link-arrow {
  display: inline-flex; gap: 10px; align-items: center; cursor: pointer;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  padding-bottom: 6px; border-bottom: 1px solid var(--line); transition: color .4s, border-color .4s;
}
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--ivory); border-color: var(--gold); }
.link-arrow:hover span { transform: translate(3px, -3px); }

/* ---------- Media placeholders ---------- */
.media { position: relative; overflow: hidden; background: var(--char); margin: 0; }
.media.has-img { background-size: cover; background-position: center; }
.media.is-empty {
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(201,169,110,.10), transparent 60%),
    radial-gradient(90% 70% at 80% 90%, rgba(122,28,28,.22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(232,214,178,.035) 0 1px, transparent 1px 14px),
    var(--char);
}
.media.is-empty::before {
  content: attr(data-glyph);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--bn); color: rgba(201,169,110,.13);
  font-size: clamp(64px, 12vw, 180px); line-height: 1; pointer-events: none;
}
.media.is-empty.show-hint::after {
  content: "＋ " attr(data-label);
  position: absolute; left: 14px; top: 12px; z-index: 3;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
}
.media.is-empty > .zoom { background: none; }
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .07; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--black);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease) .2s, visibility .9s .2s;
}
.preloader__bn {
  font-family: var(--bn); font-size: clamp(48px, 9vw, 96px); color: var(--gold);
  opacity: 0; animation: pre 1.4s var(--ease) forwards;
}
@keyframes pre { 0%{opacity:0; letter-spacing:.3em; filter:blur(8px)} 100%{opacity:1; letter-spacing:0; filter:blur(0)} }
body.loaded .preloader { opacity: 0; visibility: hidden; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; gap: 40px; padding: 0 var(--gutter);
  transition: background .5s var(--ease), height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,10,9,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  height: 68px; border-color: var(--line);
}
.nav.hidden { transform: translateY(-100%); }
.nav { transition: transform .5s var(--ease), background .5s var(--ease), height .5s var(--ease), border-color .5s; }
.nav__brand { display: flex; align-items: baseline; gap: 12px; margin-right: auto; }
.nav__mark { font-family: var(--serif); font-size: 24px; letter-spacing: .32em; font-weight: 500; }
.nav__bn { font-family: var(--bn); color: var(--gold); font-size: 16px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-dim);
  position: relative; padding: 6px 0; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--ivory); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 12px 22px; font-size: 11px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  position: relative; z-index: 120;
}
.nav__toggle span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ivory);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; left: 18px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 22px; left: 10px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--black);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); line-height: 1.15; font-weight: 300;
  display: flex; align-items: baseline; gap: 18px; border-bottom: 1px solid var(--line); padding: 6px 0;
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu__links a i { font-family: var(--sans); font-style: normal; font-size: 11px; color: var(--gold); letter-spacing: .2em; }
.menu__links a:hover { color: var(--gold-hi); }
.menu.open .menu__links a { opacity: 1; transform: none; }
.menu.open .menu__links a:nth-child(1){transition-delay:.25s}.menu.open .menu__links a:nth-child(2){transition-delay:.3s}
.menu.open .menu__links a:nth-child(3){transition-delay:.35s}.menu.open .menu__links a:nth-child(4){transition-delay:.4s}
.menu.open .menu__links a:nth-child(5){transition-delay:.45s}.menu.open .menu__links a:nth-child(6){transition-delay:.5s}
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.menu__social { display: flex; gap: 24px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; transform: scale(1.12); transition: transform 2.6s var(--ease); }
body.loaded .hero__media { transform: scale(1.0); }
.hero__media.has-img .hero__art { display: none; }
.hero__media.is-empty::before { display: none; }
.hero__art { position: absolute; inset: 0; }
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 55% at 70% 40%, rgba(201,169,110,.28), transparent 70%),
    radial-gradient(30% 40% at 78% 60%, rgba(163,41,42,.30), transparent 70%);
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .7; transform: scale(1); } to { opacity: 1; transform: scale(1.08); } }
.hero__mandala {
  position: absolute; right: -8vw; top: 50%; width: min(80vw, 900px); translate: 0 -50%;
  color: rgba(201,169,110,.22); animation: spin 120s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,10,9,.55) 0%, rgba(11,10,9,.1) 35%, rgba(11,10,9,.35) 65%, var(--black) 100%),
    linear-gradient(90deg, rgba(11,10,9,.7) 0%, transparent 60%);
}
.hero__inner {
  position: relative; z-index: 3; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(110px, 14vh, 160px);
}
.hero__eyebrow .line { width: 48px; height: 1px; background: var(--gold); display: inline-block; }
.hero__title {
  font-family: var(--serif); font-weight: 300; margin: 0;
  font-size: clamp(64px, 15.5vw, 240px); line-height: .86; letter-spacing: .06em;
  margin-left: -.04em;
}
.hero__letters { display: inline-flex; overflow: hidden; padding-bottom: .06em; }
.hero__letters .ch {
  display: inline-block; transform: translateY(105%); opacity: 0;
  transition: transform 1.3s var(--ease), opacity 1.3s var(--ease);
  transition-delay: calc(.35s + var(--i) * .07s);
}
body.loaded .hero__letters .ch { transform: none; opacity: 1; }
.hero__letters .ch:nth-child(4) { color: var(--gold-hi); font-style: italic; }
.hero__tagline {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 3.2vw, 40px); color: var(--gold-hi); margin: 18px 0 14px;
}
.hero__text { max-width: 46ch; color: var(--ivory-dim); margin: 0 0 40px; font-size: clamp(15px, 1.2vw, 17px); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__side {
  position: absolute; right: var(--gutter); bottom: clamp(110px, 14vh, 160px); z-index: 3;
  display: flex; flex-direction: column; gap: 10px; text-align: right;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ivory); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* entrance */
.reveal-up { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
body.loaded .reveal-up { opacity: 1; transform: none; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.reveal-img.in { clip-path: inset(0 0 0 0); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--black); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee span { font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); font-weight: 300; font-style: italic; color: var(--ivory-dim); white-space: nowrap; }
.marquee span.bn { font-family: var(--bn); font-style: normal; color: var(--gold); }
.marquee b { color: var(--red-hi); font-size: 14px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about__body p { color: var(--ivory-dim); margin: 0 0 20px; max-width: 52ch; font-size: 17px; }
.about__body p:first-child { font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); line-height: 1.5; color: var(--ivory); font-weight: 400; }
.about__pillars { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.about__pillars li {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-dim);
}
.about__pillars li::after { content: "✦"; color: var(--gold); font-size: 10px; }
.about__visual { position: relative; aspect-ratio: 4 / 5; }
.about__img--a { position: absolute; left: 0; top: 0; width: 76%; height: 82%; }
.about__img--b { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; border: 10px solid var(--black); --d: .25s; }
.about__bn {
  position: absolute; right: -2%; top: -6%; font-family: var(--bn); font-size: clamp(64px, 9vw, 140px);
  color: transparent; -webkit-text-stroke: 1px rgba(201,169,110,.45); line-height: 1; pointer-events: none; z-index: 2;
}

/* ---------- Director ---------- */
.director { background: var(--char); }
.director::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--red); }
.director__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.director__portrait { aspect-ratio: 4 / 5; }
.director__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory);
  background: linear-gradient(transparent, rgba(11,10,9,.85)); z-index: 2;
}
.director__name { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 7vw, 104px); line-height: .95; margin: 0; letter-spacing: -.01em; }
.director__rule { width: 80px; height: 1px; background: var(--gold); margin: 36px 0; }
.director__bio p { color: var(--ivory-dim); font-size: 17px; max-width: 50ch; margin: 0 0 18px; }
.director__quote {
  margin: 36px 0; padding-left: 28px; border-left: 1px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; color: var(--ivory);
}
.director__pending { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 24px 0 32px; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(56px, 7vw, 96px); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head--split .h2 { margin-bottom: 0; }

/* ---------- Classes ---------- */
.classes__note { display: flex; gap: 16px; align-items: flex-start; max-width: 62ch; color: var(--muted); font-size: 14px; margin: 0; }
.tag { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; border: 1px solid; white-space: nowrap; line-height: 1.4; font-weight: 500; }
.tag--proposed { color: var(--gold); border-color: rgba(201,169,110,.5); }
.tag--confirmed { color: var(--black); background: var(--gold); border-color: var(--gold); }
.classes__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.class {
  display: grid; grid-template-columns: 80px 1.1fr 1.3fr auto; gap: 32px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid var(--line); position: relative; isolation: isolate;
}
.class::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: linear-gradient(90deg, rgba(122,28,28,.18), rgba(201,169,110,.06));
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.class:hover::before { transform: scaleY(1); }
.class__no { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); }
.class__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1.1; margin: 0; transition: transform .6s var(--ease), color .4s; }
.class:hover .class__title { transform: translateX(10px); color: var(--gold-hi); }
.class__bn { display: block; font-family: var(--bn); font-size: 15px; color: var(--muted); margin-top: 6px; }
.class__text { color: var(--ivory-dim); margin: 0; font-size: 15px; max-width: 44ch; }
.class__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* ---------- Performances ---------- */
.perf__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.perf { position: relative; cursor: pointer; display: block; }
.perf:nth-child(1) { grid-column: 1 / span 7; }
.perf:nth-child(2) { grid-column: 8 / span 5; margin-top: 18%; }
.perf:nth-child(3) { grid-column: 1 / span 5; }
.perf:nth-child(4) { grid-column: 6 / span 7; margin-top: -12%; }
.perf:nth-child(n+5) { grid-column: span 6; }
.perf__media { aspect-ratio: 4 / 3; }
.perf:nth-child(2) .perf__media, .perf:nth-child(3) .perf__media { aspect-ratio: 4 / 5; }
.perf__media > .zoom { position: absolute; inset: 0; background: inherit; background-size: cover; background-position: center; transition: transform 1.4s var(--ease); }
.perf:hover .perf__media > .zoom { transform: scale(1.06); }
.perf__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(11,10,9,.7)); }
.perf__play {
  position: absolute; z-index: 3; right: 20px; bottom: 20px; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(243,236,224,.5); display: grid; place-items: center; color: var(--ivory);
  transition: background .5s var(--ease), border-color .5s, transform .5s var(--ease);
  backdrop-filter: blur(6px); background: rgba(11,10,9,.25);
}
.perf:hover .perf__play { background: var(--gold); border-color: var(--gold); color: var(--black); transform: scale(1.08); }
.perf__body { padding-top: 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; }
.perf__type { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); grid-column: 1 / -1; }
.perf__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; margin: 0; }
.perf__title.is-bn { font-family: var(--bn); font-weight: 400; font-size: clamp(28px, 3vw, 42px); }
.perf__latin { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 18px; align-self: end; }
.perf__text { color: var(--ivory-dim); font-size: 15px; margin: 6px 0 0; max-width: 48ch; grid-column: 1 / -1; }

/* ---------- Gallery ---------- */
.gallery { background: var(--char); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 20vw, 280px); grid-auto-flow: dense; gap: clamp(10px, 1.4vw, 18px); }
.g-item { position: relative; cursor: zoom-in; overflow: hidden; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item .zoom { position: absolute; inset: 0; background: inherit; background-size: cover; background-position: center; transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.35); }
.g-item:hover .zoom { transform: scale(1.07); filter: none; }
.g-item__cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 3; font-family: var(--serif); font-style: italic; font-size: 20px;
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease);
}
.g-item:hover .g-item__cap, .g-item:focus-visible .g-item__cap { opacity: 1; transform: none; }
.g-item.is-empty { cursor: default; }
.g-item.is-empty .g-item__cap { opacity: .7; transform: none; }

/* ---------- Join ---------- */
.join { position: relative; padding: clamp(120px, 18vw, 240px) 0; overflow: hidden; text-align: center; isolation: isolate; }
.join__media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.join__veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(11,10,9,.55), rgba(11,10,9,.92)); }
.join__inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.join__bn { font-family: var(--bn); color: var(--gold); font-size: clamp(20px, 2.4vw, 28px); margin: 0 0 18px; }
.join__title { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 8vw, 120px); line-height: .98; margin: 0 0 24px; }
.join__text { color: var(--ivory-dim); max-width: 50ch; margin: 0 0 44px; }
.join .hero__ctas { justify-content: center; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.contact__lead { color: var(--ivory-dim); max-width: 44ch; margin: 0 0 40px; }
.contact__channels { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact__channels a, .contact__channels .ch-static {
  display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: color .3s, padding .5s var(--ease);
}
.contact__channels a:hover { color: var(--gold-hi); padding-left: 10px; }
.contact__channels small { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.contact__channels strong { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.form { display: flex; flex-direction: column; gap: 26px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); background: var(--char); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(243,236,224,.22); color: var(--ivory);
  font: 400 17px/1.5 var(--sans); padding: 10px 0; outline: none; border-radius: 0; transition: border-color .4s; width: 100%;
}
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--char); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field.invalid input, .field.invalid textarea { border-color: var(--red-hi); }
.form__submit { align-self: flex-start; }
.form__status { margin: 0; font-size: 14px; color: var(--gold-hi); min-height: 1.5em; }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; overflow: hidden; }
.footer__big {
  font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 14.5vw, 240px); line-height: .8; letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px rgba(201,169,110,.28); text-align: center; margin-bottom: 56px; white-space: nowrap;
}
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer__brand { font-family: var(--serif); font-size: 22px; margin: 0; }
.footer__brand .bn { color: var(--gold); font-size: 17px; }
.footer__muted { color: var(--muted); margin: 0; font-size: 14px; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-dim); transition: color .3s; }
.footer__links a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center; border-radius: 50%; transition: border-color .4s, color .4s; cursor: pointer; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__copy { color: var(--muted); font-size: 12px; margin: 24px 0 0; letter-spacing: .06em; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(6,5,4,.95); display: grid; place-items: center; padding: 64px var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__stage { width: min(1200px, 100%); max-height: 100%; display: grid; place-items: center; }
.lightbox__stage img { max-height: 82vh; width: auto; object-fit: contain; }
.lightbox__stage iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.lightbox__close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: var(--ivory); font-size: 40px; font-weight: 200; cursor: pointer; width: 48px; height: 48px; line-height: 1; }
.lightbox__close:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
  .class { grid-template-columns: 56px 1fr 1fr; }
  .class__side { grid-column: 2 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 960px) {
  :root { --nav-h: 72px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .about__grid, .director__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 560px; width: 100%; }
  .director__portrait { max-width: 520px; }
  .hero__side { display: none; }
  .perf__grid { grid-template-columns: 1fr 1fr; }
  .perf:nth-child(n) { grid-column: auto; margin-top: 0; }
  .perf:nth-child(2) .perf__media, .perf:nth-child(3) .perf__media { aspect-ratio: 4 / 3; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .perf__grid { grid-template-columns: 1fr; }
  .class { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .class__side { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .gallery__grid { grid-auto-rows: 160px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .director::before { width: 3px; }
  .btn { white-space: normal; }
  .classes__note { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Founders ---------- */
.founders__intro { color: var(--ivory-dim); max-width: 40ch; margin: 0; font-size: 16px; }
.founders__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.founder:nth-child(2) { margin-top: clamp(0px, 10vw, 140px); }
.founder__portrait { aspect-ratio: 4 / 5; }
.founder__text { padding-top: 32px; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
.founder__no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 20px; grid-row: span 2; padding-top: 10px; }
.founder__name { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; margin: 0; }
.founder__role { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 12px 0 0; }
.founder__bio, .founder .director__quote { grid-column: 2; }
.founder__bio { color: var(--ivory-dim); font-size: 16px; max-width: 46ch; margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.founders__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); }
.founders__foot .director__pending { margin: 0; }
@media (max-width: 760px) {
  .founders__grid { grid-template-columns: 1fr; }
  .founder:nth-child(2) { margin-top: 0; }
}
.founder__ig { grid-column: 2; justify-self: start; margin-top: 18px; font-size: 13px; letter-spacing: .06em; color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.founder__ig:hover { color: var(--ivory); border-color: var(--gold); }
@media (max-width: 640px) { .hero__eyebrow { font-size: 10px; letter-spacing: .24em; } .hero__eyebrow .line { width: 28px; flex: none; } }

/* ---------- Logo ---------- */
.nav__brand { align-items: center; }
.nav__logo { width: 44px; height: 44px; border-radius: 50%; flex: none; transition: transform .8s var(--ease), width .5s var(--ease), height .5s var(--ease); box-shadow: 0 0 0 1px rgba(201,169,110,.35); }
.nav.scrolled .nav__logo { width: 38px; height: 38px; }
.nav__brand:hover .nav__logo { transform: rotate(-12deg); }
.preloader { grid-auto-flow: row; align-content: center; gap: 18px; justify-items: center; }
.preloader__logo { width: clamp(96px, 14vw, 128px); height: auto; border-radius: 50%; opacity: 0; animation: preLogo 1.2s var(--ease) forwards; }
@keyframes preLogo { from { opacity: 0; transform: scale(.85) rotate(-20deg); } to { opacity: 1; transform: none; } }
.footer__row > div:first-child { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
.footer__logo { grid-row: span 2; width: 72px; height: 72px; border-radius: 50%; }
@media (max-width: 640px) {
  .nav__logo { width: 38px; height: 38px; }
  .nav__mark { font-size: 20px; letter-spacing: .26em; }
  .nav__bn { display: none; }
}
.g-item.big { grid-column: span 2; grid-row: span 2; }
.g-item.tall .zoom, .g-item.big .zoom { background-position: center 30%; }
.hero__media.has-img { background-position: center 35%; }
.join__media.has-img { background-position: center 60%; }
.hero:has(.hero__media.has-img) .hero__veil {
  background:
    linear-gradient(180deg, rgba(11,10,9,.62) 0%, rgba(11,10,9,.2) 28%, rgba(11,10,9,.5) 62%, var(--black) 100%),
    linear-gradient(90deg, rgba(11,10,9,.82) 0%, rgba(11,10,9,.45) 50%, rgba(11,10,9,.1) 85%);
}
.hero:has(.hero__media.has-img) .hero__title { text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.hero:has(.hero__media.has-img) .hero__text { color: rgba(243,236,224,.86); }
.join:has(.join__media.has-img) .join__veil { background: radial-gradient(75% 85% at 50% 50%, rgba(11,10,9,.74), rgba(11,10,9,.9)); }
