/* ============================================================
   NICOLAS CRISTACHE - Theatre Director
   The site is a stage. Darkness is the canvas; light reveals.
   ============================================================ */

:root {
  --bg:        #0d0b09;
  --bg-2:      #12100d;
  --ink:       #eee7da;
  --ink-soft:  #cfc6b4;
  --ink-dim:   #a89f8d;
  --gold:      #d3a95c;
  --gold-hi:   #ecce93;
  --line:      #2a251e;
  --serif: "Fraunces", "Didot", "Bodoni MT", "Playfair Display", Georgia, serif;
  --grot:  "Archivo", "Helvetica Neue", "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io:  cubic-bezier(.76, 0, .24, 1);
  --pad-x: clamp(1.2rem, 4vw, 3rem);
  /* Global content width: full-bleed sections pad with --gutter so their
     content lines up with .wrap on any screen. */
  --maxw: 1360px;
  --gutter: max(var(--pad-x), calc((100vw - var(--maxw)) / 2));
  color-scheme: dark;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--grot);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3, blockquote, figure, p, ul, ol, dl, dd { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 380; letter-spacing: -.015em; text-wrap: balance; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: rgba(211, 169, 92, .9); color: #0d0b09; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
/* A modal <dialog> lives in the browser top layer, above the custom cursor -
   so bring back the native cursor while a production dialog is open. */
html.has-cursor body.has-dialog,
html.has-cursor body.has-dialog a,
html.has-cursor body.has-dialog button { cursor: auto; }

.skip {
  position: fixed; top: -100%; left: 1rem; z-index: 200;
  padding: .8em 1.4em; background: var(--gold); color: #0d0b09;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; transition: top .3s;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Playbill label ---------- */
.playbill {
  font-family: var(--grot);
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: var(--ink-dim);
}

.logo-type {
  margin-left: 12px;
  font-family: var(--grot);
  font-size: .9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: var(--ink-dim);
}

.wrap { width: min(var(--maxw), 100% - 2 * var(--pad-x)); margin-inline: auto; }

/* ---------- Film grain ---------- */
.grain {
  position: fixed; inset: -60%; width: 220%; height: 220%;
  z-index: 110; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.1s steps(5) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Curtain (page transition) ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 100;
  transform: translateY(-102%);
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, .30) 0 26px,
      rgba(255, 236, 200, .022) 26px 52px,
      rgba(0, 0, 0, .14) 52px 92px),
    linear-gradient(180deg, #2b0a10 0%, #1e0810 55%, #12050a 100%);
  border-bottom: 1px solid rgba(211, 169, 92, .35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
  transition: transform .43s var(--ease-io);
}
.curtain.is-down { transform: translateY(0); }

/* ---------- Custom cursor ---------- */
html:not(.has-cursor) .cursor { display: none; }
/* The fixed positioners are translated by JS every frame - they must NEVER
   carry a `scale` (the `scale` property multiplies the translate, flinging the
   element across the page the further you've scrolled). Scaling lives on the
   inner `-in` elements instead: they only get centered, never translated. */
.cursor__dot, .cursor__halo {
  position: fixed; top: 0; left: 0; z-index: 130;
  pointer-events: none;
  display: grid; place-items: center;
}
.cursor__dot-in {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 12px rgba(236, 206, 147, .9);
  transition: opacity .3s, scale .3s;
}
.cursor__halo-in {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(236, 206, 147, .3);
  background: radial-gradient(circle, rgba(236, 206, 147, .1), transparent 65%);
  display: grid; place-items: center;
  transition: opacity .3s, scale .45s var(--ease-out),
              background-color .45s, border-color .45s;
}
.cursor__label {
  font: 500 .32rem/1 var(--grot);
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-hi); opacity: 0; transition: opacity .3s;
  translate: .05em 0;
}
.cursor.is-link .cursor__halo-in { scale: 1.6; border-color: rgba(236, 206, 147, .55); }
.cursor.is-view .cursor__halo-in {
  scale: 2.4; border-color: rgba(236, 206, 147, .6);
  background: radial-gradient(circle, rgba(13, 11, 9, .72), rgba(13, 11, 9, .35) 70%, transparent);
}
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot-in { opacity: 0; }
.cursor.is-down .cursor__dot-in { scale: .55; }
.cursor.is-down .cursor__halo-in { scale: 1.2; }
.cursor.is-hidden .cursor__dot-in, .cursor.is-hidden .cursor__halo-in { opacity: 0; }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem var(--gutter);
  pointer-events: none;
}
/* Scrim: taller than the header itself so the black-to-transparent fade
   bleeds below the content instead of cutting off at the header's edge. */
