/* Wander & Converse
   Palette: Ink #081D18, Chalk #F1F0EA, Brass #C8A24C, Juniper #14322B.
   Every text/background pair below meets WCAG AA (see AGENTS.md for ratios). */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-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: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/manrope-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: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #081d18;
  --chalk: #f1f0ea;
  --brass: #c8a24c;
  --juniper: #14322b;
  --mist: #b9bdb3;          /* secondary text on ink/juniper: 9.2:1 / 7.2:1 */
  --rule: rgba(200, 162, 76, 0.55);

  /* Per-section theme tokens (overridden by Route Dante) */
  --bg: var(--ink);
  --fg: var(--chalk);
  --muted: var(--mist);
  --accent: var(--brass);
  --surface: var(--juniper);
  --num-bg: var(--brass);
  --num-fg: var(--ink);
  --line: var(--rule);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 1.375rem;
  --tap: 3.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
  scroll-padding-bottom: 5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 1.125rem;      /* 18px, above the 17px minimum */
  line-height: 1.6;
  font-weight: 450;
  padding-bottom: env(safe-area-inset-bottom);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
strong { font-weight: 700; }
em { font-style: italic; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--brass); color: var(--ink); padding: 0.75rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule--short { width: 4rem; margin: 1.75rem auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;   /* small caps label; uppercase, bold, letterspaced */
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: var(--tap);
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: 700 1.0625rem/1.2 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--accent); color: var(--bg); }
.btn--ghost { color: var(--fg); }

