/* Veltman Law. Rebuilt November 2026. Tokens only; see tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--paper) var(--grain); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--rope); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--velvet); color: var(--stage-ink); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--paper); color: var(--ink); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }
.label {
  font: 600 var(--step--1)/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gilt-ink);
  display: block;
}
.lede { font-size: var(--step-1); line-height: 1.5; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-2); margin: 2em 0 .6em; }
.text-link {
  font: 600 var(--step--1)/1 var(--label); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding-bottom: .35em; border-bottom: 1px solid var(--gilt);
  transition: border-color .2s, letter-spacing .3s var(--ease);
}
.text-link:hover { border-color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.5rem;
  font: 600 1rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--on-accent); background: var(--accent); border: 1px solid var(--accent); border-radius: 2px;
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s;
}
.btn:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.btn.gilt { background: var(--rope); border-color: var(--rope); color: #1a1016; }
.btn.gilt:hover { background: var(--rope-hi); }
.btn.ghost { background: transparent; color: var(--stage-ink); border-color: rgba(241, 237, 228, .45); }
.btn.ghost:hover { border-color: var(--rope-hi); color: var(--rope-hi); }

/* ---------- Page-to-page: the curtain parts ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-dim .3s ease both; }
  ::view-transition-new(root) { animation: vt-part .42s var(--ease) both; }
  @keyframes vt-dim { to { filter: brightness(.25); } }
  @keyframes vt-part { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
}
.site-header { view-transition-name: site-header; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--house-dark) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--rope) 35%, transparent);
  transition: background .4s, border-color .4s;
}
.site-header .in {
  width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand img { width: clamp(140px, 17vw, 190px); }
.site-nav ul { display: flex; gap: clamp(1rem, 3vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font: 600 .9375rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--stage-ink); padding: .75rem 0; display: inline-block; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 1px; background: var(--rope-hi);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav .short { display: none; }
@media (max-width: 560px) {
  .site-nav .long { display: none; } .site-nav .short { display: inline; }
  .site-nav a { font-size: .875rem; letter-spacing: .12em; }
}
/* On Home the header is clear glass over the stage until the curtain is up */
.js .home .site-header:not(.solid) { background: linear-gradient(rgba(10, 8, 11, .55), transparent); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.js .home .brand { opacity: 0; transition: opacity .01s; }
.js.is-open .home .brand, .js .home .site-header.solid .brand { opacity: 1; }

/* ---------- Overture: curtain and stage ---------- */
.overture { --aud-h: clamp(72px, 15vw, 220px); height: calc(100svh + 135vh); background: var(--house-dark); }
@media (max-width: 700px) { .overture { --aud-h: clamp(72px, 27vw, 140px); } }
.stage-frame { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--house-dark); color: var(--stage-ink); isolation: isolate; }
.stage, .stage > div { position: absolute; inset: 0; }
.stage-wall {
  background:
    radial-gradient(60% 55% at 50% 38%, rgba(125, 58, 98, .22), transparent 70%),
    linear-gradient(#0c0a0d, #17111b 58%, #0b090c 64%);
}
.stage-floor {
  inset: 60% -30% -8% -30% !important; transform-origin: 50% 0; transform: perspective(520px) rotateX(58deg);
  background:
    radial-gradient(34% 60% at 50% 16%, rgba(255, 205, 140, .20), transparent 72%),
    repeating-linear-gradient(90deg, #120d0c 0 3.1%, #0a0707 3.1% 3.25%, #15100e 3.25% 6.4%, #0a0707 6.4% 6.55%);
  -webkit-mask: linear-gradient(transparent, #000 16%); mask: linear-gradient(transparent, #000 16%);
  opacity: calc(.25 + .75 * var(--hero-o, 1));
}
.stage-spot {
  background: radial-gradient(34vmin 34vmin at var(--mx, 50%) var(--my, 42%), rgba(255, 214, 150, .16), transparent 100%);
  opacity: var(--hero-o, 1); mix-blend-mode: screen;
}
.hero {
  display: grid; align-content: center; justify-items: center; text-align: center; gap: 1.1rem;
  padding: calc(var(--header-h) + 11vh) max(var(--gutter), 17vw) calc(var(--aud-h) + 3vh);
  opacity: var(--hero-o, 1); transform: translateY(calc((1 - var(--hero-o, 1)) * 18px));
}
.hero > * { margin: 0; max-width: 46rem; }
.hero-kicker { color: var(--rope-hi); }
.hero h1 { font-size: var(--step-5); letter-spacing: -.012em; line-height: 1.04; text-shadow: 0 0 42px rgba(255, 210, 150, .22); }
.hero .sub { font-size: var(--step-1); color: var(--stage-muted); max-width: 34rem; line-height: 1.45; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: .8rem; }
.hero .btn:not(.ghost) { background: var(--rope); border-color: var(--rope); color: #1a1016; }
.hero .btn:not(.ghost):hover { background: var(--rope-hi); }

.curtain-gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.curtain-still { display: none; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  --pleat: repeating-linear-gradient(90deg, var(--velvet-lo) 0, var(--velvet) 1.2vw, var(--velvet-hi) 1.8vw, var(--velvet) 2.4vw, var(--velvet-lo) 3.6vw);
  background: var(--pleat) left / 13% 100% no-repeat, var(--pleat) right / 13% 100% no-repeat,
    linear-gradient(var(--velvet-deep), var(--velvet-lo)) top / 100% 12% no-repeat;
}
.no-js .curtain-still, .no-gl .curtain-still { display: block; }

.title-page { position: absolute; inset: 31% 0 auto 0; z-index: 3; display: grid; justify-items: center; gap: 1.1rem; pointer-events: none; will-change: transform; }
.title-page img { width: min(64vw, 640px); filter: drop-shadow(0 3px 14px rgba(0, 0, 0, .55)); }
.title-page .hair { width: 72px; height: 1px; background: var(--rope-hi); opacity: var(--desc-o, 1); }
.title-page .desc { font-size: clamp(1.05rem, .9rem + .7vw, 1.45rem); color: var(--stage-ink); opacity: var(--desc-o, 1); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.is-open .title-page, .no-js .title-page { visibility: hidden; }

.cue {
  position: absolute; left: 50%; bottom: calc(var(--aud-h) + 2.5vh); z-index: 5; translate: -50% 0;
  background: none; border: 0; cursor: pointer; padding: .75rem 1rem;
  font: 600 var(--step--1)/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--rope-hi);
  opacity: var(--cue-o, 0); text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}
.cue::after { content: ""; display: block; width: 1px; height: 26px; margin: .7rem auto 0; background: linear-gradient(var(--rope-hi), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.no-js .cue { display: none; }
.no-js .overture { height: 100svh; }
@media (prefers-reduced-motion: reduce) {
  .overture { height: 100svh; }
  .cue { display: none; }
  .title-page { visibility: hidden; }
  .js .home .brand { opacity: 1; }
}
@media (max-width: 700px) {
  .hero { padding-inline: 13vw; padding-top: calc(var(--header-h) + 9vh); }
  .title-page img { width: 78vw; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--house-dark); color: var(--stage-ink); padding: clamp(2.5rem, 7vh, 4.5rem) 0; text-align: center; overflow: clip; position: relative; }
.marquee .label { color: var(--rope); margin: 2rem var(--gutter); }
.bulbs {
  height: 12px; margin-inline: auto;
  background: radial-gradient(circle at 50% 50%, #fff3cf 0 2px, var(--rope-hi) 2.5px 3.5px, transparent 4.5px) 0 0 / 30px 12px repeat-x;
  filter: drop-shadow(0 0 5px rgba(255, 205, 120, .8));
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 30px, rgba(0, 0, 0, .28) 30px 90px) 0 0 / 90px 100%;
  mask: repeating-linear-gradient(90deg, #000 0 30px, rgba(0, 0, 0, .28) 30px 90px) 0 0 / 90px 100%;
  animation: chase 2.7s steps(3) infinite;
}
@keyframes chase { to { -webkit-mask-position: 90px 0; mask-position: 90px 0; } }
.billing {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: 38rem;
  font: 600 .9375rem/1.5 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--stage-muted);
}
.billing li { display: inline; }
.billing li:not(:last-child)::after { content: " · "; color: var(--rope); }
.mq { display: grid; gap: .35em; font: 500 clamp(2rem, 1.1rem + 4.2vw, 4.25rem)/1.15 var(--display);
  -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.mq-row { display: flex; width: max-content; animation: mq var(--dur, 110s) linear infinite; will-change: transform; }
.mq-row.rev { animation-direction: reverse; font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--rope); }
.mq:hover .mq-row { animation-play-state: paused; }
.mq-row span { white-space: nowrap; padding-right: .55em; }
.mq-row span::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .55em; vertical-align: .32em; background: var(--rope); rotate: 45deg; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bulbs { animation: none; -webkit-mask: none; mask: none; } }

.house-lights { height: 34vh; background: linear-gradient(var(--house-dark), color-mix(in srgb, var(--velvet-lo) 55%, var(--house-dark)) 30%, color-mix(in srgb, var(--rope) 22%, var(--paper)) 78%, var(--paper)); }

/* ---------- Reveals: CSS scroll-driven, no script ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise both linear; animation-timeline: view(); animation-range: entry 0px entry 170px; }
    @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  }
}

/* ---------- Introduction ---------- */
.intro { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-block: clamp(2rem, 6vh, 4rem) clamp(4rem, 12vh, 8rem); }
.portrait { margin: 0; }
.portrait .frame { display: block; position: relative; }
.portrait img { width: 100%; padding: 10px; background: var(--paper); border: 1px solid var(--gilt); outline: 1px solid color-mix(in srgb, var(--gilt) 45%, transparent); outline-offset: 6px; box-shadow: 0 30px 60px -30px rgba(23, 24, 27, .55); }
.portrait figcaption { margin-top: 1.6rem; color: var(--muted); font-size: 1rem; display: flex; gap: .7em; align-items: baseline; }
.intro-copy .label { margin-bottom: 1.2rem; }
.intro-copy .lede { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); line-height: 1.2; margin-bottom: .8em; letter-spacing: -.005em; }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; } .portrait { max-width: 260px; } }

/* ---------- Services: the running order ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.section-head .label { margin-bottom: 1rem; }
.section-head h2 { font-size: var(--step-4); margin-bottom: .5em; }
.section-head .lede { color: var(--muted); }
.services { padding-block: clamp(4rem, 12vh, 8rem); }
.running-order { display: grid; grid-template-columns: 17rem 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.rail { position: sticky; top: calc(var(--header-h) + 2rem); }
.rail .label { margin-bottom: 1rem; }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.rail a {
  display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: .9rem 1.1rem; text-decoration: none; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 2px; background: var(--paper);
  transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease);
}
.rail a:hover { border-color: var(--gilt); }
.rail .num { font: 600 var(--step--1)/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gilt-ink); grid-column: 1 / -1; }
.rail .name { font: 500 1.25rem/1.2 var(--display); }
.rail .count { font-size: .875rem; color: var(--muted); align-self: end; white-space: nowrap; }
.rail a.is-current { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.rail a.is-current .num { color: color-mix(in srgb, var(--rope-hi) 80%, var(--on-accent)); }
.rail a.is-current .count { color: inherit; opacity: .75; }
.rail .progress { height: 2px; background: var(--rule); margin-top: 1rem; }
.rail .progress i { display: block; height: 100%; background: var(--gilt); transform-origin: left; transform: scaleX(var(--prog, 0)); }

.act { position: relative; padding-bottom: clamp(3rem, 9vh, 6rem); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.act-head { position: relative; padding-top: .5rem; margin-bottom: 2rem; max-width: 36rem; }
.act-head .label { margin-bottom: .6rem; }
.act-head h3 { font-size: var(--step-3); margin-bottom: .5em; }
.act-head p { color: var(--muted); margin: 0; }
.numeral {
  position: absolute; right: -1rem; top: -.28em; z-index: -1; translate: 100% 0;
  font: 500 clamp(7rem, 16vw, 13rem)/1 var(--display); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--gilt) 55%, transparent); user-select: none;
}
.acts { isolation: isolate; min-width: 0; }
.scenes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 0 2.5rem; }
.scenes > li { position: relative; padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--rule); }
.scenes > li::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--gilt); transform: scaleX(.12); transform-origin: left; transition: transform .6s var(--ease); }
.scene-no { font: 600 var(--step--1)/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gilt-ink); }
.scenes h4 { font-size: var(--step-1); margin: .55rem 0 .45rem; }
.scenes p { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.55; }
.closing-line { font: 500 var(--step-2)/1.25 var(--display); max-width: 34rem; padding-top: 2rem; border-top: 1px solid var(--gilt); margin: 0; }
@media (max-width: 900px) {
  .running-order { grid-template-columns: 1fr; }
  .rail { top: var(--header-h); z-index: 10; margin-inline: calc(-1 * var(--gutter)); padding: .6rem var(--gutter); background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
  .rail .label, .rail .count { display: none; }
  .rail ol { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .rail a { padding: .55rem .6rem; grid-template-columns: 1fr; text-align: center; min-height: 48px; align-content: center; }
  .rail .name { display: none; }
  .rail .num { font-size: .875rem; }
  .rail .progress { margin-top: .5rem; }
  .numeral { right: 0; translate: 0 0; opacity: .7; font-size: 6.5rem; }
}
@media (max-width: 1250px) { .numeral { display: none; } }

/* ---------- Clients ---------- */
/* no white tiles: the rows sit on the darker stock, divided by hairlines */
.clients { background: var(--paper-2) var(--grain); padding-block: clamp(4rem, 12vh, 8rem); }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); counter-reset: seat; }
.client-grid li { background: var(--paper); padding: 1.75rem 1.75rem 2rem; position: relative; counter-increment: seat; transition: background .4s; }
.client-grid h3 { font-size: var(--step-1); margin: 0 0 .35rem; }
.client-grid p { margin: 0; color: var(--muted); font-size: 1.0625rem; }

