:root {
  --bg: #f4f4f4;
  --name: #4a4243;
  --text: #6b6263;
  --icon: #5f5758;
  --icon-hover: #2b2526;
  --muted: #8a8283;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1d1d;
    --name: #ece7e7;
    --text: #b9b1b2;
    --icon: #b9b1b2;
    --icon-hover: #ffffff;
    --muted: #7d7677;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Quicksand", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.avatar {
  width: clamp(88px, 14vw, 104px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  margin: 1.5rem 0 0.75rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  line-height: 1.1;
  color: var(--name);
}

.tagline {
  max-width: 38ch;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 3.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.6;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 5.5rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.6rem;
  color: var(--icon);
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}

.socials a svg { width: 1.9rem; height: 1.9rem; }
.socials a svg.icon-substack { width: 1.52rem; height: 1.52rem; }

.socials a:hover,
.socials a:focus-visible {
  color: var(--icon-hover);
  transform: translateY(-2px);
}

.footer {
  margin: 2.5rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
}
