/* Ozark Ethics — "Our Founder" exhibit page.
   Loads after styles.css and shares its fonts, palette, header, and footer.
   Motion only runs when founder.js adds .fx, so the page stays fully
   readable with JavaScript off or reduced motion on. */

.founder-page {
  --exhibit-black: #121212;
  --panel: #171c19;
  --rail: 50%;
  --node: 1.55rem;
  --origin: 3.4rem;
  --end-h: 13rem;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Shared small-caps label voice */
.hall-kicker,
.hall-role,
.placard-list dt,
.museum-label,
.founder-page .plate figcaption,
.milestone-year,
.story .topic,
.end-kicker,
.year-indicator,
.enter-text {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
}

/* ═════════ HALL I · THE FOUNDER TODAY ═════════ */
.founder-page .hall {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.25rem 1.75rem 1.35rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 28% 48%, rgba(196, 165, 116, 0.14), transparent 70%),
    var(--void);
}

.founder-page .hall::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 8rem 2rem rgba(0, 0, 0, 0.5);
}

.founder-page .hall-frame {
  inset: 1.15rem 1.15rem 0.85rem;
}

.founder-page .hall-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 2.5rem 4.5rem;
  align-items: center;
  width: 100%;
  max-width: 66rem;
  margin: 0 auto;
}

/* Portrait in a gallery frame */
.portrait { margin: 0; }

.portrait-frame {
  padding: 0.7rem;
  background: linear-gradient(145deg, #d9bd8a, #a88552 45%, #d2b27c 70%, #8d6b3b);
  box-shadow:
    0 1.6rem 3rem -1rem rgba(0, 0, 0, 0.65),
    0 0.3rem 0.6rem rgba(0, 0, 0, 0.35);
}

.portrait-mat {
  padding: 1.35rem;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(130, 96, 48, 0.55), inset 0 0.25rem 0.8rem rgba(60, 40, 10, 0.18);
}

.portrait-mat > img,
.portrait-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  background: radial-gradient(circle at 50% 42%, #23395a 0%, #0b1c2d 72%);
  box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
}

.portrait-placeholder img {
  width: 66%;
  filter: drop-shadow(0 0.6rem 1.2rem rgba(0, 0, 0, 0.45));
}

.portrait-placeholder span {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.museum-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: max-content;
  max-width: 100%;
  margin: 1.15rem auto 0;
  padding: 0.6rem 1.1rem 0.55rem;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  text-align: center;
  letter-spacing: 0.16em;
}

.label-title {
  color: var(--cream);
  font-size: 0.82rem;
}

.label-sub {
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.hall-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  color: var(--gold);
}

.hall-text h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.hall-role {
  text-wrap: balance;
  margin: 0.9rem 0 0;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  letter-spacing: 0.2em;
  color: var(--cream-dim);
}

.hall-rule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.5rem 0 1.4rem;
  color: var(--gold);
}

.hall-rule .line {
  width: 4.5rem;
  border-top: 1px solid var(--gold-line);
}

.hall-rule .pine,
.timeline-origin .pine {
  width: 0.9rem;
  height: 1.25rem;
  flex: none;
  fill: currentColor;
}

.hall-lede {
  margin: 0 0 1.25rem;
  max-width: 34rem;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.6vw, 1.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: var(--cream);
}

.placard-list {
  margin: 0;
  max-width: 34rem;
  border-top: 1px solid rgba(196, 165, 116, 0.4);
}

.placard-list > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(196, 165, 116, 0.28);
}

.placard-list dt {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.placard-list dd {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--cream);
}

/* Scroll cue into the timeline */
.enter-cue {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin: 1.6rem auto 0.4rem;
  text-decoration: none;
  color: var(--cream);
}

.enter-text {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.enter-line {
  display: block;
  width: 2px;
  height: 3.2rem;
  background: linear-gradient(var(--gold), var(--gold)) top / 100% 100% no-repeat;
}

.enter-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--exhibit-black);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 0.25rem var(--void);
}

.enter-cue:hover .enter-text,
.enter-cue:focus-visible .enter-text {
  color: var(--gold);
}

/* ═════════ HALL II · THE TIMELINE ═════════ */
.founder-page .gallery {
  position: relative;
  overflow-x: clip;
  padding: 5.5rem 1.75rem 6rem;
  background:
    radial-gradient(ellipse 55% 30% at 50% 0%, rgba(196, 165, 116, 0.08), transparent 70%),
    var(--void);
  border-top: 1px solid rgba(196, 165, 116, 0.22);
}

/* Quote, then the section title, then the milestones (oldest first). */
.timeline-prologue {
  max-width: 42rem;
  margin: 0 auto 4.25rem;
  text-align: center;
  scroll-margin-top: 6.5rem;
}

.epigraph {
  margin: 0 auto 3.5rem;
  padding: 0 0.5rem;
  border: 0;
  max-width: 36rem;
}

.epigraph .quote-mark {
  display: block;
  margin: 0 0 0.55rem;
  padding-top: 0.12em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3.4rem, 7vw, 5.25rem);
  line-height: 0.85;
  color: var(--gold);
}

.epigraph p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3.1vw, 2.15rem);
  line-height: 1.4;
  color: var(--cream);
  text-wrap: pretty;
}

.epigraph footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.epigraph-rule {
  display: block;
  width: 3.25rem;
  border-top: 1px solid var(--gold-line);
}

.epigraph cite {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.timeline-prologue h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-wrap: balance;
}

.fx .epigraph,
.fx .timeline-prologue h2 {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.fx .epigraph.is-revealed,
.fx .timeline-prologue h2.is-revealed {
  opacity: 1;
  transform: none;
}

.fx .timeline-prologue h2.is-revealed {
  transition-delay: 0.16s;
}

.timeline-wrap {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding-top: var(--origin);
}

.timeline-origin {
  position: absolute;
  top: 0;
  left: var(--rail);
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--origin);
  height: var(--origin);
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--exhibit-black);
  color: var(--gold);
  box-shadow: 0 0 0 0.4rem var(--void), 0 0 0 0.48rem rgba(212, 180, 131, 0.45);
}

.timeline-line {
  position: absolute;
  top: calc(var(--origin) / 2);
  bottom: calc(var(--end-h) - 2.5rem);
  left: var(--rail);
  z-index: 1;
  width: 3px;
  transform: translateX(-50%);
  background: rgba(212, 180, 131, 0.22);
}

.timeline-fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(var(--progress, 1) * 100%);
  background: var(--gold);
}

.fx .timeline-fill::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 0.25rem rgba(212, 180, 131, 0.35), 0 0 1.2rem 0.3rem rgba(212, 180, 131, 0.55);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: milestone;
}

.milestone {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
  padding: 4.5rem 0 3.5rem;
  counter-increment: milestone;
}

.milestone:nth-child(odd of .milestone) .milestone-year { grid-column: 1; text-align: right; }
.milestone:nth-child(odd of .milestone) .exhibit       { grid-column: 3; }
.milestone:nth-child(even of .milestone) .milestone-year { grid-column: 3; text-align: left; }
.milestone:nth-child(even of .milestone) .exhibit        { grid-column: 1; }
.milestone .milestone-year,
.milestone .exhibit { grid-row: 1; }

.node {
  position: absolute;
  top: calc(4.5rem + 0.75rem);
  left: var(--rail);
  z-index: 2;
  width: var(--node);
  height: var(--node);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--exhibit-black);
  border: 3px solid var(--exhibit-black);
  box-shadow: 0 0 0 0.35rem var(--void);
}

.node::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold);
}

.milestone-year {
  align-self: start;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 0.2rem;
  color: var(--cream);
  letter-spacing: 0.26em;
}

.milestone-year::after {
  content: "";
  position: absolute;
  top: 0.75rem;
  width: 2.2rem;
  border-top: 1px solid var(--gold-line);
}

.milestone:nth-child(odd of .milestone) .milestone-year::after { right: -3.5rem; }
.milestone:nth-child(even of .milestone) .milestone-year::after { left: -3.5rem; }

.milestone-year::before {
  content: "No. " counter(milestone, decimal-leading-zero);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.year-big {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(4rem, 7.4vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--cream);
}

.year-big.is-tbd {
  font-size: clamp(2.3rem, 3.6vw, 3.1rem);
  font-style: italic;
  line-height: 1.05;
  color: var(--cream-dim);
}

.year-big.is-era {
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-style: italic;
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: var(--cream);
  text-transform: none;
}

.year-date {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  color: var(--cream-dim);
}

.exhibit {
  position: relative;
  isolation: isolate;
  max-width: 31rem;
}

.milestone:nth-child(odd of .milestone) .exhibit { justify-self: start; }
.milestone:nth-child(even of .milestone) .exhibit { justify-self: end; }

.exhibit::before {
  content: "";
  position: absolute;
  inset: -22% -24%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(196, 165, 116, 0.16), rgba(196, 165, 116, 0.05) 55%, transparent);
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.founder-page .plate {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0.6rem;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  box-shadow: 0 1.4rem 2.4rem -1.2rem rgba(0, 0, 0, 0.65);
  transition: box-shadow 0.8s ease;
}

.founder-page .plate img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.founder-page .plate-photo img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}

.founder-page .plate-photo .plate-mat { display: block; }


#blessings-of-liberty .exhibit-radio { max-width: 36rem; }
#blessings-of-liberty .radio-diptych {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0.7rem;
}
#blessings-of-liberty .radio-diptych .plate { margin: 0; flex: 1 1 12rem; }
#blessings-of-liberty .radio-diptych .plate:first-child {
  max-width: min(100%, calc(550px + 1.4rem));
}
#blessings-of-liberty .plate-mountain-talk {
  max-width: min(100%, calc(432px + 1.4rem));
}
#blessings-of-liberty .radio-diptych img { width: 100%; height: auto; }
#blessings-of-liberty .radio-diptych figcaption {
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: 0.12em;
}
#blessings-of-liberty .story { margin-top: 1rem; }

.exhibit-wave { max-width: 36rem; }

.wave-diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  align-items: start;
}

.exhibit-wave .wave-diptych .plate { margin: 0; }

.wave-ephemera {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem 1rem;
  margin-top: 1rem;
}

.campaign-badge {
  flex: 0 0 9.75rem;
  width: 9.75rem;
  margin: 0;
  padding: 0.4rem;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  box-shadow: 0 0.8rem 1.4rem -0.8rem rgba(0, 0, 0, 0.55);
}

.campaign-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.exhibit-wave .story {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.exhibit-wave .plate figcaption {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.12rem;
  letter-spacing: 0.12em;
}

.wave-stat {
  margin: 1.6rem 0 0;
  text-align: center;
  width: 100%;
}

.exhibit-wave .stat-num {
  font-size: clamp(3.2rem, 6.5vw, 5.25rem);
}

.exhibit-wave .story p + p {
  margin: 0.75rem 0 0;
}

/* Full-width 5,000+ rally beat: stat to the left of the rail, hero to the right. */
#tea-party-wave .wave-stat-row {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(0, 1.15fr);
  align-items: center;
  justify-items: center;
  gap: 1.25rem 3.25rem;
  width: 100%;
  max-width: 58rem;
  margin: 2.25rem auto 0;
  padding: 0 1rem 0.25rem;
}

#tea-party-wave .wave-stat-row .wave-stat {
  margin: 0;
  text-align: right;
  justify-self: end;
}

#tea-party-wave .plate-fairgrounds {
  margin: 0;
  justify-self: start;
  max-width: min(100%, calc(532px + 1.4rem));
}

#tea-party-wave .plate-fairgrounds img {
  width: 532px;
  max-width: 100%;
  height: auto;
}

/* Lift the 2010 exhibit above the rail. .exhibit uses isolation:isolate, which
   would otherwise trap plate z-index below .timeline-line. */
#tea-party-wave {
  z-index: 3;
}

#tea-party-wave .plate-ron,
#tea-party-wave .plate-fairgrounds,
#tea-party-wave .rally-strip .plate,
#tea-party-wave .wave-stat-row .story-continued {
  position: relative;
  z-index: 3;
}

#tea-party-wave .plate-ron {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 1.25rem 0 0;
  max-width: min(100%, calc(720px + 1.4rem));
}

#tea-party-wave .plate-ron img { width: 720px; max-width: 100%; height: auto; }

#tea-party-wave .rally-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 15.5rem));
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
}

#tea-party-wave .rally-strip .plate { margin: 0; }

#tea-party-wave .plate-ron figcaption,
#tea-party-wave .plate-fairgrounds figcaption {
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: 0.12em;
}

.fx #tea-party-wave .wave-stat-row .plate { transform: translateY(1.4rem); }
.fx #tea-party-wave.is-revealed .wave-stat-row .plate { transform: none; }
.fx #tea-party-wave .rally-strip .plate:nth-child(2) { transition-delay: 0.12s; }
.fx #tea-party-wave .rally-strip .plate:nth-child(3) { transition-delay: 0.24s; }

#tea-party-wave .wave-stat-row .story-continued {
  grid-column: 1 / -1;
  max-width: 34rem;
  width: calc(100% - 1rem);
  margin: 1rem auto 0;
  text-align: left;
  background: var(--panel);
  isolation: isolate;
  box-shadow: 0 0 0 4px var(--void), 0 1rem 1.8rem -1rem rgba(0, 0, 0, 0.6);
}


/* November 2010 result beat: large 75% callout + rack-card diptych. */
li.milestone.is-result {
  z-index: 3;
}
li.milestone.is-result:nth-child(odd of .milestone) > .exhibit,
li.milestone.is-result:nth-child(even of .milestone) > .exhibit {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 58rem;
  width: calc(100% - 1.5rem);
  justify-self: center;
  isolation: auto;
}
/* Date lockup: month/day sits tight on the year so they read as one unit. */
.date-lockup {
  display: flex;
  flex-direction: column;
  align-items: inherit;
  margin: 0;
  line-height: 0.82;
}
.year-month {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
#tea-party-wave-november .milestone-year,
#the-keynote .milestone-year,
#the-oath .milestone-year,
#nfip-defeated .milestone-year,
#garbage-tax .milestone-year {
  display: flex;
  flex-direction: column;
  letter-spacing: 0;
}
#tea-party-wave-november .date-lockup,
#the-keynote .date-lockup,
#the-oath .date-lockup,
#nfip-defeated .date-lockup,
#garbage-tax .date-lockup { align-items: flex-start; }
#tea-party-wave-november .year-big,
#the-keynote .year-big,
#the-oath .year-big,
#nfip-defeated .year-big,
#garbage-tax .year-big { line-height: 0.88; }

