:root {
  color-scheme: light;
  --ink: #17342c;
  --ink-soft: #345046;
  --paper: #f2e8d4;
  --paper-deep: #e5d3b5;
  --champagne: #d8b47b;
  --candle: #efc98f;
  --night: #142d27;
  --line: rgba(231, 202, 157, 0.55);
  --shadow-card: 0 20px 55px rgba(8, 28, 23, 0.22);
  --radius-small: 0.35rem;
  --radius-card: 0.75rem;
  --space-page: clamp(1rem, 3.2vw, 3.5rem);
  --bronze: #7d5a2f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, "TeX Gyre Pagella", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --world-scale: 1;
  --city-scale: 1.035;
  --primary-opacity: 1;
  --gateway-scale: 1.035;
  --gateway-x: 0;
  --gateway-y: 0;
  --gateway-opacity: 1;
  --world-y: 0;
  --distance-y: 0;
  --midground-y: 0;
  --portal-scale: 1;
  --door-left-x: 0;
  --door-right-x: 0;
  --intro-opacity: 1;
  --intro-y: 0;
  --story-opacity: 0;
  --story-y: 16;
  --home-opacity: 0;
  --home-y: 16;
  --catalog-opacity: 0;
  --catalog-y: 22;
  --wash-opacity: 0.16;
  --progress: 0;
  --pointer-x: 0;
  --pointer-y: 0;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  background: var(--night);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

a,
button {
  color: inherit;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

button {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--candle);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(0.75rem, env(safe-area-inset-left));
  z-index: 45;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: var(--radius-small);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 46;
  display: none;
  place-content: center;
  gap: 0.8rem;
  background: var(--night);
  color: var(--paper-deep);
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.loader__mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  text-transform: none;
}

.js.is-loading .loader {
  display: grid;
}

.js.is-ready .loader {
  display: none;
}

.cinematic-scroll {
  position: relative;
  height: 4800px;
  background: var(--night);
}

.cinematic-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  background: var(--night);
}

/* z-index bands: world 0–9, tint 10–19, copy 20–29, controls 30–39, overlays 40+. */
.world {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--night);
}

.world::before {
  position: absolute;
  inset: 0;
  z-index: 7;
  content: "";
  background:
    linear-gradient(180deg, rgba(10, 28, 23, 0.46) 0%, transparent 28%, transparent 64%, rgba(10, 28, 23, 0.58) 100%),
    linear-gradient(90deg, rgba(10, 28, 23, 0.28), transparent 40%, transparent 65%, rgba(10, 28, 23, 0.16));
}

.world::after {
  position: absolute;
  inset: 0;
  z-index: 9;
  content: "";
  box-shadow: inset 0 0 10rem rgba(8, 24, 20, 0.2);
}

.world__layer,
.world__texture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
  -webkit-user-drag: none;
}

.world__harbour {
  z-index: 0;
  object-position: 50% 30%;
  filter: saturate(0.82) contrast(0.96) brightness(0.8);
  opacity: var(--primary-opacity);
  transform: translate3d(calc(var(--pointer-x) * -7px), calc((var(--pointer-y) * -5px) + (var(--midground-y) * 1px)), 0) scale(var(--city-scale));
  transform-origin: 50% 38%;
  will-change: transform, opacity;
}

