/* HowToGet — “The Long Way West” presentation landing.
   Editorial ink-on-paper: Fraunces display serif, warming paper that ends in dusk. */

@font-face {
  font-family: 'Fraunces';
  src: url('/landing/fonts/fraunces-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/landing/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Funnel Sans';
  src: url('/landing/fonts/funnel-sans-normal.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Funnel Sans';
  src: url('/landing/fonts/funnel-sans-italic.woff2') format('woff2');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #faf7ef;
  --paper2: #f6f0e2;
  --paper3: #f0e8d4;
  --dusk: #14233c;

  --ink: #14233c;
  --ink-soft: rgba(20, 35, 60, 0.62);
  --ink-faint: rgba(20, 35, 60, 0.26);
  --hairline: rgba(20, 35, 60, 0.16);

  --cream: #f5f1e6;
  --cream-soft: rgba(245, 241, 230, 0.66);
  --cream-faint: rgba(245, 241, 230, 0.25);

  --sienna: #bf4a2b;
  --land: #ece2c8;

  /* one colour per transport type — route lines and timeline rails agree */
  --c-rail: #d9822b;
  --c-coach: #8a5da8;
  --c-bus: #3f7cb6;
  --c-tram: #c25450;
  --c-metro: #2f8f8a;
  --c-ferry: #35997a;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Funnel Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  transition: background-color 1.1s ease;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- nav ---------- */
.site-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #f7f4ec;
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
  padding: 1.35rem clamp(1.25rem, 4vw, 3.5rem);
  transition: color 0.6s ease;
}
.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-nav nav { display: flex; gap: 1.75rem; margin-inline: auto; }
.site-nav nav a, .nav-cta {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s;
}
.site-nav a:hover { opacity: 1; }
.nav-cta { border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ---------- shared type ---------- */
.centered { text-align: center; margin-inline: auto; }
h1, h2, h3, h4, .statement {
  font-family: var(--serif);
  font-weight: 480;
  color: inherit;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 30;
}
h2 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.04; letter-spacing: -0.012em; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  color: #f7f4ec;
  padding: 6rem 1.5rem 4rem;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(12, 18, 32, 0.42), rgba(12, 18, 32, 0.22) 35%, rgba(12, 18, 32, 0.38));
}
.hero-inner { position: relative; z-index: 2; }
.hero-logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 620;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 40;
  font-size: clamp(4rem, 13.5vw, 11.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}
.hero-tag {
  position: absolute;
  right: 0.06em;
  bottom: -2.25em;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 420;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  line-height: 1.3;
  letter-spacing: 0;
  text-align: left;
  text-shadow: none;
}
.hero-line {
  margin-top: 5.5rem;
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.32;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.3);
}
.hero-cta {
  display: inline-block;
  margin-top: 2.8rem;
  padding: 1.05rem 2.6rem;
  background: #f7f4ec;
  color: var(--ink);
  font-weight: 620;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(0, 0, 0, 0.34); }
