:root {
  --accent: #1b6ca8;
  --bg: #f4f0e8;
  --fg: #1c1915;
  --muted: #5e584f;
  --card: #fffdf8;
  --line: rgb(28 25 21 / 0.12);
  --shadow: 0 16px 40px rgb(28 25 21 / 0.08);
  --header: #f4f0e8;
  --font-display: Fraunces, serif;
  --font-body: "Source Sans 3", sans-serif;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --required: #9f2d2d;
  --image-outline: oklch(0 0 0 / 0.1);
  --danger: #7f1d1d;
  --measure: 65ch;
  color-scheme: light;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[data-theme="dark"] {
  --bg: #121418;
  --fg: #f4efe6;
  --muted: #b7b0a4;
  --card: #1c212b;
  --line: rgb(244 239 230 / 0.14);
  --shadow: 0 18px 40px rgb(0 0 0 / 0.35);
  --header: #121418;
  --required: #ffb4ab;
  --image-outline: oklch(1 0 0 / 0.1);
  --danger: #fecaca;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; min-width: 0; display: block; }
.muted { color: var(--muted); }
.nums { font-variant-numeric: tabular-nums; }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  color: currentColor;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: var(--card);
  color: var(--fg);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  z-index: 20;
}
.skip:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: var(--header);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.nav {
  display: flex;
  gap: 0.35rem;
  grid-column: 1 / -1;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--muted);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-md);
}
.nav a.active,
.nav a:hover {
  color: var(--fg);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.settings { position: relative; justify-self: end; }
.icon-btn,
.choice,
.btn,
.qty button,
.calendar-bar button {
  font: inherit;
  cursor: pointer;
}
.icon-btn,
.calendar-bar button {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--fg);
}
.icon-btn:disabled,
.calendar-bar button:disabled {
  opacity: 0.4;
  cursor: default;
}

.settings-popover {
  inset: auto;
  margin: 0;
  top: 4.5rem;
  inset-inline-end: 1rem;
  width: min(20rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  color: var(--fg);
  box-shadow: var(--shadow);
}
.settings-popover:is(:popover-open, .\:popover-open) {
  display: grid;
  gap: 1.25rem;
}
.settings-group { display: grid; gap: 0.75rem; }
.settings-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
}
.settings-choices { display: grid; gap: 0.75rem; }
.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  text-align: start;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--fg);
  padding: 0.45rem 0.75rem;
}
.choice[aria-pressed="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}
.flag {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-md);
  outline: 1px solid var(--image-outline);
}