/* Hero ------------------------------------------------------------------- */
.hero {
  text-align: center;
  padding: calc(2.5rem + env(safe-area-inset-top)) 0 3.5rem;
  border-bottom: 1px solid var(--rule);
}
.hero__logo { width: min(17rem, 78%); margin: 0 auto; }
.hero__title {
  font-size: clamp(3.4rem, 15.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.hero__title .amp { font-style: italic; color: var(--brass); }
.hero__subtitle {
  margin: 1.1rem 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brass);
}
.hero__welcome {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.3;
  max-width: 22rem;
  margin: 1.5rem auto 0;
}
.hero__choose { margin-top: 2.5rem; }
.hero__buttons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
  margin: 1rem auto 0; max-width: 28rem;
}
.btn--route {
  flex-direction: column; gap: 0.1rem;
  min-height: 6.5rem;
  padding: 1rem 0.75rem;
  background: var(--ink);
  color: var(--chalk);
  border-color: var(--brass);
}
.btn--route .btn__label {
  font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass);
}
.btn--route .btn__name { font: italic 400 2.25rem/1 var(--serif); }
.btn--route-dante { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.btn--route-dante .btn__label { color: #6e551b; } /* 6.2:1 on chalk */
.btn--route[data-chosen="true"] { outline: 2px solid var(--brass); outline-offset: 4px; }
.hero__note { margin-top: 1rem; color: var(--mist); font-size: 1.0625rem; }

/* Sections --------------------------------------------------------------- */
.section { padding: 3.5rem 0; border-bottom: 1px solid var(--rule); }
.section__title {
  font-size: clamp(2.4rem, 10vw, 3.75rem);
  color: var(--accent);
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.section__title--small { font-size: clamp(1.9rem, 7vw, 2.5rem); }
.section__intro { color: var(--muted); margin-top: -0.5rem; margin-bottom: 1.75rem; }

/* Glance */
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.beat { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.beat:first-child { padding-top: 0; }
.beat:last-child { border-bottom: 0; padding-bottom: 0; }
.beat__time { font-weight: 700; letter-spacing: 0.08em; color: var(--brass); margin-bottom: 0.25rem; }
.beat__name { font-size: 2.5rem; font-style: italic; margin-bottom: 0.5rem; }
@media (min-width: 48rem) {
  .beats { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .beat { padding: 0 0 0 1.5rem; border-bottom: 0; border-left: 1px solid var(--rule); }
}

/* Route ------------------------------------------------------------------ */
.route { background: var(--bg); color: var(--fg); transition: background-color .25s, color .25s; }
.route[data-route="dante"] {
  --bg: var(--chalk);
  --fg: var(--ink);
  --muted: #4a5650;        /* 6.7:1 on chalk, 6.0:1 on parchment */
  --accent: #6e551b;       /* deep brass: 6.2:1 on chalk, 5.5:1 on parchment */
  --surface: #e6e3d8;      /* parchment, matches the printed Dante card */
  --num-bg: var(--ink);
  --num-fg: var(--chalk);
  --line: rgba(110, 85, 27, 0.55);
}

.toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--accent);
}
.toggle__btn {
  min-height: var(--tap);
  border: 0; border-radius: 0;
  background: transparent; color: var(--fg);
  font: italic 400 1.5rem/1 var(--serif);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.toggle__btn[aria-pressed="true"] { background: var(--accent); color: var(--bg); }

.route__name { margin: 1.5rem 0 1.25rem; display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.route__name em { font: italic 400 2.5rem/1 var(--serif); }

.map {
  position: relative;
  border: 1px solid var(--line); background: var(--surface);
  aspect-ratio: 816 / 1200;
}
.map__open {
  position: relative; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: transparent;
  cursor: zoom-in;
}
.map__open img { width: 100%; height: 100%; object-fit: contain; }
.map__spots { position: absolute; inset: 0; pointer-events: none; }
.map__spot {
  position: absolute; display: block;
  pointer-events: auto;
  border-radius: 1.5rem;
  -webkit-tap-highlight-color: transparent;
}
.map__spot:hover { outline: 2px solid var(--accent); outline-offset: 0; }
.map__note { margin: 0.75rem 0 0; color: var(--muted); }
.stop:focus { outline: 3px solid var(--accent); outline-offset: 3px; }
.map__hint {
  position: absolute; right: 0.75rem; bottom: 0.75rem;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--accent);
  font: 700 0.9375rem/1 var(--sans);
  padding: 0.7rem 0.9rem;
}

.stops { list-style: none; margin: 2.25rem 0 0; padding: 0; }
.stop {
  background: var(--surface);
  border-top: 2px solid var(--accent);
  padding: 1.5rem 1.25rem 1.25rem;
  scroll-margin-top: 1rem;
}
.stop__head { display: flex; gap: 1rem; align-items: flex-start; }
.stop__num {
  flex: none;
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--num-bg); color: var(--num-fg);
  font: 400 1.75rem/1 var(--serif);
}
.stop[data-kind="highline"] .stop__num { background: var(--brass); color: var(--ink); }
.stop__tag { margin-bottom: 0.25rem; }
.stop__name { font-size: 2rem; line-height: 1.05; }
.stop__where { margin: 0.5rem 0 0; font-weight: 600; }
.stop__show { margin: 1rem 0 0; color: var(--fg); }
.stop__show em { font-family: var(--serif); font-size: 1.3125rem; }
.stop__desc { color: var(--muted); margin: 0.5rem 0 0; }
.stop__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.stop__maps {
  display: inline-flex; align-items: center; min-height: var(--tap);
  font-weight: 700; color: var(--accent); text-decoration: underline;
}
.stop__discuss { min-width: 8.5rem; }
.stop__discuss[aria-expanded="true"] { background: var(--accent); color: var(--bg); }
.discuss { margin-top: 1rem; }
.discuss__item {
  font: 400 1.6875rem/1.25 var(--serif);
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.discuss__item span { display: block; font: 700 0.8125rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
.discuss__more { display: inline-flex; min-height: var(--tap); align-items: center; font-weight: 700; color: var(--accent); }

.walk {
  position: relative;
  margin: 0;
  padding: 1.25rem 0 1.25rem 3.75rem;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--fg);
}
.walk::before {
  content: ""; position: absolute; left: 2.75rem; top: 0; bottom: 0;
  border-left: 1px dashed var(--accent);
}
.walk__label { display: block; font-style: normal; margin-bottom: 0.2rem; }
.gap { height: 1rem; }
.noscript { color: var(--muted); }

/* Prompts deck ----------------------------------------------------------- */
.deck__card {
  background: var(--juniper);
  border-top: 2px solid var(--brass);
  padding: 2rem 1.5rem 2.25rem;
  min-height: 19rem;
  display: flex; flex-direction: column; justify-content: center;
  touch-action: pan-y;
}
.deck__count { color: var(--brass); font-weight: 700; letter-spacing: 0.08em; margin-bottom: 1rem; }
.deck__text { font: 400 clamp(2rem, 8.5vw, 3rem)/1.15 var(--serif); }
.deck__controls { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin-top: 0.75rem; }
.deck__controls .btn { padding-inline: 0.5rem; }

/* Featured artists (main page) ------------------------------------------ */
.featured-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 64rem) { .featured-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--juniper); border-top: 2px solid var(--brass); }
.feature__link { display: flex; flex-direction: column; height: 100%; color: var(--chalk); text-decoration: none; }
.feature__art { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--ink); }
.feature__art img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.25rem 1.25rem; }
.feature__name { font-size: 2.5rem; line-height: 1; }
.feature__show { margin: 0.5rem 0 0; }
.feature__show em { font-family: var(--serif); font-size: 1.375rem; }
.feature__where { margin: 0.75rem 0 0; color: var(--brass); font-weight: 700; font-size: 1.0625rem; }
.feature__summary { margin: 0.75rem 0 0; color: var(--mist); }
.feature__more {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 1.25rem; min-height: var(--tap);
  font-weight: 700; color: var(--brass);
}
.feature__more::after { content: "\2192"; font: 400 1.75rem/1 var(--serif); }
.feature__link:hover .feature__name, .feature__link:focus-visible .feature__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }

