:root {
  --ink: #24313d;
  --muted: #5d6872;
  --link: #174e70;
  --rule: #dce2e6;
  --accent: #8b2946;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 108px; }
body { margin: 0; color: var(--ink); background: #fff; font: 17px/1.6 var(--sans); }
h1, h2, h3, h4, p, figure, ol, dl, dd { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.page, .header-inner { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 20; padding: 10px 16px; background: #fff; border: 1px solid var(--rule); }
.skip-link:focus { top: 15px; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 36px; }
.site-name { font-weight: 650; color: var(--ink); font-size: 18px; }
.site-header nav { margin-left: auto; display: flex; gap: 28px; }
.site-header nav a, .site-header nav button { color: var(--muted); font: inherit; font-size: 15px; padding: 21px 0; }
.site-header nav button { border: 0; background: none; cursor: pointer; }
.site-header nav a[aria-current], .site-header nav button[aria-expanded="true"] { color: var(--link); }
.site-header nav button:hover { text-decoration: underline; text-underline-offset: 4px; }
.language { display: flex; flex-shrink: 0; padding: 3px; border: 1px solid #bccdd8; border-radius: 6px; font-size: 14px; line-height: 1.2; }
.language a { display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 12px; border-radius: 3px; color: var(--link); font-weight: 600; }
.language a:hover { background: #edf3f7; text-decoration: none; }
.language a[aria-current="page"] { background: var(--link); color: #fff; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 172px; gap: 13px 65px; align-items: start; padding: 44px 0 38px; }
.name-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
h1 { font-size: 48px; font-weight: 650; line-height: 1.2; letter-spacing: -.03em; }
.other-name { font-size: 21px; color: var(--muted); }
.affiliation { margin-top: 13px; font-size: 18px; color: var(--muted); }
.portrait { grid-column: 2; grid-row: 1 / span 2; }
.portrait img { width: 172px; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.intro { grid-column: 1 / -1; grid-row: 3; font-size: 18px; line-height: 1.6; }
.intro strong { font-weight: 600; }
.hero-contact { grid-column: 1; grid-row: 2; min-width: 0; }
.email-list span { overflow-wrap: anywhere; }
.hero-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; }
.hero-links a { white-space: nowrap; }
.text-link { text-decoration: underline; text-decoration-color: #bccdd8; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--link); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
h2 { font-size: 25px; font-weight: 650; line-height: 1.4; }
.section-heading > a { font-size: 15px; }
.selected-research { border-top: 1px solid var(--rule); padding-top: 32px; }
.selected-research > .section-heading { margin-bottom: 7px; }
.selected-work { display: grid; grid-template-columns: minmax(0, 1fr) min(38%, 380px); gap: 32px; align-items: start; padding: 25px 0; }
.selected-work + .selected-work { border-top: 1px solid var(--rule); }
.research-copy { min-width: 0; }
.research-venue { color: var(--accent); font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
.research-copy h3 { font-size: 28px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }
.research-summary { margin-top: 14px; font-size: 17px; line-height: 1.65; }
.research-links { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 19px; font-size: 16px; }
.research-figure { min-width: 0; padding-top: 3px; }
.figure-link { display: block; overflow: hidden; cursor: zoom-in; }
.figure-link img, .figure-link svg { display: block; width: 100%; height: auto; }
.dark-figure { background: #17212c; }
.research-figure figcaption { font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 7px; }
.research-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
h4 { font-size: 22px; line-height: 1.5; font-weight: 600; }
.timeline-trigger { position: fixed; z-index: 11; right: 24px; bottom: 22px; min-height: 44px; padding: 10px 17px; border: 1px solid var(--rule); border-radius: 5px; background: #fff; color: var(--link); font: 500 15px/1.4 var(--sans); cursor: pointer; box-shadow: 0 2px 10px #24313d12; }
.timeline-trigger:hover, .timeline-trigger[aria-expanded="true"] { border-color: var(--link); }
.timeline-panel { position: fixed; inset: auto 24px 78px auto; width: min(380px, calc(100vw - 32px)); max-height: min(600px, calc(100dvh - 110px)); margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 8px 30px #24313d24; }
.timeline-panel:popover-open { display: flex; flex-direction: column; }
.timeline-heading { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px 9px 22px; border-bottom: 1px solid var(--rule); }
.timeline-heading h2 { font-size: 18px; }
.timeline-close { width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font: 26px/1 var(--sans); cursor: pointer; }
.timeline-close:hover { color: var(--ink); }
.timeline-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px 8px 30px; list-style: none; }
.timeline-list:focus-visible { outline: 2px solid var(--link); outline-offset: -3px; }
.timeline-list li { --timeline-color: var(--muted); position: relative; padding: 0 0 18px 18px; border-left: 1px solid var(--rule); }
.timeline-list li.timeline-education { --timeline-color: #1e6091; }
.timeline-list li.timeline-work { --timeline-color: #865126; }
.timeline-list li::before { content: ''; position: absolute; width: 7px; height: 7px; left: -4px; top: 7px; border-radius: 50%; background: var(--timeline-color); }
.timeline-list li:last-child { border-color: transparent; padding-bottom: 12px; }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; color: var(--timeline-color); font-size: 14px; line-height: 1.4; }
.timeline-year { font-variant-numeric: tabular-nums; }
.timeline-category { font-weight: 600; }
.timeline-list p { margin-top: 4px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.publications { margin-top: 18px; padding-top: 34px; border-top: 1px solid var(--rule); }
.publications .section-heading { margin-bottom: 20px; }
.publications .section-heading > a { flex-shrink: 0; }
.publication-year { border-top: 1px solid var(--rule); padding: 12px 0 4px; }
.publication-year h3 { font-size: 20px; font-weight: 650; line-height: 1.4; margin-bottom: 3px; }
.publication-entry { border-bottom: 1px solid var(--rule); }
.publication-entry:last-child { border-bottom: 0; }
.publication-entry summary { cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 170px 18px; gap: 25px; align-items: baseline; padding: 13px 0; list-style: none; }
.publication-entry summary::-webkit-details-marker { display: none; }
.publication-entry summary::after { content: '+'; font-size: 19px; color: var(--muted); font-weight: 400; text-align: right; }
.publication-entry[open] summary::after { content: '−'; }
.challenges { margin-top: 30px; padding-top: 31px; border-top: 1px solid var(--rule); }
.challenges .section-heading { margin-bottom: 12px; }
.challenge-entry summary { grid-template-columns: minmax(0, 1fr) 18px; }
.challenge-year { margin-right: 14px; font-size: 14px; font-weight: 400; color: var(--muted); }
.challenge-detail { padding: 0 0 20px; }
.challenge-detail > p { max-width: 760px; font-size: 16px; line-height: 1.55; }
.challenge-links { margin: 9px 0 16px; font-size: 14px; }
.challenge-photo a { display: block; width: fit-content; max-width: 100%; cursor: zoom-in; }
.challenge-detail > p + .challenge-photo { margin-top: 16px; }
.challenge-photo img { width: auto; max-width: 100%; max-height: 480px; }
.challenge-placeholder { display: grid; place-items: center; width: min(360px, 100%); aspect-ratio: 3 / 2; border: 1px solid var(--rule); background: #f4f6f7; color: var(--muted); font-size: 16px; }
.news { margin-top: 20px; padding-top: 31px; border-top: 1px solid var(--rule); }
.news .section-heading { margin-bottom: 12px; }
.news-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 25px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.news-item:last-child { border-bottom: 0; }
.news-date { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.news-copy { min-width: 0; }
.news-title { font-size: 17px; font-weight: 550; line-height: 1.45; overflow-wrap: anywhere; }
.news-source { margin-top: 3px; color: var(--muted); font-size: 14px; }
.publication-title { color: var(--link); font-size: 17px; font-weight: 550; line-height: 1.45; }
.publication-venue { color: var(--muted); font-size: 14px; line-height: 1.5; }
.publication-venue .publication-status { display: inline; margin-left: 6px; }
.publication-venue .v-name { color: var(--muted); }
.publication-detail { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 25px; align-items: start; padding: 3px 32px 23px 0; }
.publication-detail-text { display: block; max-width: 760px; }
.publication-image { min-width: 0; }
.publication-image img { width: 100%; height: auto; }
.publication-image figcaption { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.publication-image figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.publication-copy { font-size: 15px; line-height: 1.55; }
.publication-copy p + p { margin-top: 12px; }
.publication-authors { color: var(--muted); }
.publication-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 12px; }
.publication-links a { text-decoration: underline; text-decoration-color: #bccdd8; text-underline-offset: 3px; }
.publication-group { margin-top: 30px; }
.publication-group > h3 { font-size: 21px; font-weight: 600; line-height: 1.5; }
.pub { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.pub .meta { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 8px 35px; }
.ptitle { font-size: 19px; font-weight: 550; line-height: 1.55; }
.authors { grid-column: 1; color: var(--muted); font-size: 15px; line-height: 1.7; }
.me { color: var(--ink); font-weight: 650; }
.author-role { margin-left: 1px; color: var(--ink); vertical-align: super; font-size: .72em; line-height: 0; }
.publication-role-note { margin-top: 14px; color: var(--muted); font-size: .88rem; }
.venue { grid-column: 2; grid-row: 1 / span 3; font-size: 15px; line-height: 1.65; color: var(--muted); }
.v-name { color: var(--ink); }
.publication-status { display: block; }
.pub .links { grid-column: 1; display: flex; flex-wrap: wrap; gap: 17px; font-size: 15px; }
.pub .links a { text-decoration: underline; text-decoration-color: #bccdd8; text-underline-offset: 3px; }
.service { padding-top: 31px; border-top: 1px solid var(--rule); margin-top: 20px; }
.service dl { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 22px; }
.service dt { font-size: 18px; font-weight: 600; }
.service dd { margin-top: 5px; font-size: 15px; color: var(--muted); }
.contact { margin-top: 37px; padding: 31px 0; border-top: 1px solid var(--rule); }
.email-list { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 19px; font-size: 15px; }
.visitors { padding: 30px 0 28px; border-top: 1px solid var(--rule); }
.visitor-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 24px; }
.visitor-period { font-size: 14px; color: var(--muted); }
.visitor-status { margin-top: 8px; font-size: 15px; color: var(--muted); }
.visitor-map { width: min(560px, 100%); aspect-ratio: 1010 / 666; margin: 12px auto 0; }
.visitor-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.visitor-map path { fill: #e5ebef; stroke: #fff; stroke-width: .55; vector-effect: non-scaling-stroke; }
.visitor-map path.selected, .visitor-map path:focus-visible { stroke: var(--ink); stroke-width: 1.1; outline: none; }
.visitor-map-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 14px; }
.visitor-readout { min-height: 23px; }
.visitor-legend { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.visitor-legend[hidden] { display: none; }
.visitor-scale { width: 95px; height: 8px; background: linear-gradient(to right, #c6dce8, #91bdd2, #5f9eba, #357a9e, #174e70); }
.visitor-note { margin-top: 12px; color: var(--muted); font-size: 14px; }
.visitor-credit { margin-top: 4px; font-size: 12px; color: var(--muted); }
.visitor-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
footer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; padding: 20px 0 88px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
footer > span:nth-child(2) { margin-left: auto; }
.photo-viewer { width: fit-content; max-width: min(1000px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 56px 14px 14px; border: 0; background: #fff; color: var(--ink); }
.photo-viewer::backdrop { background: #172632d9; }
.photo-viewer figure > img { max-height: calc(100dvh - 197px); width: auto; margin: auto; object-fit: contain; }
.photo-viewer img.on-dark { background: #17212c; }
.photo-viewer figcaption { padding: 12px 5px 2px; font-size: 14px; text-align: center; }
.original-image { display: block; width: fit-content; margin: 7px auto 3px; font-size: 14px; }
.close-photo { position: absolute; top: 8px; right: 14px; width: 40px; height: 40px; border: 1px solid var(--rule); background: #fff; color: var(--ink); font: 28px/1 var(--sans); cursor: pointer; }
@media (max-width: 1399px) {
  .timeline-trigger { display: none; }
}
@media (max-width: 1000px) {
  .page, .header-inner { width: calc(100% - 64px); }
  .selected-work { gap: 32px; }
  .research-copy h3 { font-size: 26px; }
  .pub .meta { grid-template-columns: minmax(0, 1fr) 195px; gap: 8px 25px; }
}
@media (max-width: 760px) {
  .page, .header-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; gap: 24px; }
  .site-name { font-size: 16px; }
  .site-header nav { gap: 19px; }
  .site-header nav a, .site-header nav button { padding-block: 19px; font-size: 14px; }
  .hero { padding: 33px 0 34px; grid-template-columns: minmax(0, 1fr) 112px; gap: 20px 27px; align-items: center; }
  h1 { font-size: 41px; }
  .other-name { font-size: 18px; }
  .affiliation { font-size: 16px; margin-top: 11px; }
  .portrait { grid-row: 1; }
  .hero-contact { grid-column: 1 / -1; grid-row: 3; }
  .portrait img { width: 112px; }
  .intro { grid-column: 1 / -1; grid-row: 2; font-size: 18px; }
  .hero-links { grid-column: 1 / -1; font-size: 15px; }
  h2 { font-size: 23px; }
  .selected-research { padding-top: 26px; }
  .selected-work { grid-template-columns: minmax(0, 1fr) min(30%, 180px); gap: 20px; padding: 18px 0; }
  .research-copy h3 { font-size: 20px; }
  .research-summary { margin-top: 10px; font-size: 15px; }
  .research-links { margin-top: 12px; font-size: 14px; }
  .research-figure { padding-top: 0; }
  .publication-entry summary { grid-template-columns: minmax(0, 1fr) 18px; gap: 5px 14px; }
  .publication-venue { grid-column: 1; grid-row: 2; }
  .publication-entry summary::after { grid-column: 2; grid-row: 1; }
  .publication-detail { grid-template-columns: 1fr; gap: 17px; padding-right: 0; }
  .section-heading { margin-bottom: 24px; }
  h4 { font-size: 21px; }
  .pub .meta { display: flex; flex-direction: column; gap: 8px; }
  .ptitle { font-size: 18px; }
  .venue { order: -1; }
  .service dl { gap: 25px; }
  .email-list { font-size: 16px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 100px; }
  body { font-size: 15px; line-height: 1.5; }
  .header-inner { min-height: 0; flex-wrap: wrap; gap: 3px 20px; padding: 8px 0 4px; }
  .site-name { font-size: 15px; }
  .language { margin-left: auto; }
  .site-header nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 5px; }
  .site-header nav a, .site-header nav button { padding: 5px 0; font-size: 13px; }
  .timeline-panel { inset: auto 0 0; width: 100%; max-height: 55dvh; border-radius: 12px 12px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .timeline-heading { padding-left: 20px; }
  .intro { font-size: 15px; line-height: 1.5; }
  .hero-links { font-size: 13px; gap: 10px 12px; }
  h2 { font-size: 20px; }
  h4 { font-size: 18px; line-height: 1.4; }
  .selected-research { padding-top: 16px; }
  .selected-research > .section-heading { margin-bottom: 0; }
  .selected-work { grid-template-columns: minmax(0, 1fr) 82px; gap: 4px 14px; padding: 9px 0; }
  .research-copy { display: contents; }
  .research-venue { grid-column: 1; grid-row: 1; margin: 0; font-size: 12px; line-height: 1.4; }
  .research-copy h3 { grid-column: 1; grid-row: 2; font-size: 14px; line-height: 1.35; letter-spacing: 0; }
  .research-summary { grid-column: 1 / -1; grid-row: 3; margin: 3px 0 0; font-size: 13px; line-height: 1.4; }
  .research-links { grid-column: 1 / -1; grid-row: 4; margin-top: 2px; gap: 20px; font-size: 13px; }
  .research-figure { grid-column: 2; grid-row: 1 / span 2; }
  .research-figure figcaption { display: none; }
  .publication-title { font-size: 15px; line-height: 1.4; }
  .publication-venue, .publication-copy { font-size: 13px; line-height: 1.5; }
  .publication-entry summary { padding: 11px 0; }
  .section-heading > a { font-size: 13px; }
  .news-item { grid-template-columns: 1fr; gap: 2px; padding: 11px 0; }
  .news-date, .news-source { font-size: 13px; }
  .news-title { font-size: 15px; }
  footer { padding-bottom: 28px; }
}
@media (max-width: 470px) {
  .hero { grid-template-columns: minmax(0, 1fr) 86px; gap: 21px 20px; }
  h1 { font-size: 32px; }
  .other-name { font-size: 16px; }
  .name-line { gap: 7px 13px; }
  .affiliation { font-size: 15px; }
  .portrait img { width: 86px; }
  .intro { font-size: 15px; }
  .service dl { grid-template-columns: 1fr; gap: 18px; }
  footer > span:nth-child(2) { margin-left: 0; }
}
@media print {
  body { font-size: 11pt; }
  .page { width: 100%; }
  .site-header, .timeline-trigger, .timeline-panel, .skip-link, footer > a { display: none; }
  .hero { padding-block: 20px; }
  .pub, .selected-work { break-inside: avoid; }
  a { color: inherit; }
}
