:root {
  --ink: #1c1712;
  --ink-soft: #4f453a;
  --paper: #f3eadb;
  --paper-deep: #e9decb;
  --rule: rgba(28, 23, 18, 0.16);
  --dune: #c4512c;
  --dune-deep: #a8401f;
  --bone: #f7f1e6;
  --fog: #a59c8f;
  --night: #14110e;
  --night-2: #221c17;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --bar: 3.4rem;
  --gutter: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--dune); outline-offset: 3px; }

/* The page carries its text in Italian and English. Only the language named
   on the <html> element is shown. */
html[lang="it"] [lang="en"], html[lang="en"] [lang="it"] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
}
.skip:focus { top: 12px; }

.narrow {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.night {
  background: var(--night);
  color: var(--bone);
}
.kicker {
  margin-bottom: 12px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dune);
}
.night .kicker, .confirm .kicker, .sky .kicker { color: #eba88f; }
.hero .kicker { color: var(--bone); text-shadow: 0 1px 12px rgba(20, 17, 14, 0.7); }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 7.4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--dune);
  border-radius: 999px;
  background: var(--dune);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.button:hover { background: var(--dune-deep); border-color: var(--dune-deep); }
.button.ghost {
  background: rgba(20, 17, 14, 0.35);
  border-color: rgba(247, 241, 230, 0.7);
  color: var(--bone);
}
.button.ghost:hover { background: rgba(20, 17, 14, 0.6); }
.button.small { min-height: 44px; padding: 0 18px; font-size: 0.92rem; }

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* While the language changes, nothing fades and nothing is shifted, so that
   the page can be measured and put back where the reader was. */
.js.is-switching .reveal { transition: none; transform: none; }

.photo-credit, .credit {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}
.photo-credit {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  color: rgba(247, 241, 230, 0.72);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.photo-credit a, .credit a { text-decoration-color: rgba(128, 128, 128, 0.5); }

/* Top bar */

.bar {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--bar) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  --bar-ink: var(--bone);
  --bar-ground: var(--night);
  color: var(--bar-ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.bar.is-solid {
  --bar-ink: var(--ink);
  --bar-ground: var(--paper);
  background: rgba(243, 234, 219, 0.94);
  box-shadow: 0 1px 0 var(--rule);
}
@supports (backdrop-filter: blur(8px)) {
  .bar.is-solid { background: rgba(243, 234, 219, 0.8); backdrop-filter: blur(12px); }
}
.bar-brand { text-decoration: none; white-space: nowrap; }
.bar-now {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--dune);
}
.lang-switch {
  flex: none;
  display: flex;
  border: 1px solid var(--bar-ink);
  border-radius: 999px;
  overflow: hidden;
}
html:not(.js) .lang-switch { display: none; }
.lang-switch button {
  min-width: 40px;
  height: 32px;
  padding: 0 0 0 0.16em;
  border: 0;
  background: none;
  color: var(--bar-ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--bar-ink); color: var(--bar-ground); }
.lang-switch button:focus-visible { outline-offset: -3px; }
/* On a narrow phone there is no room for the name of the site, the name of
   the stop and the language switch, so the name of the site gives way. */
@media (max-width: 520px) {
  .bar.has-now .bar-brand { display: none; }
  .bar.has-now .bar-now { margin-left: 0; margin-right: auto; }
}
@media (max-width: 360px) {
  .bar { gap: 10px; letter-spacing: 0.1em; }
  .lang-switch button { min-width: 34px; letter-spacing: 0.1em; padding-left: 0.1em; }
}
.bar-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 3px;
  padding: 0 var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.bar.is-solid.has-track .bar-track { opacity: 1; pointer-events: auto; }
.bar-track a {
  position: relative;
  flex: 1;
  height: 16px;
}
.bar-track a::before, .bar-track i {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
}
.bar-track a::before { background: rgba(28, 23, 18, 0.14); }
.bar-track i {
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Hero */

.hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: var(--night);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 17, 14, 0.38) 0%, rgba(20, 17, 14, 0) 22%, rgba(20, 17, 14, 0) 34%, rgba(20, 17, 14, 0.55) 62%, rgba(20, 17, 14, 0.88) 100%);
}
.hero-text {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 var(--gutter) 22px;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4.4rem, 22vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}
.hero-dates {
  margin-top: 18px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.hero-lede {
  max-width: 30rem;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.35;
  color: rgba(247, 241, 230, 0.92);
}
.hero-cue {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 6px var(--gutter) 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(247, 241, 230, 0.85);
}

/* The idea */

.idea { padding: 64px 0 72px; scroll-margin-top: env(safe-area-inset-top); }
.idea-text {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.45;
}
.idea-text + .idea-text { margin-top: 1em; }
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 20px;
  margin-top: 40px;
}
.stats li {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 11vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--dune);
}
.stats span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 0.95rem; }