/* May 18 result: typographic title card, rail broken behind the beat. */
#caster-country > .milestone-year {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  letter-spacing: 0;
  padding: 0 1rem;
}
#caster-country .milestone-year::after { display: none; }
#caster-country .milestone-year::before {
  letter-spacing: 0.2em;
  margin-bottom: 0.45rem;
}
#caster-country .date-lockup { align-items: center; }
#caster-country .year-month {
  font-size: clamp(1.7rem, 3.8vw, 2.85rem);
  letter-spacing: 0.08em;
  margin: 0;
}
#caster-country .year-big {
  font-size: clamp(4.6rem, 11vw, 7.8rem);
  line-height: 0.84;
  letter-spacing: 0.03em;
}
#caster-country .result-title {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--cream);
}

/* Rail ends at the opening node and resumes at .node-resume, as in 2009. */
#caster-country::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  bottom: 0.15rem;
  left: var(--rail);
  z-index: 2;
  width: 0.85rem;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0,
    var(--void) 1.35rem,
    var(--void) calc(100% - 1.35rem),
    transparent 100%
  );
}
#caster-country .milestone-year,
#caster-country .exhibit,
#caster-country .node {
  position: relative;
  z-index: 3;
}
#caster-country > .node:not(.node-resume) {
  top: 0.9rem;
  z-index: 4;
  width: 2.15rem;
  height: 2.15rem;
  border: 3px solid var(--gold);
  background: var(--void);
  box-shadow: 0 0 0 0.4rem var(--void), 0 0 0 0.48rem rgba(212, 180, 131, 0.45);
}
#caster-country .node-resume {
  top: auto;
  bottom: 0;
  z-index: 4;
}
#caster-country .exhibit-result { margin-top: 1.65rem; }
#caster-country .result-stat-row {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 1.25rem 3.25rem;
  width: 100%;
}
#caster-country .result-stat {
  margin: 0;
  text-align: right;
  justify-self: end;
}
#caster-country .result-stat .stat-num {
  font-size: clamp(5.2rem, 12vw, 8rem);
}
#caster-country .result-stat-row .story {
  margin: 0;
  max-width: 32rem;
  justify-self: start;
}
#caster-country .rack-diptych {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 1.1rem 1.35rem;
  margin: 1.85rem auto 0;
}
#caster-country .rack-diptych .plate {
  margin: 0;
  flex: 1 1 14rem;
  max-width: min(100%, 20rem);
}
#caster-country .rack-diptych img {
  width: 100%;
  max-width: 720px;
  height: auto;
}
#caster-country .rack-diptych figcaption {
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: 0.12em;
}
.fx #caster-country .result-title,
.fx #caster-country .result-stat {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
}
.fx #caster-country.is-revealed .result-title,
.fx #caster-country.is-revealed .result-stat { opacity: 1; transform: none; }


.founder-page .plate figcaption {
  order: -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.1rem 0.3rem 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--cream-dim);
}

.plate-no { color: var(--gold); }

.story {
  position: relative;
  margin: -2.2rem 1.6rem 0;
  padding: 1.35rem 1.5rem 1.45rem;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  box-shadow: 0 1rem 1.8rem -1rem rgba(0, 0, 0, 0.6);
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  margin: 0 0 0.6rem;
}

.badge.sample {
  padding: 0.12rem 0.55rem 0.08rem;
  background: var(--cream);
  color: var(--void);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.story .topic {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.story h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--cream);
}

.story p:last-child {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--cream-dim);
}


/* Unnumbered museum wall-text. Does not increment No. or plates. */
.timeline-context {
  position: relative;
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 5.5rem 1.5rem 4.5rem;
}

.wall-text {
  position: relative;
  max-width: 28.5rem;
  text-align: center;
}

.wall-text::before,
.wall-text::after {
  content: "";
  display: block;
  width: 3.25rem;
  margin: 0 auto;
  border-top: 1px solid var(--gold-line);
}

.wall-text::before { margin-bottom: 2rem; }
.wall-text::after { margin-top: 2rem; }

.wall-text p {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.4;
  color: var(--cream);
  text-wrap: pretty;
}

.wall-text p:last-child { margin-bottom: 0; }

/* Featured 2009 chapter: full-bleed, huge type, hero plate. */
.milestone.is-chapter {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding: 4.75rem 0 4.5rem;
  margin-top: 1rem;
  scroll-margin-top: 5.5rem;
}

.milestone.is-chapter::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% 28%, rgba(196, 165, 116, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(196, 165, 116, 0.06), transparent 70%),
    #0a0c0b;
  border-top: 1px solid rgba(196, 165, 116, 0.4);
  border-bottom: 1px solid rgba(196, 165, 116, 0.4);
}

li.milestone.is-chapter,
li.milestone.is-chapter:nth-child(odd of .milestone),
li.milestone.is-chapter:nth-child(even of .milestone) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

li.milestone.is-chapter > .milestone-year,
li.milestone.is-chapter:nth-child(odd of .milestone) > .milestone-year,
li.milestone.is-chapter:nth-child(even of .milestone) > .milestone-year {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  text-align: center;
  width: 100%;
  max-width: none;
}

li.milestone.is-chapter > .exhibit,
li.milestone.is-chapter:nth-child(odd of .milestone) > .exhibit,
li.milestone.is-chapter:nth-child(even of .milestone) > .exhibit {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  text-align: center;
  width: 100%;
  max-width: none;
}


/* Break the gold rail through the typography, photo, and story cards.
   It stops at the opening node and resumes at .node-resume. */
.milestone.is-chapter::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  bottom: 0.15rem;
  left: var(--rail);
  z-index: 2;
  width: 0.85rem;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0,
    #0a0c0b 1.35rem,
    #0a0c0b calc(100% - 1.35rem),
    transparent 100%
  );
}

.milestone.is-chapter .milestone-year,
.milestone.is-chapter .exhibit,
.milestone.is-chapter .node {
  position: relative;
  z-index: 3;
}

/* The year block is already position-ish; keep the node above the mask. */
.milestone.is-chapter .node {
  z-index: 4;
}

.milestone.is-chapter .node-resume {
  top: auto;
  bottom: 0;
}

.milestone.is-chapter .milestone-year {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.25rem;
  letter-spacing: 0;
}

.milestone.is-chapter .milestone-year::after { display: none; }

.milestone.is-chapter .milestone-year::before {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  margin-bottom: 0.6rem;
  color: var(--gold);
}

.milestone.is-chapter .chapter-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.milestone.is-chapter .chapter-md {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.15rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.milestone.is-chapter .year-big {
  font-size: clamp(5.4rem, 14vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-transform: none;
}

.milestone.is-chapter .chapter-title {
  margin: 0.55rem 0 0.5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-transform: uppercase;
  text-wrap: balance;
}

.milestone.is-chapter .chapter-sub {
  margin: 0 0 1.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: none;
}

.milestone.is-chapter .chapter-md {
  text-transform: uppercase;
}

.milestone.is-chapter .node {
  top: 0;
  width: 2.15rem;
  height: 2.15rem;
  border: 3px solid var(--gold);
  background: var(--void);
  box-shadow: 0 0 0 0.4rem var(--void), 0 0 0 0.48rem rgba(212, 180, 131, 0.45);
}

/* Framed prints, shown near native size — no full-bleed upscaling. */
.milestone.is-chapter .plate {
  width: auto;
  max-width: calc(100% - 2rem);
  position: relative;
  left: auto;
  margin: 0 auto;
  padding: 0.7rem 0.7rem 0.85rem;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  box-shadow: 0 1.6rem 2.8rem -1.2rem rgba(0, 0, 0, 0.7);
}

.milestone.is-chapter .plate img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  max-height: none;
  object-fit: contain;
  background: #0a0a0a;
}

.milestone.is-chapter .plate-hero {
  max-width: min(100%, calc(528px + 1.4rem));
}

.milestone.is-chapter .plate-hero img {
  width: 528px;
  max-width: 100%;
}

.milestone.is-chapter .plate-crowd,
.milestone.is-chapter .plate-flags {
  max-width: min(100%, calc(528px + 1.4rem));
  margin-left: auto;
  margin-right: auto;
}
.chapter-stat .plate-crowd { justify-self: center; margin: 0; }
.milestone.is-chapter .plate-crowd img,
.milestone.is-chapter .plate-flags img {
  width: 528px;
  max-width: 100%;
  height: auto;
}

.plate-mat {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0a0a0a;
}

.plate-mat::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 4.5rem rgba(0, 0, 0, 0.5), inset 0 0 1.25rem rgba(0, 0, 0, 0.28);
  background-image: url("assets/founder/grain.png");
  background-size: 160px 160px;
  opacity: 0.22;
  mix-blend-mode: overlay;
}

.milestone.is-chapter .plate figcaption {
  position: static;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  margin-top: 0.55rem;
  padding: 0.15rem 0.15rem 0;
  background: none;
  color: var(--cream-dim);
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.chapter-stat {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 2rem 2.5rem;
  width: min(100%, 58rem);
  margin: 3.25rem auto 0;
  padding: 0 1.25rem;
}

.chapter-stat:has(.plate-crowd) {
  grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.15fr);
  justify-items: stretch;
  text-align: left;
}

.stat-callout {
  text-align: center;
}

.chapter-stat:has(.plate-crowd) .stat-callout { text-align: left; }

.stat-num {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(4.4rem, 10vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.stat-label {
  margin: 0.45rem 0 1rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
}

.stat-line {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.35;
  color: var(--cream-dim);
}

.milestone.is-chapter .plate-flags {
  margin-top: 2rem;
  max-width: min(100%, 36rem);
}

.milestone.is-chapter .story {
  margin: 2.4rem auto 0;
  max-width: 34rem;
  width: calc(100% - 2.4rem);
  position: relative;
  z-index: 3;
  text-align: left;
}

.milestone.is-chapter .story-continued {
  margin-top: 1.15rem;
}

.chapter-travel {
  width: min(100%, 68rem);
  margin: 2.35rem auto 0;
  padding: 0 1rem;
}

.travel-diptych {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 1.15rem 1.35rem;
}

.milestone.is-chapter .plate-travel,
.milestone.is-chapter .plate-capitol {
  margin: 0;
  flex: 1 1 18rem;
}

.milestone.is-chapter .plate-travel {
  max-width: min(100%, calc(480px + 1.4rem));
}

.milestone.is-chapter .plate-capitol {
  max-width: min(100%, calc(604px + 1.4rem));
}

.milestone.is-chapter .plate-travel img {
  width: 480px;
  max-width: 100%;
  height: auto;
}

.milestone.is-chapter .plate-capitol img {
  width: 604px;
  max-width: 100%;
  height: auto;
}

.chapter-travel .story-continued {
  margin-top: 1.5rem;
}

.milestone.is-chapter .plate-yaf {
  margin: 2rem auto 0;
  max-width: min(100%, calc(720px + 1.4rem));
}

.milestone.is-chapter .plate-yaf img {
  width: 720px;
  max-width: 100%;
  height: auto;
}

.milestone.is-chapter .plate-yaf figcaption {
  display: block;
  margin-top: 0.55rem;
  padding: 0.15rem 0.15rem 0;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.milestone.is-chapter .plate-capitol figcaption {
  display: block;
  margin-top: 0.55rem;
  padding: 0.15rem 0.15rem 0;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ── motion for context + chapter (only under .fx) ── */
.fx .wall-text {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

.fx .timeline-context.is-revealed .wall-text {
  opacity: 1;
  transform: none;
}

.fx .milestone.is-chapter .milestone-year,
.fx .milestone.is-chapter .chapter-title,
.fx .milestone.is-chapter .plate,
.fx .milestone.is-chapter .story {
  opacity: 0;
}

.fx .milestone.is-chapter .chapter-md {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
}

.fx .milestone.is-chapter .year-big {
  transform: translateY(2.4rem) scale(0.9);
  transition: opacity 1.25s var(--ease-out) 0.08s, transform 1.35s var(--ease-out) 0.08s, color 0.6s ease;
}

.fx .milestone.is-chapter .chapter-title {
  transform: translateY(1.6rem);
  transition: opacity 1.15s var(--ease-out) 0.12s, transform 1.2s var(--ease-out) 0.12s;
}

.fx .milestone.is-chapter .chapter-sub {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 1.1s var(--ease-out) 0.18s, transform 1.15s var(--ease-out) 0.18s;
}

.fx .milestone.is-chapter .plate,
.fx .milestone.is-chapter .stat-callout {
  transform: translateY(1.4rem);
  transition:
    opacity 1.15s var(--ease-out) 0.18s,
    transform 1.2s var(--ease-out) 0.18s,
    box-shadow 0.8s ease;
}

.fx .milestone.is-chapter .stat-callout { transition-delay: 0.28s; }
.fx .milestone.is-chapter .plate-crowd { transition-delay: 0.34s; }
.fx .milestone.is-chapter .plate-flags { transition-delay: 0.4s; }
.fx .milestone.is-chapter .plate-travel { transition-delay: 0.36s; }
.fx .milestone.is-chapter .plate-capitol { transition-delay: 0.42s; }
.fx .milestone.is-chapter .chapter-travel .story-continued { transition-delay: 0.48s; }
.fx .milestone.is-chapter .chapter-stat .stat-callout { opacity: 0; }

.fx .milestone.is-chapter .story {
  transform: translateY(1.8rem);
  transition: opacity 1s var(--ease-out) 0.32s, transform 1s var(--ease-out) 0.32s, box-shadow 0.8s ease;
}

.fx .milestone.is-chapter.is-revealed .milestone-year,
.fx .milestone.is-chapter.is-revealed .chapter-md,
.fx .milestone.is-chapter.is-revealed .year-big,
.fx .milestone.is-chapter.is-revealed .chapter-title,
.fx .milestone.is-chapter.is-revealed .chapter-sub,
.fx .milestone.is-chapter.is-revealed .plate,
.fx .milestone.is-chapter.is-revealed .stat-callout,
.fx .milestone.is-chapter.is-revealed .story {
  opacity: 1;
  transform: none;
  filter: none;
}

.fx .milestone.is-chapter:nth-child(odd of .milestone):not(.is-revealed) .plate,
.fx .milestone.is-chapter:nth-child(even of .milestone):not(.is-revealed) .plate {
  transform: translateY(1.4rem);
}

.timeline-end {
  position: relative;
  height: var(--end-h);
  padding-top: 2.5rem;
  text-align: center;
}

.node-end {
  top: 2.5rem;
  transform: translate(-50%, -50%);
  width: 2.2rem;
  height: 2.2rem;
  background: var(--void);
  border: 3px solid var(--gold);
}

.node-end::after {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--exhibit-black);
}

.end-kicker {
  margin: 2.25rem 0 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--gold);
}

.end-text {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--cream);
}

.end-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.2rem;
}

.end-link:hover,
.end-link:focus-visible {
  color: var(--gold);
}

.year-indicator { display: none; }

/* ═════════ MOTION ═════════ */
.fx .reveal-hall {
  animation: rise 1s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 120ms + 200ms);
}

