:root {
  color-scheme: light;
  --paper: #f3f1e8;
  --ink: #192e2c;
  --muted: #415d55;
  --rule: #b9c1af;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 "Geist", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, .wordmark { font-family: "Instrument Serif", Georgia, serif; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.masthead, .footer { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1.3rem; }
.masthead { border-bottom: 1px solid var(--rule); }
.wordmark { font-size: 1.55rem; font-weight: bold; text-decoration: none; }
.intro { display: grid; grid-template-columns: 3fr 2fr; align-items: end; gap: 2rem; padding-block: clamp(3rem, 8vw, 7rem) 2.25rem; }
.intro h1 { font-size: clamp(3.5rem, 10vw, 8rem); line-height: .86; font-weight: normal; letter-spacing: -.055em; }
.intro p { max-width: 24rem; padding-block: 1rem .1rem; font-size: clamp(1.05rem, 2vw, 1.45rem); color: var(--muted); }
.cover img { aspect-ratio: 2.05; object-fit: cover; object-position: center 45%; }
.cover figcaption { margin-top: .65rem; color: var(--muted); font-size: .82rem; }
.routes { padding-block: clamp(2.5rem, 6vw, 5rem); }
.routes h2 { margin-bottom: 1rem; font-size: clamp(2.2rem, 4.4vw, 3.7rem); font-weight: normal; letter-spacing: -.035em; }
.routes article { display: grid; grid-template-columns: 2fr 3fr; gap: 1rem 2.5rem; border-top: 1px solid var(--rule); padding-block: 1.6rem; }
.routes h3 { font-size: clamp(1.55rem, 3.3vw, 2.45rem); line-height: 1.1; font-weight: normal; }
.distance { margin-top: .55rem; color: var(--muted); font-size: .93rem; }
.routes article p + p { margin-top: .7rem; }
.source { display: inline-block; margin-top: .9rem; }
.footer { border-top: 1px solid var(--rule); color: var(--muted); }
.footer p { font-size: .85rem; }

@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .intro, .routes article { grid-template-columns: 1fr; gap: .85rem; }
  .cover img { aspect-ratio: 4 / 3; }
}
