:root {
  --forest: #2f4b3c;
  --forest-dark: #21362b;
  --moss: #5b7b5a;
  --sand: #f4f1ea;
  --paper: #fcfaf5;
  --orange: #c97a3d;
  --ink: #2b2b26;
  --muted: #706f67;
  --line: #d8d3c7;
  --white: #fff;
  --shell: min(1120px, calc(100% - 48px));
  --shell-wide: min(1320px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell-wide {
  width: var(--shell-wide);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--forest-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 25%, rgba(255, 255, 255, 0.08), transparent 24%),
    var(--forest);
  color: var(--sand);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.wordmark {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: rgba(244, 241, 234, 0.8);
  font-size: 0.84rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 125px;
}

.eyebrow,
.section-number,
.card-kicker,
.footer-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: #bac9b6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 13vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.9;
  animation: hero-title-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-subtitle {
  margin-bottom: 54px;
  color: rgba(244, 241, 234, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  font-style: italic;
}

.hero-meta {
  display: flex;
  max-width: 740px;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 241, 234, 0.32);
  color: rgba(244, 241, 234, 0.75);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hero-landscape {
  position: absolute;
  inset: auto 0 0;
  height: 250px;
  animation: ridge-in 1200ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-landscape svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ridge-back {
  fill: #3a5b49;
}

.ridge-front {
  fill: #263e32;
}

.trip-progress {
  padding-block: 42px;
  border-bottom: 1px solid var(--line);
  background: #ebe8df;
}

.progress-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(420px, 1.25fr);
  gap: 80px;
  align-items: center;
}

.progress-copy .section-number {
  margin-bottom: 8px;
}

.progress-copy h2 {
  margin-bottom: 4px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: 0;
}

.progress-copy > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.progress-labels,
.progress-dates {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.progress-labels {
  margin-bottom: 9px;
  text-transform: uppercase;
}

.progress-dates {
  margin-top: 8px;
}

.progress-track {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: #cbc6ba;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  transition: width 700ms ease;
}

.progress-position {
  position: absolute;
  top: 50%;
  left: 0;
  width: 15px;
  height: 15px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 1px 5px rgba(33, 54, 43, 0.2);
  transform: translate(-50%, -50%);
  transition: left 700ms ease;
}

.intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10vw;
  padding-block: 120px;
}

.section-number {
  margin-bottom: 24px;
  color: var(--orange);
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.intro > p {
  align-self: end;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 1.05rem;
}

.journey-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  padding-bottom: 120px;
}

.gallery-photo {
  margin: 0;
}

.gallery-photo-coast {
  grid-column: 1 / 8;
}

.gallery-photo-rockies {
  grid-column: 8 / 13;
  margin-top: 90px;
}

.gallery-photo-okanagan {
  grid-column: 3 / 10;
  margin-top: 15px;
}

.gallery-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 500ms ease;
}

.gallery-photo-rockies img {
  aspect-ratio: 4 / 5;
}

.gallery-photo:hover img {
  filter: saturate(1.06);
  transform: scale(1.018);
}

.gallery-photo {
  overflow: hidden;
}

.gallery-photo figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-photo figcaption span {
  color: var(--orange);
}

.map-section {
  padding-block: 88px 104px;
  background: #e8e6dc;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.75rem);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid #bebbb1;
  border-radius: 999px;
  background: transparent;
  color: #5c5b54;
  cursor: pointer;
  font-size: 0.78rem;
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: var(--forest);
}

.filter-button.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.has-power {
  background: var(--orange);
}

.legend-dot.no-power {
  background: var(--moss);
}

.map-wrap {
  overflow: hidden;
  background: var(--forest-dark);
}

#map {
  width: 100%;
  height: min(68vh, 680px);
  min-height: 460px;
  background: #d6ded6;
}

.map-caption {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  color: rgba(244, 241, 234, 0.75);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-caption p {
  margin: 0;
}

.caption-line {
  height: 1px;
  background: rgba(244, 241, 234, 0.18);
}

.leaflet-container {
  font-family: inherit;
}

.leaflet-popup-content-wrapper {
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(33, 54, 43, 0.16);
}

.leaflet-popup-content {
  min-width: 190px;
  margin: 17px 19px;
}

.popup-day {
  display: block;
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.popup-title {
  display: block;
  margin-bottom: 7px;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.2;
}

.popup-copy {
  margin: 0;
  color: #62615b;
  font-size: 0.8rem;
  line-height: 1.45;
}

.popup-park {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
}

.popup-park.bc-park {
  background: #e4ebe2;
  color: var(--forest);
}

.popup-park.national-park {
  background: #f4dfca;
  color: #8c4d1f;
}

.popup-fee {
  margin: 9px 0 0;
  padding-top: 8px;
  border-top: 1px solid #ded9cd;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.route-marker {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(33, 54, 43, 0.26);
  color: var(--white);
  font-size: 0.61rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.leaflet-marker-icon:hover .route-marker {
  box-shadow: 0 5px 16px rgba(33, 54, 43, 0.38);
  transform: translateY(-2px) scale(1.08);
}

.marker-power {
  background: var(--orange);
}

.marker-no-power {
  background: var(--moss);
}

.marker-neutral {
  background: var(--forest-dark);
}

.poi-marker {
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: #d2a94e;
  box-shadow: 0 2px 8px rgba(33, 54, 43, 0.3);
}

.weather-section {
  padding-block: 105px;
  overflow: hidden;
  background: var(--forest-dark);
  color: var(--sand);
}

.weather-heading h2 {
  color: var(--sand);
}

.weather-heading .section-number {
  color: #e5a36f;
}

.weather-status {
  display: flex;
  gap: 9px;
  align-items: center;
  max-width: 260px;
  color: rgba(244, 241, 234, 0.66);
  font-size: 0.7rem;
  text-align: right;
}

.weather-status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9b6aa;
}

.weather-status-live .weather-status-dot,
.weather-status-cached .weather-status-dot {
  background: #9fbe93;
  box-shadow: 0 0 0 4px rgba(159, 190, 147, 0.12);
}

.weather-status-stale .weather-status-dot,
.weather-status-waiting .weather-status-dot {
  background: #d9a164;
}

.weather-status-error .weather-status-dot {
  background: #d16f61;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid rgba(244, 241, 234, 0.2);
  border-left: 1px solid rgba(244, 241, 234, 0.2);
}

.weather-card {
  min-width: 0;
  padding: 20px 17px;
  border-right: 1px solid rgba(244, 241, 234, 0.2);
  border-bottom: 1px solid rgba(244, 241, 234, 0.2);
  transition: background-color 180ms ease, transform 180ms ease;
}

.weather-card:hover {
  z-index: 1;
  background: rgba(244, 241, 234, 0.06);
  transform: translateY(-2px);
}

.weather-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}

.weather-date,
.weather-day-label {
  margin: 0;
  color: rgba(244, 241, 234, 0.55);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weather-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.weather-day-label {
  margin-bottom: 5px;
  color: #e5a36f;
  font-size: 0.56rem;
}

.weather-card h3 {
  min-height: 42px;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
}

.weather-condition {
  margin-bottom: 19px;
  color: rgba(244, 241, 234, 0.62);
  font-size: 0.68rem;
}

.weather-temperatures {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 18px;
}

.weather-temperatures strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
}

.weather-temperatures span {
  color: rgba(244, 241, 234, 0.5);
  font-size: 0.9rem;
}

.weather-details {
  display: flex;
  flex-direction: column;
  color: rgba(244, 241, 234, 0.52);
  font-size: 0.6rem;
}

.weather-details strong {
  color: rgba(244, 241, 234, 0.8);
  font-weight: 700;
}

.weather-card-unavailable > span {
  color: rgba(244, 241, 234, 0.55);
  font-size: 0.72rem;
}

.weather-loading,
.weather-empty {
  grid-column: 1 / -1;
  padding: 50px 25px;
  border-right: 1px solid rgba(244, 241, 234, 0.2);
  border-bottom: 1px solid rgba(244, 241, 234, 0.2);
  color: rgba(244, 241, 234, 0.64);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  text-align: center;
}

.weather-source {
  margin: 15px 0 0;
  color: rgba(244, 241, 234, 0.42);
  font-size: 0.62rem;
  text-align: right;
}

.parks-section {
  padding-block: 120px;
}

.parks-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}

.parks-heading .section-number {
  margin-bottom: 7px;
}

.parks-heading h2 {
  max-width: 700px;
}

.parks-callout {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 38px 55px;
  padding: 46px;
  background: var(--forest);
  color: var(--sand);
}

.parks-verdict strong {
  display: block;
  margin: 7px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
}

.parks-verdict > p:last-child,
.park-days p,
.transit-note p {
  margin: 0;
  color: rgba(244, 241, 234, 0.7);
  font-size: 0.8rem;
}

.parks-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.parks-comparison > div:not(.parks-saving) {
  display: flex;
  flex-direction: column;
}

.parks-comparison span,
.parks-comparison small {
  color: rgba(244, 241, 234, 0.57);
  font-size: 0.65rem;
}

.parks-comparison strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  font-weight: 400;
}