.fx .portrait {
  animation: glow-in 1.4s var(--ease-out) both;
}

.fx .hall-rule .line {
  animation: rule-draw 1.1s var(--ease-out) both;
  animation-delay: 650ms;
  transform-origin: left center;
}

.fx .enter-line {
  animation: cue-draw 2.4s ease-in-out infinite;
  background: linear-gradient(var(--gold), var(--gold)) top / 100% 0% no-repeat;
}

@keyframes rule-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes cue-draw {
  0%   { background-size: 100% 0%; }
  55%  { background-size: 100% 100%; }
  100% { background-size: 100% 100%; opacity: 0.25; }
}

.fx .node:not(.node-end) {
  background: var(--void);
  border-color: var(--gold-line);
  transition: background-color 0.45s ease, border-color 0.45s ease, transform 0.45s var(--ease-out);
}

.fx .node:not(.node-end)::after {
  transform: scale(0);
  transition: transform 0.45s var(--ease-out) 0.15s;
}

.fx .milestone.is-reached .node {
  background: var(--exhibit-black);
  border-color: var(--exhibit-black);
}

.fx .milestone.is-reached .node::after {
  transform: scale(1);
}

.fx .milestone.is-active .node {
  transform: translate(-50%, -50%) scale(1.22);
}

.fx .node:not(.node-end)::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
}

.fx .milestone.is-reached .node::before {
  animation: node-ripple 1.1s var(--ease-out) 1;
}

@keyframes node-ripple {
  from { opacity: 0.7; transform: scale(1); }
  to   { opacity: 0; transform: scale(2.8); }
}

.fx .milestone-year,
.fx .plate,
.fx .story {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease-out),
    transform 1s var(--ease-out),
    box-shadow 0.8s ease;
}

.fx .milestone-year { transform: translateY(1.2rem); }
.fx .milestone:nth-child(odd of .milestone):not(.is-revealed) .plate  { transform: translateX(3.5rem) scale(0.98); }
.fx .milestone:nth-child(even of .milestone):not(.is-revealed) .plate { transform: translateX(-3.5rem) scale(0.98); }
.fx .story { transform: translateY(2rem); transition-delay: 0.18s; }

.fx .milestone.is-revealed .milestone-year,
.fx .milestone.is-revealed .plate,
.fx .milestone.is-revealed .story {
  opacity: 1;
  transform: none;
}

.fx .milestone.is-active .exhibit::before { opacity: 1; }

.fx .milestone.is-active .plate {
  box-shadow: 0 2.2rem 3.4rem -1.4rem rgba(0, 0, 0, 0.8);
}

.fx .milestone .year-big { transition: color 0.6s ease; }

.fx .milestone:not(.is-active) .year-big:not(.is-tbd) {
  color: var(--cream-dim);
}

.fx .timeline-end .end-kicker,
.fx .timeline-end .end-text,
.fx .timeline-end .end-link {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.fx .timeline-end.is-revealed .end-kicker,
.fx .timeline-end.is-revealed .end-text,
.fx .timeline-end.is-revealed .end-link {
  opacity: 1;
  transform: none;
}

.fx .timeline-end.is-revealed .end-text { transition-delay: 0.12s; }
.fx .timeline-end.is-revealed .end-link { transition-delay: 0.24s; }

.fx .year-indicator {
  position: fixed;
  z-index: 15;
  left: max(1.25rem, calc((100vw - 72rem) / 2 - 8.5rem));
  top: 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: 6.75rem;
  padding: 0.85rem 0.9rem 0.8rem;
  background: rgba(23, 28, 25, 0.94);
  border: 1px solid var(--gold-line);
  letter-spacing: 0.2em;
  color: var(--cream);
  opacity: 0;
  transform: translate(-0.75rem, -50%);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
  pointer-events: none;
}

.fx .year-indicator.is-visible {
  opacity: 1;
  transform: translate(0, -50%);
}

.yi-label { font-size: 0.62rem; color: var(--gold); }
.yi-year {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--cream);
}
.yi-year.is-tbd { font-size: 1.05rem; font-style: italic; color: var(--cream-dim); }
.yi-year.is-long { font-size: 1.12rem; letter-spacing: 0.01em; }
.yi-count { white-space: nowrap; font-size: 0.7rem; color: var(--cream-dim); }
.yi-bar {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.35rem;
  background: rgba(212, 180, 131, 0.22);
}
.yi-bar-fill {
  display: block;
  height: 100%;
  width: calc(var(--progress, 0) * 100%);
  background: var(--gold);
}

@media (max-width: 1279px) and (min-width: 901px) {
  .fx .year-indicator { display: none; }
}

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1100px) {
  .milestone { grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .founder-page {
    --rail: 1.35rem;
    --node: 1.3rem;
    --origin: 2.7rem;
    --end-h: 12rem;
  }

  .founder-page .hall {
    min-height: 0;
    padding: 6.25rem 1.25rem 2rem;
  }

  .founder-page .hall-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
    text-align: center;
  }

  .portrait {
    width: min(100%, 17rem);
    margin: 0 auto;
    order: 2;
  }

  .hall-text { order: 1; }
  .hall-rule { justify-content: center; }
  .hall-lede { margin-left: auto; margin-right: auto; }
  .placard-list { margin: 0 auto; text-align: left; }
  .enter-cue { margin-top: 2.5rem; }

  .founder-page .gallery { padding: 4rem 1.1rem 4.5rem; }
  .timeline-prologue { margin-bottom: 3.25rem; padding: 0 0.25rem; scroll-margin-top: 8.75rem; }
  .epigraph { margin-bottom: 2.75rem; }
  .epigraph p { font-size: clamp(1.28rem, 6.2vw, 1.55rem); }

  .milestone,
  .milestone:nth-child(odd of .milestone),
  .milestone:nth-child(even of .milestone) {
    display: block;
    padding: 2.75rem 0 2rem calc(var(--rail) + 1.9rem);
  }

  .milestone-year,
  .milestone:nth-child(odd of .milestone) .milestone-year,
  .milestone:nth-child(even of .milestone) .milestone-year {
    position: static;
    text-align: left;
    padding-top: 0;
    margin-bottom: 1rem;
  }

  .milestone-year::before { margin-bottom: 0.15rem; }
  .milestone-year::after { display: none; }
  .node { top: calc(2.75rem + 0.6rem); }

  .year-big { font-size: clamp(3rem, 14vw, 4rem); }
  .year-big.is-tbd { font-size: 2.1rem; }
  .year-big.is-era { font-size: clamp(2.1rem, 10vw, 2.6rem); }

  .wave-diptych { grid-template-columns: 1fr; }
  #blessings-of-liberty .radio-diptych { flex-direction: column; align-items: stretch; }
  #blessings-of-liberty .radio-diptych .plate { max-width: min(100%, calc(550px + 1.4rem)); }
  #tea-party-wave .wave-stat-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
    padding: 0 0 0.25rem calc(var(--rail) + 1.9rem);
  }
  #tea-party-wave .wave-stat-row .wave-stat {
    text-align: center;
    justify-self: center;
  }
  #tea-party-wave .plate-fairgrounds { justify-self: center; }
  #tea-party-wave .rally-strip { grid-template-columns: 1fr; }

  .campaign-badge { flex: 0 0 8.5rem; width: 8.5rem; }
  .exhibit-wave .story { margin: 0; }


  .exhibit,
  .milestone:nth-child(odd of .milestone) .exhibit,
  .milestone:nth-child(even of .milestone) .exhibit { max-width: 30rem; }

  .story { margin: -1.6rem 0.9rem 0; padding: 1.1rem 1.15rem 1.2rem; }

  .fx .milestone:nth-child(odd of .milestone):not(.is-revealed) .plate,
  .fx .milestone:nth-child(even of .milestone):not(.is-revealed) .plate {
    transform: translateX(2rem) scale(0.98);
  }


  .timeline-context {
    justify-content: flex-start;
    padding: 3.25rem 0 2.75rem calc(var(--rail) + 1.9rem);
  }

  .wall-text { text-align: left; }
  .wall-text::before,
  .wall-text::after { margin-left: 0; }
  .wall-text p { font-size: clamp(1.18rem, 5.4vw, 1.35rem); }

  li.milestone.is-chapter,
  li.milestone.is-chapter:nth-child(odd of .milestone),
  li.milestone.is-chapter:nth-child(even of .milestone) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 3.4rem 0 3.1rem;
    text-align: center;
  }

  li.milestone.is-chapter > .milestone-year,
  li.milestone.is-chapter:nth-child(odd of .milestone) > .milestone-year,
  li.milestone.is-chapter:nth-child(even of .milestone) > .milestone-year {
    text-align: center;
    padding: 0 1.15rem;
    margin-bottom: 0;
  }

  .milestone.is-chapter .chapter-md { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .milestone.is-chapter .year-big { font-size: clamp(4.4rem, 24vw, 6rem); }
  .milestone.is-chapter .chapter-title {
    margin: 0.4rem 0 0.4rem;
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

  .milestone.is-chapter .chapter-sub {
    margin: 0 0 1.35rem;
    font-size: clamp(1.05rem, 4.6vw, 1.3rem);
  }

  .milestone.is-chapter .plate figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    letter-spacing: 0.12em;
  }

  .milestone.is-chapter .node { top: 0; }

  .milestone.is-chapter .plate {
    max-width: calc(100% - 1.4rem);
    margin-left: auto;
    margin-right: auto;
  }

  .milestone.is-chapter .plate img { max-height: none; width: auto; max-width: 100%; }

  .chapter-stat,
  .chapter-stat:has(.plate-crowd) {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    margin-top: 2.25rem;
    padding: 0 0.5rem;
  }

  .chapter-stat:has(.plate-crowd) .stat-callout { text-align: center; }

  #caster-country .result-title { font-size: clamp(1.8rem, 8vw, 2.4rem); margin-top: 0.25rem; }
  #caster-country .year-month { font-size: clamp(1.45rem, 7vw, 2rem); }
  #caster-country .year-big { font-size: clamp(3.6rem, 18vw, 5.4rem); }
  #caster-country > .node:not(.node-resume) { top: 0.4rem; }
  #caster-country .result-stat-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.1rem;
  }
  #caster-country .result-stat { text-align: center; justify-self: center; }
  #caster-country .result-stat .stat-num { font-size: clamp(4.4rem, 22vw, 6rem); }
  #caster-country .result-stat-row .story { justify-self: stretch; }
  #caster-country .rack-diptych { gap: 1rem; }


  .stat-num { font-size: clamp(3.6rem, 18vw, 5rem); }

  .milestone.is-chapter .story,
  .milestone.is-chapter .exhibit {
    margin-left: auto;
    margin-right: auto;
    max-width: 30rem;
    width: calc(100% - 1.4rem);
  }

  .milestone.is-chapter .story { margin-top: 1.75rem; text-align: left; }

  .chapter-travel { margin-top: 1.75rem; padding: 0 0.2rem; }
  .travel-diptych { gap: 1rem; }

  .milestone.is-chapter .plate figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    letter-spacing: 0.12em;
  }

  .timeline-end {
    text-align: left;
    padding-left: calc(var(--rail) + 1.9rem);
  }

  .end-kicker { margin-top: 1.6rem; }

  .fx .year-indicator {
    left: 50%;
    top: auto;
    bottom: 1rem;
    width: auto;
    flex-direction: row;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.4rem 1rem 0.35rem;
    border-radius: 999px;
    transform: translate(-50%, 1rem);
  }

  .fx .year-indicator.is-visible { transform: translate(-50%, 0); }
  .yi-year { font-size: 1.15rem; }
  .yi-year.is-tbd { font-size: 0.95rem; }
  .yi-bar { display: none; }
}

