:root {
  --stage: #f6f2e9;
  --stage-deep: #eae3d7;
  --panel: #f4f2ec;
  --panel-warm: #fbf3e6;
  --ink: #202328;
  --muted: #62676b;
  --graphite: #282c31;
  --graphite-deep: #141719;
  --coral: #ff704d;
  --coral-dark: #c94228;
  --violet: #7368ff;
  --signal: #bbff5a;
  --cyan: #62e7f2;
  --amber: #ffbc58;
  --line: rgba(32, 35, 40, .22);
  --timeline-accent: var(--coral);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--stage);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, .76), rgba(246, 242, 233, .9)),
    url("graph-paper-yuppy.png") repeat,
    var(--stage);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button { font: inherit; }

.ambient {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .7) inset,
    0 -1px 0 rgba(32, 35, 40, .09) inset,
    0 18px 42px rgba(37, 31, 24, .15);
}

.amb-surface { background: var(--panel); }
.amb-chamfer { border-radius: 5px; }
.amb-chamfer-2 { border-radius: 24px 7px 24px 7px; }
.amb-thickness-1 { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 12px 30px rgba(0,0,0,.14); }
.amb-thickness-2 { box-shadow: 0 2px 0 rgba(255,255,255,.78) inset, 0 -4px 0 rgba(0,0,0,.11) inset, 0 28px 70px rgba(0,0,0,.16); }

.site-header {
  min-height: 96px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 62px);
  color: #f4f5f2;
  border-color: rgba(255,255,255,.08);
  border-radius: 0;
  background: var(--graphite);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
  font: 800 44px/1 Arial, sans-serif;
  letter-spacing: -.09em;
  text-decoration: none;
}

.portrait-letter {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: .9em;
  height: 1.05em;
  border: 2.2px solid currentColor;
  background: var(--violet);
  transform: translateY(.1em);
}

.portrait-o { border-radius: 50%; }
.portrait-d { border-radius: 2px 50% 50% 2px; }

.portrait-letter img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-letter .portrait-image-left { object-position: 0% 50%; }
.portrait-letter .portrait-image-right { object-position: 50% 24%; }

.brand-punctuation {
  margin-left: .08em;
  color: var(--signal);
  font-size: .54em;
  letter-spacing: -.04em;
}

.header-status { display: flex; align-items: center; gap: 10px; }
.stripe-badge { display: inline-flex; align-items: center; width: fit-content; }
.stripe-badge img { display: block; width: 100%; height: auto; }
.stripe-badge-header { width: 116px; }

.pay-me-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: #142000;
  border: 1px solid #d9ff9f;
  border-radius: 4px 12px 4px 12px;
  background: var(--signal);
  box-shadow:
    0 0 0 3px rgba(187,255,90,.2),
    0 0 18px rgba(187,255,90,.84),
    0 0 38px rgba(187,255,90,.5),
    0 2px 0 rgba(255,255,255,.72) inset;
  font: 950 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
  animation: pay-me-pulse 1.15s ease-in-out infinite alternate;
}

.pay-me-button:hover,
.pay-me-button:focus-visible {
  color: #fff;
  background: var(--coral);
  border-color: #ffb39f;
  box-shadow: 0 0 0 4px rgba(255,112,77,.2), 0 0 26px rgba(255,112,77,.9);
  outline: none;
  transform: rotate(1deg) scale(1.08);
}

@keyframes pay-me-pulse {
  from { filter: brightness(.94); transform: rotate(-1.5deg) scale(1); }
  to { filter: brightness(1.2); transform: rotate(1.2deg) scale(1.055); }
}

main { overflow: clip; }

.timeline-intro {
  width: min(1440px, calc(100% - clamp(36px, 10vw, 152px)));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 118px) 0 clamp(42px, 6vw, 78px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #3d4345;
  font: 800 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 188, 88, .14), 0 0 18px rgba(255, 188, 88, .7);
}

.timeline-intro h1 {
  max-width: 1120px;
  margin: 0;
  color: var(--graphite-deep);
  font: 520 clamp(68px, 10vw, 154px)/.8 Arial, Helvetica, sans-serif;
  letter-spacing: -.095em;
}

.timeline-intro h1 em {
  color: var(--coral);
  font-style: normal;
  font-weight: 820;
}

