:root {
  color-scheme: light;
  --text: #30343a;
  --muted: #66707a;
  --link: #235a83;
  --line: #e5e8eb;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 2px; }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 8px 14px; background: white; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 36px;
  max-width: 1120px;
  margin: 72px auto 36px;
  padding: 0 32px;
}
.profile { align-self: start; position: sticky; top: 52px; padding-top: 2px; font-size: 14px; }
.profile-photo { position: relative; width: 200px; max-width: 100%; aspect-ratio: 505 / 632; margin-bottom: 24px; overflow: hidden; border-radius: 6px; background: #f3f4f6; box-shadow: 0 3px 8px rgba(30, 49, 69, .10), 0 14px 28px -12px rgba(30, 49, 69, .25); }
/* The supplied portrait already matches the reference framing; trim only its lower edge. */
.profile-photo img { display: block; width: 100%; height: auto; }
.profile h1 { margin: 0 0 17px; font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.7px; }
.profile h1 a { color: #20262d; }
.profile h1 a:hover { text-decoration: none; }
.profile-role { margin-bottom: 9px; font-weight: 500; font-size: 15px; }
.profile-affiliation { color: var(--muted); line-height: 1.65; margin-bottom: 9px; }
.profile-department { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 9px; }
.profile-lab { margin-bottom: 23px; }
.profile-contact { display: grid; gap: 3px; font-size: 13px; overflow-wrap: anywhere; }
.profile-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 15px; }
.profile-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #3d444c; border-radius: 6px; }
.profile-links a:hover, .profile-links a:focus-visible { color: var(--link); background: #f0f4f7; text-decoration: none; }
.profile-links .fa-brands, .profile-links .ai { font-size: 24px; line-height: 1; }
.main-content { min-width: 0; }
section { scroll-margin-top: 28px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 500; letter-spacing: -.3px; line-height: 1.3; margin: 0 0 20px; color: #20262d; }
.about { margin-bottom: 45px; }
.about p { margin-bottom: 15px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 27px; }
.section-heading h2 { margin: 0; }
.section-heading > a { font-size: 13px; white-space: nowrap; }
.publication-list { padding: 0; margin: 0; list-style: none; }
.publication { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 24px; align-items: start; margin: 0 0 31px; }
.publication-thumbnail { display: flex; justify-content: center; align-items: center; width: 175px; height: 120px; margin-top: 3px; padding: 5px; background: #fff; border: 1px solid #e7ebef; border-radius: 6px; box-shadow: 0 3px 12px rgba(30, 49, 69, .12); }
.publication-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.publication-details { min-width: 0; }
.publication h3 { margin: 0 0 7px; font-size: 15px; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.publication-authors { margin: 0 0 5px; font-size: 13px; line-height: 1.65; color: #59616b; }
.publication-authors strong { color: #30343a; font-weight: 650; }
.publication-authors sup { font-size: 10px; }
.publication-venue { margin: 0 0 8px; }
.venue-badge { display: inline-block; max-width: 100%; padding: 3px 8px; border-radius: 4px; background: var(--link); color: #fff; font-size: 12px; font-weight: 650; line-height: 1.5; }
.venue-badge-preprint { background: #eef1f4; color: #505965; }
.publication-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; }
.contribution-note { color: var(--muted); }
.site-footer { position: relative; border-top: 1px solid var(--line); margin-top: 52px; padding-top: 28px; color: var(--muted); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; width: 36px; height: 2px; background: var(--link); }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-name { margin: 0; color: #20262d; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 500; line-height: 1.3; }
.footer-affiliation { margin: 6px 0 0; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 12px; }
.footer-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; }
.footer-links .fa-envelope { font-size: 12px; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 24px; font-size: 11px; }
.footer-meta a { color: inherit; }

@media (max-width: 1000px) {
  .site-shell { grid-template-columns: 270px minmax(0, 1fr); gap: 28px; }
  .publication { grid-template-columns: 145px minmax(0, 1fr); gap: 20px; }
  .publication-thumbnail { width: 145px; height: 110px; }
}
@media (max-width: 760px) {
  .site-shell { display: block; max-width: 720px; margin-top: 38px; padding: 0 26px; }
  .profile { position: static; margin-bottom: 30px; }
  .profile-photo { width: 164px; margin-bottom: 20px; }
  .profile h1 { margin-bottom: 12px; }
  .profile-lab { margin-bottom: 12px; }
  .profile-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .profile-links { margin-top: 10px; }
  .publication { grid-template-columns: 155px minmax(0, 1fr); }
  .publication-thumbnail { width: 155px; height: 110px; }
}
@media (max-width: 520px) {
  .site-shell { padding: 0 22px; margin-top: 30px; }
  .publication { display: block; margin-bottom: 33px; }
  .publication-thumbnail { width: 190px; height: 120px; justify-content: flex-start; margin: 0 0 13px; }
  .publication-thumbnail img { object-position: left center; }
  .publication h3 { font-size: 15px; }
  .about { margin-bottom: 36px; }
  .section-heading { gap: 10px; }
  .section-heading > a { font-size: 12px; }
  .site-footer { margin-top: 40px; padding-top: 24px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 14px; }
}
