/* Safety - The Musical: public page styles.
   Rules: transforms and opacity only for motion; no data URIs; dark night world.
   Layer placements follow concept/CONCEPT.md (stage = 16:9 cover box, 9:16 on portrait). */

/* the fonts (2026-10-06, same as james.com, docs: james-site-redesign/docs/fonts-1006): Brygada 1918 (--serif) +
   Ysabeau Office (--sans), SIL OFL 1.1, self-hosted in assets/fonts/ (licenses beside them); size-adjust keeps the
   visual size the px values were tuned for; --display = the hero title, sized to the old title's width */
@font-face { font-family: "Brygada 1918"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 94%; src: url(../assets/fonts/brygada1918-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Brygada 1918"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 94%; src: url(../assets/fonts/brygada1918-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Brygada 1918"; font-style: italic; font-weight: 400 700; font-display: swap; size-adjust: 94%; src: url(../assets/fonts/brygada1918-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Brygada 1918"; font-style: italic; font-weight: 400 700; font-display: swap; size-adjust: 94%; src: url(../assets/fonts/brygada1918-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Brygada 1918 Display"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 85%; src: url(../assets/fonts/brygada1918-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Brygada 1918 Display"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 85%; src: url(../assets/fonts/brygada1918-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ysabeau Office"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 116.2%; src: url(../assets/fonts/ysabeau-office-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ysabeau Office"; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 116.2%; src: url(../assets/fonts/ysabeau-office-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ysabeau Office"; font-style: italic; font-weight: 400 700; font-display: swap; size-adjust: 116.2%; src: url(../assets/fonts/ysabeau-office-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ysabeau Office"; font-style: italic; font-weight: 400 700; font-display: swap; size-adjust: 116.2%; src: url(../assets/fonts/ysabeau-office-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* metric-matched local fallbacks (Georgia / Arial matched to the faces above; fallback_metrics.js) */
@font-face { font-family: "Brygada Fallback"; src: local("Georgia"); font-weight: 400 500; size-adjust: 96.9%; ascent-override: 88.7%; descent-override: 24.8%; line-gap-override: 0%; }
@font-face { font-family: "Brygada Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 600 700; size-adjust: 84.8%; ascent-override: 101.4%; descent-override: 28.3%; line-gap-override: 0%; }
@font-face { font-family: "Brygada Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic; font-weight: 400 500; size-adjust: 91.6%; ascent-override: 93.9%; descent-override: 26.2%; line-gap-override: 0%; }
@font-face { font-family: "Brygada Fallback"; src: local("Georgia Bold Italic"), local("Georgia-BoldItalic"); font-style: italic; font-weight: 600 700; size-adjust: 80.3%; ascent-override: 107.1%; descent-override: 29.9%; line-gap-override: 0%; }
@font-face { font-family: "Brygada Display Fallback"; src: local("Georgia"); font-weight: 400 500; size-adjust: 87.6%; ascent-override: 88.7%; descent-override: 24.8%; line-gap-override: 0%; }
@font-face { font-family: "Brygada Display Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 600 700; size-adjust: 76.7%; ascent-override: 101.4%; descent-override: 28.3%; line-gap-override: 0%; }
@font-face { font-family: "Ysabeau Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400 500; size-adjust: 109.3%; ascent-override: 111.6%; descent-override: 31.1%; line-gap-override: 0%; }
@font-face { font-family: "Ysabeau Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 700; size-adjust: 103.9%; ascent-override: 117.5%; descent-override: 32.7%; line-gap-override: 0%; }

:root {
  --navy-0: #060b17;
  --navy: #0b1426;
  --navy-2: #101b33;
  --navy-3: #1a2a4a;
  --amber: #e0a458;
  --gold: #c8a165;
  --amber-hi: #f2c987;
  --cream: #f3e9d2;
  --haze: #6f7f99;
  --magenta: #b86a9e;
  --ink: #ece3cd;
  --muted: #aab2c5;
  --muted-2: #7f8aa3;
  --line: rgba(242, 201, 135, 0.14);
  --line-2: rgba(243, 233, 210, 0.08);
  --card: rgba(16, 27, 51, 0.72);
  --card-hi: rgba(26, 42, 74, 0.78);
  --ok: #9fd3a8;
  --warn: #f2c987;
  --bad: #f0a3a3;
  --serif: "Brygada 1918", "Brygada Fallback", Georgia, "Times New Roman", serif;
  --sans: "Ysabeau Office", "Ysabeau Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Brygada 1918 Display", "Brygada Display Fallback", Georgia, "Times New Roman", serif;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1180px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --moon-x: 57%;
  --moon-y: 28%;
  --moon-r: 15vh;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--navy-0);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy-0);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--amber-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cream); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--amber-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 12px; color: var(--navy); }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- film grain: full on the hero, a quiet neutral texture on the rest of the page ---------- */
.grain {
  pointer-events: none;
  animation: grain 0.9s steps(6) infinite;
}
/* owner 2026-10-06: the grain must show on the whole page, like james.com (the old overlay page layer at 0.1
   was invisible below the hero). Page layer = the main site's film grain; the hero layer only tops it up. */
.grain-page {
  position: fixed;
  inset: -120px;
  z-index: 60;
  background-image: url("../assets/img/grain.svg?v=1");
  background-size: 240px 240px;
  mix-blend-mode: normal;
  opacity: 0.16;
}
@media (pointer: fine) {
  .grain-page { opacity: 0.22; }
}
.grain-hero {
  position: absolute;
  inset: -120px;
  z-index: 4;
  background-image: url("../assets/img/grain.svg?v=1");
  background-size: 240px 240px;
  opacity: 0.16;
}
@media (pointer: fine) {
  .grain-hero { opacity: 0.2; }
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  17% { transform: translate3d(-38px, 22px, 0); }
  33% { transform: translate3d(24px, -46px, 0); }
  50% { transform: translate3d(-58px, -14px, 0); }
  67% { transform: translate3d(42px, 36px, 0); }
  83% { transform: translate3d(-16px, 58px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  transition: background-color 0.4s, box-shadow 0.4s, padding 0.4s;
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 11, 23, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
  opacity: 0;
  transition: opacity 0.4s;
}
.topbar.is-scrolled::before { opacity: 1; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--serif); /* owner 2026-10-06: wordmark in Brygada 1918 like james.com - the sans J read like an I */
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-moon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #fff8e6 0%, var(--cream) 42%, #d9c49a 100%);
  box-shadow: 0 0 14px rgba(243, 233, 210, 0.55), 0 0 36px rgba(242, 201, 135, 0.25);
}
.nav { display: flex; align-items: center; gap: clamp(10px, 2.2vw, 28px); }
.nav a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  opacity: 0.86;
}
.nav a:hover { opacity: 1; color: var(--amber-hi); }
.nav .nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(242, 201, 135, 0.6);
  color: var(--amber-hi);
  opacity: 1;
  font-weight: 600;
}
.nav .nav-cta:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); }
@media (max-width: 720px) {
  .nav .nav-link { display: none; }
  .brand { letter-spacing: 0.18em; font-size: 12px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  background: var(--navy);
}
.hero.is-pinned {
  height: 138vh;
  height: 138svh;
}
.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.scene {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  perspective-origin: 50% 40%;
}
.rig {
  position: absolute;
  inset: -2.5%;
  transform-origin: 50% 60%;
  will-change: transform;
}
.plane {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  will-change: transform;
}
.plane-sky { transform-origin: 50% 40%; }

.sky, .sky picture, .sky img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* object-position is read by hero.js to place the moon glow: keep it in percentages */
.sky img {
  object-fit: cover;
  object-position: 50% 50%;
}
@media (min-aspect-ratio: 2/1) {
  .sky img { object-position: 50% 35%; }
}
@media (max-aspect-ratio: 4/5) {
  .sky img { object-position: 50% 25%; }
}
@media (max-aspect-ratio: 3/5) {
  .sky img { object-position: 50% 50%; }
}

.moon-glow {
  position: absolute;
  left: var(--moon-x);
  top: var(--moon-y);
  width: calc(var(--moon-r) * 5);
  height: calc(var(--moon-r) * 5);
  margin-left: calc(var(--moon-r) * -2.5);
  margin-top: calc(var(--moon-r) * -2.5);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 236, 196, 0.5) 0%, rgba(242, 201, 135, 0.22) 32%, rgba(242, 201, 135, 0.08) 58%, rgba(242, 201, 135, 0) 100%);
  mix-blend-mode: screen;
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
  visibility: hidden;
}
/* shown once hero.js has measured the moon (no layout shift from its first move) */
.moon-glow.is-placed { visibility: visible; }
.moon-glow::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 246, 225, 0.35), rgba(255, 246, 225, 0) 100%);
  animation: breathe 7s ease-in-out -3.5s infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

.stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* The stage: a box with the design aspect that covers the hero, anchored to the bottom.
   Placements come from the assets builder's assets/work/layout.json (w = width, l = left, b = bottom, all % of the stage):
   desktop 16:9 (default), ultrawide 21:9, tablet 4:3, portrait 3:4, phone 9:19.5. */
.stage {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max(100%, 177.78vh);
  width: max(100%, 177.78svh);
  aspect-ratio: 16 / 9;
  transform: translateX(-50%);
  --tile-w: 160%;   /* fog strip = fog width + one tile */
  --tile-s: 37.5%;  /* one tile as % of the strip */
  --fog-ar: 2.849;  /* fog box aspect = 1 / (tile share x 899 / 1536) */
  --fog-op: 0.5;
}
.lyr {
  position: absolute;
  left: var(--l);
  bottom: var(--b);
  width: var(--w);
  height: auto;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
.lyr-ridge { --w: 105%; --l: -2.5%; --b: 10%; }
.lyr-theatre { --w: 20%; --l: 42%; --b: 20.5%; }
.lyr-road { --w: 112%; --l: -6%; --b: -4%; }
.lyr-dancers {
  --w: 90%; --l: 13%; --b: -5%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.fog {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: var(--fog-ar);
  overflow: hidden;
  opacity: var(--fog-op);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);
}
.fog-strip {
  position: absolute;
  top: 0; left: 0;
  width: var(--tile-w);
  height: 100%;
  background-repeat: repeat-x;
  background-size: var(--tile-s) 100%;
  animation: fogdrift 75s linear infinite;
  background-image: url("../assets/img/hero-fog-tile-1536.webp?v=1");
}
@media (max-width: 1100px) {
  .fog-strip { background-image: url("../assets/img/hero-fog-tile-1024.webp?v=1"); }
}
@media (max-width: 600px) {
  .fog-strip { background-image: url("../assets/img/hero-fog-tile-768.webp?v=1"); }
}
@keyframes fogdrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(var(--tile-s) * -1), 0, 0); }
}