/* The dates */

.dates { padding: 72px 0 76px; }
.dates-lede {
  margin-top: 18px;
  color: #d8cdbc;
  font-size: 1.05rem;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 30px;
}
.cal-head {
  padding-bottom: 4px;
  text-align: center;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
}
.cal-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 5px 7px;
  border-radius: 6px;
  background: var(--c);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
a.cal-day:hover, a.cal-day:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5); }
.cal-day.is-out {
  background: none;
  border: 1px solid rgba(247, 241, 230, 0.14);
  color: rgba(247, 241, 230, 0.32);
}
.cal-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 4.6vw, 1.5rem);
  line-height: 1;
}
.cal-month {
  position: absolute;
  top: 5px;
  left: 7px;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cal-moon, .legend-moon i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 0 1.5px var(--bone);
}
.cal-moon { position: absolute; top: 6px; right: 6px; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: #d8cdbc;
}
.legend a, .legend span { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.legend a:hover { color: var(--bone); text-decoration: underline; }
.legend i { width: 11px; height: 11px; border-radius: 3px; background: var(--c); }
.legend-moon i { border-radius: 50%; }

.dates-why {
  margin-top: 56px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.reasons li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(247, 241, 230, 0.14);
}
.reasons li:first-child { margin-top: 18px; }
.reasons svg { width: 44px; height: 44px; color: #eba88f; }
.reasons h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.2;
}
.reasons p { margin-top: 6px; color: #d8cdbc; }
.dates-cta { margin-top: 30px; }

/* The route */

.route {
  background: var(--night-2);
  color: var(--bone);
  padding: 64px 0 40px;
}
.route-head { padding: 0 var(--gutter); max-width: 62rem; margin: 0 auto; width: 100%; }
.route-head .kicker { color: #eba88f; }
.route-hint { margin-top: 8px; color: var(--fog); font-size: 0.9rem; }
.route-key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 10px;
  color: #d8cdbc;
  font-size: 0.82rem;
}
.route-key span { display: inline-flex; align-items: center; gap: 8px; }
.route-key svg { width: 34px; height: 8px; }
.route-key line { stroke: var(--dune); stroke-width: 3; stroke-linecap: round; }
.route-key .is-air { stroke-width: 2.5; stroke-dasharray: 5 6; }
.route-stage { max-width: 62rem; margin: 0 auto; width: 100%; padding: 0 var(--gutter); }
.route-map svg { display: block; width: 100%; height: 100%; max-height: 70vh; }
.land-solid, .land-clear { stop-color: #3a3028; }
.land-clear { stop-opacity: 0; }
.route-map .ghost {
  fill: none;
  stroke: rgba(247, 241, 230, 0.22);
  stroke-width: 3;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
}
.route-map .drawn {
  fill: none;
  stroke: var(--dune);
  stroke-width: 6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.route-map .drawn.is-air { stroke-width: 4.5; stroke-dasharray: 9 11; }
.route-map .place circle { fill: rgba(247, 241, 230, 0.4); transition: fill 0.3s; }
.route-map .place text {
  fill: rgba(247, 241, 230, 0.4);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: fill 0.3s;
}
.route-map .place.is-reached circle { fill: var(--bone); }
.route-map .place.is-reached text { fill: #d8cdbc; }
.route-map .stop-hit { fill: transparent; }
.route-map .stop-dot {
  fill: var(--night-2);
  stroke: rgba(247, 241, 230, 0.55);
  stroke-width: 3;
  transition: fill 0.3s, stroke 0.3s, r 0.3s;
}
.route-map .stop text {
  fill: rgba(247, 241, 230, 0.5);
  font-family: var(--sans);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: fill 0.3s;
}
.route-map .stop.is-reached .stop-dot { fill: var(--c); stroke: var(--bone); }
.route-map .stop.is-reached text { fill: var(--bone); }
.route-map .stop.is-active .stop-dot { r: 13px; }
.route-map .traveller { fill: var(--bone); stroke: var(--dune); stroke-width: 4; }
.route.is-static .traveller { display: none; }
.route.is-static .route-hint, html:not(.js) .route { display: none; }

.route-step a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 14px 0 14px 16px;
  border-left: 4px solid var(--c);
  text-decoration: none;
}
.route-step strong {
  grid-column: 1;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.step-count {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--fog);
}
.step-when {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #eba88f;
}
.step-text { grid-column: 1 / -1; margin-top: 4px; color: #d8cdbc; }
.route.is-static .route-step { margin-top: 10px; }

.route.is-scrolly {
  height: calc(100svh + var(--legs, 5) * 62svh);
  padding: 0;
}
.route.is-scrolly .route-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--bar) + env(safe-area-inset-top) + 22px) 0 18px;
}
.route.is-scrolly .route-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.route.is-scrolly .route-map { flex: 1; min-height: 0; }
.route.is-scrolly .route-map svg { max-height: none; }
.route.is-scrolly .route-steps {
  position: relative;
  flex: none;
  height: 9.6rem;
}
.route.is-scrolly .route-step {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s;
}
.route.is-scrolly .route-step.is-active { opacity: 1; transform: none; pointer-events: auto; }

/* Chapters */

.chapter { scroll-margin-top: 0; padding-bottom: 68px; }
.cover {
  position: relative;
  height: 88svh;
  min-height: 460px;
  overflow: hidden;
  background: var(--night);
  color: var(--bone);
  display: flex;
  align-items: flex-end;
}
.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
}
.when-tall { display: none; }
@media (orientation: portrait) {
  .cover img { object-position: var(--pos-tall, var(--pos, center)); }
  .when-tall { display: block; }
  .when-wide { display: none; }
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 17, 14, 0.3) 0%, rgba(20, 17, 14, 0) 24%, rgba(20, 17, 14, 0) 42%, rgba(20, 17, 14, 0.88) 100%);
}
.cover-text {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 var(--gutter) 44px;
}
.cover-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--c);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cover h2 { font-size: clamp(2.7rem, 12vw, 6rem); line-height: 0.95; }
.cover-meta {
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.chapter-body { padding-top: 34px; }
.chapter-intro {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.42;
}

.leg {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
  padding: 14px 18px 14px 14px;
  border-radius: 8px;
  background: var(--paper-deep);
}
.mini-map { width: 74px; height: auto; display: block; }
.mini-map .land { fill: #d6c6a8; }
.mini-map .ghost { fill: none; stroke: rgba(28, 23, 18, 0.28); stroke-width: 5; stroke-dasharray: 4 12; stroke-linecap: round; }
.mini-map .leg-line { fill: none; stroke: var(--dune); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.mini-map .leg-line.is-air { stroke-width: 10; stroke-dasharray: 14 22; }
.mini-map .leg-from { fill: var(--paper); stroke: var(--dune); stroke-width: 5; }
.mini-map .leg-to { fill: var(--dune); stroke: var(--paper); stroke-width: 5; }
.leg-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.leg-figures {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  margin-top: 4px;
  font-family: var(--serif);
  line-height: 1.15;
}
.leg-figures strong { font-weight: 500; font-size: 2rem; letter-spacing: -0.02em; }
.leg-figures span { font-size: 1.25rem; color: var(--ink-soft); }
.leg-road { margin-top: 4px; font-size: 0.92rem; color: var(--ink-soft); }

.flight {
  display: grid;
  gap: 0;
  margin-top: 26px;
  padding: 18px;
  border-radius: 8px;
  background: var(--paper-deep);
}
.flight-stop {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  align-items: baseline;
  gap: 0 12px;
}
.flight-stop strong {
  grid-row: span 2;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.01em;
}
.flight-place { font-weight: 600; }
.flight-note { grid-column: 2; font-size: 0.9rem; color: var(--ink-soft); }
.flight-leg {
  margin: 6px 0 6px 1.2rem;
  padding: 10px 0 10px 1.8rem;
  border-left: 2px dashed var(--dune);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dune);
}

.days { margin-top: 34px; }
.day {
  position: relative;
  display: grid;
  grid-template-columns: 3.3rem 1fr;
  gap: 16px;
  padding-bottom: 30px;
  scroll-margin-top: calc(var(--bar) + env(safe-area-inset-top) + 30px);
}
.day::before {
  content: "";
  position: absolute;
  left: 1.65rem;
  top: 4.2rem;
  bottom: 4px;
  width: 1px;
  background: var(--rule);
}
.day:last-child::before { display: none; }
.day:last-child { padding-bottom: 0; }
.day-date {
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 0 8px;
  border-radius: 8px;
  background: var(--c);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}
.day-date strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.day-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.day-body p { margin-top: 8px; color: var(--ink-soft); }
.day-body .fact {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--c);
  border-radius: 0 8px 8px 0;
  background: var(--paper-deep);
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.4;
  color: var(--ink);
}
.fact-label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dune);
}
:target > .day-body h3 { color: var(--dune); }