.hero,
.history,
.facts,
.page-hero,
.hours-table,
.holidays,
.price-wrap,
.ticket-form,
.process,
.story-links,
.heritage,
.place-history,
.policy {
  width: min(1120px, calc(100% - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  min-width: 0;
  margin-inline: auto;
}
.heritage > .page-hero,
.place-history > .page-hero,
.policy > .page-hero {
  width: auto;
  margin-inline: 0;
}
.hero-copy,
.history-copy,
.hero-frame,
.gallery-frame { min-width: 0; }
.hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}
.hero-copy h1,
.page-hero h1,
.history h2,
.facts h2,
.price-card h3,
.fact h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.hero-copy h1 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}
.lede,
.history-copy p,
.page-hero p,
.price-card p,
.fact p {
  text-wrap: pretty;
}
.lede {
  max-width: var(--measure);
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.15rem;
}
.eyebrow {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-wrap: pretty;
}
h1, h2, h3 { overflow-wrap: break-word; }
.hero-frame,
.gallery-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: color-mix(in srgb, var(--fg) 6%, var(--card));
  box-shadow: var(--shadow);
}
.hero-frame img,
.gallery-frame .slide {
  width: 100%;
  height: 100%;
  object-position: center;
  outline: 1px solid var(--image-outline);
}
.hero-frame img { object-fit: cover; }
.gallery-frame .slide { object-fit: contain; }
.gallery-frame .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.gallery-frame .slide.active { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: 2.75rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}
.btn .icon { width: 1.1rem; height: 1.1rem; }
.btn-primary {
  background: color-mix(in srgb, var(--accent) 78%, #1c1915);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--fg);
}

.history,
.facts {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.history-copy h2,
.facts h2 { margin: 0 0 0.75rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.history-copy p { max-width: var(--measure); margin: 0 0 0.9rem; }
.fact-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fact {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: 1.15rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.fact.has-image { padding: 0; overflow: hidden; }
.fact img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; outline: 1px solid var(--image-outline); }
.fact.has-image h3,
.fact.has-image p { margin-inline: 1.15rem; }
.fact.has-image p { margin-bottom: 1.15rem; }
.fact h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 1.3rem;
}
.fact h3 .icon { width: 1.15rem; height: 1.15rem; color: var(--fg); }
.fact p { margin: 0; color: var(--muted); }

.page-hero { margin-top: 2rem; }
.page-hero h1 { margin: 0 0 0.5rem; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { max-width: var(--measure); color: var(--muted); }

.process {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.process figure {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow);
}
.process img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--card);
  outline: 1px solid var(--image-outline);
}
.process figcaption { margin: 0.55rem 0.15rem 0; color: var(--muted); }

.ticket-form,
.price-card,
.hours-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.ticket-form { margin-top: 1.5rem; padding: 1.25rem; }
.ticket-form fieldset {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
  min-width: 0;
}
.ticket-form legend,
.extra-block legend,
.extras h2,
.step-panel h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0 0 0.85rem;
  padding: 0;
}
.step-panel h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.step-panel > p { max-width: var(--measure); margin: -0.35rem 0 1rem; }
.step-panel:focus { outline: none; }

.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.stepper li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  color: var(--muted);
}
.stepper li[aria-current="step"],
.stepper li.is-done { color: var(--fg); }
.stepper li[aria-current="step"] { font-weight: 700; }

.ticket-row {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}
.ticket-row small {
  display: block;
  color: var(--muted);
  text-wrap: pretty;
}
.price,
.price-value {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.qty {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.qty button {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--fg);
}
.qty input {
  width: 2.4rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.qty input { appearance: textfield; }

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--bg);
  cursor: pointer;
}
.check-card .icon { margin-top: 0.1rem; color: var(--accent); }
.check-copy { display: grid; gap: 0.2rem; min-width: 0; }
.check-copy small { color: var(--muted); text-wrap: pretty; }
.check-card:not(.has-icon) .check-input { order: -1; }
.check-card.has-icon .check-input { margin-inline-start: auto; }
.check-input {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 1.5px solid color-mix(in srgb, var(--fg) 45%, var(--line));
  border-radius: 0.35rem;
  background: var(--card);
  display: grid;
  place-items: center;
  flex: none;
}
.check-input:checked {
  background: color-mix(in srgb, var(--accent) 78%, #1c1915);
  border-color: transparent;
}
.check-input:checked::after {
  content: "";
  width: 0.3rem;
  height: 0.55rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}

.extra-block { margin-bottom: 1.5rem; }
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.75rem;
}
.slot {
  position: relative;
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--bg);
  cursor: pointer;
}
.slot input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.slot:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, var(--card));
  font-weight: 700;
}
.slot:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.calendar { display: grid; gap: 0.75rem; }
.calendar-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.calendar-bar strong { font-weight: 700; text-wrap: balance; text-align: center; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}
.calendar-grid button,
.calendar-dow {
  min-height: 2.5rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.calendar-dow {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.calendar-grid button { cursor: pointer; }
.calendar-grid button:disabled { color: var(--muted); opacity: 0.35; cursor: default; }
.calendar-grid button.is-today { border-color: var(--accent); }
.calendar-grid button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--accent) 78%, #1c1915);
  color: #fff;
  border-color: transparent;
}
.calendar-selected { margin: 0; color: var(--muted); }