@media (min-aspect-ratio: 2/1) {
  .stage { width: max(100%, 233.4vh); width: max(100%, 233.4svh); aspect-ratio: 2560 / 1097; }
  .lyr-ridge { --b: 7%; }
  .lyr-theatre { --w: 17%; --l: 43.5%; --b: 28.5%; }
  .lyr-dancers { --w: 76%; --l: 20%; }
}
@media (max-aspect-ratio: 3/2) {
  .stage {
    width: max(100%, 133.34vh); width: max(100%, 133.34svh); aspect-ratio: 4 / 3;
    --tile-w: 180%; --tile-s: 44.444%; --fog-ar: 2.136;
  }
  .lyr-ridge { --w: 130%; --l: -15%; --b: 8.5%; }
  .lyr-theatre { --w: 26%; --l: 39%; --b: 18.5%; }
  .lyr-road { --w: 135%; --l: -17.5%; --b: -3%; }
  .lyr-dancers { --w: 100%; --l: 5%; --b: -4%; }
}
@media (max-aspect-ratio: 4/5) {
  .stage {
    width: max(100%, 75vh); width: max(100%, 75svh); aspect-ratio: 3 / 4;
    --tile-w: 200%; --tile-s: 50%; --fog-ar: 1.709; --fog-op: 0.42;
  }
  .lyr-ridge { --w: 190%; --l: -45%; --b: 7%; }
  .lyr-theatre { --w: 45%; --l: 27.5%; --b: 13.5%; }
  .lyr-road { --w: 180%; --l: -40%; --b: -3%; }
  .lyr-dancers { --w: 140%; --l: -20%; --b: -3%; }
}
@media (max-aspect-ratio: 3/5) {
  .stage {
    width: max(100%, 46.16vh); width: max(100%, 46.16svh); aspect-ratio: 1080 / 2340;
    --tile-w: 220%; --tile-s: 54.545%; --fog-ar: 1.424;
  }
  .lyr-ridge { --w: 240%; --l: -70%; --b: 3%; }
  .lyr-theatre { --w: 62%; --l: 19%; --b: 10%; }
  .lyr-road { --w: 220%; --l: -60%; --b: -2%; }
  .lyr-dancers { --w: 160%; --l: -30%; --b: -3%; }
}