.world__place {
  position: absolute;
  top: clamp(6.4rem, 14vh, 9rem);
  right: 0;
  left: 0;
  z-index: 15;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(6rem, 19vw, 18rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.75;
  text-align: center;
  text-shadow: 0 2px 24px rgba(8, 29, 24, 0.32);
  text-transform: uppercase;
  opacity: var(--intro-opacity);
  transform: translate3d(0, calc(var(--intro-y) * 1px), 0);
}

.world__couple {
  z-index: 5;
  object-position: 50% 30%;
  filter: saturate(0.82) contrast(0.96) brightness(0.8);
  opacity: var(--gateway-opacity);
  transform: translate3d(calc((var(--pointer-x) * 14px) + (var(--gateway-x) * 1px)), calc((var(--pointer-y) * 10px) + (var(--gateway-y) * 1px)), 0) scale(var(--gateway-scale));
  transform-origin: 50% 38%;
  will-change: transform, opacity;
}

.world__texture {
  z-index: 11;
  opacity: 0.2;
  mix-blend-mode: soft-light;
}

.world__wash {
  position: absolute;
  inset: 0;
  z-index: 8;
  background:
    radial-gradient(circle at 68% 36%, rgba(216, 180, 123, 0.16), transparent 32%),
    var(--night);
  opacity: var(--wash-opacity);
  pointer-events: none;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 34;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: max(1.15rem, env(safe-area-inset-top)) max(var(--space-page), env(safe-area-inset-right)) 1rem max(var(--space-page), env(safe-area-inset-left));
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-mark {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  font-family: var(--serif);
  font-size: 1rem;
  text-decoration: none;
  text-transform: none;
}

.site-mark span {
  color: var(--champagne);
}

.site-nav {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

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

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 150ms ease-out, transform 150ms ease-out;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 0.75;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  gap: 1rem;
}

.site-header > .button,
.header-actions {
  justify-self: end;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--paper);
  border-radius: var(--radius-small);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
}

.button:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--paper);
}

.button:active {
  transform: translateY(0);
}

.button--small {
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
}

.scene-copy,
.catalog {
  position: absolute;
  inset: 0;
  z-index: 22;
}

