:root {
  color-scheme: light;
  --ink: #202830;
  --muted: #56616c;
  --accent: #205876;
  --line: #d7dfe4;
  --sans: Optima, Candara, Calibri, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 1rem/1.5 var(--sans);
  overflow-wrap: break-word;
}
a { color: var(--accent); text-underline-offset: .16em; }
a:hover { color: #123b52; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.page-shell { width: min(100% - 3rem, 56rem); margin: 0 auto; }
.skip-link { position: absolute; left: 1rem; top: .5rem; transform: translateY(-180%); background: #fff; padding: .5rem; }
.skip-link:focus { transform: translateY(0); }
.site-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.3rem; justify-content: flex-end; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.site-nav a { font-size: .9375rem; text-decoration: none; }
.profile { display: grid; grid-template-columns: 17rem minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "portrait details" "portrait intro"; column-gap: 1.75rem; row-gap: .7rem; padding: 1.5rem 0 .5rem; }
.profile-portrait { grid-area: portrait; align-self: center; width: 100%; aspect-ratio: 3 / 4; display: grid; place-items: center; }
.profile-photo { display: block; width: 94%; height: auto; }
.profile-details { grid-area: details; align-self: start; min-width: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: 2rem; line-height: 1.2; font-weight: 600; margin-bottom: .25rem; }
.affiliation { color: var(--muted); margin-bottom: .5rem; }
.contact-line { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: 1rem; overflow-wrap: anywhere; }
.contact-line > a:first-child { flex-basis: 100%; }
.intro { grid-area: intro; align-self: end; min-width: 0; font: 1rem/1.55 Georgia, "Times New Roman", serif; }
.intro p + p { margin-top: .65rem; }
section { margin-top: 1.5rem; }
h2 { font-size: 1.375rem; line-height: 1.3; color: var(--accent); padding-bottom: .3rem; margin-bottom: .85rem; border-bottom: 1px solid var(--line); }
h3, h4 { font-size: 1rem; line-height: 1.45; font-weight: 600; }
.dated-entry { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; margin-bottom: .65rem; }
.dated-entry p { margin-top: .15rem; }
.institution { font-weight: 500; color: var(--muted); }
.date { color: var(--muted); white-space: nowrap; }
.research-group { margin-top: 1.65rem; }
.research-group:first-of-type { margin-top: .9rem; }
.subheading { color: var(--accent); font-size: 1.25rem; font-weight: 650; padding-bottom: .3rem; border-bottom: 1px solid var(--line); margin: 0 0 .8rem; }
.paper { margin-bottom: 1rem; }
.paper:last-child { margin-bottom: 0; }
.paper p { margin-top: .2rem; }
.paper h4 a { text-decoration: none; }
.paper h4 a:hover { text-decoration: underline; }
.dated-list, .report-list { list-style: none; margin: 0; padding: 0; }
.dated-list li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; margin-bottom: .3rem; }
.experience-entry + .experience-entry { margin-top: 1.25rem; }
.experience-entry p { margin-top: .25rem; }
.project-title { font-style: italic; }
.entry-meta { color: var(--muted); font-size: .9375rem; }
.policy-reports { margin-top: .65rem; }
summary { color: var(--accent); cursor: pointer; width: fit-content; padding: .15rem 0; }
.report-list { margin-top: .65rem; }
.report-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .65rem; margin-bottom: .45rem; }
.uptake { color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 1.6rem; padding: .75rem 0 1.25rem; color: var(--muted); font-size: .875rem; }
@media (max-width: 56rem) {
  .profile { grid-template-columns: 9rem minmax(0, 1fr); grid-template-rows: auto auto; grid-template-areas: "portrait details" "intro intro"; gap: 1rem; }
  .profile-details { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
  .intro { align-self: start; }
}
@media (max-width: 640px) {
  .page-shell { width: calc(100% - 2rem); }
  .site-nav { justify-content: flex-start; gap: .3rem 1rem; }
  .profile { grid-template-columns: clamp(80px, 28vw, 112px) minmax(0, 1fr); grid-template-areas: "portrait details" "intro intro"; gap: 1rem; padding-top: 1.25rem; }
  h1 { font-size: clamp(1.4rem, 5.8vw, 1.8rem); }
  .affiliation { line-height: 1.4; }
  .contact-line { column-gap: .8rem; font-size: .9375rem; }
  .dated-entry, .dated-list li { grid-template-columns: 1fr; gap: .1rem; margin-bottom: .65rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-nav, .skip-link { display: none; }
  .page-shell { width: 100%; }
  body { font-size: 10pt; }
  section { break-inside: auto; }
  h2, h3 { break-after: avoid; }
  .paper, .dated-entry { break-inside: avoid; }
  a { color: inherit; }
}