.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}
.optional { margin-inline-start: auto; color: var(--muted); font-weight: 400; }
.field input,
input,
select {
  font: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.55rem 0.7rem;
  min-height: 2.75rem;
  width: 100%;
}
.qty input { width: 2.4rem; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}
.form-actions .btn-primary { margin-inline-start: auto; }
.form-error {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 12%, transparent);
}
.form-note {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
}
.review { display: grid; gap: 0.85rem; margin: 0; }
.review div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.review dt { color: var(--muted); }
.review dd { margin: 0; text-align: end; text-wrap: pretty; }
.review-total {
  margin-top: 0.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 1.15rem;
}
.review-total dt,
.review-total dd { color: var(--fg); }

.price-wrap { margin-top: 1.5rem; }
.price-cards { display: grid; gap: 1rem; }
.price-card { padding: 1.15rem; }
.price-card h3 { margin: 0 0 0.4rem; font-size: 1.35rem; }
.price-wrap .btn { margin-top: 1.25rem; }

.hours-table { margin-top: 1.5rem; overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 0.85rem 1rem;
  text-align: start;
  border-bottom: 1px solid var(--line);
}
th { color: var(--muted); font-weight: 600; }
.badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}
.holidays { margin-top: 2rem; }
.holidays ul { padding-inline-start: 1.1rem; }

.site-footer {
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.5rem 0 2rem;
  display: grid;
  gap: 0.35rem;
}
.footer-inner p { margin: 0; max-width: var(--measure); }

