/* The archive and its articles share the typography and blue of the introduction. */
.story-page { background: var(--paper); }
.story-page .story-main { padding-block: clamp(100px, 12vw, 156px) clamp(68px, 8vw, 112px); }
.story-heading { margin: 0 0 clamp(32px, 4.5vw, 64px); max-width: 880px; }
.story-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.story-crumb span { color: var(--accent-line); }
.story-crumb a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.story-heading h1 { max-width: 22em; margin: 35px 0 16px; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.25; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.story-tag { margin: 40px 0 0; color: var(--accent); font-size: 13px; font-weight: 600; }
.story-tag + h1 { margin-top: 10px; }
.story-deck { max-width: 650px; color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.8; }
.story-byline { margin-top: 20px; color: var(--muted); font-size: 12px; }
.story-byline span { padding: 0 4px; }
.story-detail { max-width: 1040px; }
.story-detail .story-heading, .story-copy, .story-detail .story-return { max-width: 740px; margin-inline: auto; }
.story-figure { margin: 0 auto clamp(30px, 4vw, 52px); }
.story-figure img { display: block; width: auto; height: auto; max-width: 100%; max-height: 70svh; margin-inline: auto; }
.story-copy { padding-top: 24px; border-top: 1px solid var(--line); }
.story-copy p { margin: 0; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.95; }
.story-copy p + p { margin-top: 1.15em; }
.story-copy .story-credit { margin-top: 32px; color: var(--muted); font-size: 12px; }
.story-return { padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); }
.story-collection-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; padding: 7px 0; border-bottom: 1px solid var(--accent-line); font-size: 14px; font-weight: 600; color: var(--accent); }
.story-return .story-collection-link { margin-top: 0; }
.story-collection-link:hover { border-bottom-color: currentColor; }
.story-headlines { margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.story-headlines a { display: grid; grid-template-columns: 140px 1fr auto; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.story-headlines a:hover strong { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.story-headlines span, .story-headlines time { color: var(--muted); font-size: 12px; }
.story-headlines strong { font-size: 17px; line-height: 1.6; font-weight: 550; word-break: keep-all; }
.archive-grid { row-gap: 36px; }
.journal-filters { display: flex; align-items: stretch; gap: clamp(10px, 2vw, 28px); border-bottom: 1px solid var(--line); margin: 0 0 30px; }
.journal-filters a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 2px; min-height: 46px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 15px; font-weight: 550; white-space: nowrap; }
.journal-filters a[aria-current="page"] { color: var(--accent); border-bottom-color: currentColor; font-weight: 650; }
.journal-filters a:hover { color: var(--accent); }
.journal-filters span { font: 500 11px/1 var(--display); font-variant-numeric: tabular-nums; }
.story-map-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.story-map-links li { border-block: 1px solid var(--line); }
.story-map-links a { display: flex; align-items: center; gap: 14px; height: 100%; padding-block: 16px; }
.story-map-links img { display: block; width: clamp(56px, 6vw, 76px); height: 68px; object-fit: cover; flex: none; }
.story-map-links small { display: block; margin-bottom: 5px; color: var(--accent); font-size: 12px; font-weight: 550; }
.story-map-links strong { display: block; color: var(--ink); font-size: 15px; font-weight: 550; line-height: 1.55; word-break: keep-all; }
.story-map-links a:hover strong { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.archive-grid .about-network-story-link { background: var(--ivory); }
.archive-grid .story-card-title { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; margin: 0; font-weight: 600; letter-spacing: -.035em; }
#branches { scroll-margin-top: 80px; }
@media (max-width: 760px) {
  .story-map-links { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .story-map-links li { border-top: 0; }
  .story-map-links a { padding-block: 12px; }
  .story-map-links img { width: 76px; height: 58px; }
}
@media (max-width: 600px) {
  .story-headlines a { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .story-headlines strong { grid-column: 1 / -1; grid-row: 2; }
  .story-heading h1 { margin-top: 22px; }
  .story-tag + h1 { margin-top: 8px; }
  .story-deck { line-height: 1.7; }
  .story-main .story-heading { margin-bottom: 30px; }
}