.hero-cta::after { content: ' →'; }
.hero-scroll { margin-top: 2.6rem; font-size: 0.95rem; opacity: 0.92; }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(10rem, 20vh, 15rem) 0 0; text-align: center; }
.manifesto > .statement, .manifesto > .whatis { max-width: 62rem; margin-inline: auto; padding-inline: 1.5rem; }
.whatis {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 480;
  letter-spacing: -0.005em;
  margin-bottom: clamp(3rem, 7vh, 5.5rem);
}
.statement {
  font-size: clamp(1.9rem, 4.3vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  font-weight: 520;
}
.manifesto-body {
  max-width: 40rem;
  margin: 2.8rem auto 0;
  padding-inline: 1.5rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* press-row style band of the things this is built on */
.logo-band {
  margin-top: clamp(4rem, 9vh, 7rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-band.single { mask-image: none; -webkit-mask-image: none; text-align: center; padding: 1.2rem 0 2.4rem; }
.unsw-logo { display: inline-block; height: 76px; width: auto; }
.logo-track {
  display: flex;
  align-items: center;
  gap: clamp(4rem, 8vw, 7rem);
  width: max-content;
  padding: 1.2rem 0 2.2rem;
  animation: logo-marquee 36s linear infinite;
}
@keyframes logo-marquee {
  to { transform: translateX(-50%); }
}
.lg { white-space: nowrap; color: var(--ink); opacity: 0.82; filter: grayscale(1); }
.lg-tfnsw { font-weight: 750; font-size: 1.05rem; line-height: 1.02; text-align: left; letter-spacing: -0.01em; }
.lg-otp { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; }
.lg-osm { font-weight: 650; font-size: 1.45rem; letter-spacing: -0.02em; }
.lg-unsw { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; letter-spacing: 0.12em; }
.lg-claude { font-family: var(--serif); font-weight: 560; font-size: 1.55rem; font-style: italic; }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }
.stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 3.2rem;
  padding-top: 2.2rem;
  flex-wrap: wrap;
}
.stats strong { font-family: var(--serif); font-size: 2rem; font-weight: 500; display: block; }
.stats span { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- ladder ---------- */
.ladder { padding: clamp(6rem, 12vh, 10rem) 1.5rem; max-width: 46rem; margin-inline: auto; }
.rungs { list-style: none; margin-top: 3.5rem; }
.rungs li {
  display: flex;
  gap: 2rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--hairline);
}
.rungs li:last-child { border-bottom: 1px solid var(--hairline); }
.rung-no { font-family: var(--serif); font-size: 1.6rem; font-weight: 340; color: var(--sienna); min-width: 2.6rem; }
.rungs h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 520; margin-bottom: 0.35rem; }
.rungs p { color: var(--ink-soft); font-size: 0.98rem; max-width: 34rem; }
.ladder-rule {
  margin-top: 2.6rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- chapters ---------- */
.chapter { padding: clamp(7rem, 14vh, 12rem) clamp(1.25rem, 4vw, 3.5rem); }
.ch-head { max-width: 72rem; margin: 0 auto 3.2rem; }
.ch-meta { margin-top: 0.9rem; font-size: 0.9rem; letter-spacing: 0.05em; color: var(--ink-soft); }
.ch-grid {
  max-width: 72rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: start;
}
.chapter.alt .ch-grid { direction: rtl; }
.chapter.alt .ch-grid > * { direction: ltr; }
.ch-photo img { aspect-ratio: 4 / 3.1; object-fit: cover; width: 100%; filter: saturate(0.92); }
.ch-photo figcaption { margin-top: 0.7rem; font-size: 0.78rem; letter-spacing: 0.03em; color: var(--ink-soft); }
.ch-copy { grid-column: 1 / -1; max-width: 44rem; margin-top: 1.2rem; }
.ch-copy p { font-family: var(--serif); font-size: clamp(1.12rem, 1.75vw, 1.4rem); line-height: 1.5; font-weight: 380; }

.ch-map svg { width: 100%; height: auto; display: block; }
.ch-map { border: 1px solid var(--hairline); padding: 0.9rem; }

/* route timeline (maps-app style) */
.legs-board { margin-top: 1.2rem; font-family: var(--sans); font-size: 0.92rem; }
.timeline { display: grid; }
.tl-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  column-gap: 0.9rem;
  align-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.in-view .tl-row, .pg-card .tl-row { opacity: 1; transform: none; }
.tl-stop { padding: 0.15rem 0; }
.tl-node {
  width: 11px;
  height: 11px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  justify-self: center;
  background: transparent;
}
.tl-end .tl-node { background: var(--sienna); border-color: var(--sienna); }
.tl-name { font-weight: 620; letter-spacing: -0.005em; }
.tl-time { font-weight: 460; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tl-leg { min-height: 3.2rem; }
.tl-rail {
  justify-self: center;
  align-self: stretch;
  width: 0;
  border-left: 2.5px solid currentColor;
  opacity: 0.85;
}
.tl-leg.m-walk .tl-rail, .tl-leg.m-flex .tl-rail { border-left-style: dashed; border-color: var(--sienna); }
.tl-leg.m-car .tl-rail { border-left-style: dotted; }
.tl-leg.m-bike .tl-rail { border-left-style: dashed; border-color: var(--sienna); }
.tl-leg.ghost .tl-rail { border-left-style: dotted; opacity: 0.4; }
.tl-leg.ghost .tl-info { opacity: 0.75; }
.tl-icon { position: absolute; }
.tl-leg { position: relative; }
.tl-leg .tl-icon {
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #ffffff;
  border-radius: 50%;
  border: 2px solid var(--paper);
}
.tl-leg.m-walk .tl-icon, .tl-leg.m-flex .tl-icon { background: var(--sienna); color: #fff; }
.tl-leg.m-car .tl-icon { background: var(--ink); color: #fff; }
.tl-leg.m-bike .tl-icon { background: var(--sienna); color: #fff; }
.tl-leg.md-rail .tl-rail { border-color: var(--c-rail); }
.tl-leg.md-rail .tl-icon { background: var(--c-rail); }
.tl-leg.md-coach .tl-rail { border-color: var(--c-coach); }
.tl-leg.md-coach .tl-icon { background: var(--c-coach); }
.tl-leg.md-bus .tl-rail { border-color: var(--c-bus); }
.tl-leg.md-bus .tl-icon { background: var(--c-bus); }
.tl-leg.md-tram .tl-rail { border-color: var(--c-tram); }
.tl-leg.md-tram .tl-icon { background: var(--c-tram); }
.tl-leg.md-subway .tl-rail { border-color: var(--c-metro); }
.tl-leg.md-subway .tl-icon { background: var(--c-metro); }
.tl-leg.md-ferry .tl-rail { border-color: var(--c-ferry); }
.tl-leg.md-ferry .tl-icon { background: var(--c-ferry); }
.tl-icon svg { width: 17px; height: 17px; }
.tl-info { grid-column: 2; display: flex; flex-direction: column; padding: 0.5rem 0; }
.tl-info strong { font-weight: 600; }
.tl-sub { color: var(--ink-soft); font-size: 0.84rem; }
/* dark chapter (Tibooburra) */
.chapter.dark { color: var(--cream); }
.chapter.dark .ch-meta, .chapter.dark .ch-photo figcaption, .chapter.dark .tl-time, .chapter.dark .tl-sub { color: var(--cream-soft); }
.chapter.dark .chapter.dark .ch-map { border-color: var(--cream-faint); }
.chapter.dark .tl-leg .tl-icon { border-color: var(--dusk); }
.chapter.dark .legs-total { border-color: var(--cream); }
.chapter.dark .ch-photo img { filter: saturate(0.85) brightness(0.94); }

.letter {
  max-width: 40rem;
  margin: 4.5rem auto 0;
  padding: 2.6rem clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--cream-faint);
}
.letter-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream-soft);
  margin-bottom: 1.6rem;
}
.letter-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.55;
}
.letter-sign { margin-top: 1.6rem; font-size: 0.85rem; color: var(--cream-soft); }

/* ---------- playground ---------- */
.playground { padding: clamp(7rem, 14vh, 11rem) clamp(1.25rem, 4vw, 3.5rem) 5rem; }
.pg-head { max-width: 46rem; margin: 0 auto 3rem; }
.pg-sub { margin-top: 1.4rem; color: var(--ink-soft); max-width: 34rem; }
.pg-status { margin-top: 1rem; font-size: 0.85rem; color: var(--sienna); }
.pg-stage { position: relative; max-width: 76rem; margin-inline: auto; }
.pg-map { border: 1px solid var(--hairline); padding: clamp(0.75rem, 2vw, 2rem); cursor: crosshair; }
.pg-map svg { width: 100%; height: auto; display: block; }
.pg-card {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: min(21.5rem, calc(100% - 3rem));
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0.4rem 0.4rem 0 rgba(27, 36, 55, 0.12);
}
.pg-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--ink-soft);
}
.pg-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 520; margin-bottom: 0.2rem; }
.pg-card .pg-region { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.pg-rung {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--sienna);
  color: var(--sienna);
  border-radius: 2px;
  margin-bottom: 0.9rem;
}
.pg-card .legs-board { margin-top: 0.4rem; }
.pg-card .tl-leg .tl-icon { background: var(--paper); }
.pg-card .letter-mini {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-top: 0.4rem;
}
.pg-spin { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- map CTA ---------- */
.map-cta { padding: clamp(7rem, 14vh, 11rem) 1.5rem; max-width: 46rem; margin-inline: auto; }
.cta-sub { margin-top: 1.4rem; color: var(--ink-soft); max-width: 30rem; }
.cta-btn {
  display: inline-block;
  margin-top: 2.6rem;
  padding: 1.05rem 2.6rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 620;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20, 35, 60, 0.25); }
