/* ══════════════════════════════════════════════════════════════
   SERVA — public site v2 · "Product Theatre"
   Midnight + champagne gold. The device is the show.
   Tokens descend from the SERVA One kiosk + operator dashboard.
   ══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  /* surfaces */
  --bg: #150f09;
  --bg-deep: #0e0a05;
  --bg-pit: #0a0703;
  --card: #211810;
  /* ink */
  --ink: #f6ece0;
  --ink-2: #b6a88f;
  --muted: #a8927a;
  --muted-2: #84745f;
  /* gold ramp */
  --gold-hi: #ecd594;
  --gold: #c9a24a;
  --gold-text: #e3c574;
  --gold-deep: #9a7427;
  --gold-wash: rgba(201,162,74,.10);
  /* hairlines */
  --hairline: #32261a;
  --border: #4a3826;
  /* ivory (intermission — echoes the operator dashboard) */
  --ivory: #f0e9da;
  --ivory-deep: #e7dfcc;
  --ivory-ink: #2a2118;
  --ivory-muted: #6f6049;
  --ivory-line: #d8cdb4;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --grad-gold: linear-gradient(120deg, #ecd594 0%, #d6b060 45%, #b08a35 100%);
  --shadow-stage:
    0 2px 4px rgba(0,0,0,.5),
    0 24px 48px -12px rgba(0,0,0,.65),
    0 64px 140px -32px rgba(154,116,39,.30);
  --shadow-card: 0 1px 2px rgba(0,0,0,.45), 0 18px 48px -14px rgba(0,0,0,.6);
  --glow-gold: 0 8px 24px -6px rgba(154,116,39,.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(110% 70% at 50% -8%, #1d140c 0%, rgba(29,20,12,0) 60%),
    linear-gradient(180deg, #120c06 0%, #0e0a05 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-text); text-decoration: none; }
em { font-style: italic; }

.shell { max-width: 76rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.bk { display: inline; }

/* film grain over everything */
.grain {
  position: fixed; inset: -10%; z-index: 60; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ════════ ornaments ════════ */
.dia {
  display: inline-block;
  width: .42rem; height: .42rem; margin-right: .65rem;
  background: var(--grad-gold);
  transform: rotate(45deg) translateY(-.05rem);
}
.eyebrow {
  display: flex; align-items: center;
  margin: 0 0 1.3rem;
  color: var(--gold-text);
  font-size: .72rem;
  font-weight: 640;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.orn {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-bottom: 1.6rem;
}
.orn span {
  display: block; width: clamp(3.5rem, 9vw, 7rem); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep));
}
.orn span:last-child { background: linear-gradient(90deg, var(--gold-deep), transparent); }
.orn .dia { margin: 0; }

/* ════════ type ════════ */
h1, h2, h3 { font-family: var(--display); font-weight: 570; letter-spacing: -.015em; }
h1 em, h2 em {
  font-style: italic; font-weight: 545;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-right: .07em;
}

/* ════════ buttons ════════ */
.btn-gold, .btn-ghost, .btn-dark {
  display: inline-block;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  font-weight: 620;
  font-size: .98rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.btn-gold {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #ecd594 0%, #c9a24a 52%, #9a7427 100%);
  color: #211c0d;
  box-shadow: var(--glow-gold);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 5s ease-in-out 1.6s infinite;
}
@keyframes sheen { 0%,74% { transform: translateX(-120%); } 88%,100% { transform: translateX(120%); } }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgba(154,116,39,.7); }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.06rem; }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--border);
  transition: border-color .25s ease, background .25s ease;
}
.btn-ghost:hover { border-color: var(--gold-deep); background: var(--gold-wash); }
.btn-dark {
  background: var(--ivory-ink);
  color: var(--ivory);
  transition: transform .25s ease, background .25s ease;
}
.btn-dark:hover { transform: translateY(-2px); background: #3a2e20; }

/* ════════ topbar ════════ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,7,3,.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(58,44,29,.55);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand img { width: 128px; height: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  color: var(--ink-2);
  font-size: .91rem; font-weight: 520;
  transition: color .2s ease;
}
.nav a:hover { color: var(--gold-text); }
.nav .nav-cta {
  color: var(--gold-text);
  border: 1px solid var(--border);
  padding: .5rem 1.2rem; border-radius: 999px;
  transition: border-color .2s ease, background .2s ease;
}
.nav .nav-cta:hover { border-color: var(--gold-deep); background: var(--gold-wash); }

/* ══════════════════════════════════════════════════════════════
   HERO — the stage
   ══════════════════════════════════════════════════════════════ */
.hero { position: relative; overflow: hidden; }

/* the spotlight beam falling on the device */
.beam {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46rem 30rem at 74% 16%, rgba(201,162,74,.13) 0%, rgba(201,162,74,0) 65%),
    conic-gradient(from 196deg at 74% -14%, transparent 42%, rgba(236,213,148,.07) 49%, rgba(236,213,148,.10) 50%, rgba(236,213,148,.07) 51%, transparent 58%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-bottom: clamp(2rem, 4vh, 3.5rem);
}

.hero h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.9rem, 5.6vw, 4.7rem);
  line-height: 1.04;
}
.lede {
  margin: 0 0 2.2rem;
  max-width: 33rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.5vw, 1.17rem);
  line-height: 1.7;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.fineprint {
  margin: 1.6rem 0 0;
  color: var(--muted-2);
  font-size: .82rem;
  letter-spacing: .01em;
}