/* Featured label and link on stop cards */
.stop__featured {
  display: inline-block; margin: 0 0 0.5rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--accent); color: var(--accent);
  font: 700 0.8125rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
}
.stop__meet {
  display: inline-flex; align-items: center; min-height: var(--tap); margin-top: 0.5rem;
  font-weight: 700; color: var(--accent); text-decoration: underline;
}
.stop__meet::after { content: "\2192"; margin-left: 0.4rem; text-decoration: none; display: inline-block; }

/* Featured artist page ---------------------------------------------------- */
.apage__top { border-bottom: 1px solid var(--rule); padding: calc(0.75rem + env(safe-area-inset-top)) 0 0.75rem; }
.apage__home {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--tap); text-decoration: none; color: var(--mist); font-weight: 700; font-size: 1.0625rem;
}
.apage__home img { width: 9rem; }
.apage__hero { margin: 0; max-width: 68rem; margin-inline: auto; background: var(--juniper); }
.apage__hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.apage__wrap { max-width: 44rem; padding-bottom: 2rem; }
.apage__intro { padding: 2rem 0 2.25rem; border-bottom: 1px solid var(--rule); }
.apage__intro .eyebrow { margin-bottom: 0.75rem; }
.apage__name { font-size: clamp(3rem, 14vw, 5rem); line-height: 0.95; }
.apage__show { margin: 0.75rem 0 0; }
.apage__show em { font-family: var(--serif); font-size: 1.75rem; line-height: 1.2; }
.apage__venue { margin: 1rem 0 0; font-weight: 600; }
.apage__stops { margin: 0.5rem 0 0; color: var(--brass); font-weight: 700; letter-spacing: 0.02em; }

.apage__section { padding: 2.25rem 0; border-bottom: 1px solid var(--rule); }
.apage__h2 { font-size: clamp(2rem, 8vw, 2.75rem); color: var(--brass); margin-bottom: 1.25rem; }
.apage__list { margin: 1.25rem 0 0; padding-left: 1.4rem; }
.apage__list li { margin-bottom: 1rem; padding-left: 0.25rem; }
.apage__list li::marker { color: var(--brass); font-weight: 700; }
.apage__section strong { color: var(--chalk); }

.apage__section--panel { background: var(--juniper); border-top: 2px solid var(--brass); border-bottom: 0; padding: 1.75rem 1.25rem; margin: 2.25rem 0; }
.apage__look { list-style: none; margin: 0; padding: 0; counter-reset: look; }
.apage__look li {
  counter-increment: look; position: relative;
  padding: 1rem 0 1rem 3.5rem; border-top: 1px solid var(--rule);
}
.apage__look li:first-child { border-top: 0; padding-top: 0.25rem; }
.apage__look li::before {
  content: counter(look); position: absolute; left: 0; top: 0.85rem;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--brass); color: var(--ink); font: 400 1.5rem/1 var(--serif);
}
.apage__look li:first-child::before { top: 0.1rem; }
.apage__look strong { display: block; font: 400 1.5rem/1.2 var(--serif); margin-bottom: 0.2rem; }

.apage__gallery { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 40rem) { .apage__gallery { grid-template-columns: 1fr 1fr; } }
.apage__gallery figure { margin: 0; }
.apage__gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--juniper); }
.apage__gallery figcaption { margin-top: 0.5rem; color: var(--mist); font-size: 1.0625rem; }

.apage__quote { margin: 0; padding: 2.5rem 0; border-bottom: 1px solid var(--rule); text-align: center; }
.apage__quote blockquote { margin: 0; }
.apage__quote p { font: italic 400 clamp(2.25rem, 10vw, 3.5rem)/1.1 var(--serif); }
.apage__quote p::before { content: "\201C"; color: var(--brass); }
.apage__quote p::after { content: "\201D"; color: var(--brass); }
.apage__quote figcaption { margin-top: 1rem; color: var(--brass); font-weight: 700; letter-spacing: 0.08em; }