@media (max-width: 680px) {
  .placard-list > div { grid-template-columns: 6.2rem 1fr; gap: 0.75rem; }
  .placard-list dd { font-size: 1.02rem; }
  .hall-text h1 { font-size: clamp(2.8rem, 13vw, 3.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  .exhibit::before { display: none; }
  .wall-text,
  .milestone.is-chapter .milestone-year,
  .milestone.is-chapter .chapter-title,
  .milestone.is-chapter .plate,
  .milestone.is-chapter .story,
  .milestone.is-chapter .year-big,
  .milestone.is-chapter .chapter-md,
  .milestone.is-chapter .chapter-date,
  .milestone.is-chapter .chapter-sub,
  .milestone.is-chapter .stat-callout {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Zig-zag rail (drawn by founder.js). The CSS straight rail remains for no-JS. */
.timeline-rail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.timeline-rail .rail-track,
.timeline-rail .rail-draw {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.timeline-rail .rail-track {
  stroke: rgba(212, 180, 131, 0.22);
  stroke-width: 3;
}
.timeline-rail .rail-draw {
  stroke: var(--gold);
  stroke-width: 3;
}
.timeline-rail .rail-head {
  fill: var(--cream);
  stroke: none;
  filter: drop-shadow(0 0 0.3rem rgba(212, 180, 131, 0.55));
}
.has-zigzag .timeline-line { visibility: hidden; }
.has-zigzag .milestone.is-chapter::after,
.has-zigzag #caster-country::after,
.has-zigzag #garbage-tax::after {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* July 2010 keynote: Webb plaque, Tolbert clipping, video screen. */
#the-keynote .exhibit-keynote { max-width: 34rem; }
#the-keynote .story-continued { margin: 1.1rem 0 0; }
#the-keynote .travel-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.9rem 1rem;
  margin: 1.15rem 0 0;
}
#the-keynote .travel-bridge .plate { margin: 0; flex: 1 1 11rem; }
#the-keynote .plate-peggy { max-width: min(100%, calc(334px + 1.4rem)); }
#the-keynote .plate-south-ark { max-width: min(100%, calc(480px + 1.4rem)); }
#the-keynote .plate-eldorado { max-width: min(100%, calc(438px + 1.4rem)); }
#the-keynote .plate-peggy img { width: 334px; max-width: 100%; height: auto; }
#the-keynote .plate-south-ark img { width: 480px; max-width: 100%; height: auto; }
#the-keynote .plate-eldorado img { width: 438px; max-width: 100%; height: auto; }
#the-keynote .travel-bridge figcaption {
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.72rem;
  line-height: 1.45;
}
.quote-plaque {
  margin: 1.4rem 0 0;
  padding: 1.35rem 1.45rem 1.4rem;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  box-shadow: 0 1rem 1.8rem -1rem rgba(0, 0, 0, 0.6);
}
.quote-plaque .quote-mark {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  line-height: 0.85;
  color: var(--gold);
}
.quote-plaque blockquote { margin: 0; }
.quote-plaque p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.4;
  color: var(--cream);
  text-wrap: pretty;
}
.quote-plaque footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.quote-plaque cite {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.quote-clipping {
  margin: 0.85rem 0 0;
  padding: 0.95rem 1.1rem 1rem 1.15rem;
  background: rgba(23, 28, 25, 0.72);
  border: 1px solid rgba(212, 180, 131, 0.28);
  border-left: 2px solid var(--gold-line);
  max-width: 30rem;
}
.quote-clipping blockquote { margin: 0; }
.quote-clipping p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.45;
  color: var(--cream-dim);
}
.quote-clipping footer { margin-top: 0.7rem; }
.quote-clipping cite {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.exhibit-screen {
  margin: 1.5rem 0 0;
  padding: 0.6rem;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  box-shadow: 0 1.4rem 2.4rem -1.2rem rgba(0, 0, 0, 0.65);
}
.exhibit-screen .video-facade,
.exhibit-screen .video-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.exhibit-screen .video-facade img,
.exhibit-screen .video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.exhibit-screen .play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.1rem;
  height: 4.1rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(11, 14, 12, 0.72);
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease;
}
.exhibit-screen .play-btn::after {
  content: "";
  position: absolute;
  left: 53%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.95rem;
  border-color: transparent transparent transparent var(--gold);
}
.exhibit-screen .video-facade:hover .play-btn,
.exhibit-screen .video-facade:focus-visible .play-btn {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(11, 14, 12, 0.88);
}
.exhibit-screen figcaption {
  margin-top: 0.55rem;
}
.video-fallback {
  margin: 0.65rem 0.2rem 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.video-fallback a { color: var(--gold); }

.fx .quote-plaque,
.fx .quote-clipping,
.fx .exhibit-screen {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.9s var(--ease-out) 0.16s, transform 1s var(--ease-out) 0.16s;
}
.fx .milestone.is-revealed .quote-plaque,
.fx .milestone.is-revealed .quote-clipping,
.fx .milestone.is-revealed .exhibit-screen {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  #the-keynote .exhibit-keynote { max-width: 30rem; }
  #the-keynote .travel-bridge { flex-direction: column; align-items: flex-start; }
  .quote-plaque { padding: 1.15rem 1.1rem 1.2rem; }
  .exhibit-screen { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .quote-plaque, .quote-clipping, .exhibit-screen {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}



/* Desktop exhibits fill their column so the rail can wind around them. */
@media (min-width: 901px) {
  .milestone:not(.is-chapter):not(.is-result) > .exhibit {
    max-width: none;
    width: 100%;
  }
  #the-keynote .exhibit-keynote { max-width: none; }
}

/* November 2010: Arkansas wave map (symbolic all-red fill; Baxter in gold). */
#tea-party-wave-november .plate-arkansas-wave {
  max-width: min(100%, 36rem);
  margin: 0;
}
#tea-party-wave-november .plate-arkansas-wave .plate-mat { display: block; }
.ark-map {
  display: block;
  width: 100%;
  height: auto;
  background: #0a0c0b;
}
.ark-map .county {
  fill: #7a1c28;
  stroke: #14090b;
  stroke-width: 0.7;
  stroke-linejoin: round;
}
.ark-map .county-baxter {
  fill: #8e2230;
  stroke: var(--gold);
  stroke-width: 2.2;
  paint-order: stroke fill;
}
.ark-map .ark-label text {
  fill: var(--gold);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ark-map .ark-label line {
  stroke: var(--gold);
  stroke-width: 1;
}
/* JS + motion only: flood from muted blue to crimson as the beat arrives.
   No-JS and reduced-motion keep the static red default (no .fx class). */
.fx #tea-party-wave-november:not(.is-revealed) .ark-map .county { fill: #243248; }
.fx #tea-party-wave-november:not(.is-revealed) .ark-map .county-baxter { fill: #2c3d55; }
.fx #tea-party-wave-november.is-revealed .ark-map .county {
  fill: #7a1c28;
  transition: fill 0.75s ease;
  transition-delay: var(--delay, 0s);
}
.fx #tea-party-wave-november.is-revealed .ark-map .county-baxter { fill: #8e2230; }

/* January 2011: The Oath */
#the-oath .plate-oath { max-width: min(100%, calc(720px + 1.4rem)); }
#the-oath .plate-oath img { width: 720px; max-width: 100%; height: auto; }
.story .fn-ref {
  font-family: var(--sans);
  font-size: 0.75em;
  font-weight: 500;
  color: var(--gold);
  margin-left: 0.08em;
  letter-spacing: 0;
  line-height: 0;
}
.story .footnote {
  margin: 0.9rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(196, 165, 116, 0.28);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--cream-dim);
}

/* A Time to Serve — quieter than the 2009 showstopper, still a full-width beat. */
#a-time-to-serve.milestone.is-chapter {
  padding-top: 3.2rem;
  padding-bottom: 2.4rem;
}
#a-time-to-serve .chapter-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
#a-time-to-serve .chapter-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
}
#a-time-to-serve .service-lede {
  max-width: 36rem;
  margin: 0.4rem auto 0;
  width: calc(100% - 2rem);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: var(--cream);
  text-align: left;
  position: relative;
  z-index: 3;
}
#a-time-to-serve .service-lede p { margin: 0; }

/* NFIP 2012 vote-flip graphic */
#nfip-defeated .exhibit-nfip { display: flex; flex-direction: column; gap: 1.1rem; }
.vote-flip {
  margin: 0;
  padding: 0.85rem 0.9rem 0.7rem;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  max-width: 32rem;
}
.vote-flip-svg { display: block; width: 100%; height: auto; }
.vote-flip-svg .vote-kicker {
  fill: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.vote-flip-svg .vote-score {
  fill: var(--cream);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
}
.vote-flip-svg .seat-aye {
  fill: #2a3033;
  stroke: rgba(212, 180, 131, 0.45);
  stroke-width: 1.2;
}
.vote-flip-svg .seat-nay {
  fill: #7a1c28;
  stroke: rgba(11, 14, 12, 0.7);
  stroke-width: 1;
}
.vote-flip-svg .seat-richard {
  fill: var(--gold);
  stroke: #ead9b8;
  stroke-width: 1.6;
}
.vote-flip-svg .seat-name {
  fill: var(--gold);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.vote-flip figcaption {
  margin-top: 0.65rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--cream-dim);
}
.vote-flip figcaption .plate-no {
  display: block;
  margin-bottom: 0.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.64rem;
}

@media (max-width: 900px) {
  #the-oath .plate-oath { max-width: 100%; }
  .vote-flip { max-width: 100%; }
  #a-time-to-serve .service-lede { width: calc(100% - 1.4rem); }
}


/* October 9, 2012: Vote Against the Garbage Tax */
#garbage-tax .exhibit-garbage-tax { display: flex; flex-direction: column; gap: 1.1rem; }
#garbage-tax .tax-stat-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.1rem 1.4rem;
}
#garbage-tax .tax-stat {
  flex: 0 0 auto;
  text-align: left;
  min-width: 7rem;
  padding-top: 0.35rem;
}
#garbage-tax .tax-stat .stat-num {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 0.85;
  color: var(--gold);
  margin: 0;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
#garbage-tax .tax-stat .stat-label {
  margin: 0.35rem 0 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
#garbage-tax .tax-stat-row .story { flex: 1 1 18rem; margin: 0; }
#garbage-tax .story-pending {
  margin: 0.85rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream-dim);
}
#garbage-tax .tax-photos {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.9rem 1rem;
}
#garbage-tax .tax-photos .plate { margin: 0; flex: 1 1 14rem; }
#garbage-tax .plate-tax-booth { max-width: min(100%, calc(1195px + 1.4rem)); }
#garbage-tax .plate-tax-sign { max-width: min(100%, calc(960px + 1.4rem)); }
#garbage-tax .plate-tax-booth img { width: 1195px; max-width: 100%; height: auto; }
#garbage-tax .plate-tax-sign img { width: 960px; max-width: 100%; height: auto; }
#garbage-tax .tax-photos figcaption {
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.72rem;
  line-height: 1.45;
}
@media (max-width: 900px) {
  #garbage-tax .tax-stat-row { flex-direction: column; }
  #garbage-tax .tax-photos { flex-direction: column; align-items: flex-start; }
}


/* A Time to Serve — lead photograph at the dais. */
#a-time-to-serve .exhibit-service { max-width: 58rem; margin: 0 auto; }
#a-time-to-serve .plate-quorum {
  max-width: min(100%, calc(960px + 1.4rem));
  margin: 0 auto 1.25rem;
}
#a-time-to-serve .plate-quorum img { width: 960px; max-width: 100%; height: auto; }
#a-time-to-serve .service-lede { margin-top: 0.2rem; }

/* Garbage Tax win — showstopper 80% monument, 2009-level drama. */
#garbage-tax.milestone.is-result { z-index: 3; }
#garbage-tax > .milestone-year {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  letter-spacing: 0;
  padding: 0 1rem;
}
#garbage-tax .milestone-year::after { display: none; }
#garbage-tax .date-lockup { align-items: center; }
#garbage-tax .year-month {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  letter-spacing: 0.08em;
  margin: 0;
}
#garbage-tax .year-big {
  font-size: clamp(4.2rem, 10vw, 7.2rem);
  line-height: 0.84;
  letter-spacing: 0.03em;
}
#garbage-tax::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  bottom: 0.15rem;
  left: var(--rail);
  z-index: 2;
  width: 0.85rem;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0,
    var(--void) 1.35rem,
    var(--void) calc(100% - 1.35rem),
    transparent 100%
  );
}
#garbage-tax .milestone-year,
#garbage-tax .exhibit,
#garbage-tax .node { position: relative; z-index: 3; }
#garbage-tax > .node:not(.node-resume) { z-index: 4; }
#garbage-tax .exhibit-garbage-tax {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
#garbage-tax .tax-win {
  text-align: center;
  margin: 0.25rem auto 0;
  width: 100%;
}
#garbage-tax .tax-win .stat-num {
  font-size: clamp(6.4rem, 18vw, 11.5rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: 0.01em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin: 0;
  white-space: nowrap;
}
#garbage-tax .tax-win .stat-label {
  margin: 0.55rem 0 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(0.88rem, 1.7vw, 1.15rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
}
#garbage-tax .tax-win .stat-line {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  color: var(--gold);
}
#garbage-tax .tax-win .stat-source {
  margin: 0.85rem 0 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
}
#garbage-tax .exhibit-garbage-tax > .story {
  margin: 0;
  max-width: 36rem;
  width: 100%;
  text-align: left;
}
#garbage-tax .tax-photos { width: 100%; }
.fx #garbage-tax .tax-win {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
}
.fx #garbage-tax.is-revealed .tax-win {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  #garbage-tax .tax-win .stat-num { font-size: clamp(5.2rem, 26vw, 8rem); }
  #a-time-to-serve .plate-quorum { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #garbage-tax .tax-win {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Along the Way — museum portrait wall; years unconfirmed. */
#along-the-way > .milestone-year {
  padding-right: 2rem;
}
#along-the-way .gallery-title {
  margin: 0.75rem 0 0;
  padding: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--cream);
}
#along-the-way .exhibit-gallery {
  max-width: none;
}
#along-the-way .portrait-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.2rem;
}
#along-the-way .portrait-wall .plate {
  margin: 0;
  flex: 1 1 16rem;
}
#along-the-way .plate-carson { max-width: min(100%, calc(1400px + 1.4rem)); }
#along-the-way .plate-gingrich { max-width: min(100%, calc(1004px + 1.4rem)); }
#along-the-way .plate-carson img { width: 1400px; max-width: 100%; height: auto; }
#along-the-way .plate-gingrich img { width: 1004px; max-width: 100%; height: auto; }
#along-the-way .portrait-wall figcaption {
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.72rem;
  line-height: 1.45;
}
@media (max-width: 900px) {
  #along-the-way .portrait-wall { flex-direction: column; align-items: flex-start; }
}


/* 2013 — A Time to Learn */
#a-time-to-learn.milestone.is-chapter {
  padding-top: 3.2rem;
  padding-bottom: 2.4rem;
}
#a-time-to-learn .date-lockup { align-items: center; }
#a-time-to-learn .year-big {
  font-size: clamp(4.2rem, 10vw, 7.2rem);
  line-height: 0.84;
  letter-spacing: 0.03em;
  text-align: center;
}
#a-time-to-learn .chapter-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
}
#a-time-to-learn .exhibit-learn {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}
#a-time-to-learn .plate-hillsdale {
  max-width: min(100%, calc(643px + 1.4rem));
  margin: 0 auto;
}
#a-time-to-learn .plate-hillsdale img { width: 643px; max-width: 100%; height: auto; }
#a-time-to-learn .exhibit-learn .story {
  margin: 0;
  max-width: 34rem;
  width: calc(100% - 1rem);
  text-align: left;
}
@media (max-width: 900px) {
  #a-time-to-learn .plate-hillsdale { max-width: 100%; }
}


#a-time-to-learn .exhibit-learn { max-width: 58rem; }
#a-time-to-learn .learn-photos {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 0.9rem 1rem;
  width: 100%;
}
#a-time-to-learn .learn-photos .plate { margin: 0; flex: 1 1 16rem; }
#a-time-to-learn .plate-view-hillsdale { max-width: min(100%, calc(960px + 1.4rem)); }
#a-time-to-learn .plate-view-hillsdale img { width: 960px; max-width: 100%; height: auto; }
#a-time-to-learn .learn-photos figcaption {
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.72rem;
  line-height: 1.45;
}
@media (max-width: 900px) {
  #a-time-to-learn .learn-photos { flex-direction: column; align-items: flex-start; }
  #a-time-to-learn .plate-view-hillsdale { max-width: 100%; }
}