/* lamp and marquee flicker halos (placed in the image's own box) */
.halo-box { position: absolute; left: var(--l); bottom: var(--b); width: var(--w); pointer-events: none; }
.halo-box::before { content: ""; display: block; padding-top: 33.36%; }
.halo-box.is-theatre::before { padding-top: 75%; }
.halo {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s, 9%);
  aspect-ratio: 1;
  margin-left: calc(var(--s, 9%) / -2);
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 150, 0.42), rgba(224, 164, 88, 0.13) 45%, rgba(224, 164, 88, 0) 100%);
  animation: flicker 5.2s ease-in-out infinite;
}
.halo:nth-child(2) { animation-duration: 6.4s; animation-delay: -2s; }
.halo:nth-child(3) { animation-duration: 4.6s; animation-delay: -1s; }
.halo:nth-child(4) { animation-duration: 7.1s; animation-delay: -3s; }
.halo-marquee {
  --s: 62%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 210, 140, 0.32), rgba(224, 164, 88, 0.09) 55%, rgba(224, 164, 88, 0) 100%);
  animation: marquee 3.2s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.85; }
  8% { opacity: 0.6; }
  11% { opacity: 0.95; }
  48% { opacity: 0.75; }
  52% { opacity: 1; }
  70% { opacity: 0.7; }
}
@keyframes marquee {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* the light leak: an occasional warm burn from the upper right, not a permanent frame */
.leak {
  position: absolute;
  inset: 0 -6%;
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 2.4s ease;
  -webkit-mask-image: radial-gradient(70% 60% at 85% 10%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 85% 10%, #000 30%, transparent 75%);
}
.leak.is-loaded {
  background-image: url("../assets/img/hero-glow-1600.webp?v=1");
  opacity: 0.22;
  animation: leak 40s ease-in-out 2.4s infinite;
}
@media (max-width: 800px) {
  .leak.is-loaded { background-image: url("../assets/img/hero-glow-768.webp?v=1"); }
}
@keyframes leak {
  0% { transform: translate3d(4%, 0, 0); opacity: 0.22; }
  45% { opacity: 0.22; }
  50% { opacity: 0.4; }
  55% { opacity: 0.22; }
  100% { transform: translate3d(-4%, 0, 0); opacity: 0.22; }
}

.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(6, 11, 23, 0) 60%, rgba(6, 11, 23, 0.2) 85%, rgba(6, 11, 23, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 11, 23, 0.4) 0%, rgba(6, 11, 23, 0) 16%, rgba(6, 11, 23, 0) 78%, rgba(6, 11, 23, 0.35) 92%, var(--navy-0) 100%);
}

.cursor-glow {
  position: absolute;
  left: 0; top: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 201, 135, 0.16), rgba(184, 106, 158, 0.06) 50%, rgba(0, 0, 0, 0) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* hero copy */
