:root {
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #2563b8;
  --bg: #fdfdfb;
  --border: #e5e5e0;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
}

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

html {
  font-size: 17px;
}

body {
  font-family: var(--serif);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

a:hover {
  border-bottom-color: var(--accent);
}

.profile {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-text h1 {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.tagline {
  color: var(--muted);
  margin-bottom: 0.65rem;
  font-style: italic;
}

.contact {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-size: 0.92rem;
}

.bio {
  margin-bottom: 2.75rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

section + section {
  margin-top: 2.5rem;
}

h2 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.35rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
}

.timeline {
  display: grid;
  grid-template-columns: 10rem 1fr;
  column-gap: 1.5rem;
  row-gap: 1.4rem;
}

.timeline dt {
  color: var(--muted);
  font-size: 0.92rem;
  padding-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}

.timeline dd {
  margin: 0;
}

.timeline .role {
  margin-bottom: 0.25rem;
}

.timeline .org {
  color: var(--muted);
}

.timeline .org::before {
  content: " \00b7  ";
}

.timeline dd p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 600px) {
  main {
    padding: 2.5rem 1.25rem 2rem;
  }
  .profile {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1rem;
  }
  .contact {
    justify-content: center;
  }
  .timeline {
    grid-template-columns: 1fr;
    row-gap: 0.4rem;
  }
  .timeline dt {
    margin-top: 1.25rem;
    font-weight: 600;
  }
  .timeline dt:first-child {
    margin-top: 0;
  }
}