/* ---------- Box office ---------- */
.box-office { position: relative; background: var(--house-dark); padding-block: clamp(5rem, 16vh, 10rem); overflow: clip; isolation: isolate; }
.house-plate { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--house-dark), transparent 22%, transparent 70%, var(--house-dark)), radial-gradient(70% 80% at 50% 50%, transparent, rgba(15, 13, 16, .7)),
    image-set(url("../images/house.webp") 1x) center 40% / cover no-repeat;
}
@media (max-width: 700px) { .house-plate { background-image: linear-gradient(var(--house-dark), transparent 22%, transparent 70%, var(--house-dark)), radial-gradient(70% 80% at 50% 50%, transparent, rgba(15, 13, 16, .7)), url("../images/house-1100.webp"); } }
.ticket {
  --rx: 0deg; --ry: 0deg; --fx: 50%; --fy: 50%;
  position: relative; max-width: 54rem; margin-inline: auto; display: grid; grid-template-columns: 1fr 15.5rem;
  background: var(--paper); color: var(--ink); border-radius: 6px;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(227, 201, 131, .25);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease);
  -webkit-mask: radial-gradient(circle 11px at calc(100% - 15.5rem) 0, transparent 97%, #000), radial-gradient(circle 11px at calc(100% - 15.5rem) 100%, transparent 97%, #000);
  -webkit-mask-composite: source-in; mask: radial-gradient(circle 11px at calc(100% - 15.5rem) 0, transparent 97%, #000), radial-gradient(circle 11px at calc(100% - 15.5rem) 100%, transparent 97%, #000); mask-composite: intersect;
}
.ticket.is-tilting { transition: transform .08s linear; }
.ticket-main { padding: clamp(1.75rem, 4vw, 3rem); }
.ticket-main .label { margin-bottom: 1rem; }
.ticket-main h2 { font-size: var(--step-3); margin-bottom: .5em; }
.ticket-main p { color: var(--muted); max-width: 30rem; }
.ticket-email { margin: 1.4rem 0 0 !important; }
.ticket-email a { font: 500 clamp(1.25rem, .9rem + 1.6vw, 1.75rem)/1.2 var(--display); color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--gilt); padding-bottom: .15em; overflow-wrap: anywhere; }
.ticket-stub { background: var(--velvet); color: var(--stage-ink); padding: 2rem 1.5rem; display: grid; justify-items: center; align-content: center; gap: 1rem; text-align: center; border-left: 2px dashed rgba(241, 237, 228, .4);
  background-image: linear-gradient(105deg, rgba(255, 255, 255, .07), transparent 40%), repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 9px); }
