/* ==========================================================================
   Higher Ground - stilters.com  |  v3  (one screen per page, like the Flash original)
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2-variations"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0b2545;
  --gold: #f2b544;
  --red: #c8293b;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", "Gill Sans", "Gill Sans MT", Calibri, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --fade: 420ms;

  --gutter: clamp(20px, 4vw, 56px);
  --top: clamp(84px, 13.5vh, 136px);       /* header row (tall enough for the logo) */
  --walk-h: clamp(54px, 9.5vh, 92px);      /* walker BODY height */
  --ground: clamp(22px, 3.4vh, 32px);      /* water band */
  --strip: calc(var(--walk-h) * 1.4 + var(--ground) + 30px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #3f86cf; overflow-x: clip; }
body {
  margin: 0; color: #fff; overflow-x: clip;
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1; }
p { margin: 0 0 .9em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   The sky: original photo + two layers of distant cirrus drifting across the top
   ========================================================================== */
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: #4f8fd0 url("../img/sky.jpg") center bottom / cover no-repeat;
}
.sky::before {      /* deepen the zenith a touch so the cirrus reads */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28, 82, 150, .35), rgba(28, 82, 150, 0) 45%);
}
.sun {
  position: absolute; top: -40vmax; right: -18vmax; width: 80vmax; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 252, 238, .45), rgba(255, 246, 225, .14) 35%, transparent 70%);
}
.cirrus {
  position: absolute; top: 0; left: 0;
  height: var(--h);
  width: calc(100vw + var(--h) * 5.7143);
  background-repeat: repeat-x;
  background-size: calc(var(--h) * 5.7143) 100%;     /* tiles are 2400 x 420 */
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
          mask-image: linear-gradient(180deg, #000 30%, transparent);
  animation: cirrus-drift var(--t) linear infinite;
  will-change: transform;
}
.cirrus.far  { --h: 30vh; --t: 260s; background-image: url("../img/cirrus-far.webp"); opacity: .75; }
.cirrus.near { --h: 40vh; --t: 170s; background-image: url("../img/cirrus-near.webp"); opacity: .6; animation-delay: -60s; }
@keyframes cirrus-drift { from { transform: translate3d(calc(var(--h) * -5.7143), 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* ==========================================================================
   App frame: header / stage / walking cast - fills exactly one screen
   ========================================================================== */
.app {
  position: relative;
  display: grid;
  grid-template-rows: var(--top) minmax(0, 1fr) var(--strip);
  height: 100vh; height: 100svh;
  overflow: hidden;
}

/* header */
.topbar { position: relative; z-index: 20; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; padding-inline: var(--gutter); }
.brandmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brandmark { position: relative; z-index: 21; }
.brandmark img {
  width: clamp(52px, 8.2vh, 86px);                 /* big stilt-walker mark */
  filter: drop-shadow(0 3px 5px rgba(0, 30, 70, .45));
}
.brandmark span { font: 500 clamp(20px, 2.8vh, 26px)/1 var(--display); font-variation-settings: "SOFT" 60, "opsz" 48; text-shadow: 0 2px 10px rgba(0, 40, 90, .35); }
.mainnav ul { display: flex; gap: 4px; }
.mainnav a {
  display: block; padding: 9px 15px; border-radius: 999px;
  text-decoration: none; font: 500 15px/1 var(--body);
  text-shadow: 0 1px 8px rgba(0, 40, 90, .35); transition: background .2s;
}
.mainnav a:hover { background: rgba(255, 255, 255, .14); }
.mainnav a[aria-current="page"] { background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.menu-btn { display: none; }

/* stage */
.stage { position: relative; z-index: 5; min-height: 0; padding: 0 var(--gutter); display: flex; align-items: center; }
body { --copy-w: min(46vw, 600px); }
body.wide { --copy-w: min(58vw, 820px); }
body.crew { --copy-w: min(53vw, 780px); }
body.full { --copy-w: 100%; }
body.narrow { --copy-w: min(34vw, 500px); }
.narrow .h1 { font-size: clamp(40px, min(5.4vw, 9.5vh), 92px); }
.narrow .performer { right: 1vw; }
.copy { position: relative; width: var(--copy-w); }
.copy::before {           /* soft scrim keeps text legible over bright sky */
  content: ""; position: absolute; z-index: -1; inset: -14% -20% -14% -40%;
  background: radial-gradient(ellipse at 40% 50%, rgba(18, 64, 128, .28), rgba(18, 64, 128, .08) 50%, transparent 72%);
  filter: blur(12px); pointer-events: none;
}
.full .copy::before { display: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 clamp(11px, 1.5vh, 13px)/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow em { font: italic 400 1.15em/1 var(--display); letter-spacing: 0; text-transform: none; opacity: .85; }
.h1 {
  margin: clamp(10px, 1.8vh, 18px) 0 clamp(12px, 2.2vh, 22px);
  font-size: clamp(40px, min(7.2vw, 11.5vh), 108px);
  font-variation-settings: "SOFT" 60, "opsz" 144; line-height: .95; letter-spacing: -.025em;
  text-shadow: 0 4px 30px rgba(0, 40, 90, .25);
}
.h1 em { font-style: italic; font-weight: 300; color: var(--gold); }
.h1-home { white-space: nowrap; font-size: clamp(40px, min(5.6vw, 10vh), 100px); }
.h1-home .h1-sub { white-space: normal; }
.h1-sub { display: block; margin-top: .22em; font-size: .46em; font-style: italic; font-weight: 300; letter-spacing: -.005em; color: var(--gold); }
.h1.sm { font-size: clamp(34px, min(5.4vw, 8.6vh), 80px); }
.lede { font-size: clamp(15px, min(1.45vw, 2.35vh), 20px); line-height: 1.55; max-width: 33em; text-shadow: 0 1px 2px rgba(10, 40, 90, .45), 0 2px 18px rgba(10, 40, 90, .35); }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: clamp(11px, 1.6vh, 14px) clamp(18px, 2vw, 24px); border-radius: 999px; border: 0; cursor: pointer;
  font: 600 clamp(14px, 1.9vh, 16px)/1 var(--body); text-decoration: none;
  background: #fff; color: var(--navy); box-shadow: 0 6px 20px -8px rgba(0, 30, 70, .5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(0, 30, 70, .6); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: rgba(16, 52, 98, .28); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-round { width: clamp(40px, 5.6vh, 48px); height: clamp(40px, 5.6vh, 48px); padding: 0; justify-content: center; font-size: 18px; }
.btn .count { padding: 3px 8px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(12px, 2vh, 20px); }
.chip { padding: 7px 13px; border-radius: 999px; font: 600 12.5px/1 var(--body); background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.chip.gold { background: var(--gold); color: var(--navy); box-shadow: none; }

/* glass panels used for compact info */
.glass { background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; }

/* home: credentials row */
.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: clamp(16px, 3vh, 30px); max-width: 640px; }
.creds li { padding: 12px 12px 11px; }
.creds strong { display: block; font: 400 clamp(20px, 2.8vh, 26px)/1 var(--display); color: var(--gold); margin-bottom: 5px; }
.creds span { display: block; font-size: 12.5px; line-height: 1.3; opacity: .9; }

/* what we did: formats grid */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: clamp(14px, 2.4vh, 24px); }
.formats li { padding: clamp(10px, 1.6vh, 16px) 16px; }
.formats h2 { font: 500 clamp(17px, 2.4vh, 21px)/1.15 var(--display); margin-bottom: 6px; }
.formats p { margin: 0; font-size: clamp(13px, 1.75vh, 14.5px); line-height: 1.4; opacity: .9; }
.formats .special { background: rgba(242, 181, 68, .22); box-shadow: inset 0 0 0 1px rgba(242, 181, 68, .55); }

/* characters overview grid */
.cast-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(112px, 21vh, 240px); gap: clamp(8px, 1.2vw, 14px); margin-top: clamp(12px, 2vh, 20px); }
.card-char {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%;
  border-radius: 14px; overflow: hidden; isolation: isolate; text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .22));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
  transition: transform .4s var(--ease), background .3s;
}
.card-char img {
  position: absolute; z-index: -1; left: 50%; bottom: 34px;
  height: 80%; width: auto; max-width: 118%; object-fit: contain; object-position: bottom;
  transform: translateX(-50%); filter: drop-shadow(0 8px 12px rgba(10, 40, 80, .3));
  transition: transform .5s var(--ease);
}
.card-char .card-label { padding: 9px 12px; font: 500 clamp(15px, 2.1vh, 18px)/1.1 var(--display); background: linear-gradient(transparent, rgba(11, 37, 69, .35)); }
.card-char:hover { transform: translateY(-4px); background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .3)); }
.card-char:hover img { transform: translateX(-50%) scale(1.06); }
.card-char .badge { position: absolute; top: 8px; left: 8px; padding: 5px 8px; border-radius: 999px; background: var(--gold); color: var(--navy); font: 700 10px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }

/* crew */
.crew-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; margin-top: clamp(12px, 2vh, 20px); }
.founder { padding: clamp(12px, 1.8vh, 18px); }
.founder-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.founder-head img, .crew-faces img { width: clamp(44px, 6.5vh, 56px); height: clamp(44px, 6.5vh, 56px); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.founder-head strong { display: block; font: 500 clamp(18px, 2.6vh, 22px)/1.1 var(--display); }
.founder-head span { font-size: 13px; opacity: .85; }
.founder ul li { position: relative; padding-left: 16px; margin: 4px 0; font-size: clamp(13px, 1.8vh, 14.5px); line-height: 1.35; }
.founder ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.crew-box { padding: clamp(12px, 1.8vh, 18px); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.crew-box h2 { font: 500 clamp(17px, 2.4vh, 20px)/1.1 var(--display); }
.crew-faces { display: flex; gap: 14px; }
.crew-faces li { text-align: center; font-size: 13px; }
.crew-faces img { margin: 0 auto 5px; }
.credit { font-size: 11.5px; opacity: .8; margin: 0; }

/* contact */
.contact-card { display: inline-grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 18px 24px; margin-top: 8px; }
.contact-card .icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #3f86cf; font-size: 22px; }
.contact-card small { display: block; font: 600 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; }
.contact-card a { font: 500 clamp(20px, 3vh, 28px)/1.1 var(--display); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   Main performer - static, standing on the ground line behind the walking cast
   ========================================================================== */
.performer {
  position: absolute; z-index: 2; pointer-events: none;
  top: 0;                                   /* full page height ... */
  bottom: calc(var(--ground) - 2px);        /* ... feet stay on the horizon line */
  right: clamp(10px, 4vw, 80px);
  left: calc(var(--gutter) + var(--copy-w) + 24px);   /* never runs under the text */
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.performer img {
  height: 100%; width: auto; max-width: 100%; max-height: none;
  object-fit: contain; object-position: right bottom;
  filter: drop-shadow(0 18px 26px rgba(10, 40, 80, .28));
}

/* per-page nudge down past the horizon line (size unchanged) */
.performer img { transform: translateY(var(--sink, 0px)); }
.p-scarecrows .performer { --sink: 2.6vh; }
.p-sports .performer     { --sink: 3vh; }
.p-explorer .performer   { --sink: 3vh; }
.p-scientists .performer { --sink: 9vh; }

/* two performers: a full-height lead with a smaller group further back.
   Sized with container units (cqh = 1% of the performer area's height) so the pair always fits. */
.performer.duo { container-type: size; }
.performer.duo img.front { position: relative; z-index: 2; height: 100%; width: auto; max-width: 100%; }
.performer.duo img.back {
  position: absolute; z-index: 1; bottom: 0;
  /* as big as the free space allows (flock is 1.49x wider than tall), up to 44% of the height */
  /* move left as far as room allows (up to 64cqh) while keeping the flock at least ~40% tall */
  --r: clamp(40cqh, calc(100cqw - 60cqh), 64cqh);
  height: min(54cqh, calc((100cqw - var(--r)) / 1.4925)); width: auto; max-width: none;
  right: var(--r);
  opacity: .92; filter: saturate(.85) brightness(1.04) drop-shadow(0 10px 16px rgba(10, 40, 80, .2));
}
/* formal: the high-kick gentleman stands back-left of the pair */
.performer.duo-formal img.back { height: 66cqh; right: min(116cqh, calc(100cqw - 22cqh)); }
@media (max-width: 860px), (max-height: 520px) {
  .performer.duo img.back { height: 34cqh; right: auto; left: 2%; }
}

/* ==========================================================================
   Walking cast (bottom nav) - same as the Flash site
   ========================================================================== */
.strip { position: relative; z-index: 6; }
.strip::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--ground);
  background: linear-gradient(rgba(150, 198, 242, .55), rgba(92, 150, 212, .7));
  border-top: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 -10px 30px rgba(30, 80, 150, .12);
}
.strip ul { position: relative; display: flex; justify-content: space-between; align-items: flex-end; height: 100%; padding: 0 1.5vw; }
.strip li { flex: 1 1 0; display: flex; justify-content: center; min-width: 0; height: 100%; }
.walker { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; padding-bottom: var(--ground); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.walker-label {
  position: absolute; top: 2px; left: 50%; z-index: 3; transform: translateX(-50%);
  white-space: nowrap; font: 400 clamp(12px, 1.9vh, 15px)/1 var(--display);
  text-shadow: 0 1px 4px rgba(0, 40, 90, .6); transition: transform .25s var(--ease), color .25s;
}
.walker:hover .walker-label, .walker:focus-visible .walker-label { transform: translateX(-50%) translateY(-4px); color: #ffeaa0; }
.walker[aria-current="page"] .walker-label { color: var(--gold); font-style: italic; }
.walker-body { position: relative; display: block; transform-origin: 50% 100%; transition: transform .35s cubic-bezier(.2, .9, .3, 1.25); }
.walker:hover .walker-body, .walker:focus-visible .walker-body { transform: scale(1.4); }
.walker:hover, .walker:focus-visible { z-index: 2; }
.walker-fig, .walker-reflect { display: block; height: calc(var(--walk-h) * var(--hr, 1.2)); aspect-ratio: var(--ar, .7); background-repeat: no-repeat; background-size: 100% 100%; }
.walker-fig { position: relative; z-index: 1; filter: drop-shadow(1px 3px 3px rgba(0, 30, 70, .3)); }
.walker-reflect { position: absolute; left: 0; top: 100%; transform: scaleY(-1); opacity: .28; -webkit-mask-image: linear-gradient(to top, #000, transparent 30%); mask-image: linear-gradient(to top, #000, transparent 30%); pointer-events: none; }
.ground-meta {
  position: absolute; z-index: 7; left: var(--gutter); right: var(--gutter); bottom: 0; height: var(--ground);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 11px; color: rgba(255, 255, 255, .8); pointer-events: none;
}
.ground-meta > * { pointer-events: auto; }
.motion-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(11, 37, 69, .15); color: #fff; font: 500 11px/1 var(--body); cursor: pointer; }
.motion-toggle::before { content: "\275A\275A"; font-size: 8px; letter-spacing: -1px; }
.motion-off .motion-toggle::before { content: "\25B6"; }
.motion-off .cirrus { animation-play-state: paused; }

/* ==========================================================================
   Load-in + page fade
   ========================================================================== */
.js .page-fade { opacity: 0; transition: opacity var(--fade) var(--ease); }
.js body.is-ready .page-fade { opacity: 1; }
.js body.is-leaving .page-fade { opacity: 0; transition-duration: calc(var(--fade) * .75); }
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js body.is-ready .rise { opacity: 1; transform: none; }

/* ==========================================================================
   Gallery popup (viewer + filmstrip)
   ========================================================================== */
.gallery-src { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px;
  padding: 14px clamp(12px, 3vw, 40px) 16px;
  background: rgba(6, 22, 44, .94); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.lb-title { font: 400 clamp(22px, 3.4vh, 32px)/1 var(--display); }
.lb-title small { margin-left: 10px; font: 500 13px/1 var(--body); opacity: .7; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 8px; max-height: 100%; min-height: 0; min-width: 0; width: 100%; }
.lb-img { max-width: min(100%, 1400px); max-height: calc(100svh - 230px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); transition: opacity .25s; }
.lb-img.is-loading { opacity: .2; }
.lb-caption { color: #cfe0f3; font-size: 14px; text-align: center; }
.lb-btn { display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font: 26px/1 var(--body); cursor: pointer; transition: background .2s; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, .26); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 0; } .lb-next { right: 0; }
.lb-strip { display: flex; justify-content: center; gap: 8px; overflow-x: auto; padding: 4px 2px; scrollbar-width: thin; }
.lb-strip button { flex: 0 0 auto; width: 60px; height: 80px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .5; box-shadow: inset 0 0 0 2px transparent; transition: opacity .2s, transform .2s; background: #123; }
.lb-strip button img { width: 100%; height: 100%; object-fit: cover; }
.lb-strip button:hover { opacity: .85; }
.lb-strip button[aria-current="true"] { opacity: 1; transform: translateY(-3px); outline: 2px solid var(--gold); outline-offset: 2px; }

/* ==========================================================================
   Small / short screens: allow scrolling, stack the layout
   ========================================================================== */
@media (max-width: 860px), (max-height: 520px) {
  .app { height: auto; min-height: 100svh; overflow: visible; grid-template-rows: auto auto auto; padding-bottom: var(--strip); }
  .topbar { height: 64px; }
  .brandmark img { width: 40px; margin: 0; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .nav-open .menu-btn span { background: transparent; }
  .nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .mainnav { position: fixed; inset: 64px 0 auto; padding: 12px var(--gutter) 22px; background: rgba(11, 37, 69, .96); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav-open .mainnav { opacity: 1; visibility: visible; transform: none; }
  .mainnav ul { flex-direction: column; }
  .mainnav a { padding: 14px; font-size: 18px; border-radius: 12px; }
  .stage { display: block; padding-top: 10px; }
  .copy, .wide .copy { width: 100%; }
  .h1 { font-size: clamp(40px, 12vw, 64px); }
  .h1-home { font-size: clamp(36px, 11vw, 56px); }
  .performer { position: relative; inset: auto; width: 100%; height: 62svh; margin-top: 10px; justify-content: center; }
  .performer img { height: 100%; max-width: 100%; }
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .crew-row { grid-template-columns: 1fr; }
  .strip { position: fixed; left: 0; right: 0; bottom: 0; height: var(--strip); }
  .strip ul { justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 0 10px; }
  .strip ul::-webkit-scrollbar { display: none; }
  .strip li { flex: 0 0 auto; padding: 0 9px; }
  .walker:hover .walker-body { transform: none; }
  .ground-meta { display: none; }
  .copy::before { inset: -10% -6% -10% -10%; }
  .lb-prev, .lb-next { width: 42px; height: 42px; background: rgba(6, 22, 44, .55); }
  .lb-img { max-height: calc(100svh - 210px); }
}
@media (max-width: 520px) {
  .formats { grid-template-columns: 1fr; }
  .cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  :root { --fade: 1ms; }
  .cirrus { animation-duration: calc(var(--t) * 2.5); }   /* slow, ambient drift only */
  .js .rise { opacity: 1; transform: none; transition: none; }
  .walker-body, .card-char, .card-char img { transition: none; }
}
