/* History of payments page only. Uses the site's variables from site.css. */
.history .wrap { max-width: 1040px; }
.history .article > *:not(.film):not(.timeline) { max-width: 760px; }
.history .film { margin: var(--s-10) 0 0; }
.history .film figcaption { max-width: 760px; }
.history h2.part { margin-top: var(--s-16); }

.timeline { list-style: none; padding: 0 !important; margin: var(--s-10) 0 0 !important; border-top: 1px solid var(--line); }
.timeline > li { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: var(--s-8); padding: var(--s-10) 0; margin: 0 !important; border-bottom: 1px solid var(--line); max-width: none; }
.timeline .year { font-weight: 800; font-size: clamp(56px, 8vw, 96px); line-height: .9; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline .year.word { font-size: clamp(44px, 6vw, 72px); }
.timeline h3 { font-size: 24px; line-height: 32px; letter-spacing: -0.02em; margin: 0 0 var(--s-3); color: var(--ink); }
.timeline p { max-width: 60ch; }
.timeline .src { margin-top: var(--s-3); font-family: var(--mono); font-size: 12px; line-height: 18px; color: var(--faint); }
.timeline .src a { color: var(--slate); }
.timeline > li.stop .year { color: var(--faint); }
.timeline > li.next { border-bottom: 0; }
.timeline > li.next .year { color: var(--blue-ink); }

.credits { font-size: 14px; line-height: 22px; }
.credits li { color: var(--slate) !important; }

@media (max-width: 720px) {
  .timeline > li { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-8) 0; }
}