.ticket-stub img { width: 54px; height: 54px; }
.ticket-stub .label { color: var(--rope-hi); }
.stub-place { font: 600 var(--step--1)/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.foil { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(28rem 18rem at var(--fx) var(--fy), rgba(255, 226, 160, .5), rgba(212, 163, 193, .22) 40%, transparent 70%); mix-blend-mode: soft-light; }
@media (max-width: 720px) {
  .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .ticket-stub { border-left: 0; border-top: 2px dashed rgba(241, 237, 228, .4); grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
  .ticket-stub img { grid-row: span 2; }
  .ticket-stub .btn { grid-column: 1 / -1; justify-self: stretch; }
  .ticket-stub .stub-place { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--house-dark); color: var(--stage-muted); padding: clamp(3rem, 8vh, 5rem) 0 2.5rem; font-size: 1rem; border-top: 1px solid color-mix(in srgb, var(--rope) 30%, transparent); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
.site-footer a { color: var(--stage-ink); }
.foot-brand img { width: 220px; margin-bottom: .9rem; }
.foot-brand p, .foot-lines p { margin: 0 0 .35rem; }
.foot-lines { justify-self: end; text-align: right; }
.foot-lines .fine { font-size: .9375rem; max-width: 24rem; margin-top: .8rem; }
.foot-nav { grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(241, 237, 228, .12); font: 600 .875rem/1.9 var(--label); letter-spacing: .16em; text-transform: uppercase; }
.foot-nav a { text-decoration: none; } .foot-nav a:hover { color: var(--rope-hi); }
@media (max-width: 640px) { .site-footer .wrap { grid-template-columns: 1fr; } .foot-lines { justify-self: start; text-align: left; } }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--house-dark); color: var(--stage-ink); padding: calc(var(--header-h) + clamp(3.5rem, 12vh, 7rem)) 0 clamp(3rem, 9vh, 5rem); position: relative; overflow: clip; isolation: isolate; }
.page-hero::before { /* a still valance, drawn in CSS */
  content: ""; position: absolute; inset: 0 0 auto 0; height: calc(var(--header-h) + 3.2rem); z-index: -1;
  background: repeating-linear-gradient(90deg, var(--velvet-lo) 0, var(--velvet-deep) 14px, var(--velvet) 22px, var(--velvet-hi) 26px, var(--velvet) 30px, var(--velvet-lo) 44px);
  --m: linear-gradient(#000, #000) top / 100% calc(100% - 22px) no-repeat, radial-gradient(70px 22px at 50% 0, #000 97%, transparent) 50% 100% / 140px 22px repeat-x;
  -webkit-mask: var(--m); mask: var(--m);
  filter: brightness(.8);
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 30% 110%, rgba(255, 205, 140, .13), transparent 70%); }
.page-hero .label { color: var(--rope-hi); margin-bottom: 1rem; }
.page-hero h1 { font-size: var(--step-5); letter-spacing: -.012em; }
.page-hero .role { margin: .8rem 0 0; color: var(--stage-muted); font-size: var(--step-1); }
.page-body { padding-block: clamp(3rem, 9vh, 6rem) clamp(4rem, 12vh, 8rem); }

.bio-layout { display: grid; grid-template-columns: 1fr minmax(220px, 320px); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.bio-layout .portrait { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 820px) { .bio-layout { grid-template-columns: 1fr; } .bio-layout .portrait { position: static; max-width: 260px; order: -1; } }
.career { margin-top: clamp(3rem, 8vh, 5rem); }
.career h2 { font-size: var(--step-2); margin-bottom: 1.2rem; }
.credits h2 { margin-bottom: 1.2rem; }
.cast { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gilt); }
.cast li { display: flex; align-items: baseline; gap: .6rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.cast .role-name { color: var(--muted); }
.cast .dots { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted var(--gilt); translate: 0 -.3em; }
.cast .org { font: 500 1.1875rem/1.3 var(--display); text-align: right; }
@media (max-width: 560px) { .cast li { flex-direction: column; gap: .1rem; } .cast .dots { display: none; } .cast .org { text-align: left; } }
.credits { margin-top: clamp(3rem, 8vh, 5rem); text-align: center; padding: 2.5rem var(--gutter); border-block: 1px solid var(--rule); }
.credits .billing { color: var(--muted); }
.credits .billing li:not(:last-child)::after { color: var(--gilt); }

.contact-grid { display: grid; grid-template-columns: 1fr minmax(280px, 26rem); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.note { color: var(--muted); font-size: 1.0625rem; border-left: 2px solid var(--gilt); padding-left: 1.1rem; }
.contact-panel { background: var(--velvet); color: var(--stage-ink); padding: 2rem 2rem 2.2rem; border-radius: 2px; position: relative;
  background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 9px);
  }
.contact-panel .label { color: var(--rope-hi); margin-bottom: .8rem; }
.contact-panel a { color: var(--stage-ink); font: 500 clamp(1.25rem, 1rem + 1vw, 1.6rem)/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--rope); overflow-wrap: anywhere; }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.copy-btn { font: 600 .8125rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--rope-hi); background: none; border: 1px solid color-mix(in srgb, var(--rope-hi) 60%, transparent); border-radius: 2px; padding: .55rem .8rem; cursor: pointer; min-height: 36px; }
.copy-btn:hover { background: rgba(255, 255, 255, .08); }
.contact-panel .where { margin: 1.4rem 0 0; padding-top: 1.2rem; border-top: 1px dashed rgba(241, 237, 228, .35); font-size: 1.0625rem; }

