:root {
  --blue-950: #253542;
  --blue-800: #344b5e;
  --blue-650: #50697c;
  --blue-300: #aab9c3;
  --blue-150: #d9e0e4;
  --paper: #eef0ef;
  --paper-deep: #e2e6e7;
  --ink: #1c2932;
  --white: #f9fbfa;
  --rust: #b35d45;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

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

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 1.4rem;
  color: var(--white);
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,.07) 8% 8.3%, transparent 8.3%),
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.09) 0 1px, transparent 1.5px),
    linear-gradient(150deg, var(--blue-650), var(--blue-950) 68%);
  background-size: auto, 19px 19px, auto;
}

.topbar,
.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.nav-action,
.scroll-cue {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-action {
  padding: .65rem .8rem;
  border: 1px solid rgba(255,255,255,.48);
}

.hero-copy {
  width: 100%;
  max-width: 44rem;
  margin: auto;
}

.eyebrow,
.stop-kicker {
  margin: 0 0 .65rem;
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
.closing {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .92;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(4.4rem, 23vw, 8.5rem);
}

h1 em { font-weight: 400; }

.lead {
  max-width: 34rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  line-height: 1.42;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin: 2.5rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.35);
}

.facts dt {
  font-size: .61rem;
  letter-spacing: .11em;
  opacity: .65;
  text-transform: uppercase;
}

.facts dd {
  margin: .15rem 0 0;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.25;
}

.scroll-cue {
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.35);
}

.intro {
  padding: 5rem 1.25rem 4rem;
  background: var(--paper-deep);
}

.intro > * { max-width: 43rem; }

.intro h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(4rem, 19vw, 7rem);
}

.intro > p:last-of-type {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.17rem;
}

.orientation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(28,41,50,.3);
  color: var(--blue-650);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.journey {
  --street-x: 4.2rem;
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem 1rem 7rem 6.7rem;
}

.street {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--street-x);
  width: 1px;
  background: rgba(80,105,124,.28);
}

.street::before,
.street::after {
  position: absolute;
  left: 50%;
  width: .55rem;
  height: .55rem;
  border: 1px solid var(--blue-650);
  background: var(--paper);
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

.street::before { top: 0; }
.street::after { top: 100%; }

.street-name {
  position: sticky;
  top: 1.2rem;
  display: block;
  width: max-content;
  margin-left: -1.1rem;
  padding: .4rem .15rem;
  color: var(--blue-650);
  background: var(--paper);
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .17em;
  writing-mode: vertical-rl;
}

.cross-streets {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--street-x);
  margin: 0;
  padding: 0;
  color: var(--blue-650);
  list-style: none;
  pointer-events: none;
}

.cross-streets li {
  position: absolute;
  right: 0;
  left: 0;
  padding-right: .75rem;
  font-size: .46rem;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.08;
  text-align: right;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.cross-streets li::after {
  position: absolute;
  top: 50%;
  right: -.3rem;
  width: .75rem;
  height: 1px;
  background: var(--blue-650);
  content: "";
}

.route-parts {
  position: absolute;
  z-index: 0;
  top: 7rem;
  bottom: 7rem;
  left: var(--street-x);
  display: grid;
  width: 2.15rem;
  margin: 0;
  padding: 0;
  grid-template-rows: repeat(3, 1fr);
  color: var(--blue-650);
  list-style: none;
  pointer-events: none;
}

.route-parts li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .65rem .25rem;
  border-bottom: 1px solid rgba(80,105,124,.28);
  border-left: 3px solid currentColor;
  font-size: .42rem;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.route-parts li:nth-child(2) { color: var(--rust); }
.route-parts li:nth-child(3) { color: var(--blue-950); }
.route-parts li:last-child { border-bottom: 0; }

.walkers {
  position: absolute;
  z-index: 3;
  top: 0;
  left: calc(var(--street-x) - 2.45rem);
  width: 4.9rem;
  height: 7.1rem;
  will-change: transform;
  pointer-events: none;
}

.walker-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(37,53,66,.18));
  opacity: 0;
  transition: opacity .18s ease;
}

.walker-image.is-active { opacity: 1; }

.stop {
  position: relative;
  min-height: 80svh;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(28,41,50,.22);
}

.stop-final { min-height: 90svh; }

.stop-dot {
  position: absolute;
  top: 6rem;
  left: calc(-2.5rem - 6px);
  width: 13px;
  height: 13px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--blue-800);
  box-shadow: 0 0 0 1px var(--blue-800);
}

.stop-heading { margin-bottom: 2.1rem; }

.stop-kicker { color: var(--rust); }