/* 2014 — Flippo campaign plate (native 405×540; display ~360px, never upscale). */
#from-hillsdale-2014 .exhibit-2014 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.2rem;
  max-width: 42rem;
}
#from-hillsdale-2014 .plate-flippo {
  margin: 0;
  flex: 0 1 auto;
  max-width: min(100%, calc(360px + 1.4rem));
}
#from-hillsdale-2014 .plate-flippo img {
  width: 360px;
  max-width: 100%;
  height: auto;
}
#from-hillsdale-2014 .story {
  flex: 1 1 16rem;
  margin: 0;
}
#from-hillsdale-2014 .story h3 {
  font-family: var(--serif);
  font-weight: 500;
}
#from-hillsdale-2014 .plate-flippo figcaption {
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.72rem;
  line-height: 1.45;
}
@media (max-width: 900px) {
  #from-hillsdale-2014 .exhibit-2014 { flex-direction: column; align-items: flex-start; }
  #from-hillsdale-2014 .plate-flippo { max-width: min(100%, calc(360px + 1.4rem)); }
}


/* May 2016 — The Ethics of Aristotle (working title). Photo at native 480×640 or smaller. */
#the-ethics-of-aristotle .milestone-year {
  display: flex;
  flex-direction: column;
  letter-spacing: 0;
}
#the-ethics-of-aristotle .date-lockup { align-items: flex-start; }
#the-ethics-of-aristotle .year-big { line-height: 0.88; }
#the-ethics-of-aristotle .exhibit-grad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  max-width: 58rem;
}
#the-ethics-of-aristotle .grad-diptych {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.9rem 1rem;
  width: 100%;
}
#the-ethics-of-aristotle .grad-diptych .plate { margin: 0; flex: 0 1 auto; }
#the-ethics-of-aristotle .plate-graduation {
  max-width: min(100%, calc(480px + 1.4rem));
}
#the-ethics-of-aristotle .plate-graduation-amy {
  max-width: min(100%, calc(420px + 1.4rem));
}
#the-ethics-of-aristotle .plate-graduation img {
  width: 480px;
  max-width: 100%;
  height: auto;
}
#the-ethics-of-aristotle .plate-graduation-amy img {
  width: 420px;
  max-width: 100%;
  height: auto;
}
#the-ethics-of-aristotle .story { margin: 0; max-width: 36rem; }
#the-ethics-of-aristotle .grad-diptych figcaption {
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.72rem;
  line-height: 1.45;
}
@media (max-width: 900px) {
  #the-ethics-of-aristotle .grad-diptych { flex-direction: column; align-items: flex-start; }
}


/* September 2016 — Homecoming: photo + bold "Chairman" title card. */
#homecoming.milestone.is-result { z-index: 3; }
#homecoming > .milestone-year {
  grid-column: 1 / -1; grid-row: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  letter-spacing: 0; padding: 0 1rem;
}
#homecoming .milestone-year::after { display: none; }
#homecoming .date-lockup { align-items: center; }
#homecoming .year-month { font-size: clamp(1.4rem, 3vw, 2.2rem); }
#homecoming .year-big { font-size: clamp(4rem, 9vw, 6.6rem); line-height: 0.84; }
#homecoming .result-title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
#homecoming .exhibit-homecoming {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.4rem 2.4rem;
}
#homecoming .plate-homecoming { margin: 0; flex: 0 1 auto; max-width: min(100%, calc(400px + 1.4rem)); }
#homecoming .plate-homecoming img { width: 400px; max-width: 100%; height: auto; }
#homecoming .plate-homecoming figcaption { text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; }
#homecoming .homecoming-copy { flex: 1 1 18rem; max-width: 30rem; display: flex; flex-direction: column; gap: 1.1rem; }
#homecoming .title-card {
  border: 1px solid var(--gold-line); background: var(--panel);
  padding: 1.3rem 1.4rem 1.1rem; text-align: center;
}
#homecoming .title-card-kicker {
  margin: 0; font-family: var(--sans); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-dim);
}
#homecoming .title-card-word {
  margin: 0.35rem 0 0; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 0.95; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold);
}
#homecoming .story { margin: 0; }
.has-zigzag #homecoming::after { display: none; }
@media (max-width: 900px) {
  #homecoming .exhibit-homecoming { flex-direction: column; align-items: flex-start; }
  #homecoming .plate-homecoming { max-width: min(100%, calc(400px + 1.4rem)); }
}