/* ---------- 404: the ghost light ---------- */
.dark-page { background: var(--house-dark); }
.ghost-page { min-height: 100svh; display: grid; align-content: end; justify-items: center; text-align: center; color: var(--stage-ink); padding: var(--header-h) var(--gutter) 9vh; position: relative; isolation: isolate; overflow: clip; }
.ghost-page::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 55%, var(--house-dark) 96%), url("../images/ghost-light.webp") center 30% / cover no-repeat; animation: filament 7s infinite; }
@keyframes filament { 0%, 100% { filter: brightness(1); } 47% { filter: brightness(1); } 48% { filter: brightness(.82); } 49% { filter: brightness(1.04); } 51% { filter: brightness(.9); } 53% { filter: brightness(1); } }
@media (prefers-reduced-motion: reduce) { .ghost-page::before { animation: none; } }
.ghost-page .label { color: var(--rope-hi); margin-bottom: 1rem; }
.ghost-page h1 { font-size: var(--step-4); margin-bottom: .5em; }
.ghost-page p { color: var(--stage-muted); max-width: 30rem; }
.ghost-page .actions { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }

/* ---------- About Sonya: the programme sheet ---------- */
.about-dialog { width: min(100% - 2rem, 50rem); max-height: min(88dvh, 60rem); padding: 0; border: 1px solid var(--gilt); border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .8); overscroll-behavior: contain;
  opacity: 0; translate: 0 28px; transition: opacity .35s, translate .5s var(--ease), overlay .5s allow-discrete, display .5s allow-discrete; }
