/* =====================================================================
   E-Ticket Rewind — site.css
   One stylesheet. Warm storytelling: navy, cream, gold, a little maroon.
   ===================================================================== */

@font-face {
  font-family: "Rokkitt";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/rokkitt-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rokkitt";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/rokkitt-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
  --ink: #16273f;
  --gold: #e0a92e;
  --cream: #f4ecd8;
  --maroon: #b23b2e;

  --paper: var(--cream);
  --card: #f9f4e7;          /* a shade lighter than the page */
  --ink-soft: #3d4a60;      /* secondary text on cream: 7.9:1 */
  --ink-faint: #555f72;     /* metadata on cream: 5.6:1 */
  --maroon-text: #9e3226;   /* maroon for small text on cream: 6.0:1 */
  --rule: rgba(22, 39, 63, 0.9);
  --rule-soft: rgba(22, 39, 63, 0.2);
  --cream-soft: rgba(244, 236, 216, 0.82);

  --slab: "Rokkitt", "Rockwell", "Roboto Slab", Georgia, serif;
  --body: Georgia, "Times New Roman", serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --t-lg: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
  --t-xl: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --t-2xl: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);
  --t-hero: clamp(2.5rem, 1.2rem + 5vw, 5.25rem);

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --page: 84rem;
  --measure: 40rem;
  --media-col: clamp(14rem, 22vw, 19rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--t-base); line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--maroon); }
h1, h2, h3, h4 { font-family: var(--slab); font-weight: 700; line-height: 1.04; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--maroon); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 0.6rem 1rem; font-family: var(--slab); font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon-rewind { width: 1.25em; height: 0.8em; fill: currentColor; flex: none; }
.icon-play { width: 0.85em; height: 0.85em; fill: currentColor; flex: none; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 2.875rem; padding: 0.55rem 1.25rem 0.5rem;
  font-family: var(--slab); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--sm { min-height: 2.5rem; padding: 0.4rem 1.05rem 0.35rem; font-size: 0.9375rem; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--maroon); border-color: var(--maroon); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--cream); border-color: var(--cream); }
.btn--line-light { background: transparent; border-color: var(--cream-soft); color: var(--cream); }
.btn--line-light:hover { border-color: var(--gold); color: var(--gold); }
.btn:active { transform: translateY(1px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--slab); font-weight: 700; font-size: var(--t-sm); letter-spacing: 0.04em;
  color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--maroon); text-underline-offset: 0.25em;
}
.text-link:hover { color: var(--maroon); }

/* ---------- small shared pieces ---------- */
/* Post type label: every post says what kind it is, so a third kind (a long video,
   a park vlog) only needs a new modifier, e.g. .post-type--vlog. */
.post-type {
  display: inline-block; padding: 0.22em 0.6em 0.14em; margin-right: 0.35em;
  font-family: var(--slab); font-weight: 800; font-size: 0.75rem; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--ink); color: var(--cream); border-radius: 2px; vertical-align: 0.08em;
}
.post-type--update { background: var(--maroon); }

/* What became of it: an ordinary tag, nothing more. */
.tag {
  display: inline-block; padding: 0.12em 0.6em 0.06em;
  font-family: var(--slab); font-weight: 700; font-size: 0.875rem; line-height: 1.3; letter-spacing: 0.02em;
  color: var(--ink-soft); border: 1px solid var(--rule-soft); border-radius: 999px; white-space: nowrap;
}
.tag-link { text-decoration: none; }
.tag-link:hover .tag { border-color: var(--ink); color: var(--ink); }

