:root {
  color-scheme: only light;
  --exhibit-ink: #133b43;
  --exhibit-navy: #143e47;
  --exhibit-paper: #fff;
  --exhibit-cream: #fffaf0;
  --exhibit-coral: #ffbd73;
  --exhibit-teal: #087973;
  --curve-control: 13px;
  --curve-card: clamp(17px, 1.9vw, 28px);
  --curve-frame: clamp(21px, 2.6vw, 38px);
  --exhibit-ease: cubic-bezier(.22,.67,.27,1);
}

body { background: var(--exhibit-paper); }
.site-header { background: #fffffffa; box-shadow: 0 2px 20px #143e4714; }
.site-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  pointer-events: none;
  background: #078d8b;
  transform: scaleX(var(--journey-progress, 0));
  transform-origin: left;
}

/* Morning colors frame the two documentary photographs. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(560px, 74svh, 770px);
  padding: 62px max(5.7vw, calc((100vw - 1320px) / 2));
  isolation: isolate;
  background: #f4fcff;
}
.hero::after { display: none; }
.hero-shade {
  z-index: -3;
  background: radial-gradient(ellipse at 16% 5%, #fff9e9 0%, #fff9e900 52%), linear-gradient(145deg, #fff 26%, #e8faff 100%);
}
.cover-frame {
  position: absolute;
  z-index: -2;
  inset: clamp(14px, 2vw, 26px) clamp(14px, 2.5vw, 36px) clamp(14px, 2vw, 26px) 43%;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(120px, 23vw, 380px) var(--curve-frame) var(--curve-frame) clamp(60px, 11vw, 180px);
  background: #bceaf0;
  box-shadow: -7px 4px 0 #fff, -14px 8px 0 #d7f2f5, 0 15px 36px #2555681b;
}
.cover-frame .hero-photo {
  object-fit: cover;
  object-position: 83% 51%;
  filter: brightness(1.11) saturate(1.13);
  animation: none;
}
.cover-frame figcaption {
  position: absolute;
  inset: auto clamp(10px, 2.4vw, 32px) 14px auto;
  text-align: right;
}
.cover-frame .photo-credit {
  position: static;
  display: inline-block;
  color: #204550;
  background: #f9fff4f2;
  font-size: 11px;
  max-width: none;
  border-radius: 99px;
  padding: 6px 10px;
}
.cover-postcard {
  position: absolute;
  left: 46%;
  bottom: 8%;
  z-index: -1;
  width: clamp(125px, 15vw, 242px);
  padding: 6px;
  border-radius: 17px;
  background: #fffdf4;
  box-shadow: 0 9px 28px #1d536f42;
  transform: rotate(-7deg);
  pointer-events: none;
}
.cover-postcard img { display: block; width: 100%; height: auto; border-radius: 11px; }
.tide-lines {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: auto auto -27% -17%;
  width: min(710px, 65vw);
  aspect-ratio: 1.5;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at 47% 45%, transparent 0 16px, #148c8f29 17px, transparent 18px 24px);
  transform: rotate(-21deg);
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
}
.hero-content {
  width: min(620px, 47%);
  color: var(--exhibit-ink);
  margin: 0;
  padding: 0;
  animation: none;
  z-index: 1;
}
.hero-eyebrow { color: #8a502a; letter-spacing: .22em; margin-bottom: 15px; }
.hero-eyebrow > span { width: 30px; background: currentColor; }
.hero h1 { color: var(--exhibit-ink); margin: 0; font-size: clamp(69px, 8.3vw, 140px); line-height: .95; letter-spacing: -.058em; }
.hero h1 > span, .hero h1 > strong { display: block; width: max-content; max-width: 100%; }
.hero h1 > span { font-style: italic; font-weight: 500; color: var(--exhibit-teal); }
.hero h1 > strong { font-weight: 700; padding: .055em 0 .14em; }
.cover-subtitle { color: #245763; margin: 13px 0 0; font-size: clamp(17px, 2vw, 25px); font-weight: 700; letter-spacing: -.025em; }
.hero .hero-desc { max-width: 41ch; margin: 15px 0 0; font-size: 14px; line-height: 1.7; color: #3d5f62; }
.hero-desc br { display: none; }
.hero-actions { flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.hero-actions .btn { min-height: 49px; border-radius: 999px; padding-inline: 15px; }
.hero-actions .btn-gold { background: var(--exhibit-coral); border-color: var(--exhibit-coral); color: #392719; font-weight: 800; box-shadow: 0 7px 18px #aa5f222b; }
.hero-actions .btn-gold:hover { background: #ffd0ab; border-color: #ffd0ab; }
.hero-actions .btn-glass { color: #126963; background: #ffffffb5; border-color: #94bcba; }
.hero-actions .btn-glass:hover { background: #fff; border-color: #087973; }
.hero-detail { margin-top: 17px; color: #3b666a; }
.hero-detail i { background: #579894; }
.hero :is(a, button):focus-visible { outline-color: #087973; }

/* An editorial grid breaks up the rhythm and makes the interview the lead story. */
.touch-shelf { padding-block: clamp(36px, 6vw, 91px) clamp(26px, 5vw, 69px); }
.touch-shelf .section-heading { align-items: end; border-bottom: 1px solid #cfe5e9; padding-bottom: clamp(14px, 2vw, 25px); }
.touch-shelf .section-heading h2 { font-size: clamp(40px, 6.1vw, 92px); line-height: .99; letter-spacing: -.055em; margin: 0; }
.touch-shelf .section-heading h2 em { color: var(--exhibit-teal); }
.touch-map-link { display: flex; align-items: center; flex: 0 0 auto; gap: 9px; color: var(--exhibit-teal); font-weight: 700; font-size: 13px; padding: 9px 0; }
.touch-map-link:hover { text-decoration: underline; }
.touch-map-link .icon { width: 19px; height: 19px; }

.touch-tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(8px, 1.05vw, 16px); }
.touch-tile {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-column: span 3;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: var(--exhibit-ink);
  background: #fff;
  border: 1px solid #d7ebec;
  border-radius: var(--curve-card);
  box-shadow: 0 10px 27px #13576614;
}
.touch-tile:nth-child(n+3) { grid-column: span 6; }
.touch-image { position: relative; display: block; height: clamp(138px, 16vw, 270px); overflow: hidden; background: #dbeeed; }
.touch-tile:nth-child(n+4) .touch-image { height: clamp(136px, 17vw, 255px); }
.touch-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.touch-label { display: block; padding: clamp(13px, 1.5vw, 22px); border-top: 3px solid #7bc8bd; }
.touch-tile:nth-child(2) .touch-label { border-top-color: #f9b786; }
.touch-tile:nth-child(4) .touch-label { border-top-color: #90c9a4; }
.touch-tile:nth-child(5) .touch-label { border-top-color: #92cbdf; }
.touch-tile[data-id="3"] .touch-label { background: linear-gradient(110deg, #e6faf6, #f2fbff); border-top-color: #12a798; }
.touch-label strong, .touch-label small { display: block; }
.touch-label strong { font-family: var(--serif); font-size: clamp(18px, 2vw, 32px); line-height: 1.17; text-wrap: balance; }
.touch-tile[data-id="3"] .touch-label strong { font-size: clamp(23px, 3.2vw, 49px); }
.touch-label small { color: #42666c; font-size: 12px; margin-top: 6px; }
.touch-number, .touch-arrow, .touch-feature { position: absolute; top: 12px; display: grid; place-items: center; min-height: 32px; padding: 0 9px; border-radius: 999px; }
.touch-number { left: 12px; color: #185057; background: #f9fffff2; font-size: 12px; font-weight: 800; }
.touch-arrow { right: 12px; color: #146064; background: #f9fffff2; }
.touch-arrow .icon { width: 16px; height: 16px; }
.touch-feature { display: flex; align-items: center; gap: 6px; left: 52px; color: #25443e; background: #d4fbec; font-size: 11px; font-weight: 750; }
.touch-feature .icon { width: 13px; height: 13px; }
.touch-tile:is(:hover, :focus-visible) .touch-arrow { background: #087973; color: #fff; }
.touch-tile:focus-visible { outline-offset: 4px; }

#journeys { padding-block: 30px clamp(52px, 7vw, 100px); }
.section-heading h2 em { color: var(--exhibit-teal); }
.route-card { border: 1px solid #d3e8e9; border-radius: var(--curve-card); box-shadow: 0 7px 21px #214c5910; }
.route-number { display: inline-block; color: #134a54; background: #f7fffff5; border-radius: 999px; }

.map-section { color: var(--exhibit-ink); background: linear-gradient(145deg, #f1fdfb, #e6f8ff); border-block: 1px solid #d1e9ed; }
.map-section .section-heading h2 em, .map-section .eyebrow.light { color: #087973; }
.map-section :is(.section-intro, .map-footnote, .map-footnote a) { color: #355e66; }
.map-section .filter.active { border-color: #087973; background: #087973; color: #fff; }
.map-section :is(.filter, .search input):focus-visible { outline-color: #087973; }
.map-canvas { border: 1px solid #c9e4e1; border-radius: var(--curve-frame); box-shadow: 0 16px 38px #2c718c24; }
.map-pin { border-radius: var(--curve-card); }
.map-pin .stop-photo { border-radius: 11px; }
.map-route { stroke: #087973; stroke-width: 4; stroke-linecap: round; }
.map-pin.active { border-color: #0a7b73; box-shadow: 0 0 0 3px #7dd5c6, 0 12px 24px #143f4f32; }
.journey-editorial { border-radius: var(--curve-frame); background: #fff; color: #183b42; border-color: #c9e4e1; }
.point-card, .story-visual, .new-gallery button { border-radius: var(--curve-card); overflow: hidden; }
.point-card-image { border-radius: var(--curve-control); overflow: hidden; }
.story-section { background: linear-gradient(110deg, #effbf7, #f2fbff); }
.closing { background: linear-gradient(115deg, #cef3e8, #d9f4fb); color: var(--exhibit-ink); }
.closing h2 { color: var(--exhibit-ink); }
.closing h2 em, .closing-wave { color: #087973; }
.closing .btn { background: #087973; border-color: #087973; color: #fff; }
dialog::backdrop {
  background: #eefaffdb;
  backdrop-filter: blur(7px);
}
.experience-dialog[open]::backdrop { animation: none; }
.experience-dialog, .utility-dialog {
  border: 1px solid #b9dfe3;
  border-radius: var(--curve-frame);
  box-shadow: 0 18px 56px #2457612b;
}
@keyframes light-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .experience-dialog[open]::backdrop { animation: light-backdrop-in 220ms ease-out both; }
}
.experience-head {
  height: auto;
  min-height: clamp(220px, 23vw, 260px);
  padding: clamp(24px, 4vw, 39px);
  justify-content: flex-end;
  isolation: isolate;
  background: #12343e;
  color: #fff;
}
.experience-head img {
  object-position: center var(--cover-focus-y, 52%);
}
.experience-head[data-point="1"] { --cover-focus-y: 70%; }
.experience-head[data-point="2"] { --cover-focus-y: 46%; }
.experience-head[data-point="3"] { --cover-focus-y: 62%; }
.experience-head::after {
  background: linear-gradient(90deg, #07232cdb 0%, #07232cbf 38%, #07232c33 76%, transparent),
              linear-gradient(0deg, #07232c66, transparent 72%);
  pointer-events: none;
}
.experience-head .eyebrow { color: #d7fff2; }
.experience-head h2 { max-width: 66%; color: inherit; }
.experience-head .icon-btn {
  color: #194754;
  background: #fff;
  border-color: #bddce3;
  box-shadow: 0 3px 12px #13455029;
}
.experience-head .icon-btn { border-radius: 50%; }
.experience-head .icon-btn:hover { color: #194754; background: #e7f7fc; }
.experience-dialog {
  --step-nav-surface: #f1f7f4;
  --step-divider: #d9e7e1;
  background: var(--exhibit-paper);
  overscroll-behavior: contain;
}
.step-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  align-self: start;
  max-height: calc(92dvh - 12px);
  overflow-y: auto;
  background: var(--step-nav-surface);
  border: 0;
}
.step-tab { min-height: 44px; color: #3d6158; }
.step-tab > span { color: #496a60; border-color: #c1d5cd; }
.step-tab:hover:not(.active) { background: #e3f0eb; }
.step-tab:is(.active, [aria-selected="true"]) {
  color: #184b41;
  background: #dceee7;
  box-shadow: inset 0 -3px var(--exhibit-teal);
}
.step-tab.active > span { background: #28675a; border-color: #28675a; }
.step-content :is(.station-topics details, .read-prompt, .station-table th) {
  background: var(--step-nav-surface);
}
.step-content:focus-visible {
  outline: 2px solid var(--exhibit-teal);
  outline-offset: -3px;
}
.step-footer { border-color: var(--step-divider); }
.station-location {
  margin-block: 18px;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid var(--step-divider);
  border-radius: var(--curve-control);
  background: var(--step-nav-surface);
}
.station-location h4 { margin: 0 0 5px; font-size: clamp(17px, 2vw, 20px); }
.station-location > p { margin: 0; color: var(--muted); line-height: 1.55; }
.station-coordinates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 13px 0;
}
.station-coordinates > div {
  padding: 8px clamp(7px, 2vw, 12px);
  border: 1px solid var(--step-divider);
  border-radius: 8px;
  background: var(--exhibit-paper);
}
.station-coordinates dt { color: var(--muted); font-size: 13px; }
.station-coordinates dd {
  margin: 3px 0 0;
  color: var(--exhibit-ink);
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.station-location-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.station-location-links a { min-height: 44px; }
.station-location-source { display: inline-flex; align-items: center; color: #11665e; font-size: 13px; text-decoration: underline; }
.timeline-entry:has(#station-survey) { scroll-margin-top: 16px; }

@media (width > 800px) {
  .experience-layout { grid-template-columns: 225px minmax(0, 1fr); }
  /* Stretch the rail background through the panel while the menu stays sticky. */
  .experience-layout::before {
    content: '';
    grid-area: 1 / 1;
    background: var(--step-nav-surface);
    border-inline-end: 1px solid var(--step-divider);
    pointer-events: none;
  }
  .step-nav { grid-area: 1 / 1; margin-inline-end: 1px; }
  .step-content { grid-area: 1 / 2; }
}
@media (max-width: 800px) {
  .step-nav {
    align-self: stretch;
    max-height: none;
    padding-block: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid var(--step-divider);
  }
  .step-nav .step-tab { flex: 0 0 auto; white-space: nowrap; border-color: var(--step-divider); }
  .timeline-entry:has(#station-survey) { scroll-margin-top: 72px; }
}
.step-tab, .step-content .btn { border-radius: var(--curve-control); }
:is(.station-gallery, .interview-photo-grid) img, .station-monument img { border-radius: var(--curve-control); }
.station-topic-photos { margin-block: 16px; }
.station-topic-photos img { display: block; width: 100%; height: auto; }
.station-table--photos :is(th, td) { min-width: 0; }
.station-table--photos th[scope="row"] {
  width: 32%;
  background: transparent;
  color: inherit;
  vertical-align: middle;
}
.station-table--photos td a { display: block; width: min(100%, 440px); }
.station-table--photos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--curve-control);
}
@media (max-width: 600px) {
  .station-body .station-topic-photos { grid-template-columns: minmax(0, 1fr); }
}
.station-body .station-food-photos { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); }


@keyframes exhibit-rise {
  from { opacity: .15; translate: 0 21px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes cover-arrival {
  from { opacity: .62; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes exhibit-photo {
  from { transform: scale(1.075); }
  to { transform: scale(1); }
}
@keyframes scroll-reveal {
  from { opacity: .24; translate: 0 var(--reveal-shift); }
  to { opacity: 1; translate: 0 0; }
}
@keyframes exhibit-route {
  from { stroke-dashoffset: 80; opacity: .25; }
  to { stroke-dashoffset: 0; opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero :is(.hero-eyebrow, h1 > *, .cover-subtitle, .hero-desc, .hero-actions) {
    animation: cover-arrival .5s var(--exhibit-ease) var(--exhibit-delay, 0s) both;
  }
  .hero h1 > strong { --exhibit-delay: .10s; }
  .cover-subtitle { --exhibit-delay: .13s; }
  .hero-desc, .hero-actions { --exhibit-delay: .16s; }
  .cover-frame .hero-photo { animation: exhibit-photo 2.1s var(--exhibit-ease) both; }
  [data-reveal-entry="from-bottom"] { --reveal-shift: 24px; }
  [data-reveal-entry="from-top"] { --reveal-shift: -24px; }
  [data-reveal-entry]:not(:focus-within) {
    animation: scroll-reveal .56s var(--exhibit-ease) var(--reveal-delay, 0ms) backwards;
  }
  .touch-tile img, .touch-arrow { transition: transform .45s var(--exhibit-ease), background-color .2s ease; }
  .touch-tile:is(:hover, :focus-visible) img { transform: scale(1.065); }
  .touch-tile:is(:hover, :focus-visible) .touch-arrow { transform: translate(2px,-2px); }
  .touch-tile:active { filter: brightness(.9); }
  .map-canvas[data-reveal-entry] .map-route { animation: exhibit-route 1.65s var(--exhibit-ease) both; }
  .point-enter .step-content { animation: exhibit-rise .45s var(--exhibit-ease) both; }
}

@media (max-width: 1020px) {
  .hero { min-height: 550px; }
  .hero-content { width: min(505px, 49%); }
  .cover-postcard { left: 49%; bottom: 6%; }
}

@media (max-width: 750px) {
  .hero { min-height: 0; padding: 27px 20px 29px; gap: 22px; }
  .hero-content { width: 100%; grid-row: 2; }
  .cover-frame { position: relative; inset: auto; grid-row: 1; z-index: 0; aspect-ratio: 1.94; border-radius: 46px 20px 20px 24px; box-shadow: 0 6px 0 #e1f6fa; }
  .cover-postcard { display: none; }
  .cover-frame .hero-photo { object-position: 74% 33%; }
  .cover-frame figcaption { inset: auto 9px 7px; text-align: left; }
  .hero h1 { font-size: clamp(57px, 13vw, 87px); }
  .tide-lines { width: 80vw; inset: auto -15% -6% auto; }
  .touch-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .touch-tile, .touch-tile:nth-child(n+3) { grid-column: auto; }
  .touch-tile:nth-child(3) { grid-column: 1 / -1; min-height: 0; }
  .touch-label strong { font-size: clamp(18px, 4.4vw, 30px); }
  .experience-head { padding: clamp(100px, 19vw, 140px) 20px 22px; }
  .experience-head::after {
    background: linear-gradient(0deg, #07232cf5 0%, #07232cd1 42%, transparent 88%);
  }
  .experience-head h2 { max-width: 100%; }
}
@media (max-width: 420px) {
  .hero-eyebrow { margin-bottom: 8px; }
  .hero h1 { font-size: clamp(49px, 13vw, 63px); }
  .hero-actions .btn { padding-inline: 11px; font-size: 12px; }
  .touch-shelf .section-heading { flex-direction: column; align-items: start; gap: 10px; }
  .touch-map-link { padding-block: 2px; }
  .touch-image, .touch-tile:nth-child(n+4) .touch-image { height: 120px; }
  .touch-tile[data-id="3"] .touch-image { height: 175px; }
  .touch-number, .touch-feature, .touch-arrow { top: 8px; }
  .touch-number { left: 8px; }
  .touch-arrow { right: 8px; }
  .touch-feature { left: 43px; }
}