/* January 7, 2017 — Marriage: quiet, reverent hero. No stat, softer gold, more air. */
#marriage.milestone.is-result { z-index: 3; padding-top: 2.6rem; padding-bottom: 2.6rem; }
#marriage > .milestone-year {
  grid-column: 1 / -1; grid-row: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  letter-spacing: 0; padding: 0 1rem;
}
#marriage .milestone-year::after { display: none; }
#marriage .date-lockup { align-items: center; }
#marriage .year-month { font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: 0.14em; }
#marriage .year-big { font-size: clamp(3.4rem, 7.5vw, 5.4rem); line-height: 0.86; font-weight: 500; color: var(--cream); }
#marriage .result-title {
  margin-top: 0.55rem; font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: 0.04em; color: var(--gold);
  text-transform: none;
}
#marriage .exhibit-wedding {
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
  max-width: 44rem; margin: 0.6rem auto 0;
}
#marriage .plate-wedding { margin: 0 auto; max-width: min(100%, calc(620px + 1.4rem)); }
#marriage .plate-wedding img { width: 620px; max-width: 100%; height: auto; }
#marriage .plate-wedding figcaption { text-transform: none; letter-spacing: 0.08em; font-size: 0.74rem; }
#marriage .wedding-text { max-width: 32rem; text-align: center; padding: 0 1rem; }
#marriage .wedding-rule { display: block; width: 3rem; height: 1px; margin: 0 auto 1.1rem; background: var(--gold); opacity: 0.7; }
#marriage .wedding-text p {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.6; color: var(--cream);
}
.fx #marriage .plate-wedding { opacity: 0; transition: opacity 1.6s ease; }
.fx #marriage.is-revealed .plate-wedding { opacity: 1; }
.has-zigzag #marriage::after { display: none; }
@media (prefers-reduced-motion: reduce) { #marriage .plate-wedding { opacity: 1 !important; transition: none !important; } }

/* Dots that would sit inside a headline are hidden when the winding rail is on. */
.has-zigzag .node-off, .has-zigzag .node-resume { opacity: 0 !important; }

/* While the winding rail measures content, ignore reveal offsets. */
.rail-measuring .milestone *:not(.plate-bulletin), .rail-measuring .timeline-context * { transform: none !important; transition: none !important; }

/* Mobile: keep every beat clear of the left rail gutter. */
@media (max-width: 900px) {
  .milestone.is-chapter > .exhibit,
  .milestone.is-result > .exhibit,
  .milestone.is-gallery > .exhibit,
  .milestone.is-chapter > .milestone-year,
  .milestone.is-result > .milestone-year {
    margin-left: 3.1rem !important;
    margin-right: 0.4rem !important;
    width: auto !important;
    max-width: none !important;
  }
  #a-time-to-serve .plate-quorum, #a-time-to-learn .learn-photos .plate { max-width: 100% !important; }
}

/* July 2018 — White House (native 720×960; shown at 440px). */
#white-house-2018 .milestone-year { display: flex; flex-direction: column; letter-spacing: 0; }
#white-house-2018 .date-lockup { align-items: flex-start; }
#white-house-2018 .year-big { line-height: 0.88; }
#white-house-2018 .plate-whitehouse { margin: 0; max-width: min(100%, calc(440px + 1.4rem)); }
#white-house-2018 .plate-whitehouse img { width: 440px; max-width: 100%; height: auto; }
#white-house-2018 .plate-whitehouse figcaption { flex-direction: column; align-items: flex-start; text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; line-height: 1.45; }

/* December 13, 2018 — A Son: warm, quiet (shares the reverent wedding styling, warmer glow). */
#a-son.milestone.is-result { z-index: 3; padding-top: 2.4rem; padding-bottom: 2.4rem; }
#a-son > .milestone-year { grid-column: 1 / -1; grid-row: 1; display: flex; flex-direction: column; align-items: center; text-align: center; letter-spacing: 0; padding: 0 1rem; }
#a-son .milestone-year::after { display: none; }
#a-son .date-lockup { align-items: center; }
#a-son .year-month { font-size: clamp(1.2rem, 2.4vw, 1.8rem); letter-spacing: 0.14em; }
#a-son .year-big { font-size: clamp(3.2rem, 7vw, 5rem); line-height: 0.86; font-weight: 500; color: var(--cream); }
#a-son .result-title { margin-top: 0.5rem; font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--gold); text-transform: none; }
#a-son .exhibit-son { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; max-width: 40rem; margin: 0.6rem auto 0; position: relative; }
#a-son .exhibit-son::before { content: ""; position: absolute; inset: -6% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212, 160, 100, 0.14), rgba(212, 160, 100, 0) 70%); }
#a-son .plate-luke { margin: 0 auto; max-width: min(100%, calc(440px + 1.4rem)); }
#a-son .plate-luke img { width: 440px; max-width: 100%; height: auto; }
#a-son .plate-luke figcaption { flex-direction: column; align-items: flex-start; text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; line-height: 1.45; }
#a-son .son-text { max-width: 30rem; text-align: center; padding: 0 1rem; }
#a-son .wedding-rule { display: block; width: 3rem; height: 1px; margin: 0 auto 1.1rem; background: var(--gold); opacity: 0.7; }
#a-son .son-text p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.6; color: var(--cream); }
.fx #a-son .plate-luke { opacity: 0; transition: opacity 1.6s ease; }
.fx #a-son.is-revealed .plate-luke { opacity: 1; }
@media (prefers-reduced-motion: reduce) { #a-son .plate-luke { opacity: 1 !important; transition: none !important; } }


/* Along the Way — keep the title clear of the desktop rail. */
@media (min-width: 901px) {
  #along-the-way .gallery-title { text-align: center; }
}

/* May 30, 2020 — Trump Delegate */
#trump-delegate-2020 .delegate-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  justify-content: center;
  align-items: flex-end;
}
#trump-delegate-2020 .delegate-photos .plate { margin: 0; flex: 1 1 16rem; max-width: 100%; }
#trump-delegate-2020 .plate-delegate-collage { max-width: min(100%, calc(480px + 1.4rem)); }
#trump-delegate-2020 .plate-sanders { max-width: min(100%, calc(360px + 1.4rem)); }
#trump-delegate-2020 .delegate-photos img { width: 100%; height: auto; }

/* July 2020 — Trump Boat Parade */
#trump-boat-parade-2020 .plate-boat { max-width: min(100%, calc(440px + 1.4rem)); margin-inline: auto; }
#trump-boat-parade-2020 .plate-boat img { width: 100%; height: auto; }

/* October 31, 2020 — Halloween rally */
#halloween-rally-2020 .plate-halloween { max-width: min(100%, calc(520px + 1.4rem)); margin-inline: auto; }
#halloween-rally-2020 .plate-halloween img { width: 100%; height: auto; }

/* May 2020 — delegate card leads the beat */
#trump-delegate-2020 .plate-delegate-card { max-width: min(100%, calc(560px + 1.4rem)); margin: 0 auto 1.4rem; }
#trump-delegate-2020 .plate-delegate-card img { width: 100%; height: auto; }

/* Spring 2021 — First Vice Chair */
#first-vice-chair-2021 .plate-crawford { max-width: min(100%, calc(440px + 1.4rem)); margin-inline: auto; }
#first-vice-chair-2021 .plate-crawford img { width: 100%; height: auto; }

/* November 15, 2021 — A Second Son (echoes A Son, 2018) */
#a-second-son.milestone.is-result { z-index: 3; padding-top: 2.4rem; padding-bottom: 2.4rem; }
#a-second-son > .milestone-year { grid-column: 1 / -1; grid-row: 1; display: flex; flex-direction: column; align-items: center; text-align: center; letter-spacing: 0; padding: 0 1rem; }
#a-second-son .milestone-year::after { display: none; }
#a-second-son .date-lockup { align-items: center; }
#a-second-son .year-month { font-size: clamp(1.2rem, 2.4vw, 1.8rem); letter-spacing: 0.14em; }
#a-second-son .year-big { font-size: clamp(3.2rem, 7vw, 5rem); line-height: 0.86; font-weight: 500; color: var(--cream); }
#a-second-son .result-title { margin-top: 0.5rem; font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--gold); text-transform: none; }
#a-second-son .exhibit-son { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; max-width: 40rem; margin: 0.6rem auto 0; position: relative; }
#a-second-son .plate-luke { margin: 0 auto; max-width: min(100%, calc(440px + 1.4rem)); }
#a-second-son .plate-luke img { width: 440px; max-width: 100%; height: auto; }
#a-second-son .plate-luke figcaption { flex-direction: column; align-items: flex-start; text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; line-height: 1.45; }
#a-second-son .son-text { max-width: 30rem; text-align: center; padding: 0 1rem; }
#a-second-son .wedding-rule { display: block; width: 3rem; height: 1px; margin: 0 auto 1.1rem; background: var(--gold); opacity: 0.7; }
#a-second-son .son-text p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.6; color: var(--cream); }
.fx #a-second-son .plate-luke { opacity: 0; transition: opacity 1.6s ease; }
.fx #a-second-son.is-revealed .plate-luke { opacity: 1; }
@media (prefers-reduced-motion: reduce) { #a-second-son .plate-luke { opacity: 1 !important; transition: none !important; } }
#a-second-son .plate-jacob { max-width: min(100%, calc(560px + 1.4rem)); }
#a-second-son .plate-jacob img { width: 560px; max-width: 100%; height: auto; }

#a-second-son .exhibit-son::before { content: ""; position: absolute; inset: -6% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212, 160, 100, 0.14), rgba(212, 160, 100, 0) 70%); }

/* December 2021 — Organizing for Life (copy pending) */
#organizing-for-life-2021 .plate-life { max-width: min(100%, calc(640px + 1.4rem)); margin-inline: auto; }
#organizing-for-life-2021 .plate-life img { width: 100%; height: auto; }

/* December 2021 — Organizing for Life showstopper (321 / 35), echoes the Garbage Tax 80% */
#organizing-for-life-2021 .exhibit-life { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
#organizing-for-life-2021 .life-stats { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1.4rem clamp(2rem, 6vw, 5rem); width: 100%; }
#organizing-for-life-2021 .life-win { text-align: center; margin: 0.25rem 0 0; }
#organizing-for-life-2021 .life-win .stat-num { font-size: clamp(6.4rem, 18vw, 11.5rem); font-weight: 600; line-height: 0.8; letter-spacing: 0.01em; color: var(--gold); font-variant-numeric: tabular-nums; margin: 0; white-space: nowrap; }
#organizing-for-life-2021 .life-win .stat-label { margin: 0.55rem 0 0; font-family: var(--sans); font-weight: 500; font-size: clamp(0.88rem, 1.7vw, 1.15rem); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream); }
#organizing-for-life-2021 .exhibit-life > .story { margin: 0; max-width: 36rem; width: 100%; text-align: left; }
#organizing-for-life-2021 .story cite { font-style: italic; }
.fx #organizing-for-life-2021 .life-win { opacity: 0; transform: translateY(1.4rem); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); }
.fx #organizing-for-life-2021 .life-win + .life-win { transition-delay: 0.25s; }
.fx #organizing-for-life-2021.is-revealed .life-win { opacity: 1; transform: none; }
@media (max-width: 900px) {
  #organizing-for-life-2021 .life-win .stat-num { font-size: clamp(4.6rem, 22vw, 7rem); }
}
@media (prefers-reduced-motion: reduce) {
  #organizing-for-life-2021 .life-win { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* May 4, 2022 — Lincoln Fellow, Claremont Institute */
#lincoln-fellow-2022 .claremont-photos { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 1rem 1.2rem; width: 100%; }
#lincoln-fellow-2022 .claremont-photos .plate { margin: 0; flex: 1 1 16rem; }
#lincoln-fellow-2022 .plate-claremont { max-width: min(100%, calc(420px + 1.4rem)); }
#lincoln-fellow-2022 .plate-eastman { max-width: min(100%, calc(560px + 1.4rem)); }
#lincoln-fellow-2022 .claremont-photos img { width: 100%; height: auto; }
#lincoln-fellow-2022 .claremont-photos figcaption { flex-direction: column; align-items: flex-start; text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; line-height: 1.45; }

/* October 2022 — Return to Hillsdale */
#hillsdale-visit-2022 .plate-hillsdale-visit { max-width: min(100%, calc(420px + 1.4rem)); margin-inline: auto; }
#hillsdale-visit-2022 .plate-hillsdale-visit img { width: 100%; height: auto; }
#hillsdale-visit-2022 .plate-hillsdale-visit figcaption { flex-direction: column; align-items: flex-start; text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; line-height: 1.45; }
#organizing-for-life-2021 .life-win .stat-num { line-height: 1; }
#organizing-for-life-2021 .life-win .stat-label { margin-top: 0.9rem; }


/* May 12, 2024 — delegate race: brochure pair + museum pull quote (Arnn) */
#delegate-race-2024 .exhibit-delegate-2024 { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
#delegate-race-2024 .brochure-photos { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 1rem 1.2rem; width: 100%; }
#delegate-race-2024 .brochure-photos .plate { margin: 0; flex: 1 1 16rem; max-width: min(100%, calc(380px + 1.4rem)); }
#delegate-race-2024 .brochure-photos img { width: 100%; height: auto; }
#delegate-race-2024 .brochure-photos figcaption,
#rnc-2024 figcaption, #cfp-2024 figcaption { flex-direction: column; align-items: flex-start; text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; line-height: 1.45; }
#delegate-race-2024 .quote-museum { position: relative; margin: 0.6rem auto 0; max-width: 46rem; width: 100%; padding: clamp(1.6rem, 4vw, 3rem) clamp(1.3rem, 4.5vw, 3.4rem); border-color: var(--gold); }
#delegate-race-2024 .quote-museum .quote-mark { font-size: clamp(4.4rem, 10vw, 7rem); line-height: 0.7; margin-bottom: 0.6rem; }
#delegate-race-2024 .quote-museum p { font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.5; }
#delegate-race-2024 .quote-museum cite { color: var(--gold); }
.fx #delegate-race-2024 .quote-museum { opacity: 0; transform: translateY(1.2rem); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.fx #delegate-race-2024.is-revealed .quote-museum { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { #delegate-race-2024 .quote-museum { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* July 2024 — RNC Milwaukee: hero + gallery */
#rnc-2024 .exhibit-rnc-2024 { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
#rnc-2024 .plate-rnc-hero { margin: 0 auto; max-width: min(100%, calc(520px + 1.4rem)); }
#rnc-2024 .plate-rnc-hero img { width: 100%; height: auto; }
#rnc-2024 .rnc-gallery { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 1rem 1.2rem; width: 100%; }
#rnc-2024 .rnc-gallery .plate { margin: 0; flex: 1 1 16rem; }
#rnc-2024 .plate-rnc-brown { max-width: min(100%, calc(340px + 1.4rem)); }
#rnc-2024 .plate-rnc-fox { max-width: min(100%, calc(560px + 1.4rem)); }
#rnc-2024 .rnc-gallery img { width: 100%; height: auto; }

/* December 10, 2024 — CFP® */
#cfp-2024 .plate-cfp { margin: 0 auto; max-width: min(100%, calc(480px + 1.4rem)); }
#cfp-2024 .plate-cfp img { width: 100%; height: auto; }


/* June 2025 — First 5K showstopper (150+), echoes the 80% / 321 */
#first-5k-2025 .exhibit-5k { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
#first-5k-2025 .fivek-win { text-align: center; margin: 0.25rem auto 0; width: 100%; }
#first-5k-2025 .fivek-win .stat-num { font-size: clamp(6.4rem, 18vw, 11.5rem); font-weight: 600; line-height: 1; letter-spacing: 0.01em; color: var(--gold); font-variant-numeric: tabular-nums; margin: 0; white-space: nowrap; }
#first-5k-2025 .fivek-win .stat-label { margin: 0.9rem 0 0; font-family: var(--sans); font-weight: 500; font-size: clamp(0.88rem, 1.7vw, 1.15rem); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream); }
#first-5k-2025 .plate-5k { margin: 0 auto; max-width: min(100%, calc(420px + 1.4rem)); }
#first-5k-2025 .plate-5k img { width: 100%; height: auto; }
.fx #first-5k-2025 .fivek-win { opacity: 0; transform: translateY(1.4rem); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); }
.fx #first-5k-2025.is-revealed .fivek-win { opacity: 1; transform: none; }
@media (max-width: 900px) { #first-5k-2025 .fivek-win .stat-num { font-size: clamp(5.2rem, 26vw, 8rem); } }
@media (prefers-reduced-motion: reduce) { #first-5k-2025 .fivek-win { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* November 2025 — Claremont fundraiser with Dr. Arnn */
#claremont-fundraiser-2025 .plate-fundraiser { margin: 0 auto; max-width: min(100%, calc(420px + 1.4rem)); }
#claremont-fundraiser-2025 .plate-fundraiser img { width: 100%; height: auto; }
#first-5k-2025 figcaption, #claremont-fundraiser-2025 figcaption { flex-direction: column; align-items: flex-start; text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; line-height: 1.45; }


/* FINALE — the rail ends in the gold node; a cinematic closing line and a gold CTA below it. */
.timeline-finale { height: auto; min-height: var(--end-h); padding: 2.5rem 1rem 6rem; text-align: center; }
.timeline-finale .finale-line {
  margin: 4.2rem auto 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3rem, 8.5vw, 7.2rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--cream);
  text-wrap: balance;
}
.timeline-finale .finale-cta {
  display: inline-block;
  margin-top: 2.6rem;
  padding: 1rem 2.1rem;
  border: 1px solid var(--gold);
  border-bottom-width: 1px;
  background: var(--gold);
  color: var(--void);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  box-shadow: 0 0.9rem 2.2rem -1rem rgba(212, 180, 131, 0.55);
  transition: background 0.25s ease, color 0.25s ease;
}
.timeline-finale .finale-cta:hover,
.timeline-finale .finale-cta:focus-visible { background: transparent; color: var(--gold); outline: none; }
.timeline-finale .finale-cta:focus-visible { box-shadow: 0 0 0 3px var(--void), 0 0 0 5px var(--gold); }
.fx .timeline-finale .finale-line { opacity: 0; transform: translateY(1.6rem); letter-spacing: 0.04em; transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out), letter-spacing 1.8s var(--ease-out); }
.fx .timeline-finale.is-revealed .finale-line { opacity: 1; transform: none; letter-spacing: -0.005em; }
.fx .timeline-finale .finale-cta { opacity: 0; transform: translateY(0.8rem); transition: opacity 0.9s var(--ease-out) 0.6s, transform 0.9s var(--ease-out) 0.6s, background 0.25s ease, color 0.25s ease; }
.fx .timeline-finale.is-revealed .finale-cta { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .timeline-finale { padding: 2.5rem 1rem 4.5rem calc(var(--rail) + 1.9rem); text-align: left; }
  .timeline-finale .finale-line { margin: 3.2rem 0 0; font-size: clamp(2.6rem, 12vw, 3.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-finale .finale-line, .timeline-finale .finale-cta { opacity: 1 !important; transform: none !important; transition: none !important; letter-spacing: -0.005em !important; }
}

/* January 2025 — Inauguration: Liberty Ball */
#inauguration-2025 .plate-liberty-ball { margin: 0 auto; max-width: min(100%, calc(420px + 1.4rem)); }
#inauguration-2025 .plate-liberty-ball img { width: 100%; height: auto; }
#inauguration-2025 figcaption { flex-direction: column; align-items: flex-start; text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; line-height: 1.45; }

#rnc-2024 .plate-rnc-basham { max-width: min(100%, calc(480px + 1.4rem)); }

/* September 2017 — Arkansas Business 20 in Their 20s (no photo; gold text link) */
#arkansas-business-2017 .ab20-text { max-width: 34rem; margin: 0 auto; text-align: center; }
#arkansas-business-2017 .ab20-link-row { margin: 1.1rem 0 0; font-family: var(--sans); font-style: normal; font-size: 0.82rem; }
#arkansas-business-2017 .ab20-link { color: var(--gold); text-decoration: none; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid rgba(212, 180, 131, 0.5); padding-bottom: 0.15rem; transition: border-color 0.2s ease, color 0.2s ease; }
#arkansas-business-2017 .ab20-link:hover, #arkansas-business-2017 .ab20-link:focus-visible { color: var(--cream); border-bottom-color: var(--gold); outline: none; }
#arkansas-business-2017 .ab20-link:focus-visible { box-shadow: 0 0 0 3px var(--void), 0 0 0 4px var(--gold); }

/* Shared default for single-line beat text (wedding-text pattern) outside the hand-tuned beats. */
.milestone .wedding-text { max-width: 34rem; margin-inline: auto; text-align: center; padding: 0 1rem; }
.milestone .wedding-rule { display: block; width: 3rem; height: 1px; margin: 0 auto 1.1rem; background: var(--gold); opacity: 0.7; }
.milestone .wedding-text p:not(.ab20-link-row) { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.6; color: var(--cream); }
.milestone .exhibit:has(> .wedding-text) { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
@media (max-width: 900px) { .milestone .wedding-text { text-align: left; padding: 0; margin-inline: 0; } .milestone .wedding-rule { margin-left: 0; } .milestone .exhibit:has(> .wedding-text) { align-items: stretch; } }


/* ═══════════════════════════════════════════════════════════
   Opening rework: cinematic welcome, narrative preamble,
   closing museum plaque. No new colors or fonts.
   ═══════════════════════════════════════════════════════════ */
.founder-page { --site-header: 5.4rem; }

.founder-page .gallery {
  padding-top: 0;
  border-top: 0;
  background: var(--void);
}

/* Full-viewport welcome: nothing before the quote but the site nav. */
.timeline-welcome {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100svh - var(--site-header));
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5.75rem;
  text-align: center;
  scroll-margin-top: var(--site-header);
}
.timeline-welcome .epigraph {
  margin: 0 auto;
  padding: 0 0.5rem;
  max-width: 42rem;
  width: 100%;
}
.timeline-welcome .epigraph .quote-mark {
  font-size: clamp(4.2rem, 10vw, 7.5rem);
  margin-bottom: 0.2rem;
  line-height: 0.7;
}
.timeline-welcome .epigraph p {
  font-size: clamp(1.7rem, 4.4vw, 3.05rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.timeline-welcome .epigraph footer { margin-top: 2rem; }
.timeline-welcome .welcome-title {
  margin: 2.4rem 0 0;
  font-family: var(--sans);
  font-weight: 500;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.3;
}
.timeline-welcome .timeline-origin {
  position: absolute;
  top: auto;
  bottom: 1.15rem;
  left: var(--rail);
  z-index: 2;
}

/* Staged reveal of the opening quote. Reduced motion / no-JS: fully visible. */
.fx .timeline-welcome .quote-mark,
.fx .timeline-welcome .epigraph p,
.fx .timeline-welcome .epigraph footer,
.fx .timeline-welcome .welcome-title,
.fx .timeline-welcome .timeline-origin {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 1.15s var(--ease-out), transform 1.25s var(--ease-out);
}
.fx .timeline-welcome .quote-mark { transform: translateY(0.6rem); }
.fx .timeline-welcome.is-lit .quote-mark {
  opacity: 1; transform: none; transition-delay: 0.15s;
}
.fx .timeline-welcome.is-lit .epigraph p {
  opacity: 1; transform: none; transition-delay: 0.7s;
}
.fx .timeline-welcome.is-lit .epigraph footer {
  opacity: 1; transform: none; transition-delay: 1.45s;
}
.fx .timeline-welcome.is-lit .welcome-title {
  opacity: 1; transform: none; transition-delay: 1.95s;
}
.fx .timeline-welcome.is-lit .timeline-origin {
  opacity: 1; transform: none; transition-delay: 2.25s;
}

/* Plain-text narrative preamble — no milestone cards. */
.timeline-preamble {
  position: relative;
  z-index: 3;
  max-width: 38rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5.5rem;
  text-align: center;
}
.timeline-preamble .preamble-line {
  margin: 0 auto;
  max-width: 22em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.7vw, 2.05rem);
  line-height: 1.45;
  color: var(--cream);
  text-wrap: pretty;
}
.timeline-preamble .preamble-line + .preamble-line { margin-top: 1.55rem; }
.timeline-preamble .preamble-beat:first-of-type {
  margin-top: 2.8rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(196, 165, 116, 0.3);
}
.fx .timeline-preamble .preamble-line {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 1.1s var(--ease-out), transform 1.15s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 0.55s);
}
.fx .timeline-preamble.is-revealed .preamble-line {
  opacity: 1;
  transform: none;
}

/* No-JS straight rail starts at the origin under the welcome, not through the quote. */
.timeline-wrap { padding-top: 0; }
.timeline-line {
  top: calc(100svh - var(--site-header) - (var(--origin) * 0.5));
}

/* Closing museum plaque: the old Hall I block, now after the finale. */
.founder-page .hall-close {
  min-height: 0;
  justify-content: flex-start;
  padding: 4.25rem 1.75rem 5.5rem;
  border-top: 1px solid rgba(196, 165, 116, 0.28);
  background:
    radial-gradient(ellipse 50% 55% at 50% 0%, rgba(196, 165, 116, 0.1), transparent 70%),
    var(--void);
}
.founder-page .hall-close .hall-inner {
  padding: clamp(1.6rem, 3.5vw, 2.8rem) clamp(1.4rem, 3.2vw, 2.6rem);
  background: var(--panel);
  border: 1px solid var(--gold-line);
  box-shadow: 0 1.8rem 3rem -1.4rem rgba(0, 0, 0, 0.7);
}
.founder-page .hall-close .hall-frame {
  inset: 1rem;
}
/* Hold the plaque's entrance animation until it is scrolled into view. */
.fx .hall-close .reveal-hall {
  animation: none;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 120ms + 80ms);
}
.fx .hall-close.is-revealed .reveal-hall {
  opacity: 1;
  transform: none;
}
.fx .hall-close .portrait { animation: none; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.fx .hall-close.is-revealed .portrait { opacity: 1; }
.fx .hall-close .hall-rule .line { animation: none; }
.fx .hall-close.is-revealed .hall-rule .line {
  animation: rule-draw 1.1s var(--ease-out) both;
  animation-delay: 400ms;
}

@media (max-width: 900px) {
  .founder-page { --site-header: 7.6rem; }
  .timeline-welcome {
    min-height: calc(100svh - var(--site-header));
    padding: 2.5rem 1.15rem 5rem;
    align-items: stretch;
  }
  .timeline-welcome .epigraph { text-align: left; margin-left: 0; }
  .timeline-welcome .epigraph footer { align-items: flex-start; }
  .timeline-welcome .welcome-title { text-align: left; }
  .timeline-welcome .epigraph p { font-size: clamp(1.45rem, 7vw, 2rem); }
  .timeline-preamble {
    text-align: left;
    padding: 2.5rem 1.1rem 4rem 3.1rem;
    margin: 0;
    max-width: none;
  }
  .timeline-preamble .preamble-line { margin-left: 0; font-size: clamp(1.22rem, 5.6vw, 1.5rem); }
  .founder-page .hall-close { padding: 3rem 1.25rem 4rem; }
  .founder-page .hall-close .hall-inner { padding: 1.5rem 1.2rem 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-welcome .quote-mark,
  .timeline-welcome .epigraph p,
  .timeline-welcome .epigraph footer,
  .timeline-welcome .welcome-title,
  .timeline-welcome .timeline-origin,
  .timeline-preamble .preamble-line,
  .hall-close .reveal-hall,
  .hall-close .portrait {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Screenshot / staged mid-reveal helper: quote mark present, the line still arriving. */
.fx .timeline-welcome.is-mid .quote-mark { opacity: 1; transform: none; }
.fx .timeline-welcome.is-mid .epigraph p { opacity: 0.35; transform: translateY(0.4rem); }
.fx .timeline-welcome.is-mid .epigraph footer,
.fx .timeline-welcome.is-mid .welcome-title,
.fx .timeline-welcome.is-mid .timeline-origin { opacity: 0; }

/* Neutralize the old prologue-scroll reveal, which hid the whole blockquote. */
.fx .timeline-welcome .epigraph,
.fx .timeline-welcome.is-lit .epigraph,
.fx .timeline-welcome.is-mid .epigraph {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Keep the origin on the rail, but sit it just under the title, not at the foot of the viewport. */
.timeline-welcome .welcome-descent {
  position: relative;
  width: 100%;
  height: var(--origin);
  margin-top: 2.5rem;
}
.timeline-welcome .timeline-origin {
  position: absolute;
  top: 0;
  bottom: auto;
  left: var(--rail);
}

/* The 2002/2008 sentences follow the political context after a thin gold pause. */
.timeline-preamble .preamble-beat:first-of-type { margin-top: 1.55rem; padding-top: 0; border-top: 0; }
.timeline-preamble .preamble-line:not(.preamble-beat) + .preamble-beat {
  margin-top: 2.8rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(196, 165, 116, 0.3);
}

/* Origin must be measured from the wrap/welcome edge, not from the padded quote column. */
.timeline-welcome {
  padding-left: 0;
  padding-right: 0;
}
.timeline-welcome .epigraph,
.timeline-welcome .welcome-title {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (max-width: 900px) {
  .timeline-welcome { padding-left: 0; padding-right: 0; }
  .timeline-welcome .epigraph,
  .timeline-welcome .welcome-title {
    padding-left: 3.1rem;
    padding-right: 1.15rem;
  }
}


/* ═══════════════════════════════════════════════════════════
   Opening welcome photo — Richard at the podium, grayscale.
   Desktop: cinematic presence on the right; quote on a dark
   veil at left. Face never covered. Reduced motion: static.
   ═══════════════════════════════════════════════════════════ */
.welcome-photo {
  position: absolute;
  top: 0;
  bottom: calc(var(--origin) + 3.8rem);
  left: 34%;
  right: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}
.welcome-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 92% 42%;
  filter: grayscale(1);
  transform-origin: 86% 44%;
}
/* Soft dissolve from the void (crowd side) into Richard on the right. */
.welcome-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--void) 0%,
    rgba(11, 14, 12, 0.96) 14%,
    rgba(11, 14, 12, 0.72) 30%,
    rgba(11, 14, 12, 0.32) 48%,
    rgba(11, 14, 12, 0.08) 64%,
    transparent 78%
  );
}
/* Solid void under the quote so cream text stays at WCAG AAA on #0b0e0c. */
.timeline-welcome::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(46%, 38rem);
  background: linear-gradient(to right, var(--void) 78%, rgba(11, 14, 12, 0.85) 90%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
@media (min-width: 901px) {
  .timeline-welcome {
    align-items: flex-start;
  }
  .timeline-welcome .epigraph,
  .timeline-welcome .welcome-title,
  .timeline-welcome .welcome-descent {
    position: relative;
    z-index: 2;
  }
  .timeline-welcome .epigraph {
    text-align: left;
    max-width: min(36rem, 44%);
    width: min(36rem, 44%);
    margin: 0;
  }
  .timeline-welcome .epigraph footer { align-items: flex-start; }
  .timeline-welcome .welcome-title { text-align: left; }
}

/* Slow fade-in + subtle Ken Burns push-in.
   The animation, not a JS class, is what brings the photo to opacity 1,
   so a missed is-lit / failed observer cannot leave it invisible. */
@keyframes welcome-photo-in {
  0%   { opacity: 0; transform: scale(1.08); }
  16%  { opacity: 1; transform: scale(1.065); }
  100% { opacity: 1; transform: scale(1); }
}
.fx .welcome-photo img {
  opacity: 0;
  transform: scale(1.08);
  animation: welcome-photo-in 16s cubic-bezier(0.15, 0.35, 0.25, 1) 0.2s both;
}
.fx .timeline-welcome.is-mid .welcome-photo img {
  animation: none;
  opacity: 0.55;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .timeline-welcome::before { display: none; }
  .welcome-photo {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 0 1.75rem;
    order: -1;
    z-index: 0;
    pointer-events: auto;
  }
  .welcome-photo img {
    object-position: 86% 40%;
  }
  .welcome-photo::after {
    background: linear-gradient(to top, var(--void) 0%, rgba(11, 14, 12, 0.35) 22%, transparent 48%);
  }
  .timeline-welcome {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-photo img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Photo lives in .welcome-stage so the gold origin sits fully below it. */
.timeline-welcome {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.timeline-welcome .welcome-stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 0;
}
.welcome-photo {
  top: 0;
  bottom: 0;
  left: 34%;
  right: 0;
}
@media (min-width: 901px) {
  .timeline-welcome .welcome-stage .epigraph,
  .timeline-welcome .welcome-stage .welcome-title {
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 900px) {
  .timeline-welcome .welcome-stage { align-items: stretch; flex: 0 0 auto; }
}

/* Mobile must win over the later desktop photo offsets. */
@media (max-width: 900px) {
  .welcome-photo {
    position: relative !important;
    top: auto;
    bottom: auto;
    left: auto !important;
    right: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 0 1.75rem;
  }
  .welcome-photo img {
    object-position: 92% 40%;
  }
}

/* ═══════════════════════════════════════════════════════════
   2008 origin: the gold line begins at this circle.
   Quote, photo, Arkansas lines, and the 2002 sentence sit above it.
   ═══════════════════════════════════════════════════════════ */
.timeline-run {
  position: relative;
}
/* No-JS straight rail starts at the 2008 circle, not under the welcome. */
.timeline-line {
  top: calc(2.75rem + var(--origin) / 2);
}
@media (max-width: 900px) {
  .timeline-line {
    top: calc(2.5rem + var(--origin) / 2);
  }
}

.timeline-preamble {
  padding-bottom: 2.25rem;
}

.preamble-entry {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
  width: 100%;
  padding: 2.75rem 0 4.25rem;
  text-align: left;
}
.preamble-entry .origin-year-col {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  text-align: right;
  padding: 0.15rem 0.35rem 0 1rem;
  color: var(--cream);
}
.preamble-entry .year-big {
  margin: 0;
}
.preamble-entry .timeline-origin {
  position: absolute;
  top: 2.75rem;
  bottom: auto;
  left: var(--rail);
  z-index: 2;
}
.preamble-entry .preamble-entry-copy {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  max-width: 22em;
  padding: 0.55rem 1.5rem 0 0.15rem;
  text-align: left;
}

/* Reveal with the 2008 entry, not with the welcome is-lit. */
.fx .preamble-entry .year-big,
.fx .preamble-entry .timeline-origin,
.fx .preamble-entry .preamble-entry-copy {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 1.1s var(--ease-out), transform 1.15s var(--ease-out);
}
.fx .preamble-entry .year-big { transition-delay: 0s; }
.fx .preamble-entry .timeline-origin { transition-delay: 0.15s; }
.fx .preamble-entry .preamble-entry-copy { transition-delay: calc(var(--d, 6) * 0.55s); }
.fx .preamble-entry.is-revealed .year-big,
.fx .preamble-entry.is-revealed .timeline-origin,
.fx .preamble-entry.is-revealed .preamble-entry-copy {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .preamble-entry {
    display: block;
    padding: 2.5rem 1.1rem 3rem calc(var(--rail) + 2.15rem);
  }
  .preamble-entry .origin-year-col {
    text-align: left;
    padding: 0 0 0.7rem;
  }
  .preamble-entry .timeline-origin {
    top: 2.5rem;
    left: var(--rail);
  }
  .preamble-entry .preamble-entry-copy {
    max-width: none;
    padding: 0;
  }
  .timeline-preamble {
    padding-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preamble-entry .year-big,
  .preamble-entry .timeline-origin,
  .preamble-entry .preamble-entry-copy {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Welcome no longer holds the origin; close the stage just under the title. */
.timeline-welcome { padding-bottom: 3.25rem; }
@media (max-width: 900px) {
  .timeline-welcome { padding-bottom: 2.5rem; }
}
/* === v6 typography, captions, thunderclap, dates, map, count-up === */

.milestone-year::before,
.milestone.is-chapter .milestone-year::before,
#caster-country .milestone-year::before,
#garbage-tax .milestone-year::before {
  content: none !important;
  display: none !important;
}

.entry-date {
  margin: 0 0 0.4rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.3;
}
.milestone.is-chapter .entry-date {
  letter-spacing: 0.28em;
  margin-bottom: 0.6rem;
}

#tea-party-wave .story h3,
.milestone.is-thunderclap:not(.is-chapter) .story h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--cream);
  margin: 0 0 0.55rem;
}

.preamble-entry .preamble-entry-title {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--cream);
}
.preamble-entry .preamble-entry-line {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.5;
  color: var(--cream);
}
.preamble-entry .preamble-entry-copy { padding-top: 0.35rem; }

.story-sub {
  margin: -0.15rem 0 0.7rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  letter-spacing: 0.06em;
  color: var(--gold);
}

.story-emph {
  font-weight: 600;
  font-size: 1.35em;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.founder-page .plate figcaption,
.founder-page figcaption,
.exhibit-screen figcaption {
  font-size: clamp(0.92rem, 1.65vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.45;
  color: var(--cream-dim);
  justify-content: flex-start;
  flex-wrap: wrap;
  text-align: left;
}
.caption-support {
  display: block;
  margin-top: 0.35rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92em;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--cream-dim);
  text-transform: none;
}

#caster-country .result-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
#caster-country .stat-kicker {
  margin: 0 0 0.2rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  align-self: flex-start;
  max-width: 100%;
}
#caster-country .result-stat .stat-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  min-width: 3.15ch;
  display: inline-block;
  text-align: right;
}
@media (max-width: 900px) {
  #caster-country .result-stat {
    align-items: center;
    text-align: center;
  }
  #caster-country .stat-kicker {
    text-align: left;
    align-self: center;
  }
}

#ozark-tea-party.milestone.is-chapter .chapter-title {
  font-size: clamp(2.15rem, 5.6vw, 4.6rem);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.6rem;
}
#ozark-tea-party.milestone.is-chapter .chapter-sub {
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
}
#ozark-tea-party.milestone.is-chapter .plate-hero,
#ozark-tea-party.milestone.is-chapter .plate-crowd,
#ozark-tea-party.milestone.is-chapter .plate-flags {
  max-width: min(100%, calc(632px + 1.4rem));
}
#ozark-tea-party.milestone.is-chapter .plate-hero img,
#ozark-tea-party.milestone.is-chapter .plate-crowd img,
#ozark-tea-party.milestone.is-chapter .plate-flags img {
  width: 632px;
  max-width: 100%;
}
@media (max-width: 900px) {
  #ozark-tea-party.milestone.is-chapter .chapter-title {
    font-size: clamp(1.7rem, 8.4vw, 2.5rem);
    max-width: 100%;
    padding: 0;
  }
  #ozark-tea-party.milestone.is-chapter .plate-hero,
  #ozark-tea-party.milestone.is-chapter .plate-crowd,
  #ozark-tea-party.milestone.is-chapter .plate-flags {
    max-width: calc(100% - 1.4rem);
  }
}