.site-head::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 200%;
  z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(13, 11, 9, .94) 0%,
    rgba(13, 11, 9, .78) 30%,
    rgba(13, 11, 9, .48) 55%,
    rgba(13, 11, 9, .2) 78%,
    rgba(13, 11, 9, 0) 100%);
}
.site-head a { pointer-events: auto; }
.brand {
  display: flex; align-items: center;
  text-decoration: none;
}

.brand-footer {
  width: 100%;
  justify-content: center;
  padding: 12px 0 24px 0;


}
.brand__logo {
  display: block; height: 3rem; width: auto;
  filter: drop-shadow(0 0 10px rgba(236, 206, 147, .18));
  transition: filter .4s;
}
.brand:hover .brand__logo { filter: drop-shadow(0 0 14px rgba(236, 206, 147, .4)); }
.nav ul { display: flex; gap: clamp(1.1rem, 3vw, 2.6rem); }
.nav a {
  position: relative; display: inline-block; padding: .45em 0;
  font-size: .66rem; font-weight: 500; letter-spacing: .28em;
  text-transform: uppercase; text-decoration: none;
  color: var(--ink-dim); transition: color .4s;
}
.nav a .no { color: var(--gold); margin-right: .55em; font-size: .58rem; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent);
  filter: drop-shadow(0 0 6px rgba(236, 206, 147, .8));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 901px) { .nav a { font-size: .7rem; } }

/* ---------- Mobile menu - spotlight iris ----------
   ≤900px the .nav element itself becomes a fullscreen overlay that
   irises open from the toggle's corner (same clip-path vocabulary as
   [data-reveal="spot"]). Scoped to html.js so no-JS keeps inline links.
   Entrance transitions live on .is-open rules, exits on base rules. */
.nav-toggle { display: none; }
.nav__foot { display: none; }
.site-head button { pointer-events: auto; }

