:root {
  color-scheme: dark;
  --ink: #05080d;
  --panel: rgba(6, 11, 17, 0.88);
  --paper: #f6f2e9;
  --muted: rgba(246, 242, 233, 0.66);
  --gold: #e4b95f;
  --gold-bright: #f5d890;
  --violet: #a84cff;
  --blue: #38c8ff;
  --line: rgba(239, 197, 105, 0.34);
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

body {
  color: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button,
input,
select,
a { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { color: inherit; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

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

.city-app {
  position: relative;
  width: 100vw;
  height: 100dvh;
  min-height: 540px;
  overflow: hidden;
  isolation: isolate;
  background: #071019;
}

.city-stage,
.city-scene-image,
.city-film,
.city-color,
.city-water-light,
.city-haze,
.city-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.city-stage { z-index: -3; overflow: hidden; }

.city-scene-image {
  z-index: 1;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  filter: brightness(1.04) saturate(1.06) contrast(1.03);
  transition: opacity 900ms ease, filter 1400ms ease, transform 14s linear;
}

.city-scene-image.is-active { opacity: 1; transform: scale(1.035); }

.city-film {
  object-fit: cover;
  object-position: center;
  filter: brightness(1.05) saturate(1.05) contrast(1.02);
  transition: opacity 900ms ease, filter 1400ms ease, transform 12s linear;
}

.city-film-ambient {
  z-index: 1;
  opacity: 0;
  transform: scale(1.012);
}

.city-film-sponsor {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.city-app.is-video-scene .city-film-ambient { opacity: 1; }
.city-app.is-video-scene .city-scene-image { opacity: 0; }
.city-app.is-sponsor-event .city-film-sponsor { opacity: 1; }
.city-app.is-sponsor-event .city-film-ambient,
.city-app.is-sponsor-event .city-scene-image { opacity: 0; }

.city-app[data-scene="golden-gate"] .city-scene-image { filter: brightness(1.02) saturate(0.94) contrast(1.06); }
.city-app[data-scene="boulevard"] .city-scene-image { filter: brightness(1.12) saturate(1.08) contrast(1.02) sepia(0.06); }
.city-app[data-scene="deep-room"] .city-scene-image { filter: brightness(0.9) saturate(1.18) contrast(1.1) hue-rotate(8deg); }
.city-app[data-scene="skyline-drive"] .city-scene-image { filter: brightness(1.04) saturate(1.2) contrast(1.12); }
.city-app[data-scene="last-transmission"] .city-scene-image { filter: brightness(0.88) saturate(0.98) contrast(1.12) hue-rotate(14deg); }

.city-color {
  z-index: 3;
  background: linear-gradient(120deg, rgba(5, 12, 20, 0.08), transparent 38%, rgba(91, 29, 132, 0.08));
  mix-blend-mode: color;
  transition: background 1600ms ease;
  pointer-events: none;
}

.city-water-light {
  z-index: 4;
  top: 43%;
  height: 58%;
  opacity: 0.26;
  background:
    radial-gradient(ellipse at 66% 38%, rgba(168, 76, 255, 0.22), transparent 34%),
    radial-gradient(ellipse at 45% 55%, rgba(56, 200, 255, 0.16), transparent 36%),
    repeating-linear-gradient(95deg, transparent 0 11%, rgba(255, 214, 130, 0.06) 12% 12.4%, transparent 13% 22%);
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  animation: water-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.city-haze {
  z-index: 5;
  opacity: 0.3;
  background: radial-gradient(ellipse at 55% 42%, rgba(255, 210, 125, 0.12), transparent 48%);
  mix-blend-mode: screen;
  animation: haze-breathe 11s ease-in-out infinite alternate;
  pointer-events: none;
}

.city-vignette {
  z-index: 6;
  background:
    linear-gradient(180deg, rgba(1, 4, 8, 0.24), transparent 26%, transparent 64%, rgba(1, 4, 8, 0.5)),
    radial-gradient(circle at 52% 45%, transparent 30%, rgba(0, 0, 0, 0.16) 82%);
  pointer-events: none;
}

.city-app[data-scene="golden-current"] .city-film-ambient {
  filter: brightness(1.08) saturate(1.12) contrast(1.03) hue-rotate(-4deg);
  transform: scale(1.02);
}

.city-app[data-scene="golden-current"] .city-color {
  background: linear-gradient(115deg, rgba(234, 176, 74, 0.1), transparent 52%, rgba(142, 55, 190, 0.08));
}

.city-app[data-scene="night-current"] .city-film-ambient {
  filter: brightness(1.02) saturate(1.08) contrast(1.05) hue-rotate(3deg);
  transform: scale(1.016);
}

.city-app[data-scene="deep-water"] .city-film-ambient {
  filter: brightness(0.96) saturate(0.96) contrast(1.08) hue-rotate(8deg);
  transform: scale(1.008);
}

.city-app[data-scene="deep-water"] .city-color {
  background: linear-gradient(120deg, rgba(3, 17, 29, 0.16), transparent 42%, rgba(67, 30, 111, 0.12));
}

.xcity-header {
  position: absolute;
  z-index: 26;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(76px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) clamp(24px, 5vw, 72px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(3, 7, 12, 0.82), rgba(3, 7, 12, 0.42) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  text-shadow: 0 3px 20px #000;
}

.xcity-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--paper);
  text-transform: uppercase;
}

.xcity-wordmark-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--ink);
  background: linear-gradient(145deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 24px rgba(228, 185, 95, 0.2);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.xcity-wordmark-copy strong,
.xcity-wordmark-copy small { display: block; white-space: nowrap; letter-spacing: 0.18em; }
.xcity-wordmark-copy strong { font-size: 0.88rem; }
.xcity-wordmark-copy small { margin-top: 4px; color: var(--muted); font-size: 0.48rem; }

.xcity-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.xcity-nav a {
  display: grid;
  min-height: 42px;
  place-items: center;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.xcity-nav a:hover { color: var(--gold-bright); }
.xcity-nav .is-current {
  padding: 0 15px;
  border: 1px solid rgba(228, 185, 95, 0.64);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(228, 185, 95, 0.08);
  box-shadow: inset 0 0 18px rgba(228, 185, 95, 0.06);
}

.xcity-nav-book {
  padding: 0 14px;
  border: 1px solid var(--line);
}

.entry-gate {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 9vw;
  background: linear-gradient(90deg, rgba(2, 6, 11, 0.8), rgba(2, 6, 11, 0.3) 52%, rgba(2, 6, 11, 0.04));
  transition: opacity 700ms ease, visibility 700ms ease;
}

.city-app:not(.is-gated) .entry-gate { opacity: 0; visibility: hidden; pointer-events: none; }

.overline,
.paid-label {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.entry-gate h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-shadow: 0 8px 46px rgba(0, 0, 0, 0.7);
}

.entry-gate > p:not(.overline) {
  max-width: 540px;
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.entry-gate small { margin-top: 14px; color: var(--muted); }

.entry-button,
.primary-action,
.secondary-action {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
}

.entry-button,
.primary-action { color: #120f08; background: var(--gold-bright); }
.entry-button:hover,
.primary-action:hover { background: #ffe7aa; }
.secondary-action { color: var(--paper); background: transparent; }

.sponsor-focus {
  position: absolute;
  z-index: 14;
  top: 18vh;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(560px, 88vw);
  transform: translateX(-50%);
  pointer-events: none;
}

.ad-disclosure,
.sponsor-prompt {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.ad-disclosure {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
  background: rgba(3, 7, 11, 0.78);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.sponsor-prompt {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(241, 209, 138, 0.7);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(3, 7, 11, 0.76);
  backdrop-filter: blur(12px);
  cursor: pointer;
  pointer-events: none;
}

.sponsor-focus.show-disclosure .ad-disclosure,
.sponsor-focus.show-prompt .sponsor-prompt {
  opacity: 1;
  transform: translateY(0);
}

.sponsor-focus.show-prompt .sponsor-prompt { pointer-events: auto; }

.journey-toast {
  position: absolute;
  z-index: 18;
  top: 50%;
  left: 50%;
  min-width: min(420px, calc(100vw - 36px));
  padding: 18px 24px;
  border: 1px solid rgba(228, 185, 95, 0.72);
  color: #fff;
  background: rgba(4, 9, 15, 0.88);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.56), 0 0 32px rgba(228, 185, 95, 0.16);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0;
  transform: translate(-50%, -40%);
  pointer-events: none;
  transition: opacity 220ms ease, transform 320ms ease;
}

.journey-toast.is-visible { opacity: 1; transform: translate(-50%, -50%); }

.now-capsule {
  position: absolute;
  z-index: 16;
  right: 50%;
  bottom: var(--safe-bottom);
  width: min(820px, calc(100vw - 36px));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(4, 8, 13, 0.72);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px) saturate(1.2);
  transform: translateX(50%);
  transition: background 300ms ease, border-color 300ms ease, width 350ms ease;
}

.capsule-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capsule-summary strong { color: var(--gold-bright); }

.capsule-signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.city-controls {
  max-height: 330px;
  padding: 0 20px 18px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 350ms ease, padding 350ms ease, opacity 260ms ease;
}

.city-app[data-ui="resting"] .city-controls {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.transport-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 15px;
  padding-top: 4px;
}

.transport-play {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.transport-play span {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--gold-bright);
  transform: translate(-50%, -50%);
}

.transport-play.is-playing span {
  left: 50%;
  width: 11px;
  height: 14px;
  border: 0;
  border-left: 3px solid var(--gold-bright);
  border-right: 3px solid var(--gold-bright);
}

.track-copy strong,
.track-copy span { display: block; }
.track-copy strong { font-size: 0.82rem; }
.track-copy span { margin-top: 2px; color: var(--muted); font-size: 0.68rem; }

.volume-control { display: grid; grid-template-columns: auto 86px; align-items: center; gap: 8px; color: var(--muted); font-size: 0.62rem; }
input[type="range"] { width: 100%; accent-color: var(--gold); cursor: pointer; }
.timeline-control { display: block; margin-top: 13px; }

.control-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.control-actions button,
.control-actions a,
.metrics-panel button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(0, 0, 0, 0.14);
  cursor: pointer;
  font-size: 0.65rem;
}

.city-drawer,
.metrics-panel {
  position: absolute;
  z-index: 30;
  top: 0;
  bottom: 0;
  width: min(430px, 92vw);
  padding: 10vh 34px 34px;
  overflow-y: auto;
  background: rgba(4, 9, 15, 0.94);
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(24px);
  animation: drawer-in 420ms ease both;
}

.city-drawer { right: 0; border-left: 1px solid var(--line); }
.map-drawer { left: 0; right: auto; border-right: 1px solid var(--line); border-left: 0; }

.drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 1.45rem;
}

.city-drawer h2,
.metrics-panel h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 0.98;
}

.drawer-intro,
.city-drawer > p:not(.overline, .paid-label, .sponsor-line) { color: var(--muted); line-height: 1.65; }

.map-stops { margin: 26px 0; padding: 0; list-style: none; }
.map-stops li { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.map-stops button { display: grid; grid-template-columns: 58px 1fr; width: 100%; padding: 15px 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.map-stops time { color: var(--gold-bright); }
.map-stops strong,
.map-stops small { display: block; }
.map-stops small { margin-top: 3px; color: var(--muted); }
.map-stops button[aria-current="true"] { color: var(--gold-bright); }
.map-stops button[aria-current="true"] strong::after { content: " · CURRENT"; color: var(--gold); font-size: 0.58rem; letter-spacing: 0.12em; }
.map-stops button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.map-note { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: var(--muted); font-size: 0.72rem; line-height: 1.6; }

.future-districts { display: flex; flex-wrap: wrap; gap: 7px; }
.future-districts span,
.future-districts strong { padding: 6px 8px; border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.42); font-size: 0.6rem; font-weight: 600; }
.future-districts strong { border-color: var(--gold); color: var(--gold-bright); }

.paid-label { display: inline-block; padding: 6px 8px; border: 1px solid rgba(255, 255, 255, 0.42); color: #fff; }
.sponsor-line { color: var(--gold-bright); font-family: Georgia, serif; font-size: 1.4rem; }
.sponsor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 20px; }
.city-drawer > small { display: block; color: rgba(255, 255, 255, 0.48); line-height: 1.5; }

.settings-drawer label { display: grid; gap: 8px; margin: 20px 0; color: var(--muted); font-size: 0.78rem; }
.settings-drawer select { min-height: 46px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; background: #101923; }

.metrics-panel { right: 0; border-left: 1px solid rgba(56, 200, 255, 0.34); }
.metrics-panel dl { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.metrics-panel dt { color: var(--muted); }
.metrics-panel dd { margin: 0; color: var(--gold-bright); font-weight: 800; }

#proofAudio { display: none; }

.city-app.is-low-data .city-film,
.city-app.is-reduced-motion .city-film { display: none; }

.city-app.is-low-data .city-stage,
.city-app.is-reduced-motion .city-stage {
  background: url("../assets/waterfront-proof-poster-v1.jpg") center / cover no-repeat;
}

.city-app.is-reduced-motion .city-water-light,
.city-app.is-reduced-motion .city-haze { animation: none; }

@keyframes water-drift { from { transform: translate3d(-1%, 0, 0) scale(1.02); } to { transform: translate3d(1%, 1%, 0) scale(1.05); } }
@keyframes haze-breathe { from { opacity: 0.18; transform: scale(1); } to { opacity: 0.38; transform: scale(1.08); } }
@keyframes drawer-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: translateX(0); } }

@media (min-width: 1500px) {
  .entry-gate { padding-left: 11vw; }
  .now-capsule { width: min(900px, 72vw); }
}

/* iPad and tablet layout: a touch-first control deck and bottom-sheet map. */
@media (min-width: 721px) and (max-width: 1180px) {
  .city-app { min-height: 600px; }
  .city-scene-image,
  .city-film { object-position: center 46%; }

  .entry-gate {
    align-content: end;
    padding: clamp(88px, 12vh, 150px) clamp(42px, 7vw, 76px) clamp(190px, 25vh, 270px);
    background: linear-gradient(180deg, rgba(2, 6, 11, 0.12), rgba(2, 6, 11, 0.44) 48%, rgba(2, 6, 11, 0.88));
  }

  .entry-gate h1 { font-size: clamp(5rem, 12vw, 7.4rem); }
  .entry-gate > p:not(.overline) { max-width: 620px; font-size: 1.08rem; }
  .entry-button { min-height: 54px; padding-inline: 28px; }

  .xcity-header {
    min-height: calc(72px + env(safe-area-inset-top));
    padding-inline: 22px;
  }
  .xcity-wordmark-mark { width: 36px; height: 36px; }
  .xcity-wordmark-copy strong { font-size: 0.8rem; }
  .xcity-wordmark-copy small { font-size: 0.43rem; }
  .xcity-nav { gap: 12px; font-size: 0.7rem; }
  .xcity-nav a { min-height: 46px; }
  .xcity-nav .is-current,
  .xcity-nav-book { padding-inline: 11px; }
  .sponsor-focus { top: 15vh; width: min(640px, calc(100vw - 48px)); }

  .now-capsule {
    bottom: max(14px, env(safe-area-inset-bottom));
    width: min(760px, calc(100vw - 28px));
    border-radius: 20px;
  }

  .capsule-summary { min-height: 58px; font-size: 0.7rem; }
  .city-controls { padding: 0 18px 18px; }
  .transport-row { grid-template-columns: 50px minmax(0, 1fr); gap: 14px; }
  .transport-play { width: 50px; height: 50px; }
  .volume-control { display: none; }
  .timeline-control input { min-height: 34px; }
  .control-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .control-actions button,
  .control-actions a { min-height: 46px; display: grid; place-items: center; text-align: center; }

  .city-drawer,
  .metrics-panel {
    position: fixed;
    inset: auto 14px max(14px, env(safe-area-inset-bottom));
    width: auto;
    height: min(70dvh, 680px);
    padding: 70px clamp(28px, 6vw, 56px) max(30px, env(safe-area-inset-bottom));
    border: 1px solid var(--line);
    border-radius: 24px;
    animation-name: drawer-up;
    -webkit-backdrop-filter: blur(24px);
  }

  .map-drawer { left: 14px; right: 14px; }
  .map-stops { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; margin: 18px 0; }
  .map-stops button { min-height: 78px; padding: 13px 0; }
  .drawer-close { top: 18px; right: 20px; width: 48px; height: 48px; }
}

@media (min-width: 721px) and (max-width: 900px) and (orientation: portrait) {
  .xcity-header { padding-inline: 18px; }
  .xcity-wordmark-copy small { display: none; }
  .xcity-nav { gap: 8px; font-size: 0.64rem; }
  .entry-gate { padding-bottom: clamp(210px, 24vh, 290px); }
  .entry-gate h1 { font-size: clamp(5rem, 14vw, 7rem); }
  .now-capsule { width: calc(100vw - 24px); }
  .map-stops { grid-template-columns: 1fr; }
  .city-drawer,
  .metrics-panel { height: min(76dvh, 760px); }
}

@media (max-width: 720px) {
  .city-app { min-height: 620px; }
  .city-film { object-position: 58% center; }
  .xcity-header {
    min-height: calc(66px + env(safe-area-inset-top));
    padding-inline: 14px;
  }
  .xcity-wordmark { gap: 9px; }
  .xcity-wordmark-mark { width: 34px; height: 34px; font-size: 1.35rem; }
  .xcity-wordmark-copy strong { font-size: 0.72rem; }
  .xcity-wordmark-copy small { display: none; }
  .xcity-nav { gap: 8px; font-size: 0.64rem; }
  .xcity-nav-home,
  .xcity-nav-secondary { display: none !important; }
  .xcity-nav a { min-height: 42px; }
  .xcity-nav .is-current,
  .xcity-nav-book { padding-inline: 9px; }
  .entry-gate { align-content: end; padding: 24px 22px calc(18vh + 34px); background: linear-gradient(180deg, rgba(2, 6, 11, 0.12), rgba(2, 6, 11, 0.84) 72%); }
  .entry-gate h1 { font-size: clamp(3.7rem, 19vw, 6rem); }
  .entry-gate > p:not(.overline) { margin: 20px 0; }
  .entry-button { width: 100%; }
  .sponsor-focus { top: 19vh; }
  .now-capsule { bottom: max(8px, env(safe-area-inset-bottom)); width: calc(100vw - 16px); border-radius: 18px; }
  .capsule-summary { min-height: 50px; padding: 0 10px; gap: 6px; font-size: 0.56rem; }
  .city-controls { padding: 0 14px 14px; }
  .transport-row { grid-template-columns: 44px minmax(0, 1fr); }
  .volume-control { display: none; }
  .control-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .control-actions button,
  .control-actions a { display: grid; place-items: center; }
  .city-drawer,
  .metrics-panel { position: fixed; inset: auto 0 0; width: 100%; height: min(74dvh, 620px); padding: 66px 22px max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-left: 0; border-right: 0; animation-name: drawer-up; }
  .map-drawer { left: 0; }
}

@keyframes drawer-up { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
