/* ══════════════════════════════════════════════════════════════════
   Miliário — three days from the Tagus to Extremadura
   The page is a Roman road: a milestone rail down the left, and a
   palette that heats up as the route runs inland and east.
   ══════════════════════════════════════════════════════════════════ */

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

:root {
  color-scheme: light;

  /* Bleached stone, not cream. Cool enough to stay legible in hard sun. */
  --chalk:     #E6E4DC;
  --chalk-sub: #DCD9CF;
  --card:      #F3F2EC;
  /* Contrast ratios against --chalk, because this gets read outdoors in
     direct sun: ink 15.9:1, ink-2 7.1:1, ink-3 4.6:1. Nothing below AA. */
  --ink:       #16201A;
  --ink-2:     #414B46;
  --ink-3:     #5D6963;
  --rule:      rgba(22, 32, 26, .14);
  --rule-soft: rgba(22, 32, 26, .07);

  /* The three temperatures of the route. */
  --tagus:     #2E7A66;
  --straw:     #B9822A;
  --fire:      #B4402B;

  --accent:      var(--tagus);
  --accent-ink:  #1F5A4A;
  --accent-wash: rgba(46, 122, 102, .10);

  --rail: 74px;
  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1080px;

  --display: "Cinzel", "Optima", "Palatino Linotype", Georgia, serif;
  --body: "Spectral", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* --tagus/--straw/--fire stay bright for graphics (the heat bar). As *text*
   colours they need to be darker, so --accent carries the legible variant. */
[data-accent="tagus"] { --accent: #2E7A66; --accent-ink: #1F5A4A; --accent-wash: rgba(46,122,102,.11); }
[data-accent="straw"] { --accent: #9A6A16; --accent-ink: #7E5610; --accent-wash: rgba(185,130,42,.14); }
[data-accent="fire"]  { --accent: #B4402B; --accent-ink: #8E2E1D; --accent-wash: rgba(180,64,43,.11); }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:target, [id] { scroll-margin-top: 58px; } /* every anchor clears the sticky bar */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(16px, .55vw + 14.6px, 18px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono { font-family: var(--mono); font-size: .84em; letter-spacing: .01em; font-variant-numeric: tabular-nums; }

a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: var(--chalk);
  padding: 12px 18px; font-family: var(--mono); font-size: 13px;
}
.skip:focus { left: 12px; top: 12px; }

:where(a, button):focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─────────────────────────── top bar ─────────────────────────── */

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gut);
  background: color-mix(in srgb, var(--chalk) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}

.wordmark {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--ink);
}
.wordmark__mark { display: block; width: 13px; color: var(--accent-ink); transition: color .5s ease; }
.wordmark__mark svg { display: block; width: 100%; height: auto; }
.wordmark__text {
  font-family: var(--display); font-weight: 600;
  font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
}

.topnav { display: flex; gap: clamp(10px, 2vw, 26px); }
.topnav a {
  display: inline-flex; align-items: baseline; gap: 7px;
  text-decoration: none;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.topnav a:hover { color: var(--ink); }
.topnav a[aria-current="true"] { color: var(--ink); border-bottom-color: currentColor; }
.topnav__num {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: .04em;
}
@media (max-width: 460px) { .topnav a { font-size: 0; gap: 0; } .topnav__num { font-size: 14px; } }

/* ─────────────────────────── hero ─────────────────────────── */

.hero {
  padding: clamp(56px, 11vh, 132px) var(--gut) clamp(48px, 8vh, 96px);
  max-width: var(--maxw); margin-inline: auto;
}

.hero__eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
  color: var(--ink-3); text-transform: uppercase;
  display: flex; gap: 12px; align-items: center;
  margin-bottom: clamp(22px, 4vh, 40px);
}
.hero__eyebrow .dot { color: var(--accent); }

.hero__title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: -.005em;
  font-size: clamp(46px, 11.5vw, 132px);
}
.hero__line { display: block; }
.hero__line--alt {
  /* two thirds the scale of line one, so 14 characters occupy the same
     measure as 9 and the rule still has somewhere to run */
  font-size: .6em;
  font-weight: 500;
  letter-spacing: .015em;
  color: var(--ink-2);
  margin-top: .1em;
}

