:root {
  --ink: #17211f;
  --muted: #68716d;
  --paper: #f7f5ef;
  --paper-deep: #ece8de;
  --white: #fffefb;
  --blue: #23456b;
  --red: #a52b32;
  --gold: #a47a37;
  --olive: #556a58;
  --azure: #1e7083;
  --line: rgba(23, 33, 31, 0.16);
  --soft-line: rgba(23, 33, 31, 0.09);
  --shadow: 0 16px 40px rgba(31, 39, 36, 0.12);
  --serif: "Microsoft YaHei", "微软雅黑", sans-serif;
  --sans: "Microsoft YaHei", "微软雅黑", sans-serif;
  --display: "YouYuan", "幼圆", "Microsoft YaHei", "微软雅黑", sans-serif;
  --topbar: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar) + 24px);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: clip;
}

body,
body * {
  font-family: var(--sans) !important;
}

body.dialog-open {
  overflow: hidden;
}

body.rail-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(30, 112, 131, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  height: var(--topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.topbar.is-scrolled {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.tricolore {
  width: 24px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.is-scrolled .tricolore {
  border-color: var(--line);
}

.tricolore i:nth-child(1) {
  background: var(--blue);
}

.tricolore i:nth-child(2) {
  background: var(--white);
}

.tricolore i:nth-child(3) {
  background: var(--red);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}

.desktop-nav a {
  position: relative;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.topbar-actions {
  display: flex;
  gap: 6px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.music-toggle {
  border-color: transparent;
}

.music-toggle:hover,
.music-toggle.is-playing {
  border-color: currentColor;
}

.music-equalizer {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.music-equalizer i {
  width: 2px;
  height: 15px;
  display: block;
  background: currentColor;
  border-radius: 2px;
  transform: scaleY(var(--music-idle-scale, 0.45));
  transform-origin: center;
}

.music-equalizer i:nth-child(1) {
  --music-idle-scale: 0.42;
}

.music-equalizer i:nth-child(2) {
  --music-idle-scale: 0.76;
}

.music-equalizer i:nth-child(3) {
  --music-idle-scale: 0.56;
}

.music-equalizer i:nth-child(4) {
  --music-idle-scale: 0.32;
}

.music-toggle.is-playing .music-equalizer i {
  animation: music-equalizer-pulse 720ms ease-in-out infinite alternate;
}

.music-toggle.is-playing .music-equalizer i:nth-child(2) {
  animation-duration: 560ms;
  animation-delay: -180ms;
}

.music-toggle.is-playing .music-equalizer i:nth-child(3) {
  animation-duration: 820ms;
  animation-delay: -340ms;
}

.music-toggle.is-playing .music-equalizer i:nth-child(4) {
  animation-duration: 630ms;
  animation-delay: -90ms;
}

@keyframes music-equalizer-pulse {
  0% {
    transform: scaleY(0.28);
  }

  100% {
    transform: scaleY(1);
  }
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: #1b2422;
}

.hero-mosaic {
  position: absolute;
  inset: 0;
}

.hero-mosaic picture {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 26, 0.72) 0%, rgba(7, 17, 26, 0.42) 48%, rgba(7, 17, 26, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 17, 26, 0.58) 0%, rgba(7, 17, 26, 0.02) 64%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 152px 0 76px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1040px;
  margin: 0;
  font-family: var(--display) !important;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.22);
  text-shadow: 0 3px 0 rgba(6, 17, 26, 0.34), 0 12px 30px rgba(0, 0, 0, 0.3);
  text-wrap: balance;
}

.hero h1 * {
  font-family: var(--display) !important;
}

.hero-heart {
  display: inline-block;
  margin: 0 0.08em;
  color: #e32431;
  font-family: Georgia, serif;
  font-size: 0.72em;
  line-height: 1;
  transform: translateY(-0.04em) rotate(-6deg);
  text-shadow: 0 2px 0 rgba(109, 13, 22, 0.28), 0 4px 14px rgba(0, 0, 0, 0.3);
}

.hero-deck {
  max-width: 680px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 34px;
  font-size: 13px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 38px;
  bottom: 34px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.scroll-cue svg {
  width: 18px;
}

.overview {
  padding: 94px max(40px, calc((100% - 1180px) / 2)) 102px;
  background: var(--white);
}

.section-kicker {
  color: var(--red);
}

.overview-heading {
  max-width: 860px;
}

.notes-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 80px;
  align-items: end;
}

.overview h2,
.field-notes h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.35;
}

.notes-heading > p {
  margin: 0;
  color: var(--muted);
}

.route-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 76px 0 0;
  padding: 0;
  list-style: none;
}

.route-line::before {
  content: "";
  position: absolute;
  top: 19px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: var(--line);
}

.route-line li {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.route-line li > span {
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border: 7px solid var(--white);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 10px;
}

.route-line li:nth-child(2) > span,
.route-line li:nth-child(5) > span {
  background: var(--red);
}

.route-line li:nth-child(3) > span,
.route-line li:nth-child(6) > span {
  background: var(--olive);
}

.route-line strong {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 15px;
}

.route-line small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.route-map {
  margin-top: 54px;
}

.route-map-figure {
  position: relative;
  margin: 0;
}

.route-map-viewport {
  width: 100%;
  overflow: auto;
  background: #fbfcfb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 33, 31, 0.3) transparent;
}

.route-map-viewport:focus-visible {
  outline: 3px solid rgba(30, 112, 131, 0.35);
  outline-offset: 3px;
}

.route-map-viewport img {
  width: 100%;
  height: auto;
  max-width: none;
}

.map-expand {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  color: var(--ink);
  background: rgba(255, 254, 251, 0.92);
  border-color: rgba(23, 33, 31, 0.28);
  box-shadow: 0 6px 18px rgba(31, 39, 36, 0.1);
  backdrop-filter: blur(8px);
}

.route-map-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: Georgia, var(--sans);
  font-size: 10px;
  text-align: right;
}

.journey-shell {
  position: relative;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 70px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 48px 130px;
}

.day-rail {
  position: sticky;
  top: calc(var(--topbar) + 28px);
  align-self: start;
  max-height: calc(100vh - var(--topbar) - 56px);
  padding-right: 26px;
  overflow: auto;
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
}

.rail-heading {
  display: grid;
  margin-bottom: 20px;
}

.rail-heading span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 10px;
  text-transform: uppercase;
}

.rail-heading strong {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

#day-nav {
  display: grid;
}

#day-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 7px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease;
}

#day-nav a span {
  font-family: Georgia, serif;
  font-weight: 700;
}

#day-nav a:hover,
#day-nav a.is-active {
  color: var(--red);
}

#day-nav a.is-active::before {
  content: "";
  position: absolute;
  top: 8px;
  right: -27px;
  width: 3px;
  height: 28px;
  background: var(--red);
}

