@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f1f4f8;
  --ink: #14202e;
  --muted: #526276;
  --line: #d3dae4;
  --blue: #2f5bea;
  --amber: #d9831f;
  --link: #2448c8;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1621;
    --ink: #e8edf4;
    --muted: #9aa8b9;
    --line: #25313f;
    --blue: #7fa0ff;
    --amber: #f2b25c;
    --link: #8fb0ff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; z-index: 5; }
.skip:focus { left: 0; }

.page { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }

/* ---- hero ---- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
}
.hero h1 {
  font: 600 clamp(3rem, 8.5vw, 6rem)/0.98 var(--serif);
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
}
.statement { font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.5; max-width: 28em; margin: 0 0 2rem; }
.elsewhere { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; list-style: none; margin: 0; padding: 0; font: 500 1rem var(--sans); }
.elsewhere a { color: var(--ink); text-decoration-color: var(--line); text-decoration-thickness: 2px; }
.elsewhere a:hover { text-decoration-color: var(--blue); }

.plot { margin: 0; }
.plot canvas { display: block; width: 100%; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 4px; background: color-mix(in srgb, var(--paper) 70%, var(--line)); }
.plot figcaption { font: 400 0.875rem/1.45 var(--sans); color: var(--muted); margin-top: 0.7rem; max-width: 34em; }

/* ---- sections ---- */
.section {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem 3rem;
  padding-block: 2.75rem 3rem;
  border-top: 1px solid var(--line);
}
.section h2 { font: 600 1.35rem/1.25 var(--serif); margin: 0; letter-spacing: -0.005em; }
.entries { list-style: none; margin: 0; padding: 0; max-width: 44rem; }
.entries li { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.entries li:first-child { padding-top: 0; border-top: 0; }
.entries li:last-child { padding-bottom: 0; }
.entries .title { font: 600 1.15rem/1.35 var(--serif); }
.entries p { margin: 0.3rem 0 0; color: var(--muted); }
.venue { font-style: italic; }
.section > p { margin: 0; max-width: 36rem; }

.prose { max-width: 36rem; }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

footer { border-top: 1px solid var(--line); padding-block: 2rem 3rem; color: var(--muted); font: 400 0.9rem var(--sans); }

@media (max-width: 52rem) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .plot canvas { aspect-ratio: 4 / 3; }
  .section { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: 2.25rem; }
}