/* ── the staged device ── */
.hero-stage {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.stage-glow {
  position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%);
  width: 30rem; height: 9rem; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(201,162,74,.22) 0%, rgba(201,162,74,0) 70%);
  filter: blur(2px);
}

.device {
  margin: 0;
  position: relative;
  border-radius: 2.6rem;
  padding: .8rem;
  background:
    linear-gradient(165deg, #38291a 0%, #1a1209 38%, #120c06 60%, #2a1f12 100%);
  box-shadow:
    inset 0 1px 0 rgba(236,213,148,.28),
    inset 0 -1px 0 rgba(0,0,0,.6),
    var(--shadow-stage);
}
/* gold rim light tracing the frame */
.device::before {
  content: ""; position: absolute; inset: -1px; border-radius: 2.65rem;
  padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(236,213,148,.55) 0%, rgba(154,116,39,.18) 30%, rgba(20,14,8,.0) 55%, rgba(154,116,39,.35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
.device-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 480 / 810;
  border-radius: 1.9rem;
  overflow: hidden;
  background: #0c0805;
  transform: translateZ(0);
}
.device-screen img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.theatre {
  width: min(345px, 72vw);
  transform: perspective(1500px) rotateY(-7deg) rotateX(1.6deg) rotate(.5deg);
}

/* CSS-only screen cycle: static menu base, item + kitchen fade over it */
.f-cycle { opacity: 0; }
.js .f-cycle { animation: phase 18s linear infinite; }
.js .f2 { animation-delay: 0s; }
.js .f3 { animation-delay: 6s; }
@keyframes phase {
  0%, 33%  { opacity: 0; }
  38%, 62% { opacity: 1; }
  67%, 100%{ opacity: 0; }
}

/* reflection on the stage floor */
.stage-reflection {
  width: min(345px, 72vw);
  height: 7.5rem;
  margin-top: .4rem;
  overflow: hidden;
  transform: perspective(1500px) rotateY(-7deg) rotateX(1.6deg) rotate(.5deg);
  opacity: .14;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 78%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 78%);
}
.stage-reflection img {
  width: 100%;
  border-radius: 1.9rem;
  transform: scaleY(-1);
  filter: blur(1px) saturate(.8);
}

/* synced captions under the stage */
.stage-caps {
  display: flex; gap: clamp(1.2rem, 3vw, 2.4rem);
  list-style: none; margin: -3.2rem 0 0; padding: 0;
  position: relative; z-index: 2;
}
.cap {
  display: flex; align-items: baseline; gap: .5rem;
  color: var(--muted-2);
  font-size: .78rem; font-weight: 560;
  letter-spacing: .18em; text-transform: uppercase;
  border-top: 1px solid var(--hairline);
  padding-top: .7rem;
}
.cap i {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: .92rem; letter-spacing: 0;
}
/* default (and reduced-motion / no-js): first caption lit */
.cap1 { color: var(--gold-text); border-top-color: var(--gold-deep); }
.js .cap { animation: capOff 18s linear infinite; }
.js .cap1 { animation-name: capFirst; }
.js .cap2 { animation-delay: 0s; }
.js .cap3 { animation-delay: 6s; }
@keyframes capOff {
  0%, 33%   { color: #84745f; border-top-color: #32261a; }
  38%, 62%  { color: #e3c574; border-top-color: #9a7427; }
  67%, 100% { color: #84745f; border-top-color: #32261a; }
}
@keyframes capFirst {
  0%, 33%   { color: #e3c574; border-top-color: #9a7427; }
  38%, 94%  { color: #84745f; border-top-color: #32261a; }
  99%, 100% { color: #e3c574; border-top-color: #9a7427; }
}

/* ══════════════════════════════════════════════════════════════
   PLAYBILL intro
   ══════════════════════════════════════════════════════════════ */
.playbill {
  padding: clamp(4rem, 9vh, 6.5rem) 0 clamp(2.5rem, 5vh, 4rem);
  text-align: center;
}
.playbill h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.1;
}
.playbill p { margin: 0 auto; max-width: 44rem; color: var(--ink-2); font-size: 1.05rem; }

/* ══════════════════════════════════════════════════════════════
   ACTS
   ══════════════════════════════════════════════════════════════ */
.act { position: relative; padding: clamp(3.5rem, 8vh, 6rem) 0; }
.act-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.act-flip .act-grid > .act-copy { order: 2; }
.act-flip .act-grid > .act-fig { order: 1; }

.act-copy { position: relative; }
.act-numeral {
  position: absolute;
  top: -5.4rem; left: -1.4rem;
  z-index: -1;
  font-family: var(--display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(8rem, 16vw, 13rem);
  line-height: 1;
  background: linear-gradient(165deg, rgba(236,213,148,.17) 0%, rgba(154,116,39,.05) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  pointer-events: none;
  user-select: none;
}
.act h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.1rem, 3.8vw, 3.15rem);
  line-height: 1.08;
}
.act-lede {
  margin: 0 0 1.6rem;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.72;
  max-width: 32rem;
}
.act-points { list-style: none; margin: 0; padding: 0; max-width: 30rem; }
.act-points li {
  position: relative;
  padding: .62rem 0 .62rem 1.6rem;
  color: var(--ink-2);
  font-size: .95rem;
  border-top: 1px solid var(--hairline);
}
.act-points li:last-child { border-bottom: 1px solid var(--hairline); }
.act-points li::before {
  content: "";
  position: absolute; left: .1rem; top: 1.22rem;
  width: .45rem; height: .45rem;
  background: var(--grad-gold);
  transform: rotate(45deg);
}
.receipt-line {
  margin: 1.5rem 0 0;
  color: var(--muted-2);
  font-size: .8rem;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  border-left: 2px solid var(--gold-deep);
  padding-left: .9rem;
}

/* act figures */
.act-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.device-still { width: min(330px, 78vw); }
.act .device-still { transform: rotate(-1.2deg); }
.act-flip .device-still { transform: rotate(1.2deg); }
.act-fig figcaption {
  color: var(--muted-2);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

/* ACT III — paired stills (the check) */
.act-fig-stills { position: relative; align-items: stretch; gap: 0; }
.still {
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #1a1209;
  box-shadow: var(--shadow-card);
}
.still-a { width: 86%; align-self: flex-start; transform: rotate(-1deg); z-index: 1; }
.still-b { width: 74%; align-self: flex-end; margin-top: -2.4rem; transform: rotate(1.4deg); z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,.5), 0 24px 60px -12px rgba(0,0,0,.7); }
.act-fig-stills figcaption { margin-top: 1.4rem; }

/* ══════════════════════════════════════════════════════════════
   INTERMISSION — operators (ivory inversion)
   ══════════════════════════════════════════════════════════════ */
.operators {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-deep) 100%);
  color: var(--ivory-ink);
  padding: clamp(4rem, 9vh, 6.5rem) 0;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}
.inter-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.5rem, 6vh, 4rem); }
.orn-dark span { background: linear-gradient(90deg, transparent, rgba(154,116,39,.6)); }
.orn-dark span:last-child { background: linear-gradient(90deg, rgba(154,116,39,.6), transparent); }
.eyebrow-dark { justify-content: center; color: var(--gold-deep); }
.eyebrow-dark .dia { display: none; }
.operators h2 {
  margin: 0;
  color: #231a10;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
}
.operators h2 em {
  background: linear-gradient(120deg, #a87d2a 0%, #8a6520 100%);
  -webkit-background-clip: text; background-clip: text;
}
.op-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.op-lede { color: #4d4232; font-size: 1.04rem; line-height: 1.7; margin: 0 0 1.5rem; }
.op-list { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.op-list li {
  position: relative;
  padding: .6rem 0 .6rem 1.7rem;
  color: #5d5140;
  font-size: .95rem;
  border-top: 1px solid var(--ivory-line);
}
.op-list li:last-child { border-bottom: 1px solid var(--ivory-line); }
.op-list li strong { color: #2a2118; font-weight: 640; }
.op-list li::before {
  content: "";
  position: absolute; left: .15rem; top: 1.15rem;
  width: .5rem; height: .5rem;
  background: linear-gradient(135deg, #ecd594, #9a7427);
  transform: rotate(45deg);
}

.browser {
  margin: 0;
  background: #fbf7ee;
  border: 1px solid var(--ivory-line);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(42,33,24,.12), 0 32px 70px -18px rgba(42,33,24,.4);
}
.browser-chrome {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--ivory-line);
  background: #f4eee0;
}
.browser-chrome span { width: .66rem; height: .66rem; border-radius: 50%; background: #d8cdb4; }
.browser-chrome span:first-child { background: #cdb978; }
.browser-chrome p {
  margin: 0 auto;
  font-size: .76rem; letter-spacing: .04em;
  color: var(--ivory-muted);
  transform: translateX(-1.1rem);
}

/* ══════════════════════════════════════════════════════════════
   MEDIA NETWORK — encore
   ══════════════════════════════════════════════════════════════ */
.media {
  position: relative;
  padding: clamp(4.5rem, 10vh, 7rem) 0;
  background:
    radial-gradient(60rem 28rem at 50% 0%, rgba(201,162,74,.07) 0%, rgba(201,162,74,0) 70%),
    var(--bg-pit);
  border-top: 1px solid var(--hairline);
}
.media-head { text-align: center; max-width: 50rem; margin: 0 auto clamp(2.6rem, 6vh, 4rem); }
.media-head .eyebrow { justify-content: center; }
.media-head .eyebrow .dia { display: none; }
.media h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.1;
}
.media-lede { margin: 0 auto; max-width: 42rem; color: var(--ink-2); font-size: 1.05rem; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.media-card {
  position: relative;
  background: linear-gradient(170deg, #1c130b 0%, #140d07 100%);
  border: 1px solid var(--hairline);
  border-radius: 1.4rem;
  padding: 2rem 1.9rem 2.1rem;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, border-color .3s ease;
}
.media-card:hover { transform: translateY(-4px); border-color: var(--gold-deep); }
.media-num {
  display: block;
  font-family: var(--display); font-style: italic;
  font-size: 1.5rem; line-height: 1;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.media-card h3 { margin: 0 0 .65rem; font-size: 1.3rem; line-height: 1.2; }
.media-card p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.68; }

/* ══════════════════════════════════════════════════════════════
   CURTAIN CALL
   ══════════════════════════════════════════════════════════════ */
.closing {
  position: relative;
  padding: clamp(5.5rem, 13vh, 9rem) 0;
  overflow: hidden;
  text-align: center;
}
.closing::before {
  content: ""; position: absolute; left: 50%; bottom: -18rem; transform: translateX(-50%);
  width: 64rem; height: 32rem; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(201,162,74,.14) 0%, rgba(201,162,74,0) 70%);
}
.closing-inner { position: relative; max-width: 42rem; }
.closing-mark { margin: 0 auto 1.8rem; width: 68px; }
.closing h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.06;
}
.closing p { color: var(--ink-2); font-size: 1.07rem; margin: 0 0 2.4rem; }
.closing .fineprint { margin-top: 2rem; }

/* ════════ footer ════════ */
.footer {
  background: var(--bg-pit);
  border-top: 1px solid var(--hairline);
  padding: 2.6rem 0 2.8rem;
}
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.5rem; }
.footer-inner img { width: 100px; opacity: .9; }
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a { color: var(--muted); font-size: .88rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--gold-text); }
.footer-legal { margin: 0 0 0 auto; color: var(--muted-2); font-size: .82rem; }

/* ════════ motion ════════ */
.rise { opacity: 1; }
.js .rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .8s cubic-bezier(.22,.61,.36,1) forwards;
}
.js .d1 { animation-delay: .05s; }
.js .d2 { animation-delay: .15s; }
.js .d3 { animation-delay: .27s; }
.js .d4 { animation-delay: .4s; }
.js .d5 { animation-delay: .52s; }
@keyframes rise { to { opacity: 1; transform: none; } }

[data-reveal] { opacity: 1; }
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.22,.61,.36,1);
}
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { animation: none; opacity: 1; transform: none; }
  .js [data-reveal] { transition: none; opacity: 1; transform: none; }
  .btn-gold::after { animation: none; }
  .btn-gold, .btn-dark, .media-card { transition: none; }
  .js .f-cycle { animation: none; opacity: 0; }
  .js .cap { animation: none; }
}

/* ════════ responsive ════════ */
@media (max-width: 60rem) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 2.5rem; gap: 3rem; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .beam {
    background:
      radial-gradient(40rem 26rem at 50% 38rem, rgba(201,162,74,.12) 0%, rgba(201,162,74,0) 65%);
  }
  .act-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .act-flip .act-grid > .act-copy { order: 1; }
  .act-flip .act-grid > .act-fig { order: 2; }
  .act-numeral { top: -4.2rem; left: -.4rem; }
  .op-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; max-width: 30rem; margin: 0 auto; }
  .bk { display: none; }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .nav { gap: 1.1rem; }
  .nav a:not(.nav-cta) { display: none; }
  .theatre, .stage-reflection { width: min(300px, 80vw); }
  .stage-reflection { height: 5.5rem; }
  .stage-caps { margin-top: -2.2rem; }
  .act { padding: 3rem 0; }
  .act-fig-stills { max-width: 26rem; margin: 0 auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .footer-legal { margin-left: 0; }
}