.hero-copy {
  position: absolute;
  z-index: 5;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(56px, 13vh, 150px);
  max-width: 720px;
  will-change: transform, opacity;
}
/* a tight scrim behind the words only: the lit half of the scene stays visible */
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40px -60px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(6, 11, 23, 0.55), rgba(6, 11, 23, 0.25) 60%, rgba(6, 11, 23, 0) 100%);
}
@media (min-width: 1100px) {
  .hero-copy { left: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--amber-hi);
  font-size: clamp(10.5px, 1.05vw, 13px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
}
.eyebrow .eb-date { display: block; margin-top: 6px; }
.title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.86;
  color: var(--cream);
  text-shadow: 0 0 34px rgba(242, 201, 135, 0.28), 0 2px 40px rgba(0, 0, 0, 0.65);
}
.title .t1 {
  display: block;
  font-family: var(--display);
  font-size: clamp(76px, 13.5vw, 196px);
  letter-spacing: -0.015em;
  /* fonts-1006: background-clip:text paints only inside this box, and line-height 0.86 ended it above the tail of
     the y in Brygada (as on james.com, fix-1005): the padding gives the glyphs room, the negative margins cancel it
     (nothing moves), the gradient keeps its old stops over the old box. background-image, not the shorthand (the
     shorthand would reset background-clip). */
  padding: 0 0 0.2em 0.1em;
  margin: 0 0 -0.2em -0.1em;
  background-image: linear-gradient(180deg, #fff8e8 0, var(--cream) calc((100% - 0.2em) * 0.46), #e6c88f calc(100% - 0.2em));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(242, 201, 135, 0.3)) drop-shadow(0 3px 18px rgba(0, 0, 0, 0.55));
}
.title .t-dash {
  display: inline-block;
  width: clamp(28px, 4vw, 64px);
  height: 1px;
  margin: 0 14px 0 4px;
  vertical-align: 0.32em;
  background: linear-gradient(90deg, rgba(242, 201, 135, 0), var(--amber-hi));
  overflow: hidden;
  color: transparent;
  font-size: 0;
}
.title .t2 {
  display: inline-block;
  margin-top: 14px; /* fonts-1006: 6 -> 14 px, so the longer tail of Brygada's y in "Safety" clears this line */
  font-size: clamp(28px, 4.2vw, 60px);
  font-style: italic;
  font-weight: 400; /* fonts-1006: Brygada's italic is darker than Cormorant's at 500 */
  color: var(--amber-hi);
  letter-spacing: 0.01em;
}
.hero-line {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.3;
  color: var(--cream);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.9);
}
.rotator {
  position: relative;
  height: 1.6em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.95);
}
.rotator span {
  position: absolute;
  left: 0; top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
}
.rotator span.is-on { opacity: 1; transform: none; }
@media (max-width: 520px) {
  .rotator { height: 3.2em; }
  .rotator span { white-space: normal; right: 0; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: #1b1206;
  background: linear-gradient(180deg, #f6d79f 0%, var(--amber) 55%, #c98a3f 100%);
  box-shadow: 0 10px 30px -8px rgba(224, 164, 88, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover { color: #1b1206; transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(224, 164, 88, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost {
  color: var(--cream);
  border-color: rgba(243, 233, 210, 0.42);
  background: rgba(6, 11, 23, 0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { color: var(--navy); background: var(--cream); border-color: var(--cream); }
.btn-outline {
  color: var(--amber-hi);
  border-color: rgba(242, 201, 135, 0.5);
  background: transparent;
}
.btn-outline:hover { color: var(--navy); background: var(--amber-hi); border-color: var(--amber-hi); }
.btn[disabled], .btn.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.btn-pulse::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid rgba(242, 201, 135, 0.75);
  animation: pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.btn-pulse::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid rgba(242, 201, 135, 0.5);
  animation: pulse 2.4s ease-out 1.2s infinite;
  pointer-events: none;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.14, 1.5); opacity: 0; }
}
.btn svg { width: 16px; height: 16px; flex: none; }

.scroll-cue {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  width: 1px;
  height: 46px;
  overflow: hidden;
  transform: translateX(-50%);
  background: rgba(243, 233, 210, 0.15);
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 1px;
  height: 18px;
  background: var(--amber-hi);
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue {
  from { transform: translate3d(0, -20px, 0); }
  to { transform: translate3d(0, 48px, 0); }
}

/* countdown under the moon (hero.js sets left/top/--cd-scale from the moon and the copy) */
.countdown {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: clamp(84px, 42vh, 460px);
  transform: translateX(-50%) scale(var(--cd-scale, 1));
  transform-origin: 50% 0;
  width: max-content;
  max-width: min(92vw, 640px);
  text-align: center;
  visibility: hidden;
  animation: cd-reveal 0s linear 2.5s forwards; /* shown even if the scene script never runs */
}
.countdown.is-placed, .no-js .countdown { visibility: visible; }
@keyframes cd-reveal { to { visibility: visible; } }
.countdown-kicker {
  margin: 0 0 14px;
  color: var(--amber-hi);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
}
.clock {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.6vw, 18px);
}
.unit { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.unit-label {
  color: var(--cream);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}
.digits { display: flex; gap: 4px; }
.flip {
  --fw: clamp(34px, 5.4vw, 66px);
  --fh: calc(var(--fw) * 1.42);
  position: relative;
  width: var(--fw);
  height: var(--fh);
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(var(--fh) * 0.82);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: var(--fh);
  color: var(--cream);
  perspective: 300px;
  text-shadow: 0 0 24px rgba(242, 201, 135, 0.45);
}
.flip > span {
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(26, 42, 74, 0.78), rgba(11, 20, 38, 0.82));
  border: 1px solid rgba(242, 201, 135, 0.16);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip > span > b {
  display: block;
  height: var(--fh);
  font-weight: 600;
  text-align: center;
}
.flip .f-top, .flip .f-flap-top {
  top: 0;
  border-radius: 8px 8px 0 0;
  border-bottom: 0;
}
.flip .f-bot, .flip .f-flap-bot {
  bottom: 0;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(180deg, rgba(14, 24, 45, 0.85), rgba(8, 14, 28, 0.88));
}
.flip .f-bot > b, .flip .f-flap-bot > b { margin-top: calc(var(--fh) / -2); }
.flip .f-flap-top { transform-origin: 50% 100%; z-index: 3; visibility: hidden; }
.flip .f-flap-bot { transform-origin: 50% 0%; z-index: 3; visibility: hidden; transform: rotateX(90deg); }
.flip.is-flipping .f-flap-top { visibility: visible; animation: flapTop 0.32s ease-in forwards; }
.flip.is-flipping .f-flap-bot { visibility: visible; animation: flapBot 0.32s ease-out 0.3s forwards; }
@keyframes flapTop { from { transform: rotateX(0deg); } to { transform: rotateX(-90deg); } }
@keyframes flapBot { from { transform: rotateX(90deg); } to { transform: rotateX(0deg); } }
/* the split line is the bottom half's top border: it runs BEHIND the glyph, never through it */
.flip::after { content: none; }
.flip > span { z-index: 2; }
.flip .f-top, .flip .f-bot { z-index: 0; }
/* transparent: the moon above it and the night around it stay visible */
.clock-glass {
  display: inline-block;
  padding: 0;
  background: none;
  border: 0;
}
.countdown-sub {
  margin: 16px auto 0;
  max-width: 44ch;
  text-wrap: balance;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.3;
  color: var(--cream);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.95);
}
.countdown-now {
  margin: 14px 0 0;
  color: var(--amber-hi);
  font-weight: 600;
}
body[data-mode="countdown"] .hero-copy { bottom: clamp(40px, 9vh, 110px); }
body[data-mode="countdown"] .title .t1 { font-size: clamp(64px, 10vw, 150px); }
@media (max-aspect-ratio: 4/5) {
  body[data-mode="countdown"] .title .t1 { font-size: clamp(54px, 15vw, 96px); }
  body[data-mode="countdown"] .hero-line { display: none; }
}
@media (max-height: 640px) and (max-aspect-ratio: 4/5) {
  body[data-mode="countdown"] .rotator { display: none; }
}

/* portrait (phones and tall tablets): the copy sits in the open sky between the moon and the theatre,
   so the theatre, the lamps and the dancers stay visible below it */
@media (max-aspect-ratio: 4/5) {
  .hero-copy::before { inset: -30px -40px; }
  .vignette {
    background:
      radial-gradient(130% 80% at 50% 40%, rgba(6, 11, 23, 0) 60%, rgba(6, 11, 23, 0.45) 100%),
      linear-gradient(180deg, rgba(6, 11, 23, 0.45) 0%, rgba(6, 11, 23, 0) 14%, rgba(6, 11, 23, 0) 84%, rgba(6, 11, 23, 0.75) 97%, var(--navy-0) 100%);
  }
  .hero-copy { top: 39vh; top: 39svh; bottom: auto; }
  .hero-copy .eyebrow { margin-bottom: 10px; }
  .title .t1 { font-size: clamp(60px, 18vw, 96px); }
  .title .t2 { font-size: clamp(26px, 7.4vw, 40px); }
  .hero-line { margin-top: 12px; font-size: clamp(19px, 5.2vw, 24px); }
  .rotator { display: none; }
  .hero-actions { margin-top: 18px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: 12px 14px; }
  body[data-mode="countdown"] .hero-copy { top: 61vh; top: 61svh; }
  body[data-mode="countdown"] .eyebrow { display: none; }
  #hero-cd .btn-primary { flex-basis: 100%; }
  .unit-label { letter-spacing: 0.14em; font-size: 9.5px; }
}
@media (max-aspect-ratio: 4/5) and (max-height: 700px) {
  .hero-copy { top: 33vh; top: 33svh; }
  .title .t1 { font-size: clamp(52px, 15vw, 80px); }
}

/* ---------- sections ---------- */
main { position: relative; z-index: 2; background: var(--navy-0); }
.section {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0;
}
.section + .section { padding-top: clamp(24px, 4vw, 56px); }
.kicker {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.h2 em { color: var(--amber-hi); }
.lede { margin: 0; max-width: 62ch; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); }

.reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* the seam from the hero into the page */
.seam {
  position: relative;
  z-index: 3;
  height: 140px;
  margin-top: -140px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 11, 23, 0) 0%, var(--navy-0) 92%);
}

/* trailer */
.trailer-frame {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 34px;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(243, 233, 210, 0.1);
  background: var(--navy-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(242, 201, 135, 0.05), 0 0 80px -30px rgba(224, 164, 88, 0.35);
  text-align: left;
}
.trailer-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.6s var(--ease-out), filter 1s;
  filter: saturate(0.95) brightness(0.92);
}
.trailer-frame:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.trailer-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 70% at 50% 50%, rgba(6, 11, 23, 0) 40%, rgba(6, 11, 23, 0.65) 100%);
}
.play {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  width: clamp(72px, 9vw, 104px);
  height: clamp(72px, 9vw, 104px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(6, 11, 23, 0.35);
  border: 1.5px solid rgba(243, 233, 210, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 10px rgba(243, 233, 210, 0.06), 0 0 60px rgba(242, 201, 135, 0.35);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.play svg { width: 32%; height: 32%; margin-left: 6%; fill: var(--cream); }
.trailer-frame:hover .play { transform: translate(-50%, -50%) scale(1.08); background: rgba(224, 164, 88, 0.85); }
.trailer-frame:hover .play svg { fill: var(--navy); }
.trailer-tag {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(16px, 4%, 32px);
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(6, 11, 23, 0.6);
  border: 1px solid rgba(242, 201, 135, 0.3);
  color: var(--amber-hi);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trailer-frame.is-soon { cursor: default; }
.trailer-frame.is-soon .play { opacity: 0.55; }
.trailer-frame.is-soon:hover .play { transform: translate(-50%, -50%); background: rgba(6, 11, 23, 0.35); }
.trailer-frame.is-soon:hover .play svg { fill: var(--cream); }

/* the show */
.show-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.about-text p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 17.5px);
}
.about-text p:first-of-type {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.42;
}
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; padding: 0; list-style: none; }
.facts li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  background: rgba(16, 27, 51, 0.5);
}
.cards { display: grid; gap: 14px; }
.card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 22px 22px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--card-hi), var(--card));
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--amber);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: 0 24px 60px -30px rgba(224, 164, 88, 0.35); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 201, 135, 0.45);
  color: var(--amber-hi);
  background: radial-gradient(circle at 50% 35%, rgba(242, 201, 135, 0.16), rgba(242, 201, 135, 0));
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 {
  margin: 2px 0 4px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
}
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) {
  .show-grid { grid-template-columns: 1fr; }
}