.hero__sub {
  margin-top: clamp(26px, 4vh, 42px);
  max-width: 46ch;
  font-size: clamp(17px, .6vw + 15.4px, 21px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-2);
}
.hero__sub::first-line { color: var(--ink); }

.hero__route {
  list-style: none; padding: 0;
  margin-top: clamp(28px, 5vh, 48px);
  display: flex; flex-wrap: wrap; gap: 10px 34px;
}
.hero__route li {
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  color: var(--ink-2);
  display: flex; align-items: baseline; gap: 9px;
}
.hero__routeday {
  font-family: var(--display); font-weight: 700; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.hero__route li:nth-child(1) .hero__routeday { color: var(--tagus); }
.hero__route li:nth-child(2) .hero__routeday { color: #7E5610; }
.hero__route li:nth-child(3) .hero__routeday { color: var(--fire); }

/* heat + elevation scale — states the palette thesis up front */
.hero__scale { margin-top: clamp(34px, 6vh, 60px); }
.scale__bar {
  height: 6px; border-radius: 99px; overflow: hidden;
  background: var(--chalk-sub);
}
.scale__fill {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--tagus), var(--straw) 52%, var(--fire));
  transform-origin: left center;
}
.scale__labels {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}
.scale__labels span:nth-child(2) { transform: translateX(-6%); }

/* ─────────────────────── essentials strip ─────────────────────── */

.essentials {
  border-block: 1px solid var(--rule);
  background: var(--chalk-sub);
  padding: clamp(34px, 6vh, 60px) var(--gut);
}
.essentials > * { max-width: var(--maxw); margin-inline: auto; }
.essentials__h {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 26px;
}
.essentials__grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--rule);
  border: 1px solid var(--rule);
}
.ess { background: var(--chalk-sub); padding: 22px clamp(18px, 2.4vw, 28px) 20px; }
.ess__k {
  font-family: var(--display); font-weight: 700;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 10px;
}
.essentials__grid .ess:nth-child(1) .ess__k { color: #1F5A4A; }
.essentials__grid .ess:nth-child(2) .ess__k { color: #7E5610; }
.essentials__grid .ess:nth-child(3) .ess__k { color: #8E2E1D; }
.ess__v { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); font-weight: 300; }
.ess__v strong { font-weight: 600; color: var(--ink); }
.ess__act {
  display: inline-block; margin-top: 14px;
  font-family: var(--mono); font-size: 14px; letter-spacing: .02em;
  color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
}
a.ess__act:hover { border-bottom-width: 3px; }
.ess__act--static { border-bottom: none; color: var(--ink-3); }
.ess__act--static .mono { color: var(--ink); }

/* ─────────────────────────── days ─────────────────────────── */

.day {
  padding: clamp(56px, 10vh, 116px) var(--gut) clamp(30px, 6vh, 66px);
  background: linear-gradient(180deg, var(--accent-wash), rgba(0,0,0,0) 360px);
  scroll-margin-top: 58px; /* clears the sticky bar on anchor jumps */
}
.day > * { max-width: var(--maxw); margin-inline: auto; }

.day__head {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr) auto;
  align-items: start;
  padding-bottom: clamp(22px, 4vh, 40px);
  border-bottom: 1px solid var(--rule);
}
.day__id { grid-column: 2; grid-row: 1; }
.day__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: .8;
  color: var(--accent);
  opacity: .55;
  letter-spacing: 0;
}
.day__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 5vw, 56px);
  line-height: .95; text-transform: uppercase; letter-spacing: .01em;
}
.day__date {
  margin-top: 12px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.tzflag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  background: var(--fire); color: #fff;
  padding: 2px 7px 3px; border-radius: 2px;
}
.day__strap {
  grid-column: 2 / -1;
  margin-top: 20px;
  max-width: 52ch;
  font-size: clamp(16px, .5vw + 15px, 19px);
  font-weight: 300; font-style: italic;
  color: var(--ink-2);
}

/* the two numbers that shape the day — heat and distance */
.day__stats {
  grid-column: 3; grid-row: 1;
  display: flex; gap: clamp(18px, 3vw, 40px);
  padding-left: 24px;
}
.stat { text-align: right; }
.stat b {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 3.2vw, 40px); line-height: 1;
  color: var(--accent);
}
.stat i {
  display: block; margin-top: 8px; font-style: normal;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap;
}