/* The rewind mark: only ever means "back in time". */
.rewind-year {
  display: inline-flex; align-items: center; gap: 0.3em;
  font-family: var(--slab); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.rewind-year .icon-rewind { color: var(--maroon); width: 1.05em; }

.section-label {
  font-family: var(--slab); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}

/* One treatment for every video frame: shadows go navy, lights go cream. */
.duotone { position: relative; display: block; overflow: hidden; background: var(--ink); }
.duotone img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: url("#etr-duotone"); }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule-soft); }
.site-header__inner {
  max-width: var(--page); margin: 0 auto; padding: 0.35rem var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.25rem 2rem;
}
.site-logo { display: block; width: clamp(11rem, 8rem + 8vw, 15.5rem); margin-left: -0.6rem; }
.site-logo img { width: 100%; }
.site-nav__list { list-style: none; display: flex; justify-content: flex-end; gap: clamp(1rem, 2.5vw, 2.25rem); }
.site-nav__link {
  display: inline-block; padding: 0.5rem 0.1rem 0.4rem;
  font-family: var(--slab); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap;
}
.site-nav__link:hover { border-bottom-color: var(--maroon); }
.site-nav__link[aria-current="page"] { border-bottom-color: var(--gold); }
@media (max-width: 44rem) {
  .site-header__inner { grid-template-columns: 1fr auto; padding-bottom: 0; gap: 0 1rem; }
  .site-logo { width: 10.5rem; margin-left: -0.45rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--rule-soft); }
  .site-nav__list { justify-content: space-between; gap: 0; }
  .site-nav__link { padding: 0.6rem 0.25rem 0.5rem; font-size: 0.9375rem; }
}

/* ---------- home: welcome ---------- */
/* A warm house-lights-down opening: navy stage, a soft spotlight, and a row of
   marquee bulbs along the bottom edge, taken from the dot ring in the emblem. */
.welcome {
  position: relative; color: var(--cream);
  background:
    radial-gradient(60rem 26rem at 22% -10%, rgba(224, 169, 46, 0.2), transparent 70%),
    radial-gradient(40rem 22rem at 95% 110%, rgba(178, 59, 46, 0.22), transparent 70%),
    var(--ink);
  padding-bottom: 14px;
}
.welcome::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background:
    radial-gradient(circle at 50% 50%, var(--cream) 0 2.5px, rgba(244, 236, 216, 0.25) 3.5px, transparent 5px) 0 0 / 22px 14px repeat-x,
    var(--ink);
  border-top: 2px solid var(--gold);
}
.welcome__inner {
  max-width: var(--page); margin: 0 auto; padding: clamp(1.5rem, 2.6vw, 2.25rem) var(--gutter) clamp(1.5rem, 2.6vw, 2.25rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center;
}
.welcome__brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--slab); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.welcome__title { margin-top: 0.5rem; font-size: clamp(2.4rem, 1rem + 3.6vw, 4.5rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.015em; }
.welcome__lede { margin-top: 0.85rem; font-size: var(--t-md); line-height: 1.5; max-width: 48rem; }
.welcome__hosts { margin-top: 0.6rem; font-size: var(--t-sm); line-height: 1.55; color: var(--cream-soft); max-width: 52rem; font-style: italic; }
.welcome__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.15rem; }

/* HOST PICTURE SLOT: a deliberately empty frame until there is a picture to put in it */
.host-slot {
  margin: 0; width: clamp(11rem, 15vw, 14rem); aspect-ratio: 5 / 6;
  display: grid; place-content: center; gap: 0.4rem; text-align: center; padding: 1rem;
  border: 2px dashed rgba(224, 169, 46, 0.75); border-radius: 50% 50% 6px 6px / 28% 28% 6px 6px;
  background: rgba(244, 236, 216, 0.05);
}
.host-slot__label { font-family: var(--slab); font-weight: 800; font-size: var(--t-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.host-slot__caption { font-size: var(--t-sm); font-style: italic; color: var(--cream-soft); }

@media (max-width: 52rem) {
  .welcome__inner { grid-template-columns: 1fr; }
  .host-slot { width: 100%; aspect-ratio: auto; min-height: 5.5rem; border-radius: 6px; }
}

/* ---------- home: newest story + park updates ---------- */
.now-showing {
  max-width: var(--page); margin: 0 auto; padding: clamp(1.5rem, 2.8vw, 2.25rem) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(17rem, 1fr); gap: 2.5rem clamp(2rem, 4vw, 4rem);
}
.feature .section-label { padding-bottom: 0.75rem; border-bottom: 2px solid var(--rule); }
.feature__body { display: grid; grid-template-columns: clamp(8rem, 13vw, 11.5rem) minmax(0, 1fr); gap: 1.5rem clamp(1.25rem, 2.5vw, 2rem); padding-top: 1.25rem; align-items: start; }
.feature__frame { display: block; aspect-ratio: 9 / 16; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px var(--ink), 6px 6px 0 var(--gold); }
.feature__frame .duotone { height: 100%; }
.feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; font-size: var(--t-sm); color: var(--ink-faint); }
.feature__title { margin-top: 0.75rem; font-size: var(--t-2xl); font-weight: 800; line-height: 0.98; letter-spacing: -0.012em; }
.feature__title a { text-decoration: none; }
.feature__title a:hover { text-decoration: underline; text-decoration-color: var(--maroon); text-decoration-thickness: 3px; }
.feature__lede { margin-top: 1rem; font-size: var(--t-md); line-height: 1.55; max-width: 36rem; color: var(--ink-soft); }
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.4rem; }