.cta-btn::after { content: ' \2192'; }

/* ---------- colophon ---------- */
.colophon {
  padding: 5rem clamp(1.25rem, 4vw, 3.5rem) 4rem;
  border-top: 1px solid var(--hairline);
  max-width: 76rem;
  margin-inline: auto;
}
.colophon .wordmark { margin-bottom: 0.8rem; display: inline-block; }
.colo-line { color: var(--ink-soft); max-width: 34rem; font-size: 0.95rem; }
.colo-cols { display: flex; gap: clamp(2rem, 6vw, 5rem); margin-top: 3rem; flex-wrap: wrap; }
.colo-cols h4 {
  font-size: 0.8rem;
  font-weight: 560;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 0.7rem;
}
.colo-cols p { font-size: 0.85rem; color: var(--ink-soft); max-width: 20rem; }
.colo-cols a { color: var(--ink); }
.colo-end { margin-top: 3.2rem; font-size: 0.9rem; }
code { font-family: var(--mono); font-size: 0.92em; }

/* ---------- ink map (SVG) ---------- */
.outline {
  fill: var(--land);
  stroke: currentColor;
  stroke-width: 0.75;
  stroke-opacity: 0.25;
  vector-effect: non-scaling-stroke;
}
.chapter.dark { --land: #1d2f4e; }
.route-leg { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.route-leg.m-transit { stroke: currentColor; stroke-width: 2.2; }
.route-leg.m-walk { stroke: var(--sienna); stroke-width: 2; stroke-dasharray: 2 5; }
.route-leg.m-flex { stroke: var(--sienna); stroke-width: 2.2; }
.route-leg.m-car { stroke: currentColor; stroke-width: 2; stroke-dasharray: 6 4; }
.route-leg.m-bike { stroke: var(--sienna); stroke-width: 2.2; stroke-dasharray: 5 3; }
.route-leg.ghost { opacity: 0.45; stroke-dasharray: 1 6; stroke-width: 1.8; }
.map-dot { fill: currentColor; }
.map-dot.origin { fill: var(--sienna); }
.map-label {
  font-family: var(--sans);
  font-size: 11px;
  fill: currentColor;
  opacity: 0.75;
  letter-spacing: 0.04em;
}
.pg-pin { fill: currentColor; opacity: 0.5; cursor: pointer; transition: opacity 0.15s; }
.pg-pin:hover, .pg-pin.featured { opacity: 1; }
.pg-pin.featured { fill: var(--sienna); }

/* drawing animation */
.route-leg.draw { transition: stroke-dashoffset 1.6s ease; }

/* ---------- reveal choreography ---------- */
.reveal > * { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in-view > * { opacity: 1; transform: none; }
.reveal.in-view > *:nth-child(2) { transition-delay: 0.1s; }
.reveal.in-view > *:nth-child(3) { transition-delay: 0.2s; }
.reveal.in-view > *:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal > *, .tl-row { opacity: 1 !important; transform: none !important; transition: none !important; }
  .route-leg.draw { transition: none !important; }
  body { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .site-nav nav { display: none; }
  .ch-grid { grid-template-columns: 1fr; }
  .chapter.alt .ch-grid { direction: ltr; }
  .pg-card { position: static; width: 100%; margin-top: 1rem; box-shadow: none; }
  .stats { gap: 2rem; }
}

/* ---------- geographic playground (MapLibre) ---------- */
#pg-geo { height: min(76vh, 720px); background: var(--paper2); }
.pg-map { cursor: auto; }
.pg-map svg { cursor: crosshair; }
.pg-live #pg-geo .maplibregl-canvas-container { cursor: crosshair; }
.pgm-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--paper);
  opacity: 0.62;
  cursor: pointer;
  position: relative;
  transition: opacity 0.15s;
}
.pgm-dot:hover { opacity: 1; }
.pgm-origin, .pgm-featured { background: var(--sienna); opacity: 1; width: 13px; height: 13px; }
.pgm-label {
  position: absolute;
  left: 15px;
  top: -3px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  padding: 0 4px;
  white-space: nowrap;
  pointer-events: none;
}
.maplibregl-ctrl-attrib { font-size: 10px; background: color-mix(in srgb, var(--paper) 75%, transparent) !important; }

/* ---------- per-chapter locale maps ---------- */
.ch-geo-wrap { margin-top: 1.2rem; }
.ch-geo { height: 230px; border: 1px solid var(--hairline); background: var(--paper2); }
.ch-geo-wrap figcaption { margin-top: 0.6rem; font-size: 0.78rem; letter-spacing: 0.03em; color: var(--ink-soft); }
.chapter.dark .ch-geo { border-color: var(--cream-faint); }
.ch-geo .maplibregl-ctrl-attrib { font-size: 9px; }

/* ---------- mobile (additive only - desktop rules untouched) ---------- */
@media (max-width: 700px) {
  .site-nav { gap: 1rem; }
  .hero { padding: 5.5rem 1.25rem 3.5rem; }
  .hero-logo { font-size: clamp(3.4rem, 17vw, 5.2rem); }
  .hero-tag {
    position: static;
    display: block;
    margin-top: 1.1rem;
    text-align: center;
    font-size: 0.95rem;
  }
  .hero-line { margin-top: 2.8rem; font-size: 1.25rem; }
  .hero-cta { margin-top: 2.2rem; padding: 0.95rem 2.1rem; font-size: 0.98rem; }
  .hero-scroll { margin-top: 2rem; }

  .manifesto > .statement, .manifesto > .whatis, .manifesto-body { padding-inline: 1.25rem; }
  .unsw-logo { height: 56px; }

  .ladder { padding-inline: 1.25rem; }
  .rungs li { gap: 1.1rem; padding: 1.35rem 0; }
  .rung-no { min-width: 2rem; font-size: 1.3rem; }

  .chapter { padding-inline: 1.1rem; }
  .ch-head h2 { font-size: 2.5rem; }
  .ch-copy p { font-size: 1.08rem; }
  .ch-map { padding: 0.6rem; }
  .legs-board { font-size: 0.86rem; }
  .tl-leg .tl-icon { width: 26px; height: 26px; }
  .tl-icon svg { width: 15px; height: 15px; }

  .map-cta { padding-inline: 1.25rem; }
  .colophon { padding-inline: 1.25rem; }
}

/* Byline in the colophon: the work has an author, and the footer is where a
   reader looks for one. */
.colo-by {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.colo-by strong { color: var(--ink); font-weight: 600; }
/* Alternatives offered alongside the headline route on the live planner. */
.pd-alts { margin: 6px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.55; }
.pd-alts li { margin-bottom: 3px; }

/* Searching state for the live planner: a slow shuttle, because a remote query can
   genuinely take a minute and a static line reads as a hang. */
.pd-thinking { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.pd-thinking-track {
  position: relative; flex: 0 0 3px; height: 46px; margin-top: 2px;
  border-radius: 2px; background: rgba(0, 0, 0, 0.09); overflow: hidden;
}
.pd-thinking-track span {
  position: absolute; left: 0; width: 100%; height: 40%;
  border-radius: 2px; background: var(--sienna);
  animation: pd-shuttle 1.5s ease-in-out infinite;
}
@keyframes pd-shuttle {
  0%   { top: -40%; }
  50%  { top: 100%; }
  100% { top: -40%; }
}
.pd-thinking-text { margin: 0; font-size: 13.5px; line-height: 1.5; }
.pd-thinking-text small { color: var(--muted, #6b6b6b); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .pd-thinking-track span { animation: none; top: 0; height: 100%; opacity: 0.5; }
}