@media (max-width: 900px) {
  html.js .brand, html.js .nav-toggle { position: relative; z-index: 2; }

  html.js .nav-toggle {
    display: inline-flex; align-items: center; gap: .8rem;
    min-width: 44px; min-height: 44px;
    padding: .6rem .9rem; margin-right: -.9rem;
    background: none; border: 0; color: var(--ink-dim);
  }
  .nav-toggle__labels { display: block; overflow: clip; height: 1.4em; text-align: right; }
  .nav-toggle__labels span {
    display: block; height: 1.4em; line-height: 1.4em;
    transition: translate .4s var(--ease-io);
  }
  .nav-toggle.is-open .nav-toggle__labels span { translate: 0 -1.4em; color: var(--gold); }
  .nav-toggle__glyph { position: relative; display: block; width: 22px; height: 15px; }
  .nav-toggle__glyph span {
    position: absolute; left: 0; width: 22px; height: 1.5px;
    background: var(--ink-dim);
    transition: translate .45s var(--ease-io), rotate .45s var(--ease-io), background-color .45s;
  }
  .nav-toggle__glyph span:nth-child(1) { top: 3.5px; }
  .nav-toggle__glyph span:nth-child(2) { top: 9.5px; }
  .nav-toggle.is-open .nav-toggle__glyph span { background: var(--gold); }
  .nav-toggle.is-open .nav-toggle__glyph span:nth-child(1) { translate: 0 3px; rotate: 45deg; }
  .nav-toggle.is-open .nav-toggle__glyph span:nth-child(2) { translate: 0 -3px; rotate: -45deg; }

  html.js .nav {
    position: fixed; inset: 0; height: 100dvh;
    display: flex; flex-direction: column;
    padding: 6rem var(--gutter) calc(2.4rem + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    background:
      radial-gradient(70% 42% at 50% 112%, rgba(211, 169, 92, .12), transparent 70%),
      linear-gradient(180deg, var(--bg-2), var(--bg) 55%);
    clip-path: circle(0% at calc(100% - 2.6rem) 2.4rem);
    visibility: hidden; pointer-events: none;
    transition: clip-path .5s var(--ease-io) .08s, visibility 0s .6s;
  }
  html.js .nav.is-open {
    clip-path: circle(141% at calc(100% - 2.6rem) 2.4rem);
    visibility: visible; pointer-events: auto;
    transition: clip-path .72s var(--ease-io), visibility 0s;
  }

  html.js .nav ul { display: block; margin-block: auto; }
  html.js .nav li { overflow: visible clip; padding-block: 6px; }
  html.js .nav li a {
    display: block; width: fit-content; padding: .04em 0;
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(2.6rem, 9vw, 4rem); line-height: 1.12;
    letter-spacing: -.015em; text-transform: none;
    color: var(--ink);
    translate: 0 115%;
    transition: translate .35s var(--ease-io), color .4s;
  }
  html.js .nav.is-open li a {
    translate: 0 0;
    transition: translate .8s var(--ease-out) var(--md, 0s), color .4s;
  }
  html.js .nav.is-open li:nth-child(1) a { --md: .28s; }
  html.js .nav.is-open li:nth-child(2) a { --md: .36s; }
  html.js .nav.is-open li:nth-child(3) a { --md: .44s; }
  html.js .nav.is-open li:nth-child(4) a { --md: .52s; }
  html.js .nav a .no {
    display: inline-block;
    font-family: var(--grot); font-size: .72rem; font-weight: 500;
    letter-spacing: .12em; vertical-align: .95em; margin-right: .7em;
  }

  html.js .nav__foot {
    display: flex; flex-wrap: wrap; align-items: baseline;
    justify-content: space-between; gap: .4rem 1.6rem;
    padding-top: 1.6rem; border-top: 1px solid var(--line);
    opacity: 0; translate: 0 12px;
    transition: opacity .3s, translate .3s var(--ease-io);
  }
  html.js .nav.is-open .nav__foot {
    opacity: 1; translate: 0 0;
    transition: opacity .7s var(--ease-out) .62s, translate .7s var(--ease-out) .62s;
  }
  .nav__foot .playbill { margin: 0; }
  /* Beats the base .nav a label styling (uppercase micro-type). */
  html.js .nav a.nav__mail {
    display: inline-block; padding: .75em 0;
    font-family: var(--grot); font-size: .9rem; font-weight: 400;
    letter-spacing: .04em; text-transform: none;
    color: var(--ink-soft); text-decoration: none;
  }
  html.js .nav a.nav__mail:hover { color: var(--gold-hi); }

  /* Programmatic toggles under ?static=1 / route changes: no animation. */
  .nav.is-instant, .nav.is-instant *,
  .nav-toggle.is-instant, .nav-toggle.is-instant * { transition: none !important; }
}

/* ---------- Views / routing ---------- */
main { display: block; }
main:focus { outline: none; }
html.js .view { display: none; }
html.js .view.is-active { display: block; }

/* ---------- Scroll reveals ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Spotlight wipe: the clip lives on the inner .plx, NOT on the observed
   element - Chrome's IntersectionObserver treats a zero-area clip-path
   as "not intersecting", so clipping the target itself deadlocks the
   reveal (hidden until observed, never observed because hidden). */
html.js [data-reveal="spot"] {
  transform: none;
  transition: opacity .6s var(--ease-out);
}
html.js [data-reveal="spot"] .plx {
  clip-path: circle(0% at 50% 58%);
  transition: clip-path 1.4s var(--ease-out), scale 1.1s var(--ease-out);
}
html.js [data-reveal="spot"].is-in .plx { clip-path: circle(125% at 50% 58%); }

/* Parallax media */
.plx { height: 100%; transition: scale 1.1s var(--ease-out); }
.plx img {
  width: 100%; height: 100%; object-fit: cover;
  scale: 1.14; translate: 0 var(--py, 0px);
}

/* ============================================================
   HOME - Overture
   ============================================================ */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; flex-direction: column;
  padding: 7.5rem var(--gutter) 6vh;
  overflow: clip;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 30% at 50% 112%, rgba(211, 169, 92, .08), transparent 70%);
}
.hero__portrait {
  position: absolute;
  /* hug the content box on wide screens, bleeding 4rem past its edge */
  inset: 0 max(0px, calc(var(--gutter) - 4rem)) 0 auto;
  width: min(45vw, 920px);
  pointer-events: none;
  transform: scale(.7);
  transform-origin: bottom right;
}
.hero__portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 16%;
  filter: saturate(.75) sepia(.16) brightness(.94) contrast(1.03);
  /* transparent cutout: only the lower body needs to melt into the dark */
  -webkit-mask-image: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, .35) 92%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, .35) 92%, transparent 100%);
}
.hero__light {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle 34vmin at var(--mx, 50%) var(--my, 42%),
    rgba(238, 205, 142, .17), rgba(238, 205, 142, .05) 45%, transparent 70%);
}
.hero__kicker { position: relative; z-index: 2; }
.hero__kicker .sep { color: var(--gold); margin-inline: .8em; }
.hero__name {
  position: relative; z-index: 2;
  margin-top: auto;
  display: grid;
  font-size: clamp(3.3rem, 12.5vw, 14rem);
  line-height: .92;
  font-weight: 370;
}
.hero__layer { grid-area: 1 / 1; display: flex; flex-direction: column; }
.hero__layer span:last-child { margin-left: .55em; }
.hero__layer--dim { color: #27221a; }
.hero__layer--lit {
  color: #f2e2c0;
  text-shadow: 0 0 50px rgba(238, 205, 142, .3);
  -webkit-mask-image: radial-gradient(circle 24vmin at var(--mx, 50%) var(--my, 42%),
    #000 0%, rgba(0, 0, 0, .85) 45%, transparent 72%);
          mask-image: radial-gradient(circle 24vmin at var(--mx, 50%) var(--my, 42%),
    #000 0%, rgba(0, 0, 0, .85) 45%, transparent 72%);
}
.hero--static .hero__layer--lit { -webkit-mask-image: none; mask-image: none; }
.hero__foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 3rem; margin-top: 7vh;
}
.hero__scroll { display: flex; align-items: center; gap: 1.1rem; }
.hero__scroll::before {
  content: ""; width: 1px; height: 3.4em;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drop 2.6s var(--ease-io) infinite;
}
@keyframes drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero__tagline {
  font-family: var(--serif); font-style: italic; font-weight: 340;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem); line-height: 1.4;
  color: var(--ink-soft); max-width: 22ch; text-align: right;
}
.hero__tagline em { font-style: italic; color: var(--gold); }

/* intro choreography */
html.js body:not(.is-ready) .hero__kicker,
html.js body:not(.is-ready) .hero__tagline,
html.js body:not(.is-ready) .hero__scroll { opacity: 0; translate: 0 16px; }
html.js body:not(.is-ready) .hero__layer { opacity: 0; }
html.js body:not(.is-ready) .hero__portrait { opacity: 0; }
.hero__kicker, .hero__tagline, .hero__scroll {
  transition: opacity 1.1s var(--ease-out), translate 1.1s var(--ease-out);
}
.hero__layer { transition: opacity 2s var(--ease-out); }
.hero__portrait { transition: opacity 2.4s var(--ease-out); }
body.is-ready .hero__portrait { transition-delay: .85s; }
body.is-ready .hero__kicker  { transition-delay: .25s; }
body.is-ready .hero__layer   { transition-delay: .45s; }
body.is-ready .hero__scroll  { transition-delay: 1.15s; }
body.is-ready .hero__tagline { transition-delay: 1.3s; }

/* ---------- Venue ticker ---------- */
.ticker {
  overflow: clip; border-block: 1px solid var(--line);
  padding: 1.1rem 0; position: relative;
}
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__group { display: flex; gap: 4.5rem; padding-right: 4.5rem; white-space: nowrap; }
.ticker__group span { font-size: .68rem; }
.ticker__group .sep { color: var(--gold); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Home overture - the director, in brief ----------
   Where the season's bill used to hang: a fragment of the credo and the
   origin story, holding the door open to the About act. */
.overture { padding: 16vh 0 12vh; }
.overture__head {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 0 2rem; align-items: start;
}
.overture__kicker { grid-column: 1 / 5; padding-top: .9em; }
.overture__title {
  grid-column: 5 / 13;
  font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1.04;
}
.overture__title em { color: var(--gold); font-style: italic; }
.overture__body {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 0 2rem; margin-top: clamp(2.4rem, 5vh, 4rem);
}
.overture__lede {
  grid-column: 5 / 11;
  font-size: 1.08rem; line-height: 1.8; color: var(--ink-soft);
}
.overture__lede p + p { margin-top: 1.25em; }
.overture__cta { grid-column: 5 / 13; justify-self: start; margin-top: 2.6rem; }
.overture .honours { margin: clamp(4rem, 9vh, 6.5rem) 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .9em;
  padding: 1.2em 2.3em; border: 1px solid var(--line);
  background: transparent; color: var(--ink);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  position: relative; overflow: hidden; cursor: pointer;
  transition: border-color .5s, color .5s;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 170% at 50% 135%, rgba(211, 169, 92, .3), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.btn:hover { border-color: rgba(211, 169, 92, .55); color: var(--gold-hi); }
.btn:hover::before { opacity: 1; }
.btn .arr { transition: translate .4s var(--ease-out); }
.btn:hover .arr { translate: .4em 0; }

/* ---------- Next act ---------- */
.next-act {
  display: block; position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 15vh var(--gutter) 17vh;
  text-decoration: none;
}
.next-act::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle 44vmin at 50% 125%, rgba(211, 169, 92, .14), transparent 70%);
  opacity: 0; transition: opacity .8s;
}
.next-act:hover::after { opacity: 1; }
.next-act .playbill { display: block; margin-bottom: 1.4rem; }
.next-act__title {
  display: flex; align-items: center; gap: .4em;
  font-family: var(--serif); font-weight: 370;
  font-size: clamp(2.6rem, 7.5vw, 7rem); line-height: 1;
  color: var(--ink); transition: color .5s;
}
.next-act__arr {
  width: .72em; height: .44em; flex: 0 0 auto; margin-top: .06em;
  color: var(--gold); transition: translate .5s var(--ease-out);
}
.next-act:hover .next-act__title { color: var(--gold-hi); }
.next-act:hover .next-act__arr { translate: .35em 0; }

/* ============================================================
   PAGE HEAD (shared)
   ============================================================ */
.page-head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 2rem;
  padding: 24vh 0 10vh;
}
.page-head .playbill { grid-column: 1 / 13; margin-bottom: 2rem; }
.page-head .playbill .sep { color: var(--gold); margin-inline: .8em; }
.page-head h1 {
  grid-column: 1 / 7; grid-row: 2;
  font-size: clamp(3rem, 6vw, 6rem); line-height: .95;
}
.page-head h1 em { color: var(--gold); }
.page-head .deck {
  grid-column: 1 / 7; grid-row: 3; margin-top: 3vh;
  font-size: 1.05rem; line-height: 1.75; color: var(--ink-dim);
  max-width: 46ch;
}
.page-head__photo {
  grid-column: 7 / 13; grid-row: 2 / 4; align-self: center; margin: 0;
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.page-head__photo img {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%;
  filter: saturate(.82) contrast(1.02) brightness(.96);
}

/* ============================================================
   ABOUT - In three acts
   ============================================================ */
.act {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 0 2rem; padding: 9vh 0;
}
.act__label {
  grid-column: 1 / 4;
  align-self: start; position: sticky; top: 22vh;
}
.act__label .n { color: var(--gold); display: block; margin-bottom: .7em; font-size: .62rem; }
.act__body { grid-column: 4 / 10; font-size: 1.06rem; line-height: 1.85; color: var(--ink-soft); }
.act__body p + p { margin-top: 1.5em; }
.act--1 .act__body > p:first-child::first-letter {
  font-family: var(--serif); font-size: 3.7em; line-height: .78;
  float: left; padding: .06em .14em 0 0; color: var(--gold);
}

.pull {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 2rem;
  padding: 9vh 0;
}
.pull p {
  grid-column: 3 / 12;
  font-family: var(--serif); font-style: italic; font-weight: 340;
  font-size: clamp(1.7rem, 4.1vw, 3.5rem); line-height: 1.28;
  text-indent: -.55em;
}
.pull p::before { content: "“"; color: var(--gold); }
.pull p::after { content: "”"; color: var(--gold); }
.pull cite {
  grid-column: 3 / 12; margin-top: 2.2rem; font-style: normal;
}

.about-portrait {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 2rem;
  padding: 6vh 0;
}
.about-portrait .frame {
  grid-column: 5 / 11; overflow: hidden; aspect-ratio: 4 / 5;
}
.about-portrait figcaption {
  grid-column: 2 / 5; grid-row: 1; align-self: end;
  padding-bottom: 8%; line-height: 2; text-align: right;
}
.about-portrait--wide { padding: 8vh 0 6vh; }
.about-portrait--wide .frame { grid-column: 2 / 12; aspect-ratio: 3 / 2; }
.about-portrait--wide figcaption {
  grid-column: 2 / 12; grid-row: 2; align-self: start;
  padding: 1.1rem 0 0; text-align: right;
}
.about-portrait--inset .frame { grid-column: 2 / 9; aspect-ratio: 3 / 2; }
.about-portrait--inset figcaption {
  grid-column: 9 / 12; grid-row: 1; align-self: end;
  padding-bottom: 4%; text-align: left;
}

.honours {
  display: flex; flex-wrap: wrap; gap: 1.2rem 3.5rem;
  border-block: 1px solid var(--line);
  padding: 2.6rem 0; margin: 10vh 0 4vh;
}
.honours li { display: flex; align-items: center; gap: 1rem; }
.honours .yr { color: var(--gold); }

/* ============================================================
   WORK - The repertoire
   ============================================================ */
.prods { display: block; }
.prod { padding: 9vh 0; }
.prod__card {
  position: relative;
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 0 2rem; align-items: center;
}
.prod__ghost {
  position: absolute; z-index: 2; top: -.16em; right: -.03em;
  font-family: var(--serif);
  font-size: clamp(6.5rem, 16vw, 17rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(211, 169, 92, .16);
  pointer-events: none; user-select: none;
}
@supports not (-webkit-text-stroke: 1px black) {
  .prod__ghost { color: rgba(211, 169, 92, .08); }
}
.prod--even .prod__ghost { right: auto; left: -.03em; }
.prod__media {
  position: relative; z-index: 1; grid-row: 1;
  grid-column: 1 / 6; aspect-ratio: 2 / 3; overflow: hidden;
}
.prod--even .prod__media { grid-column: 8 / 13; }
/* Posters carry their own title/credits - show them whole, no parallax crop */
.prod__media--poster .plx img { scale: 1; translate: 0; }
.prod__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 120px 30px rgba(5, 4, 3, .55);
}
.prod__meta {
  grid-row: 1; position: relative; z-index: 2;
  grid-column: 7 / 13; padding-bottom: 0;
}
.prod--even .prod__meta { grid-column: 1 / 7; }
.prod__title {
  font-size: clamp(2.8rem, 8.4vw, 8.6rem); line-height: .95;
  margin: .18em 0 .32em;
  text-shadow: 0 2px 18px rgba(4, 3, 2, .6);
}
.prod__no .sep { color: var(--gold); margin-inline: .7em; }
.prod__cue {
  position: absolute; right: 1.3rem; bottom: 1.15rem; z-index: 2;
  color: var(--gold-hi);
  opacity: 0; translate: 0 10px;
  transition: opacity .5s var(--ease-out), translate .5s var(--ease-out);
}
.prod__cue::before { content: "◦ "; }
.prod__card:hover .prod__cue,
.prod__card:focus-within .prod__cue { opacity: 1; translate: 0 0; }
html.has-cursor .prod__cue { display: none; }
.prod__card:hover .plx, .prod__card:focus-within .plx { scale: 1.05; }
.prod__open {
  position: absolute; inset: 0; z-index: 3;
  background: none; border: 0; cursor: pointer;
}
.prod__open:focus-visible { outline: 1px solid var(--gold); outline-offset: 8px; }
.prod__card:active .plx { scale: 1.02; }

/* ============================================================
   PRODUCTION DIALOG
   ============================================================ */
.pd {
  border: 0; padding: 0; margin: 0;
  width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh;
  background: var(--bg); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.pd::backdrop { background: rgba(4, 3, 2, .8); }
.pd[open] { animation: pd-in .55s var(--ease-out); }
@keyframes pd-in { from { opacity: 0; transform: translateY(3rem); } }
body.has-dialog { overflow: hidden; }
body.has-menu { overflow: hidden; }
.pd__inner { padding: 13vh var(--gutter) 10vh; }
.pd__close {
  position: fixed; top: 1.3rem; right: var(--gutter); z-index: 5;
  padding: 1em 1.6em; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(13, 11, 9, .75); backdrop-filter: blur(4px);
  cursor: pointer; transition: border-color .4s, color .4s;
}
.pd__close:hover { border-color: rgba(211, 169, 92, .6); color: var(--gold-hi); }
.pd__head {
  display: flex; align-items: flex-start; gap: clamp(2.5rem, 6vw, 7rem);
  max-width: 92rem;
}
.pd__head-text { flex: 1 1 auto; min-width: 0; max-width: 62ch; }
.pd__poster {
  flex: 0 0 clamp(15rem, 24vw, 27rem);
  align-self: flex-start; position: sticky; top: 13vh;
  aspect-ratio: 2 / 3; width: 100%; object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(4, 3, 2, .5);
}
.pd__title {
  font-size: clamp(3rem, 8vw, 8rem); line-height: .95; margin: .25em 0 .3em;
}
.pd__author { color: var(--gold); margin-bottom: 3.2rem; }
.pd__note { margin-top: 2.4rem; max-width: 62ch; }
.pd__note p {
  font-family: var(--serif); font-weight: 350;
  font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft);
}
.pd__note p + p { margin-top: 1.1em; }
.pd__note cite {
  display: block; margin-top: 1.8rem; font-style: normal; color: var(--gold);
}
.pd__seq {
  display: flex; gap: 1.6rem; margin-top: 9vh;
  overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; padding-bottom: 1rem;
}
.pd__seq::-webkit-scrollbar { display: none; }
.pd__seq figure {
  flex: 0 0 min(64vw, 62rem); scroll-snap-align: center;
  opacity: 0;
}
.pd[open] .pd__seq figure {
  animation: pd-fig 1s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * .13s + .25s);
}
@keyframes pd-fig {
  from { opacity: 0; transform: translateY(2.4rem); }
  to   { opacity: 1; transform: none; }
}
.pd__seq img {
  aspect-ratio: 16 / 10; width: 100%; object-fit: cover;
  transition: scale 1s var(--ease-out);
}
.pd__seq figcaption { margin-top: .9rem; }
.pd__shot {
  display: block; width: 100%; padding: 0; border: 0; margin: 0;
  background: none; cursor: pointer; overflow: hidden;
}
.pd__shot:hover img, .pd__shot:focus-visible img { scale: 1.05; }
.pd__shot:focus-visible { outline: 1px solid var(--gold); outline-offset: 5px; }
html.has-cursor .pd__shot { cursor: none; }

