@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #000;
  --paper: #fff;
  --quiet: #6b6b6b;
  --rule: #e6e6e6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
}

main {
  max-width: 32rem;
  margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: #b5b5b5;
  transition: text-decoration-color 0.15s;
}
a:hover { text-decoration-color: var(--ink); }

.portrait {
  display: block;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  margin-bottom: 2.5rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.lede { font-style: italic; }

p + p { margin-top: 1rem; }

section { margin-top: 4rem; }

h2 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

ul { list-style: none; }
li + li { margin-top: 1rem; }

.row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
}
.when {
  color: var(--quiet);
  font-variant-numeric: tabular-nums;
}
.note { color: var(--quiet); }

.back {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--quiet);
}

footer {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

@media (max-width: 560px) {
  html { font-size: 18px; }
  main { padding-top: 4rem; }
  .row { grid-template-columns: 1fr; gap: 0; }
}