.about-dialog[open] { opacity: 1; translate: 0 0; }
@starting-style { .about-dialog[open] { opacity: 0; translate: 0 28px; } }
.about-dialog::backdrop { background: rgba(15, 13, 16, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.about-dialog .sheet { padding: clamp(1.5rem, 5vw, 3.25rem); }
.about-dialog .sheet-head { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gilt); }
.about-dialog .sheet-head img { width: 104px; padding: 5px; border: 1px solid var(--gilt); }
.about-dialog h2 { font-size: var(--step-3); }
.about-dialog .role { margin: .3rem 0 0; color: var(--muted); }
.about-dialog .close { position: sticky; top: .75rem; float: right; margin: .75rem .75rem 0 0; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.about-dialog .close:hover { border-color: var(--gilt); }
.about-dialog .bio-layout { display: block; }
.about-dialog .bio-layout .portrait { display: none; }

/* ================= Motion across the site (13 Nov 2026) =================
   All of it is decoration: off with reduced motion, and the pages read the
   same without it. */

/* A soft follow-spot under the pointer on the dark surfaces (site.js sets --sx/--sy) */
[data-spot] { position: relative; }
.marquee[data-spot]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(26rem 20rem at var(--sx, -40rem) var(--sy, -40rem), rgba(255, 208, 140, .13), transparent 70%);
  transition: opacity .6s; mix-blend-mode: screen;
}
.marquee > *, .site-footer > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  /* Inner pages: the lamp strikes and the title comes up */
  /* the title is visible at rest; it only settles 10px, so a late animation never hides it */
  .page-hero .label, .page-hero h1, .page-hero .role { animation: title-up .5s var(--ease); }
  @keyframes title-up { from { opacity: .35; transform: translateY(10px); } }

  /* Buttons catch the light */

  /* Portrait: one pass of the follow-spot across the frame, and again on hover */

  /* Ticket: the stub is stamped before it takes you to Contact */
  .ticket-stub { position: relative; overflow: clip; }
  .ticket-stub::after { content: "Admitted"; position: absolute; left: 50%; top: 46%; translate: -50% -50%; rotate: -14deg; padding: .5rem .9rem; border: 2px solid var(--rope-hi); border-radius: 4px; outline: 1px solid var(--rope-hi); outline-offset: 3px;
    font: 600 1.35rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--rope-hi); background: color-mix(in srgb, var(--velvet) 82%, transparent); opacity: 0; scale: 2.4; pointer-events: none; }
  .ticket.is-stamped .ticket-stub::after { opacity: 1; scale: 1; transition: scale .28s cubic-bezier(.3, 1.8, .5, 1), opacity .12s; }
  .ticket.is-stamped { animation: thump .3s ease-out .2s; }
  @keyframes thump { 30% { transform: perspective(1100px) translateY(3px) scale(.994); } }

}