.rail-progress {
  margin-top: 18px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 10px;
}

.rail-progress > div {
  height: 2px;
  margin-top: 7px;
  overflow: hidden;
  background: var(--line);
}

.rail-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
}

.journey-content {
  min-width: 0;
  min-height: 620px;
}

.journey-index {
  position: relative;
  min-height: 620px;
  padding: 56px 0 40px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.journey-index-number {
  position: absolute;
  top: 22px;
  right: 0;
  color: rgba(165, 43, 50, 0.08);
  font-family: Georgia, serif;
  font-size: 176px;
  line-height: 0.9;
  pointer-events: none;
}

.journey-index-number small {
  display: block;
  margin-top: 10px;
  color: rgba(23, 33, 31, 0.13);
  font-family: Georgia, serif;
  font-size: 18px;
  text-align: right;
  text-transform: uppercase;
}

.journey-index > .eyebrow {
  position: relative;
  color: var(--red);
}

.journey-index > h2 {
  position: relative;
  max-width: 620px;
  margin: 0;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.35;
}

.journey-index-mobile-break {
  display: none;
}

.journey-index > p:not(.eyebrow) {
  position: relative;
  max-width: 670px;
  margin: 18px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.journey-index-guide {
  position: relative;
  max-width: 670px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: -18px 0 22px;
  padding: 13px 0;
  color: var(--muted);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.journey-index-guide > svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  color: var(--red);
  border: 1px solid rgba(165, 43, 50, 0.38);
  border-radius: 50%;
}

.journey-index-guide strong,
.journey-index-guide span {
  display: block;
}

.journey-index-guide strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.journey-index-guide span {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.55;
}

.journey-index-phases {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.journey-index-phases li {
  border-bottom: 1px solid var(--line);
}

.journey-index-phases li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.journey-index-phases a {
  min-height: 82px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px 16px 0;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, padding 160ms ease;
}

.journey-index-phases li:nth-child(even) a {
  padding-left: 18px;
}

.journey-index-phases a:hover,
.journey-index-phases a:focus-visible {
  color: var(--red);
  background: rgba(255, 254, 251, 0.5);
}

.journey-index-phases a:active {
  background: rgba(165, 43, 50, 0.07);
}

.journey-index-phase-days {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 11px;
}

.journey-index-phase-copy {
  min-width: 0;
}

.journey-index-phase-copy strong,
.journey-index-phase-copy small {
  display: block;
}

.journey-index-phase-copy strong {
  font-size: 13px;
  font-weight: 600;
}

.journey-index-phase-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.journey-index-phases a > svg {
  width: 17px;
  height: 17px;
  color: rgba(23, 33, 31, 0.42);
  transition: color 160ms ease, transform 160ms ease;
}

.journey-index-phases a:hover > svg,
.journey-index-phases a:focus-visible > svg {
  color: var(--red);
  transform: translate(2px, -2px);
}

.journey-loading {
  min-height: 620px;
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  animation: journey-loading-pulse 1.1s ease-in-out infinite alternate;
}

.journey-loading > span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 62px;
  line-height: 1;
}

.journey-loading p {
  margin: 0 0 6px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 10px;
  text-transform: uppercase;
}

.journey-loading strong {
  font-size: 22px;
  font-weight: 500;
}

@keyframes journey-loading-pulse {
  from { opacity: 0.48; }
  to { opacity: 1; }
}

.journey-error {
  min-height: 360px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-error > svg {
  color: var(--red);
}

.journey-error strong {
  font-size: 18px;
}

.journey-error p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.journey-retry {
  min-height: 40px;
  padding: 0 18px;
  color: var(--white);
  background: var(--red);
  border: 0;
  cursor: pointer;
}

.trip-section {
  position: relative;
  padding: 26px 0 110px;
  border-top: 1px solid var(--line);
}

.trip-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.day-header {
  position: relative;
  margin-bottom: 42px;
  padding: 28px 0 26px 88px;
  border-bottom: 1px solid var(--line);
}

.day-number {
  position: absolute;
  top: 26px;
  left: 0;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 50px;
  line-height: 1;
}

.day-number small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  text-transform: uppercase;
}

.day-header .eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
}

.day-header h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.35;
}

.day-quick-nav {
  display: none;
}

