@import url("https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,600,700&display=swap");

:root {
  --ink: #001219;
  --ink-soft: #31474d;
  --muted: #556a6f;
  --faint: #a4afb1;
  --paper: #ffffff;
  --wash: #f6f8f8;
  --wash-strong: #e9eeee;
  --land: #eceef1;
  --coast: #c7cbd1;
  --rule: #dce5e5;
  --rule-dark: #bdcaca;
  --eric: #a8201a;
  --nico: #0a9396;
  --sanne: #ec9a29;
  --eric-ink: #a8201a;
  --nico-ink: #06676a;
  --sanne-ink: #87530a;
  --serif: "Satoshi", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Satoshi", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 24px 70px rgba(0, 18, 25, 0.09), 0 2px 10px rgba(0, 18, 25, 0.04);
  --reading-width: 720px;
  --section-space: clamp(4.5rem, 7vw, 5.75rem);
  --divider-space: clamp(4.25rem, 6vw, 5rem);
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}

body { overflow-x: clip; }

body {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #d9eeee; }

button,
input { font: inherit; }

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(10, 147, 150, 0.28);
  outline-offset: 3px;
}

#quarto-content,
main.content,
.quarto-container {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#title-block-header { display: none; }

/* Opening */
.masthead {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2.75rem, 7vh, 4.5rem) 1.5rem 3.8rem;
  text-align: center;
}

.masthead-mark {
  display: inline-flex;
  align-items: end;
  gap: 5px;
  height: 15px;
  margin-bottom: 1.35rem;
}

.masthead-mark span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transform-origin: right center;
}

.masthead-mark span:nth-child(1) { background: var(--eric); transform: rotate(10deg); }
.masthead-mark span:nth-child(2) { background: var(--nico); transform: rotate(-6deg); }
.masthead-mark span:nth-child(3) { background: var(--sanne); transform: rotate(5deg); }