/* ──────────────────── the milestone rail ──────────────────── */

.stops {
  position: relative;
  padding-top: clamp(28px, 5vh, 52px);
}
/* the road itself */
.stops::before {
  content: "";
  position: absolute;
  left: calc(var(--rail) / 2 - 1px);
  top: 0; bottom: 46px;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    var(--rule) 0 6px,
    transparent 6px 12px
  );
}

.stop {
  position: relative;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  padding: clamp(18px, 3vh, 30px) 0;
}

.stop__marker {
  grid-column: 1;
  position: relative;
  width: 38px; height: 46px;
  display: grid; place-items: center;
  justify-self: start;
  margin-left: calc(var(--rail) / 2 - 19px);
  background: var(--accent-ink);
  /* a milestone: cylindrical, rounded cap, planted in the ground */
  border-radius: 19px 19px 3px 3px / 22px 22px 3px 3px;
  color: #fff;
  font-family: var(--display); font-weight: 700;
  font-size: 13px; letter-spacing: .02em;
  box-shadow: 0 1px 0 rgba(22,32,26,.25);
  transition: transform .5s cubic-bezier(.2,.8,.25,1), opacity .5s ease;
}
.stop__marker span { transform: translateY(1px); }
.stop--base .stop__marker {
  background: var(--card);
  color: var(--accent-ink);
  border: 1.5px solid var(--accent-ink);
  font-size: 17px;
}

.stop__body {
  grid-column: 2;
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: clamp(20px, 2.6vw, 30px) clamp(20px, 2.8vw, 34px) clamp(18px, 2.2vw, 26px);
}
.stop--base .stop__body {
  background: transparent;
  border-style: dashed;
  border-left-style: solid;
}
.stop--hero .stop__body { box-shadow: 0 18px 40px -28px rgba(22,32,26,.55); }

.stop__kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: 10px;
}
.stop__name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.05; text-transform: uppercase; letter-spacing: .01em;
}
.stop--hero .stop__name { font-weight: 700; font-size: clamp(26px, 3.4vw, 44px); }
.stop__desc {
  margin-top: 14px;
  max-width: 58ch;
  font-weight: 300;
  color: var(--ink-2);
}
.stop__desc strong { font-weight: 600; color: var(--ink); }

/* facts table */
/* Borders on the cells, not gaps in a coloured container — otherwise the
   empty tail of the last row reads as a missing fact. */
.facts {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--rule-soft);
}
.facts > div {
  padding: 11px 14px 12px;
  border-bottom: 1px solid var(--rule-soft);
  border-right: 1px solid var(--rule-soft);
}
.facts dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 4px;
}
.facts dd { margin: 0; font-size: 15px; line-height: 1.42; }
.facts dd a { color: var(--accent-ink); text-underline-offset: 3px; }

.stop__foot {
  margin-top: 20px; padding-top: 15px;
  border-top: 1px solid var(--rule-soft);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 20px; justify-content: space-between;
}
.coord {
  font-family: var(--mono); font-size: 12px; letter-spacing: .01em;
  color: var(--ink-3);
  background: none; border: 0; padding: 0;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: color .2s ease;
}
.coord:hover { color: var(--ink); }
.coord::after { content: " ⧉"; opacity: .6; }
.stop__acts { display: flex; flex-wrap: wrap; gap: 10px; }

.maplink {
  display: inline-block;
  font-family: var(--mono); font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--rule);
  padding: 9px 15px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.maplink:hover { background: var(--accent-ink); color: #fff; border-color: var(--accent-ink); }

/* Driving is the primary action on every location — one tap into Maps with
   directions already running, not a place page you then have to navigate from. */
.maplink--drive {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
}
.maplink--drive:hover { background: var(--ink); border-color: var(--ink); }
.maplink--drive span { margin-left: 4px; }
.maplink--place { color: var(--ink-2); }
.maplink--sm { font-size: 11px; padding: 7px 11px; }

/* whole-day route — every stop, in order, in one link */
.dayroute {
  grid-column: 2 / -1;
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px;
  padding: 13px 16px;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  transition: background .2s ease, border-color .2s ease;
}
.dayroute:hover { background: var(--chalk-sub); border-left-color: var(--accent-ink); }
.dayroute__k {
  flex: none;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink);
}
.dayroute__t {
  flex: 1;
  font-size: 15px; font-weight: 300; color: var(--ink-2);
}
.dayroute__a { flex: none; font-size: 17px; color: var(--accent-ink); }

