@font-face {
  font-family: "Latin Modern Math";
  src: local("Latin Modern Math"), url("assets/fonts/lm-math/latinmodern-math.otf") format("opentype");
  font-display: swap;
}
math { font-family: "Latin Modern Math", "Cambria Math", math; }
math[display="block"] { display: block math; margin-block: .75rem; }
:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #26343d;
  --navy: #193e60;
  --muted: #52636e;
  --rule: #d7dfe3;
  --serif: Baskerville, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
[hidden] { display: none !important; }
html { scroll-padding-top: 5rem; }
body {
  margin: 0;
  border-top: 4px solid var(--navy);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.62;
}
a, summary { color: var(--navy); }
a { text-decoration-color: #93a5b1; text-decoration-thickness: 1px; text-underline-offset: .21em; }
a:hover, summary:hover { color: #225e85; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid #376d93; outline-offset: 4px; }
main:focus:not(:focus-visible) { outline: none; }
.skip-link { position: absolute; left: 1rem; top: -6rem; padding: .5rem 1rem; background: white; z-index: 5; }
.skip-link:focus { top: .75rem; }
.page { width: min(var(--page-width, 56rem), calc(100% - clamp(2rem, 8vw, 6rem))); margin-inline: auto; }
.about-page { --page-width: 61.25rem; }
main { min-width: 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: .65rem;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.monogram {
  color: var(--navy);
  font: 2.15rem/1 var(--serif);
  letter-spacing: -.085em;
  text-decoration: none;
}
.monogram span { color: #8196a3; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.85rem); margin-left: auto; }
.main-nav a, .cv-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  color: var(--muted);
  font-size: .94rem;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current], .cv-link:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: .38em;
}
.main-nav a[aria-current] { text-decoration-thickness: 2px; }
.cv-link { color: var(--navy); gap: 1rem; }
.cv-link::before { content: ""; height: 1rem; border-left: 1px solid var(--rule); }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.75rem, 4.5vw, 3.75rem); line-height: 1.08; letter-spacing: -.045em; }
h2 { font-size: 1.5rem; line-height: 1.22; letter-spacing: -.027em; }
h3 { font-size: clamp(1.55rem, 2.08vw, 1.95rem); line-height: 1.15; letter-spacing: -.03em; text-wrap: pretty; }
p { margin: 0; }
.about-section {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(2.25rem, calc(12vw - 3.5rem), 4.5rem);
  align-items: start;
  padding-block: clamp(2.4rem, 4vw, 3.75rem);
}
.about-intro, .about-background { min-width: 0; }
.profile-copy h1 { white-space: nowrap; }
.profile-bio { margin-top: 1.5rem; max-width: 69ch; }
.profile-bio p + p { margin-top: .75rem; }
.personal-photos { margin-top: 2.25rem; --photo-gap: clamp(.35rem, 1vw, .625rem); }
.photo-row { display: grid; grid-template-columns: var(--photo-columns); gap: var(--photo-gap); }
.photo-row a { display: block; min-width: 0; }
.photo-row img { display: block; width: 100%; height: auto; border-radius: 2px; }
.more-photos { display: inline-block; margin-top: .4rem; padding-block: .3rem; font-size: .87rem; }
.gallery-photos { --photo-gap: clamp(.5rem, 1.6vw, 1rem); display: grid; gap: var(--photo-gap); }
.position { margin-top: 1rem; font-size: 1.06rem; color: #455968; line-height: 1.5; }
.profile-contact { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-top: .5rem; font-size: .92rem; }
.portrait { width: min(100%, clamp(10.625rem, calc(50vw - 320px), 17.5rem)); height: auto; display: block; border-radius: 2px; }
.content-section { padding: clamp(2.4rem, 4vw, 3.75rem) 0 4rem; }
.content-section > h1 { margin-bottom: clamp(1.65rem, 3vw, 2.4rem); }
.section-body { min-width: 0; max-width: 73ch; }
.research-entry > h2, .project > h2 {
  font-size: clamp(1.55rem, 2.35vw, 1.95rem);
  line-height: 1.2;
  text-wrap: pretty;
}
.content-section article > p, .section-body > p, .background-group > p { text-wrap: pretty; }
.byline, .series-description { color: var(--muted); font-size: .87rem; line-height: 1.55; }
.byline { margin: .53rem 0 .83rem; }
.angular-figure + .section-body, .project + .project { margin-top: 1.9rem; }
.angular-figure + .section-body { padding-top: 1.8rem; border-top: 1px solid #e7ebed; }
.resource { margin-top: .95rem; font-size: .93rem; }
details { font-size: .93rem; }
details summary { cursor: pointer; width: fit-content; }
details summary::marker { font-size: .8em; }
.research-result { margin-top: .75rem; }
.research-questions { margin-top: 1.15rem; }
.research-questions details + details { border-top: 1px solid #e7ebed; }
.research-questions summary { width: 100%; padding: .7rem 0; line-height: 1.45; }
.research-questions p { margin: 0 0 .85rem 1.05rem; max-width: 64ch; }
.candidate-equations { max-width: 100%; overflow-x: auto; }
.candidate-equations math { width: max-content; margin-inline: auto; }
.selected-talks { margin: 1rem 0; padding: 0; list-style: none; }
.selected-talks li + li { margin-top: .45rem; }
sup, sub { font-size: .72em; line-height: 0; }
.project .byline { margin: .42rem 0 .52rem; }
.project + .resource { margin-top: 1.5rem; }
.about-records { margin-top: 2.25rem; }
.background-group + .background-group { margin-top: 1.45rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.background-group h2 { font-size: 1.45rem; }
.exam-list {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.4rem;
  margin: .65rem 0 0;
  padding: 0;
  list-style: none;
}
.exam-list li { white-space: nowrap; font-size: .95rem; }
.exam-list abbr { color: var(--ink); font-weight: 600; text-decoration: none; }
.exam-list time { margin-left: .2rem; color: var(--muted); font-size: .83rem; }
.record-list { margin: .65rem 0 0; display: grid; grid-template-columns: 5.5rem minmax(0,1fr); gap: .55rem .7rem; }
.record-list dt { padding-top: .1rem; font-size: .83rem; line-height: 1.62; color: var(--muted); }
.record-list dd { margin: 0; font-size: .96rem; line-height: 1.55; }
.record-list strong { font-weight: 600; }
.background-details { margin-top: .85rem; }
.background-details .record-list { margin: .85rem 0 0 .95rem; }
.background-group > p { margin-top: .7rem; }
.archive-header { padding: clamp(2.4rem, 4vw, 3.75rem) 0 1.65rem; }
.archive-header h1 { margin-bottom: 1.2rem; }
.archive-header > p { max-width: 65ch; }
.talk-highlights { padding-bottom: 2rem; }
.talk-highlights .selected-talks { margin-bottom: 0; }
.talk-archive { padding-top: 2rem; border-top: 1px solid var(--rule); }
.series-nav, .archive-footer { font-size: .91rem; }
.series-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin: 1.5rem 0; }
.talk-search { margin-top: 1.3rem; }
.talk-search label { display: block; margin-bottom: .35rem; font-size: .91rem; }
.talk-search-controls { display: flex; gap: .8rem; align-items: center; }
.talk-search input {
  width: min(22rem, 68%);
  padding: .45rem .65rem;
  border: 1px solid #a8b7c0;
  background: var(--paper);
  border-radius: 2px;
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
}
.talk-search button {
  padding: .3rem 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-size: .91rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .2em;
}
#talk-search-status { margin-top: .35rem; color: var(--muted); font-size: .85rem; }
.talk-series { border-top: 1px solid var(--rule); padding: 2.1rem 0 2.6rem; }
.talk-series h3 { font-size: 1.6rem; }
.series-description { margin: .45rem 0 1.3rem; }
.talk-list { margin: 0; padding: 0; list-style: none; }
.talk-list li { border-bottom: 1px solid #e7ebed; }
.talk-list a { display: block; width: fit-content; padding: .48rem 0; text-decoration: none; }
.talk-list a:hover, .talk-list a:focus-visible { text-decoration: underline; }
.archive-footer { display: flex; gap: 1.5rem; margin: 0 0 3.5rem; }
@media (max-width: 760px) {
  .about-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30%);
    grid-template-areas:
      "identity portrait"
      "bio bio"
      "records records";
    gap: 1.5rem;
    align-items: center;
    padding-block: 2.2rem;
  }
  .about-intro, .about-background { display: contents; }
  .profile-copy { grid-area: identity; }
  .portrait { grid-area: portrait; justify-self: end; width: min(100%, 12.5rem); }
  .profile-bio { grid-area: bio; margin: 0; }
  .about-records { grid-area: records; width: 100%; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
  .record-list { grid-template-columns: 7rem minmax(0, 1fr); }
}
@media (max-width: 730px) {
  h1 { font-size: clamp(2.4rem, 5.9vw, 2.75rem); }
}
@media (max-width: 550px) {
  .site-header { gap: .9rem; padding-block: .4rem; }
  .monogram { font-size: 1.8rem; }
  .main-nav { gap: clamp(.6rem, 2.8vw, .98rem); }
  .main-nav a, .cv-link { font-size: .875rem; }
  .cv-link { gap: .75rem; }
  .about-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 36%);
    grid-template-areas:
      "name name"
      "identity portrait"
      "bio bio"
      "records records";
    gap: 1.2rem .9rem;
    padding-block: 2rem;
  }
  .profile-copy { display: contents; }
  .profile-copy h1 { grid-area: name; font-size: clamp(2.25rem, 9.6vw, 3.3rem); }
  .profile-affiliation { grid-area: identity; min-width: 0; }
  .position { margin: 0; font-size: 1rem; }
  .content-section { padding-block: 2rem 3rem; }
  .record-list { grid-template-columns: 5.8rem minmax(0,1fr); }
  .exam-list { gap: .35rem .95rem; }
  .archive-header { padding: 2rem 0 1.75rem; }
  .series-nav { display: grid; gap: .55rem; }
  .talk-series h3 { font-size: 1.4rem; }
}
@media (max-width: 390px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand cv" "navigation navigation";
    gap: 0;
  }
  .monogram { grid-area: brand; justify-self: start; }
  .cv-link { grid-area: cv; }
  .cv-link::before { display: none; }
  .main-nav { grid-area: navigation; justify-content: space-between; margin-left: 0; }
}
@media (max-width: 350px) {
  .profile-copy h1 { font-size: 2.05rem; }
}
@media print {
  body { border: 0; color: black; font-size: 10pt; }
  .site-header, .skip-link, .archive-footer, .series-nav, .talk-search { display: none; }
  .page, main { display: block; position: static; width: auto; max-width: none; margin: 0; }
  .about-section { display: block; padding-block: .5rem 1rem; }
  .about-intro, .about-background, .profile-copy { display: block; }
  .profile-bio, .about-background { margin-top: 1rem; }
  .portrait { width: 7rem; }
  .about-records { margin-top: 1rem; }
  .background-group h2 { break-after: avoid; }
  .content-section { padding: 1rem 0; }
  .content-section h2, h3 { break-after: avoid; }
}