/* Lightbox - full-size photo over the dialog */
.lbx {
  width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh;
  margin: 0; padding: 0; border: 0; background: transparent;
  place-items: center; overflow: hidden;
}
.lbx[open] { display: grid; }
.lbx::backdrop { background: rgba(6, 4, 3, .93); }
.lbx img {
  max-width: 94vw; max-height: 90dvh; object-fit: contain;
  outline: 0; /* it takes autofocus so the prev arrow doesn't open with a ring */
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
  animation: lbx-in .5s var(--ease-out) both;
}
.lbx__hint {
  position: fixed; left: 50%; bottom: 3.4vh; translate: -50% 0;
  color: var(--gold); opacity: .7; pointer-events: none;
}
.lbx__nav {
  position: fixed; top: 50%; translate: 0 -50%; z-index: 2;
  width: clamp(2.6rem, 6vw, 3.4rem); height: clamp(2.6rem, 6vw, 3.4rem);
  display: grid; place-items: center;
  border: 1px solid rgba(211, 169, 92, .35); border-radius: 50%;
  background: rgba(6, 4, 3, .55); color: var(--gold);
  opacity: .75; cursor: pointer;
  transition: opacity .3s, border-color .3s, color .3s;
}
.lbx__nav svg { width: 38%; height: 38%; display: block; }
.lbx__nav--prev { left: clamp(.7rem, 2.6vw, 2.4rem); }
.lbx__nav--next { right: clamp(.7rem, 2.6vw, 2.4rem); }
.lbx__nav:hover, .lbx__nav:focus-visible {
  opacity: 1; border-color: var(--gold); color: var(--gold-hi);
}
.lbx__count {
  position: fixed; left: 50%; top: 3.4vh; translate: -50% 0;
  color: var(--gold); opacity: .7; pointer-events: none;
}
.lbx--single .lbx__nav, .lbx--single .lbx__count { display: none; }
@keyframes lbx-in {
  from { opacity: 0; scale: .96; }
  to   { opacity: 1; scale: 1; }
}
html.has-cursor .lbx { cursor: none; }
/* Distribuția + Echipa */
.pd__cast, .pd__crew {
  margin-top: 9vh; border-top: 1px solid var(--line); padding-top: 3.2rem;
}
.pd__crew { margin-top: 6vh; }
.pd__sec { color: var(--gold); margin-bottom: 2rem; }
.pd__cast-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0 3rem;
}
.pd__cast-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.2rem; padding: .7rem 0; border-bottom: 1px solid var(--line);
}
.pd__rol { color: var(--ink-soft); }
.pd__act { color: var(--gold-hi); text-align: right; }
.pd__cast-sec {
  grid-column: 1 / -1; color: var(--gold);
  margin: 1.6rem 0 .2rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.pd__credits-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.4rem 2rem;
}
.pd__credits-grid dt { color: var(--gold); }
.pd__credits-grid dd { margin-top: .6rem; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   CONTACT - Curtain call
   ============================================================ */
.contact { position: relative; padding-top: 26vh; }
.contact::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 80vh;
  pointer-events: none;
  background: radial-gradient(46% 55% at 50% -12%, rgba(238, 205, 142, .12), transparent 68%);
}
.contact__head h1 {
  font-size: clamp(3.2rem, 10vw, 11rem); line-height: .95;
  max-width: 10ch;
}
.contact__head h1 em { color: var(--gold); }
.contact__mail {
  display: inline-block; margin-top: 8vh;
  font-family: var(--serif); font-weight: 350;
  font-size: clamp(1.4rem, 4.4vw, 4rem);
  color: var(--ink); text-decoration: none;
  background-image: linear-gradient(90deg, var(--gold), var(--gold));
  background-repeat: no-repeat; background-size: 0% 1px; background-position: 0 97%;
  transition: background-size .7s var(--ease-out), color .5s, text-shadow .5s;
}
.contact__mail:hover {
  color: var(--gold-hi);
  background-size: 100% 1px;
  text-shadow: 0 0 46px rgba(236, 206, 147, .4);
}
.contact__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem 3rem;
  margin-top: 18vh; border-top: 1px solid var(--line); padding-top: 3.4rem;
}
.contact__cols h2 { font-family: var(--grot); color: var(--gold); margin-bottom: 1.3rem; }
.contact__cols p { color: var(--ink-dim); line-height: 2; }
.contact__cols a { color: var(--ink-soft); text-decoration-color: rgba(211, 169, 92, .5); text-underline-offset: 3px; transition: color .4s; }
.contact__cols a:hover { color: var(--gold-hi); }