.updates-strip { display: flex; flex-direction: column; }
.updates-strip__head { padding-bottom: 0.75rem; border-bottom: 2px solid var(--maroon); }
.updates-strip__title { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--maroon-text); }
.updates-strip__sub { margin-top: 0.3rem; font-size: var(--t-sm); font-style: italic; color: var(--ink-soft); line-height: 1.45; }
.updates-strip__list { list-style: none; }
.update-teaser { position: relative; padding: 1rem 0 1.05rem; border-bottom: 1px solid var(--rule-soft); }
.update-teaser__meta { font-family: var(--slab); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.update-teaser__title { margin-top: 0.3rem; font-size: 1.3rem; line-height: 1.08; }
.update-teaser__title a { text-decoration: none; }
.update-teaser__title a:hover { text-decoration: underline; text-decoration-color: var(--maroon); }
.update-teaser__text { margin-top: 0.35rem; font-size: var(--t-sm); line-height: 1.5; color: var(--ink-soft); }
.update-teaser__history { margin-top: 0.55rem; font-size: var(--t-sm); line-height: 1.35; }
.update-teaser__history a { display: inline-flex; gap: 0.45rem; align-items: baseline; text-decoration-color: var(--maroon); }
.update-teaser__history .icon-rewind { color: var(--maroon); transform: translateY(0.1em); }
.update-teaser__history-label { font-family: var(--slab); font-weight: 700; }
.updates-strip__more { margin-top: 1rem; align-self: flex-start; }

@media (max-width: 60rem) {
  .now-showing { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .feature__body { grid-template-columns: 1fr; }
  .feature__frame { aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--ink), 4px 4px 0 var(--gold); }
}

/* ---------- home: every history story ---------- */
.stories { max-width: var(--page); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.section-head { display: grid; gap: 0.35rem; padding-bottom: 0.9rem; border-bottom: 2px solid var(--rule); }
.section-head__title { font-size: var(--t-xl); font-weight: 800; }
.section-head__note { color: var(--ink-soft); font-size: var(--t-sm); font-style: italic; }
.stories__nojs { padding: 1rem 0; font-size: var(--t-sm); color: var(--ink-soft); }
.js .stories__nojs { display: none; }

.filters { display: none; }
.js .filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem clamp(1.25rem, 2.5vw, 2.5rem);
  position: sticky; top: 0; z-index: 5; background: var(--paper);
  padding: 0.9rem 0 0.8rem; border-bottom: 1px solid var(--rule-soft);
}
.filters__group { min-width: 0; }
.filters__label { font-family: var(--slab); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.35rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 2.25rem; padding: 0.3rem 0.85rem 0.25rem;
  font-family: var(--slab); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; line-height: 1.1;
  background: transparent; color: var(--ink); border: 1.5px solid var(--rule-soft); border-radius: 999px; cursor: pointer;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip__n { font-weight: 500; font-variant-numeric: tabular-nums; opacity: 0.8; }
.chip--rewind .icon-rewind { width: 1.1em; color: var(--maroon); }
.chip--rewind[aria-pressed="true"] .icon-rewind { color: var(--gold); }
.filters__count { margin-left: auto; white-space: nowrap; font-family: var(--slab); font-weight: 600; font-size: var(--t-sm); color: var(--ink-soft); font-variant-numeric: tabular-nums; padding-bottom: 0.45rem; }
@media (max-width: 52rem) {
  .js .filters { position: static; display: grid; grid-template-columns: minmax(0, 1fr); }
  .filters__count { margin-left: 0; padding: 0; }
}
@media (max-width: 40rem) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); padding-bottom: 2px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

.decade-jump { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; padding: 0.75rem 0 0; font-family: var(--slab); font-weight: 700; }
.decade-jump[hidden] { display: none; }
.decade-jump a { padding: 0.35rem 0; text-decoration-color: var(--maroon); }

.story-grid {
  list-style: none; margin-top: 1.5rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr)); gap: 1rem;
}
.story-card {
  position: relative; display: flex; flex-direction: column; min-height: 11.5rem;
  padding: 1rem 1.15rem 1rem; background: var(--card);
  border: 1px solid var(--rule-soft); border-top: 3px solid var(--ink); border-radius: 2px 2px 6px 6px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.story-card:hover { border-top-color: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 0 -2px rgba(22, 39, 63, 0.12); }
.story-card .post-type { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.story-card__kicker { display: flex; align-items: center; gap: 0.25rem; font-family: var(--slab); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.story-card__title { margin: 0.7rem 0 auto; padding-bottom: 1rem; font-size: clamp(1.45rem, 1.2rem + 0.6vw, 1.8rem); font-weight: 700; line-height: 1.06; }
.story-card__title a { text-decoration: none; }
.story-card__title a::after { content: ""; position: absolute; inset: 0; }
.story-card__title a:hover { text-decoration: underline; text-decoration-color: var(--maroon); text-decoration-thickness: 2px; }
.story-card:focus-within { outline: 3px solid var(--maroon); outline-offset: 2px; }
.story-card__title a:focus-visible { outline: none; }
.story-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; padding-top: 0.6rem; border-top: 1px dotted var(--rule-soft); font-size: var(--t-xs); color: var(--ink-faint); }
.story-card__meta time { margin-left: auto; }
.story-card[hidden] { display: none; }

.decade-mark {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 0.6rem; padding: 1rem 0 0.35rem;
  border-bottom: 2px solid var(--rule);
  font-family: var(--slab); font-size: var(--t-xl); font-weight: 800; scroll-margin-top: 10rem;
}
.decade-mark .icon-rewind { width: 0.9em; color: var(--maroon); }
.stories__empty { padding: 2.5rem 0; font-style: italic; color: var(--ink-soft); }
.stories__empty[hidden] { display: none; }
@media (max-width: 40rem) { .story-card { min-height: 0; } }

/* ---------- post pages (history story, park update; later long video or vlog) ---------- */
.post { max-width: calc(var(--media-col) + var(--measure) + 14rem); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.pager { width: min(calc(100% - 2 * var(--gutter)), calc(var(--media-col) + var(--measure) + 14rem - 2 * var(--gutter))); margin-left: auto; margin-right: auto; }
.post { padding-top: clamp(1rem, 2.4vw, 1.75rem); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; font-family: var(--slab); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin: 0 0.5rem 0 0.25rem; color: var(--ink-faint); }
.crumbs a { text-decoration-color: var(--rule-soft); }

.post-head { padding-bottom: clamp(1rem, 2vw, 1.5rem); border-bottom: 2px solid var(--rule); }
.post-head__kicker { margin-top: clamp(1rem, 2.2vw, 1.5rem); font-family: var(--slab); font-weight: 700; font-size: var(--t-sm); letter-spacing: 0.06em; color: var(--ink-soft); font-style: normal; }
.post-head__title { margin-top: 0.6rem; font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.5rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.018em; max-width: 24ch; }
.post-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin-top: 1.1rem; font-size: var(--t-sm); color: var(--ink-faint); }
.post-head__meta a:not(.tag-link) { color: var(--ink); text-decoration-color: var(--rule-soft); }

.post-layout {
  display: grid; grid-template-columns: var(--media-col) minmax(0, var(--measure));
  gap: 2rem clamp(2rem, 5vw, 5rem); padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
/* For a landscape video (Stage 2): media sits above the text, the full width of the column. */
.post-layout--landscape { grid-template-columns: minmax(0, var(--measure)); justify-content: start; }
.post-media__sticky, .post-history__sticky { position: sticky; top: 1.5rem; }

.player { position: relative; background: var(--ink); border-radius: 8px; padding: 5px; box-shadow: 6px 6px 0 var(--gold); }
.player--vertical { aspect-ratio: 9 / 16; }
.player--landscape { aspect-ratio: 16 / 9; }
.player__poster { position: absolute; inset: 5px; display: block; color: var(--cream); text-decoration: none; border-radius: 5px; overflow: hidden; }
.player__frame { position: absolute; inset: 0; }
.player__btn {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap;
  padding: 0.6rem 1.1rem 0.55rem; background: var(--ink); color: var(--cream); border: 1.5px solid var(--gold); border-radius: 999px;
  font-family: var(--slab); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.player__btn .icon-play { color: var(--gold); width: 1em; height: 1em; }
.player__dur { color: var(--gold); margin-left: 0.2rem; font-variant-numeric: tabular-nums; }
.player__poster:hover .player__btn { background: var(--gold); color: var(--ink); }
.player__poster:hover .player__btn .icon-play, .player__poster:hover .player__dur { color: var(--ink); }
.player__poster:focus-visible { outline-offset: 6px; }
.player iframe { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); border: 0; border-radius: 5px; }
.post-media__caption { margin-top: 1rem; font-size: var(--t-xs); color: var(--ink-faint); line-height: 1.5; }

.post-body { font-size: 1.125rem; line-height: 1.72; }
.post-body > p + p { margin-top: 1.1em; }
.post-body__lede { font-size: var(--t-md); line-height: 1.55; }
.post-body__lede::first-letter { float: left; font-family: var(--slab); font-weight: 800; font-size: 4.1em; line-height: 0.82; margin: 0.06em 0.1em 0 0; color: var(--maroon); }
.post-body > h2 { scroll-margin-top: 1.5rem; font-size: var(--t-lg); margin: 2.25rem 0 0.7rem; }

.pull-quote { margin: 2rem 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 4px solid var(--gold); }
.pull-quote p { font-family: var(--slab); font-weight: 700; font-size: var(--t-xl); line-height: 1.08; color: var(--ink); text-wrap: balance; }

.plaque { margin: 1.75rem 0; padding: 1.5rem clamp(1.25rem, 3vw, 2rem); background: var(--ink); color: var(--cream); border-radius: 4px; outline: 1px solid var(--gold); outline-offset: -8px; text-align: center; }
.plaque blockquote { margin: 0; }
.plaque p { font-family: var(--slab); font-weight: 600; font-size: var(--t-md); line-height: 1.35; }
.plaque figcaption { margin-top: 0.75rem; font-family: var(--slab); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* What we left out: its own treatment. It is why people can trust us. */
.left-out {
  margin-top: 3rem; padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--card); border: 2px solid var(--ink); border-radius: 6px; box-shadow: 6px 6px 0 var(--maroon);
}
.left-out__title { display: flex; align-items: center; gap: 0.6rem; font-size: var(--t-xl); font-weight: 800; margin: 0; }
.left-out__title .icon-rewind { color: var(--maroon); width: 0.9em; }
.left-out__sub { margin-top: 0.4rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); font-size: var(--t-sm); color: var(--ink-soft); font-style: italic; }
.left-out__list { list-style: none; }
.left-out__item { padding: 1.1rem 0; border-bottom: 1px dashed var(--rule-soft); }
.left-out__item:last-child { border-bottom: 0; padding-bottom: 0.25rem; }
.left-out__claim { font-family: var(--slab); font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.left-out__claim strong { text-decoration: line-through; text-decoration-color: var(--maroon); text-decoration-thickness: 2px; }
.left-out__why { margin-top: 0.35rem; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }

/* Sources and credits: small by design */
.post-notes { margin-top: 2.5rem; padding-top: 0.9rem; border-top: 1px solid var(--rule-soft); font-size: var(--t-sm); color: var(--ink-soft); display: grid; gap: 0.6rem; }
.sources__summary { cursor: pointer; font-family: var(--slab); font-weight: 700; color: var(--ink); list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.sources__summary::-webkit-details-marker { display: none; }
.sources__summary::before { content: ""; width: 0.5em; height: 0.5em; border-right: 2px solid var(--maroon); border-bottom: 2px solid var(--maroon); transform: rotate(-45deg); transition: transform 0.2s var(--ease); }
.sources[open] .sources__summary::before { transform: rotate(45deg); }
.sources__summary:hover { text-decoration: underline; text-decoration-color: var(--maroon); }
.sources__list { margin: 0.6rem 0 0.25rem 1.25rem; display: grid; gap: 0.35rem; font-size: 0.875rem; line-height: 1.45; }
.sources__list li::marker { font-family: var(--slab); color: var(--ink-faint); }
.sources__list a { color: var(--ink); text-decoration-color: var(--rule-soft); }
.sources__pub { margin-left: 0.4rem; color: var(--ink-faint); }
.sources__pub::before { content: "· "; }
.credits-line a, .source-line a { color: var(--ink); font-family: var(--slab); font-weight: 700; text-decoration-color: var(--maroon); }

/* Cross-link from a history story to the park now */
.related-update { margin-top: 2rem; padding: 1rem 1.25rem; border-left: 4px solid var(--maroon); background: var(--card); border-radius: 0 6px 6px 0; }
.related-update__label { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--maroon-text); }
.related-update__title { margin-top: 0.3rem; font-family: var(--slab); font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.related-update__title a { text-decoration-color: var(--maroon); }
.related-update__meta { margin-top: 0.25rem; font-size: var(--t-xs); color: var(--ink-faint); }

/* Park update: no video, so the side column holds the history behind it */
.post-layout--text .post-history { grid-column: 1; grid-row: 1; }
.post-layout--text .post-body { grid-column: 2; grid-row: 1; }
.post-history__label { display: flex; align-items: center; gap: 0.5rem; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 0.6rem; border-bottom: 2px solid var(--rule); }
.post-history__label .icon-rewind { color: var(--maroon); }
.post-history__card { display: block; margin-top: 1rem; text-decoration: none; background: var(--card); border: 1px solid var(--rule-soft); border-radius: 6px; overflow: hidden; }
.post-history__frame { aspect-ratio: 4 / 3; }
.post-history__frame img { object-position: 50% 62%; }
.post-history__body { display: grid; gap: 0.45rem; padding: 0.9rem 1rem 1rem; }
.post-history__kicker { font-family: var(--slab); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.post-history__title { font-family: var(--slab); font-weight: 700; font-size: 1.35rem; line-height: 1.06; }
.post-history__more { font-family: var(--slab); font-weight: 700; font-size: var(--t-sm); text-decoration: underline; text-decoration-color: var(--maroon); text-underline-offset: 0.25em; }
.post-history__card:hover .post-history__title { text-decoration: underline; text-decoration-color: var(--maroon); }

@media (max-width: 47.99rem) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .post-media__sticky { position: static; display: grid; grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr); gap: 1.1rem; align-items: end; }
  .post-media__caption { margin-top: 0; }
  .post-layout--text .post-history, .post-layout--text .post-body { grid-column: 1; grid-row: auto; }
  .post-history__sticky { position: static; }
  .post-history__card { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); }
  .post-history__frame { aspect-ratio: auto; height: 100%; }
}
@media (max-width: 30rem) {
  .post-media__sticky { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); }
  .player__btn { bottom: 0.6rem; font-size: 0.8125rem; padding: 0.5rem 0.75rem 0.45rem; gap: 0.4rem; }
}

.pager { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--rule); border-bottom: 1px solid var(--rule-soft); }
.pager__link { display: grid; gap: 0.4rem; align-content: start; padding: 1.25rem 1.5rem 1.4rem 0; text-decoration: none; }
.pager__link--next { grid-column: 2; padding: 1.25rem 0 1.4rem 1.5rem; border-left: 1px solid var(--rule-soft); text-align: right; }
.pager__dir { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--slab); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon-text); }
.pager__link--next .pager__dir { justify-content: flex-end; }
.pager__title { font-family: var(--slab); font-weight: 700; font-size: var(--t-lg); line-height: 1.08; text-wrap: balance; }
.pager__meta { font-size: var(--t-xs); color: var(--ink-faint); }
.pager__link:hover .pager__title { text-decoration: underline; text-decoration-color: var(--maroon); }
@media (max-width: 40rem) {
  .pager { grid-template-columns: 1fr; }
  .pager__link, .pager__link--next { grid-column: auto; padding: 1.1rem 0; text-align: left; border-left: 0; }
  .pager__link--next { border-top: 1px solid var(--rule-soft); }
  .pager__link--next .pager__dir { justify-content: flex-start; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); border-top: 4px solid var(--gold); }