/* leg between stops — the distance inscription */
.leg {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  align-items: center;
  color: var(--ink-3);
}
.leg__line {
  grid-column: 1;
  justify-self: center;
  width: 2px; height: 26px;
  background: var(--accent);
  opacity: .5;
}
.leg__val {
  grid-column: 2;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase;
  padding-left: 4px;
}
.leg--start .leg__line { height: 18px; }

/* ───────────────────── dispatch (the lucky find) ───────────────────── */

.dispatch {
  background: var(--ink);
  color: var(--chalk);
  padding: clamp(40px, 7vh, 78px) var(--gut);
}
.dispatch__inner { max-width: 760px; margin-inline: auto; }
.dispatch__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: #C9A227;
  margin-bottom: 20px;
}
.dispatch__body {
  font-size: clamp(19px, 1.35vw + 15px, 27px);
  line-height: 1.42; font-weight: 300;
  color: #F0EDE3;
}
.dispatch__body strong {
  font-family: var(--display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em;
  font-size: .94em; color: #fff;
}
.dispatch__body em { font-style: italic; color: #fff; }
.dispatch__meta {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(240,237,227,.2);
  font-size: 15px; font-weight: 300; line-height: 1.62;
  color: #BDBBAF;
}
.dispatch__meta .mono, .dispatch__meta a { color: #F0EDE3; }
.dispatch__caveat {
  margin-top: 16px;
  font-family: var(--mono); font-size: 12px; line-height: 1.65;
  color: #8E8C82;
}
.dispatch__caveat a { color: #BDBBAF; }

/* ──────────────────── warnings and asides ──────────────────── */

.warn {
  margin-top: 18px;
  padding: 14px 16px 15px;
  background: var(--chalk);
  border-left: 3px solid var(--accent);
  font-size: 15px; font-weight: 300; line-height: 1.55;
  color: var(--ink-2);
}
.stop--base .warn { background: var(--chalk-sub); }
.warn strong { font-weight: 600; color: var(--ink); }
.warn em { font-style: italic; }
.warn__k {
  display: block; margin-bottom: 5px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent-ink);
}
.warn--hard {
  background: var(--ink); color: #CFCEC4; border-left-color: var(--accent);
}
.warn--hard strong { color: #fff; }
.warn--hard .warn__k { color: #C9A227; }

.tag {
  display: inline-block;
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--rule);
  padding: 1px 5px 2px;
  vertical-align: 1px;
  white-space: nowrap;
}

.stop__tip {
  margin-top: 18px;
  font-size: 15.5px; font-weight: 300; line-height: 1.55;
  color: var(--ink-2);
  font-style: italic;
}
.stop__tip-k {
  font-family: var(--mono); font-style: normal;
  font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent-ink); margin-right: 10px;
}

/* ──────────────── the survey map (megaliths) ──────────────── */

.survey-section {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--chalk-sub);
  padding: clamp(48px, 9vh, 100px) var(--gut);
  --accent: var(--fire); --accent-ink: #8E2E1D;
}
.survey-section > * { max-width: var(--maxw); margin-inline: auto; }

.survey__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fire);
  margin-bottom: 18px;
}
.survey__h {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1; text-transform: uppercase; letter-spacing: .01em;
}
.survey__lede {
  margin-top: 20px; max-width: 56ch;
  font-size: clamp(16px, .5vw + 15px, 19px);
  font-weight: 300; color: var(--ink-2);
}

.survey__frame {
  margin-top: clamp(28px, 5vh, 46px);
  background: var(--card);
  border: 1px solid var(--rule);
  padding: clamp(10px, 2vw, 22px);
  overflow-x: auto;
}
.survey { display: block; width: 100%; min-width: 720px; height: auto; }

