@font-face { font-family: "Geist"; src: url("/fonts/Geist-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #f7f5f1;
  --ink: #16191d;
  --muted: #5d636b;
  --rule: #dcd8d0;
  --accent: #1f5f8b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111417;
    --ink: #e9e6e0;
    --muted: #9aa1a9;
    --rule: #2a2f35;
    --accent: #7db4dc;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 "Inter", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 7rem) 1rem 4rem;
}
h1, h2 { font-family: "Geist", sans-serif; margin: 0; }
h1 { font-weight: 600; font-size: clamp(2.4rem, 7vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; }
h2 {
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0.4rem;
}
a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.role { margin: 0.6rem 0 0; color: var(--muted); font-weight: 500; }
.lede { margin: 1.6rem 0 0; font-size: 1.15rem; max-width: 36rem; }
.links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.6rem; font-weight: 500; }

section { margin-top: 3.2rem; }
ol, ul { list-style: none; margin: 0; padding: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
}
.when { color: var(--muted); font-variant-numeric: tabular-nums; }
.where { color: var(--muted); text-align: right; }

.list li { padding: 0.65rem 0; border-bottom: 1px solid var(--rule); }
.note { display: block; color: var(--muted); font-size: 0.92rem; }

footer { margin-top: 4rem; color: var(--muted); font-size: 0.85rem; }

@media (max-width: 560px) {
  .timeline li { grid-template-columns: 4.5rem 1fr; }
  .where { grid-column: 2; text-align: left; font-size: 0.92rem; }
}