.timeline-lede {
  max-width: 700px;
  margin: 34px 0 0;
  color: #53595c;
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.55;
}

.timeline-shell {
  width: min(1440px, calc(100% - clamp(36px, 10vw, 152px)));
  margin: 0 auto clamp(72px, 10vw, 142px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 112, 77, .11), transparent 28rem),
    rgba(244, 242, 236, .95);
}

.timeline-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 18px 4px 18px 4px;
  pointer-events: none;
}

.timeline-module-heading,
.timeline-control-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 3vw, 38px);
  color: #6a6f72;
  font: 800 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.timeline-module-heading {
  border-bottom: 1px solid rgba(32,35,40,.14);
}

.timeline-detail {
  --timeline-accent: var(--coral);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  min-height: 570px;
  padding: clamp(22px, 4vw, 58px);
}

.timeline-detail::after {
  content: attr(data-year);
  position: absolute;
  z-index: -1;
  right: clamp(12px, 3vw, 46px);
  top: clamp(22px, 4vw, 54px);
  color: rgba(32, 35, 40, .045);
  font: 800 clamp(116px, 17vw, 270px)/.72 Arial, sans-serif;
  letter-spacing: -.11em;
  pointer-events: none;
}

.timeline-detail[data-accent="violet"] { --timeline-accent: var(--violet); }
.timeline-detail[data-accent="cyan"] { --timeline-accent: #12a9bd; }
.timeline-detail[data-accent="coral"] { --timeline-accent: var(--coral); }
.timeline-detail[data-accent="amber"] { --timeline-accent: #c97900; }
.timeline-detail[data-accent="signal"] { --timeline-accent: #4f7800; }

.timeline-image-frame {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(32,35,40,.22);
  border-radius: 5px 22px 5px 22px;
  background: var(--graphite-deep);
  box-shadow:
    0 2px 0 rgba(255,255,255,.5) inset,
    16px 18px 0 color-mix(in srgb, var(--timeline-accent) 18%, transparent),
    0 32px 62px rgba(25, 26, 27, .22);
  transform: perspective(1000px) rotateY(1.3deg) rotateX(.7deg);
  transform-origin: 70% 50%;
  transition: box-shadow 440ms ease, transform 180ms ease-out;
}

.timeline-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(0deg, rgba(12,13,14,.36), transparent 36%);
  pointer-events: none;
}

.timeline-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.03);
  transform: scale(1.025);
  transition: transform 900ms cubic-bezier(.2,.8,.2,1), filter 500ms ease;
}

.timeline-image-frame:hover img { transform: scale(1.065); filter: saturate(1.05) contrast(1.03); }

.timeline-image-frame figcaption {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 13px;
  max-width: calc(100% - 28px);
  padding: 7px 9px;
  overflow: hidden;
  color: rgba(255,255,255,.78);
  background: rgba(20,23,25,.76);
  font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.timeline-copy {
  align-self: center;
  padding: clamp(12px, 3.5vw, 54px) clamp(4px, 1vw, 20px) clamp(12px, 3.5vw, 54px) clamp(34px, 5vw, 78px);
}

.timeline-copy-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 68px);
  color: #72777a;
  font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.timeline-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--timeline-accent);
  font: 800 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.timeline-category::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 13%, transparent), 0 0 18px color-mix(in srgb, currentColor 55%, transparent);
}

.timeline-copy h2 {
  margin: 0;
  color: var(--graphite-deep);
  font: 780 clamp(50px, 6.5vw, 96px)/.84 Arial, sans-serif;
  letter-spacing: -.08em;
}

.timeline-summary {
  margin: 28px 0 0;
  color: #42484b;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 650;
  line-height: 1.48;
}

