:root {
  --ink: #172033;
  --muted: #5d6678;
  --paper: #ffffff;
  --soft: #f3f6f8;
  --line: #dce3e8;
  --accent: #8b1e3f;
  --accent-dark: #64132c;
  --max: 1120px;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.65; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 0 max(24px, calc((100vw - var(--max))/2)); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-size: .92rem; color: var(--muted); }
.nav a:hover { color: var(--accent); }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 8px 12px; }
.section { max-width: var(--max); margin: 0 auto; padding: 92px 24px; }
.muted { max-width: none; padding-left: max(24px, calc((100vw - var(--max))/2)); padding-right: max(24px, calc((100vw - var(--max))/2)); background: var(--soft); }
.hero { display: grid; grid-template-columns: 1.65fr .8fr; gap: 72px; align-items: center; min-height: auto; padding-top: 72px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .95; letter-spacing: -.065em; }
h1 span { display: block; margin-top: 18px; font-size: clamp(1.25rem, 2.3vw, 2rem); color: var(--muted); letter-spacing: -.025em; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; }
h3 { margin-top: 0; letter-spacing: -.02em; }
.role { margin: 30px 0 18px; font-weight: 700; }
.lead { max-width: 760px; font-size: 1.2rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 20px; }
.profile-cv-download,
.profile-cv-download:visited,
.profile-cv-download:hover,
.profile-cv-download:focus-visible,
.profile-cv-download:active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink) !important;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color .18s ease;
}
.profile-cv-download svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.profile-cv-download:hover,
.profile-cv-download:focus-visible {
  color: var(--ink) !important;
  text-decoration: underline;
}
@media (max-width: 760px) {
  .mobile-profile-card .profile-facts-streamlined > .cv-profile-row {
    padding-top: .55rem !important;
    padding-bottom: .65rem !important;
  }
  .mobile-profile-card .cv-profile-row dt {
    margin-bottom: .18rem !important;
  }
  .mobile-profile-card .cv-profile-row dd,
  .mobile-profile-card .profile-cv-download {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 12px; text-decoration: none; font-weight: 750; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: var(--accent-dark); }
.secondary { border: 1px solid var(--line); background: white; }
.quick-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; color: var(--muted); }
.quick-links a, .text-link { text-underline-offset: 4px; }
.profile-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 70px rgba(22,32,51,.1); }
.avatar { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; margin-bottom: 28px; background: var(--accent); color: white; font-size: 2rem; font-weight: 800; }
.profile-card ul { padding-left: 20px; }
dl { margin: 28px 0 0; }
dl div { padding: 14px 0; border-top: 1px solid var(--line); }
dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
dd { margin: 4px 0 0; font-weight: 700; }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.split-heading { max-width: none; display: flex; justify-content: space-between; gap: 32px; align-items: end; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; font-size: 1.08rem; }
.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { padding: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.card.featured { border-color: rgba(139,30,63,.45); box-shadow: 0 20px 60px rgba(139,30,63,.09); }
.card-label { color: var(--accent); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.research-question { margin-top: 48px; padding: 34px 38px; color: white; background: var(--ink); border-radius: var(--radius); }
.research-question .eyebrow { color: #efb5c5; }
blockquote { margin: 0; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -.03em; }
.corresponding-author-note { margin: -1.25rem 0 1.1rem; color: var(--muted); font-size: .9rem; }
.corresponding-author-note sup, .corresponding-author-mark { color: var(--accent); font-weight: 800; }
.corresponding-author-mark { margin-left: .08em; font-size: .72em; line-height: 0; }
.publication-list { padding: 0; margin: 0; list-style: none; }
.publication-list li { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.year { color: var(--accent); font-weight: 800; }
.cards-inline article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.clean-list { padding-left: 20px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: .92rem; }
.note { margin-top: 28px; max-width: 850px; color: var(--muted); }
.timeline article { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline article > span { color: var(--accent); font-weight: 800; }
.timeline p { margin-bottom: 0; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.metric-grid article { padding: 28px; background: var(--soft); border-radius: var(--radius); }
.metric-grid strong { display: block; font-size: 2rem; color: var(--accent); }
.metric-grid span { color: var(--muted); }
.grant-list { margin-top: 28px; padding-left: 20px; }
.collaborate { display: flex; justify-content: space-between; gap: 48px; align-items: center; margin-bottom: 82px; border: 1px solid var(--line); border-radius: var(--radius); }
.collaborate p { max-width: 720px; }
footer { display: grid; grid-template-columns: 1fr auto; gap: 28px; padding: 48px max(24px, calc((100vw - var(--max))/2)); color: white; background: var(--ink); }
footer p { color: #c5ccd8; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.copyright { grid-column: 1/-1; margin-bottom: 0; font-size: .82rem; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 18px 24px; background: white; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .hero, .two-column, .card-grid.three, .metric-grid { grid-template-columns: 1fr; }
  .hero { gap: 44px; min-height: auto; }
  .split-heading, .collaborate { align-items: flex-start; flex-direction: column; }
  .publication-list li, .timeline article { grid-template-columns: 1fr; gap: 6px; }
  footer { grid-template-columns: 1fr; }
}
.headshot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 14px;
  margin-bottom: 28px;
  background: var(--soft);
}
@media (max-width: 820px) {
  .profile-card { max-width: 520px; }
  .headshot { aspect-ratio: 1 / 1.15; object-position: center 18%; }
}

/* Publication overview */
.section-summary {
  max-width: 760px;
  margin-top: 0.65rem;
  color: var(--muted);
}
.publication-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0.5rem 0 1.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.publication-count strong {
  font-size: 1.8rem;
  line-height: 1;
}
.publication-count span {
  color: var(--muted);
  font-weight: 600;
}
