:root {
  --ink: #071b3a;
  --paper: #f7f9fd;
  --paper-deep: #e8effa;
  --white: #ffffff;
  --orange: #fa4616;
  --orange-deep: #c73508;
  --orange-soft: #fff0ea;
  --blue: #0021a5;
  --blue-deep: #001b5e;
  --blue-soft: #e8efff;
  --line: rgba(0, 33, 165, 0.18);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--ink);
}
.skip-link:focus { top: 1rem; }

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 99;
  background: transparent;
}
.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem clamp(1rem, 4vw, 4.5rem);
  color: var(--white);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 750;
  letter-spacing: .03em;
}
.wordmark-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.6);
  font-size: .72rem;
  letter-spacing: .06em;
}
.header-route {
  font-size: .84rem;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.55);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  grid-template-rows: 1fr auto;
  gap: 2.25rem clamp(2rem, 5vw, 6rem);
  padding: clamp(7rem, 11vw, 10rem) clamp(1rem, 4vw, 4.5rem) 2rem;
  color: var(--white);
  background:
    linear-gradient(135deg, transparent 0 69%, rgba(250, 70, 22, .19) 69% 72%, transparent 72%),
    var(--blue-deep);
  overflow: hidden;
}
.hero-copy { align-self: center; max-width: 42rem; }
.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--orange);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1,
.stop-heading h2,
.finish h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.055em;
}
.hero h1 { font-size: clamp(4.6rem, 9vw, 9.5rem); }
.hero h1 em,
.stop-heading h2 em,
.finish h2 em { color: var(--orange); font-weight: 400; }
.hero-deck {
  max-width: 31rem;
  margin: 2.2rem 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  line-height: 1.45;
}
.byline { margin: 1.6rem 0 0; font-size: .93rem; color: rgba(255,255,255,.62); }
.byline strong { color: var(--white); font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.1rem;
  padding: .75rem 1.15rem;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--orange); background: var(--orange); color: var(--white); }
.button-secondary { border-color: rgba(255,255,255,.35); color: var(--white); }
.button-secondary:hover { background: var(--white); color: var(--ink); }

.contact-sheet {
  position: relative;
  align-self: center;
  min-height: min(68vh, 700px);
}
.contact-frame {
  position: absolute;
  margin: 0;
  padding: .55rem .55rem 2rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.28);
  border-top: 6px solid var(--blue);
}
.contact-frame:nth-child(even) { border-top-color: var(--orange); }
.contact-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) contrast(1.03); }
.contact-frame figcaption {
  position: absolute;
  inset: auto .65rem .35rem;
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-frame figcaption span { color: #777; }
.frame-a { width: 63%; height: 43%; left: 0; top: 3%; transform: rotate(-2.8deg); z-index: 1; }
.frame-b { width: 43%; height: 43%; right: 1%; top: 0; transform: rotate(3.2deg); z-index: 2; }
.frame-c { width: 43%; height: 53%; left: 6%; bottom: 0; transform: rotate(2deg); z-index: 4; }
.frame-d { width: 59%; height: 42%; right: 0; bottom: 5%; transform: rotate(-2deg); z-index: 3; }

.route-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.2);
}
.route-stats div { padding: 1.1rem 1rem .2rem 0; }
.route-stats dt { color: rgba(255,255,255,.45); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.route-stats dd { margin: .2rem 0 0; font-size: .9rem; font-weight: 650; }

.intro,
.sources {
  display: grid;
  grid-template-columns: minmax(180px, .34fr) 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(5.5rem, 10vw, 10rem) clamp(1rem, 6vw, 8rem);
}
.section-label {
  padding-top: .7rem;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-label span { margin-right: .7rem; color: var(--orange); }
.intro h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.055em;
}
.intro-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: 3.5rem; }
.intro-columns p { margin: 0; max-width: 38rem; }
.intro-columns p:first-child::first-letter {
  float: left;
  margin: .05em .12em 0 0;
  color: var(--orange);
  font-family: var(--display);
  font-size: 4.8em;
  line-height: .72;
}