/* ---------- End credits ---------- */
.credits { margin-top: 16vh; border-top: 1px solid var(--line); padding-top: 5vh; }
.credits > .playbill { text-align: center; display: block; }
.credits__stage {
  height: min(44vh, 420px); overflow: hidden; position: relative; margin-top: 3vh;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
}
.credits__track { display: flex; flex-direction: column; animation: credit-roll 34s linear infinite; }
.credits__stage:hover .credits__track { animation-play-state: paused; }
.credits__track ul { text-align: center; }
.credits__track li { padding: 1.15rem 0; }
.credits__track .role { display: block; margin-bottom: .5rem; }
.credits__track .name { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
@keyframes credit-roll { to { translate: 0 -50%; } }
.credits__legal {
  text-align: center;
  font-size: .62rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .overture__head, .overture__body { display: block; }
  .overture__kicker { margin-bottom: 1.6rem; padding-top: 0; }
  .overture__lede { margin-top: 2.4rem; }

  .page-head { padding-top: 20vh; }
  .page-head h1 { grid-column: 1 / 13; }
  .page-head .deck { grid-column: 1 / 13; grid-row: auto; margin-top: 3vh; }
  .page-head__photo { grid-column: 1 / 13; grid-row: auto; margin-top: 3vh; }

  .act { display: block; }
  .act__label { position: static; margin-bottom: 2rem; }
  .pull { display: block; }
  .pull p { text-indent: 0; }
  .pull cite { display: block; margin-top: 1.6rem; }
  .about-portrait { display: block; }
  .about-portrait figcaption { text-align: left; margin-top: 1rem; padding: 0; }

  .prod { padding: 6vh 0; }
  .prod__card { display: block; }
  .prod__media, .prod--even .prod__media {
    aspect-ratio: 2 / 3; width: 68%; margin: 0;
  }
  .prod--even .prod__media { margin-left: auto; }
  .prod__meta { margin-top: 1.6rem; padding: 0 0 0 .2rem; }
  .prod__ghost { font-size: 5.6rem; top: -3.2rem; }

  .pd__seq figure { flex-basis: 84vw; }

  .pd__head { flex-direction: column; align-items: stretch; }
  .pd__head-text { max-width: none; }
  .pd__poster {
    position: static; flex-basis: auto; align-self: flex-start;
    width: min(64%, 20rem); margin-top: 1rem;
  }

  .contact__cols { grid-template-columns: 1fr; gap: 2.8rem; }
  .contact { padding-top: 22vh; }

  .hero { padding-top: 6.4rem; }
  .hero__portrait { width: min(76vw, 430px); height: 60vh; inset: 0 -6vw auto auto; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 2.2rem; }
  .hero__tagline { text-align: left; }
}

@media (max-width: 560px) {
  .playbill { letter-spacing: .22em; }
  .site-head { padding: 1.1rem 1rem; gap: .8rem; }
  /* No-JS fallback keeps the old compact inline links. */
  html:not(.js) .nav ul { gap: .7rem; }
  html:not(.js) .nav a { letter-spacing: .12em; font-size: .56rem; }
  html:not(.js) .nav a .no { display: none; }
  .brand__logo { height: 1.7rem; }
}
@media (max-width: 440px) {
  /* Wordmark + toggle can't share a narrow header; the logo mark stays. */
  html.js .logo-type { display: none; }
}
@media (max-width: 400px) {
  html:not(.js) .brand { display: none; }
  html:not(.js) .site-head { justify-content: flex-end; }
}

/* Show tap cue on touch devices (no hover, no custom cursor) */
@media (hover: none) {
  .prod__cue { opacity: 1; translate: 0 0; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  /* The block above zeroes durations but NOT delays - without this the
     "closed" menu would stay visible/interactive for its .6s visibility lag. */
  html.js .nav, html.js .nav *, html.js .nav-toggle * { transition-delay: 0s !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js [data-reveal="spot"] .plx { clip-path: none !important; }
  .hero__layer--lit { -webkit-mask-image: none !important; mask-image: none !important; }
  html.js body:not(.is-ready) .hero__kicker,
  html.js body:not(.is-ready) .hero__tagline,
  html.js body:not(.is-ready) .hero__scroll { opacity: 1; translate: none; }
  html.js body:not(.is-ready) .hero__layer { opacity: 1; }
  html.js body:not(.is-ready) .hero__portrait { opacity: 1; }
  .grain { animation: none; }
  .ticker__track { animation: none; }
  .credits__track { animation: none; translate: none; }
  .credits__track ul[aria-hidden] { display: none; }
  .credits__stage { height: auto; -webkit-mask-image: none; mask-image: none; }
  .plx img { translate: 0 0; scale: 1; }
}