/* Scenes: a marquee bulb beside each number lights as you reach it */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Act numerals drift up against the page */
    /* Cast list: the dotted leaders run out to the name */
    .cast .dots { animation: leader linear both; animation-timeline: view(); animation-range: entry 10% entry 90%; transform-origin: left; }
    @keyframes leader { from { scale: 0 1; } to { scale: 1 1; } }
  }
}


/* Footer: the ghost light, and an encore */
.ghostlight { display: inline-block; position: relative; width: 12px; height: 26px; vertical-align: -6px; margin-right: .6em; }
.ghostlight::before { content: ""; position: absolute; left: 2px; top: 0; width: 8px; height: 10px; border-radius: 50% 50% 45% 45%; background: #fff3d0; box-shadow: 0 0 9px 2px rgba(255, 205, 120, .7); }
.ghostlight::after { content: ""; position: absolute; left: 5px; top: 10px; width: 2px; height: 16px; background: var(--stage-muted); box-shadow: -4px 15px 0 -0.5px var(--stage-muted), 4px 15px 0 -0.5px var(--stage-muted); }
.encore { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--rope-hi); background: none; border: 0; padding: 0; cursor: pointer; }
.encore:hover { color: var(--stage-ink); }
.no-js .encore { display: none; }

/* ================= The programme (18 Nov 2026) =================
   The pages below the stage are a printed programme: warm stock with a
   little tooth, playbill thick-and-thin rules, one drop cap, an interval.
   Type and plum are unchanged. */