@media (min-width: 700px) {
  .fact-list { grid-template-columns: 1fr 1fr; }
  .ticket-row { grid-template-columns: minmax(0, 1fr) auto auto; }
}
@media (min-width: 900px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nav { grid-column: auto; justify-content: center; }
  .hero,
  .history { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .hero-frame,
  .gallery-frame { aspect-ratio: 4 / 5; min-height: 28rem; }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  .site-header { view-transition-name: site-header; }
  .site-footer { view-transition-name: site-footer; }
  .step-panel { animation: step-in 220ms cubic-bezier(0.2, 0, 0, 1); }

  ::view-transition-group(site-header),
  ::view-transition-group(site-footer) {
    animation-duration: 0.01ms;
  }
  :active-view-transition-type(forward)::view-transition-old(root) {
    animation: 320ms cubic-bezier(0.2, 0, 0, 1) both page-out-forward;
  }
  :active-view-transition-type(forward)::view-transition-new(root) {
    animation: 320ms cubic-bezier(0.2, 0, 0, 1) both page-in-forward;
  }
  :active-view-transition-type(back)::view-transition-old(root) {
    animation: 320ms cubic-bezier(0.2, 0, 0, 1) both page-out-back;
  }
  :active-view-transition-type(back)::view-transition-new(root) {
    animation: 320ms cubic-bezier(0.2, 0, 0, 1) both page-in-back;
  }

  .btn:active,
  .icon-btn:active,
  .choice:active,
  .slot:active,
  .qty button:active,
  .calendar-grid button:active {
    scale: 0.96;
  }
  .btn,
  .icon-btn,
  .choice,
  .slot,
  .nav a,
  .calendar-grid button,
  .check-input {
    transition-property: scale, background-color, color, border-color;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  }
  .nudge {
    transition-property: translate;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  }
  .btn:hover .nudge-forward { translate: 0.28rem 0; }
  .btn:hover .nudge-back { translate: -0.28rem 0; }
  [dir="rtl"] .btn:hover .nudge-forward { translate: -0.28rem 0; }
  [dir="rtl"] .btn:hover .nudge-back { translate: 0.28rem 0; }
  .gallery-frame .slide {
    transition-property: opacity, scale;
    transition-duration: 700ms, 400ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  }
  .gallery-frame:hover .slide.active { scale: 1.04; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .gallery-frame .slide { transition: none; }
}

.req {
  color: var(--required);
  margin-inline-start: 0.2rem;
  font-weight: 700;
  text-decoration: none;
}
.btn.is-blocked { opacity: 0.45; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}
.crumb-index { font-weight: 700; }
.crumb[aria-current="step"],
.crumb.is-done { color: var(--fg); }
.crumb-bar {
  position: relative;
  width: 2.5rem;
  height: 2px;
  margin-inline: 0.55rem;
  background: var(--line);
  overflow: hidden;
}
.crumb-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .crumb-bar > span { transition: width 420ms cubic-bezier(0.2, 0, 0, 1); }
}
.crumb.is-done .crumb-bar > span,
.crumb.is-ready .crumb-bar > span { width: 100%; }
.crumb[aria-current="step"]:not(.is-ready) .crumb-bar > span { width: 42%; }

.story-links {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.story-link {
  display: grid;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}
.story-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  outline: 1px solid var(--image-outline);
}
.story-link h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.story-link p { margin: 0.35rem 0 0.5rem; max-width: var(--measure); color: var(--muted); }
.story-link span { font-weight: 700; }

.heritage {
  display: grid;
  gap: 1.75rem 2rem;
  align-items: end;
  margin-top: 2rem;
}
.heritage-frame,
.year-copy img {
  border-radius: var(--radius-md);
  outline: 1px solid var(--image-outline);
}
.heritage-frame { margin: 0; }
.heritage-frame img,
.year-copy img { width: 100%; object-fit: cover; }
.heritage-frame img { aspect-ratio: 4 / 3; }
.prose { max-width: var(--measure); }
.heritage .prose,
.policy .prose { margin-top: 0; }
.prose p { margin: 0 0 0.95rem; line-height: 1.6; }
.prose h2 {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.15;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 1.1rem;
  line-height: 1.25;
}
.prose ul,
.prose ol {
  margin: 0 0 0.95rem;
  padding-inline-start: 1.25rem;
}
.prose li { margin: 0.25rem 0; line-height: 1.6; }
.prose a { color: var(--accent); text-underline-offset: 0.15em; }
.prose strong { font-weight: 650; }
.policy { margin-top: 2rem; }

.place-history { container-type: inline-size; }
.timeline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.year {
  display: grid;
  grid-template-columns: minmax(4.5rem, 7rem) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: center;
  min-height: 70vh;
  opacity: 0.42;
  translate: 0 1.1rem;
}
@container (max-width: 36rem) {
  .year { grid-template-columns: 1fr; align-items: start; }
}
.year.is-near { opacity: 0.62; translate: 0 0.45rem; }
.year.is-active { opacity: 1; translate: 0 0; }
.year-mark { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
.year-copy h2 { margin: 0 0 0.4rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.year-copy p { margin: 0.6rem 0 0; max-width: var(--measure); color: var(--muted); }
.year-copy img { aspect-ratio: 16 / 10; margin-bottom: 0.8rem; }
@media (prefers-reduced-motion: no-preference) {
  .year { transition: opacity 280ms ease, translate 280ms ease; }
}

.footer-company {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.25rem;
  font-style: normal;
}
.footer-company a { color: inherit; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 1rem;
}
.footer-nav a { color: inherit; }

@media (min-width: 800px) {
  .story-links { grid-template-columns: 1fr 1fr; align-items: start; }
  .heritage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .heritage .prose { grid-column: 1 / -1; }
}

@keyframes page-out-forward { to { opacity: 0; translate: -2.5rem 0; } }
@keyframes page-in-forward { from { opacity: 0; translate: 2.5rem 0; } }
@keyframes page-out-back { to { opacity: 0; translate: 2.5rem 0; } }
@keyframes page-in-back { from { opacity: 0; translate: -2.5rem 0; } }
@keyframes step-out { to { opacity: 0; translate: 0 -0.5rem; } }
@keyframes step-in { from { opacity: 0; translate: 0 0.75rem; } }