.apage__video { margin: 2.25rem 0; aspect-ratio: 16 / 9; background: var(--juniper); }
.apage__video iframe { width: 100%; height: 100%; border: 0; display: block; }

.apage__prompts { list-style: none; margin: 0; padding: 0; }
.apage__prompts li { font: 400 1.6875rem/1.25 var(--serif); padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.apage__prompts li:first-child { border-top: 0; padding-top: 0; }

.apage__facts { margin: 0; }
.apage__facts div { padding: 0.9rem 0; border-top: 1px solid var(--rule); }
.apage__facts div:first-child { border-top: 0; padding-top: 0; }
.apage__facts dt { font: 700 0.8125rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.apage__facts dd { margin: 0.2rem 0 0; }
@media (min-width: 40rem) {
  .apage__facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; }
  .apage__facts dd { margin: 0; }
}

.apage__closing { font: italic 400 1.5rem/1.3 var(--serif); padding: 2.25rem 0 0; }
.apage__links { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.apage__links .btn { width: 100%; text-align: center; }

/* Sticky "Back to my route" bar on artist pages */
.backbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 3.75rem;
  padding: 0.85rem max(var(--gutter), calc((100% - 68rem) / 2 + var(--gutter))) calc(0.85rem + env(safe-area-inset-bottom));
  background: var(--brass); color: var(--ink); text-decoration: none;
}
.backbar__label { font-weight: 700; font-size: 1.125rem; }
.backbar__label::before { content: "\2190"; margin-right: 0.5rem; }
.backbar__stop { font: italic 400 1.4rem/1 var(--serif); text-align: right; }
.backbar[data-route="dante"] { background: var(--chalk); border-top: 2px solid #6e551b; }

/* Partners --------------------------------------------------------------- */
.partners .section__title { color: var(--chalk); }
.partner-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.partner-row li { border-bottom: 1px solid var(--rule); }
.partner-row a {
  display: flex; align-items: center; min-height: 4rem;
  font: italic 400 1.75rem/1.1 var(--serif); color: var(--brass); text-decoration: none;
}
@media (min-width: 48rem) {
  .partner-row { grid-template-columns: repeat(3, 1fr); }
  .partner-row li { border-bottom: 0; border-left: 1px solid var(--rule); padding-left: 1.25rem; }
}

/* Footer ----------------------------------------------------------------- */
.footer { text-align: center; padding: 1rem 0 calc(7rem + env(safe-area-inset-bottom)); }
.footer__logo { display: block; width: min(15rem, 70%); margin: 0 auto 1rem; }
.footer a { color: var(--brass); font-weight: 700; }
.footer__small { color: var(--mist); font-size: 1.0625rem; margin-top: 1.5rem; }

/* Sticky mini bar -------------------------------------------------------- */
.minibar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  transform: translateY(110%);
  transition: transform .25s ease;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  border-top: 1px solid var(--brass);
}
.minibar.is-visible { transform: none; }
.minibar[data-route="dante"] { background: var(--chalk); border-top-color: #6e551b; }
.minibar__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  max-width: 68rem; margin: 0 auto; padding: 0.85rem var(--gutter);
  min-height: 3.75rem; text-decoration: none; color: var(--chalk);
}
.minibar[data-route="dante"] .minibar__inner { color: var(--ink); }
.minibar__route { font: italic 400 1.6rem/1 var(--serif); }
.minibar__stop { font-weight: 700; letter-spacing: 0.04em; color: var(--brass); }
.minibar[data-route="dante"] .minibar__stop { color: #6e551b; }

/* Lightbox --------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink);
  display: flex; flex-direction: column;
}
.lightbox[hidden] { display: none; }
.lightbox__stage {
  flex: 1; overflow: hidden; position: relative;
  touch-action: none;
  cursor: grab;
}
.lightbox__stage img {
  position: absolute; left: 0; top: 0;
  max-width: none;
  transform-origin: 0 0;
  user-select: none; -webkit-user-select: none;
  will-change: transform;
}
.lightbox__hint { text-align: center; color: var(--mist); margin: 0.5rem 0 0; font-size: 1.0625rem; }
.lightbox__close {
  margin: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  min-height: var(--tap);
  background: var(--brass); color: var(--ink); border: 0;
  font: 700 1.125rem/1 var(--sans); cursor: pointer;
}

@media (min-width: 48rem) {
  :root { --gutter: 2.5rem; }
  .hero { padding-top: 4rem; }
  .route .wrap { max-width: 44rem; }
  .prompts .wrap { max-width: 44rem; }
}