@keyframes thunderclap-in {
  from { opacity: 0; transform: scale(1.08); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes thunder-node-pulse {
  0%   { transform: translate(-50%, -50%) scale(1); }
  40%  { transform: translate(-50%, -50%) scale(1.18); }
  100% { transform: translate(-50%, -50%) scale(1); }
}
.fx .milestone.is-thunderclap:not(.is-revealed) .milestone-year,
.fx .milestone.is-thunderclap:not(.is-revealed) .exhibit {
  opacity: 0;
  transform: scale(1.08);
}
.fx .milestone.is-thunderclap.is-revealed .milestone-year,
.fx .milestone.is-thunderclap.is-revealed .exhibit {
  animation: thunderclap-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.fx .milestone.is-thunderclap.is-revealed .node {
  animation: thunder-node-pulse 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.fx .milestone.is-thunderclap.is-thunder-mid .milestone-year,
.fx .milestone.is-thunderclap.is-thunder-mid .exhibit {
  animation: none;
  opacity: 0.55;
  transform: scale(1.05);
}
.fx .milestone.is-thunderclap.is-entering .milestone-year,
.fx .milestone.is-thunderclap.is-entering .exhibit,
.fx .milestone.is-thunderclap.is-entering .node {
  will-change: transform, opacity;
}

#the-keynote .exhibit-screen { margin: 1.15rem 0 0; }
#the-keynote .video-fallback { margin: 0.55rem 0 0.15rem; }
#the-keynote .quote-plaque,
#the-keynote .quote-clipping {
  margin: 1.15rem 0 0;
  padding: 1.35rem 1.45rem 1.4rem;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  box-shadow: 0 1rem 1.8rem -1rem rgba(0, 0, 0, 0.6);
  max-width: none;
}
#the-keynote .quote-clipping .quote-mark,
#the-keynote .quote-plaque .quote-mark {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  line-height: 0.85;
  color: var(--gold);
}
#the-keynote .quote-clipping p,
#the-keynote .quote-plaque p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.4;
  color: var(--cream);
  text-wrap: pretty;
}
#the-keynote .quote-clipping footer,
#the-keynote .quote-plaque footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
#the-keynote .quote-clipping cite,
#the-keynote .quote-plaque cite {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

@property --map-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}
.ark-map { --map-progress: 1; }
.ark-map.is-map-scroll { --map-progress: 0; }