.gallery { margin-top: 44px; }
.gallery-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - 44rem) / 2 + var(--gutter)));
  scroll-padding: 0 max(var(--gutter), calc((100vw - 44rem) / 2 + var(--gutter)));
}
.gallery-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 min(84vw, 640px);
  scroll-snap-align: start;
}
.slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  background: var(--paper-deep);
}
.slide figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--ink);
}
.slide .credit { color: var(--ink-soft); }
.gallery-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 44rem;
  margin: 12px auto 0;
  padding: 0 var(--gutter);
  color: var(--ink-soft);
  font-size: 0.8rem;
}
.gallery-nav {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.gallery-nav:disabled { opacity: 0.3; cursor: default; }
.gallery-count { font-weight: 600; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
.gallery-hint { margin-left: auto; letter-spacing: 0.06em; }
@media (hover: hover) and (pointer: fine) {
  .gallery-nav { display: inline-flex; }
  .gallery-hint { display: none; }
}

.asks { margin-top: 44px; }
.asks-label {
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dune);
}
.ask {
  border-radius: 8px;
  background: var(--paper-deep);
}
.ask + .ask { margin-top: 8px; }
.ask summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 16px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.25;
}
.ask summary::-webkit-details-marker { display: none; }
.ask summary svg { flex: none; color: var(--dune); transition: transform 0.25s; }
.ask[open] summary svg { transform: rotate(45deg); }
.ask p { padding: 0 18px 18px; color: var(--ink-soft); }
.ask[open] p { animation: open 0.35s ease; }
@keyframes open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.sky {
  position: relative;
  margin-top: 56px;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #070b1a;
  color: var(--bone);
}
.sky > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
}
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 11, 26, 0) 30%, rgba(7, 11, 26, 0.9) 82%);
}
.sky-text {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
}
.sky h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.sky p { margin-top: 14px; font-size: 1.08rem; color: #dfe2ee; }
.sky .credit { display: block; margin-top: 16px; color: rgba(223, 226, 238, 0.7); }

.interlude { padding: 84px 0 88px; }
.interlude-figure { display: flex; flex-direction: column; }
.interlude-figure strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4.6rem, 24vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--c);
}
.interlude-figure span {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
}
.interlude-text {
  max-width: 34rem;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.4;
}

