:root {
  color-scheme: light;
  --text: #41474c;
  --muted: #647078;
  --blue: #224b8d;
  --blue-dark: #163663;
  --border: #e9ebed;
  --width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--blue); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #6c98d5; outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
strong { font-weight: 700; }
sup { font-size: .75em; line-height: 0; }
p { margin: 0 0 .85em; }
h1, h2, h3, h4 { line-height: 1.35; }
h2 { margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); font-size: 25px; color: #33393e; }
h3 { margin: 27px 0 5px; font-size: 18px; color: #33393e; }
.publication-topic-icon { margin-right: .4em; font-size: .9em; }
h4 { margin: 0 0 7px; font-size: 16px; }
section { margin-bottom: 35px; }

.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; background: #fff; border: 2px solid var(--blue); }
.skip-link:focus { top: 10px; }
.masthead { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--border); background: #fff; }
.site-nav { display: flex; align-items: center; gap: 42px; max-width: var(--width); min-height: 64px; margin: auto; padding: 0 25px; }
.home-link { flex-shrink: 0; color: #3e464d; font-size: 17px; font-weight: 700; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a { position: relative; display: block; padding: 19px 0; color: #68737a; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--blue); text-decoration: none; }
.nav-links a::after { position: absolute; right: 0; bottom: 11px; left: 0; height: 2px; background: var(--blue); content: ""; transform: scaleX(0); transition: transform .18s ease; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.site-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); align-items: start; gap: 55px; max-width: var(--width); margin: 34px auto 0; padding: 0 25px; }
.sidebar { position: sticky; top: 98px; padding-top: 1px; font-size: 14px; }
.portrait { width: 190px; height: 190px; padding: 5px; border: 1px solid var(--border); border-radius: 50%; object-fit: cover; background: #fff; }
.profile-details h1 { margin: 19px 0 6px; font-size: 26px; letter-spacing: -.5px; color: #33393e; }
.role { margin-bottom: 1px; font-size: 14px; }
.affiliation { margin-bottom: 22px; }
.affiliation a { color: inherit; }
.contact-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.contact-links li { display: flex; align-items: center; gap: 10px; }
.contact-links svg { width: 16px; height: 16px; flex-shrink: 0; color: #657079; }
.contact-links a { color: var(--text); }
.sidebar-interests { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; line-height: 1.9; }
main { min-width: 0; }
#about p a { text-decoration: underline; text-decoration-color: #b7c8df; }
.citation-badge { display: inline-flex; vertical-align: middle; line-height: 1; }
.citation-badge img { width: auto; height: 20px; }
.institution-logo { display: inline-block; width: auto; height: 1.35em; vertical-align: -.28em; object-fit: contain; }
.institution-logo--wide { height: .8em; vertical-align: baseline; }
.news-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; line-height: 1.55; }
.news-list li { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 15px; }
.news-list time { padding-top: 1px; color: var(--blue); font-size: 13px; font-weight: 700; }
.news-celebration { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.section-heading h2 { margin: 0; border: 0; }
.section-link { flex-shrink: 0; font-size: 12px; }
.publication-note { color: var(--muted); font-size: 12px; }
.paper-card { display: grid; grid-template-columns: 33% minmax(0, 1fr); align-items: center; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.paper-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 150px; padding: 35px 9px 13px; border: 1px solid #e8ebee; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px #26384b0a; transition: box-shadow .18s ease; }
.paper-visual:hover { box-shadow: 0 4px 14px #26384b1a; }
.paper-visual img { width: 100%; height: auto; }
.venue-badge { position: absolute; top: 0; left: 0; max-width: 100%; padding: 3px 9px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1px; line-height: 1.65; }
.venue-badge.under-review { background: var(--muted); }
.oral-label { margin-left: 6px; padding-left: 7px; border-left: 1px solid #ffffff80; color: #fff4bf; }
.paper-body p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.paper-body .authors, .authors { font-size: 13px; color: #606a72; }
.authors strong { color: #353d44; }
.paper-link { font-size: 12px; font-weight: 700; }
.paper-entry { padding: 20px 0; border-bottom: 1px solid var(--border); }
.paper-entry p { margin-bottom: 5px; font-size: 14px; }
.paper-entry .authors { font-size: 13px; }
.paper-entry .publication-venue { margin-bottom: 7px; color: var(--blue); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.paper-entry .under-review { color: var(--muted); }

.experience-entry { margin: 20px 0 25px; }
.entry-heading, .entry-subheading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.entry-heading h4 { margin: 0; }
.entry-heading > span { flex-shrink: 0; font-size: 13px; color: var(--muted); }
.entry-subheading { margin-top: 3px; font-size: 14px; }
.entry-subheading > :first-child { font-style: italic; }
.entry-subheading > :last-child { flex-shrink: 0; font-size: 12px; color: var(--muted); }
.experience-entry > p { margin-top: 9px; font-size: 14px; }
.education-list, .experience-list { margin: 0; padding-left: 20px; list-style-type: disc; }
.education-list > li, .experience-list > li { padding-left: 3px; }
.simple-list { margin: 16px 0 0; padding-left: 18px; }
.simple-list > li { margin-bottom: 15px; padding-left: 3px; }
.simple-list p { margin: 3px 0 0; font-size: 14px; }
.item-date { margin-left: 15px; color: var(--muted); font-size: 12px; font-weight: 400; }
.award-list { padding: 0; list-style: none; }
.award-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 0 0 12px; margin-bottom: 13px; border-bottom: 1px solid var(--border); font-size: 14px; }
.award-list time, .award-list .item-date { flex-shrink: 0; color: var(--muted); font-size: 12px; }
.muted { color: var(--muted); font-size: 13px; }
.site-footer { margin-top: 42px; padding: 18px 0 25px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.site-footer p { margin-bottom: 2px; }

@media (min-width: 1500px) {
  :root { --width: 1320px; }
  .site-layout { grid-template-columns: 225px minmax(0, 1fr); gap: 65px; }
  body { font-size: 16px; }
}

@media (max-width: 1050px) {
  .site-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 30px; }
  .portrait { width: 170px; height: 170px; }
  .nav-links { gap: 22px; }
  .site-nav { gap: 30px; }
  .paper-card { grid-template-columns: 32% minmax(0, 1fr); gap: 20px; }
  .venue-badge { font-size: 9px; }
  .entry-heading, .entry-subheading { flex-wrap: wrap; gap: 2px 14px; }
}

@media (max-width: 800px) {
  .site-nav { min-height: 60px; padding: 0 22px; }
  .site-layout { display: block; margin-top: 25px; padding: 0 22px; }
  .sidebar { position: static; margin-bottom: 33px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
  .profile-heading { display: flex; align-items: center; gap: 22px; }
  .portrait { width: 120px; height: 120px; flex-shrink: 0; padding: 4px; }
  .profile-details h1 { margin-top: 0; font-size: 27px; }
  .affiliation { margin-bottom: 0; }
  .contact-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 19px; font-size: 13px; }
  .contact-links li:first-child, .sidebar-interests { display: none; }
  .site-nav { flex-wrap: wrap; gap: 0; }
  .home-link { padding: 15px 0; }
  .nav-links { gap: 0 22px; padding-bottom: 10px; width: 100%; }
  .nav-links a { padding: 7px 0; }
  .nav-links a::after { bottom: 0; }
  .js .menu-toggle { display: flex; align-items: center; gap: 9px; margin-left: auto; padding: 6px 0 6px 12px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .js .nav-links:not(.is-open) { display: none; }
  .news-list li { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; }
  h2 { font-size: 23px; }
}

@media (max-width: 520px) {
  body { font-size: 14px; }
  .site-layout, .site-nav { padding-right: 19px; padding-left: 19px; }
  .portrait { width: 105px; height: 105px; }
  .profile-heading { gap: 17px; }
  .profile-details h1 { font-size: 25px; }
  .role, .affiliation { font-size: 12px; }
  .contact-links { gap: 12px 18px; font-size: 12px; }
  .news-list li { display: block; }
  .news-list time { display: block; margin-bottom: 0; }
  .section-heading { flex-wrap: wrap; gap: 0; padding-bottom: 10px; }
  .section-heading h2 { padding-bottom: 5px; }
  .paper-card { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 23px 0; }
  .paper-visual { min-height: 150px; max-width: 340px; width: 100%; margin: 0 auto; padding: 37px 18px 17px; }
  .venue-badge { font-size: 10px; }
  .paper-visual img { max-height: 190px; width: 100%; object-fit: contain; }
  .paper-body p { font-size: 13px; }
  h4 { font-size: 15px; }
  .entry-heading, .entry-subheading { display: block; }
  .entry-heading > span, .entry-subheading > span { display: block; }
  .entry-heading > span { font-size: 12px; }
  .entry-subheading { margin-top: 5px; }
  .item-date { display: block; margin: 3px 0 0; }
  .award-list li { display: block; }
  .award-list time { display: block; margin-top: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .masthead, .menu-toggle, .skip-link, .site-footer { display: none; }
  .site-layout { display: block; margin: 0; padding: 0; }
  .sidebar { position: static; margin-bottom: 20px; }
  .profile-heading { display: flex; align-items: center; gap: 20px; }
  .portrait { width: 90px; height: 90px; }
  .profile-details h1 { margin-top: 0; }
  .contact-links { display: flex; gap: 20px; }
  .sidebar-interests { display: none; }
  .paper-card, .paper-entry, .experience-entry { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}