.fx #tea-party-wave-november .ark-map.is-map-scroll .ark-counties-base .county { fill: #3d6490; }
.fx #tea-party-wave-november .ark-map.is-map-scroll .ark-counties-base .county-baxter { fill: #4a74a3; }
.fx .ark-map.is-map-scroll .ark-counties-red .county {
  fill: #7a1c28;
  stroke: #14090b;
  opacity: clamp(0, (var(--map-progress) - var(--stagger, 0) * 0.4) / 0.6, 1);
  pointer-events: none;
}
.fx .ark-map.is-map-scroll .ark-counties-red .county-baxter {
  fill: #8e2230;
  stroke: var(--gold);
}
.ark-map .ark-label { pointer-events: none; }

.fx #tea-party-wave-november:not(.is-revealed) .ark-map .county,
.fx #tea-party-wave-november.is-revealed .ark-map .county,
.fx #tea-party-wave-november:not(.is-revealed) .ark-map .county-baxter,
.fx #tea-party-wave-november.is-revealed .ark-map .county-baxter {
  transition: none;
}

@supports (animation-timeline: view()) {
  @keyframes ark-map-progress {
    from { --map-progress: 0; }
    to   { --map-progress: 1; }
  }
  .fx .ark-map.is-map-scroll.is-view-timeline {
    /* JS drives --map-progress; view() was finishing before the map entered. */
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx .milestone.is-thunderclap .milestone-year,
  .fx .milestone.is-thunderclap .exhibit,
  .fx .milestone.is-thunderclap .node,
  .preamble-entry .preamble-entry-copy,
  .preamble-entry .year-big,
  .preamble-entry .timeline-origin {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
  }
  .ark-map,
  .fx .ark-map.is-map-scroll {
    --map-progress: 1 !important;
    animation: none !important;
  }
  .fx .ark-map.is-map-scroll .ark-counties-red .county { opacity: 1 !important; }
}

@media (max-width: 900px) {
  #along-the-way > .milestone-year { padding-right: 0; }
}

#along-the-way.milestone { padding-top: 7.25rem; }
@media (max-width: 900px) {
  #along-the-way.milestone { padding-top: 2.75rem; }
}

/* Sept 2017 — Arkansas Business wordmark + 20 in Their 20s plaque */
#arkansas-business-2017 .exhibit-ab20 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.ab20-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: min(100%, 22rem);
}
.ab20-wordmark {
  display: block;
  width: min(280px, 100%);
  height: auto;
}
.ab20-plaque {
  margin: 0;
  width: 100%;
  padding: 0.55rem;
  background: linear-gradient(145deg, #d9bd8a, #a88552 45%, #d2b27c 70%, #8d6b3b);
  box-shadow: 0 1.4rem 2.4rem -1.2rem rgba(0, 0, 0, 0.7);
}
.ab20-plaque-inner {
  background: #f4efe6;
  padding: 0.85rem 0.95rem;
}
.ab20-plaque img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .ab20-lockup { width: min(100%, 18.5rem); }
  .ab20-wordmark { width: min(220px, 92%); }
}


#heads-to-iowa-2012 .exhibit-iowa { max-width: 30rem; }
#heads-to-iowa-2012 .story { margin-top: 0; }
#heads-to-iowa-2012 .plate { margin: 1.15rem 0 0; max-width: min(100%, calc(520px + 1.4rem)); }
#heads-to-iowa-2012 .plate-anita img { width: 520px; max-width: 100%; height: auto; }
#heads-to-iowa-2012 .plate-gov-perry img { width: 520px; max-width: 100%; height: auto; }
#heads-to-iowa-2012 .story-continued { margin-top: 1.15rem; }
@media (max-width: 900px) {
  #heads-to-iowa-2012 .exhibit-iowa { max-width: 100%; }
  #heads-to-iowa-2012 .plate { max-width: 100%; }
}

/* === v8: November 11, 2009 Baxter Bulletin === */
#baxter-bulletin-2009 .exhibit-bulletin { max-width: 30rem; }
#baxter-bulletin-2009 .plate-bulletin {
  margin: 0 0.35rem 0;
  max-width: min(100%, calc(420px + 1.4rem));
  transform: rotate(1.15deg);
  transform-origin: 50% 50%;
}
/* Keep the reveal fade, but don't ease the tilt — rail rebuilds used to untilt it for 1s. */
.fx #baxter-bulletin-2009 .plate-bulletin {
  transition:
    opacity 0.9s var(--ease-out),
    box-shadow 0.8s ease;
}
#baxter-bulletin-2009 .plate-bulletin img {
  width: 420px;
  max-width: 100%;
  height: auto;
}
#baxter-bulletin-2009 .bulletin-hed {
  margin: 0.85rem 0 0;
  padding-top: 0;
}
#baxter-bulletin-2009 .bulletin-hed h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.95rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
  color: var(--cream);
  margin: 0 0 0.35rem;
}
#baxter-bulletin-2009 .bulletin-source {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  letter-spacing: 0.06em;
  color: var(--gold);
}
#baxter-bulletin-2009 .story-continued {
  margin-top: 1.15rem;
}
#baxter-bulletin-2009 .story-continued p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--cream-dim);
}
@media (max-width: 900px) {
  #baxter-bulletin-2009 .exhibit-bulletin { max-width: 100%; }
  #baxter-bulletin-2009 .plate-bulletin {
    margin: 0 0.2rem 0;
    max-width: 100%;
    transform: rotate(0.7deg);
  }
  #baxter-bulletin-2009 .bulletin-hed h3 {
    font-size: clamp(1.7rem, 7.2vw, 2.15rem);
  }
}

/* === v9: opening rebuild, Tea Party date, 2010 story-first === */

/* 2008 origin is the head of the opening; "is 17" uses preamble-line type. */
#year-2008 .preamble-entry-copy { display: flex; align-items: flex-end; }
#year-2008 .preamble-line {
  margin: 0;
  max-width: 22em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.7vw, 2.05rem);
  line-height: 1.45;
  color: var(--cream);
  text-wrap: pretty;
}
#year-2008.preamble-entry { padding-bottom: 0; }
@media (max-width: 900px) {
  /* Welcome was a full viewport, so 2008 sat below the fold on phones. */
  .timeline-welcome {
    min-height: 0;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }
  .welcome-photo {
    margin-bottom: 1rem;
    max-height: 22svh;
    overflow: hidden;
  }
  #year-2008.preamble-entry {
    padding-top: 0.5rem;
    padding-left: calc(var(--rail) + (var(--origin) / 2) + 1.7rem);
  }
  .timeline-welcome { padding-bottom: 0.5rem; }
  .welcome-photo { max-height: 20svh; }
}

/* Preamble sits on the rail after 2008, so keep lines off the gold line. */
.timeline-run > .timeline-preamble {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2.15rem 0 3.5rem;
  text-align: left;
}
.timeline-run > .timeline-preamble .preamble-line {
  grid-column: 3;
  margin: 0;
  padding: 0 1.5rem 0 0.15rem;
  max-width: 22em;
  text-align: left;
}
.timeline-run > .timeline-preamble .preamble-line + .preamble-line {
  margin-top: 2.15rem;
}

/* Large date in the Tea Party date slot. */
#ozark-tea-party .entry-date {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.15;
  color: var(--gold);
}
#ozark-tea-party .chapter-title { margin-top: 0.7rem; }
#ozark-tea-party .chapter-stat .stat-line {
  max-width: 18rem;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.4;
}

/* 2010: story first, then photos and badge. */
#tea-party-wave .exhibit-wave .story {
  margin: 0 0 1.25rem;
  flex: none;
}
#tea-party-wave .wave-diptych { margin-top: 0; }
#tea-party-wave .wave-ephemera {
  display: block;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .timeline-run > .timeline-preamble {
    display: block;
    padding: 2.15rem 1.1rem 2.75rem calc(var(--rail) + (var(--origin) / 2) + 1.7rem);
  }
  .timeline-run > .timeline-preamble .preamble-line {
    padding: 0;
    max-width: none;
  }
  #year-2008 .preamble-line { font-size: clamp(1.22rem, 5.6vw, 1.5rem); }
  #ozark-tea-party .entry-date { font-size: clamp(1.45rem, 7vw, 2.1rem); }
  #ozark-tea-party .chapter-stat .stat-line { max-width: 22rem; margin-left: auto; margin-right: auto; }
  #tea-party-wave .exhibit-wave .story { margin: 0 0 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  #year-2008 .preamble-line,
  .timeline-run > .timeline-preamble .preamble-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* === v9: dates beside the rail, long dates unclipped, 2014 stack === */

/* Long date labels were tracking so wide they clipped in the year column
   or sat centered on the gold line. Allow wrapping and slightly tighter tracking. */
.entry-date {
  overflow: visible;
  white-space: normal;
  max-width: 100%;
  letter-spacing: 0.12em;
  text-wrap: balance;
  hyphens: none;
}

/* Homecoming used a full-width centered year, so the rail cut through SEPTEMBER 2016. */
#homecoming > .milestone-year,
.milestone.is-reverent > .milestone-year,
#marriage > .milestone-year,
#a-son > .milestone-year,
#a-second-son > .milestone-year {
  grid-column: 1;
  grid-row: 1;
  justify-self: stretch;
  align-items: flex-end;
  text-align: right;
  padding: 0 4.25rem 0 0.75rem;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}
#homecoming .result-title,
#marriage .result-title,
#a-son .result-title,
#a-second-son .result-title {
  align-self: stretch;
  min-width: 0;
  width: 100%;
  text-align: right;
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: break-word;
  white-space: normal;
}

/* 2014: story (with new headline) stacked above the Flippo plate. */
#from-hillsdale-2014 .exhibit-2014 {
  flex-direction: column;
  align-items: flex-start;
  max-width: 36rem;
}
#from-hillsdale-2014 .story {
  flex: none;
  width: 100%;
  margin: 0 0 1.15rem;
}
#from-hillsdale-2014 .story h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1.18;
  color: var(--cream);
  margin: 0 0 0.45rem;
}

#the-ethics-of-aristotle .story h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1.18;
  color: var(--cream);
  margin: 0 0 0.45rem;
}

#a-time-to-learn .chapter-sub {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: none;
}

@media (max-width: 900px) {
  #homecoming > .milestone-year,
  .milestone.is-reverent > .milestone-year,
  #marriage > .milestone-year,
  #a-son > .milestone-year,
  #a-second-son > .milestone-year {
    grid-column: 1 / -1;
    justify-self: stretch;
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }
  #homecoming .result-title,
  #marriage .result-title,
  #a-son .result-title,
  #a-second-son .result-title { text-align: left; }
}

/* === v9: closing plaque marks, vocation wrap, map base fill === */
.placard-list .mark-super {
  font-size: 0.58em;
  font-weight: 500;
  line-height: 0;
  position: relative;
  top: -0.55em;
  letter-spacing: 0;
  padding-left: 0.04em;
}
.placard-list dd {
  overflow-wrap: break-word;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .placard-list dd { font-size: 1.02rem; line-height: 1.4; }
}

/* Old one-shot fill on .is-revealed was painting the BASE layer red, so the
   scroll-linked blue state never showed. Keep the base clearly blue. */
.fx #tea-party-wave-november.is-revealed .ark-map.is-map-scroll .ark-counties-base .county { fill: #3d6490; }
.fx #tea-party-wave-november.is-revealed .ark-map.is-map-scroll .ark-counties-base .county-baxter { fill: #4a74a3; }
.fx #tea-party-wave-november:not(.is-revealed) .ark-map.is-map-scroll .ark-counties-base .county { fill: #3d6490; }
.fx #tea-party-wave-november:not(.is-revealed) .ark-map.is-map-scroll .ark-counties-base .county-baxter { fill: #4a74a3; }

/* Nov 2010 map: fill is scroll-linked from the map's natural position; no pin. */

/* Founder soundtrack toggle — small, fixed, out of the way of the year chip. */
.audio-toggle {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 40;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(196, 165, 116, 0.55);
  background: rgba(11, 14, 12, 0.88);
  color: var(--gold);
  cursor: pointer;
  box-shadow: 0 0.4rem 1.1rem rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}
.audio-toggle svg { width: 1.15rem; height: 1.15rem; display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.audio-toggle .icon-off { display: none; }
.audio-toggle.is-muted .icon-on { display: none; }
.audio-toggle.is-muted .icon-off { display: block; }
.audio-toggle:hover,
.audio-toggle:focus-visible {
  color: var(--cream);
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.footer-music {
  margin: 1rem auto 0 !important;
  max-width: 28rem;
  font-size: 0.72rem !important;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--cream-dim);
  text-wrap: pretty;
}
.footer-music a { font-size: inherit; }
@media (max-width: 900px) {
  .audio-toggle {
    right: 0.7rem;
    bottom: 4.4rem;
    width: 2.4rem;
    height: 2.4rem;
  }
}
