:root {
  --bg: #0a0a0a;
  --fg: #ececec;
  --muted: #8a8a8a;
  --link: #ececec;
  --rule: #1f1f1f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
}

main {
  max-width: 34rem;
  width: 100%;
  text-align: center;
}

.portrait {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto 1.75rem;
  filter: saturate(1.02);
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw + 1rem, 2.75rem);
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  line-height: 1.1;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.2vw + 0.95rem, 1.3rem);
  line-height: 1.5;
  margin: 0 auto 1rem;
  max-width: 28rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 2.25rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.75rem;
  font-size: 0.95rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.links span {
  color: var(--muted);
}

a {
  color: var(--link);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--muted);
}

a:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 480px) {
  .portrait { width: 120px; height: 120px; }
  body { padding: 2.5rem 1.25rem; }
}
