/* Personal academic homepage. No build step or JavaScript is required. */
:root {
  color-scheme: light;
  --ink: #252b35;
  --heading: #182d4b;
  --link: #255a88;
  --muted: #5b6672;
  --rule: #dce2e8;
  --selected: #9b2c34;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 0.16em; }
a:hover { color: #173d61; }
a:focus-visible, summary:focus-visible { outline: 3px solid #bd7e20; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 0.8rem; }
h1, h2, h3 { color: var(--heading); line-height: 1.25; font-weight: 600; }
h1 { margin: 0 0 0.65rem; font-size: 2.25rem; letter-spacing: -0.025em; }
h2 { margin: 0 0 0.85rem; font-size: 1.4rem; }
h3 { margin: 0 0 0.3rem; font-size: 1rem; }
address { font-style: normal; }
section { margin-bottom: 2rem; }
.container { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }
.site-header { display: flex; gap: 2rem; align-items: center; padding: 2.5rem 0 1.7rem; }
.portrait { display: block; flex: 0 0 170px; width: 170px; border-radius: 3px; }
.profile { min-width: 0; }
.position { font-size: 1.06rem; }
.position a { text-decoration: none; }
.position a:hover { text-decoration: underline; }
.profile-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.section-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; padding: 0.85rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 1.8rem; }
.section-nav a { text-decoration: none; }
.section-nav a:hover { text-decoration: underline; }
.updates { padding: 0.2rem 0 0.2rem 1rem; border-left: 3px solid #527da1; margin-bottom: 2.1rem; }
.updates h2 { font-size: 1.06rem; margin-bottom: 0.45rem; }
.updates ul { padding-left: 1.25rem; margin: 0; }
.updates li + li { margin-top: 0.25rem; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; }
.overview-grid > div { min-width: 0; }
.group-logo-link { display: inline-block; margin: 0.3rem 0; }
.group-logo { display: block; width: 400px; max-width: 100%; }
.illustrated-list { padding: 0; margin: 0; list-style: none; }
.illustrated-list > li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 1rem; margin: 1.2rem 0; align-items: start; }
.illustrated-list img { align-self: center; max-height: 80px; object-fit: contain; }
.illustrated-list p { margin-bottom: 0.15rem; }
.compact-list { margin: 0 0 0.85rem; padding-left: 1.15rem; }
.compact-list li { padding-left: 0.1rem; margin-bottom: 0.5rem; }
.secondary { color: var(--muted); font-size: 0.94rem; }
.wide-section { border-top: 1px solid var(--rule); padding-top: 1.6rem; }
.publication-list { padding-left: 2.15rem; margin: 1.25rem 0 1.6rem; }
.publication-list > li { padding: 0.9rem 0 1rem 0.3rem; border-bottom: 1px solid #edf0f3; }
.publication-list > li:first-child { padding-top: 0; }
.publication-list > li::marker { font-size: 0.9rem; color: var(--muted); }
.publication-list p { margin: 0 0 0.15rem; }
.publication-authors { font-size: 0.95rem; }
.publication-title { line-height: 1.4; }
.publication-title a { text-decoration: none; font-weight: 500; }
.publication-title a:hover { text-decoration: underline; }
.publication-venue { color: #4c5661; font-size: 0.95rem; }
.publication-resources { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-top: 0.4rem; }
.resource-link { display: inline-block; border: 1px solid #cad5df; border-radius: 3px; padding: 0.1rem 0.5rem; font-size: 0.8rem; line-height: 1.65; text-decoration: none; white-space: nowrap; vertical-align: baseline; }
.resource-link:hover { background: #f1f5f8; text-decoration: none; }
.selected-link { color: var(--selected); border-color: #c3858a; }
.selected-link:hover { color: #78212a; background: #fff5f5; }
.selected-label { color: var(--selected); font-size: 0.78rem; }
.archive-list { padding-left: 0; list-style: none; }
.archive-list li { padding: 0.65rem 0; border-bottom: 1px solid #edf0f3; }
.archive-list a { margin-right: 0.25rem; }
.site-footer { border-top: 1px solid var(--rule); margin-top: 2rem; padding: 1rem 0 2rem; color: var(--muted); font-size: 0.85rem; }
.skip-link { position: absolute; top: -5rem; left: 1rem; padding: 0.6rem 1rem; color: #fff; background: var(--heading); z-index: 10; }
.skip-link:focus { top: 1rem; color: #fff; }
@media (max-width: 760px) {
  .container { width: calc(100% - 2rem); }
  .site-header { gap: 1.25rem; padding-top: 1.5rem; align-items: flex-start; }
  .portrait { flex-basis: 125px; width: 125px; }
  h1 { font-size: 1.9rem; }
  .overview-grid { grid-template-columns: 1fr; gap: 0; }
  .section-nav { gap: 0.5rem 1.15rem; }
  .publication-list { padding-left: 1.8rem; }
  .publication-title a { overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  .site-header { display: block; }
  .portrait { width: 115px; margin: 0 0 1rem; }
  .profile-links { gap: 0.35rem 1rem; }
  .illustrated-list > li { grid-template-columns: 60px minmax(0, 1fr); gap: 0.75rem; }
  .illustrated-list img { max-width: 60px; }
  .resource-link { padding: 0.15rem 0.5rem; }
}
@media print {
  body { font-size: 10pt; }
  .container { width: 100%; }
  .site-header { padding-top: 0; }
  .section-nav, .skip-link, .site-footer { display: none; }
  .overview-grid { display: block; }
  .portrait { width: 100px; flex-basis: 100px; }
  .publication-list > li, .archive-list li { break-inside: avoid; }
  a { color: #222; }
  h2, h3 { break-after: avoid; }
}
