:root {
  --paper: #f4f1eb;
  --ink: #1a2330;
  --ink-soft: #3d4856;
  --muted: #5c6774;
  --line: #ddd6cb;
  --navy: #162033;
  --navy-deep: #101828;
  --link: #1d3f6e;
  --accent: #6b4330;
  --focus: #1d3f6e;
  --max: 68rem;
  --prose: 40rem;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-deep);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 0.9rem;
  z-index: 10;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
}

.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--ink);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.98rem;
}

.nav-list a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  font-weight: 450;
}

.pronouns {
  font-family: var(--sans);
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  vertical-align: 0.45em;
}

.lede {
  max-width: var(--prose);
  margin: 1.25rem 0 0;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
}

.meta-line {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--navy);
  border-radius: 2px;
  color: var(--navy);
  background: transparent;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.2;
}

.btn:hover {
  background: var(--navy);
  color: #f7f5f1;
}

.btn-fill {
  background: var(--navy);
  color: #f7f5f1;
}

.btn-fill:hover {
  background: var(--navy-deep);
  color: #fff;
}

.glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
  margin: 3.25rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.glance p {
  margin: 0;
}

.glance strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.3;
}

.glance span {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

section,
.hero {
  scroll-margin-top: 4.75rem;
}

section {
  padding: 4.25rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.prose {
  max-width: var(--prose);
}

.prose p {
  margin: 0 0 1rem;
}

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

.role {
  display: grid;
  grid-template-columns: 12.5rem 1fr;
  gap: 0.4rem 2.5rem;
  padding: 1.85rem 0;
  border-top: 1px solid var(--line);
}

.role:first-of-type {
  border-top: 0;
  padding-top: 0.4rem;
}

.when {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.role h3 {
  margin: 0;
  font-size: 1.65rem;
}

.org {
  margin: 0.25rem 0 0.75rem;
  color: var(--ink-soft);
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li {
  margin: 0.35rem 0;
  padding-left: 0.15rem;
}

li::marker {
  color: var(--accent);
}

.skill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.skill-grid h3 {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
}

.study {
  padding: 1.75rem 0 0.25rem;
  border-top: 1px solid var(--line);
}

.study:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.study h3 {
  margin: 0 0 0.55rem;
  font-size: 1.7rem;
}

.study .prose {
  margin-bottom: 0.85rem;
}

.edu-block h3 {
  margin: 0;
  font-size: 1.7rem;
}

.edu-block p {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.contact-list li {
  margin: 0.55rem 0;
}

.contact-list span {
  display: inline-block;
  min-width: 6.5rem;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

footer p {
  margin: 0;
}

@media (max-width: 800px) {
  body {
    font-size: 1.0625rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  section,
  .hero {
    scroll-margin-top: 7.5rem;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 1rem;
    row-gap: 0.2rem;
  }

  .pronouns {
    display: block;
    margin-top: 0.45rem;
    font-size: 1rem;
    vertical-align: baseline;
    letter-spacing: 0.01em;
  }

  .glance,
  .role,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .glance {
    gap: 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .lede {
    font-size: 1.22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .actions,
  footer {
    display: none;
  }

  body {
    background: #fff;
    font-size: 11pt;
  }

  section {
    padding: 1rem 0;
    break-inside: avoid;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}