/* Good to know */

.practical { padding: 76px 0 80px; border-top: 1px solid var(--rule); }
.practical-lede { margin: 16px 0 26px; color: var(--ink-soft); }
.practical details { border-top: 1px solid var(--rule); }
.practical details:last-of-type { border-bottom: 1px solid var(--rule); }
.practical summary {
  position: relative;
  padding: 18px 40px 18px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.3rem;
}
.practical summary::-webkit-details-marker { display: none; }
.practical summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--dune);
  border-bottom: 2px solid var(--dune);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.practical details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.practical details > div { padding: 0 0 20px; animation: open 0.35s ease; }
.practical details p + p { margin-top: 0.8em; }
.practical details p, .practical details li { color: var(--ink-soft); }
.practical details a { color: var(--dune-deep); }
.practical .sources summary { font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft); }
.practical .sources ul { padding-left: 1.1rem; list-style: disc; font-size: 0.92rem; }
.practical .sources li + li { margin-top: 6px; }

/* Confirm the dates */

.confirm {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--night);
  color: var(--bone);
  scroll-margin-top: 0;
}
.confirm-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.confirm::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 17, 14, 0.25) 0%, rgba(20, 17, 14, 0.55) 45%, rgba(20, 17, 14, 0.92) 100%);
}
.confirm-text {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 120px var(--gutter) 64px;
}
.confirm h2 { font-size: clamp(2.5rem, 11vw, 4.6rem); }
.confirm-ask {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.42;
}
.confirm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.confirm-fine { margin-top: 16px; font-size: 0.82rem; color: rgba(247, 241, 230, 0.7); }