.field-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(1rem, 6vw, 8rem) clamp(5rem, 9vw, 9rem);
  background: var(--line);
  border: 1px solid var(--line);
}
.field-notes > div { padding: clamp(1.4rem, 3vw, 2.5rem); background: var(--white); }
.note-number { color: var(--orange); font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.field-notes h3 { margin: 1.2rem 0 .45rem; font-family: var(--display); font-size: 1.55rem; font-weight: 400; line-height: 1.1; }
.field-notes p { margin: 0; color: rgba(17,19,26,.72); font-size: .9rem; }

.route-index {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--blue-deep);
  color: var(--white);
  border-block: 1px solid rgba(255,255,255,.16);
}
.route-index a { padding: .95rem clamp(.7rem, 2vw, 2rem); text-decoration: none; font-size: .76rem; font-weight: 750; border-right: 1px solid rgba(255,255,255,.16); }
.route-index a:last-child { border-right: 0; }
.route-index a span { margin-right: .55rem; color: rgba(255,255,255,.42); }
.route-index a[aria-current="true"] { background: var(--orange); color: var(--white); }
.route-index a[aria-current="true"] span { color: rgba(255,255,255,.7); }

.stop {
  --stop-color: var(--blue);
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1rem, 6vw, 8rem) clamp(4rem, 8vw, 8rem);
  border-bottom: 1px solid var(--line);
}
.stop-blue { --stop-color: var(--blue); }
.stop-orange { --stop-color: var(--orange-deep); background: var(--orange-soft); }
.stop-blue-alt { --stop-color: var(--blue); background: var(--blue-soft); }
.stop-heading { display: grid; grid-template-columns: minmax(170px, .34fr) 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.stop-kicker {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .65rem;
  border-top: 4px solid var(--stop-color);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.stop-heading h2 { font-size: clamp(3.5rem, 8.1vw, 8.3rem); }
.stop-heading h2 em { color: var(--stop-color); }
.stop-place { grid-column: 2; margin: 1.4rem 0 0; font-size: 1rem; font-weight: 800; letter-spacing: .02em; }

.stop-image { position: relative; margin: clamp(3rem, 6vw, 6rem) 0 0 26%; }
.stop-image::before,
.stop-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  pointer-events: none;
}
.stop-image::before { inset: 1rem auto auto 1rem; border-left: 2px solid white; border-top: 2px solid white; }
.stop-image::after { inset: auto 1rem 1rem auto; border-right: 2px solid white; border-bottom: 2px solid white; }
.stop-image img { max-height: 74vh; object-fit: cover; filter: saturate(.9) contrast(1.04); }
.stop-image-portrait img { aspect-ratio: 1.75 / 1; }
.stop-image-tall { margin-left: 35%; }
.stop-image-tall img { aspect-ratio: 1.25 / 1; object-position: center 64%; }
.stop-image figcaption { margin-top: .7rem; color: rgba(17,19,26,.62); font-size: .76rem; font-style: italic; }

.stop-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .42fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  margin: clamp(3rem, 6vw, 6rem) 0 0 26%;
}
.stop-story { max-width: 47rem; }
.stop-story p { margin: 0 0 1.25rem; }
.stop-story p:first-child { font-size: 1.18rem; line-height: 1.55; }
.photo-assignment {
  align-self: start;
  padding: 1.5rem;
  color: var(--white);
  background: var(--blue-deep);
  border-top: 6px solid var(--stop-color);
}
.assignment-label { margin: 0 0 1rem; color: var(--stop-color); font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.photo-assignment h3 { margin: 0; font-family: var(--display); font-size: 1.65rem; font-weight: 400; line-height: 1.12; }
.photo-assignment ul { margin: 1.25rem 0; padding-left: 1.15rem; color: rgba(255,255,255,.8); font-size: .85rem; }
.photo-assignment li + li { margin-top: .25rem; }
.photo-assignment .sense { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.68); font-size: .82rem; }
.photo-assignment a { display: inline-block; margin-top: .6rem; color: var(--white); font-size: .78rem; font-weight: 800; text-decoration-color: var(--stop-color); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.move-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  margin: clamp(3rem, 6vw, 6rem) 0 0 26%;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}
.move-icon { color: var(--stop-color); font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.move-card p { margin: 0; max-width: 56rem; color: rgba(17,19,26,.72); font-size: .88rem; }
.move-card .move-label { margin-bottom: .2rem; color: var(--ink); font-size: .71rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }

.finish {
  padding: clamp(6rem, 10vw, 11rem) clamp(1rem, 6vw, 8rem);
  color: var(--white);
  background:
    linear-gradient(145deg, transparent 0 73%, rgba(250, 70, 22, .18) 73% 76%, transparent 76%),
    var(--blue-deep);
}
.finish h2 { font-size: clamp(4rem, 9vw, 9rem); }
.finish-grid { display: grid; grid-template-columns: 1fr .55fr; gap: clamp(3rem, 8vw, 9rem); margin-top: 4rem; }
.finish-copy { max-width: 46rem; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.finish-copy p { margin: 0 0 1.25rem; }
.share-card { padding: 1.6rem; border: 1px solid rgba(255,255,255,.24); }
.share-card .assignment-label { color: var(--orange); }
.tags { margin: 0; font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.6rem); line-height: 1.25; }
.copy-tags {
  margin-top: 1.5rem;
  padding: .65rem .9rem;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  font: 800 .76rem var(--sans);
  cursor: pointer;
}
.copy-tags:hover,
.copy-tags:focus-visible { color: var(--ink); background: var(--white); }
.copy-status { display: block; min-height: 1.5rem; margin-top: .5rem; color: rgba(255,255,255,.6); font-size: .74rem; }
.finish-route { margin-top: 3rem; }

.sources { padding-block: clamp(4rem, 7vw, 7rem); background: var(--blue-soft); }
.sources h2 { margin: 0; padding-top: .65rem; border-top: 1px solid var(--line); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.sources-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.sources p { margin: 0; color: rgba(17,19,26,.68); font-size: .78rem; line-height: 1.6; }
.sources a { text-underline-offset: 3px; }

.site-footer {
  display: grid;
  grid-template-columns: .6fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem clamp(1rem, 4vw, 4.5rem) 5rem;
  color: rgba(255,255,255,.6);
  background: var(--blue-deep);
  font-size: .72rem;
}
.site-footer p { margin: 0; }
.site-footer p:first-child { color: var(--white); font-weight: 800; }
.site-footer a { color: var(--white); text-decoration: none; }

.mobile-dock { display: none; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .header-route { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-top: 7.5rem; }
  .hero-copy { align-self: end; }
  .contact-sheet { min-height: 62vh; }
  .route-stats { grid-template-columns: repeat(2, 1fr); }
  .intro,
  .sources { grid-template-columns: 1fr; gap: 2rem; }
  .intro-columns,
  .sources-grid { grid-template-columns: 1fr; }
  .field-notes { grid-template-columns: 1fr; }
  .route-index { display: none; }
  .stop-heading { grid-template-columns: 1fr; gap: 2rem; }
  .stop-place { grid-column: 1; }
  .stop-image,
  .stop-image-tall,
  .stop-body,
  .move-card { margin-left: 0; }
  .stop-body { grid-template-columns: 1fr; }
  .photo-assignment { max-width: 34rem; }
  .finish-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; padding-bottom: 6rem; }
  .mobile-dock {
    position: fixed;
    inset: auto .75rem .75rem;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.8fr;
    min-height: 3.2rem;
    color: var(--white);
    background: rgba(0,27,94,.96);
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 .6rem 2.4rem rgba(0,0,0,.28);
    backdrop-filter: blur(12px);
  }
  .mobile-dock a { display: grid; place-items: center; border-right: 1px solid rgba(255,255,255,.14); text-decoration: none; font-size: .72rem; font-weight: 850; }
  .mobile-dock a[aria-current="true"] { background: var(--orange); color: var(--white); }
  .mobile-dock .dock-map { border: 0; color: var(--blue-deep); background: var(--white); }
}

@media (max-width: 560px) {
  .site-header { padding-inline: 1rem; }
  .wordmark span:last-child { display: none; }
  .hero { gap: 1rem; padding-bottom: 1.2rem; }
  .hero h1 { font-size: clamp(4rem, 21vw, 6rem); }
  .hero-deck { margin-top: 1.4rem; font-size: 1.05rem; }
  .contact-sheet { min-height: 52vh; margin-top: 1.5rem; }
  .frame-a { width: 66%; height: 42%; }
  .frame-b { width: 46%; height: 42%; }
  .frame-c { width: 48%; height: 53%; left: 2%; }
  .frame-d { width: 62%; height: 40%; }
  .route-stats { margin-top: 1.5rem; }
  .route-stats div { padding-right: .4rem; }
  .route-stats dd { font-size: .82rem; }
  .intro h2 { font-size: 3.15rem; }
  .stop-heading h2 { font-size: clamp(3.15rem, 16vw, 5.4rem); }
  .stop-image { margin-top: 2.5rem; }
  .stop-image img,
  .stop-image-portrait img,
  .stop-image-tall img { min-height: 310px; aspect-ratio: .92 / 1; object-fit: cover; }
  .stop-image-portrait img { object-position: center; }
  .stop-image-tall img { object-position: center; }
  .finish h2 { font-size: 3.7rem; }
  .hero-actions .button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header,
  .mobile-dock,
  .reading-progress,
  .copy-tags { display: none !important; }
  .hero { min-height: auto; }
  .stop { break-before: page; }
  .stop-image img { max-height: 42vh; }
}
