:root {
  --paper: #f9faf7;
  --white: #fff;
  --ink: #29362f;
  --body: #536059;
  --muted: #737d76;
  --green: #426c50;
  --green-dark: #2f533b;
  --tint: #edf2e9;
  --line: #e1e5dc;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 15px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-decoration: none; text-underline-offset: 4px; transition: color .18s ease; }
a:hover { color: var(--green-dark); text-decoration: underline; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; border-radius: 2px; }
::selection { background: #dce6d5; color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
strong { font-weight: 600; color: var(--ink); }
[hidden] { display: none !important; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 20; padding: 8px 18px; background: var(--green-dark); color: white; }
.skip-link:focus { top: 12px; color: white; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(249, 250, 247, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { width: min(1136px, calc(100% - 80px)); height: 82px; margin: 0 auto; display: flex; align-items: center; }
.wordmark { font: 600 32px/1 var(--serif); letter-spacing: -2px; color: var(--ink); }
.wordmark:hover { text-decoration: none; }
.wordmark span { color: var(--green); }
.desktop-nav { margin: 0 auto; display: flex; height: 100%; align-items: center; gap: 30px; }
.desktop-nav a { display: flex; align-items: center; height: 100%; color: var(--muted); font-size: 13px; position: relative; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--ink); text-decoration: none; }
.desktop-nav a[aria-current]::after { content: ""; position: absolute; bottom: -1px; height: 2px; width: 100%; background: var(--green); }
.header-contact { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font-size: 12px; }
.header-contact .icon { width: 15px; height: 15px; }
.menu-toggle { border: 0; padding: 12px 8px; background: none; margin-left: 18px; width: 40px; height: 44px; }
.menu-toggle span { height: 1.5px; width: 23px; display: block; margin: 6px 0; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav { padding: 12px 24px 20px; border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 8px 0; }

.page-layout { width: min(1136px, calc(100% - 80px)); margin: 58px auto 0; display: grid; grid-template-columns: 238px minmax(0, 1fr); column-gap: 78px; align-items: start; }
.profile { position: sticky; top: 119px; }
.portrait-frame { padding: 7px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; width: 222px; box-shadow: 0 4px 14px #28322b05; transform: rotate(-1.7deg); }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 690 / 802; object-fit: cover; border-radius: 3px; }
.profile-body { padding: 29px 0 0; }
.profile-eyebrow { font-size: 9px; font-weight: 600; letter-spacing: 2.2px; color: var(--muted); margin-bottom: 6px; }
.profile h1 { font: 400 36px/1.2 var(--serif); letter-spacing: -1.5px; margin: 0 0 14px; }
.name-dot { color: var(--green); }
.position { color: var(--ink); font-weight: 500; font-size: 13px; margin-bottom: 2px; }
.affiliation { display: inline; font-size: 12px; font-weight: 500; }
.affiliation .icon { width: 13px; height: 13px; margin-left: 1px; }
.department { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 7px 0 15px; }
.location { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 7px; margin: 0; }
.location .icon { width: 14px; height: 14px; }
.profile-divider { border-top: 1px solid var(--line); width: 216px; margin: 22px 0 16px; }
.profile-links { display: grid; gap: 2px; max-width: 216px; }
.profile-links a { display: flex; gap: 11px; align-items: center; color: var(--body); font-size: 12px; padding: 6px 0; }
.profile-links a:hover { color: var(--green); text-decoration: none; }
.profile-links .icon { width: 16px; height: 16px; color: var(--muted); }
.profile-links .link-arrow { width: 13px; height: 13px; margin-left: auto; opacity: .6; }
.orcid-icon { width: 16px; height: 16px; border: 1px solid var(--muted); border-radius: 50%; text-align: center; font-size: 10px; line-height: 14px; color: var(--muted); font-family: Arial, sans-serif; }
.cv-button { display: flex; justify-content: center; align-items: center; gap: 32px; background: var(--green-dark); color: white; padding: 10px 12px; width: 216px; border-radius: 4px; margin-top: 22px; font-size: 12px; }
.cv-button:hover { background: var(--green); color: white; text-decoration: none; }
.cv-button .icon { width: 15px; height: 15px; }
.cv-online { width: 216px; display: block; text-align: center; font-size: 10px; margin-top: 8px; color: var(--muted); }
.cv-online span { margin-left: 6px; }
main { min-width: 0; padding: 0 0 35px; }
.eyebrow { font-size: 9px; font-weight: 600; letter-spacing: 1.5px; display: flex; align-items: center; gap: 9px; margin: 1px 0 25px; color: var(--green); }
.status-dot { width: 6px; height: 6px; background: #7d9774; border-radius: 50%; box-shadow: 0 0 0 4px #e9eee4; flex-shrink: 0; }
.intro-heading { font: 400 39px/1.2 var(--serif); letter-spacing: -.8px; margin-bottom: 16px; }
.intro-lead { font: 400 22px/1.5 var(--serif); color: var(--ink); margin: 0 0 24px; letter-spacing: -.15px; }
.intro-lead em { color: var(--green); font-weight: normal; }
.biography p { margin-bottom: 14px; font-size: 14px; line-height: 1.85; }
.biography a { border-bottom: 1px solid #b6c7b7; }
.biography a:hover { border-bottom-color: var(--green); text-decoration: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.text-link .icon { width: 15px; height: 15px; }
.about-contact { margin-top: 2px; }
.content-section { padding-top: 44px; }
.section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.section-index { font: 10px/1.5 var(--sans); letter-spacing: .5px; color: #869580; }
.section-heading h2 { font: 400 27px/1.3 var(--serif); letter-spacing: -.6px; margin: 0; }
.heading-rule { height: 1px; background: var(--line); flex: 1; margin-left: 6px; }
.section-more { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10px; }
.section-more .icon { width: 13px; height: 13px; }
.research-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.research-card { background: #f0f3ec; border: 1px solid #e6eadf; border-radius: 5px; padding: 18px 16px 16px; display: flex; flex-direction: column; }
.research-card .research-icon { width: 23px; height: 23px; color: var(--green); margin-bottom: 14px; stroke-width: 1.3; }
.research-card h3 { font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.research-card p { font-size: 11px; line-height: 1.8; margin-bottom: 17px; }
.research-keyword { display: block; font-size: 9px; color: var(--green); margin-top: auto; letter-spacing: .1px; }

.publication-toolbar { border-bottom: 1px solid var(--line); margin-top: -6px; }
.publication-filters { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.filter-button { position: relative; border: 0; background: none; color: var(--muted); font-size: 11px; padding: 10px 0 12px; white-space: nowrap; }
.filter-button span { font-size: 9px; margin-left: 3px; opacity: .8; }
.filter-button.active { color: var(--green-dark); font-weight: 600; }
.filter-button.active::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--green); }
.filter-button:hover { color: var(--green-dark); }
.publication-note { font-size: 10px; color: var(--muted); margin: 13px 0 0; display: flex; justify-content: space-between; gap: 8px; }
.publication { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 19px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.publication:last-child { border-bottom: 0; }
.publication-venue { padding-top: 2px; }
.venue-badge { display: block; padding: 4px 5px; border: 1px solid #dbe4d5; background: var(--tint); color: var(--green-dark); border-radius: 4px; text-align: center; font-size: 10px; font-weight: 650; line-height: 1.6; }
.publication[data-topic~="llm"] .venue-badge { background: #edf0f4; color: #53667d; border-color: #dfe5ec; }
.publication-year { display: block; text-align: center; font-size: 10px; color: var(--muted); margin-top: 4px; }
.publication h3 { font-size: 14px; font-weight: 600; line-height: 1.6; margin: 0 0 7px; letter-spacing: -.08px; }
.publication h3 a { color: var(--ink); }
.publication h3 a:hover { color: var(--green); }
.publication-authors { font-size: 11px; line-height: 1.8; margin: 0 0 6px; color: var(--muted); }
.publication-authors strong { font-weight: 600; color: var(--ink); border-bottom: 1px solid #a7b3a2; }
.publication-journal { font: italic 11px/1.7 var(--serif); color: var(--body); margin: 0 0 8px; }
.publication-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.publication-links a { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 500; }
.publication-links .icon { width: 12px; height: 12px; }
.distinction { display: inline-block; background: #f4eee0; color: #8a6728; border-radius: 3px; font-size: 9px; padding: 1px 6px; }
.view-all-button { border: 1px solid var(--line); background: transparent; color: var(--green); font-size: 11px; padding: 10px 16px; width: 100%; border-radius: 4px; margin-top: 4px; transition: background .2s; }
.view-all-button:hover { background: var(--tint); }
.view-all-button span { margin-left: 7px; }

.timeline { margin-left: 5px; border-left: 1px solid #d7dfd1; }
.timeline-item { padding: 0 0 26px 24px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; border: 1px solid #abb9a3; background: var(--paper); top: 7px; left: -4px; }
.timeline-dot.current { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 4px #e9eee4; }
.entry-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.entry-heading h3 { font-size: 13px; font-weight: 600; margin: 0 0 3px; }
.date { font-size: 10px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.timeline-item p, .experience-body p { font-size: 11px; margin-bottom: 2px; line-height: 1.8; }
.entry-role { color: var(--green); }
.timeline-item .entry-detail, .experience-body .entry-detail { color: var(--muted); font-size: 10px; margin-top: 5px; }
.thesis { font-size: 10px; color: var(--muted); margin-top: 5px; }
.thesis summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 5px; color: var(--green); padding: 2px 0; }
.thesis summary::-webkit-details-marker { display: none; }
.thesis summary .icon { width: 10px; height: 10px; transition: transform .2s; }
.thesis[open] summary .icon { transform: rotate(90deg); }
.thesis p { padding: 4px 0; font-style: italic; }
.experience-item { display: flex; gap: 17px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.experience-item:first-child { padding-top: 0; }
.experience-item:last-child { padding-bottom: 0; border: 0; }
.institution-mark { width: 43px; height: 43px; border: 1px solid var(--line); background: #f1f4ed; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #64715f; font: 19px/1 var(--serif); border-radius: 5px; letter-spacing: -1px; margin-top: 2px; }
.institution-mark span { font: 8px/1 var(--sans); align-self: flex-start; margin: 10px 0 0 2px; letter-spacing: 0; }
.experience-body { flex: 1; min-width: 0; }
.entry-location { color: var(--muted); }
.service-row { display: grid; grid-template-columns: 146px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.service-row:first-of-type { padding-top: 0; }
.service-row:last-child { border: 0; padding-bottom: 0; }
.service-row h3 { font-size: 11px; font-weight: 500; margin: 0; }
.service-row p { font-size: 11px; line-height: 1.9; margin: 0; }
.site-footer { margin-top: 54px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.footer-separator { margin: 0 9px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 7px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a span { margin-left: 6px; }

@media (min-width: 1400px) {
  .page-layout { column-gap: 90px; }
}
@media (max-height: 860px) and (min-width: 901px) {
  .profile { position: static; }
}
@media (max-width: 1100px) {
  .page-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 42px; }
  .portrait-frame { width: 202px; }
  .profile-divider, .profile-links, .cv-button, .cv-online { width: 202px; }
  .profile h1 { font-size: 33px; }
  .desktop-nav { gap: 22px; }
  .research-grid { gap: 8px; }
  .research-card { padding: 15px 12px; }
}
@media (max-width: 900px) {
  .header-inner, .page-layout { width: min(700px, calc(100% - 48px)); }
  .header-inner { height: 70px; }
  .header-contact { margin-left: auto; }
  .desktop-nav { gap: 17px; margin-left: auto; margin-right: 0; }
  .desktop-nav a { font-size: 12px; }
  .header-contact { display: none; }
  .page-layout { display: block; margin-top: 35px; }
  .profile { position: static; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 35px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
  .portrait-frame { width: 190px; align-self: start; margin-top: 5px; }
  .profile-body { padding: 0; }
  .profile h1 { font-size: 34px; margin-bottom: 8px; }
  .profile-eyebrow { margin-bottom: 3px; }
  .department { margin: 4px 0 8px; }
  .department br { display: none; }
  .profile-divider { display: none; }
  .profile-links { display: flex; width: auto; max-width: none; gap: 15px; margin-top: 12px; }
  .profile-links a { padding: 5px 0; }
  .profile-links a span:not(.orcid-icon) { font-size: 10px; }
  .profile-links .link-arrow { display: none; }
  .profile-links a { gap: 5px; }
  .cv-button { width: 176px; margin-top: 10px; padding: 7px 10px; }
  .cv-online { text-align: left; width: auto; }
  .eyebrow { margin-bottom: 20px; }
  .intro-heading { font-size: 36px; }
  .research-card { padding: 18px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 88px; }
  .header-inner, .page-layout { width: calc(100% - 40px); }
  .header-inner { height: 64px; }
  .wordmark { font-size: 29px; }
  .desktop-nav { display: none; }
  .header-contact { display: inline-flex; margin-left: auto; font-size: 11px; }
  .menu-toggle { display: block; }
  .page-layout { margin-top: 30px; }
  .profile { grid-template-columns: 112px minmax(0, 1fr); gap: 22px; padding-bottom: 26px; margin-bottom: 28px; }
  .portrait-frame { width: 112px; padding: 4px; border-radius: 4px; margin-top: 3px; }
  .profile-eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 3px; }
  .profile h1 { font-size: 29px; margin-bottom: 7px; letter-spacing: -.9px; }
  .position { font-size: 11px; }
  .affiliation { font-size: 10px; line-height: 1.6; display: inline-block; }
  .affiliation .icon { display: none; }
  .department { font-size: 10px; margin-top: 4px; }
  .location { font-size: 9px; }
  .profile-links { flex-wrap: wrap; gap: 3px 13px; margin-top: 9px; }
  .profile-links a { font-size: 10px; gap: 5px; padding: 6px 0; }
  .profile-links a .icon { width: 13px; height: 13px; }
  .profile-links a span:not(.orcid-icon) { font-size: 9px; }
  .orcid-icon { width: 13px; height: 13px; line-height: 11px; font-size: 8px; }
  .cv-button { width: 155px; font-size: 10px; margin-top: 10px; padding: 8px 10px; }
  .cv-online { font-size: 9px; margin-top: 5px; }
  .eyebrow { font-size: 8px; letter-spacing: 1px; line-height: 1.7; gap: 8px; margin-bottom: 18px; }
  .intro-heading { font-size: 32px; margin-bottom: 13px; }
  .intro-lead { font-size: 20px; line-height: 1.5; margin-bottom: 20px; }
  .biography p { font-size: 13px; line-height: 1.9; }
  .about-contact { font-size: 11px; }
  .content-section { padding-top: 36px; }
  .section-heading { gap: 9px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 25px; }
  .section-index { font-size: 9px; }
  .section-more { font-size: 9px; }
  .research-grid { grid-template-columns: 1fr; gap: 10px; }
  .research-card { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 0 13px; padding: 16px; }
  .research-card .research-icon { grid-column: 1; grid-row: 1 / 4; margin-top: 3px; margin-bottom: 0; }
  .research-card h3 { font-size: 13px; grid-column: 2; margin-bottom: 5px; }
  .research-card p { font-size: 11px; grid-column: 2; margin-bottom: 8px; }
  .research-keyword { grid-column: 2; }
  .publication-filters { gap: 20px; }
  .filter-button { font-size: 10px; padding: 10px 0 12px; }
  .publication { grid-template-columns: 58px minmax(0, 1fr); gap: 13px; padding: 22px 0; }
  .publication h3 { font-size: 13px; }
  .venue-badge { font-size: 9px; padding: 4px 3px; }
  .publication-authors { font-size: 10px; }
  .publication-journal { font-size: 10px; }
  .publication-note { font-size: 9px; }
  .entry-heading { flex-direction: column; gap: 0; margin-bottom: 5px; }
  .entry-heading h3 { font-size: 12px; margin-bottom: 1px; }
  .date { font-size: 9px; }
  .timeline-item { padding-left: 20px; }
  .experience-item { gap: 13px; }
  .institution-mark { width: 36px; height: 36px; font-size: 17px; }
  .service-row { grid-template-columns: 1fr; gap: 4px; padding: 15px 0; }
  .service-row h3 { font-size: 12px; }
  .service-row p { font-size: 11px; }
  .site-footer { margin-top: 40px; }
}
@media (min-width: 621px) {
  .menu-toggle, .mobile-nav { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .profile, .publication-toolbar, .publication-note, .view-all-button, .site-footer, .skip-link { display: none !important; }
  body { background: white; color: #222; font-size: 11pt; }
  .page-layout { display: block; width: 100%; margin: 0; }
  .publication[hidden] { display: grid !important; }
  .content-section { padding-top: 24px; }
  .research-card, .publication, .timeline-item, .experience-item { break-inside: avoid; }
  a { color: inherit; }
}