.scene-copy {
  z-index: 22;
  display: grid;
  place-items: center;
  padding: calc(5rem + env(safe-area-inset-top)) var(--space-page) calc(3rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.scene-copy--intro {
  z-index: 27;
  opacity: var(--intro-opacity);
  transform: translate3d(0, calc(var(--intro-y) * 1px), 0);
  color: var(--paper);
  text-align: center;
}

.scene-copy--story {
  z-index: 27;
  place-items: center start;
  opacity: var(--story-opacity);
  transform: translate3d(0, calc(var(--story-y) * 1px), 0);
}

.scene-copy--homecoming {
  place-items: center start;
  opacity: var(--home-opacity);
  transform: translate3d(0, calc(var(--home-y) * 1px), 0);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--champagne);
  font-size: clamp(0.72rem, 0.8vw, 0.78rem);
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.scene-copy--intro h1,
.scene-copy h2,
.catalog h2,
.event-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

.scene-copy--intro h1 {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  text-shadow: 0 2px 24px rgba(8, 29, 24, 0.32);
}

.scene-copy--intro > .eyebrow {
  position: absolute;
  top: clamp(4.9rem, 10vh, 6.5rem);
  right: var(--space-page);
  left: var(--space-page);
}

.hero-names {
  position: absolute;
  top: 43%;
  right: auto;
  left: var(--space-page);
  display: block;
  width: min(42vw, 40rem);
  color: var(--paper);
  font-size: clamp(2.3rem, 4.6vw, 5rem);
  line-height: 0.9;
  text-shadow: 0 2px 24px rgba(8, 29, 24, 0.32);
}

.hero-names i {
  margin: 0 0.12em;
  color: var(--champagne);
  font-style: italic;
  font-weight: 400;
}

.hero-meta {
  position: absolute;
  top: 55%;
  right: auto;
  left: var(--space-page);
  width: min(42vw, 40rem);
  margin: 0;
  font-size: clamp(0.76rem, 1vw, 0.92rem);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-thought {
  position: absolute;
  top: 84%;
  right: var(--space-page);
  left: var(--space-page);
  margin: 0 auto;
  max-width: 38rem;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(8, 29, 24, 0.72);
}

.hero-meta span {
  margin: 0 0.45rem;
  color: var(--champagne);
}

.scroll-cue {
  position: absolute;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  transform: translateX(-50%);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  pointer-events: auto;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue__line {
  width: 1px;
  height: 2.4rem;
  background: var(--paper);
  transform-origin: 50% 0;
  animation: cue-draw 2.8s ease-in-out infinite;
}

@keyframes cue-draw {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }

  38% {
    opacity: 1;
    transform: scaleY(1);
  }

  74% {
    opacity: 1;
    transform: scaleY(1);
  }

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

.narrative-card {
  width: min(46rem, 84vw);
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--paper);
  text-align: center;
  text-shadow: 0 2px 24px rgba(5, 23, 31, 0.82);
}

.scene-copy--story .narrative-card {
  width: min(39rem, 46vw);
  margin-left: clamp(0rem, 4vw, 4rem);
  text-align: left;
}

.scene-copy--homecoming .narrative-card {
  width: min(32rem, 78vw);
  margin-left: clamp(0rem, 6vw, 7rem);
  text-align: left;
}

.narrative-card--light {
  color: var(--paper);
}

.narrative-card h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.94;
}

.scene-copy--story .narrative-card h2 {
  font-size: clamp(3rem, 5.2vw, 5.8rem);
}

.narrative-card p:not(.eyebrow) {
  max-width: 54ch;
  margin: 0 auto;
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.scene-copy--homecoming .narrative-card p:not(.eyebrow) {
  max-width: 34ch;
  margin-left: 0;
}

.place-line {
  display: grid;
  grid-template-columns: auto minmax(1.5rem, 5rem) auto minmax(1.5rem, 5rem) auto;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.3rem !important;
  color: var(--champagne);
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-dates {
  display: grid;
  max-width: 34rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(242, 232, 212, 0.3);
}

.scene-copy--story .story-dates {
  margin-right: 0;
  margin-left: 0;
}

.story-dates div {
  min-width: 0;
}

.story-dates dt,
.story-dates dd {
  margin: 0;
}

.story-dates dt {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.story-dates dd {
  margin-top: 0.35rem;
  color: var(--champagne);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.place-line svg {
  width: 100%;
  height: 0.8rem;
  overflow: visible;
}

.narrative-card p.narrative-card__closing {
  margin-top: 1.25rem;
  padding-top: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
}

.catalog {
  z-index: 24;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(1.2rem, 2.4vh, 2rem);
  padding: clamp(5.2rem, 12vh, 7.4rem) 0 max(1rem, env(safe-area-inset-bottom));
  opacity: var(--catalog-opacity);
  transform: translate3d(0, calc(var(--catalog-y) * 1px), 0);
  pointer-events: none;
}

.catalog.is-interactive {
  pointer-events: auto;
}

.catalog__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--space-page);
}

.catalog h2 {
  font-size: clamp(2.5rem, 5.5vw, 5.8rem);
  line-height: 0.9;
}

.catalog__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.45rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--candle);
}

.rail-shell {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.9rem;
}

.event-rail {
  display: grid;
  min-height: 0;
  grid-auto-flow: column;
  grid-auto-columns: clamp(18rem, 30vw, 25rem);
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  align-items: stretch;
  margin: 0;
  padding: 0 max(var(--space-page), calc((100vw - 90rem) / 2));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-padding-inline: var(--space-page);
  scroll-snap-type: inline mandatory;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.event-rail::-webkit-scrollbar {
  display: none;
}

.event-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.event-card {
  min-width: 0;
  list-style: none;
  scroll-snap-align: start;
}

.event-card article {
  position: relative;
  height: 100%;
  min-height: 18rem;
  overflow: hidden;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid rgba(23, 52, 44, 0.16);
  border-radius: var(--radius-card);
  background: rgba(242, 232, 212, 0.97);
  box-shadow: var(--shadow-card);
  color: var(--ink);
}

.event-card article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.28rem;
  content: "";
  background: var(--champagne);
}

.event-card__number {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  margin: 0;
  color: rgba(23, 52, 44, 0.22);
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.event-card__type {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 2.8rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.type-glyph {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

/* The marigold's petals overlap; a finer line keeps them from filling in. */
.type-glyph--bloom {
  width: 1.55rem;
  height: 1.55rem;
  stroke-width: 1.05;
}

@media (hover: hover) and (pointer: fine) {
  .event-card article {
    transition: transform 180ms ease-out, box-shadow 180ms ease-out;
  }

  .event-card article:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(8, 28, 23, 0.3);
  }
}

.event-card h3 {
  position: relative;
  max-width: 9ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  line-height: 0.94;
}

.event-card dl {
  position: relative;
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.event-card dl div {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.5rem;
  padding-top: 0.48rem;
  border-top: 1px solid rgba(23, 52, 44, 0.14);
}

.event-card dt,
.event-card dd {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

.event-card dt {
  color: var(--ink-soft);
  font-weight: 800;
  text-transform: uppercase;
}

.event-card__summary {
  margin: -0.2rem 0 1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.event-card__link {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: 1rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.event-card--travel article {
  background: #d8b47b;
}

.event-card :focus-visible {
  outline-color: var(--ink);
}

.event-card.is-active article {
  border-color: rgba(125, 90, 47, 0.55);
}

.event-card.is-active article::before {
  background: var(--bronze);
}

.rail-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-page);
}

.rail-status {
  margin: 0;
  color: var(--paper);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-transform: uppercase;
}

.rail-buttons {
  display: flex;
  gap: 0.55rem;
}

.rail-button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(242, 232, 212, 0.72);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: transform 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
}

.rail-button:hover {
  transform: translateY(-2px);
  background: var(--paper);
  color: var(--ink);
}

.rail-button:disabled {
  border-color: rgba(242, 232, 212, 0.3);
  color: rgba(242, 232, 212, 0.35);
  cursor: default;
}

.rail-button:disabled:hover {
  transform: none;
  background: transparent;
  color: rgba(242, 232, 212, 0.35);
}

.rail-note {
  margin: 0;
  padding: 0 var(--space-page);
  color: rgba(242, 232, 212, 0.72);
  font-size: 0.75rem;
}

.progress {
  position: absolute;
  right: max(0.7rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 31;
  width: 2px;
  height: 5rem;
  overflow: hidden;
  background: rgba(242, 232, 212, 0.25);
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--paper);
  transform: scaleY(var(--progress));
  transform-origin: 50% 0;
}

.epilogue {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 10vw, 8rem) var(--space-page) 0;
  background: var(--paper);
  color: var(--ink);
}

.epilogue__inner {
  max-width: 66rem;
  margin: 0 auto;
  text-align: center;
}

.epilogue .eyebrow {
  color: var(--bronze);
}

.epilogue h2 {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 0.96;
  text-wrap: balance;
}

.epilogue__lede {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.route {
  margin: clamp(2.2rem, 5vw, 3.6rem) auto 0;
}

.route__art {
  display: block;
  width: 100%;
  height: auto;
}

.route__art--tall {
  display: none;
  max-width: 24rem;
  margin: 0 auto;
}

.route-line {
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.route-glyph {
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-hub {
  fill: var(--bronze);
  stroke: none;
}

.route-stop {
  fill: var(--ink);
}

.route-ring {
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1.1;
}

.route-place {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-note {
  fill: var(--bronze);
  font-family: var(--serif);
  font-size: 15.5px;
  font-style: italic;
}

.route__art--tall .route-place {
  font-size: 12.5px;
}

.route__art--tall .route-note {
  font-size: 13.5px;
}

.epilogue__cta {
  margin-top: clamp(2.2rem, 5vw, 3.6rem);
}

.epilogue__closing {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-style: italic;
}

.epilogue__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.button--ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button--ink:hover {
  background: transparent;
  color: var(--ink);
}

.text-link--ink {
  color: var(--ink);
}

.text-link--ink:hover {
  color: var(--bronze);
}

.epilogue :focus-visible {
  outline-color: var(--ink);
}

.site-footer {
  display: flex;
  max-width: 66rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: clamp(3.5rem, 8vw, 6rem) auto 0;
  padding: 1.4rem 0 max(1.4rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(23, 52, 44, 0.18);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer__mark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
}

.site-footer__mark span {
  color: var(--bronze);
  font-style: italic;
}

.site-footer a {
  color: var(--ink-soft);
}

.noscript-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 45;
  margin: 0;
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}

@media (max-width: 64rem) {
  .cinematic-scroll {
    height: 4300px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-mark {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    gap: clamp(0.8rem, 3vw, 1.5rem);
  }

  .site-nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
  }

  .scene-copy--homecoming {
    place-items: end start;
  }

  .scene-copy--homecoming .narrative-card {
    margin-bottom: clamp(2rem, 7vh, 4.5rem);
    margin-left: 0;
    background: linear-gradient(180deg, transparent, rgba(10, 28, 23, 0.72));
  }

  .scene-copy--story .narrative-card {
    width: min(45vw, 34rem);
    margin-left: 0;
  }

  /* Two header rows in this band; start the catalog below them. */
  .catalog {
    padding-top: calc(7.8rem + env(safe-area-inset-top));
  }

  .event-rail {
    grid-auto-columns: min(24rem, 76vw);
  }
}

@media (max-width: 47.99rem) {
  :root {
    --space-page: clamp(1rem, 5vw, 1.5rem);
  }

  .cinematic-scroll {
    height: 3900px;
  }

  .world__layer,
  .world__texture {
    object-position: 50% 50%;
  }

  .world__harbour {
    object-position: 50% 50%;
  }

  .world__couple {
    object-position: 50% 50%;
  }

  .site-header {
    padding-top: max(0.85rem, env(safe-area-inset-top));
    gap: 0 1rem;
    font-size: 0.75rem;
  }

  .site-nav {
    gap: clamp(0.65rem, 3.8vw, 1.2rem);
  }

  .scene-copy {
    padding-top: calc(4.5rem + env(safe-area-inset-top));
  }

  .scene-copy--intro {
    place-items: center;
  }

  .scene-copy--intro h1 {
    line-height: 0.88;
  }

  .hero-names {
    top: 66%;
    right: 0;
    left: 0;
    width: auto;
    font-size: clamp(2.25rem, 11vw, 4rem);
  }

  .hero-meta {
    top: 76%;
    right: var(--space-page);
    left: var(--space-page);
    width: auto;
    font-size: 0.68rem;
  }

  .hero-thought {
    top: 82%;
    max-width: 19rem;
    font-size: 0.92rem;
  }

  .scroll-cue {
    bottom: max(1.1rem, env(safe-area-inset-bottom));
  }

  .scroll-cue__line {
    height: 1.5rem;
  }

  .narrative-card,
  .scene-copy--homecoming .narrative-card {
    width: min(100%, 34rem);
    max-height: calc(100svh - 7.5rem);
    padding: 1.4rem;
    overflow: auto;
  }

  .scene-copy--story {
    place-items: end center;
  }

  .scene-copy--story .narrative-card {
    width: 100%;
    margin: 0;
    padding: 5rem 1.4rem 3.8rem;
    background: linear-gradient(180deg, transparent, rgba(10, 28, 23, 0.82) 62%);
    text-align: center;
  }

  .scene-copy--story .narrative-card h2 {
    font-size: clamp(2.5rem, 11vw, 3.7rem);
  }

  .scene-copy--story .story-dates {
    margin-right: auto;
    margin-left: auto;
  }

  .narrative-card h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 11.5vw, 3.8rem);
  }

  .narrative-card p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .narrative-card p.narrative-card__closing {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    font-size: 1.02rem;
    line-height: 1.38;
  }

  .place-line {
    gap: 0.45rem;
    font-size: 0.72rem !important;
    letter-spacing: 0.04em;
  }

  .story-dates {
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
  }

  .story-dates dt {
    font-size: 1rem;
  }

  .story-dates dd {
    font-size: 0.75rem;
  }

  .catalog {
    gap: 1rem;
    padding-top: calc(7.4rem + env(safe-area-inset-top));
  }

  .catalog__heading {
    display: grid;
    gap: 0.8rem;
  }

  .catalog h2 {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .catalog .eyebrow {
    margin-bottom: 0.55rem;
  }

  .catalog__actions {
    justify-content: space-between;
  }

  .catalog__actions .button,
  .catalog__actions .text-link {
    min-height: 2.75rem;
  }

  .event-rail {
    grid-auto-columns: min(82vw, 22rem);
  }

  .event-card article {
    min-height: 17rem;
    padding: 1.2rem;
  }

  .event-card__type {
    margin-bottom: 2.1rem;
  }

  .event-card h3 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .event-card dl div {
    grid-template-columns: 3.8rem 1fr;
  }

  .rail-controls {
    align-items: center;
  }

  .rail-status {
    max-width: 58vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .progress {
    display: none;
  }

  .epilogue h2 {
    font-size: clamp(2rem, 9.4vw, 2.6rem);
  }

  .route__art--wide {
    display: none;
  }

  .route__art--tall {
    display: block;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.9rem;
    text-align: center;
  }
}

@media (max-height: 43rem) and (min-width: 48rem) {
  .catalog {
    gap: 0.8rem;
    padding-top: 4.7rem;
  }

  .catalog h2 {
    font-size: 3.6rem;
  }

  .catalog .eyebrow {
    margin-bottom: 0.4rem;
  }

  .event-card article {
    min-height: 15rem;
    padding: 1.15rem;
  }

  .event-card__type {
    margin-bottom: 1.4rem;
  }

  .event-card h3 {
    margin-bottom: 0.8rem;
    font-size: 2.4rem;
  }

  .event-card dl {
    gap: 0.25rem;
  }
}

/* Short viewports in the two-row-header band still need catalog clearance. */
@media (max-height: 43rem) and (min-width: 48rem) and (max-width: 64rem) {
  .catalog {
    padding-top: calc(7.2rem + env(safe-area-inset-top));
  }
}

@media (max-height: 32rem) {
  .hero-names {
    font-size: clamp(3.2rem, 13vh, 4rem);
  }

  .hero-meta {
    margin-top: 0.8rem;
  }

  .scroll-cue {
    display: none;
  }

  .catalog {
    gap: 0.5rem;
    padding-top: calc(3.8rem + env(safe-area-inset-top));
  }

  .catalog__heading {
    gap: 0.45rem;
  }

  .catalog h2 {
    font-size: 2.65rem;
  }

  .catalog .eyebrow {
    margin-bottom: 0.25rem;
  }

  .event-card article {
    min-height: 0;
    overflow-y: auto;
  }

  .event-card {
    min-height: 0;
  }

  .event-card__type {
    margin-bottom: 1.35rem;
  }

  .event-card h3 {
    font-size: 2rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .button:hover,
  .rail-button:hover {
    transform: none;
  }
}

html.no-js body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}

html.no-js .loader {
  display: none;
}

html.no-js .cinematic-scroll,
html.no-js .cinematic-stage {
  height: auto;
  min-height: 0;
  overflow: visible;
  background: var(--paper);
}

html.no-js .cinematic-stage {
  position: relative;
}

html.no-js .world {
  position: relative;
  height: 72vh;
  height: 72svh;
  min-height: 32rem;
}

html.no-js .world__layer,
html.no-js .world__texture,
html.no-js .world__place {
  transform: none;
  opacity: 1;
}

html.no-js .world__wash {
  opacity: 0.3;
}

html.no-js .scene-copy,
html.no-js .catalog {
  position: relative;
  inset: auto;
  min-height: 0;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

html.no-js .scene-copy--intro {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 72vh;
  height: 72svh;
  min-height: 32rem;
}

html.no-js .scene-copy--story,
html.no-js .scene-copy--homecoming {
  padding: clamp(4rem, 8vw, 7rem) var(--space-page);
  background: var(--night);
}

html.no-js .narrative-card,
html.no-js .scene-copy--homecoming .narrative-card {
  width: min(100%, 48rem);
  max-height: none;
  margin: 0;
  overflow: visible;
}

html.no-js .catalog {
  gap: 2rem;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--night);
  color: var(--paper);
}

html.no-js .event-rail {
  min-height: 24rem;
}

html.no-js .progress,
html.no-js .scroll-cue,
html.no-js .rail-controls {
  display: none;
}

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

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

  body {
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
  }

  .cinematic-scroll {
    height: auto;
    background: var(--paper);
  }

  .cinematic-stage {
    position: relative;
    min-height: 0;
    overflow: visible;
    background: var(--paper);
  }

  .world {
    position: relative;
    height: 72vh;
    height: 72svh;
    min-height: 32rem;
    transform: none;
  }

  .world__layer,
  .world__texture {
    transform: none;
  }

  .world__place {
    transform: none;
    opacity: 1;
  }

  .world__door {
    display: none;
  }

  .world__wash {
    opacity: 0.3;
  }

  .scene-copy,
  .catalog {
    position: relative;
    inset: auto;
    min-height: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .scene-copy--intro {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 72vh;
    height: 72svh;
    min-height: 32rem;
  }

  .scene-copy--story,
  .scene-copy--homecoming {
    padding: clamp(4rem, 8vw, 7rem) var(--space-page);
    background: var(--night);
  }

  .scene-copy--homecoming {
    background: var(--ink);
  }

  .narrative-card,
  .scene-copy--homecoming .narrative-card {
    width: min(100%, 48rem);
    max-height: none;
    margin: 0;
    overflow: visible;
  }

  .catalog {
    gap: 2rem;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--night);
    color: var(--paper);
  }

  .event-rail {
    min-height: 24rem;
  }

  .progress,
  .scroll-cue {
    display: none;
  }
}

@media print {
  .loader,
  .site-header,
  .world,
  .progress,
  .rail-controls,
  .scroll-cue,
  .catalog__actions,
  .epilogue__actions {
    display: none !important;
  }

  body,
  .cinematic-scroll,
  .cinematic-stage,
  .scene-copy--story,
  .scene-copy--homecoming,
  .catalog,
  .epilogue {
    background: #fff !important;
    color: var(--ink) !important;
  }

  .cinematic-scroll,
  .cinematic-stage {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .scene-copy,
  .catalog {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    padding: 1.5rem var(--space-page);
    page-break-inside: avoid;
  }

  /* The hero is an absolutely-positioned collage on screen; stack it for paper. */
  .scene-copy--intro,
  .scene-copy--intro h1,
  .scene-copy--intro > .eyebrow,
  .hero-names,
  .hero-meta,
  .hero-thought {
    position: static;
    height: auto;
    min-height: 0;
    color: var(--ink);
    text-shadow: none;
  }

  .scene-copy--intro {
    display: block;
    text-align: center;
  }

  .hero-names {
    margin: 0.5rem 0;
  }

  .narrative-card,
  .scene-copy--homecoming .narrative-card {
    width: 100%;
    max-height: none;
    margin: 0;
    overflow: visible;
    color: var(--ink);
    text-shadow: none;
  }

  .eyebrow,
  .place-line,
  .story-dates dd,
  .rail-status {
    color: var(--bronze);
  }

  .story-dates dt {
    color: var(--ink);
  }

  .event-rail {
    display: block;
    padding: 0;
    overflow: visible;
  }

  .event-card {
    margin-bottom: 1rem;
    page-break-inside: avoid;
  }

  .event-card article {
    min-height: 0;
    box-shadow: none;
    border: 1px solid rgba(23, 52, 44, 0.35);
    background: #fff;
  }

  .rail-note {
    color: var(--ink-soft);
  }
}
