/* THE WIZ · Bethany High — Emerald City night */

:root {
  --ink: #06482f;
  --ink-2: #075236;
  --ink-3: #0a5f3f;
  --emerald: #14915f;
  --glow: #3be39b;
  --gold: #e8b84a;
  --gold-hi: #fbe3a0;
  --gold-lo: #a9781c;
  --brick: #d9a21b;
  --cream: #f4ecd6;
  --muted: #e2ecd9;
  --line: rgb(232 184 74 / 0.22);

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-serif: "Newsreader", Georgia, serif;
  --f-body: "Karla", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: transparent;
  color: var(--cream);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--gold-hi); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--emerald) var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--emerald); border-radius: 10px; border: 2px solid var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(80px, 12vw, 150px); position: relative; }
.center { text-align: center; margin-inline: auto; }

.h2 {
  font: 800 clamp(2.6rem, 6.4vw, 5rem)/.95 var(--f-display);
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 .45em;
  color: var(--gold-hi);
  text-wrap: balance;
}
.h3 { font: 800 clamp(1.7rem, 3.4vw, 2.4rem)/1 var(--f-display); text-transform: uppercase; margin: 0; color: var(--cream); }
.lede { font: 400 clamp(1.2rem, 2vw, 1.45rem)/1.5 var(--f-serif); color: var(--cream); max-width: 34ch; margin: 0 0 1.2em; }
.lede.narrow { max-width: 46ch; }
.sub { color: var(--muted); max-width: 58ch; margin-top: -.5em; }
.small { font-size: .9rem; color: var(--muted); margin-top: .9em; }
p { max-width: 68ch; text-wrap: pretty; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 1rem/1 var(--f-body);
  padding: 1em 1.5em; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s;
}
.btn--gold {
  color: #241703;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #b88720);
  box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 6px 14px -6px rgb(0 0 0 / .6);
}
.btn--gold:hover { color: #241703; transform: translateY(-2px); box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 10px 20px -8px rgb(0 0 0 / .7); }
.btn--gold .ico { fill: none; }
.btn--ghost { color: var(--cream); background: transparent; border: 1px solid rgb(244 236 214 / .35); }
.btn--ghost:hover { color: #fff; border-color: var(--gold-hi); }
.btn--ghost .ico { fill: currentColor; stroke: none; }
.btn--sm { padding: .7em 1.15em; font-size: .9rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px var(--gutter);
  transition: background-color .4s, backdrop-filter .4s, box-shadow .4s;
}
.nav.is-solid { background: rgb(4 42 12 / .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__brand img { height: 40px; width: auto; }
.nav__links { display: flex; gap: clamp(14px, 2.2vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--gold-hi); }
.nav__links a { white-space: nowrap; }
@media (max-width: 980px) { .nav__links { gap: 11px; } .nav__links a { font-size: .86rem; } }
@media (max-width: 860px) { .nav__links { display: none; } }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: 110px var(--gutter) 90px;
  overflow: hidden; isolation: isolate;
  text-align: center;
}
.hero__sky {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(70% 42% at 50% 62%, rgb(90 240 80 / .28), transparent 72%);
}
.hero__sky::after {
  /* a few stars, set by hand */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 32%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 14%, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 30%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 22%, #fff7 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 36% 10%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 42%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 95% 48%, #fff5 50%, transparent 51%);
}
.hero__city {
  position: absolute; left: 0; right: 0; bottom: 30%; z-index: -2;
  height: clamp(140px, 22vw, 260px);
}
.hero__city svg { width: 100%; height: 100%; }
.hero__city path { fill: #031f0a; }
.hero__city::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 60vh; background: linear-gradient(#031f0a, rgb(3 31 10 / 0)); }
.hero__road {
  /* the yellow brick road, laid flat and receding toward the city */
  position: absolute; left: 50%; bottom: 0; z-index: -1;
  width: clamp(360px, 52vw, 820px); height: 150vh;
  margin-left: calc(clamp(360px, 52vw, 820px) / -2);
  transform-origin: 50% 100%;
  transform: perspective(520px) rotateX(74deg);
  background:
    linear-gradient(90deg, rgb(60 35 0 / .55), transparent 12% 88%, rgb(60 35 0 / .55)),
    repeating-linear-gradient(90deg, transparent 0 58px, rgb(95 58 6 / .7) 58px 62px),
    repeating-linear-gradient(0deg, transparent 0 27px, rgb(95 58 6 / .75) 27px 31px),
    linear-gradient(0deg, #f2c94c, var(--brick) 40%, #b7820f);
  background-size: 100% 100%, 124px 62px, 100% 31px, 100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0;
  -webkit-mask: linear-gradient(to top, #000 25%, transparent 62%);
          mask: linear-gradient(to top, #000 25%, transparent 62%);
}
.hero__road::before {
  /* offset every other course so the bricks stagger */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 58px, rgb(95 58 6 / .7) 58px 62px);
  background-size: 124px 62px; background-position: 31px 31px;
  -webkit-mask: repeating-linear-gradient(0deg, transparent 0 31px, #000 31px 62px);
          mask: repeating-linear-gradient(0deg, transparent 0 31px, #000 31px 62px);
}
.hero__inner { position: relative; max-width: 900px; margin-top: -6vh; }
.hero__title { margin: 0; display: grid; justify-items: center; gap: 6px; font-weight: 400; }
.hero__presents { font: 600 clamp(.95rem, 1.6vw, 1.15rem)/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero__logo { display: block; width: min(86vw, 640px); position: relative; }
.hero__logo img { width: 100%; }
.hero__logo::after {
  /* the glint that sweeps the lettering once on arrival */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgb(255 246 214 / .55) 50%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
  mix-blend-mode: overlay; pointer-events: none;
  animation: glint 2.4s 0.6s var(--ease) both;
}
@keyframes glint { to { background-position: -40% 0; } }
.hero__tag { font: italic 500 clamp(1.3rem, 2.8vw, 2rem)/1.2 var(--f-serif); color: var(--cream); margin-top: 4px; }
.hero__when {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px;
  margin: 28px auto 0; max-width: none;
  font: 700 clamp(1.15rem, 2.4vw, 1.6rem)/1.1 var(--f-display); letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold-hi);
}
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* Show */
.show { background: linear-gradient(var(--ink), var(--ink-2)); }
.show__grid { display: grid; grid-template-columns: .8fr 1.35fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.show__copy p:not(.lede):not(.credits) { color: var(--muted); }
.credits { font-size: .85rem; color: rgb(188 203 185 / .8); border-top: 1px solid var(--line); padding-top: 1em; margin-top: 1.6em; }
.video { margin: 0; }
.video__facade {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  border-radius: 16px; overflow: hidden; cursor: pointer; background: #000;
  box-shadow: 0 30px 60px -30px #000, 0 0 0 1px var(--line);
}
.video__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: brightness(.92); }
.video__facade:hover img { transform: scale(1.03); filter: brightness(1); }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 8px 20px -6px rgb(0 0 0 / .6);
  transition: transform .4s var(--ease);
}
.video__facade:hover .video__play { transform: scale(1.08); }
.video__play svg { width: 34px; height: 34px; fill: #241703; margin-left: 4px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; display: block; }
.video figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* Cast */
.cast { background: radial-gradient(70% 60% at 50% 70%, rgb(15 107 67 / .45), transparent 70%), var(--ink-2); overflow: hidden; }
.stage {
  list-style: none; margin: 40px auto 0; padding: 0 var(--gutter);
  display: flex; justify-content: center; align-items: flex-end;
  max-width: 1280px; position: relative;
}
.stage::after {
  /* the lit floor they stand on */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 34px; height: 60px; z-index: 0;
  background: radial-gradient(50% 100% at 50% 100%, rgb(251 227 160 / .35), transparent 70%);
}
.stage__actor { position: relative; z-index: 1; flex: 1 1 0; margin-inline: -2.2%; text-align: center; transition: transform .6s var(--ease); }
.stage__actor img {
  width: 100%; max-width: 280px; margin-inline: auto;
  -webkit-mask: linear-gradient(to top, transparent, #000 14%);
          mask: linear-gradient(to top, transparent, #000 14%);
  filter: drop-shadow(0 18px 24px rgb(0 0 0 / .55)) drop-shadow(0 0 1px rgb(251 227 160 / .4));
  transition: filter .6s var(--ease);
}
.stage__actor--lead { flex-grow: 1.25; z-index: 2; }
.stage__actor:hover { transform: translateY(-10px); }
.stage__actor:hover img { filter: drop-shadow(0 26px 30px rgb(0 0 0 / .6)); }
.plate {
  display: inline-block; margin-top: 10px;
  font: 800 clamp(.95rem, 1.6vw, 1.25rem)/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  padding: .45em .9em .4em; border-radius: 6px;
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / .6);
}
.crew { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(60px, 9vw, 110px); }
.crew img { border-radius: 16px; box-shadow: 0 30px 60px -30px #000; }
.crew p { font: italic 400 clamp(1.2rem, 2.2vw, 1.6rem)/1.45 var(--f-serif); color: var(--cream); margin: 0; }

/* Cause */
.cause { background: var(--ink); }
.cause__item { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(40px, 6vw, 70px); }
.cause__text { align-self: center; }
.cause__since { font: 700 1rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--glow); margin: .7em 0 1.1em; }
.cause__text p:not(.cause__since), .fund p:not(.cause__since) { color: var(--muted); }
.num { font: 600 1.6em/1 var(--f-serif); color: var(--gold-hi); }
blockquote { margin: 1.6em 0 0; padding: 0; font: italic 400 clamp(1.15rem, 2vw, 1.4rem)/1.45 var(--f-serif); color: var(--cream); max-width: 32ch; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(90px, 11vw, 140px); gap: 12px; }
.mosaic figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption {
  position: absolute; left: 10px; bottom: 10px;
  font: 600 .78rem/1 var(--f-body); color: var(--cream);
  background: rgb(3 17 11 / .72); padding: .45em .7em; border-radius: 999px; backdrop-filter: blur(6px);
}
.mosaic__a { grid-column: 1 / 5; grid-row: span 2; }
.mosaic__b { grid-column: 5 / 7; grid-row: span 2; }
.mosaic__c { grid-column: 1 / 3; grid-row: span 2; }
.mosaic__d { grid-column: 3 / 7; grid-row: span 2; }
.mosaic__e { grid-column: 1 / 4; grid-row: span 2; }
.mosaic__f { grid-column: 4 / 7; grid-row: span 2; }
.mosaic__b img { object-position: 70% 50%; }
.funds { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: clamp(70px, 10vw, 120px); padding-top: clamp(40px, 6vw, 70px); border-top: 1px solid var(--line); }
.ticks { list-style: none; padding: 0; margin: 1em 0 1.6em; display: grid; gap: .55em; }
.ticks li { display: flex; gap: .7em; align-items: baseline; color: var(--cream); }
.ticks li::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 2px; transform: translateY(-.1em) rotate(45deg); background: var(--gold); }

/* Timeline: the road */
.musicals { background: linear-gradient(var(--ink), var(--ink-3) 70%, var(--ink)); }
.road { position: relative; list-style: none; margin: clamp(50px, 7vw, 90px) auto 0; padding: 0 var(--gutter); max-width: 1100px; }
.stop { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 90px; align-items: center; padding-block: clamp(18px, 3vw, 34px); }
.stop__year {
  font: 900 clamp(3rem, 7vw, 5.6rem)/.9 var(--f-display); color: transparent;
  -webkit-text-stroke: 1.5px var(--gold); letter-spacing: .01em;
  text-align: right;
}
.stop__card { position: relative; }
.stop:nth-child(odd of .stop) .stop__year { order: 2; text-align: left; }
.stop:nth-child(odd of .stop) .stop__card { order: 1; text-align: right; }
.stop:nth-child(odd of .stop) .stop__card .stop__poster { margin-left: auto; }
.stop::before {
  /* the marker where each show sits on the road */
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--ink); border: 3px solid var(--gold-hi); z-index: 1;
}
.stop__poster { width: auto; max-width: min(100%, 400px); max-height: 300px; border-radius: 12px; box-shadow: 0 24px 50px -24px #000, 0 0 0 1px var(--line); margin-bottom: 16px; }
.stop__poster--type {
  width: 100%; max-width: 300px; aspect-ratio: 4 / 3;
  display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #1b5e3a, #0a2d1b);
  font: 900 2.6rem/.9 var(--f-display); text-transform: uppercase; color: var(--gold-hi); text-align: center;
}
.stop h3 { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1 var(--f-display); text-transform: uppercase; margin: 0; }
.stop__theme { font: italic 400 1.1rem/1.4 var(--f-serif); color: var(--muted); margin: .35em 0 0; max-width: none; }
.watches { display: flex; flex-wrap: wrap; gap: .3em 1.1em; margin: .8em 0 0; max-width: none; }
.stop:nth-child(odd of .stop) .watches { justify-content: flex-end; }
.watch { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--gold-hi); }
.watch .ico { fill: currentColor; stroke: none; }
.watch:hover { color: #fff; }
.stop--now .stop__year { -webkit-text-stroke: 0; color: var(--gold-hi); }
.stop--now::before { width: 26px; height: 26px; background: var(--gold-hi); border-color: var(--ink); box-shadow: 0 0 0 3px var(--gold-hi); }
.stop--now .stop__poster { box-shadow: 0 24px 50px -24px #000, 0 0 0 2px var(--gold-hi); }
.stop--now h3 { color: var(--gold-hi); }

/* Sponsor */
.sponsor { background: var(--ink-2); }
.sponsor__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.sponsor .ticks li { color: var(--muted); }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tier { padding: 26px 28px; border-radius: 16px; background: rgb(255 255 255 / .03); border: 1px solid var(--line); }
.tier h3 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin: 0 0 .5em; font: 800 1.55rem/1 var(--f-display); text-transform: uppercase; }
.tier__amt { font: 600 1.2rem/1 var(--f-serif); color: var(--gold-hi); text-transform: none; font-variant-numeric: tabular-nums; }
.tier p { margin: 0; color: var(--muted); font-size: .97rem; }
.tier--title { background: linear-gradient(140deg, rgb(232 184 74 / .16), rgb(232 184 74 / .03) 60%); border-color: rgb(232 184 74 / .5); }

/* Visit */
.visit { background: radial-gradient(60% 70% at 50% 100%, rgb(15 107 67 / .55), transparent 70%), var(--ink); }
.nights { list-style: none; padding: 0; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; }
.night {
  position: relative; display: grid; justify-items: center; padding: 26px 16px 24px; border-radius: 16px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 70%, #b88720); color: #241703;
  -webkit-mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 12px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 12px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.night__day { font: 700 .9rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.night__date { font: 900 clamp(4rem, 9vw, 6rem)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.night__month { font: italic 600 1.1rem/1 var(--f-serif); }
.night__time { margin-top: 12px; padding-top: 12px; border-top: 1.5px dashed rgb(36 23 3 / .4); width: 70%; text-align: center; font: 800 1.2rem/1 var(--f-display); letter-spacing: .08em; }
.visit__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 30px; margin-top: 40px; }
.venue { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--cream); line-height: 1.35; }
.venue .ico { width: 34px; height: 34px; color: var(--glow); }
.venue span { color: var(--muted); font-size: .95rem; }
.venue strong { color: var(--cream); font-size: 1.1rem; }
.venue:hover strong { color: var(--gold-hi); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 50px 0 30px; background: var(--ink); font-size: .92rem; color: var(--muted); }
.foot__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.foot__grid img { height: 44px; width: auto; margin-bottom: 14px; }
.foot__grid a { color: var(--cream); }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 12px 0 0; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--cream); }
.social a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.foot__legal { font-size: .8rem; margin-top: 36px; opacity: .75; max-width: none; }

/* Small screens */
@media (max-width: 900px) {
  .show__grid, .cause__item, .funds, .sponsor__grid, .crew { grid-template-columns: 1fr; }
  .cause__text { position: static; }
  .stage { flex-wrap: wrap; }
  .stage__actor { flex: 0 0 50%; margin: 0 0 24px; }
  .stage__actor img { max-width: 190px; }
  .stage__actor--lead { order: -1; flex-basis: 100%; }
  .stage__actor--lead img { max-width: 230px; }
}
@media (max-width: 700px) {
  .road { padding-left: calc(var(--gutter) + 34px); }
  .stop { grid-template-columns: 1fr; gap: 8px; }
  .stop::before { left: calc(-34px + 15px); top: 30px; }
  .stop .stop__year, .stop:nth-child(odd of .stop) .stop__year { order: 0; text-align: left; font-size: 3rem; }
  .stop:nth-child(odd of .stop) .stop__card { order: 1; text-align: left; }
  .stop:nth-child(odd of .stop) .stop__card .stop__poster { margin-left: 0; }
  .stop:nth-child(odd of .stop) .watches { justify-content: flex-start; }
  .nights { grid-template-columns: 1fr; max-width: 340px; }
  .mosaic { grid-auto-rows: 70px; gap: 8px; }
  .hero__when { flex-direction: column; gap: 8px; }
  .hero__when .dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Visual upgrade ---------- */

/* Hero: drifting gold dust */
.hero__dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__logo img { animation: rise-logo 1.4s var(--ease) both; }
.hero__logo::before { content: ""; position: absolute; inset: 10% 5%; z-index: -1; background: radial-gradient(closest-side, rgb(232 184 74 / .22), transparent); filter: blur(20px); }
.hero__presents { animation: rise 1s .1s var(--ease) both; }
.hero__tag { animation: rise 1s .5s var(--ease) both; }
.hero__when { animation: rise 1s .7s var(--ease) both; }
.hero__actions { animation: rise 1s .85s var(--ease) both; }
@keyframes rise { from { transform: translateY(18px); filter: blur(6px); opacity: .2; } }
@keyframes rise-logo { from { transform: scale(.94); opacity: 0; } }


/* Cast: a spotlight that follows the pointer across the stage */
.stage { --sx: 50%; }
.stage::before {
  content: ""; position: absolute; inset: -60px 0 0; z-index: 0; pointer-events: none;
  background: radial-gradient(260px 420px at var(--sx) 55%, rgb(251 227 160 / .16), transparent 70%);
  transition: background-position .2s;
}


/* Clickable cause blocks that open the school's own pages */
.linkcard { position: relative; border-radius: 18px; transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.linkcard .stretch { color: inherit; text-decoration: none; }
.linkcard .stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.linkcard .stretch:focus-visible { outline: none; }
.linkcard:has(.stretch:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 6px; }
.fund.linkcard { padding: 26px; margin: -26px; }
.cause__item.linkcard { padding: clamp(20px, 3vw, 36px); }
.linkcard:hover { background: rgb(59 227 155 / .05); box-shadow: 0 0 0 1px rgb(232 184 74 / .35); }
.linkcard:hover .stretch { color: var(--gold-hi); }
.more { display: inline-flex; align-items: center; gap: .45em; margin-top: 1.2em; font-weight: 600; font-size: .95rem; color: var(--gold-hi); }
.more .ico { transition: transform .4s var(--ease); }
.linkcard:hover .more .ico { transform: translateX(5px); }
.cause__text .more { margin-top: 1.6em; }

/* Section headings get a soft gold glow */

/* Phone: a docked ticket button once the hero has scrolled away */
.dock {
  position: fixed; z-index: 60; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s;
  white-space: nowrap; box-shadow: 0 14px 40px -10px #000, 0 0 0 1px rgb(255 255 255 / .2) inset;
}
.dock.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
@media (min-width: 861px) { .dock { display: none; } }

@media (prefers-reduced-motion: reduce) {
}
@media (max-width: 700px) { .fund.linkcard { padding: 14px; margin: -14px; } .funds { gap: 48px; } }

/* Countdown: four tiles under the hero buttons */
.count {
  margin: 30px auto 0; padding: 18px 22px 16px; max-width: 560px;
  border-radius: 18px; background: rgb(3 17 11 / .74); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -24px #000;
  animation: rise 1s 1s var(--ease) both;
}
.count__label { margin: 0 auto 12px; font: 700 .85rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--glow); max-width: none; }
.count__label.is-live { font: 800 clamp(1.2rem, 3vw, 1.6rem)/1.2 var(--f-display); letter-spacing: .04em; color: var(--gold-hi); margin: 0 auto 6px; }
.count__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile {
  display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 12px;
  background: linear-gradient(180deg, #0f3d27, #06200f);
  box-shadow: inset 0 1px 0 rgb(251 227 160 / .18), inset 0 -1px 0 rgb(0 0 0 / .5);
  position: relative; overflow: hidden;
}
.tile::after {
  /* the split line of a flip clock */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgb(0 0 0 / .45);
}
.tile__n {
  font: 900 clamp(2.2rem, 6vw, 3.4rem)/1 var(--f-display); font-variant-numeric: tabular-nums;
  color: var(--gold-hi);
}
.tile__n.tick { animation: tick .45s var(--ease); }
@keyframes tick { from { transform: translateY(-30%); opacity: .2; } }
.tile__u { font: 600 .72rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.count__note { margin: 14px auto 0; font-size: .88rem; color: var(--muted); max-width: 46ch; }
@media (max-width: 420px) { .count { padding: 14px 12px; } .count__tiles { gap: 6px; } }

/* Timeline road: a lit brick path that fills as you scroll, with a spark at the front */
.road__path {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 30px; margin-left: -15px;
  border-radius: 15px; list-style: none;
  background: rgb(232 184 74 / .07); box-shadow: inset 0 0 0 1px rgb(232 184 74 / .16);
}
.road__lit {
  position: absolute; inset: 0; border-radius: inherit;
  background:
    linear-gradient(90deg, rgb(70 40 0 / .55), transparent 30% 70%, rgb(70 40 0 / .55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='32'%3E%3Crect width='30' height='32' fill='%23e2ab2a'/%3E%3Cpath d='M0 15.25h30M0 31.25h30M15 0v15.25M7.5 16v15.25M22.5 16v15.25' stroke='%236a4108' stroke-width='1.5'/%3E%3C/svg%3E") 0 0 / 30px 32px;
  clip-path: inset(0 0 calc((1 - var(--p, 1)) * 100%) 0 round 15px);
}
.road__spark {
  position: absolute; left: 50%; top: calc(var(--p, 1) * 100%); width: 22px; height: 22px; border-radius: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  background: var(--cream); border: 3px solid var(--ink);
}
.stop::before { z-index: 2; }
@media (max-width: 700px) {
  .road__path { left: calc(var(--gutter) + 15px); width: 20px; margin-left: -10px; border-radius: 10px; }
  .road__lit { background-size: 100% 100%, 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .road__spark { display: none; }
  .count { animation: none; }
}

/* Special School photos each open the school's page, above the block-wide link */
.mosaic { position: relative; z-index: 3; }
.mosaic__link { display: block; position: relative; border-radius: 14px; overflow: hidden; color: inherit; transition: box-shadow .3s; }
.mosaic__link figure { height: 100%; border-radius: 0; }
.mosaic__link:hover { box-shadow: 0 0 0 2px var(--gold-hi); }
.mosaic__link figcaption { transition: background-color .3s, color .3s; }
.mosaic__link:hover figcaption { background: var(--gold); color: var(--ink); }
.mosaic__link:hover figcaption::after { content: " ↗"; }
.mosaic__link:hover img { transform: scale(1.04); }
.mosaic__link:hover { color: inherit; }
@media (max-width: 700px) { .cause__item.linkcard { padding: 14px; } }
.stop--now .stop__poster { max-height: 480px; }
.show .wrap { --wrap: 1280px; }

/* ---------- 3D poster ---------- */
.poster { background: linear-gradient(var(--ink-2), var(--ink)); overflow: hidden; }
.poster__stage {
  --w: clamp(250px, 30vw, 400px);
  position: relative; display: grid; place-items: center;
  margin: clamp(30px, 5vw, 56px) auto 0; padding-bottom: 60px;
  perspective: 1500px; perspective-origin: 50% 40%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.poster__stage.is-dragging { cursor: grabbing; }
.poster__card {
  --rx: 0deg; --ry: -18deg; --d: 8px;
  position: relative; width: var(--w); aspect-ratio: 1200 / 1799;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
}
.poster__face {
  position: absolute; inset: 0; overflow: hidden; border-radius: 4px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.poster__front { transform: translateZ(calc(var(--d) / 2)); background: #0b3a24; }
.poster__front img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.poster__back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.poster__sheen {
  /* light from the room sliding across the paper as it turns */
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .55) 46%, rgb(255 255 255 / .1) 54%, transparent 70%);
  background-size: 260% 100%; background-position: var(--sheen, 50%) 0;
}
.poster__edge { position: absolute; background: linear-gradient(90deg, #d9cfb4, #f3ecd8 50%, #c9bea0); }
.poster__edge--l, .poster__edge--r { top: 0; width: var(--d); height: 100%; }
.poster__edge--l { left: calc(var(--d) / -2); transform: rotateY(-90deg); }
.poster__edge--r { left: calc(100% - var(--d) / 2); transform: rotateY(90deg); }
.poster__edge--t, .poster__edge--b { left: 0; height: var(--d); width: 100%; background: linear-gradient(180deg, #d9cfb4, #f3ecd8 50%, #c9bea0); }
.poster__edge--t { top: calc(var(--d) / -2); transform: rotateX(90deg); }
.poster__edge--b { top: calc(100% - var(--d) / 2); transform: rotateX(-90deg); }
.poster__floor {
  position: absolute; left: 50%; bottom: 18px; height: 34px;
  width: calc(var(--w) * var(--sw, .9)); transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(0 0 0 / .7), transparent);
  pointer-events: none;
}
.poster__controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* The back: a printed playbill on cream card */
.poster__back { background: #f1e7cb; color: #0b2a1a; container-type: inline-size; }
.playbill {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 7cqw 6cqw;
  background:
    linear-gradient(#0b3a24, #0b3a24) top / 100% 17cqw no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 17cqw / 100% 1.2cqw no-repeat;
}
.playbill__crest { height: 9cqw; width: auto; margin: 4cqw 0 0; }
.playbill__presents { margin: 9cqw 0 0; font: 700 3.2cqw/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: #6b5a2e; max-width: none; }
.playbill__title { margin: 2cqw 0 0; font: 900 25cqw/.82 var(--f-display); text-transform: uppercase; color: #0b3a24; max-width: none; }
.playbill__sub { margin: 2.5cqw 0 0; font: italic 400 4.2cqw/1.3 var(--f-serif); color: #3d4a33; max-width: none; }
.playbill__nights { list-style: none; padding: 0; margin: 6cqw 0 0; display: flex; gap: 3cqw; }
.playbill__nights li { display: grid; justify-items: center; width: 17cqw; padding: 2.4cqw 0 2cqw; border: .5cqw solid #0b3a24; border-radius: 1.5cqw; }
.playbill__nights b { font: 900 9.5cqw/1 var(--f-display); color: #0b3a24; font-variant-numeric: tabular-nums; }
.playbill__nights span { font: 700 2.6cqw/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: #6b5a2e; margin-top: 1cqw; }
.playbill__when { margin: 4cqw 0 0; font: 700 4.1cqw/1.35 var(--f-body); color: #0b2a1a; max-width: none; }
.playbill__cause { margin: 5cqw 0 0; padding-top: 4cqw; border-top: .4cqw solid #b88720; font: italic 400 3.9cqw/1.35 var(--f-serif); color: #24371f; max-width: 60cqw; }
.playbill__credits { margin: auto 0 0; font: 400 2.75cqw/1.5 var(--f-body); color: #4b5440; max-width: none; }
.playbill__passes { margin: 3cqw 0 0; font: 700 3cqw/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #0b3a24; max-width: none; }

@media (max-width: 700px) {
  .poster__stage { --w: min(72vw, 300px); }
}

/* Large monitors: scale the hero and content up so it doesn't sit small in the middle */
@media (min-width: 1800px) {
  html { font-size: 112.5%; }
  .hero__logo { width: min(40vw, 860px); }
  .wrap { --wrap: 1360px; }
  .show .wrap { --wrap: 1480px; }
  .poster__stage { --w: clamp(250px, 24vw, 520px); }
  .stage { max-width: 1500px; }
  .stage__actor img { max-width: 340px; }
}
@media (min-width: 2400px) {
  html { font-size: 125%; }
}

/* Comfortable tap targets for small links */
.watch { padding-block: .45em; }
.nav__links a, .foot__grid a { display: inline-block; padding-block: 6px; }

/* Full-size poster viewer */
.viewer {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(2 10 6 / .96); color: var(--cream);
}
.viewer::backdrop { background: rgb(0 0 0 / .7); }
.viewer[open] { display: flex; flex-direction: column; }
.viewer__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
}
.viewer__hint { margin: 0; font-size: .9rem; color: var(--muted); }
.viewer__close {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgb(244 236 214 / .35); background: transparent; color: var(--cream); cursor: pointer;
}
.viewer__close:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.viewer__close .ico { width: 22px; height: 22px; }
.viewer__scroll { flex: 1; min-height: 0; overflow: auto; display: grid; place-items: center; padding: 0 16px 16px; overscroll-behavior: contain; }
.viewer__scroll img { max-height: calc(100dvh - 90px); max-width: 100%; width: auto; height: auto; cursor: zoom-in; border-radius: 4px; box-shadow: 0 30px 80px -20px #000; }
.viewer.is-zoomed .viewer__scroll { place-items: start center; }
.viewer.is-zoomed .viewer__scroll img { max-height: none; max-width: none; width: 1200px; cursor: zoom-out; }

/* Poster page */
.poster--page { padding-top: clamp(110px, 14vw, 150px); min-height: 100svh; }
.poster__back-link { margin: 0; padding: 0 16px 70px; background: var(--ink); }
.poster__back-link a { font-weight: 600; text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--gold-hi); text-decoration: underline; text-underline-offset: .4em; }

.video__poster-link { margin-top: 14px; }

/* Video page */
.film { padding: clamp(110px, 14vw, 150px) 0 clamp(40px, 6vw, 70px); background: var(--ink); }
.film__frame { margin: clamp(22px, 3vw, 36px) auto 0; max-width: min(1100px, max(480px, calc((100svh - 350px) * 16 / 9))); }
.film__frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 30px 70px -30px #000; }
.film__title { margin: clamp(36px, 5vw, 56px) 0 0; text-align: center; font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; color: var(--gold-hi); }
.film__title span { display: block; margin-top: 6px; font: italic 400 1rem/1.2 var(--f-serif); text-transform: none; letter-spacing: 0; color: var(--muted); }
.film__title + .film__frame { margin-top: 14px; }
.film__frame figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: .8rem; }
.film__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(22px, 3vw, 32px); }

/* Footer: the school block links to the main Bethany website */
.foot__grid .foot__home { display: grid; justify-items: start; gap: 4px; padding: 0; color: var(--muted); text-decoration: none; border-radius: 10px; }
.foot__home span { line-height: 1.6; }
.foot__home img { margin-bottom: 10px; transition: opacity .3s; }
.foot__visit { display: inline-flex; align-items: center; gap: .4em; margin-top: 6px; font-weight: 600; color: var(--gold-hi); }
.foot__visit .ico { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.foot__grid .foot__home:hover { color: var(--cream); }
.foot__home:hover .foot__visit { text-decoration: underline; text-underline-offset: .25em; }
.foot__home:hover .foot__visit .ico { transform: translate(2px, -2px); }

/* Social icons: official brand marks, filled */
.social .brand { width: 19px; height: 19px; fill: currentColor; display: block; }
.social a { width: 44px; height: 44px; transition: background-color .3s, color .3s, border-color .3s; }

/* Timeline posters with a video open it on YouTube */
.stop__play { position: relative; display: block; width: fit-content; max-width: 100%; margin-bottom: 16px; border-radius: 12px; text-decoration: none; }
.stop__play .stop__poster { margin-bottom: 0; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.stop:nth-child(odd of .stop) .stop__play { margin-left: auto; }
.stop__badge {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  font: 600 .85rem/1 var(--f-body); color: #241703;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 6px 14px -6px rgb(0 0 0 / .7);
  transition: transform .4s var(--ease);
}
.stop__badge svg { width: 14px; height: 14px; fill: currentColor; }
.stop__play:hover .stop__poster { transform: translateY(-4px); box-shadow: 0 30px 50px -24px #000, 0 0 0 2px var(--gold-hi); }
.stop__play:hover .stop__badge { transform: translateY(-4px) scale(1.06); }
.stop__play:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }
@media (max-width: 700px) { .stop:nth-child(odd of .stop) .stop__play { margin-left: 0; } }

/* Watch badge sits under the poster, aligned with the poster's side of the road */
.stop__play { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.stop:nth-child(odd of .stop) .stop__play { align-items: flex-end; }
.stop__badge { position: static; align-self: auto; }
.stop__play:hover .stop__badge { transform: translateY(-2px); }
@media (max-width: 700px) { .stop:nth-child(odd of .stop) .stop__play { align-items: flex-start; } }

/* Cursor / touch trail */
.trail { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 90; pointer-events: none; }

/* ---------- Opening: "Introducing THE WIZ" ----------
   The hero starts as a small stage window and opens to full screen as you scroll.
   Only active when main.js adds .intro-on, so the page works without it. */
.intro__label, .intro__cue { display: none; }
.intro-on .intro { position: relative; height: calc(100svh + var(--intro-run, 120vh)); }
.intro-on .intro__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ink); }
.intro-on .hero {
  height: 100svh; min-height: 0; padding-block: 0;
  clip-path: inset(var(--ct, 0) var(--cx, 0) var(--cb, 0) var(--cx, 0) round var(--cr, 0));
}
.intro-on .hero__inner {
  margin: 0; position: absolute; left: 50%; top: 0; width: min(900px, 100% - 32px);
  transform-origin: 50% 0;
  transform: translateX(-50%) translateY(var(--ty, 0px)) scale(var(--s, 1));
}
.intro-on .hero__presents, .intro-on .hero__tag, .intro-on .hero__when, .intro-on .hero__actions, .intro-on .count {
  animation: none; opacity: var(--f, 1);
}
.intro-on .hero__actions, .intro-on .count { visibility: var(--fv, visible); }
.intro-on .intro__label {
  display: block; position: absolute; left: 0; right: 0; top: var(--ly, 20vh); margin: 0; text-align: center;
  font: 700 clamp(.85rem, 1.4vw, 1.05rem)/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-hi); opacity: var(--lo, 1); pointer-events: none; max-width: none;
}
.intro-on .intro__cue {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: absolute; left: 0; right: 0; bottom: max(22px, env(safe-area-inset-bottom, 0px)); margin: 0;
  font: 500 .85rem/1 var(--f-body); color: var(--muted); opacity: var(--lo, 1); pointer-events: none; max-width: none;
}
.intro-on .intro__cue::after {
  /* a thin line that drips downward, inviting the scroll */
  content: ""; width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent);
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.intro-on .nav { opacity: var(--navo, 1); transition: opacity .2s; }
.intro-on .nav.is-hidden { pointer-events: none; }

/* ---------- Cast line-up (refined) ----------
   The five cut-outs stand close together and slightly overlap, Dorothy front and centre.
   Each photo fades out at its sides and feet so no cropped edge ever shows. */
.stage {
  display: flex; justify-content: center; align-items: flex-end; flex-wrap: nowrap;
  max-width: 1240px; margin-top: clamp(30px, 5vw, 56px); padding-inline: var(--gutter);
}
.stage__actor {
  flex: 0 0 auto; width: clamp(170px, 19vw, 300px);
  margin: 0 clamp(-56px, -3.6vw, -22px); padding-bottom: 54px;
  display: flex; flex-direction: column; align-items: center;
}
.stage__actor:nth-child(1), .stage__actor:nth-child(5) { z-index: 1; }
.stage__actor:nth-child(2), .stage__actor:nth-child(4) { z-index: 2; }
.stage__actor--lead { z-index: 3; width: clamp(190px, 21.5vw, 340px); flex-grow: 0; }
.stage__actor img {
  width: 100%; max-width: none; margin: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to top, transparent 0, #000 18%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to top, transparent 0, #000 18%);
          mask-composite: intersect;
  filter: drop-shadow(0 18px 22px rgb(0 0 0 / .45));
}
.stage__actor .plate { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); margin: 0; white-space: nowrap; z-index: 5; }
.stage__actor:hover { transform: translateY(-8px); z-index: 4; }
.stage__actor:hover img { filter: drop-shadow(0 26px 30px rgb(0 0 0 / .55)); }
.stage::after { bottom: 40px; }

@media (min-width: 1800px) {
  .stage { max-width: 1500px; }
  .stage__actor { width: clamp(170px, 17vw, 330px); }
  .stage__actor--lead { width: clamp(190px, 19.5vw, 370px); }
}

/* Phones and small tablets: Dorothy on her own row, then two overlapping pairs */
@media (max-width: 900px) {
  .stage { flex-wrap: wrap; row-gap: 6px; max-width: 560px; }
  .stage__actor { flex: 0 0 auto; width: 46%; margin: 0 -4%; padding-bottom: 46px; }
  .stage__actor--lead { flex: 0 0 auto; order: -1; width: 56%; margin: 0 22%; }
  .stage__actor img { max-width: none; }
}

/* Creative team, under the story */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; max-width: 520px; margin: 1.6em 0 0; }
.team div { display: grid; gap: 4px; align-content: start; }
@media (max-width: 420px), (min-width: 901px) and (max-width: 1120px) { .team { grid-template-columns: 1fr; } }
.team dt { font: 700 .75rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--glow); }
.team dd { margin: 0; font: 600 1.15rem/1.3 var(--f-serif); color: var(--cream); }

/* Sponsors band */
.sponsors { background: var(--ink-2); padding-block: clamp(44px, 6vw, 72px); border-block: 1px solid var(--line); }
.sponsors__title { margin: 0 auto clamp(20px, 3vw, 30px); text-align: center; font: italic 400 clamp(1.15rem, 2vw, 1.45rem)/1.3 var(--f-serif); color: var(--cream); max-width: none; }
.sponsors__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: clamp(18px, 4vw, 48px); }
.sponsor-card { display: grid; justify-items: center; gap: 12px; }
.sponsor-card__tier { font: 700 .78rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); }
.sponsor-card__logo {
  display: grid; place-items: center; background: #fff; border-radius: 16px;
  padding: clamp(14px, 2vw, 22px) clamp(18px, 2.6vw, 30px);
  box-shadow: 0 18px 40px -22px #000, 0 0 0 1px var(--line);
}
.sponsor-card__logo img { width: auto; height: clamp(56px, 7vw, 88px); max-width: 100%; }
.sponsor-card--platinum .sponsor-card__logo img { height: clamp(66px, 8.4vw, 104px); }
@media (max-width: 520px) {
  .sponsors__list { flex-direction: column; align-items: center; }
  .sponsor-card__logo img { height: 58px; width: auto; max-width: 100%; }
  .sponsor-card--platinum .sponsor-card__logo img { height: 78px; }
}

/* Playbill back: creative team and sponsors */
.playbill__team { margin: 3.5cqw 0 0; font: 600 2.9cqw/1.4 var(--f-body); color: #0b2a1a; max-width: 70cqw; }
.playbill__sponsors { margin: 1.8cqw 0 0; font: italic 400 2.9cqw/1.3 var(--f-serif); color: #6b5a2e; max-width: none; }

/* Playbill back: tightened so the credits and sponsors fit on the card */
.playbill { padding-bottom: 4cqw; }
.playbill__presents { margin-top: 6cqw; }
.playbill__title { font-size: 20cqw; margin-top: 1.5cqw; }
.playbill__sub { margin-top: 2cqw; font-size: 3.8cqw; }
.playbill__nights { margin-top: 4cqw; }
.playbill__nights li { padding: 1.8cqw 0 1.6cqw; }
.playbill__nights b { font-size: 8cqw; }
.playbill__when { margin-top: 3cqw; font-size: 3.8cqw; }
.playbill__cause { margin-top: 3cqw; padding-top: 3cqw; font-size: 3.4cqw; }
.playbill__team { margin-top: 2.5cqw; }
.playbill__credits { font-size: 2.5cqw; }
.playbill__passes { margin-top: 2cqw; }

/* Yellow brick edging between the big sections */
.show, .cast, .quiz, .cause, .musicals, .visit { position: relative; }
.show::before, .cast::before, .quiz::before, .cause::before, .musicals::before, .visit::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; z-index: 1;
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgb(95 58 6 / .75) 34px 36px) 0 0 / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 16px, rgb(95 58 6 / .75) 16px 18px, transparent 18px 36px) 0 7px / 100% 5px no-repeat,
    linear-gradient(rgb(95 58 6 / .75), rgb(95 58 6 / .75)) 0 5px / 100% 2px no-repeat,
    linear-gradient(#f2c94c, var(--brick));
  box-shadow: 0 1px 0 rgb(0 0 0 / .25);
}

/* Calendar links on each night */
.night__cal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed currentColor; font: 700 .8rem/1.3 var(--f-body); }
.night__cal a { color: inherit; text-underline-offset: .2em; }

/* Oz quiz */
.quiz { background: var(--ink-3); }
.quiz__wrap { max-width: 860px; }
.quiz__card { margin-top: clamp(22px, 3vw, 36px); padding: clamp(20px, 4vw, 40px); min-height: 420px; background: var(--ink); border: 1px solid var(--line); border-radius: 16px; }
.quiz__count { margin: 0; font: 700 .78rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.quiz__q { margin: 12px 0 18px; font: italic 500 clamp(1.5rem, 3.4vw, 2.1rem)/1.15 var(--f-serif); color: var(--cream); outline: none; max-width: none; }
.quiz__options { display: grid; gap: 10px; }
.quiz__opt { width: 100%; min-height: 48px; padding: 11px 16px; text-align: left; font: 500 1rem/1.3 var(--f-body); color: var(--cream); background: rgb(255 255 255 / .05); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.quiz__opt:hover { background: var(--gold); border-color: var(--gold); color: #241703; transform: translateX(4px); }
.quiz__result { display: grid; grid-template-columns: minmax(130px, 220px) 1fr; gap: clamp(16px, 4vw, 36px); align-items: center; }
.quiz__result img { width: 100%; -webkit-mask-image: linear-gradient(to top, transparent 0, #000 16%); mask-image: linear-gradient(to top, transparent 0, #000 16%); }
.quiz__name { margin: 0 0 8px; font: 900 clamp(2.2rem, 6vw, 3.6rem)/1 var(--f-display); text-transform: uppercase; color: var(--gold-hi); outline: none; max-width: none; }
.quiz__line { color: var(--cream); margin: 0; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 560px) { .quiz__result { grid-template-columns: 1fr; justify-items: center; text-align: center; } .quiz__result img { width: 170px; } .quiz__actions { justify-content: center; } .quiz__card { min-height: 480px; } }
@media (prefers-reduced-motion: reduce) { .quiz__opt { transition: none; } .quiz__opt:hover { transform: none; } }

/* The WIZ poster background: sharp at any size, and darkened enough for text to stay readable */
html { background: #063a10; }
body::before {
  content: ""; position: fixed; inset: 0; height: 100lvh; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgb(2 26 8 / .5), rgb(2 26 8 / .5)),
    url("assets/wiz-hex.svg") center top / 48.5px 84px repeat,
    url("assets/wiz-bg.svg") center / 100% 100% no-repeat;
}
.show, .cast, .quiz, .cause, .musicals, .sponsors, .visit, .foot, .poster, .poster__back-link, .film { background: transparent; }
.sponsors { background: rgb(2 26 8 / .35); }
.foot { background: rgb(2 22 7 / .72); }
.intro-on .intro__stage { background: transparent; }
.quiz__card { background: rgb(3 30 10 / .88); }
.quiz__opt { background: rgb(255 255 255 / .07); }
.section p, .section li, .foot p { text-shadow: 0 1px 8px rgb(0 0 0 / .45); }

/* The glint stays on the lettering, so no rectangle shows on the bright background */
.hero__logo::after { -webkit-mask: url("assets/wiz-logo.webp") center / 100% 100% no-repeat; mask: url("assets/wiz-logo.webp") center / 100% 100% no-repeat; mix-blend-mode: screen; }

/* Playbill: one credit per line */
.playbill__team { list-style: none; margin: 2.4cqw 0 0; padding: 0; max-width: none; font: 600 2.75cqw/1.42 var(--f-body); }
.playbill__passes { line-height: 1.45; margin-top: 2.2cqw; }
.playbill__title { font-size: 20cqw; margin-top: 1.4cqw; }
.playbill__nights { margin-top: 2.6cqw; }
.playbill__nights li { padding: 1.6cqw 0 1.4cqw; }
.playbill__nights b { font-size: 8cqw; }
.playbill__when { margin-top: 2.8cqw; font-size: 3.7cqw; }
.playbill__cause { margin-top: 2.4cqw; font-size: 3.1cqw; }
.playbill__team { font-size: 2.6cqw; line-height: 1.34; margin-top: 2cqw; }
.playbill__sponsors { margin-top: 1.8cqw; }
.playbill__credits { margin-top: 1.8cqw; }
.playbill__passes { margin-top: 1.8cqw; }
.playbill__crest { height: 8cqw; width: auto; margin-top: 4cqw; }
.playbill__presents { margin-top: 5.5cqw; }
.playbill__credits { line-height: 1.32; }
.playbill__cause { line-height: 1.25; }
.playbill__team { line-height: 1.28; }
.playbill__sub { margin-top: 1.4cqw; }

/* The Bethany crest as a gold coin, beside the poster */
.poster__duo { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 clamp(30px, 6vw, 90px); }
.poster__duo > .poster__stage { margin-inline: 0; }
.crest__stage.poster__stage { --w: clamp(220px, 24vw, 360px); }
/* Rendered in Blender: one sheet of 60 angles, shown a frame at a time */
.crest__coin { position: relative; width: calc(var(--w) * 1.12); aspect-ratio: 1; background: none 0 0 / 1000% 600% no-repeat; }
.crest__coin.is-ready { background-image: var(--sheet); }
.crest__coin.is-ready .crest__still { opacity: 0; }
.crest__still { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .3s; }

/* Click-to-enlarge photos */
img.enlarge { cursor: zoom-in; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
img.enlarge:hover { transform: scale(1.015); }
img.enlarge:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 4px; }
.viewer--photo .viewer__scroll img { cursor: zoom-out; max-width: min(100%, 1600px); }

/* Lighter mode for low-memory or data-saving devices: same look, fewer GPU-heavy blurs */
.lite .nav.is-solid, .lite .nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
.lite .count { backdrop-filter: none; background: rgb(3 17 11 / .86); }
.lite .mosaic figcaption { backdrop-filter: none; background: rgb(3 17 11 / .85); }
.lite .count { animation-name: rise-lite; }
.lite .hero__presents, .lite .hero__tag, .lite .hero__when, .lite .hero__actions { animation-name: rise-lite; }
@keyframes rise-lite { from { transform: translateY(18px); opacity: .2; } }

/* ---------- Cast: two casts, side by side ----------
   Each character's two performers stand together and slightly overlap under one name plate.
   Three pairs a row on wide screens, two on tablets, one on phones. Neither cast is labelled or always first. */
.troupe {
  --sx: 50%;
  list-style: none; position: relative;
  max-width: 1320px; margin: clamp(30px, 5vw, 56px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4.5vw, 64px) clamp(8px, 2vw, 32px);
}
.troupe::before {
  content: ""; position: absolute; inset: -60px 0 0; z-index: 0; pointer-events: none;
  background: radial-gradient(320px 520px at var(--sx) 50%, rgb(251 227 160 / .13), transparent 70%);
}
.duo { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-bottom: 54px; min-width: 0; }
.duo::after {
  /* the lit floor the pair stands on */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 36px; height: 56px; z-index: 0;
  background: radial-gradient(50% 100% at 50% 100%, rgb(251 227 160 / .3), transparent 70%);
}
.duo__pair { display: flex; justify-content: center; align-items: flex-end; width: 100%; }
.duo__actor { position: relative; z-index: 1; display: block; flex: 0 0 58%; min-width: 0; margin-inline: -8%; transition: transform .6s var(--ease); }
.duo__actor + .duo__actor { z-index: 2; }
.duo__actor img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to top, transparent 0, #000 18%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to top, transparent 0, #000 18%);
          mask-composite: intersect;
  filter: drop-shadow(0 18px 22px rgb(0 0 0 / .45));
  transition: filter .6s var(--ease);
}
.duo__actor:hover { transform: translateY(-8px); z-index: 3; }
.duo__actor:hover img { filter: drop-shadow(0 26px 30px rgb(0 0 0 / .55)); }
.duo .plate { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); margin: 0; white-space: nowrap; z-index: 5; }

@media (min-width: 1800px) { .troupe { max-width: 1560px; } }
@media (max-width: 900px) { .troupe { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; } }
@media (max-width: 560px) { .troupe { grid-template-columns: minmax(0, 1fr); max-width: 420px; row-gap: 28px; } }
@media (prefers-reduced-motion: reduce) { .duo__actor, .duo__actor img { transition: none; } .duo__actor:hover { transform: none; } }

/* The Wiz stands alone, full figure with arms wide: wider, and no side fade so his hands stay visible */
.duo--solo .duo__actor { flex: 0 0 96%; margin-inline: 0; }
.duo--solo .duo__actor img {
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 9%);
          mask-image: linear-gradient(to top, transparent 0, #000 9%);
  -webkit-mask-composite: source-over; mask-composite: add;
}

/* Poster page: pixel art and voxel art */
.blocks { background: var(--ink); padding-block: clamp(30px, 6vw, 70px) clamp(50px, 8vw, 90px); }
.blocks .wrap { --wrap: 1280px; }
.blocks__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(22px, 3vw, 40px); margin-top: clamp(30px, 5vw, 56px); }
.blocks__item { margin: 0; }
.blocks__item.is-off { display: none; }
.blocks__pixel, .blocks__voxel {
  display: block; width: 100%; aspect-ratio: 4 / 3;
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 30px 70px -30px #000;
}
.blocks__pixel { background: #03110b; image-rendering: crisp-edges; image-rendering: pixelated; }
.blocks__voxel {
  position: relative; overflow: hidden; cursor: grab;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: radial-gradient(ellipse at 50% 62%, rgb(20 145 95 / .5), #03110b 72%);
}
.blocks__voxel.is-dragging { cursor: grabbing; }
.blocks__voxel canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.blocks__voxel.is-ready canvas { opacity: 1; }
.blocks__item figcaption { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.blocks__item figcaption b { font: 800 1.15rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); margin-right: .5em; }
@media (prefers-reduced-motion: reduce) { .blocks__voxel canvas { transition: none; } }
/* The four voxel travellers: one wide stage, four across (two by two on phones) */
.blocks__cast { margin-top: clamp(30px, 5vw, 56px); }
.blocks__voxel--cast { --cols: 4; aspect-ratio: 116 / 49; background: radial-gradient(ellipse at 50% 70%, rgb(20 145 95 / .55), #03110b 78%); }
.blocks__names { position: absolute; inset: 0; margin: 0; padding: 0 0 clamp(8px, 1.4vw, 16px); list-style: none; pointer-events: none; display: grid; grid-template-columns: repeat(var(--cols), 1fr); align-items: end; text-align: center; opacity: 0; transition: opacity .6s; }
.blocks__voxel.is-ready .blocks__names { opacity: 1; }
.blocks__names li { font: 800 clamp(.95rem, 1.5vw, 1.25rem)/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 2px 10px #000; }
@media (max-width: 760px) { .blocks__voxel--cast { --cols: 2; aspect-ratio: 58 / 96; } }

/* 404 page */
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 6px; padding-top: 110px; }
.lost__logo { width: min(70vw, 360px); margin-bottom: 18px; filter: drop-shadow(0 14px 30px rgb(0 0 0 / .5)); }