.kicker,
.section-label,
.finding-label,
.snapshot-intro > span {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.masthead .kicker {
  margin: 0 0 1.35rem;
  color: var(--muted);
}

.masthead h1 {
  max-width: 900px;
  margin: 0 auto 1.65rem;
  font-size: clamp(3.3rem, 9vw, 7.4rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.masthead h1 em {
  color: var(--ink-soft);
  font-weight: 400;
}

.masthead .standfirst {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.58;
}

.masthead .standfirst strong {
  color: var(--ink);
  font-weight: 600;
}

.masthead-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem 1.6rem;
  margin-top: 1.8rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.masthead-meta > p,
.hero-key > p {
  margin: 0;
}

.masthead-meta span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 1.6rem 0.2em 0;
  border-radius: 50%;
  background: var(--faint);
}

.hero-key {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.7rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-key > p {
  display: flex;
  gap: 1.4rem;
}

.hero-key span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-key i {
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: var(--bird);
}

.snapshot {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(3, minmax(130px, 1fr));
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.snapshot > div {
  min-width: 0;
  min-height: 86px;
  padding: 0.55rem 1.6rem;
}

.snapshot > div + div { border-left: 1px solid var(--rule); }

.snapshot-intro { padding-left: 0 !important; }
.snapshot-intro > span { color: var(--ink); }

.snapshot-intro p {
  max-width: 250px;
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.5;
}

.snapshot-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.snapshot-stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.snapshot-stat span {
  margin-top: 0.42rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 2rem auto 5.5rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue i {
  font-family: var(--sans);
  font-size: 1rem;
  font-style: normal;
  animation: cue-bob 1.8s ease-in-out infinite;
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

/* Editorial chapters */
section.question {
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section.chapter-opening { margin-top: var(--section-space); }
section.chapter-opening.compact-opening { margin-top: 4.25rem; }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin: 0 0 1rem !important;
  color: var(--muted) !important;
}

.section-label span {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.section-label::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--rule-dark);
}

section.question h2 {
  margin: 0 0 0.9rem;
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

section.question > p:not(.section-label):not(.finding-label) {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.075rem;
  line-height: 1.65;
}

section.question p.note {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.65;
}

.finding {
  position: relative;
  margin-top: 3rem !important;
  padding: 1.2rem 1.5rem 1.2rem 2rem !important;
  border-left: 2px solid var(--ink);
}

.finding-label {
  margin: 0 0 0.45rem !important;
  color: var(--ink) !important;
}

.finding > p:last-child { margin-bottom: 0 !important; }

.finding strong {
  color: var(--ink);
  font-weight: 600;
}

.finding-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  max-width: 820px !important;
}

.finding-split .finding-label { grid-column: 1 / -1; }

.pace-finding {
  max-width: 820px !important;
  border-left-color: var(--nico);
}

.pace-record {
  display: grid;
  grid-template-columns: minmax(175px, 0.72fr) minmax(0, 1.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.pace-number {
  margin: 0;
  padding-top: 0.15rem;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
}

.pace-number strong {
  display: block;
  color: var(--nico-ink);
  font-size: clamp(3.25rem, 8vw, 5.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.pace-number span {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pace-story > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.wind-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--paper);
}

.wind-graphic {
  padding: 1rem;
  border-right: 1px solid var(--rule);
  background: var(--wash);
}

.wind-card-head,
.wind-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.67rem;
}

.wind-card-head {
  padding: 0 0.25rem 0.65rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.wind-card-head span:last-child {
  color: var(--faint);
  font-weight: 550;
}

.wind-graphic svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
}

.wind-land {
  fill: var(--land);
  stroke: var(--coast);
  stroke-width: 0.8;
}

.wind-stream {
  fill: none;
  stroke: #174d5b;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wind-stream-head { fill: #174d5b; }

.wind-route-base,
.wind-route-progress {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wind-route-base {
  stroke: var(--nico);
  stroke-width: 1.5;
  opacity: 0.22;
}

.wind-route-progress {
  stroke: var(--nico);
  stroke-width: 3.2;
}

.wind-bird-halo {
  fill: rgba(10, 147, 150, 0.14);
}

.wind-bird-body {
  fill: var(--nico);
  stroke: var(--paper);
  stroke-width: 1.8;
}

.wind-bird-wing {
  fill: none;
  stroke: var(--paper);
  stroke-linecap: round;
  stroke-width: 1.25;
}

.wind-bird-label,
.wind-place-label {
  font-family: var(--sans);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-linejoin: round;
  stroke-width: 4px;
}

.wind-bird-label {
  fill: var(--nico-ink);
  font-size: 10px;
  font-weight: 700;
}

.wind-endpoint {
  fill: var(--nico);
  stroke: var(--paper);
  stroke-width: 2;
}

.wind-place-label {
  fill: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
}

.wind-legend {
  padding: 0.7rem 0.25rem 0;
  border-top: 1px solid var(--rule);
}

.wind-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wind-legend i {
  display: inline-block;
  flex: 0 0 auto;
  font-style: normal;
}

.wind-legend-route {
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: var(--nico);
}

.wind-legend-stream {
  width: 20px;
  height: 8px;
  border-top: 2px solid #174d5b;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.wind-noscript {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  color: var(--muted);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.55;
}

.wind-explanation {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  background: linear-gradient(
    105deg,
    rgba(23, 68, 74, 0.88) 0%,
    rgba(9, 48, 56, 0.95) 52%,
    rgba(0, 24, 32, 0.98) 100%
  );
  box-shadow: -22px 0 40px rgba(0, 18, 25, 0.18);
  font-family: var(--sans);
}

.wind-explanation h3 {
  max-width: 13ch;
  margin: 0 0 0.7rem;
  color: #f7fbfa;
  font-size: clamp(1.5rem, 2.3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.wind-summary {
  max-width: 42ch;
  margin: 0;
  color: rgba(239, 248, 247, 0.88);
  font-size: 0.95rem;
  line-height: 1.5;
}

.wind-now {
  display: grid;
  margin-top: 1.15rem;
  border-top: 1px solid rgba(224, 243, 241, 0.28);
  border-bottom: 1px solid rgba(224, 243, 241, 0.28);
}

.wind-now p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.62rem 0;
}

.wind-now p + p {
  border-top: 1px solid rgba(224, 243, 241, 0.14);
}

.wind-now span,
.wind-now strong {
  display: inline-block;
}

.wind-now span {
  color: rgba(230, 243, 242, 0.74);
  font-size: 0.74rem;
}

.wind-now strong {
  color: #91dfdb;
  font-size: 0.94rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  text-align: right;
}

.wind-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.1rem 0;
}

.wind-stats p {
  margin: 0;
  padding-right: 0.9rem;
}

.wind-stats p + p {
  padding-right: 0;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(224, 243, 241, 0.18);
}

.wind-stats strong,
.wind-stats span {
  display: block;
}

.wind-stats strong {
  color: #91dfdb;
  font-size: 1.25rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.wind-stats span {
  max-width: 20ch;
  margin-top: 0.35rem;
  color: rgba(230, 243, 242, 0.76);
  font-size: 0.73rem;
  line-height: 1.45;
}

.wind-research,
.wind-method {
  display: grid;
  grid-template-columns: 4.8rem 1fr;
  gap: 0.65rem;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(224, 243, 241, 0.18);
  font-size: 0.74rem;
  line-height: 1.52;
}

.wind-method {
  margin-top: 0.75rem;
  color: rgba(230, 243, 242, 0.64);
}

.wind-research {
  color: rgba(239, 248, 247, 0.8);
}

.wind-research strong,
.wind-method strong {
  color: rgba(247, 251, 250, 0.88);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.wind-research a,
.wind-method a {
  color: #a5ebe7;
  font-weight: 650;
  text-underline-offset: 0.16em;
}

.wind-mobile-summary {
  display: none;
}

.divider {
  width: 64px;
  margin: var(--divider-space) auto;
  border: 0;
  border-top: 1px solid var(--rule-dark);
}

/* Scrollytelling */
.scrolly {
  position: relative;
  margin: 2.25rem 0 3.25rem;
}

.scrolly-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: var(--paper);
}

.scrolly-graphic {
  display: flex;
  flex-direction: column;
  width: min(88vw, calc(100svh - 9.5rem), 760px);
  max-width: 100%;
}

.graphic-header,
.graphic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8rem;
}

.graphic-header > p,
.graphic-footer > p,
.legend-inline > p {
  width: 100%;
  margin: 0;
}

.graphic-header > p,
.graphic-footer > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.graphic-header {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.graphic-title {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.graphic-hint { letter-spacing: 0.02em; }

.graphic-footer {
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule);
}

.scrolly-caption {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.map-key {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.map-key i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: rgba(112, 122, 117, 0.1);
}

.scrolly-steps {
  position: relative;
  z-index: 2;
  counter-reset: scrolly-step;
}

.scrolly-step {
  display: flex;
  align-items: center;
  min-height: 82svh;
  pointer-events: none;
  counter-increment: scrolly-step;
}

.scrolly-step:first-child { min-height: 52svh; }
.scrolly-step:last-child { min-height: 56svh; }

.scrolly-step-inner {
  position: relative;
  width: min(420px, calc(100vw - 3rem));
  margin: 0 auto 0 clamp(1.5rem, 6vw, 6rem);
  padding: 1.35rem 1.45rem 1.35rem 1.55rem;
  border: 1px solid rgba(189, 202, 202, 0.92);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 38px rgba(0, 18, 25, 0.08);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.45;
  transform: translateY(8px);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.scrolly-step-inner::before {
  content: counter(scrolly-step, decimal-leading-zero);
  position: absolute;
  top: -0.72rem;
  left: 1rem;
  padding: 0 0.35rem;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.scrolly-step.active .scrolly-step-inner {
  border-color: var(--rule-dark);
  opacity: 1;
  transform: translateY(0);
}

/* Nico and the wind */
.wind-scrolly {
  margin-top: 2.5rem;
}

.wind-scroll-sticky {
  justify-content: center;
  padding: 0 1.5rem;
}

.wind-scroll-sticky .wind-card {
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.9fr);
  width: min(1120px, calc(100vw - 3rem));
  min-width: 0;
  margin-top: 0;
  box-shadow: var(--shadow);
}

.wind-scroll-steps .wind-scroll-step {
  min-height: 64svh;
}

.wind-scroll-steps .wind-scroll-step:first-child {
  min-height: 46svh;
}

.wind-scroll-steps .wind-scroll-step:last-child {
  min-height: 50svh;
}

.legend-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 0.65rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.legend-inline > p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}

.legend-inline .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.42em;
  border-radius: 50%;
}

/* Bird summaries and route cards */
.bird-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}

.bird-profile {
  --bird: var(--ink);
  padding: 1.35rem 1.4rem 1.25rem;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--bird);
  border-radius: 0 0 14px 14px;
  background: var(--paper);
}

.bird-eric { --bird: var(--eric); --bird-ink: var(--eric-ink); }
.bird-nico { --bird: var(--nico); --bird-ink: var(--nico-ink); }
.bird-sanne { --bird: var(--sanne); --bird-ink: var(--sanne-ink); }

.bird-profile-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--sans);
}

.bird-profile-head span {
  color: var(--bird-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.bird-profile-head small {
  color: var(--muted);
  font-size: 0.78rem;
}

.bird-profile > strong {
  display: block;
  margin-top: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.bird-profile > p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* A closer look at the longest stopovers */
.stopover-opening {
  margin-top: var(--section-space) !important;
}

.stopover-stories {
  max-width: 960px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}

.stopover-story {
  --bird: var(--ink);
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.4fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  padding: 2.2rem 0 2.35rem 1.6rem;
  border-top: 1px solid var(--rule);
  box-shadow: inset 3px 0 0 var(--bird);
}

.stopover-story:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.stopover-story-head {
  display: flex;
  grid-column: 1 / -1;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.stopover-bird {
  margin: 0 0 0.25rem;
  color: var(--bird-ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stopover-story h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.stopover-dates {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.84rem;
}

.stopover-duration {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
  color: var(--bird-ink);
  font-family: var(--sans);
}

.stopover-duration strong {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 450;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.stopover-duration span {
  color: var(--muted);
  font-size: 0.82rem;
}

.stopover-weather {
  display: grid;
  grid-row: 2 / span 2;
  grid-column: 1;
  grid-template-columns: 1fr 1fr;
  align-self: start;
  border-top: 2px solid var(--bird);
}

.stopover-weather div {
  min-width: 0;
  padding: 0.85rem 0.7rem 0.9rem 0;
  border-bottom: 1px solid var(--rule);
}

.stopover-weather div:nth-child(even) {
  padding-left: 0.8rem;
  border-left: 1px solid var(--rule);
}

.stopover-weather span,
.stopover-weather small,
.stopover-weather strong {
  display: block;
  font-family: var(--sans);
}

.stopover-weather span {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stopover-weather strong {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.stopover-weather small {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.stopover-story > p {
  grid-column: 2;
  margin: 0 0 0.95rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.stopover-story > p:last-child {
  margin-bottom: 0;
}

.stopover-method {
  max-width: 760px;
  margin: 1.5rem 0 0 auto;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.65;
}

.stopover-method a {
  color: var(--ink-soft);
  text-decoration-color: var(--rule-dark);
  text-underline-offset: 0.18em;
}

.stopover-method a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.small-multiples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.sm-card {
  padding: 1.25rem 1rem 1.15rem;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--wash) 0%, var(--paper) 72%);
  text-align: center;
}

.sm-card .sm-name {
  margin-top: 0.55rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
}

.sm-card .sm-stat {
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.label-eric { color: var(--eric-ink); }
.label-nico { color: var(--nico-ink); }
.label-sanne { color: var(--sanne-ink); }

/* Static daily-distance chart */
.explore {
  max-width: 980px;
  margin: 0 auto;
}

.chart-card {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem 1.6rem;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--paper);
}

.chart-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chart-card-note {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  margin: 0.8rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.74rem;
  line-height: 1.45;
}

.chart-card-note span {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.intensity-key {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.intensity-key i {
  width: 55px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wash-strong), var(--ink-soft));
}

/* Explore panel */
.explore-card {
  margin-top: 2.5rem;
  margin-bottom: 5rem;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.explore-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  background: rgba(246, 248, 246, 0.72);
  font-family: var(--sans);
  font-size: 0.86rem;
}

.explore-birds,
.explore-slider {
  display: flex;
  align-items: center;
}

.explore-birds { gap: 0.45rem; }
.control-label { margin-right: 0.15rem; color: var(--muted); font-size: 0.78rem; }

.explore-birds > p,
.explore-slider > p {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.explore-slider > p {
  flex: 1;
  min-width: 0;
  gap: 0.75rem;
}

.bird-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.62rem;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.bird-toggle i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bird);
}

.bird-toggle[data-bird="Eric"] { --bird: var(--eric); }
.bird-toggle[data-bird="Nico"] { --bird: var(--nico); }
.bird-toggle[data-bird="Sanne"] { --bird: var(--sanne); }

.bird-toggle[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--bird) 42%, white);
  background: color-mix(in srgb, var(--bird) 8%, white);
  color: var(--ink);
}

.bird-toggle[aria-pressed="false"] i { background: var(--rule-dark); }

.explore-slider {
  flex: 1;
  min-width: 260px;
  gap: 0.75rem;
}

.explore-slider input[type="range"] {
  flex: 1;
  min-width: 0;
  height: 4px;
  accent-color: var(--ink);
  cursor: ew-resize;
}

.explore-date {
  min-width: 7.2rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.explore-play {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 68px;
  padding: 0.42rem 0.62rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

.explore-play span { font-size: 0.65rem; }
.explore-play b { font-size: 0.78rem; font-weight: 700; }
.explore-play[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

.explore-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.5rem;
}

.explore-stage .track-svg {
  width: min(100%, 700px);
  max-height: 72vh;
}

.explore-stage-label {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.explore-stage-label small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* Data drawing */
svg.track-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.svg-land {
  fill: var(--land);
  stroke: var(--coast);
  stroke-width: 0.65;
}

.svg-track {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-track-return { stroke-dasharray: 1 5; }
.svg-point { stroke: var(--paper); stroke-width: 1.7; }

.svg-label,
.explore-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.map-place-label {
  fill: #69808b;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.15em;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 3px;
}

.axis-grid { stroke: var(--rule); stroke-width: 1; transition: opacity 0.3s ease; }
.axis-label { fill: var(--muted); font-family: var(--sans); font-size: 11.5px; transition: opacity 0.3s ease; }
.layer-axis { opacity: 0; }
#strips .layer-axis { opacity: 1; }
.layer-land { transition: opacity 0.3s ease; }

.departure-guide {
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: 0.28;
}

.departure-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3px;
}

.strip-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  dominant-baseline: middle;
}

.strip-gap-mark { fill: var(--muted); font-family: var(--sans); font-size: 11.5px; }
.strip-day { transition: opacity 180ms ease; }
.strip-day-peak { opacity: 1; }

.strip-peak-halo {
  fill: none;
  stroke: var(--nico);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: peak-breathe 2.4s ease-in-out infinite;
}

.strip-peak-line {
  stroke: var(--nico-ink);
  stroke-width: 1.2;
}

.strip-peak-dot {
  fill: var(--nico);
  stroke: var(--paper);
  stroke-width: 2.5;
  filter: drop-shadow(0 1px 3px rgba(0, 18, 25, 0.2));
}

.strip-peak-label {
  fill: var(--nico-ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-linejoin: round;
  stroke-width: 5px;
}

@keyframes peak-breathe {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.12, 1.06); }
}

.fingerprint-svg-wrap { max-width: 260px; margin: 0 auto; }

.data-loading {
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.9rem;
  text-align: center;
}

/* Notes */
footer.colophon {
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: 3.25rem 1.5rem 2.75rem;
  border-top: 1px solid var(--rule-dark);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.7;
}

footer.colophon a {
  color: var(--ink-soft);
  text-decoration-color: var(--rule-dark);
  text-underline-offset: 3px;
}

.further-reading {
  margin-top: 2.25rem;
}

.further-reading h3 {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.reading-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.reading-list li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.reading-type {
  padding-top: 0.16rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reading-list a {
  color: var(--ink) !important;
  font-size: 0.94rem;
  font-weight: 700;
}

.reading-list p {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.colophon-end {
  margin: 2.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-credit {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-credit a {
  color: var(--ink);
  font-weight: 700;
}

noscript.essay-noscript {
  display: block;
  padding: 3rem 1.5rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive */
@media (min-width: 980px) {
  .scrolly-graphic { transform: translateX(clamp(45px, 7vw, 105px)); }
}

@media (max-width: 820px) {
  .snapshot {
    grid-template-columns: repeat(3, 1fr);
    margin: 0 1.5rem;
  }

  .snapshot-intro {
    grid-column: 1 / -1;
    min-height: auto !important;
    padding: 0 0 1rem !important;
  }

  .snapshot-intro p { max-width: none; }
  .snapshot > .snapshot-stat { padding: 0.7rem 1rem; }
  .snapshot-stat:nth-child(2) { border-left: 0; }

  .finding-split { grid-template-columns: 1fr; }
  .finding-split .finding-label { grid-column: auto; }
  .pace-record { grid-template-columns: 1fr; gap: 1.25rem; }
  .pace-number strong { font-size: clamp(3.5rem, 16vw, 5rem); }
  .wind-card { grid-template-columns: 1fr; }
  .wind-graphic { border-right: 0; border-bottom: 1px solid var(--rule); }
  .wind-graphic svg { max-width: 350px; margin: 0 auto; }

  .explore-controls { align-items: stretch; flex-direction: column; gap: 0.85rem; }
  .explore-slider { width: 100%; }
  .explore-slider > p { flex: 1; }
}

@media (max-width: 720px) {
  body { font-size: 18px; }

  .masthead { width: 100%; padding-top: 2.75rem; overflow: hidden; }
  .masthead h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 14vw, 4rem);
    line-height: 0.94;
  }
  .masthead .standfirst { font-size: 1.08rem; }
  .masthead-meta { flex-direction: column; gap: 0.2rem; }
  .masthead-meta > p { display: flex; flex-direction: column; gap: 0.15rem; }
  .masthead-meta span + span::before { display: none; }

  .snapshot { grid-template-columns: 1fr; }
  .snapshot > .snapshot-stat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: baseline;
    min-height: auto;
    padding: 0.8rem 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }
  .snapshot-stat span { text-align: right; }

  .scroll-cue { margin-bottom: 4rem; }
  section.chapter-opening { margin-top: 4.5rem; }
  .divider { margin: 4.25rem auto; }

  .scrolly-graphic { width: min(96vw, calc(100svh - 9.5rem), 670px); }
  .graphic-header,
  .graphic-footer { margin: 0 0.75rem; }
  .graphic-hint { display: none; }

  .scrolly-step-inner {
    margin: 0 auto;
    font-size: 1rem;
  }

  .bird-profiles,
  .small-multiples { grid-template-columns: 1fr; }
  .bird-profile { padding: 1.2rem; }
  .stopover-opening { margin-top: 4.25rem !important; }
  .stopover-stories { padding: 0 1rem; }
  .stopover-story {
    grid-template-columns: 1fr;
    padding: 1.55rem 0 1.8rem 1rem;
  }
  .stopover-story-head { gap: 1rem; margin-bottom: 1.25rem; }
  .stopover-duration { flex-direction: column; align-items: flex-end; gap: 0.1rem; }
  .stopover-duration strong { font-size: 2.35rem; }
  .stopover-weather {
    grid-row: auto;
    grid-column: 1;
    margin-bottom: 1.25rem;
  }
  .stopover-story > p { grid-column: 1; }
  .reading-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .fingerprint-svg-wrap { max-width: 230px; }

  .chart-card {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
    padding: 1rem 0.75rem 1.2rem;
    overflow-x: auto;
  }
  #strips { min-width: 650px; }

  .explore-card {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
    border-radius: 14px;
  }
  .explore-birds { flex-wrap: wrap; }
  .control-label { width: 100%; }
  .explore-slider { min-width: 0; flex-wrap: wrap; }
  .explore-slider > p { flex-wrap: wrap; }
  .explore-slider input[type="range"] { order: 3; flex-basis: 100%; }
  .explore-date { margin-left: auto; }
  .explore-stage-label { display: none; }
}

@media (max-width: 760px) {
  .wind-scroll-sticky {
    justify-content: center;
    padding: 0;
  }

  .wind-scroll-sticky .wind-card {
    position: relative;
    display: block;
    width: calc(100vw - 1rem);
    min-width: 0;
    height: calc(100svh - 1rem);
    min-height: 560px;
  }

  .wind-scroll-sticky .wind-graphic {
    height: 100%;
    padding: 0.8rem;
    border: 0;
  }

  .wind-scroll-sticky .wind-graphic svg {
    width: 100%;
    height: calc(100% - 3.9rem);
    max-width: none;
    max-height: none;
    margin: 0;
  }

  .wind-scroll-sticky .wind-legend {
    position: absolute;
    z-index: 2;
    top: 0.9rem;
    right: 1rem;
    gap: 0.7rem;
    padding: 0.15rem 0.35rem;
    border: 0;
    border-radius: 6px;
    background: rgba(246, 248, 248, 0.82);
    font-size: 0.58rem;
  }

  .wind-scroll-sticky .wind-explanation {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 4.6rem 1.1rem 1.05rem;
    background: linear-gradient(
      to bottom,
      rgba(0, 24, 32, 0) 0%,
      rgba(5, 43, 51, 0.91) 26%,
      rgba(0, 24, 32, 0.99) 100%
    );
    box-shadow: none;
  }

  .wind-scroll-sticky .wind-explanation h3 {
    max-width: 16ch;
    margin-bottom: 0.5rem;
    font-size: 1.45rem;
  }

  .wind-scroll-sticky .wind-summary {
    max-width: 38ch;
    font-size: 0.86rem;
    line-height: 1.48;
  }

  .wind-scroll-sticky .wind-now {
    margin-top: 0.8rem;
  }

  .wind-scroll-sticky .wind-now p {
    padding: 0.44rem 0;
  }

  .wind-scroll-sticky .wind-stats,
  .wind-scroll-sticky .wind-research,
  .wind-scroll-sticky .wind-method {
    display: none;
  }

  .wind-mobile-summary {
    display: block;
    margin: 1.5rem 1rem 3rem;
    padding: 1.25rem;
    border: 1px solid var(--rule);
    border-radius: 14px;
    background: var(--wash);
    font-family: var(--sans);
  }

  .wind-mobile-title {
    margin: 0;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .wind-mobile-summary .wind-stats {
    margin-top: 1rem;
  }

  .wind-mobile-summary .wind-stats strong,
  .wind-mobile-summary .wind-research a,
  .wind-mobile-summary .wind-method a {
    color: var(--nico-ink);
  }

  .wind-mobile-summary .wind-stats span,
  .wind-mobile-summary .wind-research {
    color: var(--muted);
  }

  .wind-mobile-summary .wind-method {
    color: var(--faint);
  }

  .wind-mobile-summary .wind-stats p + p,
  .wind-mobile-summary .wind-research,
  .wind-mobile-summary .wind-method {
    border-color: var(--rule-dark);
  }

  .wind-mobile-summary .wind-research strong,
  .wind-mobile-summary .wind-method strong {
    color: var(--ink-soft);
  }
}

.reduced-motion .scrolly-step,
.reduced-motion .scrolly-caption { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .strip-peak-halo { animation: none; opacity: 0.8; }
  .scrolly-sticky { position: relative; height: auto; padding: 3rem 0; }
  .scrolly-step,
  .scrolly-caption { display: none; }
}