.site-footer__inner {
  max-width: var(--page); margin: 0 auto; padding: 2rem var(--gutter) 2.25rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 3rem; align-items: center;
}
.site-footer__brand { display: block; width: 16rem; margin-left: -0.7rem; }
.site-footer__brand img { width: 100%; }
.site-footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 2rem; }
.site-footer__nav a { display: inline-block; padding: 0.3rem 0; font-family: var(--slab); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration-color: rgba(224, 169, 46, 0.6); }
.site-footer__disclaimer { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid rgba(244, 236, 216, 0.25); font-size: var(--t-sm); color: var(--cream-soft); max-width: 46rem; }
.site-footer__small { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--cream-soft); }
@media (max-width: 44rem) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__nav ul { justify-content: flex-start; gap: 0.25rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .story-card:hover { transform: none; }
}
@media print {
  .site-header__subscribe, .filters, .post-media, .welcome__actions { display: none !important; }
  body { background: #fff; }
}

@media (max-width: 30rem) {
  .welcome__actions { gap: 0.5rem; }
  .welcome__actions .btn { min-height: 2.75rem; padding: 0.45rem 0.9rem 0.4rem; font-size: 0.875rem; letter-spacing: 0.04em; }
  .welcome__brand { letter-spacing: 0.14em; }
}


/* ==========================================================================
   ADDED 2026-11-17 by build_v2.py. Everything above this line is Perplexity's.
   ========================================================================== */

/* header logo: rewind mark + wordmark, no tagline line (the tagline is the home headline) */
.site-header { position: relative; z-index: 3; }
.site-logo { display: flex; align-items: center; gap: 1rem; width: auto; margin-left: 0; padding: 0.3rem 0 0; text-decoration: none; }
/* the emblem (seal) is the header mark; it hangs a little below the header like a badge */
.site-logo img.site-logo__mark { width: 6.25rem; height: 6.25rem; margin-bottom: -1.5rem; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)); }
.site-logo img.site-logo__word { width: auto; height: 1.05rem; }
@media (max-width: 44rem) {
  .site-logo { width: auto; margin-left: 0; gap: 0.6rem; }
  .site-logo { padding: 0.3rem 0; }
  .site-logo img.site-logo__mark { width: 3.75rem; height: 3.75rem; margin-bottom: 0; }
  .site-logo img.site-logo__word { height: 0.56rem; }
}