/* Playbill rule: a thick plum line over a gilt hairline */
.section-head::before, .page-body > .prose:first-child::before, .bio-copy > .prose::before, .contact-grid > .prose::before {
  content: ""; display: block; height: 7px; margin-bottom: 1.75rem;
  border-top: 3px solid var(--accent); border-bottom: 1px solid var(--gilt);
}
.about-dialog .bio-copy > .prose::before { display: none; }

/* Printer's ornament between the introduction and the running order */
.fleuron { display: flex; align-items: center; gap: 1rem; width: min(100% - 2 * var(--gutter), 22rem); margin: 0 auto; color: var(--gilt); }
.fleuron::before, .fleuron::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.fleuron::after { transform: scaleX(-1); }
.fleuron i { width: 7px; height: 7px; rotate: 45deg; border: 1px solid currentColor; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px color-mix(in srgb, currentColor 45%, transparent); }



/* Rail: printed tabs on the stock rather than white boxes */
.rail a { background: color-mix(in srgb, var(--paper) 60%, transparent); }

/* Clients: the band has depth at its edges, like the gutter of a spread */
/* overflow-x: the seats fold down in perspective and would otherwise widen a phone page */
.clients { position: relative; overflow-x: clip; box-shadow: inset 0 22px 26px -26px rgba(60, 40, 10, .35), inset 0 -22px 26px -26px rgba(60, 40, 10, .3); }
/* set as a programme list, two columns, one hairline between rows: no tiles */
.client-grid { --hair: color-mix(in srgb, var(--gilt) 35%, var(--rule)); background: none; border: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 0 clamp(2rem, 6vw, 5rem); max-width: 60rem; }
.client-grid li { background: none; padding: 1.3rem 0 1.4rem; border-top: 1px solid var(--hair); }

/* Biography: one drop cap, as a programme note has */
.bio-copy .prose > .lede::first-letter {
  font: 500 4.1em/.78 var(--display); float: left; color: var(--accent); padding: .06em .09em 0 0; margin-top: .04em;
}
.cast { border-top: 3px solid var(--accent); position: relative; }
.cast::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 1px; background: var(--gilt); }
.cast li:first-child { padding-top: 1.15rem; }
.credits { border-block: 0; position: relative; }
.credits::before, .credits::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; border-top: 1px solid var(--gilt); border-bottom: 1px solid var(--rule); }
.credits::before { top: 0; } .credits::after { bottom: 0; }

/* Legal and Contact */
.page-body .prose h2 { padding-top: 1.1em; border-top: 1px solid var(--rule); }
.page-body .prose h2:first-of-type { padding-top: 0; border-top: 0; }
.about-dialog { background: var(--paper) var(--grain); }
.ticket { background: var(--paper) var(--grain); }

/* ---------- Interval (between Act II and Act III) ---------- */
.interval { display: grid; justify-items: center; gap: .5rem; margin: 0 0 clamp(3rem, 9vh, 6rem); padding: 1.6rem 1rem 1.5rem; text-align: center; position: relative; max-width: 36rem; }
.interval::before, .interval::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; border-top: 1px solid var(--gilt); border-bottom: 1px solid var(--rule); }
.interval::before { top: 0; } .interval::after { bottom: 0; }
.interval .label { letter-spacing: .34em; margin-right: -.34em; }
.interval p { margin: 0; font-style: italic; color: var(--muted); font-size: 1.0625rem; min-height: 1.6em; }
.bell { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--gilt-ink); border-radius: 50%; }
.bell svg { width: 26px; height: 26px; transform-origin: 50% 12%; overflow: visible; }
.bell:hover { color: var(--accent); }
.no-js .bell { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .bell.is-ringing svg { animation: bell 1.5s cubic-bezier(.3, 0, .3, 1) 1; }
  @keyframes bell { 0%, 100% { rotate: 0deg; } 8% { rotate: 17deg; } 22% { rotate: -14deg; } 37% { rotate: 11deg; } 52% { rotate: -8deg; } 68% { rotate: 5deg; } 84% { rotate: -2deg; } }
}