/* tour */
.tour-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px 40px;
  margin-bottom: 30px;
}
.tour-legend { margin: 0; color: var(--muted-2); font-size: 13px; }
.shows { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.show {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(170px, auto) 176px;
  align-items: center;
  gap: 18px 22px;
  padding: 16px 20px 16px 16px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(26, 42, 74, 0.55), rgba(16, 27, 51, 0.55) 45%, rgba(11, 20, 38, 0.6));
  border: 1px solid var(--line-2);
  transition: border-color 0.35s, box-shadow 0.45s, transform 0.45s var(--ease-out), background-color 0.35s;
}
.show::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(60% 120% at 0% 50%, rgba(242, 201, 135, 0.08), rgba(242, 201, 135, 0) 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.show:hover { border-color: rgba(242, 201, 135, 0.3); box-shadow: 0 20px 60px -34px rgba(224, 164, 88, 0.5); }
.show:hover::before { opacity: 1; }
.date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
  text-align: center;
  line-height: 1.1;
}
.date .wd { color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.date .md { margin-top: 4px; font-family: var(--serif); font-size: 27px; font-weight: 600; color: var(--cream); white-space: nowrap; }
.date .yr { margin-top: 3px; color: var(--muted-2); font-size: 11px; letter-spacing: 0.16em; }
.date.is-tba .md { font-size: 21px; font-style: italic; color: var(--amber-hi); }
.where { min-width: 0; }
.city {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--cream);
}
.venue { margin: 3px 0 0; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.meta { margin: 3px 0 0; color: var(--muted-2); font-size: 12.5px; letter-spacing: 0.02em; }
.meta .sep { margin: 0 2px; opacity: 0.6; }
.price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}
.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--amber-hi);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}
.price-badge small {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: rgba(6, 11, 23, 0.35);
}
.pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted-2);
}
.pill.is-hot { border-color: rgba(242, 201, 135, 0.6); color: var(--amber-hi); }
.pill.is-hot::before { background: var(--amber); box-shadow: 0 0 0 0 rgba(224, 164, 88, 0.7); animation: dot 1.8s ease-out infinite; }
.pill.is-ok::before { background: var(--ok); }
.pill.is-next { color: var(--muted); }
.pill.is-soon { border-color: rgba(242, 201, 135, 0.45); color: var(--amber-hi); }
.pill.is-soon::before { background: var(--amber); }
.pill.is-next::before { background: var(--gold); }
.pill.is-off { color: var(--muted-2); }
@keyframes dot {
  0% { box-shadow: 0 0 0 0 rgba(224, 164, 88, 0.7); }
  100% { box-shadow: 0 0 0 9px rgba(224, 164, 88, 0); }
}
.tax-note { color: var(--muted-2); font-size: 11px; }
.act { display: flex; justify-content: flex-end; }
.act .btn { width: 100%; }
.state-label { color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; }
.show.is-dim { background: rgba(11, 20, 38, 0.45); }
.seat-tag { color: var(--muted); }
.meta .nw { white-space: nowrap; }
.show.is-dim .city, .show.is-dim .date .md { color: rgba(243, 233, 210, 0.72); }
.show.is-sold_out .price-badge, .show.is-cancelled .price-badge { text-decoration: line-through; opacity: 0.5; }
.show.is-cancelled .city { text-decoration: line-through; }
.show .note { margin: 6px 0 0; color: var(--muted-2); font-size: 12px; font-style: italic; }

/* phones: a compact card - date | venue + price | a pill-size action */
@media (max-width: 860px) {
  .show {
    grid-template-columns: 66px minmax(0, 1fr) auto;
    grid-template-areas: "date where act" "date price act";
    align-items: center;
    gap: 6px 14px;
    padding: 14px 14px 14px 12px;
  }
  .date { grid-area: date; padding-right: 12px; min-height: 60px; align-self: stretch; }
  .date .md { font-size: 21px; }
  .where { grid-area: where; }
  .city { font-size: 21px; }
  .venue { font-size: 13.5px; }
  .meta { font-size: 12px; }
  .price {
    grid-area: price;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 4px 10px;
    text-align: left;
  }
  .price-badge { font-size: 22px; }
  .act { grid-area: act; align-self: center; }
  .act .btn { width: auto; min-height: 44px; padding: 10px 16px; font-size: 13.5px; }
  .act .btn svg { display: none; }
  .act:empty { display: none; }
}
@media (max-width: 380px) {
  .show { grid-template-columns: 58px minmax(0, 1fr); grid-template-areas: "date where" "date price" "act act"; }
  .act .btn { width: 100%; }
}

