:root {
  --paper: #EEF1F3;
  --ink: #1C2541;
  --accent: #2E5C8A;
  --muted: #5C6B7A;
  --hairline: #D2D7DC;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: "Space Grotesk", -apple-system, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration-color: var(--hairline);
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: var(--accent);
}

/* Header */

.site-header {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}

.site-header__nav a {
  font-size: 0.95rem;
}

.site-header__nav a + a {
  margin-left: 1.5rem;
}

/* Main / sections */

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  margin-top: 6rem;
}

section h2 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

/* Hero */

.hero {
  margin-top: 4rem;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: -0.01em;
}

.hero__tagline {
  font-family: "Space Grotesk", -apple-system, sans-serif;
  font-size: 1.3rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

/* Bio */

.bio p {
  margin: 0;
  font-size: 1.15rem;
}

/* Focus areas */

.focus {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.focus__item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.focus__item p {
  margin: 0;
  color: var(--muted);
}

/* Track record / timeline */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline__entry {
  position: relative;
  padding-left: 7.5rem;
  padding-bottom: 3rem;
}

.timeline__entry:last-child {
  padding-bottom: 0;
}

.timeline__entry::before {
  content: "";
  position: absolute;
  left: 5.6rem;
  top: 0.4rem;
  bottom: -3rem;
  width: 1px;
  background: var(--hairline);
}

.timeline__entry:last-child::before {
  display: none;
}

.timeline__date {
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 5rem;
  text-align: right;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--muted);
}

.timeline__dot {
  position: absolute;
  left: calc(5.6rem - 4px);
  top: 0.3rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline__content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.timeline__role {
  font-style: italic;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.timeline__content p:not(.timeline__role) {
  margin: 0;
}

/* Connect */

.connect__note {
  color: var(--muted);
  margin-top: 0;
}

.connect__links {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  font-family: "Space Grotesk", -apple-system, sans-serif;
  font-size: 1rem;
}

.connect__email {
  color: var(--ink);
}

/* Footer */

.site-footer {
  max-width: 680px;
  margin: 6rem auto 0;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--hairline);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__copyright {
  margin-top: 0.75rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
}

/* Responsive */

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .timeline__entry {
    padding-left: 5.5rem;
  }

  .timeline__entry::before {
    left: 3.6rem;
  }

  .timeline__dot {
    left: calc(3.6rem - 4px);
  }

  .timeline__date {
    width: 3rem;
    font-size: 0.68rem;
  }

  .connect__links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
