@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0e2744;
  --navy-deep: #081626;
  --paper: #f7f4ee;
  --white: #ffffff;
  --ink: #142033;
  --slate: #3a4958;
  --line: #ddd6ca;
  --teal: #155a96;
  --teal-dark: #0f3f6e;
  --on-navy: #f7f4ee;
  --on-navy-muted: #d5dee6;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 72rem;
  --read: 42rem;
  --header: 4.25rem;
}

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

html {
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--ink);
}

p,
ul {
  margin: 0;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 0.18em;
}

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

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

.cta-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--on-navy);
}

::selection {
  background: var(--teal);
  color: var(--paper);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40rem;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (min-width: 700px) {
  .wrap {
    width: min(100% - 3rem, var(--max));
  }
}

.accent-bar {
  height: 0.25rem;
  background: var(--teal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.1;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-cred {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.primary-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.25rem;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  text-decoration: underline;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -5px; }
.burger::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }

.nav-panel {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.nav-panel[hidden] { display: none; }

.nav-panel a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-panel a[aria-current="page"] { text-decoration: underline; }

@media (min-width: 1080px) {
  .primary-nav { display: flex; }
  .nav-toggle,
  .nav-panel { display: none !important; }
}

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.75rem 0 3rem;
}

.eyebrow,
.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.lede {
  margin-top: 1.15rem;
  max-width: var(--read);
  font-size: 1.15rem;
  line-height: 1.6;
}

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

.prose > * + *,
.stack > * + * {
  margin-top: 1rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section h2,
.page-title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.section .prose,
.page-intro {
  margin-top: 1.25rem;
}

.portrait-frame {
  background: var(--navy);
  padding: 0.85rem;
  width: min(100%, 22rem);
  justify-self: center;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid rgba(247, 244, 238, 0.35);
}

.card-grid,
.contrib-grid,
.area-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card,
.talk,
.cred-group,
.contact-card,
.pub {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem 1.25rem;
}

.section-alt .card,
.section-alt .talk,
.section-alt .pub,
.section-alt .contact-card {
  background: var(--paper);
}

.card h3,
.contrib h3,
.talk h3,
.cred-group h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.clean-list {
  list-style: none;
  padding: 0;
}

.clean-list li {
  position: relative;
  padding-left: 1.05rem;
  margin: 0.4rem 0;
}

.clean-list li::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.7em;
}

.affiliation p + p { margin-top: 0.9rem; }

.cred-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pub-group { margin-top: 2rem; }

.pub-group h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.pub + .pub { margin-top: 0.75rem; }

.pub p,
.talk p { overflow-wrap: anywhere; }

.talk-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.year {
  margin: 2rem 0 0;
  font-family: var(--serif);
  font-size: 1.6rem;
}

.cta-band {
  background: var(--navy);
  color: var(--on-navy);
}

.cta-band h2 { color: var(--on-navy); margin: 0; }

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.35rem;
  max-width: var(--read);
}

.cta-row a {
  color: inherit;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.25rem;
  padding: 0.7rem 1rem;
  background: var(--navy);
  color: var(--on-navy);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.2rem;
}

.btn:hover { background: var(--teal-dark); color: var(--on-navy); }

.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
}

.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy);
  border-top: 2px solid var(--teal);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  padding: 2.75rem 0;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0;
}

.footer-cred {
  margin: 0.3rem 0 0;
  font-weight: 700;
}

.footer-grid p,
.footer-grid a {
  color: var(--on-navy);
  font-size: 0.95rem;
}

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

.footer-links li + li { margin-top: 0.4rem; }

.legal {
  border-top: 1px solid rgba(247, 244, 238, 0.16);
}

.legal p {
  margin-block: 0;
  padding: 1rem 0 1.15rem;
  color: var(--on-navy-muted);
  font-size: 0.875rem;
}

@media (min-width: 700px) {
  .area-grid,
  .card-grid.cols-2,
  .cred-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section { padding: 4.5rem 0; }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.7fr);
    gap: 3.5rem;
    padding: 4.5rem 0 5rem;
  }

  .portrait-frame { justify-self: end; }

  .contrib-grid { grid-template-columns: 1fr 1fr; }

  .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}
