:root {
  color-scheme: light;
  --ink: #252c33;
  --muted: #59636b;
  --blue: #275d80;
  --blue-dark: #164464;
  --line: #dce2e6;
  --soft: #f5f8fa;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 106.25%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: #fff; color: var(--ink); line-height: 1.6; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
button { font: inherit; }
[hidden] { display: none !important; }
.view-anchor { position: absolute; top: 0; }
.teaching-only { display: none; }
body:has(#teaching:target, #teaching-main:target) .research-only { display: none; }
body:has(#teaching:target, #teaching-main:target) .teaching-only { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: calc(100% - 80px); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -6rem; padding: .7rem 1rem; background: #fff; z-index: 5; }
.skip-link:focus { top: .5rem; }
.site-header { border-top: 3px solid var(--blue); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.wordmark { font-size: 1.4rem; font-weight: bold; text-decoration: none; }
.surname { font-variant-caps: small-caps; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem 1.6rem; }
.site-nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--blue); text-decoration: underline; }
body:not(:has(#teaching:target, #teaching-main:target)) [data-view='research'],
body:has(#teaching:target, #teaching-main:target) [data-view='teaching'] { color: var(--blue); text-decoration: underline; }
.profile { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 64px; align-items: start; padding-block: 54px 46px; }
.portrait { display: block; width: 236px; height: 295px; object-fit: cover; object-position: center 16%; border-radius: 3px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: 2.6rem; font-weight: normal; line-height: 1.15; letter-spacing: -.035em; margin-bottom: .45rem; }
.affiliation { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.2rem; }
.bio p { margin-bottom: .85rem; }
.profile-links { font-size: .94rem; line-height: 1.6; margin-top: .35rem; }
.profile-links > a { margin-right: 1.1rem; }
.contact { margin: .6rem 0 0; color: var(--muted); font-size: .9rem; }
.contact a { overflow-wrap: anywhere; }
.contact span { display: inline-block; margin-right: 1.3rem; }
.section-heading { font-weight: normal; font-size: 1.9rem; line-height: 1.3; margin: 0 0 1.15rem; padding-bottom: .55rem; border-bottom: 2px solid var(--blue); }
.research-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 1rem 2rem; margin-bottom: 1.2rem; padding-bottom: .7rem; border-bottom: 2px solid var(--blue); }
.research-heading .section-heading { margin: 0; padding: 0; border: 0; }
.jump-links { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem; margin: 0; font-size: 1rem; }
.jump-links strong { margin-right: .3rem; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.jump-links a:hover { text-decoration: underline; }
.jump-item { display: inline-flex; align-items: center; }
.jump-item:not([hidden]) ~ .jump-item:not([hidden])::before { content: '|'; color: #8a959d; padding-inline: .55rem; }
.topic-filters { margin: 0; padding: 0; border: 0; min-width: 0; max-width: 100%; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: .65rem; }
.filter-button { cursor: pointer; min-height: 44px; border: 1px solid #8495a1; border-radius: 999px; color: #455663; background: #fff; padding: .45rem .95rem; font-size: .92rem; line-height: 1.35; }
.filter-button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); background: var(--soft); }
.filter-button:disabled { opacity: .5; cursor: default; }
.filter-button[aria-pressed='true'] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue); }
.working-heading, .publication-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .75rem 1.5rem; margin-bottom: 1.2rem; }
.working-heading .group-title, .publication-heading .group-title { margin: 0; }
.publication-filters { margin: 0; }
.paper-group { margin-bottom: 2.5rem; scroll-margin-top: 1.5rem; }
.group-title { font-size: 1.45rem; font-weight: normal; line-height: 1.35; margin-bottom: 1.2rem; }
.papers { list-style: none; margin: 0; padding: 0; }
.paper { margin: 0 0 1rem; padding: 0 0 .95rem; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
.paper:last-child { margin-bottom: 0; }
.paper-main, .course-main { line-height: 1.6; }
.paper-title, .course-title { display: inline; font-weight: normal; font-size: 1.08rem; line-height: inherit; margin: 0; }
.paper-title a { text-decoration: none; }
.paper-title a:hover { text-decoration: underline; }
.paper .coauthors { font-size: .94rem; }
.paper .status { font-size: .92rem; color: var(--muted); margin: .15rem 0; }
.badge { display: inline-block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: .72rem; font-weight: 600; line-height: 1.6; border-radius: 2px; padding: .08rem .42rem; margin-right: .4rem; color: var(--blue-dark); background: #eaf1f6; vertical-align: .13em; }
.paper-links { font-size: .94rem; }
.teaching { margin-bottom: 3rem; }
.teaching-list { list-style: none; padding: 0; margin: 0; }
.teaching-list li { margin: 0; padding: .9rem 0 1rem; border-bottom: 1px solid var(--line); }
.course-terms { margin: 0 0 .2rem; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.course-main { overflow-wrap: break-word; }
.course-links { font-size: .92rem; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .profile { grid-template-columns: 190px minmax(0, 1fr); gap: 32px; padding-block: 40px; }
  .portrait { width: 190px; height: 250px; }
  h1 { font-size: 2.25rem; }
  .site-nav { gap: .1rem 1rem; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-direction: column; align-items: flex-start; gap: .1rem; padding-block: .7rem .3rem; }
  .wordmark { font-size: 1.25rem; }
  .site-nav { width: 100%; justify-content: space-between; gap: .15rem .75rem; }
  .site-nav a { font-size: .92rem; }
  .profile { display: flex; flex-direction: column; gap: 1.35rem; padding-block: 1.8rem 2rem; }
  .portrait { width: 152px; height: 190px; }
  h1 { font-size: 2.25rem; }
  .affiliation { font-size: .96rem; margin-bottom: 1rem; }
  .contact span { display: block; margin-right: 0; }
  .section-heading { font-size: 1.7rem; }
  .jump-links { font-size: 1rem; gap: .2rem .8rem; }
  .jump-item:not([hidden]) ~ .jump-item:not([hidden])::before { content: none; }
  .topic-filters legend { font-size: .95rem; }
  .filter-buttons { gap: .65rem .5rem; }
  .filter-button { font-size: .87rem; padding: .48rem .8rem; max-width: 100%; }
  .group-title { font-size: 1.35rem; }
  .paper-title, .course-title { font-size: 1.06rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .skip-link, .jump-links, .topic-filters, .publication-filters { display: none; }
  .wrap { width: 100%; }
  .profile { padding-top: 0; }
  .paper-group[hidden], .paper[hidden] { display: block !important; }
  .paper { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
