:root {
  color-scheme: light;
  --ink: #30373c;
  --heading: #26343d;
  --muted: #69767d;
  --accent: #496a7c;
  --accent-hover: #294e64;
  --rule: #e6ebed;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --heading-font: "Trebuchet MS", Helvetica, "PingFang SC", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", sans-serif;
  --nav-offset: 108px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-offset); }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
strong { font-weight: 600; }
p { margin: 0 0 14px; }
h1, h2, h3 { color: var(--heading); }
h1, h2 { font-family: var(--heading-font); }
h2 { margin: 0 0 20px; font-size: 27px; font-weight: 700; line-height: 1.25; letter-spacing: -.5px; }
h3 { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; }
img { display: block; max-width: 100%; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: 0 0 auto; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.inline-arrow { width: 14px; height: 14px; margin-left: 3px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 8px 14px; background: #fff; border: 1px solid var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; width: 100%; padding: 14px 24px; background: #fffffff0; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top-nav { position: relative; isolation: isolate; display: flex; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 5px; border: 1px solid #e8edef; border-radius: 999px; background: #f5f7f8; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.top-nav a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 22px; border-radius: 999px; color: #65747d; font-size: 16px; font-weight: 500; line-height: 1.5; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.top-nav a:hover { color: var(--accent-hover); background: #ebf0f3; text-decoration: none; }
.top-nav a[aria-current="location"] { color: var(--accent-hover); background: #fff; box-shadow: 0 1px 4px #26343d14; }
.nav-indicator { position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px #26343d14; will-change: transform; transition: transform .42s cubic-bezier(.22, 1.12, .36, 1), width .35s cubic-bezier(.22, 1, .36, 1), height .35s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease; }
.top-nav.has-indicator a[aria-current="location"] { background: transparent; box-shadow: none; }
.top-nav.is-dragging, .top-nav.is-dragging a { cursor: grabbing; }
.top-nav.is-dragging a[aria-current="location"] { color: #65747d; }
.top-nav.is-dragging a:hover { background: transparent; }
.top-nav.is-dragging a.is-preview { color: var(--accent-hover); }
.top-nav.is-dragging .nav-indicator { background: #fffffff5; box-shadow: 0 5px 16px #26343d24, inset 0 0 0 1px #ffffffb3; transition: box-shadow .18s ease; }
.page-layout { width: min(1080px, calc(100% - 80px)); margin: 44px auto 0; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 60px; align-items: start; }

.profile { position: sticky; top: var(--nav-offset); text-align: center; }
.avatar { display: block; width: 120px; height: 150px; margin: 0 auto 23px; padding: 0; border: 0; border-radius: 50%; background: transparent; font: inherit; cursor: pointer; perspective: 800px; }
.avatar-inner { position: relative; display: block; width: 100%; height: 100%; border-radius: inherit; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.2, .7, .2, 1); }
.avatar-front, .avatar-back { position: absolute; inset: 0; display: block; border-radius: inherit; overflow: hidden; background: #edf2f5; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.avatar-back { display: flex; align-items: center; justify-content: center; padding: 14px; color: var(--accent-hover); font: 16px/1.45 var(--serif); text-wrap: balance; transform: rotateY(180deg); }
.avatar:hover .avatar-inner, .avatar:focus-visible .avatar-inner { transform: rotateY(180deg); }
.avatar:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.7); transform-origin: 48% 30%; }
.profile h1 { margin: 0 0 11px; font-size: 34px; font-weight: 700; letter-spacing: -.8px; line-height: 1.3; }
.profile h1 span { display: block; margin-top: 4px; font: 16px/1.6 var(--heading-font); color: var(--muted); letter-spacing: 3px; }
.position { margin-bottom: 0; font-size: 15px; }
.affiliation { margin-bottom: 15px; font-size: 15px; color: var(--accent); }
.location { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 5px; color: var(--muted); font-size: 13px; }
.location .icon { width: 14px; height: 14px; }
.email { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.profile-links { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 11px 20px; padding: 22px 0 23px; margin: 23px 0 0; border-top: 1px solid var(--rule); list-style: none; text-align: left; }
.profile-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; min-height: 24px; white-space: nowrap; }
.profile-links .icon { width: 15px; height: 15px; }

main { min-width: 0; }
main section { margin-bottom: 38px; }
#about p { text-wrap: pretty; }
.research-highlight { color: var(--accent); font-weight: 700; }
.collaboration { font-size: 15px; color: var(--muted); padding-top: 2px; }
.interest-list { list-style: none; padding: 0; margin: 0; }
.interest-list li { position: relative; padding-left: 15px; margin-bottom: 9px; font-size: 15px; }
.interest-list li::before { content: ""; position: absolute; width: 4px; height: 4px; left: 0; top: 11px; border-radius: 50%; background: #8ea3af; }
.interest-list strong { font-weight: 600; }
.interest-list span { color: var(--muted); display: block; font-size: 13px; line-height: 1.7; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 23px; }
.section-heading h2 { margin-bottom: 0; }
.section-link { font-size: 12px; white-space: nowrap; }
.publication-list { border-top: 1px solid var(--rule); }
.publication { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--rule); }
.paper-figure { display: flex; align-items: center; justify-content: center; align-self: start; width: 100%; margin-top: 3px; min-height: 100px; padding: 6px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; font: inherit; cursor: zoom-in; transition: border-color .15s ease; }
.paper-figure:hover { border-color: #9aafb9; }
.paper-figure:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.paper-figure img { width: 100%; height: auto; object-fit: contain; }
.figure-preview-open { overflow: hidden; }
.figure-preview { position: fixed; inset: 0; width: fit-content; height: fit-content; max-width: calc(100vw - 32px); max-height: calc(100dvh - 96px); margin: auto; padding: 0; border: 0; overflow: visible; background: transparent; color: #fff; }
.figure-preview::backdrop { background: #17293699; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.figure-preview[open] { animation: figure-reveal .2s ease-out; }
.figure-preview img { display: block; width: auto; height: auto; max-width: min(1100px, calc(100vw - 48px)); max-height: calc(100dvh - 112px); border: 10px solid #fff; border-radius: 10px; background: #fff; object-fit: contain; box-shadow: 0 20px 80px #0004; }
@keyframes figure-reveal { from { opacity: 0; } to { opacity: 1; } }
.paper-content { min-width: 0; }
.paper-content h3 { margin: -3px 0 6px; font-size: 15.5px; line-height: 1.5; }
.authors { margin-bottom: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.authors strong { color: var(--ink); font-weight: 600; }
.paper-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.paper-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 2px 9px; border: 1px solid #cbd8df; border-radius: 3px; font-size: 11px; line-height: 1.8; }
.paper-links .icon { width: 13px; height: 13px; }
.paper-links a:hover { background: #f2f6f8; text-decoration: none; border-color: var(--accent); }
.timeline { display: grid; gap: 25px; }
.timeline-entry { min-width: 0; }
.experience-entry, .education-entry { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: center; }
.experience-logo, .education-logo { display: block; width: 48px; height: 48px; object-fit: contain; }
.experience-entry .entry-role { margin: 0; }
.entry-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 3px; }
.entry-heading h3 { font-size: 15px; }
.date { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.timeline-entry > p, .education-content > p { font-size: 14px; margin-bottom: 0; line-height: 1.75; }
.timeline-entry .entry-role { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.timeline-entry .entry-detail { color: var(--muted); font-size: 12px; }
.education-list { gap: 20px; }
.honors-list { padding-left: 17px; margin: 0; font-size: 14px; }
.honors-list li { padding-left: 3px; margin-bottom: 10px; }
.honors-list li::marker { color: #8ea3af; font-size: 10px; }
.honor-date { color: var(--muted); font-size: 12px; white-space: nowrap; }
footer { padding: 20px 0 27px; margin-top: 46px; border-top: 1px solid var(--rule); color: #879198; font-size: 11px; }
footer p { margin: 0; }
footer a { color: var(--muted); }

@media (min-width: 800px) and (max-height: 700px) {
  .profile { position: static; }
}
@media (max-width: 1050px) and (min-width: 800px) {
  .page-layout { width: calc(100% - 56px); gap: 38px; grid-template-columns: 210px minmax(0, 1fr); }
  .publication { grid-template-columns: 145px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 799px) {
  .page-layout { width: min(680px, calc(100% - 48px)); grid-template-columns: minmax(0, 1fr); gap: 38px; margin-top: 32px; }
  .profile { position: static; }
  .avatar { margin-bottom: 16px; }
  .profile h1 { margin-bottom: 8px; }
  .profile h1 span { display: inline; margin-left: 8px; vertical-align: middle; }
  .affiliation { margin-bottom: 10px; }
  .profile-links { grid-template-columns: repeat(2, max-content); gap: 8px 24px; margin-top: 20px; padding: 18px 0; }
  .publication { grid-template-columns: 170px minmax(0, 1fr); }
  main section { margin-bottom: 34px; }
}
@media (max-width: 680px) {
  :root { --nav-offset: 90px; }
  .site-header { padding: 10px 12px; }
  .top-nav { flex-wrap: nowrap; gap: 2px; padding: 4px; }
  .top-nav a { flex: 0 0 auto; min-height: 36px; padding: 6px clamp(3px, 1vw, 7px); font-size: clamp(11px, 3.2vw, 13px); }
}
@media (max-width: 540px) {
  .page-layout { width: calc(100% - 40px); margin-top: 30px; gap: 32px; }
  h2 { font-size: 25px; margin-bottom: 17px; }
  .section-heading { flex-wrap: wrap; gap: 7px; margin-bottom: 19px; }
  .publication { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 0; }
  .paper-figure { width: 100%; max-width: 260px; margin: 0; padding: 9px; min-height: 0; }
  .paper-content h3 { font-size: 16px; }
  .authors { font-size: 13px; }
  .paper-links a { padding: 3px 12px; font-size: 12px; }
  .profile-links a { padding: 3px 0; }
  .entry-heading { gap: 3px 12px; }
  .entry-heading h3 { flex-basis: 100%; }
  .experience-entry, .education-entry { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
  .experience-logo, .education-logo { width: 40px; height: 40px; margin-top: 4px; }
  .timeline-entry .entry-role { margin-top: 5px; }
  footer { margin-top: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .paper-figure, .avatar-inner, .top-nav a, .nav-indicator { transition: none; }
  .figure-preview[open] { animation: none; }
}
@media print {
  .page-layout { width: 100%; display: block; margin: 0; }
  .profile { position: static; margin-bottom: 28px; }
  .avatar, .profile-links, .site-header, .skip-link, .figure-preview { display: none; }
  .profile h1 span { display: inline; margin-left: 10px; }
  .publication, .timeline-entry { break-inside: avoid; }
  a { color: inherit; }
  footer { margin-top: 20px; }
}