.day-intro {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.day-intro strong {
  color: var(--ink);
}

.content-flow {
  display: grid;
  gap: 0;
}

.day-highlights {
  min-width: 0;
  margin: 0 0 38px;
  outline: none;
}

.day-highlights:focus-visible .highlight-stage {
  outline: 3px solid rgba(30, 112, 131, 0.34);
  outline-offset: 4px;
}

.highlight-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.highlight-heading span {
  display: block;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.highlight-heading h3 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

.highlight-heading small {
  flex: 0 0 auto;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
}

.highlight-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #17201f;
  border-top: 3px solid var(--red);
  touch-action: pan-y;
}

.highlight-image-button {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.highlight-image-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.highlight-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: rgba(19, 29, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.highlight-arrow:hover {
  background: rgba(165, 43, 50, 0.9);
}

.highlight-arrow svg {
  width: 20px;
  height: 20px;
}

.highlight-previous {
  left: 18px;
}

.highlight-next {
  right: 18px;
}

.highlight-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 92px;
  padding: 16px 18px 17px;
  background: #ede9df;
  border-bottom: 1px solid var(--line);
}

.highlight-copy {
  min-width: 0;
}

.highlight-copy strong {
  display: block;
  color: var(--red);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.highlight-copy p {
  margin: 3px 0 0;
  color: #4d5753;
  font-size: 12px;
  line-height: 1.65;
}

.highlight-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.highlight-count {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 10px;
  white-space: nowrap;
}

.highlight-dots {
  display: flex;
  align-items: center;
}

.highlight-dots button {
  position: relative;
  width: 18px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.highlight-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: #9e9b91;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 160ms ease, background-color 160ms ease, border-radius 160ms ease;
}

.highlight-dots button.is-active::before {
  width: 14px;
  background: var(--red);
  border-radius: 4px;
}

.day-mainline {
  margin: 6px 0 58px;
  padding: 0 26px 24px;
  background: #e9eff1;
  border-top: 3px solid var(--azure);
  border-bottom: 1px solid rgba(30, 112, 131, 0.2);
}

.module-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 20px 0 17px;
  border-bottom: 1px solid var(--line);
}

.module-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--red);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.module-icon svg {
  width: 17px;
  height: 17px;
}

.module-header span {
  display: block;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.module-header h3 {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
}

.module-header small {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.module-header small b {
  color: var(--olive);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 400;
}

.mainline-header {
  border-bottom-color: rgba(30, 112, 131, 0.22);
}

.mainline-header .module-icon {
  color: var(--azure);
}

.mainline-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.mainline-list::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 24px;
  left: 95px;
  width: 1px;
  background: rgba(30, 112, 131, 0.3);
}

.mainline-list li {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 15px 0;
}

.mainline-list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 91px;
  width: 7px;
  height: 7px;
  background: var(--white);
  border: 2px solid var(--azure);
  border-radius: 50%;
}

.mainline-list time {
  color: var(--azure);
  font-family: Georgia, var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  text-align: right;
}

.mainline-list p {
  margin: 0;
  color: #394642;
  font-size: 14px;
  line-height: 1.75;
}

.place-name {
  padding: 0 1px;
  color: #0f5867;
  font-weight: 700;
  border-bottom: 2px solid rgba(235, 75, 81, 0.38);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.mainline-list .place-name {
  color: #173f45;
  background: transparent;
  border-bottom-color: var(--red);
}

.mainline-list a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.day-module {
  margin: 0 0 64px;
  padding-top: 2px;
  border-top: 3px solid var(--ink);
}

.day-module .module-body {
  padding-top: 22px;
}

.day-module .module-body > .body-copy,
.day-module .module-body > .detail-heading,
.day-module .module-body > .timeline-item,
.day-module .module-body > .content-callout,
.day-module .module-body > .inline-photo {
  max-width: 790px;
}

.module-checklist {
  padding: 2px 24px 20px;
  background: #f0f3ed;
  border-top-color: var(--olive);
}

.module-checklist .module-icon {
  color: var(--olive);
}

.module-checklist .module-header {
  border-bottom-color: rgba(85, 106, 88, 0.2);
}

.module-practical {
  padding: 2px 24px 20px;
  background: #f3f7f5;
  border-top-color: #0f5867;
}

.module-practical .module-icon {
  color: #0f5867;
}

.module-practical .module-header {
  border-bottom-color: rgba(15, 88, 103, 0.18);
}

.content-divider {
  width: 72px;
  margin: 24px 0;
  border: 0;
  border-top: 1px solid rgba(15, 88, 103, 0.24);
}

.day-task-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  color: #35403c;
  border-bottom: 1px solid rgba(85, 106, 88, 0.14);
  font-size: 13px;
  line-height: 1.75;
}

.day-task-item a {
  color: var(--blue);
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.day-task-reference {
  max-width: 620px;
  margin: 13px 0 3px;
  overflow: hidden;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(31, 39, 36, 0.08);
}

.day-task-reference .photo-button img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.day-task-reference figcaption {
  padding: 9px 12px 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.day-task-lead {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.day-task-detail {
  margin-top: 7px;
  padding-top: 7px;
  color: #5e6965;
  border-top: 1px dashed rgba(85, 106, 88, 0.2);
  font-size: 12px;
}

.day-task-records {
  display: grid;
  gap: 11px;
}

.day-task-record {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(85, 106, 88, 0.2);
}

.day-task-record:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.day-task-record-heading > strong,
.day-task-record-heading > span {
  display: block;
}

.day-task-record-heading > strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.day-task-record-heading > span {
  margin-top: 2px;
  color: var(--olive);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.day-task-record-detail {
  color: #5e6965;
  font-size: 12px;
  line-height: 1.7;
}

.day-task-item:has(.day-task-checkbox:checked) .day-task-lead {
  color: #858c88;
}

.day-task-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  margin: 2px 0 0;
  background: var(--white);
  border: 1.5px solid rgba(85, 106, 88, 0.7);
  border-radius: 2px;
  cursor: pointer;
}

.day-task-checkbox::before {
  content: "";
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}

.day-task-checkbox:checked {
  background: var(--olive);
  border-color: var(--olive);
}

.day-task-checkbox:checked::before {
  opacity: 1;
}

.day-task-item:has(.day-task-checkbox:checked) > div {
  color: #858c88;
}

.day-task-subhead {
  margin: 22px 0 6px;
  color: var(--olive);
  font-family: var(--serif);
  font-size: 17px;
}

.module-notes .module-icon {
  color: var(--blue);
}

.module-notes .body-copy {
  padding-left: 16px;
  border-left: 2px solid rgba(35, 69, 107, 0.16);
}

.module-food {
  border-top-color: #b45a45;
}

.module-food .module-icon {
  color: #b45a45;
}

.module-food .body-copy,
.module-food .timeline-item,
.module-food .content-callout {
  padding: 14px 16px;
  background: rgba(180, 90, 69, 0.06);
  border-left: 2px solid rgba(180, 90, 69, 0.45);
}

.module-photos {
  min-width: 0;
  border-top-color: var(--azure);
}

.module-photos .module-icon {
  color: var(--azure);
}

.day-route-map {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: -12px 0 34px;
}

.day-route-map-viewport {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #fbfcfb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.day-route-map-viewport img {
  display: block;
  width: 100%;
  height: auto;
}

.day-route-map-expand {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  color: var(--ink);
  background: rgba(255, 254, 251, 0.94);
  border-color: rgba(23, 33, 31, 0.28);
  box-shadow: 0 6px 18px rgba(31, 39, 36, 0.1);
  backdrop-filter: blur(8px);
}

.day-route-map figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.module-shopping {
  border-top-color: var(--gold);
}

.module-shopping .module-icon {
  color: var(--gold);
}

.module-shopping .body-copy,
.module-shopping .detail-heading {
  padding-left: 16px;
  border-left: 2px solid rgba(164, 122, 55, 0.28);
}

.content-flow > p,
.content-flow > .source-note,
.content-flow > .detail-heading,
.content-flow > .timeline-item,
.content-flow > .content-callout {
  max-width: 790px;
}

.structured-copy {
  --structured-accent: var(--blue);
  width: 100%;
  max-width: 900px;
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.structured-copy-row {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  border-left: 2px solid color-mix(in srgb, var(--structured-accent) 42%, transparent);
}

.structured-copy-heading {
  min-width: 0;
  padding: 8px 18px 8px 14px;
}

.structured-copy-title {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.structured-copy-type {
  display: block;
  margin-top: 2px;
  color: var(--structured-accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.structured-copy-detail {
  min-width: 0;
  padding: 8px 16px;
  color: #45504c;
  border-left: 1px solid var(--soft-line);
  font-size: 14px;
  line-height: 1.7;
}

.structured-copy a {
  color: var(--blue);
  text-decoration-color: rgba(35, 69, 107, 0.35);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.module-food .structured-copy {
  --structured-accent: #a84c38;
}

.module-shopping .structured-copy {
  --structured-accent: var(--gold);
}

.body-copy {
  margin: 0 0 16px;
  color: #35403c;
  white-space: pre-line;
}

.body-copy a,
.table-wrap a {
  color: var(--blue);
  text-decoration-color: rgba(35, 69, 107, 0.35);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.day-outfit {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 30px;
  padding: 12px 16px;
  color: #4f4544;
  background: #f5eceb;
  border-left: 3px solid var(--red);
  font-size: 13px;
}

.day-outfit-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  color: var(--red);
  background: var(--white);
  border-radius: 50%;
}

.day-outfit-icon svg {
  width: 14px;
  height: 14px;
}

.day-outfit strong {
  flex: 0 0 auto;
  color: var(--red);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.day-outfit-divider {
  width: 1px;
  height: 15px;
  flex: 0 0 1px;
  background: rgba(177, 45, 52, 0.24);
}

.day-outfit-copy {
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.day-outfit-copy::-webkit-scrollbar {
  display: none;
}

.lodging-module {
  margin: 0 0 58px;
  border-top: 3px solid #285247;
}

.lodging-module-header {
  border-bottom-color: rgba(40, 82, 71, 0.22);
}

.lodging-module-header .module-icon {
  color: #285247;
}

.lodging-status {
  padding: 5px 9px;
  color: #7a5c25 !important;
  background: rgba(164, 122, 55, 0.08);
  border: 1px solid rgba(164, 122, 55, 0.42);
  border-radius: 4px;
  line-height: 1.2;
}

.lodging-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 20px 0 16px;
}

.lodging-subtitle {
  margin: 0 0 8px;
  color: #285247;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.lodging-identity h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.lodging-address {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 6px 0 0;
  color: #4e5b56;
  font-size: 12px;
  line-height: 1.55;
}

.lodging-address svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #285247;
}

.lodging-property-actions {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.lodging-property-actions > div {
  display: flex;
  gap: 10px;
}

.lodging-dates {
  color: var(--muted);
  font-family: Georgia, var(--sans);
  font-size: 11px;
}

.lodging-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: #34423e;
  background: rgba(255, 254, 251, 0.72);
  border: 1px solid rgba(23, 33, 31, 0.24);
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.lodging-action:hover {
  color: var(--red);
  background: var(--white);
  border-color: rgba(165, 43, 50, 0.48);
}

.lodging-action svg {
  width: 15px;
  height: 15px;
}

.lodging-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
}

.lodging-facts > div {
  min-width: 0;
  padding: 12px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.lodging-facts > div:last-child {
  border-right: 0;
}

.lodging-facts dt {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.lodging-facts dd {
  margin: 5px 0 0;
  color: #56615d;
  font-size: 11px;
  line-height: 1.5;
}

.lodging-guide {
  margin-top: 8px;
  border: 1px solid var(--line);
}

.lodging-guide > summary,
.lodging-more > summary {
  list-style: none;
  cursor: pointer;
}

.lodging-guide > summary::-webkit-details-marker,
.lodging-more > summary::-webkit-details-marker {
  display: none;
}

.lodging-guide > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 18px;
  gap: 16px;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  color: #34423e;
  background: rgba(255, 254, 251, 0.48);
}

.lodging-guide > summary > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lodging-guide > summary svg {
  width: 15px;
  height: 15px;
  color: #285247;
}

.lodging-guide > summary small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lodging-guide-chevron {
  transition: transform 160ms ease;
}

.lodging-guide[open] .lodging-guide-chevron {
  transform: rotate(180deg);
}

.lodging-guide-body {
  padding: 0 12px 12px;
  border-top: 1px solid var(--soft-line);
}

.lodging-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 12px 0;
  counter-reset: lodging-step;
  list-style: none;
}

.lodging-steps-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lodging-steps li {
  position: relative;
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 5px 28px 5px 36px;
  color: #3d4945;
  border-right: 1px solid var(--soft-line);
  font-size: 11px;
  line-height: 1.5;
  counter-increment: lodging-step;
}

.lodging-steps li:last-child {
  padding-right: 8px;
  border-right: 0;
}

.lodging-steps li::before {
  content: counter(lodging-step);
  position: absolute;
  left: 8px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #285247;
  border: 1px solid rgba(40, 82, 71, 0.5);
  border-radius: 50%;
  font-family: Georgia, var(--sans);
  font-size: 10px;
}

.lodging-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 8px;
  color: rgba(40, 82, 71, 0.46);
}

.lodging-secrets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lodging-secret {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(88px, auto) minmax(74px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 254, 251, 0.68);
  border: 1px solid var(--soft-line);
}

.lodging-secret-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #384541;
  font-size: 11px;
}

.lodging-secret-label svg {
  width: 15px;
  height: 15px;
  color: #285247;
}

.lodging-secret code {
  color: var(--ink);
  background: transparent;
  font-family: Consolas, monospace !important;
  font-size: 13px;
  letter-spacing: 0;
}

.lodging-secret-toggle {
  min-width: 58px;
  min-height: 30px;
  padding: 0 12px;
  color: #34423e;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
}

.lodging-secret-toggle:hover {
  color: var(--red);
  border-color: rgba(165, 43, 50, 0.48);
}

.lodging-arrival {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
  padding-top: 12px;
}

.lodging-arrival-warning {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  color: #234c41;
  background: rgba(40, 82, 71, 0.06);
  border: 1px solid rgba(40, 82, 71, 0.56);
  border-radius: 4px;
}

.lodging-arrival-warning svg {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
}

.lodging-arrival-warning strong {
  font-size: 16px;
  line-height: 1.55;
}

.lodging-arrival-photos {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lodging-arrival-photo {
  min-width: 0;
  height: 132px;
  padding: 0;
  overflow: hidden;
  background: #dde4df;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: zoom-in;
}

.lodging-arrival-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease;
}

.lodging-arrival-photo-2 img {
  object-position: center 55%;
}

.lodging-arrival-photo:hover img {
  transform: scale(1.025);
}

.lodging-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 8px 0 0;
  border-bottom: 1px solid var(--line);
}

.lodging-more {
  min-width: 0;
}

.lodging-more > summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #48544f;
  font-size: 12px;
}

.lodging-more > summary svg {
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}

.lodging-more[open] > summary svg {
  transform: rotate(180deg);
}

.lodging-more-body {
  max-width: 680px;
  padding: 0 0 14px 23px;
  color: #59645f;
  font-size: 11px;
}

.lodging-more-body ul {
  margin: 0;
  padding-left: 16px;
}

.lodging-more-body li + li {
  margin-top: 5px;
}

.lodging-more-body a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.lodging-contact-action {
  min-width: 190px;
  min-height: 40px;
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.lodging-contact-action:hover {
  color: var(--white);
  background: #8f2028;
  border-color: #8f2028;
}

.detail-heading {
  margin: 24px 0 10px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.detail-heading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 2px;
  margin: 0 10px 5px 0;
  background: var(--red);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  margin: 0 0 4px;
  padding: 10px 0 16px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 82px;
  width: 7px;
  height: 7px;
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: 50%;
}

.timeline-time {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.timeline-copy {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  white-space: pre-line;
}

.content-callout {
  position: relative;
  margin: 18px 0 24px;
  padding: 18px 20px 18px 48px;
  color: #374541;
  background: rgba(30, 112, 131, 0.07);
  border: 1px solid rgba(30, 112, 131, 0.22);
  border-radius: 4px;
}

.content-callout > svg {
  position: absolute;
  top: 20px;
  left: 18px;
  width: 18px;
  height: 18px;
  color: var(--azure);
}

.table-wrap {
  width: 100%;
  margin: 24px 0 42px;
  overflow-x: auto;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.source-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 13px;
}

.source-table td {
  min-width: 120px;
  padding: 13px 14px;
  vertical-align: top;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.source-table tr:last-child td {
  border-bottom: 0;
}

.source-table td:last-child {
  border-right: 0;
}

.source-table p {
  margin: 0 0 7px;
  white-space: pre-line;
}

.source-table p:last-child {
  margin-bottom: 0;
}

.source-table tr:first-child td {
  color: var(--ink);
  background: rgba(35, 69, 107, 0.05);
  font-weight: 600;
}

.photo-table {
  border: 0;
  overflow: visible;
}

.photo-table .source-table,
.photo-table tbody,
.photo-table tr,
.photo-table td {
  display: contents;
}

.photo-table .source-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.photo-table .photo-cell {
  display: block;
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(31, 39, 36, 0.08);
}

.photo-cell p {
  padding: 11px 14px 12px;
  color: var(--muted);
  font-size: 11px;
}

.photo-cell p:first-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
}

.photo-button {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #dedbd2;
  border: 0;
  cursor: zoom-in;
}

.photo-button img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 280ms ease;
}

.photo-button:hover img {
  transform: scale(1.025);
}

.photo-button::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  background: rgba(255, 254, 251, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2317211f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-radius: 50%;
}

.inline-photo {
  width: min(100%, 790px);
  margin: 22px 0 36px;
  overflow: hidden;
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.inline-photo .photo-button img {
  height: auto;
  max-height: 620px;
  object-fit: contain;
}

.inline-photo figcaption {
  padding: 12px 16px 14px;
  color: var(--muted);
  font-size: 11px;
}

.prep-section {
  margin-top: 20px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(32, 57, 54, 0.2);
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(31, 39, 36, 0.09);
}

.prep-section .day-header {
  margin: 0;
  padding: 38px 38px 34px 112px;
  color: var(--white);
  background: #203936;
  border-bottom: 0;
}

.prep-section .day-number {
  top: 39px;
  left: 38px;
  color: #e0b269;
  font-size: 42px;
}

.prep-section .day-number small,
.prep-section .day-header .eyebrow,
.prep-section .day-intro {
  color: rgba(255, 255, 255, 0.68);
}

.prep-section .day-header h2 {
  max-width: 680px;
}

.prep-checklist {
  padding: 0 34px 40px;
}

.prep-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -34px 6px;
  padding: 17px 34px;
  color: var(--ink);
  background: #e8eee8;
  border-bottom: 1px solid rgba(32, 57, 54, 0.12);
}

.prep-toolbar > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.prep-toolbar strong {
  color: var(--olive);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.prep-toolbar span {
  color: var(--muted);
  font-size: 11px;
}

.prep-toolbar .icon-button {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  color: var(--olive);
  border-color: rgba(85, 106, 88, 0.38);
}

.prep-module {
  margin: 30px 0 0;
  border-top: 2px solid var(--ink);
}

.prep-group-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px 0 15px;
  border-bottom: 1px solid rgba(32, 57, 54, 0.16);
}

.prep-group-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--olive);
  border-radius: 50%;
}

.prep-group-icon svg {
  width: 18px;
  height: 18px;
}

.prep-group-header > div:nth-child(2) > span {
  display: block;
  margin-bottom: 2px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.prep-group-header h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
}

.prep-group-progress {
  min-width: 70px;
  text-align: right;
}

.prep-group-progress strong,
.prep-group-progress span {
  display: block;
}

.prep-group-progress strong {
  color: var(--olive);
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 400;
}

.prep-group-progress span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.prep-group-body {
  padding: 4px 0 8px;
}

.prep-clothing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prep-clothing-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 14px 15px 14px 0;
  border-bottom: 1px solid var(--soft-line);
}

.prep-clothing-item:not(:nth-child(3n + 1)) {
  padding-left: 15px;
  border-left: 1px solid var(--soft-line);
}

.prep-clothing-item strong,
.prep-clothing-item small {
  display: block;
}

.prep-clothing-item strong {
  color: #35403c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.prep-clothing-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.prep-clothing-item:has(.prep-checkbox:checked) strong,
.prep-clothing-item:has(.prep-checkbox:checked) small {
  color: #8a918d;
  text-decoration: line-through;
}

.prep-summary-line {
  margin: 12px 0 2px 41px;
  padding: 10px 13px;
  color: var(--muted);
  background: #f1f3ef;
  border-left: 3px solid rgba(85, 106, 88, 0.45);
  font-size: 11px;
}

.prep-composite-copy > strong {
  display: block;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
}

.prep-composite-details {
  color: #4e5a56;
  font-size: 12px;
  line-height: 1.7;
}

.prep-composite-details p {
  position: relative;
  margin: 4px 0;
  padding-left: 12px;
}

.prep-composite-details p::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  background: rgba(85, 106, 88, 0.65);
  border-radius: 50%;
}

.prep-composite-details .photo-button {
  max-width: 360px;
  margin: 12px 0 4px;
}

.prep-group-title {
  margin: 32px 0 8px;
  padding-bottom: 10px;
  color: var(--ink);
  border-bottom: 2px solid var(--olive);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.prep-group-title::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 10px 2px 0;
  background: var(--red);
  transform: rotate(45deg);
}

.prep-check-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid var(--soft-line);
}

.prep-checkbox {
  appearance: none;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  margin: 2px 0 0;
  background: var(--white);
  border: 1.5px solid rgba(85, 106, 88, 0.65);
  border-radius: 2px;
  cursor: pointer;
}

.prep-checkbox::before {
  content: "";
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}

.prep-checkbox:checked {
  background: var(--olive);
  border-color: var(--olive);
}

.prep-checkbox:checked::before {
  opacity: 1;
}

.prep-check-copy,
.prep-row-cells {
  min-width: 0;
  color: #35403c;
  font-size: 13px;
  line-height: 1.75;
}

.prep-check-copy a,
.prep-row-cells a {
  color: var(--blue);
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.prep-check-item:has(.prep-checkbox:checked) .prep-check-copy,
.prep-check-item:has(.prep-checkbox:checked) .prep-row-cells {
  color: #7b837f;
}

.prep-row-cells {
  display: grid;
  grid-template-columns: repeat(var(--prep-columns), minmax(0, 1fr));
  gap: 0;
}

.prep-row-cells > div {
  min-width: 0;
  padding: 0 13px;
  border-right: 1px solid var(--soft-line);
}

.prep-row-cells > div:first-child {
  padding-left: 0;
  color: var(--ink);
  font-weight: 600;
}

.prep-row-cells > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.prep-row-cells p {
  margin: 0 0 5px;
}

.prep-row-cells p:last-child {
  margin-bottom: 0;
}

.prep-check-item .photo-button {
  max-width: 460px;
  margin-top: 14px;
  border-radius: 4px;
}

.prep-check-item .photo-button img {
  height: auto;
  max-height: 480px;
  object-fit: contain;
}

.prep-reference-photo {
  margin-right: 0;
  margin-left: 41px;
}

.field-notes {
  padding: 96px max(40px, calc((100% - 1180px) / 2)) 110px;
  color: var(--white);
  background: #203936;
}

.field-notes .section-kicker {
  color: #e0b269;
}

.notes-heading > p {
  color: rgba(255, 255, 255, 0.7);
}

.notes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.margin-note {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.margin-note-number {
  color: #e0b269;
  font-family: Georgia, serif;
  font-size: 13px;
}

.margin-note strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-weight: 500;
}

.margin-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.7;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  padding: 44px max(40px, calc((100% - 1180px) / 2));
  color: #767d79;
  background: #121918;
  font-size: 11px;
}

.footer > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer p {
  margin: 0;
}

.footer-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid #767d79;
  border-radius: 50%;
  font-family: Georgia, serif;
}

dialog {
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

dialog::backdrop {
  background: rgba(8, 14, 13, 0.75);
  backdrop-filter: blur(5px);
}

.search-dialog {
  width: min(700px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 48px));
  border-radius: 6px;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 10px;
}

.dialog-header label {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.dialog-header .icon-button,
.lightbox .icon-button {
  border-color: var(--line);
}

.search-field {
  position: relative;
  margin: 10px 22px 18px;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  transform: translateY(-50%);
  color: var(--muted);
}

.search-field input {
  width: 100%;
  height: 52px;
  padding: 0 15px 0 46px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.search-results {
  max-height: 520px;
  padding: 0 22px 24px;
  overflow: auto;
}

.search-empty {
  padding: 36px 0 44px;
  color: var(--muted);
  text-align: center;
}

.search-result {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.search-result span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 10px;
  text-transform: uppercase;
}

.search-result p {
  margin: 4px 0 0;
  font-size: 13px;
}

.search-result mark {
  color: inherit;
  background: rgba(224, 178, 105, 0.5);
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  color: var(--white);
  background: rgba(12, 18, 17, 0.98);
}

.lightbox figure {
  width: calc(100% - 160px);
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  margin: 0 auto;
  padding: 44px 0 24px;
}

.lightbox figure img {
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
}

.lightbox figcaption {
  min-height: 32px;
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 3;
}

.lightbox-close {
  top: 22px;
  right: 22px;
}

.lightbox-prev {
  top: 50%;
  left: 24px;
}

.lightbox-next {
  top: 50%;
  right: 24px;
}

@media (max-width: 980px) {
  :root {
    --topbar: 62px;
  }

  .topbar {
    padding: 0 22px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero-copy {
    width: min(100% - 44px, 760px);
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .notes-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .route-line {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .route-line::before {
    display: none;
  }

  .journey-shell {
    display: block;
    padding: 50px 30px 100px;
  }

  .day-rail {
    position: fixed;
    z-index: 45;
    top: var(--topbar);
    right: 0;
    bottom: 0;
    width: min(330px, 88vw);
    max-height: none;
    padding: 26px 34px;
    color: var(--ink);
    background: var(--paper);
    border-right: 0;
    box-shadow: -16px 0 50px rgba(17, 27, 25, 0.2);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  body.rail-open::before {
    content: "";
    position: fixed;
    z-index: 44;
    inset: var(--topbar) 0 0;
    background: rgba(18, 25, 24, 0.42);
  }

  .day-rail.is-open {
    transform: translateX(0);
  }

  #day-nav a {
    min-height: 42px;
    align-items: center;
    padding: 9px 0;
  }

  #day-nav a.is-active::before {
    right: -34px;
  }

  .lodging-identity {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lodging-property-actions {
    justify-items: start;
  }

  .lodging-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lodging-facts > div:nth-child(2) {
    border-right: 0;
  }

  .lodging-facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .lodging-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lodging-steps li:nth-child(2) {
    border-right: 0;
  }

  .lodging-steps li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--soft-line);
  }

  .lodging-arrival {
    grid-template-columns: 1fr;
  }

  .lodging-action,
  .lodging-secret-toggle {
    min-height: 44px;
  }

  .body-copy a,
  .structured-copy a,
  .table-wrap:not(.photo-table) a {
    position: relative;
  }

  .body-copy a::after,
  .structured-copy a::after,
  .table-wrap:not(.photo-table) a::after {
    content: "";
    position: absolute;
    inset: -10px -4px;
  }

  .lodging-more-body a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .field-notes {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 681px) and (max-width: 768px) {
  .day-quick-nav {
    position: sticky;
    z-index: 22;
    top: var(--topbar);
    display: block;
    margin: -12px -30px 30px;
    overflow: hidden;
    color: var(--ink);
    background: rgba(247, 245, 239, 0.97);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(23, 33, 31, 0.08);
    backdrop-filter: blur(14px);
  }

  .day-quick-nav-track {
    display: flex;
    justify-content: flex-start;
    gap: 4px;
    padding: 7px 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .day-quick-nav-track::-webkit-scrollbar {
    display: none;
  }

  .day-quick-nav button {
    min-width: 70px;
    min-height: 44px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    color: #52605b;
    background: transparent;
    border: 0;
    border-radius: 3px;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
  }

  .day-quick-nav button svg {
    width: 15px;
    height: 15px;
  }

  .day-quick-nav button.is-active {
    color: var(--white);
    background: var(--ink);
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .topbar {
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    padding-left: max(14px, env(safe-area-inset-left, 0px));
  }

  .brand span:last-child {
    font-size: 13px;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-mosaic {
    display: block;
  }

  .hero-mosaic img {
    display: block;
    width: 100%;
    height: 100%;
    object-position: 64% center;
  }

  .hero-copy {
    width: calc(100% - 36px);
    padding: 124px 0 54px;
  }

  .hero h1 {
    font-size: 39px;
    line-height: 1.15;
  }

  .hero-deck {
    max-width: 92%;
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-meta {
    display: grid;
    gap: 7px;
    margin-top: 22px;
  }

  .scroll-cue {
    right: 18px;
    bottom: 18px;
  }

  .overview {
    padding: 70px 20px 78px;
  }

  .overview h2,
  .field-notes h2 {
    font-size: 31px;
  }

  .route-line {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }

  .route-map {
    margin-top: 42px;
  }

  .route-map-viewport img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .route-map-viewport {
    overflow: hidden;
    touch-action: auto;
  }

  .map-expand {
    top: 12px;
    right: 12px;
  }

  .journey-shell {
    padding: 38px 18px 80px;
  }

  .journey-index {
    min-height: 0;
    padding: 38px 0 24px;
  }

  .journey-index-number {
    top: 18px;
    right: -6px;
    font-size: 128px;
  }

  .journey-index-number small {
    margin-top: 5px;
    font-size: 14px;
  }

  .journey-index > h2 {
    max-width: 88%;
    font-size: 31px;
    line-height: 1.42;
  }

  .journey-index-mobile-break {
    display: block;
  }

  .journey-index > p:not(.eyebrow) {
    margin: 14px 0 28px;
    font-size: 13px;
    line-height: 1.8;
  }

  .journey-index-guide {
    margin: -4px 0 14px;
    padding: 12px 2px;
  }

  .journey-index-phases {
    grid-template-columns: 1fr;
  }

  .journey-index-phases li:nth-child(odd) {
    border-right: 0;
  }

  .journey-index-phases a,
  .journey-index-phases li:nth-child(even) a {
    min-height: 72px;
    grid-template-columns: 54px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 13px 4px;
  }

  .journey-index-phase-copy strong {
    font-size: 14px;
    line-height: 1.5;
  }

  .journey-index-phase-copy small {
    font-size: 10px;
  }

  .journey-loading {
    min-height: 360px;
    padding: 48px 0;
  }

  .journey-error {
    min-height: 300px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
  }

  .journey-retry {
    width: 100%;
    grid-column: 1 / -1;
  }

  .trip-section {
    padding-bottom: 82px;
  }

  .day-quick-nav {
    position: sticky;
    z-index: 22;
    top: var(--topbar);
    display: block;
    margin: -12px -18px 26px;
    overflow: hidden;
    color: var(--ink);
    background: rgba(247, 245, 239, 0.97);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(23, 33, 31, 0.08);
    backdrop-filter: blur(14px);
  }

  .day-quick-nav-track {
    display: flex;
    gap: 2px;
    padding: 6px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .day-quick-nav-track::-webkit-scrollbar {
    display: none;
  }

  .day-quick-nav button {
    min-width: 62px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 6px;
    padding: 0 10px;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 11px;
  }

  .day-quick-nav button svg {
    width: 15px;
    height: 15px;
  }

  .day-quick-nav button.is-active {
    color: var(--red);
    background: rgba(165, 43, 50, 0.055);
    border-bottom-color: var(--red);
  }

  .day-quick-target {
    scroll-margin-top: calc(var(--topbar) + 66px);
  }

  .day-header {
    margin-bottom: 30px;
    padding: 22px 0 20px 68px;
  }

  .day-number {
    top: 22px;
    font-size: 38px;
  }

  .day-header h2 {
    font-size: 26px;
    line-height: 1.4;
  }

  .prep-section .day-header {
    padding: 28px 20px 26px 76px;
    border-radius: 6px 6px 0 0;
  }

  .prep-section {
    overflow: visible;
  }

  .prep-section .day-number {
    top: 30px;
    left: 20px;
    font-size: 34px;
  }

  .prep-checklist {
    padding: 0 16px 30px;
  }

  .prep-toolbar {
    position: sticky;
    z-index: 16;
    top: var(--topbar);
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
    box-shadow: 0 8px 18px rgba(23, 33, 31, 0.07);
  }

  .prep-toolbar .icon-button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .prep-group-title {
    margin-top: 26px;
    font-size: 20px;
  }

  .prep-check-item {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 10px;
  }

  .prep-row-cells {
    grid-template-columns: 1fr;
  }

  .prep-row-cells > div {
    padding: 7px 0;
    border-right: 0;
    border-bottom: 1px dashed var(--soft-line);
  }

  .prep-row-cells > div:last-child {
    border-bottom: 0;
  }

  .prep-reference-photo {
    margin-left: 35px;
  }

  .day-intro {
    font-size: 12px;
  }

  .day-outfit {
    gap: 8px;
    margin-top: -4px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .lodging-module {
    margin-bottom: 46px;
  }

  .lodging-status {
    white-space: normal !important;
    text-align: right;
  }

  .lodging-property-actions > div,
  .lodging-footer {
    width: 100%;
  }

  .lodging-property-actions > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lodging-action {
    width: 100%;
    min-height: 46px;
  }

  .lodging-address {
    align-items: flex-start;
    overflow-wrap: anywhere;
  }

  .lodging-steps,
  .lodging-secrets,
  .lodging-arrival-photos,
  .lodging-footer {
    grid-template-columns: 1fr;
  }

  .lodging-steps li,
  .lodging-steps li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .lodging-steps li:last-child {
    border-bottom: 0;
  }

  .lodging-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lodging-facts > div,
  .lodging-facts > div:nth-child(2) {
    border-right: 0;
    border-bottom: 0;
  }

  .lodging-facts > div:nth-child(odd) {
    border-right: 1px solid var(--soft-line);
  }

  .lodging-facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--soft-line);
  }

  .lodging-guide > summary {
    grid-template-columns: minmax(0, 1fr) 18px;
    min-height: 48px;
  }

  .lodging-guide > summary small {
    display: none;
  }

  .lodging-arrival-warning,
  .lodging-arrival-photo {
    min-height: 118px;
    height: 118px;
  }

  .lodging-contact-action {
    grid-row: 1;
    min-width: 0;
  }

  .day-highlights {
    margin-bottom: 30px;
  }

  .highlight-heading {
    align-items: center;
    margin-bottom: 11px;
  }

  .highlight-heading h3 {
    font-size: 19px;
  }

  .highlight-stage {
    aspect-ratio: 4 / 3;
  }

  .highlight-arrow {
    width: 42px;
    height: 42px;
  }

  .highlight-previous {
    left: 10px;
  }

  .highlight-next {
    right: 10px;
  }

  .highlight-footer {
    grid-template-columns: 1fr;
    gap: 9px;
    min-height: 112px;
    padding: 13px 14px 11px;
  }

  .highlight-copy strong {
    font-size: 15px;
  }

  .highlight-copy p {
    font-size: 12px;
    line-height: 1.7;
  }

  .highlight-status {
    justify-content: space-between;
  }

  .highlight-dots button {
    width: 22px;
    height: 32px;
  }

  .day-outfit-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .day-outfit strong {
    font-size: 13px;
  }

  .day-mainline {
    margin-bottom: 46px;
    padding: 0 14px 18px;
  }

  .module-header {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 16px 0 14px;
  }

  .module-icon {
    width: 34px;
    height: 34px;
  }

  .module-header h3 {
    font-size: 20px;
  }

  .mainline-list::before {
    left: 66px;
  }

  .mainline-list li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    padding: 13px 0;
  }

  .mainline-list li::before {
    left: 62px;
  }

  .mainline-list time {
    font-size: 11px;
  }

  .mainline-list p {
    font-size: 13px;
    line-height: 1.8;
  }

  .day-module {
    margin-bottom: 50px;
  }

  .day-module .module-body {
    padding-top: 14px;
  }

  .module-checklist {
    padding: 2px 14px 16px;
  }

  .day-task-item {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    font-size: 13px;
    line-height: 1.8;
  }

  .day-task-checkbox,
  .prep-checkbox {
    width: 23px;
    height: 23px;
  }

  .day-task-detail,
  .day-task-record-detail {
    font-size: 12.5px;
    line-height: 1.75;
  }

  .day-task-record {
    display: block;
  }

  .day-task-record-heading {
    width: 100%;
  }

  .day-task-record-detail {
    width: 100%;
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px dashed var(--soft-line);
  }

  .detail-heading {
    font-size: 19px;
  }

  .timeline-item {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
  }

  .timeline-item::before {
    left: 64px;
  }

  .content-callout {
    padding: 16px 16px 16px 42px;
  }

  .content-callout > svg {
    left: 14px;
  }

  .source-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 12px;
  }

  .table-wrap:not(.photo-table) .source-table td {
    min-width: 0;
    padding: 11px 9px;
    overflow-wrap: anywhere;
  }

  .structured-copy-row {
    display: block;
  }

  .structured-copy-heading {
    width: 100%;
    padding: 8px 14px 6px;
  }

  .structured-copy-detail {
    width: 100%;
    padding: 9px 14px 11px;
    border-top: 1px dashed var(--soft-line);
    border-left: 0;
    font-size: 13.5px;
    line-height: 1.8;
  }

  .body-copy,
  .timeline-copy,
  .content-callout {
    font-size: 14px;
    line-height: 1.8;
  }

  .photo-table .source-table {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .module-photos .photo-table td:not(.photo-cell) {
    display: block;
    grid-column: 1 / -1;
    padding: 9px 2px;
    background: transparent;
    border: 0;
  }

  .module-photos .photo-cell {
    display: contents;
  }

  .module-photos .photo-cell .photo-button {
    align-self: start;
    overflow: hidden;
    background: #e9e5dc;
    border-radius: 3px;
    box-shadow: 0 5px 14px rgba(31, 39, 36, 0.08);
  }

  .module-photos .photo-cell .photo-button img {
    height: clamp(190px, 55vw, 230px);
    object-fit: contain;
  }

  .module-photos .photo-cell p {
    grid-column: 1 / -1;
    padding: 7px 7px 8px;
    font-size: 10.5px;
    line-height: 1.55;
  }

  .module-photos .photo-cell p:first-child {
    font-size: 11.5px;
  }

  .module-photos .photo-cell .photo-button::after {
    right: 5px;
    bottom: 5px;
    width: 24px;
    height: 24px;
    background-size: 12px;
  }

  .photo-button img {
    height: 330px;
  }

  .field-notes {
    padding: 72px 20px 80px;
  }

  .notes-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 42px;
  }

  .footer {
    display: grid;
    gap: 24px;
    padding: 34px 20px;
  }

  .lightbox figure {
    width: calc(100% - 36px);
    padding: 76px 0 82px;
  }

  .lightbox {
    height: 100dvh;
  }

  .lightbox figure img {
    max-height: calc(100dvh - 176px);
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
  }

  .lightbox-close {
    top: max(16px, env(safe-area-inset-top, 0px));
    right: 16px;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: rgba(12, 18, 17, 0.72);
    border-color: rgba(255, 255, 255, 0.72) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  }

  .search-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }

  .dialog-header {
    padding: 16px 16px 8px;
  }

  .dialog-header label {
    font-size: 18px;
  }

  .search-field {
    margin-right: 16px;
    margin-left: 16px;
  }

  .search-results {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 420px) {
  :root {
    --topbar: 58px;
  }

  .topbar {
    padding-right: max(10px, env(safe-area-inset-right, 0px));
    padding-left: max(10px, env(safe-area-inset-left, 0px));
  }

  .brand {
    gap: 8px;
  }

  .brand span:last-child {
    font-size: 12px;
  }

  .tricolore {
    width: 22px;
    height: 16px;
  }

  .topbar-actions {
    gap: 4px;
  }

  .topbar .icon-button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero-copy {
    width: calc(100% - 28px);
    padding-top: 108px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-deck {
    max-width: 100%;
    font-size: 15px;
  }

  .overview {
    padding-right: 18px;
    padding-left: 18px;
  }

  .overview h2,
  .field-notes h2 {
    font-size: 28px;
  }

  .journey-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .day-quick-nav {
    margin-right: -14px;
    margin-left: -14px;
  }

  .journey-index > h2 {
    font-size: 28px;
  }

  .journey-index-guide {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .journey-index-guide > svg {
    width: 28px;
    height: 28px;
  }

  .journey-index-guide span {
    font-size: 10px;
  }

  .day-mainline,
  .module-checklist,
  .module-practical {
    padding-right: 12px;
    padding-left: 12px;
  }

  .module-header {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .module-icon {
    width: 32px;
    height: 32px;
  }

  .module-header h3 {
    font-size: 18px;
  }

  .module-header small {
    font-size: 10px;
  }

  .mainline-list::before {
    left: 58px;
  }

  .mainline-list li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;
  }

  .mainline-list li::before {
    left: 54px;
  }

  .timeline-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .timeline-item::before {
    left: 54px;
  }
}

@media (max-width: 360px) {
  .prep-group-header {
    grid-template-columns: 38px minmax(0, 1fr) 58px;
    gap: 8px;
  }

  .prep-group-header h3 {
    font-size: 20px;
  }

  .prep-group-progress {
    min-width: 58px;
  }

  .prep-clothing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prep-clothing-item:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .prep-clothing-item:nth-child(even) {
    padding-left: 12px;
    border-left: 1px solid var(--soft-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .music-toggle.is-playing .music-equalizer i {
    animation: none !important;
    transform: scaleY(0.72);
  }
}

@media print {
  .topbar,
  .day-rail,
  .scroll-cue,
  .field-notes,
  .footer,
  dialog {
    display: none !important;
  }

  .hero {
    min-height: 420px;
  }

  .journey-shell {
    display: block;
    padding: 40px 0;
  }

  .route-map-viewport {
    overflow: visible;
  }

  .route-map-viewport img {
    width: 100%;
  }

  .map-expand {
    display: none;
  }

  .trip-section {
    break-inside: avoid;
  }
}