/* notify band */
.notify {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) 0;
  isolation: isolate;
  background: radial-gradient(70% 60% at 50% 0%, rgba(26, 42, 74, 0.9), rgba(6, 11, 23, 0) 70%), var(--navy-0);
}
.notify-moon {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: -18%;
  width: min(70vw, 620px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(255, 246, 225, 0.55), rgba(243, 233, 210, 0.3) 40%, rgba(200, 161, 101, 0.12) 64%, rgba(200, 161, 101, 0) 72%);
  filter: blur(2px);
  animation: breathe 9s ease-in-out infinite;
}
.notify-road {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -14%;
  width: max(110%, 900px);
  transform: translateX(-50%);
  opacity: 0.55;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
}
.notify::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 23, 0.2) 0%, rgba(6, 11, 23, 0.55) 60%, rgba(6, 11, 23, 0.9) 100%);
}
.notify-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 26px;
  background: rgba(8, 14, 28, 0.66);
  border: 1px solid rgba(243, 233, 210, 0.1);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.95), 0 0 90px -40px rgba(224, 164, 88, 0.35);
  text-align: center;
}
.notify-card .h2 { font-size: clamp(32px, 4.4vw, 56px); }
.notify-card .lede { margin: 0 auto 26px; }
.form { display: grid; gap: 14px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.input, .select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(243, 233, 210, 0.18);
  background: rgba(6, 11, 23, 0.6);
  color: var(--cream);
  font-size: 17px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.input::placeholder { color: rgba(170, 178, 197, 0.6); }
.input:focus, .select:focus { outline: none; border-color: var(--amber-hi); box-shadow: 0 0 0 4px rgba(242, 201, 135, 0.16); }
.input[aria-invalid="true"] { border-color: var(--bad); }
.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--amber-hi) 50%), linear-gradient(135deg, var(--amber-hi) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.select option { background: var(--navy-2); color: var(--cream); }
.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(6, 11, 23, 0.4);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  cursor: pointer;
}
.consent input {
  width: 22px; height: 22px;
  margin: 1px 0 0;
  accent-color: var(--amber);
  cursor: pointer;
}
.consent em { color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.form-actions .btn { min-width: 200px; }
@media (max-width: 620px) { .form-actions .btn { width: 100%; } }
.form-msg { min-height: 1.5em; margin: 0; font-size: 14px; font-weight: 500; }
.form-msg.is-bad { color: var(--bad); }
.form-msg.is-ok { color: var(--ok); }
.form-msg.is-info { color: var(--amber-hi); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.signup-closed {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(242, 201, 135, 0.35);
  color: var(--amber-hi);
  font-size: 14px;
  text-align: center;
}
.success {
  padding: 28px 10px 6px;
  text-align: center;
}
.success-moon {
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #fffaf0 0%, var(--cream) 46%, #d6bf93 100%);
  box-shadow: 0 0 40px rgba(243, 233, 210, 0.6), 0 0 120px rgba(242, 201, 135, 0.35);
  animation: rise 1.4s var(--ease-out) both;
}
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 30px, 0) scale(0.8); }
  to { opacity: 1; transform: none; }
}
.success h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--cream); }
.success p { margin: 0 auto; max-width: 44ch; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line-2);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 600;
  color: var(--cream);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--amber-hi);
  font-family: var(--sans);
  font-size: 18px;
  transition: transform 0.35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 70ch; color: var(--muted); }

/* footer */
.footer {
  position: relative;
  z-index: 2;
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-2);
  background: var(--navy-0);
  color: var(--muted-2);
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--cream);
}
.footer h3 {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.footer p { margin: 0 0 6px; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: 0; }
.footer li a, .linkish { display: inline-block; padding: 10px 0; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--amber-hi); text-decoration: underline; }
.linkish {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: inherit;
  text-align: left;
}
.linkish:hover { color: var(--amber-hi); text-decoration: underline; }
.privacy-choices { display: inline-flex; align-items: center; gap: 8px; }
.ccpa-icon { width: 30px; height: 14px; flex: none; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--cream);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.socials a:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); text-decoration: none; }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.fineprint { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted-2); }

/* ---------- dialogs ---------- */
.dlg {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid rgba(243, 233, 210, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 33, 60, 0.98), rgba(9, 15, 30, 0.98));
  color: var(--ink);
  box-shadow: 0 60px 160px -40px rgba(0, 0, 0, 0.95), 0 0 100px -40px rgba(224, 164, 88, 0.45);
  overflow: auto;
}
.dlg::backdrop {
  background: rgba(4, 8, 18, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dlg[open] { animation: dlgIn 0.45s var(--ease-out); }
@keyframes dlgIn {
  from { opacity: 0; transform: translate3d(0, 24px, 0) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.dlg-x {
  position: absolute;
  right: 14px; top: 14px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(6, 11, 23, 0.5);
  color: var(--cream);
  font-size: 22px;
  line-height: 1;
}
.dlg-x:hover { background: var(--cream); color: var(--navy); }
.dlg-body { position: relative; padding: 30px clamp(20px, 4vw, 34px) 28px; }
.dlg-kicker { margin: 0 0 6px; color: var(--amber); font-size: 11.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.dlg h2 { margin: 0 44px 4px 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 38px); font-weight: 600; line-height: 1.05; color: var(--cream); }
.dlg-sub { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(6, 11, 23, 0.45);
}
.qty-label { font-weight: 600; color: var(--cream); }
.qty-label small { display: block; color: var(--muted-2); font-weight: 500; font-size: 12.5px; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(26, 42, 74, 0.6);
  color: var(--amber-hi);
  font-size: 22px;
  line-height: 1;
}
.stepper button:hover:not([disabled]) { background: var(--amber); color: var(--navy); }
.stepper button[disabled] { opacity: 0.35; cursor: not-allowed; }
.stepper output {
  min-width: 46px;
  text-align: center;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--cream);
}
.lines { margin: 18px 0 0; padding: 0; list-style: none; }
.lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 2px;
  color: var(--muted);
  font-size: 14px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
  padding: 14px 2px 0;
  border-top: 1px solid var(--line-2);
}
.total-row span { color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.total-row strong { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--amber-hi); }
.dlg-note { margin: 8px 0 0; color: var(--muted-2); font-size: 12px; }
.dlg-actions { margin-top: 20px; display: grid; gap: 10px; }
.dlg-actions .btn { width: 100%; min-height: 54px; font-size: 15px; }
.dlg-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: var(--amber-hi); }
.dlg-msg.is-bad { color: var(--bad); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; color: var(--muted-2); font-size: 12px; }
.secure svg { width: 14px; height: 14px; fill: currentColor; }
.spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(27, 18, 6, 0.3);
  border-top-color: #1b1206;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.dlg-video {
  width: min(1100px, calc(100vw - 24px));
  background: #000;
  border-radius: 18px;
}
.video-box { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-box iframe, .video-box video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dlg-video .dlg-x { z-index: 3; }

/* toast */
.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(9, 15, 30, 0.95);
  color: var(--cream);
  font-size: 14px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.9);
  transform: translate3d(-50%, calc(100% + 40px), 0);
  visibility: hidden;
  transition: transform 0.5s var(--ease-out), visibility 0s 0.5s;
}
.toast.is-on { transform: translate3d(-50%, 0, 0); visibility: visible; transition: transform 0.5s var(--ease-out); }

