/* A small, document-first homepage. No framework or external font requests. */
:root {
  color-scheme: light;
  --ink: #272b30;
  --muted: #646970;
  --link: #245c87;
  --line: #e6e8eb;
  --body: "Helvetica Neue", Helvetica, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.65 var(--body); }
html[lang="en"] [lang="zh"], html[lang="en"] [lang="ja"],
html[lang="zh"] [lang="en"], html[lang="zh"] [lang="ja"],
html[lang="ja"] [lang="en"], html[lang="ja"] [lang="zh"] { display: none !important; }
a { color: var(--link); text-decoration: none; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
button { font: inherit; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 16px; }
strong { font-weight: 600; }
h1, h2, h3 { font-weight: 500; line-height: 1.35; }
h1 { margin: 0 0 22px; font-size: clamp(2rem, 4vw, 2.5rem); letter-spacing: -.035em; }
h1 .name-cn { font-size: .52em; color: var(--muted); letter-spacing: .04em; white-space: nowrap; margin-left: 10px; font-weight: 400; }
h2 { font-size: 1.45rem; letter-spacing: -.025em; margin: 0 0 26px; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
ul { margin: 0 0 18px; padding-left: 20px; }
li { margin: 7px 0; }
.site-shell { width: min(880px, calc(100% - 64px)); margin: 0 auto; }
.site-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 34px 0 0; font-size: .84rem; }
.site-nav nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.site-nav a { color: var(--muted); }
.languages { display: flex; gap: 3px; }
.languages button { color: var(--muted); background: none; border: 0; padding: 8px; cursor: pointer; font-size: .78rem; }
.languages button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 10px 16px; background: white; z-index: 2; }
.skip-link:focus { top: 10px; }
.profile { display: grid; grid-template-columns: minmax(0,1fr) 176px; gap: 48px; align-items: start; margin: 66px 0 0; }
.profile-copy { min-width: 0; }
.profile-copy p { margin-bottom: 16px; }
.profile-portrait { padding-top: 7px; }
.profile-photo { display: block; width: 176px; height: 176px; border-radius: 50%; object-fit: cover; }
.profile-copy strong { font-weight: 400; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 19px; margin-top: 22px; font-size: .9rem; }
.bio-more { margin-top: 20px; font-size: .9rem; }
details > summary { cursor: pointer; color: var(--muted); list-style: none; width: fit-content; line-height: 1.6; padding: 5px 0; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "+"; display: inline-block; margin-left: 9px; font-size: .9em; color: #7b8088; }
details[open] > summary::after { content: "−"; }
details > summary:hover { color: var(--ink); }
details[open] > summary { margin-bottom: 16px; }
details p:last-child { margin-bottom: 0; }
.profile-detail { margin-top: 20px; }
.profile-detail h2 { font-size: 1.1rem; margin: 22px 0 14px; }
.vision-kicker { display: none; }
.vision-grid { display: grid; gap: 12px; margin: 16px 0; }
.vision-grid strong, .vision-grid span { display: block; }
.section { margin-top: 64px; }
.paper-box { margin: 0 0 27px; }
.paper-box-image { padding-top: 10px; }
.paper-box-image img { display: block; width: 160px; height: auto; object-fit: contain; object-position: top; border: 1px solid #eef0f1; }
.paper-box-text { min-width: 0; font-size: .87rem; line-height: 1.55; }
.paper-box-text h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.45; margin: 0 0 8px; }
.paper-box-text h3 strong { font-weight: inherit; }
.paper-box-text > p { margin: 0 0 6px; color: var(--muted); }
.paper-box-text > p strong { color: var(--ink); font-weight: 500; }
.paper-box-text > p em { font-style: normal; color: var(--ink); }
.paper-box-text .recognition { display: block; color: var(--muted); font-size: .76rem; font-weight: 400; margin-top: 3px; }
.paper-abstract { margin-top: 7px; }
.paper-abstract > summary { font-size: .8rem; }
.paper-abstract ul { padding-left: 17px; margin-bottom: 10px; }
.paper-abstract li { margin: 10px 0; }
.more-items { font-size: .9rem; margin-top: 8px; }
.more-items > summary { color: var(--link); padding: 8px 0; }
.more-items[open] > summary { margin-bottom: 24px; }
.other-papers { font-size: .87rem; line-height: 1.65; }
.other-papers li { margin: 16px 0; }
.project-list { list-style: none; margin: 0; padding: 0; }
.project-list > li { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 26px; margin: 0 0 22px; }
.project-name { font-size: .94rem; font-weight: 500; padding-top: 1px; }
.project-name strong { font-weight: 500; }
.project-description { font-size: .92rem; }
.project-links { font-size: .8rem; margin-top: 4px; }
.project-group { font-size: .8rem; color: var(--muted); margin: 25px 0 16px; }
.project-more { font-size: .84rem; color: var(--muted); }
.reading-entry > a { font-size: .98rem; }
.reading-entry > p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.experience-entry { margin: 0 0 24px; font-size: .94rem; }
.experience-heading { margin-bottom: 5px; }
.experience-entry details { margin-top: 8px; font-size: .87rem; }
.experience-entry details > summary { font-size: .8rem; }
.experience-entry details > div { margin-top: 8px; }
.experience-entry details p { margin-bottom: 16px; }
.resume-entry-link { margin: 6px 0 0; font-size: .86rem; }
.news-list { font-size: .9rem; }
.news-list ul { list-style: none; padding: 0; }
.news-list li { margin: 12px 0; }
.news-list li > em:first-child { color: var(--muted); font-style: normal; margin-right: 8px; font-variant-numeric: tabular-nums; }
.background-details { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 14px; }
.background-details > details { border-bottom: 1px solid var(--line); padding: 13px 0; font-size: .9rem; }
.background-details > details > summary { color: var(--ink); font-size: .95rem; width: 100%; display: flex; justify-content: space-between; }
.background-details > details > div { margin-bottom: 15px; }
.site-footer { margin-top: 52px; padding-bottom: 36px; display: flex; justify-content: space-between; gap: 16px; font-size: .75rem; color: var(--muted); }
.site-footer a { color: var(--muted); }
@media (max-width: 680px) {
  .site-shell { width: calc(100% - 40px); }
  .site-nav { padding-top: 18px; font-size: .8rem; }
  .site-nav nav { gap: 8px 18px; }
  .site-nav .languages { flex-shrink: 0; align-self: flex-start; }
  .languages button { padding: 9px 7px; }
  .profile { margin-top: 38px; grid-template-columns: minmax(0,1fr) 86px; column-gap: 18px; row-gap: 0; }
  .profile-copy { display: contents; }
  .profile-copy h1 { grid-column: 1; grid-row: 1; align-self: center; font-size: 1.8rem; margin: 0; }
  h1 .name-cn { display: block; font-size: .52em; margin: 6px 0 0; }
  .profile-portrait { grid-column: 2; grid-row: 1; padding: 0; margin: 0 0 24px; }
  .profile-photo { width: 86px; height: 86px; }
  .profile-copy > div, .profile-copy > nav { grid-column: 1 / -1; }
  .profile-copy p { font-size: .96rem; }
  .contact-links { margin-top: 6px; }
  .section { margin-top: 44px; }
  h2 { font-size: 1.3rem; margin-bottom: 22px; }
  .paper-box { margin-bottom: 25px; }
  .paper-box-text h3 { font-size: .97rem; }
  .paper-box-text { font-size: .81rem; }
  .project-list > li { grid-template-columns: 1fr; gap: 3px; margin-bottom: 21px; }
  .project-description { font-size: .9rem; }
  .background-details { margin-top: 34px; }
}
@media (max-width: 360px) {
  .site-nav nav { gap: 12px; }
  .languages { gap: 0; }
  .languages button { padding: 9px 6px; }
  .profile-copy h1 { font-size: 1.6rem; }
}
@media print {
  .site-shell { width: 100%; }
  .site-nav, .site-footer, .skip-link { display: none; }
  .profile { margin-top: 0; }
  details > :not(summary) { display: block !important; }
  details > summary::after { display: none; }
  .paper-box, .project-list > li { break-inside: avoid; }
}
