/* instrument-sans-latin-ext-wght-normal */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/instrument-sans-latin-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* instrument-sans-latin-wght-normal */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/instrument-sans-latin.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: light;
  --ink: #172328;
  --secondary: #505d65;
  --blue: #224da5;
  --line: #ccd3d6;
  --background: #fff;
  font: 100%/1.55 "Instrument Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(1136px, calc(100% - 96px)); margin-inline: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; background: white; padding: .5rem; z-index: 1; }
.skip:focus { top: 1rem; }
.masthead, footer, .reading, nav { display: flex; align-items: center; }
.masthead, footer { justify-content: space-between; border-bottom: 1px solid var(--line); }
.masthead { min-height: 76px; }
.wordmark { font-weight: 700; font-size: 24px; letter-spacing: -.035em; text-decoration: none; color: var(--ink); }
nav { gap: 28px; }
nav a, footer a { font-size: 14px; font-weight: 550; color: var(--ink); }
nav a { text-decoration: none; padding-block: 8px; }
nav a:hover { text-decoration: underline; }
.lead {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  align-items: center;
  gap: clamp(35px, 6.2vw, 95px);
  padding-block: clamp(44px, 5.8vw, 76px);
}
p, h1, h2, figure, dl, dd { margin: 0; }
.date, .byline, figcaption, footer { color: var(--secondary); }
.date, .byline { font-size: 15px; }
h1 { font-size: clamp(40px, 4.1vw, 58px); line-height: 1.075; font-weight: 555; letter-spacing: -.035em; margin: 14px 0 18px; text-wrap: balance; }
.byline { color: var(--ink); font-weight: 525; margin-bottom: 28px; }
.abstract, .result { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.48; max-width: 49ch; }
.result { margin-top: 12px; }
.result .math { font-weight: 650; }
.math { white-space: nowrap; }
sup { font-size: .64em; line-height: 0; }
.reading { margin-top: 30px; gap: 24px; flex-wrap: wrap; }
.reading a { font-size: 15px; font-weight: 600; }
.paper-link { padding: 10px 14px; color: white; background: var(--blue); text-decoration: none; }
.paper-link:hover { background: #173b82; }
.paper-link span { font-size: 11px; margin-left: 10px; font-weight: 500; }
figure { min-width: 0; padding: 18px 0 0; border-top: 2px solid var(--ink); }
figure h2 { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
canvas { display: block; width: 100%; height: auto; aspect-ratio: 480 / 294; }
.controls { display: flex; border-bottom: 1px solid var(--line); gap: 14px; }
button { background: none; color: var(--secondary); padding: 7px 2px; min-height: 42px; font: 550 14px "Instrument Sans", Arial, sans-serif; cursor: pointer; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; }
button:hover { color: var(--blue); }
button[aria-pressed="true"] { color: var(--blue); border-bottom-color: var(--blue); }
figcaption { font-size: 15px; line-height: 1.45; margin-top: 12px; min-height: 3em; }
section { display: grid; grid-template-columns: 24% 1fr; gap: 4%; border-top: 1px solid var(--line); padding: 38px 0 42px; scroll-margin-top: 16px; }
section h2 { font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.section-text { max-width: 72ch; font-size: 17px; line-height: 1.62; }
.section-text p + p { margin-top: 12px; }
.resources { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: 18px 0 0; font-size: 15px; }
.timeline { margin-top: 20px; display: grid; grid-template-columns: minmax(120px, 23%) 1fr; gap: 0 14px; }
.timeline dt, .timeline dd { padding: 14px 0; border-top: 1px solid var(--line); }
.timeline dt { font-size: 14px; font-weight: 600; }
.timeline dd { font-size: 16px; }
footer { border-top: 1px solid var(--line); border-bottom: 0; min-height: 74px; font-size: 14px; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 56px); }
  .lead { gap: 32px; }
  h1 { font-size: clamp(36px, 5vw, 46px); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 62px; }
  nav { gap: 17px; }
  .wordmark { font-size: 22px; }
  .lead { grid-template-columns: 1fr; gap: 36px; padding-block: 34px; }
  h1 { font-size: clamp(33px, 8.1vw, 46px); margin: 10px 0 12px; }
  .byline { margin-bottom: 21px; }
  .reading { margin-top: 22px; }
  figure { width: 100%; max-width: 500px; }
  section { grid-template-columns: 1fr; gap: 15px; padding: 28px 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline dt { padding-bottom: 2px; }
  .timeline dd { padding-top: 0; border: 0; }
}