/* ---------- tickets block (right under the trailer) ---------- */
.tickets { position: relative; }
.tickets .anchor { position: absolute; top: 0; }
.tickets .tour-head { margin-bottom: 22px; }
.tix-cd {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  margin: 0 0 28px;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 26px;
  border: 1px solid var(--line);
  background: radial-gradient(80% 120% at 0% 0%, rgba(26, 42, 74, 0.85), rgba(11, 20, 38, 0.6) 60%, rgba(6, 11, 23, 0.4));
}
.tix-clock { text-align: center; }
.tix-cd-kicker {
  margin: 0 0 14px;
  color: var(--amber-hi);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.tix-cd .flip { --fw: clamp(30px, 4.2vw, 50px); }
.tix-cd-sub {
  margin: 16px auto 0;
  max-width: 34ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.3;
  color: var(--cream);
}
.tix-cd .notify-card, .tix-live-form .notify-card { max-width: none; margin: 0; box-shadow: none; }
.tix-cd .notify-card { padding: clamp(18px, 3vw, 28px); text-align: left; }
.tix-cd .notify-card .lede { margin: 0 0 18px; }
.notify-h {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--cream);
}
.tix-live-form { margin-top: 30px; }
.tix-live-form .notify-card { max-width: 760px; margin: 0 auto; }
@media (max-width: 900px) {
  .tix-cd { grid-template-columns: 1fr; }
}
.perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.perk {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(242, 201, 135, 0.28);
  background: linear-gradient(120deg, rgba(224, 164, 88, 0.12), rgba(16, 27, 51, 0.6) 55%);
}
.perk-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(224, 164, 88, 0.16);
  color: var(--amber-hi);
}
.perk-icon svg { width: 22px; height: 22px; }
.perk h3 { margin: 0 0 2px; font-size: 15px; font-weight: 700; color: var(--cream); letter-spacing: 0.01em; }
.perk p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.merch-code { color: var(--amber-hi); letter-spacing: 0.06em; }
@media (max-width: 700px) { .perks { grid-template-columns: 1fr; } }
.tix-filter { margin: 0 0 16px; }
.tix-filter label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tix-filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tix-filter-row .select { flex: 1 1 260px; max-width: 420px; min-height: 48px; }
.tix-filter-row .btn { min-height: 48px; }
.js .nojs-only { display: none !important; }
.no-js .js-only { display: none !important; }
.tix-filter-note { min-height: 1.2em; margin: 8px 0 0; color: var(--muted-2); font-size: 13px; }
.btn-get { letter-spacing: 0.04em; }
.btn-locked { color: var(--muted); border-color: rgba(243, 233, 210, 0.2); }
.btn-locked[disabled] { opacity: 0.8; }
.shows .show[hidden] { display: none !important; }
.form-row.is-one { grid-template-columns: 1fr; }
.tickets .tix-cd { margin-bottom: clamp(36px, 6vw, 64px); }
.tickets .perks { margin: 22px 0 0; }

/* ---------- the city dropdown (a listbox; each city with its picture) ---------- */
.cpick { position: relative; z-index: 6; margin: 0 0 18px; }
.cpick-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cpick-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.cpick-box { position: relative; flex: 1 1 340px; max-width: 480px; }
.cpick-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 66px;
  padding: 10px 56px 10px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242, 201, 135, 0.34);
  background: linear-gradient(100deg, rgba(26, 42, 74, 0.82), rgba(11, 20, 38, 0.82));
  box-shadow: 0 22px 60px -34px rgba(224, 164, 88, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.cpick-btn:hover { border-color: rgba(242, 201, 135, 0.62); }
.cpick-btn:focus-visible { outline: none; border-color: var(--amber-hi); box-shadow: 0 0 0 4px rgba(242, 201, 135, 0.2); }
.cpick.is-open .cpick-btn { border-color: var(--amber-hi); box-shadow: 0 0 0 4px rgba(242, 201, 135, 0.14), 0 22px 60px -34px rgba(224, 164, 88, 0.7); }
.cpick-btn .cimg { width: 46px; height: 46px; }
.cpick-btn-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.12; }
.cpick-btn-name {
  overflow: hidden;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cpick-btn-sub { margin-top: 3px; color: var(--muted); font-size: 12px; letter-spacing: 0.06em; }
.cpick.has-city .cpick-btn-sub { color: var(--amber-hi); }
.cpick-chev {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--amber-hi);
  border-bottom: 2px solid var(--amber-hi);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}
.cpick.is-open .cpick-chev { transform: translateY(-25%) rotate(-135deg); }
.cpick-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  margin: 0;
  padding: 8px;
  list-style: none;
  max-height: min(452px, 62vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 24px;
  border: 1px solid rgba(242, 201, 135, 0.3);
  background: rgba(8, 14, 28, 0.95);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 44px 100px -34px rgba(0, 0, 0, 0.95), 0 0 80px -44px rgba(224, 164, 88, 0.55);
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 201, 135, 0.4) transparent;
  animation: cpick-in 0.22s var(--ease-out);
}
.cpick-list:focus { outline: none; }
@keyframes cpick-in {
  from { opacity: 0; transform: translate3d(0, -8px, 0) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.cpick-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 7px 14px 7px 8px;
  border-radius: 16px;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s;
}
.cpick-opt .cimg { width: 42px; height: 42px; }
.cpick-opt.is-active { background: rgba(242, 201, 135, 0.12); }
.cpick-list:focus-visible .cpick-opt.is-active { box-shadow: inset 0 0 0 1px rgba(242, 201, 135, 0.6); }
.cpick-o-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.18; }
.cpick-o-name { color: var(--cream); font-family: var(--serif); font-size: 21px; font-weight: 600; }
.cpick-o-sub { color: var(--muted-2); font-size: 12px; letter-spacing: 0.04em; }
.cpick-opt[aria-selected="true"] .cpick-o-name { color: var(--amber-hi); }
.cpick-opt[aria-selected="true"]::after {
  content: "";
  flex: none;
  width: 12px;
  height: 7px;
  margin-left: auto;
  border-left: 2px solid var(--amber-hi);
  border-bottom: 2px solid var(--amber-hi);
  transform: translateY(-2px) rotate(-45deg);
}
.cpick-opt[aria-selected="true"] .cimg { box-shadow: 0 0 0 2px var(--amber-hi), 0 6px 18px -8px rgba(0, 0, 0, 0.9); }
.cpick-clear { min-height: 48px; }
@media (max-width: 620px) {
  .cpick-box { flex-basis: 100%; max-width: none; }
  .cpick-btn { min-height: 62px; }
  .cpick-btn-name { font-size: 23px; }
  .cpick-list { max-height: min(430px, 58vh); }
}
@media (prefers-reduced-motion: reduce) {
  .cpick-list { animation: none; }
}

