:root {
  --bg: #faf9f6;
  --text: #1a1917;
  --muted: #5c5852;
  --accent: #8b1e1e;
  --border: #e2dfd8;
  --code-bg: #f1efe9;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding: 3rem 1.25rem;
}

.container {
  max-width: 680px;
  margin: 0 auto;
}

.hero {
  padding-bottom: 2.25rem;
  border-bottom: 2px solid var(--text);
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.name {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2.25rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.tagline {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 54ch;
}

section {
  margin-bottom: 2.75rem;
}

h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.bio p {
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.bio p:last-child {
  margin-bottom: 0;
}

.contact-intro {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.contact-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  min-width: 140px;
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  text-decoration: underline;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
}

.pgp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  background-color: var(--code-bg);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  word-break: break-all;
}

.footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 520px) {
  body {
    padding: 2rem 1rem;
  }

  .contact-list li {
    flex-direction: column;
    gap: 0.25rem;
  }
}