.survey__country { font-family: var(--mono); font-size: 13px; letter-spacing: .3em; fill: #8A887E; }
.survey__town { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; fill: #16201A; }
.survey__scale { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; fill: #414B46; }
.survey__grid { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; fill: #9B998F; }
.survey__n { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; font-weight: 500; }
.survey__site { cursor: pointer; }
.survey__site:hover .survey__n { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .survey__site g, .survey__site path { transition: opacity .2s ease; }
  .survey__frame:hover .survey__site { opacity: .45; }
  .survey__frame:hover .survey__site:hover { opacity: 1; }
}

.survey__key {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.survey__key span { display: inline-flex; align-items: center; gap: 8px; }
.survey__key svg { display: block; }

.survey__swatch {
  width: 11px; height: 11px; border-radius: 50%; display: block;
}
.survey__swatch--pt { background: #2E7A66; }
.survey__swatch--es { background: #B4402B; }

.survey__verdict {
  margin-top: clamp(26px, 4vh, 42px);
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--rule);
  border: 1px solid var(--rule);
}
.survey__verdict p {
  background: var(--chalk);
  padding: 20px clamp(16px, 2vw, 24px) 22px;
  font-size: 15px; font-weight: 300; line-height: 1.55; color: var(--ink-2);
}
.survey__verdict b {
  display: block; margin-bottom: 8px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: #8E2E1D;
}
.survey__verdict strong {
  font-family: var(--display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; color: var(--ink);
}

.survey__access {
  margin-top: 7px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.62;
  color: var(--ink-3);
}
.survey__access span {
  display: block; margin-bottom: 3px;
  color: var(--ink-2);
  letter-spacing: .06em; text-transform: uppercase;
}

.survey__off {
  margin-top: clamp(26px, 4vh, 40px);
  padding: 20px 0 0;
  border-top: 1px solid var(--rule);
  max-width: 78ch;
  font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--ink-2);
}
.survey__off strong { font-weight: 600; color: var(--ink); }
.survey__off a { font-family: var(--mono); font-size: .88em; color: var(--ink-3); }
.survey__off-k {
  display: block; margin-bottom: 8px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .15em; text-transform: uppercase; color: #8E2E1D;
}

.survey__index {
  margin-top: clamp(30px, 5vh, 50px);
  display: grid; gap: 0 clamp(24px, 4vw, 54px);
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  list-style: none; padding: 0;
}
.survey__index li {
  display: grid; grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.survey__index b {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em;
}
.survey__index .pt b { color: var(--tagus); }
.survey__index .es b { color: var(--fire); }
.survey__index h4 {
  font-family: var(--display); font-weight: 600;
  font-size: 16px; text-transform: uppercase; letter-spacing: .03em;
  margin: 0 0 3px;
}
.survey__index p {
  font-size: 14.5px; font-weight: 300; line-height: 1.5; color: var(--ink-2);
}
.survey__index li > div > .maplink { margin-top: 10px; }
.survey__index .pt .maplink--drive { background: #1F5A4A; border-color: #1F5A4A; }
.survey__index .es .maplink--drive { background: #8E2E1D; border-color: #8E2E1D; }
.survey__index .maplink--drive:hover { background: var(--ink); border-color: var(--ink); }
.coord--sm { display: block; margin-top: 9px; font-size: 11px; }

/* ──────────────── what else is on this weekend ──────────────── */

.onnow {
  padding: clamp(48px, 9vh, 100px) var(--gut);
  background: var(--chalk);
  border-top: 1px solid var(--rule);
}
.onnow > * { max-width: var(--maxw); margin-inline: auto; }
.onnow__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 16px;
}
.onnow__h {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1; text-transform: uppercase; letter-spacing: .01em;
}
.onnow__lede {
  margin-top: 18px; max-width: 56ch;
  font-size: clamp(16px, .5vw + 15px, 19px);
  font-weight: 300; color: var(--ink-2);
}
.onnow__list {
  list-style: none; padding: 0;
  margin-top: clamp(28px, 5vh, 46px);
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  background: var(--rule);
  border: 1px solid var(--rule);
}
.ev {
  background: var(--card);
  padding: 22px clamp(18px, 2.2vw, 26px) 24px;
  display: flex; flex-direction: column;
}
.ev--pick { background: var(--ink); color: #EDEAE0; }
.ev__when {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 12px;
}
.ev--pick .ev__when { color: #C9A227; }
.ev__name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.12; text-transform: uppercase; letter-spacing: .02em;
}
.ev--pick .ev__name { color: #fff; }
.ev__desc {
  margin-top: 11px;
  font-size: 15px; font-weight: 300; line-height: 1.52;
  color: var(--ink-2);
  flex: 1;
}
.ev--pick .ev__desc { color: #C6C3B8; }
.ev__meta {
  margin-top: 16px; padding-top: 13px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--mono); font-size: 11.5px; line-height: 1.6;
  color: var(--ink-3);
}
.ev--pick .ev__meta { border-top-color: rgba(237,234,224,.2); color: #A5A297; }
.ev__verdict {
  display: inline-block; margin-top: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--rule); padding: 3px 8px;
}
.ev--pick .ev__verdict { color: #16201A; background: #C9A227; border-color: #C9A227; }

/* ───────────────────── call-before-you-go ───────────────────── */

.check {
  border-top: 1px solid var(--rule);
  background: var(--chalk-sub);
  padding: clamp(40px, 7vh, 76px) var(--gut);
}
.check__inner { max-width: var(--maxw); margin-inline: auto; }
.check__h {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  text-transform: uppercase; letter-spacing: .02em;
  margin-bottom: 26px;
}
.check__list { list-style: none; padding: 0; margin: 0; }
.check__list li {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 14px; align-items: baseline;
  padding: 15px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px; font-weight: 300; color: var(--ink-2);
}
.check__list li:last-child { border-bottom: 1px solid var(--rule); }
.check__n {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .1em; color: #8E2E1D;
}
.check__list a { color: var(--ink); text-underline-offset: 3px; }

.scale__note {
  margin-top: 16px; max-width: 60ch;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.7;
  color: var(--ink-3);
}

/* ─────────────────────────── foot ─────────────────────────── */

.foot {
  border-top: 1px solid var(--rule);
  margin-top: clamp(40px, 7vh, 80px);
  padding: clamp(40px, 7vh, 76px) var(--gut) clamp(48px, 8vh, 90px);
  text-align: center;
}
.foot__line {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(13px, 1.5vw, 17px);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.9;
}
.foot__meta {
  margin-top: 18px;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}

/* ─────────────────────────── toast ─────────────────────────── */

.toast {
  position: fixed; left: 50%; bottom: 26px;
  transform: translate(-50%, 20px);
  background: var(--ink); color: var(--chalk);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em;
  padding: 11px 18px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 40;
}
.toast[data-show="1"] { opacity: 1; transform: translate(-50%, 0); }

/* ─────────────────────── reveal on scroll ─────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .stop__body, .leg { opacity: 0; transform: translateY(14px); }
  .stop .stop__marker { opacity: 0; transform: translateY(10px) scale(.9); }
  .is-in .stop__body, .is-in.leg { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.25,1); }
  .is-in .stop__marker { opacity: 1; transform: none; }
  .stop.is-in .stop__body { transition-delay: .08s; }
}

/* ─────────────────────────── narrow ─────────────────────────── */

@media (max-width: 600px) {
  /* three labels under one bar collide here; the endpoints carry the idea */
  .scale__labels span:nth-child(2) { display: none; }
}

@media (max-width: 720px) {
  :root { --rail: 44px; }
  .stop__marker { width: 30px; height: 37px; margin-left: calc(var(--rail) / 2 - 15px); border-radius: 15px 15px 3px 3px / 18px 18px 3px 3px; font-size: 11px; }
  .stop--base .stop__marker { font-size: 14px; }
  .day__head { grid-template-columns: 1fr auto; }
  .day__num { grid-column: 1; margin-bottom: 8px; }
  .day__id { grid-column: 1; grid-row: 2; }
  .day__stats { grid-column: 2; grid-row: 1 / span 2; align-self: end; padding-left: 16px; }
  .day__strap { grid-column: 1 / -1; grid-row: 3; }
  .check__list li { grid-template-columns: 34px 1fr; gap: 10px; }
  .stop__foot { justify-content: flex-start; }
  .hero__line--alt { white-space: normal; }
  .hero__line--alt::after { display: none; }
}

@media print {
  .topbar, .toast, .skip, .hero__scale { display: none; }
  body { background: #fff; }
  .stop__body, .leg, .stop__marker { opacity: 1 !important; transform: none !important; }
  .day { background: none; page-break-inside: avoid; }
}

@media (max-width: 720px) {
  .dayroute { grid-column: 1 / -1; }
}
