:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d2430;
  --muted: #5b6472;
  --rule: #e4e0d8;
  --accent: #1f4e79;
  --hero-bg: #13263d;
  --hero-text: #f3efe6;
  --hero-muted: #c3cad4;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11161d;
    --surface: #171d26;
    --text: #e6e8ec;
    --muted: #a0a8b4;
    --rule: #2a323d;
    --accent: #8fb8e0;
    --hero-bg: #0b1420;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 var(--sans);
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--accent); text-underline-offset: 0.2em; }

.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 5rem 0 4rem;
}

.hero a { color: var(--hero-text); }

.portrait {
  display: block;
  width: 116px;
  height: 116px;
  margin: 0 0 1.5rem;
  border-radius: 50%;
  border: 3px solid rgba(243, 239, 230, 0.85);
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-muted);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  text-wrap: balance;
}

.lede {
  margin: 0 0 2rem;
  font-size: 1.1875rem;
  color: var(--hero-muted);
}

.links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.links a {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(243, 239, 230, 0.45);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
}

.links a:hover, .links a:focus-visible { background: rgba(243, 239, 230, 0.1); }

main section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
}

main section:last-child { border-bottom: 0; }

h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
}

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

.timeline > li {
  position: relative;
  padding: 0 0 2rem 1.5rem;
  border-left: 2px solid var(--rule);
}

.timeline > li:last-child { padding-bottom: 0; }

.timeline > li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline h3 { margin: 0; font-size: 1.1875rem; }
.timeline p { margin: 0.25rem 0 0; }
.when { font-size: 0.875rem; color: var(--muted); margin: 0 0 0.25rem !important; }
.org { color: var(--muted); }

.strengths {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.strengths li {
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9375rem;
}

.footer {
  padding-top: 2rem;
  padding-bottom: 3rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.roles {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.roles li { margin-top: 1.1rem; }
.roles li:first-child { margin-top: 0.5rem; }

.role { font-weight: 600; margin: 0 !important; }

.years {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--muted);
  margin-left: 0.5rem;
  white-space: nowrap;
}
