:root {
  --bg: #fbfaf7;
  --fg: #1c1b19;
  --muted: #5a574f;
  --link: #8a4b2f;
  --rule: #e5e1d8;
  --maxw: 42rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1.125rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 2.5rem 1.25rem 3rem;
}

main, footer {
  max-width: var(--maxw);
  margin: 0 auto;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1rem; }

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover { text-decoration: none; }

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.95rem;
}

footer a { color: var(--muted); }

.headshot {
  display: block;
  width: 12rem;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 0 1.5rem;
}