.stop h2 {
  margin: 0 0 1.1rem;
  color: var(--blue-950);
  font-size: clamp(3.1rem, 14vw, 5.6rem);
}

.stop-heading > p:last-child {
  max-width: 32rem;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.audio-card {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  align-items: center;
  gap: .9rem;
  margin-top: 1.25rem;
  padding: .85rem;
  color: var(--white);
  background: var(--blue-800);
  box-shadow: 0 .25rem 1rem rgba(37,53,66,.12);
}

.audio-card audio { display: none; }

.play {
  width: 4.2rem;
  height: 4.2rem;
  border: 0;
  border-radius: 50%;
  color: var(--blue-950);
  background: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.play:active { transform: scale(.95); }
.play:hover { background: var(--blue-150); }
.play:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
.play-icon { display: inline-block; margin-left: .15rem; }
.audio-card.is-playing .play-icon { margin-left: 0; }

.audio-body { min-width: 0; }

.audio-title {
  display: flex;
  justify-content: space-between;
  gap: .65rem;
  margin-bottom: .7rem;
  font-size: .78rem;
  line-height: 1.25;
}

.audio-title strong { font-weight: 800; }
.duration { opacity: .7; font-variant-numeric: tabular-nums; }

.seek {
  --progress: 0%;
  display: block;
  width: 100%;
  height: 1.5rem;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.seek::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(to right, var(--white) var(--progress), rgba(255,255,255,.28) var(--progress));
}

.seek::-moz-range-track { height: 3px; background: rgba(255,255,255,.28); }
.seek::-moz-range-progress { height: 3px; background: var(--white); }
.seek::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -5.5px;
  border: 0;
  border-radius: 50%;
  appearance: none;
  background: var(--white);
}
.seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--white); }

.quote {
  margin: .65rem 0 1.8rem;
  border-bottom: 1px solid rgba(28,41,50,.25);
}

.quote summary {
  padding: .75rem 0;
  color: var(--blue-800);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  list-style: none;
  text-transform: uppercase;
}

.quote summary::-webkit-details-marker { display: none; }
.quote summary::after { float: right; content: "+"; font-size: 1rem; line-height: .8; }
.quote[open] summary::after { content: "−"; }

.quote blockquote {
  margin: .25rem 0 1.5rem;
  color: #33454f;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.58;
}

.quote-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.quote-dialog::backdrop {
  background: rgba(25,38,47,.66);
  backdrop-filter: blur(2px);
}

.quote-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-dialog-panel {
  width: 100%;
  max-width: 42rem;
  max-height: min(76svh, 42rem);
  overflow: auto;
  border-top: 4px solid var(--rust);
  background: var(--paper);
  box-shadow: 0 -1rem 3rem rgba(25,38,47,.24);
}

.quote-dialog-close {
  position: sticky;
  z-index: 1;
  top: .75rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin: .75rem .75rem -.5rem auto;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(28,41,50,.22);
  border-radius: 50%;
  color: var(--blue-800);
  background: var(--paper);
  cursor: pointer;
}

.quote-dialog-close span {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.quote-dialog-content {
  margin: 0;
  padding: 1.25rem 1.2rem 2rem;
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.62;
}

footer {
  padding: 5rem 1.25rem 2rem;
  color: var(--white);
  background: var(--blue-950);
}

.closing {
  margin: 0 0 4rem;
  font-size: clamp(3rem, 14vw, 6rem);
}

.closing em { font-weight: 400; }

footer a {
  display: block;
  padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.35);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (min-width: 720px) {
  .quote-dialog {
    padding: 2rem;
  }

  .quote-dialog-panel {
    border-radius: .2rem;
    box-shadow: 0 1rem 3rem rgba(25,38,47,.3);
  }

  .hero,
  .intro,
  footer { padding-right: 3rem; padding-left: 3rem; }

  .hero-copy,
  .intro > * { margin-right: auto; margin-left: auto; }

  .journey {
    --street-x: 8rem;
    padding-right: 3rem;
    padding-left: 12.5rem;
  }

  .stop-dot { left: calc(-4.5rem - 6px); }
  .audio-card { grid-template-columns: 4.8rem 1fr; padding: 1rem; }
  .play { width: 4.8rem; height: 4.8rem; }
  .walkers {
    left: calc(var(--street-x) - 2.8rem);
    width: 5.6rem;
    height: 8.1rem;
  }
  .cross-streets li { padding-right: 1.05rem; font-size: .56rem; }
  .route-parts { width: 3rem; }
  .route-parts li { font-size: .51rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play { transition: none; }
  .walkers { display: none; }
}