/* footer brand: the emblem, the name, and the tagline set as real text so it stays readable */
.site-footer__brand { display: flex; align-items: center; gap: 1.2rem; width: auto; margin-left: 0; text-decoration: none; }
.site-footer__brand img.site-footer__emblem { width: 7rem; height: 7rem; flex: none; }
.site-footer__name { display: block; }
.site-footer__brand img.site-footer__word { display: block; width: auto; height: 1.3rem; }
.site-footer__tagline { display: block; margin-top: 0.6rem; font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 44rem) {
  .site-footer__brand { gap: 0.9rem; }
  .site-footer__brand img.site-footer__emblem { width: 5.25rem; height: 5.25rem; }
  .site-footer__brand img.site-footer__word { height: 0.95rem; }
  .site-footer__tagline { font-size: 0.6rem; letter-spacing: 0.16em; }
}

/* host photo: a real picture of the creator, natural colour, wide enough to keep the riverboat */
.host-photo { margin: 0; width: clamp(19rem, 31vw, 27rem); }
.host-photo img {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% 40%;
  border: 2px solid var(--gold); border-radius: 6px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.host-photo__caption { margin-top: 0.55rem; font-size: var(--t-sm); font-style: italic; color: var(--cream-soft); text-align: right; }
@media (max-width: 52rem) {
  .host-photo { width: 100%; }
  .host-photo img { aspect-ratio: 16 / 9; object-position: 22% 35%; }
  .host-photo__caption { text-align: left; }
}

/* outline button on a light background (Perplexity only made the on-dark one) */
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }

.short-note { margin-top: 1.6rem; padding: 0.8rem 1rem; border-left: 4px solid var(--gold); background: rgba(22, 39, 63, 0.05); font-size: var(--t-sm); font-style: italic; }

/* plain pages: about, 404, park updates index */
.plain { max-width: var(--page); margin: 0 auto; padding: clamp(1.75rem, 4vw, 3.25rem) var(--gutter) clamp(2.5rem, 5vw, 4rem); }
.plain__kicker { font-family: var(--slab); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--maroon-text); }
.plain__title { margin-top: 0.4rem; font-size: var(--t-2xl); font-weight: 800; line-height: 1; letter-spacing: -0.015em; }
.plain__lede { margin-top: 1rem; font-size: var(--t-md); line-height: 1.5; max-width: 46rem; }
.plain__body { margin-top: 1.5rem; max-width: 44rem; }
.plain__body h2 { margin-top: 2.2rem; font-size: var(--t-lg); line-height: 1.15; }
.plain__body p { margin-top: 0.9rem; }
.plain__body ul { margin-top: 0.9rem; padding-left: 1.2rem; }
.plain__body li { margin-top: 0.4rem; }
.plain__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.plain .updates-strip__list { margin-top: 1.75rem; max-width: 46rem; }

/* credits page */
.credits-jump { margin-top: 1.25rem; font-size: var(--t-sm); max-width: 60rem; }
.credits-jump a { white-space: nowrap; }
.credits-story { margin-top: 2.5rem; border-top: 2px solid var(--rule); padding-top: 1rem; }
.credits-story__title { font-size: var(--t-lg); line-height: 1.15; }
.credits-story__meta { margin-top: 0.3rem; font-size: var(--t-sm); }
.credits-table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: var(--t-sm); }
.credits-table th { text-align: left; font-family: var(--slab); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--rule); }
.credits-table td { padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.credits-table td:last-child, .credits-table th:last-child { padding-right: 0; white-space: nowrap; }
.credits-other { margin-top: 1rem; padding-left: 1.2rem; font-size: var(--t-sm); }
.credits-other li { margin-top: 0.3rem; }
@media (max-width: 44rem) {
  .credits-table thead { position: absolute; left: -9999px; }
  .credits-table tr { display: block; padding: 0.6rem 0; border-bottom: 1px solid var(--rule-soft); }
  .credits-table td { display: block; padding: 0.1rem 0; border: 0; white-space: normal; }
  .credits-table td:first-child { font-weight: 700; }
}

.story-card.story-card--wide { grid-column: 1 / -1; min-height: 0; }
.story-card--wide .story-card__title { max-width: 40ch; }

.cast { display: grid; gap: 1.25rem; margin: 1.75rem 0 0.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); max-width: 62rem; }
.cast__card { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.1rem; align-items: start; padding: 1.25rem; background: var(--card); border: 1px solid var(--rule-soft); border-top: 3px solid var(--ink); border-radius: 2px 2px 6px 6px; }
.cast__art img { display: block; width: 100%; height: auto; border-radius: 50%; }
.cast__art--none { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold); }
.cast__art--none .icon-rewind { width: 42%; fill: currentColor; }
.cast__role { margin: 0; font-family: var(--slab); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--maroon); }
.cast__text h2 { margin: 0.2rem 0 0.6rem; }
.cast__text p { margin: 0 0 0.7rem; }
.cast__line { font-style: italic; color: var(--ink-soft); }
@media (max-width: 30rem) { .cast__card { grid-template-columns: 1fr; } .cast__art { width: 7rem; } }