/* cities:begin (generated by tests/gen_city_css.py; the same block is in buy.css) */
.cimg {
  display: inline-block;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1a2a4a;
  background-image: radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(242, 201, 135, 0.4), 0 6px 18px -8px rgba(0, 0, 0, 0.9);
}
.ci-all {
  background-image: url("../assets/cities/all.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/all.webp?v=1") 1x, url("../assets/cities/all@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/all.webp?v=1") 1x, url("../assets/cities/all@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-albuquerque {
  background-image: url("../assets/cities/albuquerque.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/albuquerque.webp?v=1") 1x, url("../assets/cities/albuquerque@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/albuquerque.webp?v=1") 1x, url("../assets/cities/albuquerque@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-atlanta {
  background-image: url("../assets/cities/atlanta.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/atlanta.webp?v=1") 1x, url("../assets/cities/atlanta@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/atlanta.webp?v=1") 1x, url("../assets/cities/atlanta@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-austin {
  background-image: url("../assets/cities/austin.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/austin.webp?v=1") 1x, url("../assets/cities/austin@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/austin.webp?v=1") 1x, url("../assets/cities/austin@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-baltimore {
  background-image: url("../assets/cities/baltimore.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/baltimore.webp?v=1") 1x, url("../assets/cities/baltimore@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/baltimore.webp?v=1") 1x, url("../assets/cities/baltimore@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-boston {
  background-image: url("../assets/cities/boston.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/boston.webp?v=1") 1x, url("../assets/cities/boston@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/boston.webp?v=1") 1x, url("../assets/cities/boston@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-chicago {
  background-image: url("../assets/cities/chicago.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/chicago.webp?v=1") 1x, url("../assets/cities/chicago@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/chicago.webp?v=1") 1x, url("../assets/cities/chicago@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-cleveland {
  background-image: url("../assets/cities/cleveland.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/cleveland.webp?v=1") 1x, url("../assets/cities/cleveland@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/cleveland.webp?v=1") 1x, url("../assets/cities/cleveland@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-los-angeles {
  background-image: url("../assets/cities/los-angeles.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/los-angeles.webp?v=1") 1x, url("../assets/cities/los-angeles@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/los-angeles.webp?v=1") 1x, url("../assets/cities/los-angeles@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-new-orleans {
  background-image: url("../assets/cities/new-orleans.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/new-orleans.webp?v=1") 1x, url("../assets/cities/new-orleans@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/new-orleans.webp?v=1") 1x, url("../assets/cities/new-orleans@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-new-york {
  background-image: url("../assets/cities/new-york.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/new-york.webp?v=1") 1x, url("../assets/cities/new-york@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/new-york.webp?v=1") 1x, url("../assets/cities/new-york@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-philadelphia {
  background-image: url("../assets/cities/philadelphia.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/philadelphia.webp?v=1") 1x, url("../assets/cities/philadelphia@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/philadelphia.webp?v=1") 1x, url("../assets/cities/philadelphia@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-portland {
  background-image: url("../assets/cities/portland.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/portland.webp?v=1") 1x, url("../assets/cities/portland@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/portland.webp?v=1") 1x, url("../assets/cities/portland@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-raleigh {
  background-image: url("../assets/cities/raleigh.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/raleigh.webp?v=1") 1x, url("../assets/cities/raleigh@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/raleigh.webp?v=1") 1x, url("../assets/cities/raleigh@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-richmond {
  background-image: url("../assets/cities/richmond.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/richmond.webp?v=1") 1x, url("../assets/cities/richmond@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/richmond.webp?v=1") 1x, url("../assets/cities/richmond@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-sacramento {
  background-image: url("../assets/cities/sacramento.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/sacramento.webp?v=1") 1x, url("../assets/cities/sacramento@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/sacramento.webp?v=1") 1x, url("../assets/cities/sacramento@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-san-francisco {
  background-image: url("../assets/cities/san-francisco.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/san-francisco.webp?v=1") 1x, url("../assets/cities/san-francisco@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/san-francisco.webp?v=1") 1x, url("../assets/cities/san-francisco@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-seattle {
  background-image: url("../assets/cities/seattle.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/seattle.webp?v=1") 1x, url("../assets/cities/seattle@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/seattle.webp?v=1") 1x, url("../assets/cities/seattle@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
.ci-virginia-beach {
  background-image: url("../assets/cities/virginia-beach.webp?v=1"), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: -webkit-image-set(url("../assets/cities/virginia-beach.webp?v=1") 1x, url("../assets/cities/virginia-beach@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
  background-image: image-set(url("../assets/cities/virginia-beach.webp?v=1") 1x, url("../assets/cities/virginia-beach@2x.webp?v=1") 2x), radial-gradient(circle at 34% 30%, #fff6e0 0%, #ecdcb6 13%, rgba(200, 161, 101, 0.55) 29%, rgba(26, 42, 74, 0.96) 60%, #0b1426 100%);
}
/* cities:end */

/* ---------- round 2b: selling to ad visitors (conversion review 2026-10-05) ---------- */
/* the list sits close under the trailer */
#trailer { padding-bottom: clamp(16px, 3vw, 40px); }
.tour-legend .lg-short { display: none; }
@media (max-width: 620px) {
  .tour-legend .lg-long { display: none; }
  .tour-legend .lg-short { display: inline; }
  .tickets .tour-head { margin-bottom: 14px; gap: 6px 20px; }
}
/* the perks sit above the city dropdown, so they are seen before Get Tickets; a compact strip on phones */
.tickets .perks { margin: 0 0 18px; }
@media (max-width: 860px) {
  .tickets .perks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tickets .perk { align-items: center; gap: 10px; padding: 10px 12px; }
  .tickets .perk p { display: none; }
  .tickets .perk h3 { margin: 0; font-size: 13px; line-height: 1.3; }
  .tickets .perk-icon { width: 32px; height: 32px; border-radius: 10px; }
  .tickets .perk-icon svg { width: 18px; height: 18px; }
}
/* phones: the city and venue use the full width; price, pill and Get Tickets share the bottom line */
@media (max-width: 560px) {
  .show { grid-template-columns: 58px minmax(0, 1fr) auto; grid-template-areas: "date where where" "date price act"; gap: 6px 12px; }
  .date { padding-right: 10px; }
  .act { align-self: end; }
}
@media (max-width: 380px) {
  .show { grid-template-columns: 58px minmax(0, 1fr); grid-template-areas: "date where" "date price" "act act"; }
  .act { align-self: center; }
}
/* the hero lines: the outgoing one fades out before the next fades in (never two on top of each other) */
.rotator span { transition: opacity 0.45s ease, transform 0.45s var(--ease-out); }
.rotator span.is-on { transition-delay: 0.45s; }
/* "Notify me" pressed without the tick: the box is outlined for a moment */
.consent.is-missing { outline: 2px solid var(--amber-hi); outline-offset: 2px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .hero.is-pinned { height: 100vh; height: 100svh; }
  .grain { animation: none; }
  .leak.is-loaded { animation: none; }
  .fog-strip { animation: none; }
  .moon-glow, .moon-glow::after { animation: none; opacity: 0.8; }
  .reveal { opacity: 1; transform: none; }
  .btn-pulse::before, .btn-pulse::after { display: none; }
  .cursor-glow { display: none; }
  .rotator span { transition: none; }
  .scroll-cue::after { animation: none; }
}

/* ---------- "Your tickets" (a returning buyer; js/app.js shows it only when tickets_mine finds a paid order; the
   link carries no key, TICKETS-DESIGN.md C.1) ---------- */
.nav .nav-mine.has-tix { color: var(--amber-hi); opacity: 1; font-weight: 600; }
.mytix {
  position: fixed;
  z-index: 65;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6d79f 0%, var(--amber) 60%, #c98a3f 100%);
  color: #1b1206;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 236, 200, 0.4) inset;
}
.mytix:hover { color: #1b1206; filter: brightness(1.05); }
.mytix[hidden] { display: none !important; }
.mytix-ic { flex: none; width: 18px; height: 13px; border: 2px solid currentColor; border-radius: 3px; position: relative; }
.mytix-ic::after { content: ""; position: absolute; top: 1px; bottom: 1px; left: 10px; border-left: 2px dotted currentColor; }
@media (max-width: 600px) {
  .mytix { left: 16px; right: 16px; justify-content: center; }
}