.parks-comparison .is-better strong {
  color: #e5b27f;
}

.comparison-versus {
  font-style: italic;
}

.parks-saving {
  padding: 6px 9px;
  border: 1px solid rgba(229, 178, 127, 0.5);
  color: #e5b27f;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.park-days,
.transit-note {
  padding-top: 25px;
  border-top: 1px solid rgba(244, 241, 234, 0.18);
}

.park-days p + p {
  margin-top: 7px;
}

.park-days strong,
.transit-note > span {
  color: var(--sand);
}

.transit-note > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.itinerary-section {
  padding-block: 120px;
}

.itinerary-heading {
  padding-bottom: 45px;
  border-bottom: 1px solid var(--line);
}

.itinerary-heading > p {
  max-width: 300px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.prestay {
  display: grid;
  grid-template-columns: 0.7fr 0.65fr 2fr;
  gap: 36px;
  margin-block: 55px 80px;
  padding: 42px;
  background: var(--forest);
  color: var(--sand);
  cursor: pointer;
}

.prestay:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.prestay-label {
  width: fit-content;
  height: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(244, 241, 234, 0.35);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prestay-label span {
  display: block;
  margin-top: 6px;
  color: var(--orange);
  font-size: 0.58rem;
}

.prestay-label span[hidden] {
  display: none;
}

.prestay-date span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1;
}

.prestay-date small {
  color: #bac9b6;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--orange);
}

.prestay h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}

.prestay-copy > p:not(.card-kicker) {
  margin-bottom: 16px;
  color: rgba(244, 241, 234, 0.75);
}

.prestay address {
  color: #bac9b6;
  font-size: 0.8rem;
  font-style: normal;
}

.prestay-update {
  grid-column: 1 / -1;
  color: var(--ink);
  cursor: default;
}

.timeline {
  border-top: 1px solid var(--line);
}

.driving-leg {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  padding-left: 260px;
  color: var(--muted);
}

.driving-leg[hidden] {
  display: none;
}

.driving-line {
  width: 54px;
  height: 1px;
  background: var(--line);
}

.driving-leg p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.driving-arrow {
  margin-right: 6px;
  color: var(--orange);
}

.driving-leg small {
  display: inline-block;
  margin-left: 9px;
  padding: 3px 7px;
  background: #ebe8df;
  color: var(--forest);
  font-size: 0.6rem;
  letter-spacing: 0.03em;
}

.timeline-item {
  display: grid;
  grid-template-columns: 82px 130px minmax(220px, 1fr) minmax(240px, 1.3fr);
  gap: 24px;
  align-items: start;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease, opacity 180ms ease;
}

.timeline-item.has-location {
  cursor: pointer;
}

.timeline-item.has-location:hover,
.timeline-item.has-location:focus-visible,
.timeline-item.is-highlighted {
  margin-inline: -18px;
  padding-inline: 18px;
  background: #efede5;
  outline: none;
}

.timeline-item.is-today {
  box-shadow: inset 4px 0 var(--orange);
}

.timeline-item[hidden] {
  display: none;
}

.day-number {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.day-number small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.date-block {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.date-block span {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.stop-name {
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.25;
}

.stop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.expand-button,
.map-stop-button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.expand-button::after {
  content: "+";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.expand-button[aria-expanded="true"]::after {
  content: "−";
  transform: rotate(180deg);
}

.expand-button:hover,
.expand-button:focus-visible,
.map-stop-button:hover,
.map-stop-button:focus-visible {
  color: var(--orange);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.badge.power {
  color: #9b5623;
}

.badge.park-badge {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.62rem;
}

.badge.weather-badge {
  padding: 2px 7px;
  border-radius: 999px;
  background: #dce8eb;
  color: #315c67;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.badge.update-badge {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--sand);
  letter-spacing: 0.03em;
}

.weather-badge[hidden],
.update-badge[hidden] {
  display: none;
}

.park-badge.bc-park {
  background: #e2e9df;
  color: var(--forest);
}

.park-badge.national-park {
  background: #f2dfcb;
  color: #8c4d1f;
}

.highlight-copy {
  margin-bottom: 7px;
  font-size: 0.91rem;
}

.note-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.trip-update {
  grid-column: 3 / -1;
  padding: 30px;
  border-left: 3px solid var(--orange);
  background: #f3eadf;
}

.trip-update[hidden] {
  display: none;
}

.trip-update-header {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.trip-update.is-expanded .trip-update-header {
  margin-bottom: 20px;
}

.trip-update-header .card-kicker {
  margin: 0 0 4px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trip-update-header h3 {
  margin: 0;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.18;
}

.trip-update-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.trip-update-toggle::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
}

.trip-update-toggle[aria-expanded="true"]::after {
  content: "−";
}

.trip-update-toggle:hover,
.trip-update-toggle:focus-visible {
  color: var(--orange);
}

.trip-update-body[hidden] {
  display: none;
}

.trip-update.is-expanded .trip-update-body {
  animation: planner-in 240ms ease-out both;
}

.trip-update-copy {
  max-width: 760px;
  color: #46453f;
  font-size: 0.94rem;
}

.trip-update-copy > :first-child {
  margin-top: 0;
}

.trip-update-copy > :last-child {
  margin-bottom: 0;
}

.trip-update-copy h3,
.trip-update-copy h4,
.trip-update-copy h5 {
  margin: 1.5em 0 0.45em;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.25;
}

.trip-update-copy p,
.trip-update-copy ul,
.trip-update-copy ol {
  margin: 0 0 1em;
}

.trip-update-copy a {
  color: var(--forest);
  font-weight: 700;
  text-underline-offset: 3px;
}

.trip-update-copy blockquote {
  margin: 1.25em 0;
  padding-left: 18px;
  border-left: 2px solid var(--orange);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1.5;
}

.trip-update-copy code {
  padding: 2px 5px;
  background: rgba(47, 75, 60, 0.09);
  font-size: 0.86em;
}

.trip-update-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.trip-update-gallery figure {
  margin: 0;
}

.trip-update-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line);
}

.trip-update-gallery figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.7rem;
}

.day-planner {
  display: none;
  grid-column: 3 / -1;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  padding: 25px;
  border-left: 3px solid var(--moss);
  background: #ebe9e1;
}

.day-planner.is-open {
  display: grid;
  animation: planner-in 240ms ease-out both;
}

.park-fee {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.8fr 1.2fr 1.2fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid #cbc7bc;
}

.park-fee div {
  display: flex;
  flex-direction: column;
}

.park-fee-label {
  color: var(--orange);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.park-fee strong {
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 400;
}

.park-fee p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.planner-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.planner-field label,
.planner-links > p {
  margin: 0;
  color: var(--forest-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.planner-field textarea,
.planner-field input {
  width: 100%;
  border: 1px solid #c7c3b8;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
}

.planner-field textarea {
  min-height: 104px;
  padding: 11px 12px;
  resize: vertical;
}

.planner-field input {
  height: 40px;
  padding-inline: 11px;
}

.planner-field textarea:focus,
.planner-field input:focus {
  border-color: var(--forest);
  outline: 2px solid rgba(47, 75, 60, 0.14);
}

.save-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.67rem;
}

.planner-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.planner-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.planner-link:hover,
.planner-link:focus-visible {
  color: var(--orange);
}

.komoot-link[hidden] {
  display: none;
}

.planner-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.trip-note {
  padding-block: 100px;
  background: var(--orange);
  color: var(--forest-dark);
}

.trip-note .eyebrow {
  color: rgba(33, 54, 43, 0.62);
}

.trip-note-inner {
  max-width: 840px;
  text-align: center;
}

blockquote {
  margin: 20px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.trip-note-inner > p:last-child {
  max-width: 580px;
  margin: 0 auto;
  color: rgba(33, 54, 43, 0.75);
}

footer {
  padding-block: 76px 28px;
  background: var(--forest-dark);
  color: var(--sand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 64px;
}

.footer-mark {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-grid > div:first-child p {
  color: rgba(244, 241, 234, 0.58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.travel-detail {
  display: flex;
  flex-direction: column;
}

.footer-label {
  margin-bottom: 13px;
  color: var(--orange);
}

.travel-detail strong {
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.travel-detail span,
.footer-bottom {
  color: rgba(244, 241, 234, 0.55);
  font-size: 0.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 241, 234, 0.14);
}

.footer-bottom a {
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--sand);
}

.legal-header {
  min-height: 390px;
  background:
    radial-gradient(circle at 78% 25%, rgba(255, 255, 255, 0.08), transparent 24%),
    var(--forest);
  color: var(--sand);
}

.legal-back-link {
  color: rgba(244, 241, 234, 0.8);
  font-size: 0.84rem;
  text-decoration: none;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
  color: var(--white);
}

.legal-hero {
  padding-top: 90px;
}

.legal-hero h1 {
  margin-top: 10px;
  font-size: clamp(4rem, 11vw, 8rem);
}

.legal-content {
  max-width: 820px;
  padding-block: 88px 120px;
}

.legal-placeholder {
  margin-bottom: 64px;
  padding: 20px 24px;
  border-left: 3px solid var(--orange);
  background: #f3eadf;
  color: var(--forest-dark);
  font-size: 0.88rem;
}

.legal-content section {
  padding-block: 38px;
  border-top: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 7px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
}

.legal-content address,
.legal-content p {
  color: var(--muted);
  font-style: normal;
}

.legal-content address strong {
  color: var(--ink);
}

.legal-footer {
  padding-top: 28px;
}

.no-script {
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

@keyframes ridge-in {
  from {
    opacity: 0;
    transform: translateY(45px);
  }
}

@keyframes planner-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .progress-inner {
    gap: 45px;
  }

  .weather-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .timeline-item {
    grid-template-columns: 65px 105px 1fr;
  }

  .driving-leg {
    padding-left: 218px;
  }

  .timeline-content {
    grid-column: 3;
  }

  .trip-update {
    grid-column: 3;
  }

  .day-planner {
    grid-column: 3;
  }

  .park-fee {
    grid-template-columns: 1fr 1fr;
  }

  .park-fee div {
    grid-column: 1 / -1;
  }

  .parks-callout {
    grid-template-columns: 1fr;
  }

  .prestay {
    grid-template-columns: 1fr 1fr;
  }

  .prestay-copy {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: min(100% - 32px, 1120px);
    --shell-wide: 100%;
  }

  .hero {
    min-height: 660px;
  }

  .nav {
    padding-top: 20px;
  }

  .hero-content {
    padding-top: 110px;
  }

  h1 {
    font-size: clamp(4.3rem, 23vw, 7rem);
  }

  .hero-meta {
    flex-direction: column;
    gap: 7px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 84px;
  }

  .journey-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 16px 84px;
    scroll-snap-type: x mandatory;
  }

  .gallery-photo {
    flex: 0 0 82vw;
    margin-top: 0;
    scroll-snap-align: center;
  }

  .gallery-photo img,
  .gallery-photo-rockies img {
    aspect-ratio: 4 / 3;
  }

  .progress-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .progress-labels span:nth-child(2),
  .progress-labels span:nth-child(3) {
    display: none;
  }

  .map-section {
    padding-block: 72px 80px;
  }

  .parks-section {
    padding-block: 84px;
  }

  .parks-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .parks-callout {
    gap: 32px;
    padding: 28px;
  }

  .parks-comparison {
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
  }

  .parks-saving {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 26px;
  }

  .filter-group {
    justify-content: flex-start;
  }

  #map {
    height: 60vh;
    min-height: 420px;
  }

  .map-caption {
    grid-template-columns: auto 1fr auto;
  }

  .map-caption p:first-of-type,
  .map-caption p:last-of-type {
    display: none;
  }

  .weather-section {
    padding-block: 80px;
  }

  .weather-heading {
    margin-bottom: 32px;
  }

  .weather-status {
    max-width: none;
    text-align: left;
  }

  .weather-grid {
    display: flex;
    width: calc(100% + 16px);
    overflow-x: auto;
    border-left: 0;
    scroll-padding-left: 1px;
    scroll-snap-type: x mandatory;
  }

  .weather-card {
    flex: 0 0 72vw;
    scroll-snap-align: start;
  }

  .weather-loading,
  .weather-empty {
    flex: 0 0 100%;
  }

  .weather-source {
    text-align: left;
  }

  .itinerary-section {
    padding-block: 84px;
  }

  .itinerary-heading > p {
    margin-bottom: 0;
  }

  .prestay {
    gap: 28px;
    margin-block: 42px 62px;
    padding: 28px;
  }

  .timeline-item {
    grid-template-columns: 55px 1fr;
    gap: 12px 18px;
    padding-block: 25px;
  }

  .driving-leg {
    min-height: 43px;
    padding-left: 73px;
  }

  .driving-line {
    width: 24px;
  }

  .driving-leg p {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    align-items: center;
  }

  .driving-leg small {
    margin-left: 5px;
  }

  .date-block {
    grid-column: 2;
  }

  .stop-block,
  .timeline-content {
    grid-column: 2;
  }

  .trip-update {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 24px;
  }

  .trip-update-header {
    gap: 16px;
    align-items: flex-start;
  }

  .trip-update-toggle span {
    display: none;
  }

  .day-planner {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .park-fee {
    grid-template-columns: 1fr;
  }

  .day-number {
    grid-row: 1 / span 4;
  }

  .trip-update-gallery {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .legal-header {
    min-height: 330px;
  }

  .legal-hero {
    padding-top: 70px;
  }

  .legal-content {
    padding-block: 64px 84px;
  }
}

@media (max-width: 420px) {
  .nav-links {
    gap: 16px;
  }

  .prestay {
    grid-template-columns: 1fr;
  }

  .prestay-copy {
    grid-column: 1;
  }

  .footer-bottom {
    gap: 18px;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
  }

  .filter-button {
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
