:root {
  --ground: #F6F6F4;
  --ink: #17191B;
  --body: #3B3F42;
  --muted: #63676A;
  --faint: #8B8F92;
  --rule: #DEDEDA;
  --link-rule: #C6C6C1;

  --sans: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: Literata, Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 40px 80px;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--link-rule);
}
a:hover { border-bottom-color: var(--ink); }

/* Identity */

.intro {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.portrait {
  width: 168px;
  height: 168px;
  object-fit: cover;
  display: block;
}

h1 {
  font-family: var(--sans);
  font-size: 45px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.028em;
  margin: 0 0 22px;
}

.lede {
  font-size: 18.5px;
  color: var(--body);
  margin: 0 0 16px;
}
.lede:last-child { margin-bottom: 0; }

/* Sections */

section {
  border-top: 1px solid var(--rule);
  margin-top: 52px;
  padding-top: 48px;
}
.intro + section { margin-top: 64px; }

h2 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin: 0 0 20px;
}

section p {
  color: var(--body);
  margin: 0 0 16px;
  max-width: 64ch;
}
section p:last-child { margin-bottom: 0; }

/* Elsewhere */

.links {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 0;
  margin: 0;
  max-width: 64ch;
  border-bottom: 1px solid var(--rule);
}

.links dt,
.links dd {
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
}

.links dt { font-size: 17px; padding-right: 24px; }
.links dd { font-size: 16px; color: var(--muted); }

/* Footer */

footer p {
  font-family: var(--sans);
  font-size: 14px;
  color: #A5A9AB;
  margin: 44px 0 0;
}

/* Narrow */

@media (max-width: 700px) {
  body { font-size: 16.5px; }

  main { padding: 52px 26px 48px; }

  .intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .portrait { width: 136px; height: 136px; }

  h1 {
    font-size: 32px;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
  }

  .lede { font-size: 17px; margin-bottom: 14px; }

  section { margin-top: 36px; padding-top: 34px; }
  .intro + section { margin-top: 40px; }

  h2 { font-size: 14.5px; margin-bottom: 16px; }

  section p { font-size: 16.5px; margin-bottom: 14px; }

  /* Stack the link rows: term above its description, one rule per pair. */
  .links { grid-template-columns: 1fr; }

  .links dt {
    font-size: 16.5px;
    padding: 13px 0 0;
  }

  .links dd {
    font-size: 15px;
    padding: 3px 0 13px;
    border-top: none;
  }

  footer p { font-size: 13.5px; margin-top: 36px; }
}