/* ══════════════════════════════════════════════════════════════
   FINAL GRAFTS — cinematic hero (v2a), running clock (v2a),
   programme index (v2c), grand pull-quote (v2c), 03:00 coda
   ══════════════════════════════════════════════════════════════ */

/* ── 1 · the night shoot behind the stage ── */
.hero { isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 38%;
}
.js .hero-media img { animation: kenburns 14s cubic-bezier(.16,.84,.44,1) forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(97deg,
      rgba(14,10,5,.985) 0%, rgba(14,10,5,.95) 34%, rgba(14,10,5,.78) 54%,
      rgba(14,10,5,.34) 76%, rgba(14,10,5,.52) 100%),
    linear-gradient(180deg,
      rgba(14,10,5,.66) 0%, rgba(14,10,5,.22) 30%,
      rgba(14,10,5,.26) 60%, #0e0a05 100%);
}
.hero-grid { min-height: min(48rem, calc(100svh - 7.5rem)); }
.hero h1 { text-shadow: 0 2px 18px rgba(5,3,1,.6), 0 6px 60px rgba(5,3,1,.5); }
.hero .lede { color: #c5b69c; text-shadow: 0 1px 22px rgba(0,0,0,.55); }

/* ── 2 · the running clock — slates ── */
.slate {
  display: flex; align-items: baseline; gap: 1.1rem;
  margin: 0 0 1.5rem;
  font-size: .7rem; font-weight: 620;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-text);
}
.slate-k { white-space: nowrap; }
.slate-rule {
  flex: 1 1 auto; max-width: 13rem; height: 1px; align-self: center;
  background: linear-gradient(90deg, rgba(154,116,39,.6), transparent);
}
.slate-rule-l { transform: scaleX(-1); }
.slate-t {
  font-family: var(--display); font-style: italic;
  font-size: 1.05rem; font-weight: 500;
  letter-spacing: .04em; text-transform: none;
  color: var(--gold-hi);
}
.slate-center { justify-content: center; }
.slate-center .slate-rule { max-width: 4.5rem; }

/* the reel — the evening, hour by hour */
.reel {
  position: relative;
  border-top: 1px solid rgba(201,162,74,.16);
  background: linear-gradient(180deg, rgba(10,7,3,.38), rgba(10,7,3,.68));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.reel-inner {
  display: flex; justify-content: space-between; gap: 1rem;
  overflow-x: auto; scrollbar-width: none;
  padding-top: 1.05rem; padding-bottom: 1.15rem;
}
.reel-inner::-webkit-scrollbar { display: none; }
.reel a {
  display: flex; align-items: baseline; gap: .6rem;
  white-space: nowrap;
  color: var(--muted);
  font-size: .8rem; letter-spacing: .05em;
  transition: color .25s ease;
}
.reel a b {
  font-family: var(--display); font-style: italic;
  font-weight: 520; font-size: .98rem; letter-spacing: .02em;
  color: var(--gold);
  transition: color .25s ease;
}
.reel a:hover { color: var(--ink); }
.reel a:hover b { color: var(--gold-hi); }
.js .d6 { animation-delay: .68s; }

/* the clock in the act eyebrows */
.ey-rule {
  display: inline-block; width: 1.7rem; height: 1px;
  margin: 0 .8rem; align-self: center;
  background: linear-gradient(90deg, var(--gold-deep), transparent);
}
.ey-time {
  font-family: var(--display); font-style: italic;
  font-weight: 500; font-size: .95rem;
  letter-spacing: .04em; text-transform: none;
  color: var(--gold-hi);
}
.eyebrow-dark .ey-time { color: var(--gold-deep); }
.eyebrow-dark .ey-rule { background: linear-gradient(90deg, rgba(154,116,39,.5), transparent); }

/* ── 3 · the programme — in-page index ── */
.programme { padding: clamp(1rem, 3vh, 2.5rem) 0 clamp(3rem, 7vh, 5rem); }
.prog-label {
  margin: 0 0 1.2rem;
  font-size: .7rem; font-weight: 560;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted-2);
}
.prog-list { list-style: none; margin: 0; padding: 0; }
.prog-list li { border-top: 1px solid var(--hairline); }
.prog-list li:last-child { border-bottom: 1px solid var(--hairline); }
.prog-list a {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto 2.5rem;
  align-items: baseline; gap: 1rem;
  padding: 1.3rem .4rem;
  transition: background .25s ease;
}
.prog-list a:hover { background: rgba(201,162,74,.05); }
.prog-num {
  font-family: var(--display); font-style: italic;
  font-size: 1.3rem; color: var(--gold);
}
.prog-num-int { font-size: 1.05rem; color: var(--gold-deep); }
.prog-title {
  font-family: var(--display); font-weight: 540;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  letter-spacing: -.012em; color: var(--ink);
}
.prog-desc {
  text-align: right;
  font-size: .7rem; font-weight: 540;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-text); opacity: .8;
}
.prog-arrow {
  justify-self: end;
  color: var(--gold); font-size: 1.05rem;
  transition: transform .25s ease;
}
.prog-list a:hover .prog-arrow { transform: translateX(.4rem); }