/* ---------- Prompt corner: the cue light ---------- */
.cue-light { position: absolute; right: clamp(.1rem, 1vw, 1rem); bottom: calc(var(--aud-h) + .4vh); z-index: 5; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.cue-light i { width: 6px; height: 6px; border-radius: 50%; background: #a8382c; box-shadow: 0 0 0 2px #140c10, 0 0 0 3px rgba(184, 149, 74, .4), 0 0 9px 2px rgba(200, 60, 40, .4); transition: background .6s, box-shadow .6s; }
.lamp-on .cue-light i { background: #4fae6e; box-shadow: 0 0 0 2px #140c10, 0 0 0 3px rgba(184, 149, 74, .4), 0 0 9px 2px rgba(80, 190, 120, .4); }
.no-js .cue-light, html:not(.curtain-live) .cue-light { display: none; }

/* ---------- Calls: only shown in the half hour before a 7.30 curtain ---------- */
.call { position: absolute; left: 50%; translate: -50% 0; bottom: calc(var(--aud-h) + 2.5vh + 5.4rem); z-index: 5; margin: 0; white-space: nowrap;
  font: 400 italic 1rem/1.2 var(--body); color: var(--stage-ink); opacity: calc(var(--cue-o, 0) * .85); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); pointer-events: none; }

/* ---------- Ghost light: the house goes dark around the one lamp ---------- */
button.ghostlight { background: none; border: 0; padding: 0; cursor: pointer; }
button.ghostlight::after { pointer-events: none; }
.ghost-dark { position: fixed; inset: 0; z-index: 90; display: grid; place-items: end center; padding: 0 var(--gutter) 16vh; text-align: center; cursor: pointer;
  background: radial-gradient(circle 11rem at var(--gx, 50%) var(--gy, 90%), rgba(255, 196, 110, .16), rgba(9, 7, 10, .9) 62%, rgba(9, 7, 10, .96));
  opacity: 0; transition: opacity 1.4s ease; }
.ghost-dark.on { opacity: 1; }
.ghost-dark p { margin: 0; max-width: 26rem; font: italic 400 var(--step-1)/1.4 var(--body); color: var(--stage-ink); }
.ghost-dark .label { color: var(--rope-hi); margin-bottom: .7rem; font-style: normal; }

/* ---------- Programme credits ---------- */
.credits-dialog .sheet { text-align: center; }
.credits-dialog h2 { font-size: var(--step-3); margin: .5rem 0 .3rem; }
.credits-dialog .sub { color: var(--muted); font-style: italic; margin: 0 0 1.6rem; }
.credits-dialog .cast { text-align: left; margin-bottom: 1.8rem; }
.credits-dialog .cast .seat-no { font: 600 var(--step--1)/1 var(--label); letter-spacing: .16em; color: var(--gilt-ink); min-width: 2.4rem; }
.credits-dialog .cast .org { font-size: 1.0625rem; }
.credits-dialog .sign { font: 500 var(--step-2)/1.25 var(--display); margin: 2rem auto 0; max-width: 24rem; }
.foot-nav button.credits-open { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--stage-ink); background: none; border: 0; padding: 0; cursor: pointer; }
.foot-nav button.credits-open:hover { color: var(--rope-hi); }
.no-js .credits-open, .no-js .credits-sep { display: none; }
.js .ghostlight { cursor: pointer; }
.js .ghostlight:focus-visible { outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .ghost-dark { transition: none; } }

/* ---------- After the independent review (18 Nov 2026) ---------- */
.foot-imprint { display: block; white-space: nowrap; margin-top: .35rem; color: var(--stage-muted); }
.foot-nav .sep { white-space: nowrap; }
@media (max-width: 900px) { .rail { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); } }
@media (max-width: 720px) {
  .ticket-stub { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ticket-stub img { grid-row: auto; }
  .ghost-page { padding-bottom: 5vh; }
}
.career h2 { margin-top: 0; }