/* Footer */

.colophon {
  padding: 44px 0 56px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}
.colophon h2 { font-size: 1.4rem; letter-spacing: -0.01em; color: var(--ink); }
.colophon p { margin-top: 12px; }
.colophon ul { margin-top: 12px; padding-left: 1.1rem; list-style: disc; }
.colophon li + li { margin-top: 3px; }
.colophon a { color: var(--dune-deep); }
.noscript { margin: 0; padding: 24px var(--gutter); background: var(--paper-deep); }

/* Wider screens */

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .hero-text { padding-bottom: 28px; }
  .cover-text { padding-bottom: 64px; }
  .calendar { gap: 8px; }
  .cal-day { aspect-ratio: 1.5; padding: 0 0 8px 10px; }
  .reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 18px; }
  .reasons li { display: block; padding: 22px 0 0; }
  .reasons li:first-child { margin-top: 0; }
  .reasons svg { margin-bottom: 14px; }
  .dates .narrow { max-width: 56rem; }

  .route.is-scrolly .route-stage, .route.is-static .route-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }
  .route.is-scrolly .route-map { height: 100%; }
  .route.is-scrolly .route-steps { height: auto; }
  .route.is-scrolly .route-step {
    position: static;
    opacity: 0.36;
    transform: none;
    pointer-events: auto;
  }
  .route.is-scrolly .route-step.is-active { opacity: 1; }
  .route-step a { padding: 8px 0 8px 18px; }
  .route-step strong { font-size: 1.45rem; }
  .route.is-scrolly .step-text { display: none; }
  .route.is-scrolly .route-step.is-active .step-text { display: block; }

  .sky { align-items: center; }
  .sky-text { margin: 0 0 0 auto; padding: 60px 6vw 60px 0; max-width: 30rem; }
  .sky::after { background: linear-gradient(to right, rgba(7, 11, 26, 0) 30%, rgba(7, 11, 26, 0.86) 70%); }
}

/* A phone held sideways: little height, so the map and its caption sit side by side. */
@media (orientation: landscape) and (max-height: 560px) {
  .hero { min-height: 0; }
  h1 { font-size: clamp(3rem, 26svh, 6rem); }
  .hero-lede { display: none; }
  .hero-cue { padding-bottom: 14px; }
  .cover { height: 100svh; min-height: 0; }
  .cover-text { padding-bottom: 30px; }

  .route.is-scrolly .route-sticky { padding: calc(var(--bar) + env(safe-area-inset-top) + 10px) 0 8px; }
  .route-head h2 { font-size: 1.5rem; }
  .route-head .kicker, .route-hint { display: none; }
  .route.is-scrolly .route-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }
  .route.is-scrolly .route-map { height: 100%; }
  .route.is-scrolly .route-steps { height: 9.6rem; }
  .route.is-scrolly .route-step {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .route.is-scrolly .route-step.is-active { opacity: 1; pointer-events: auto; }
  .route.is-scrolly .step-text { display: block; }
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: settle 9s ease-out both; }
  .hero-cue svg { animation: nudge 2.2s ease-in-out infinite; }
  @keyframes settle {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
  }
  @keyframes nudge {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(4px); }
  }
  @supports (animation-timeline: view()) {
    .cover img, .confirm-img {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes drift {
      from { transform: scale(1.1) translateY(-2.5%); }
      to { transform: scale(1.02) translateY(2.5%); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ask[open] p, .practical details > div { animation: none; }
}

@media print {
  .bar, .hero-cue, .gallery-bar, .confirm-actions { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .route.is-scrolly { height: auto; }
  .route.is-scrolly .route-sticky { position: static; height: auto; }
  .cover, .hero, .sky, .confirm { height: auto; min-height: 0; padding-top: 220px; }
}
