
:root {
  --paper: #f4f1ea;
  --ink: #1c1915;
  --muted: #5e584e;
  --navy: #1a2e61;
  --line: #e3ddd2;
  --card: #fffdf8;
  --amber: #a3620a;
  --olive: #556b2f;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: hidden; }
body {
  overflow-x: hidden;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, .ribbon-scroll:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.top, .foot, main { width: min(720px, calc(100% - 40px)); margin-inline: auto; contain: inline-size; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.brand img { display: block; border-radius: 10px; }
.top nav, .foot nav { display: flex; gap: 16px; font-size: 15px; }
.top nav a, .foot nav a { color: var(--ink); text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; }
.hero { padding: 28px 0 8px; text-align: center; }
.sentence {
  margin: 0;
  font-size: clamp(26px, 6.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.platforms { margin: 14px 0 0; color: var(--muted); }
.lens { margin: 28px 0 0; }
.lens-name { display: block; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.lens-who, .lens-date { display: block; color: var(--muted); }
.lens-who { color: var(--navy); font-weight: 600; }
.stage {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 18px;
  overflow: hidden;
}
.stage.is-pending { opacity: 0; }
.hairline {
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 28px;
  width: 1.5px;
  background: var(--navy);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
.hairline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--paper);
}
.ribbon-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  min-width: 0;
  scrollbar-color: #c9c2b4 transparent;
}
.ribbon-pad { display: flex; align-items: flex-start; width: max-content; min-width: 100%; }
.spacer { flex: none; height: 1px; }
.ribbon-track { position: relative; height: 96px; flex: none; }
.block {
  position: absolute;
  top: 22px;
  height: 40px;
  border-radius: 8px;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.block.is-focus { top: 14px; height: 48px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px currentColor; }
.year {
  position: absolute;
  top: 70px;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hint { text-align: center; color: var(--muted); font-size: 14px; margin: 12px auto 0; width: min(720px, calc(100% - 40px)); }
.card {
  width: min(440px, 100%);
  margin: 28px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px 26px;
}
.kicker {
  margin: 0;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card h1 { margin: 6px 0 0; font-size: 28px; letter-spacing: -0.03em; line-height: 1.15; }
.card-date, .place, .summary { margin: 4px 0 0; }
.place, .card-date { color: var(--muted); }
.summary { margin-top: 12px; }
.prose, .spoken {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
}
.prose { color: #3a342c; }
.spoken { color: var(--navy); font-weight: 600; margin-bottom: 0; }
.beats { margin-top: 64px; display: grid; gap: 36px; }
.beat { display: grid; gap: 14px; }
.beat h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.beat p { margin: 4px 0 0; color: #3a342c; }
.figure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 92px;
  padding: 16px;
}
.ribbon-figure { display: flex; align-items: center; gap: 4px; position: relative; }
.ribbon-figure i { display: block; height: 36px; border-radius: 7px; }
.ribbon-figure b {
  position: absolute;
  left: 46%;
  top: 10px;
  bottom: 10px;
  width: 1.5px;
  background: var(--navy);
}
.life-figure { position: relative; }
.life-band { height: 28px; margin-top: 22px; background: #c5d0e4; border-radius: 7px; position: relative; }
.life-term { position: absolute; right: 0; top: 0; bottom: 0; width: 8%; background: var(--navy); border-radius: 0 7px 7px 0; }
.mark { position: absolute; width: 8px; height: 8px; border-radius: 50%; }
.mark.life { top: 18px; background: var(--navy); }
.mark.speech { top: 10px; background: var(--amber); }
.speech-figure p { margin: 0; color: var(--muted); font-family: Georgia, serif; }
.speech-figure .now { color: var(--navy); font-weight: 600; }
.library-figure { display: grid; gap: 10px; align-content: center; }
.library-figure div { display: flex; align-items: center; gap: 10px; }
.library-figure b { width: 18px; height: 22px; border-radius: 3px; background: var(--navy); display: block; }
.library-figure b.olive { background: var(--olive); }
.library { margin-top: 64px; }
.library h2, .prose-page h1 { font-size: 32px; letter-spacing: -0.03em; margin: 0 0 8px; }
.library ul { list-style: none; padding: 0; margin: 18px 0 0; }
.library li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
}
.library li span { font-weight: 650; }
.library li em { font-style: normal; color: var(--navy); font-weight: 650; }
.library li p, .note, .close p { margin: 0; color: #3a342c; }
.library li p { grid-column: 1 / -1; }
.note, .close { margin-top: 18px; }
.close { margin-top: 48px; }
.foot { padding: 48px 0 64px; color: var(--muted); font-size: 14px; }
.foot p { margin: 12px 0 0; }
.prose-page { padding-top: 36px; }
.prose-page p { font-size: 18px; }
@media (max-width: 520px) {
  .top, .foot, main { width: min(720px, calc(100% - 32px)); }
  .platforms { font-size: 15px; }
  .top nav { gap: 12px; }
}
@media (min-width: 800px) {
  .beat { grid-template-columns: 220px 1fr; align-items: center; gap: 28px; }
}