.timeline-body {
  max-width: 62ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.timeline-body p { margin: 0 0 10px; }

.timeline-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: min(100%, 250px);
  margin-top: 25px;
  padding: 14px 16px;
  color: #f7f7f2;
  border-color: rgba(255,255,255,.14);
  background: var(--graphite);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.timeline-link:hover,
.timeline-link:focus-visible {
  color: var(--graphite-deep);
  background: var(--signal);
  box-shadow: 0 12px 25px rgba(32,35,40,.2);
  transform: translateY(-2px);
}

.timeline-control {
  border-top: 1px solid rgba(32,35,40,.16);
  background: rgba(233, 229, 220, .68);
}

.timeline-control-heading { padding-bottom: 8px; }
.timeline-control-heading span:last-child { color: #8b8f91; }

.timeline-transport {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 clamp(14px, 3vw, 38px) 12px;
}

.timeline-transport-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 36px;
  padding: 8px 12px;
  color: var(--graphite-deep);
  border: 1px solid rgba(32, 35, 40, .2);
  border-radius: 4px 10px 4px 10px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 4px 10px rgba(32,35,40,.08);
  font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.timeline-transport-button:hover,
.timeline-transport-button:focus-visible,
.timeline-transport-button.is-direction {
  color: #fff;
  border-color: var(--violet);
  background: var(--violet);
  outline: none;
  transform: translateY(-1px);
}

.timeline-transport-button:disabled {
  opacity: .34;
  cursor: default;
  transform: none;
}

.timeline-transport-play {
  min-width: 96px;
  color: #fff;
  border-color: var(--graphite);
  background: var(--graphite);
}

.timeline-transport-play[aria-pressed="true"] {
  color: var(--graphite-deep);
  border-color: var(--signal);
  background: var(--signal);
}

.timeline-transport-icon {
  width: 1em;
  color: var(--signal);
  text-align: center;
}

.timeline-transport-play[aria-pressed="true"] .timeline-transport-icon { color: var(--graphite-deep); }

.timeline-transport-status {
  margin-left: auto;
  color: #6f7477;
  font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.timeline-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding: 16px clamp(14px, 3vw, 38px) 22px;
  cursor: grab;
  overscroll-behavior-inline: contain;
  scroll-behavior: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.timeline-scroll::-webkit-scrollbar { display: none; }
.timeline-scroll.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.timeline-scroll.is-playing { cursor: default; scroll-behavior: auto; scroll-snap-type: none; }

.timeline-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(150px, 18vw, 230px);
  gap: clamp(12px, 2vw, 26px);
  width: max-content;
  min-width: 100%;
  padding: 0 var(--timeline-edge, 2px);
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: var(--timeline-edge, 2px);
  right: var(--timeline-edge, 2px);
  top: 153px;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--coral), var(--amber), var(--signal));
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
}

.timeline-event {
  appearance: none;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 132px 42px 132px;
  grid-template-areas:
    "media"
    "marker"
    "label";
  width: 100%;
  min-height: 306px;
  padding: 0;
  color: var(--ink);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.timeline-event:focus { outline: none; }

.timeline-event.is-below {
  grid-template-areas:
    "label"
    "marker"
    "media";
}

.timeline-event::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  width: 1px;
  background: rgba(32, 35, 40, .3);
  transform: translateX(-50%);
}

.timeline-event.is-above::before {
  top: 112px;
  height: 42px;
}

.timeline-event.is-below::before {
  top: 153px;
  height: 42px;
}

.timeline-event-thumb {
  grid-area: media;
  position: relative;
  display: block;
  align-self: end;
  overflow: hidden;
  width: 100%;
  height: 104px;
  margin-bottom: 14px;
  border: 1px solid rgba(32,35,40,.24);
  border-radius: 3px 13px 3px 13px;
  background: var(--graphite);
  box-shadow: 0 6px 15px rgba(0,0,0,.14);
  filter: grayscale(.18) saturate(.78);
  transform-origin: 50% 100%;
  transition: filter 260ms ease, transform 340ms cubic-bezier(.2,1.4,.4,1), box-shadow 260ms ease;
}

.timeline-event.is-below .timeline-event-thumb {
  align-self: start;
  margin-top: 14px;
  margin-bottom: 0;
  transform-origin: 50% 0;
}

.timeline-event-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(255,255,255,.42);
  background: linear-gradient(145deg, rgba(255,255,255,.18), transparent 36%);
}

.timeline-event-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.timeline-event-marker {
  grid-area: marker;
  display: block;
  align-self: center;
  justify-self: center;
  width: 11px;
  height: 11px;
  border: 3px solid var(--panel);
  border-radius: 50%;
  background: var(--graphite);
  box-shadow: 0 0 0 1px var(--graphite);
  transition: background 220ms ease, box-shadow 220ms ease, transform 340ms cubic-bezier(.2,1.7,.4,1);
}