/* ── 4 · the grand pull-quote (media network) ── */
.pull-grand {
  margin: clamp(3.5rem, 8vh, 5.5rem) auto 0;
  max-width: 46rem;
  padding: 2.5rem 0 2.3rem;
  text-align: center;
  border-top: 1px solid rgba(154,116,39,.4);
  border-bottom: 1px solid rgba(154,116,39,.4);
}
.pull-grand p {
  margin: 0;
  font-family: var(--display); font-weight: 430;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.14; letter-spacing: -.012em;
  color: var(--ink);
}
.pull-grand footer {
  margin-top: 1.1rem;
  font-size: .7rem; font-weight: 540;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted-2);
}

/* ── 03:00 — while the room sleeps ── */
.night {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(5rem, 12vh, 8rem) 0;
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(201,162,74,.07) 0%, rgba(201,162,74,0) 60%),
    #080502;
  border-top: 1px solid var(--hairline);
}
.night-ghost {
  position: absolute; left: 50%; top: 47%;
  transform: translate(-50%, -50%);
  font-family: var(--display); font-style: italic; font-weight: 380;
  font-size: clamp(10rem, 26vw, 22rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,162,74,.14);
  pointer-events: none; user-select: none; white-space: nowrap;
}
@supports not (-webkit-text-stroke: 1px black) {
  .night-ghost { color: rgba(201,162,74,.05); }
}
.night-inner { position: relative; max-width: 44rem; }
.night .slate { margin-bottom: 1.7rem; }
.night h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1;
}
.night-lede {
  margin: 0 auto; max-width: 36rem;
  color: var(--ink-2); font-size: 1.04rem; line-height: 1.7;
}
.night-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem;
  margin: 2.1rem 0 0;
}
.night-tags span {
  padding: .5rem 1.1rem;
  border: 1px solid rgba(201,162,74,.3); border-radius: 999px;
  background: rgba(201,162,74,.06);
  color: var(--gold-hi);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ── graft responsive ── */
@media (max-width: 60rem) {
  .hero-copy .slate { justify-content: center; }
  .hero-copy .slate .slate-rule { max-width: 3rem; }
  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(14,10,5,.95) 0%, rgba(14,10,5,.9) 38%,
        rgba(14,10,5,.84) 64%, #0e0a05 100%);
  }
  .hero-media img { object-position: 62% 26%; }
  .prog-list a { grid-template-columns: 3rem 1fr 1.4rem; padding: 1.15rem .2rem; }
  .prog-desc { display: none; }
  .reel-inner { justify-content: flex-start; gap: 1.7rem; }
}
@media (max-width: 40rem) {
  .slate { gap: .8rem; font-size: .62rem; letter-spacing: .2em; }
  .slate-k { white-space: normal; }
  .ey-rule { width: 1.1rem; margin: 0 .55rem; }
  .ey-time { font-size: .88rem; }
}

/* ── graft motion safety ── */
@media (prefers-reduced-motion: reduce) {
  .js .hero-media img { animation: none; transform: none; }
  .reel a, .reel a b, .prog-list a, .prog-arrow { transition: none; }
}
@media (max-width: 40rem) {
  .eyebrow { font-size: .66rem; letter-spacing: .17em; }
  .eyebrow .ey-rule { width: 1rem; margin: 0 .5rem; }
}