.timeline-event-label {
  grid-area: label;
  align-self: start;
  padding-top: 12px;
}

.timeline-event.is-below .timeline-event-label {
  align-self: end;
  padding-top: 0;
  padding-bottom: 12px;
}

.timeline-event-label strong,
.timeline-event-label small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-event-label strong {
  color: var(--graphite-deep);
  font: 800 15px/1.15 Arial, sans-serif;
  letter-spacing: -.02em;
}

.timeline-event-label small {
  margin-top: 5px;
  color: #757a7c;
  font: 750 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.timeline-event:hover .timeline-event-thumb,
.timeline-event:focus-visible .timeline-event-thumb,
.timeline-event[aria-current="true"] .timeline-event-thumb {
  filter: grayscale(0) saturate(1.05);
  transform: translateY(-7px) scale(1.035);
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
}

.timeline-event.is-below:hover .timeline-event-thumb,
.timeline-event.is-below:focus-visible .timeline-event-thumb,
.timeline-event.is-below[aria-current="true"] .timeline-event-thumb {
  transform: translateY(7px) scale(1.035);
}

.timeline-event:focus-visible .timeline-event-thumb {
  box-shadow: 0 14px 28px rgba(0,0,0,.24), 0 0 0 3px rgba(115,104,255,.52);
}

.timeline-event[aria-current="true"] .timeline-event-marker {
  background: var(--signal);
  box-shadow: 0 0 0 1px var(--graphite), 0 0 0 7px rgba(187,255,90,.23), 0 0 24px rgba(187,255,90,.7);
  transform: scale(1.55);
}

.timeline-event[data-playhead="true"] .timeline-event-marker {
  background: var(--violet);
  box-shadow: 0 0 0 1px var(--graphite), 0 0 0 6px rgba(115,104,255,.2), 0 0 20px rgba(115,104,255,.55);
  transform: scale(1.35);
}

.timeline-event[data-playhead="true"][aria-current="true"] .timeline-event-marker {
  background: var(--signal);
  box-shadow: 0 0 0 1px var(--graphite), 0 0 0 7px rgba(187,255,90,.23), 0 0 24px rgba(187,255,90,.7);
  transform: scale(1.55);
}

.timeline-event[aria-current="true"] .timeline-event-label strong { color: var(--coral-dark); }

.timeline-message {
  margin: 0;
  padding: 0 clamp(20px, 3vw, 38px) 20px;
  color: var(--coral-dark);
  font: 750 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.timeline-message:empty { display: none; }

.timeline-copy.is-entering > * {
  animation: content-in 520ms both cubic-bezier(.2,.8,.2,1);
}

.timeline-copy.is-entering > *:nth-child(2) { animation-delay: 30ms; }
.timeline-copy.is-entering > *:nth-child(3) { animation-delay: 60ms; }
.timeline-copy.is-entering > *:nth-child(4) { animation-delay: 90ms; }
.timeline-copy.is-entering > *:nth-child(5) { animation-delay: 120ms; }
.timeline-copy.is-entering > *:nth-child(6) { animation-delay: 150ms; }

.timeline-image-frame.is-entering img { animation: image-in 720ms both cubic-bezier(.2,.8,.2,1); }

@keyframes content-in {
  from { opacity: 0; filter: blur(4px); transform: translateY(14px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes image-in {
  from { opacity: .2; filter: blur(8px) saturate(.7); transform: scale(1.085); }
  to { opacity: 1; filter: blur(0) saturate(.92); transform: scale(1.025); }
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 4vw, 62px);
  color: #cfd3cf;
  border-color: rgba(255,255,255,.08);
  border-radius: 0;
  background: var(--graphite);
  font-size: 12px;
}

footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--signal); }

@media (min-width: 901px) {
  html,
  body.timeline-home {
    height: 100%;
    overflow: hidden;
  }

  body.timeline-home {
    display: grid;
    grid-template-rows: 64px minmax(0, 1fr) 38px;
  }

  .site-header {
    min-height: 64px;
    padding: 8px clamp(24px, 3vw, 46px);
  }

  .brand { font-size: 34px; }
  .stripe-badge-header { width: 100px; }

  main {
    display: grid;
    grid-template-rows: 72px minmax(0, 1fr);
    min-height: 0;
    overflow: hidden;
  }

  .timeline-intro {
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr);
    grid-template-areas:
      "eyebrow lede"
      "title lede";
    align-items: center;
    column-gap: 36px;
    width: min(1440px, calc(100% - clamp(36px, 10vw, 152px)));
    padding: 9px 0 11px;
  }

  .timeline-intro .eyebrow {
    grid-area: eyebrow;
    margin: 0 0 5px;
    font-size: 8px;
  }

  .timeline-intro h1 {
    grid-area: title;
    font-size: clamp(34px, 4vw, 48px);
    line-height: .82;
    white-space: nowrap;
  }

  .timeline-lede {
    grid-area: lede;
    justify-self: end;
    max-width: 480px;
    margin: 0;
    font-size: clamp(12px, 1.2vw, 15px);
    line-height: 1.4;
  }

  .timeline-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 31px minmax(0, 1fr) auto;
    height: calc(100% - 8px);
    min-height: 0;
    margin-bottom: 8px;
  }

  .timeline-shell::before { inset: 11px; }

  .timeline-module-heading,
  .timeline-detail,
  .timeline-control,
  .timeline-scroll {
    width: 100%;
    min-width: 0;
  }

  .timeline-control { overflow: hidden; }

  .timeline-module-heading {
    padding: 8px 24px;
  }

  .timeline-detail {
    min-height: 0;
    height: 100%;
    padding: clamp(10px, 1.6vh, 18px) clamp(18px, 2.5vw, 36px);
    grid-template-columns: minmax(0, 1.02fr) minmax(330px, .98fr);
  }

  .timeline-image-frame,
  .timeline-image-frame img {
    height: 100%;
    min-height: 0;
  }

  .timeline-copy {
    overflow: hidden;
    padding: 6px 8px 6px clamp(28px, 4vw, 58px);
  }

  .timeline-copy-topline {
    margin-bottom: clamp(8px, 1.7vh, 17px);
  }

  .timeline-category { margin-bottom: 6px; }

  .timeline-copy h2 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: .86;
  }

  .timeline-summary {
    display: -webkit-box;
    margin-top: clamp(8px, 1.4vh, 15px);
    overflow: hidden;
    font-size: clamp(12px, 1.1vw, 15px);
    line-height: 1.34;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .timeline-body {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.34;
  }

  .timeline-body p {
    display: -webkit-box;
    margin-bottom: 5px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .timeline-link {
    min-width: 210px;
    margin-top: 7px;
    padding: 9px 12px;
    font-size: 10px;
  }

  .timeline-control-heading {
    padding: 7px 24px 5px;
  }

  .timeline-transport {
    padding: 0 24px 6px;
  }

  .timeline-transport-button {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 8px;
  }

  .timeline-scroll { padding-block: 5px 8px; }

  .timeline-track::before { top: 89px; }

  .timeline-event {
    grid-template-rows: 74px 30px 74px;
    min-height: 178px;
  }

  .timeline-event-thumb {
    height: 58px;
    margin-bottom: 9px;
  }

  .timeline-event.is-below .timeline-event-thumb { margin-top: 9px; }
  .timeline-event.is-above::before { top: 61px; height: 29px; }
  .timeline-event.is-below::before { top: 89px; height: 29px; }
  .timeline-event-label { padding-top: 7px; }
  .timeline-event.is-below .timeline-event-label { padding-bottom: 7px; }
  .timeline-event-label strong { font-size: 13px; }
  .timeline-event-label small { margin-top: 3px; font-size: 7px; }

  footer {
    min-height: 38px;
    padding: 8px clamp(24px, 3vw, 46px);
    font-size: 10px;
  }
}

@media (min-width: 901px) and (max-height: 740px) {
  .timeline-detail { padding-block: 8px; }
  .timeline-copy-topline { margin-bottom: 7px; }
  .timeline-summary { margin-top: 7px; -webkit-line-clamp: 1; }
  .timeline-body p:nth-child(n + 2) { display: none; }
  .timeline-link { margin-top: 5px; padding-block: 7px; }
}

@media (max-width: 900px) {
  body.timeline-home {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
  }

  .site-header {
    height: 60px;
    min-height: 60px;
    padding: 8px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left));
  }

  .brand { font-size: clamp(28px, 5vw, 36px); }
  .header-status { gap: 8px; }
  .pay-me-button { padding: 8px 10px; font-size: 9px; }
  .stripe-badge-header { width: 88px; }

  main {
    display: grid;
    grid-template-rows: 64px minmax(0, 1fr);
    height: calc(100vh - 60px);
    height: calc(100svh - 60px);
    min-height: 0;
    overflow: hidden;
  }

  .timeline-intro {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr);
    grid-template-areas:
      "eyebrow lede"
      "title lede";
    align-items: center;
    column-gap: 24px;
    width: min(1440px, calc(100% - 24px));
    padding: 8px 0 10px;
  }

  .timeline-intro .eyebrow {
    grid-area: eyebrow;
    margin: 0 0 4px;
    font-size: 7px;
  }

  .timeline-intro h1 {
    grid-area: title;
    font-size: clamp(32px, 6vw, 44px);
    line-height: .84;
    white-space: nowrap;
  }

  .timeline-lede {
    grid-area: lede;
    justify-self: end;
    max-width: 390px;
    margin: 0;
    font-size: clamp(11px, 1.65vw, 14px);
    line-height: 1.35;
  }

  .timeline-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 28px minmax(0, 1fr) auto;
    width: min(1440px, calc(100% - 24px));
    height: calc(100% - 8px);
    min-height: 0;
    margin-bottom: 8px;
    overflow: hidden;
  }

  .timeline-shell::before { inset: 9px; }

  .timeline-module-heading,
  .timeline-detail,
  .timeline-control,
  .timeline-scroll {
    width: 100%;
    min-width: 0;
  }

  .timeline-module-heading { padding: 7px 16px; }

  .timeline-detail {
    grid-template-columns: minmax(0, .95fr) minmax(240px, 1.05fr);
    min-height: 0;
    height: 100%;
    padding: 10px 14px;
    overflow: hidden;
  }

  .timeline-detail::after { top: 12px; font-size: clamp(88px, 18vw, 150px); }

  .timeline-image-frame,
  .timeline-image-frame img {
    height: 100%;
    min-height: 0;
  }

  .timeline-image-frame { transform: none; }

  .timeline-copy {
    overflow: hidden;
    padding: 4px 4px 4px clamp(18px, 4vw, 36px);
  }

  .timeline-copy-topline { margin-bottom: 9px; }
  .timeline-category { margin-bottom: 5px; font-size: 8px; }
  .timeline-copy h2 { font-size: clamp(34px, 7vw, 52px); line-height: .88; }

  .timeline-summary {
    display: -webkit-box;
    margin-top: 9px;
    overflow: hidden;
    font-size: clamp(11px, 1.7vw, 14px);
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .timeline-body {
    margin-top: 7px;
    font-size: 9px;
    line-height: 1.3;
  }

  .timeline-body p {
    display: -webkit-box;
    margin-bottom: 4px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .timeline-link {
    min-width: 190px;
    margin-top: 6px;
    padding: 8px 10px;
    font-size: 9px;
  }

  .timeline-control { overflow: hidden; }
  .timeline-control-heading { padding: 6px 16px 4px; }
  .timeline-transport { padding: 0 16px 5px; }

  .timeline-transport-button {
    min-height: 29px;
    padding: 6px 9px;
    font-size: 8px;
  }

  .timeline-scroll { padding: 4px 14px 7px; }
  .timeline-track { grid-auto-columns: clamp(128px, 23vw, 176px); gap: 14px; }
  .timeline-track::before { top: 83px; }
  .timeline-event { grid-template-rows: 70px 28px 70px; min-height: 168px; }
  .timeline-event-thumb { height: 54px; margin-bottom: 9px; }
  .timeline-event.is-below .timeline-event-thumb { margin-top: 9px; }
  .timeline-event.is-above::before { top: 57px; height: 27px; }
  .timeline-event.is-below::before { top: 83px; height: 27px; }
  .timeline-event-label { padding-top: 7px; }
  .timeline-event.is-below .timeline-event-label { padding-bottom: 7px; }
  .timeline-event-label strong { font-size: 13px; }
  .timeline-event-label small { margin-top: 3px; font-size: 7px; }

  footer { min-height: auto; }
}

@media (max-width: 620px) {
  .site-header {
    height: 54px;
    min-height: 54px;
    gap: 8px;
    padding-block: 7px;
  }

  .brand { flex: 0 1 auto; min-width: 0; font-size: clamp(23px, 7.5vw, 31px); }
  .header-status { flex: 0 0 auto; gap: 5px; }
  .pay-me-button { gap: 4px; padding: 7px 7px; font-size: 7px; letter-spacing: .08em; }
  .stripe-badge-header { width: 66px; }

  main {
    grid-template-rows: 48px minmax(0, 1fr);
    height: calc(100vh - 54px);
    height: calc(100svh - 54px);
  }

  .timeline-intro {
    display: block;
    width: calc(100% - 16px);
    padding: 6px 0;
  }

  .timeline-intro .eyebrow { margin-bottom: 3px; font-size: 6px; }
  .eyebrow-light { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(255,188,88,.14), 0 0 12px rgba(255,188,88,.7); }
  .timeline-intro h1 { font-size: clamp(27px, 8.8vw, 34px); white-space: nowrap; }
  .timeline-intro h1 em { display: inline; }
  .timeline-lede { display: none; }

  .timeline-shell {
    grid-template-rows: 24px minmax(0, 1fr) auto;
    width: calc(100% - 12px);
    height: calc(100% - 4px);
    margin-bottom: 4px;
    border-radius: 12px 3px 12px 3px;
  }

  .timeline-shell::before { inset: 6px; border-radius: 8px 2px 8px 2px; }
  .timeline-module-heading { padding: 6px 10px; font-size: 7px; }

  .timeline-detail {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(96px, 42%) minmax(0, 58%);
    padding: 6px 8px;
  }

  .timeline-detail::after { right: 5px; top: 40%; font-size: 70px; }
  .timeline-image-frame { border-radius: 3px 12px 3px 12px; box-shadow: 5px 6px 0 color-mix(in srgb, var(--timeline-accent) 16%, transparent), 0 12px 22px rgba(25,26,27,.17); }
  .timeline-copy { align-self: start; padding: 9px 2px 2px; }
  .timeline-copy-topline { margin-bottom: 5px; font-size: 7px; }
  .timeline-category { margin-bottom: 3px; font-size: 7px; }
  .timeline-category::before { width: 6px; height: 6px; }
  .timeline-copy h2 { font-size: clamp(25px, 8vw, 32px); line-height: .9; }
  .timeline-summary { margin-top: 5px; font-size: 9px; line-height: 1.24; }
  .timeline-body { margin-top: 4px; font-size: 8px; line-height: 1.25; }
  .timeline-body p { margin-bottom: 3px; -webkit-line-clamp: 1; }
  .timeline-body p:nth-child(n + 2) { display: none; }
  .timeline-link { width: 100%; min-width: 0; margin-top: 4px; padding: 6px 8px; font-size: 8px; }

  .timeline-control-heading { padding: 5px 10px 3px; font-size: 7px; }
  .timeline-control-heading span:last-child { max-width: 20ch; text-align: right; }
  .timeline-transport { flex-wrap: wrap; gap: 4px; padding: 0 10px 3px; }
  .timeline-transport-button { flex: 1 1 0; min-width: 0; min-height: 25px; padding: 4px 5px; font-size: 7px; letter-spacing: .06em; }
  .timeline-transport-play { min-width: 68px; }
  .timeline-transport-status { flex-basis: 100%; margin: 1px 0 0; font-size: 7px; text-align: center; }

  .timeline-scroll { padding: 2px 10px 4px; }
  .timeline-track { grid-auto-columns: 96px; gap: 10px; }
  .timeline-track::before { top: 65px; }
  .timeline-event { grid-template-rows: 54px 24px 54px; min-height: 132px; }
  .timeline-event-thumb { height: 42px; margin-bottom: 7px; border-radius: 2px 8px 2px 8px; }
  .timeline-event.is-below .timeline-event-thumb { margin-top: 7px; }
  .timeline-event.is-above::before { top: 45px; height: 21px; }
  .timeline-event.is-below::before { top: 65px; height: 21px; }
  .timeline-event-label { padding-top: 5px; }
  .timeline-event.is-below .timeline-event-label { padding-bottom: 5px; }
  .timeline-event-label strong { font-size: 11px; }
  .timeline-event-label small { margin-top: 2px; font-size: 6px; letter-spacing: .08em; }
  .timeline-event-marker { width: 9px; height: 9px; }

  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
