:root {
  color-scheme:light;
  --paper:#fdfdfb; --ink:#242824; --muted:#505a54; --accent:#773d42;
  --rule:#d1d6ce; --fine:#e4e7e0;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --sans:Inter,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-padding-top:4.9rem}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.56 var(--sans);-webkit-font-smoothing:antialiased}
main,footer,.bar-inner{width:min(60.5rem,calc(100% - 4rem));margin-inline:auto}
h1,h2,h3,figure,p,ul,dl,dd{margin:0}
ul{list-style:none;padding:0}
a{color:var(--accent);text-underline-offset:.2em;text-decoration-color:#b59a9a}
a:hover{text-decoration:underline;color:#52282c}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
button{font:inherit}
.sitebar{position:sticky;top:0;z-index:5;background:var(--paper);border-top:3px solid #663a3e;border-bottom:1px solid var(--rule)}
.bar-inner{min-height:3.15rem;display:flex;align-items:stretch}
.navlinks{display:flex;align-items:stretch;justify-content:space-between;width:100%;gap:.8rem}
.navlinks a{display:flex;align-items:center;border-bottom:2px solid transparent;padding:.75rem 0 .58rem;font-size:.9rem;color:var(--muted);text-decoration:none}
.navlinks a:hover,.navlinks a[aria-current]{border-bottom-color:var(--accent);color:var(--accent)}
.mobnav{display:none}
.skip{position:fixed;top:-6rem;left:1rem;background:var(--paper);padding:.4rem .7rem;z-index:10}
.skip:focus{top:.15rem}
.intro{display:grid;grid-template-columns:minmax(0,1fr) 11.75rem;gap:clamp(2rem,6vw,5rem);align-items:start;padding:clamp(2.3rem,4.6vw,4.15rem) 0 2.25rem}
.bio{grid-column:1;grid-row:1}
h1{font:400 clamp(3.35rem,5.7vw,4.65rem)/.99 var(--serif);letter-spacing:-.055em;margin-bottom:1.17rem}
.bio p{font-size:1.035rem;line-height:1.62;margin:.59rem 0;max-width:67ch}
.bio p a{text-decoration:none}
.bio p a:hover{text-decoration:underline}
.portrait{grid-column:2;grid-row:1;justify-self:end;position:relative;aspect-ratio:4/5;width:100%;display:grid;place-items:center;isolation:isolate;background:#eeeae4;border:5px solid white;outline:1px solid #d4d0c9;margin:.35rem 1px 0 0}
.contacts,.resources{display:flex;gap:.3rem 1.08rem;flex-wrap:wrap}
.contacts{margin-top:1.05rem}
.contacts a,.resources a{font-size:.92rem;font-weight:550;text-decoration:underline;text-decoration-color:#baa4a2}
.contacts a:hover,.resources a:hover{text-decoration-color:currentColor}
.major{border-top:1px solid var(--rule);padding:1.85rem 0 2.05rem}
.major>h2{font:400 clamp(1.95rem,3.4vw,2.5rem)/1.12 var(--serif);letter-spacing:-.04em;margin-bottom:1.13rem}
.when{color:var(--muted);font-size:.9rem;font-variant-numeric:tabular-nums;white-space:nowrap}

.education-list li,.grant-head{display:flex;align-items:baseline;justify-content:space-between;gap:1.4rem}
.education-list li{padding:.42rem 0}
.education-list li+li{border-top:1px solid var(--fine)}
.education-list h3,.teach-institution h3{font-size:1.01rem;line-height:1.45;font-weight:650}
.country,.research-place,.course-note{font-weight:400;color:var(--muted)}
.education-list p{line-height:1.47}
.education-list .research-place{font-size:.93rem}
.publication{display:grid;grid-template-columns:minmax(11rem,15rem) minmax(0,1fr);column-gap:clamp(1.4rem,3.5vw,2.65rem);align-items:start;padding:.22rem 0 1.46rem}
.publication+.publication{border-top:1px solid var(--fine);padding-top:1.27rem}
.pub-figure{width:100%}
.pub-figure figcaption{display:flex;align-items:baseline;gap:.6rem;justify-content:space-between;border-top:2px solid var(--accent);padding:.28rem 0 .42rem;line-height:1.25}
.pub-figure figcaption strong{font:650 1rem/1.3 var(--sans);color:var(--accent)}
.pub-figure figcaption time{font-size:.9rem;color:var(--muted);font-variant-numeric:tabular-nums}
.thumb{border:1px solid #dee1dc;padding:0;background:white;display:block;width:100%;cursor:zoom-in}
.thumb img{width:100%;height:auto;display:block;max-height:13.3rem;object-fit:contain}
.publication h3{font:500 clamp(1.34rem,2.35vw,1.63rem)/1.2 var(--serif);letter-spacing:-.024em;margin-bottom:.41rem}
.publication h3 a,.other-title{color:var(--ink);text-decoration:none}
.publication h3 a:hover,.other-title:hover{color:var(--accent);text-decoration:underline}
.authors,.full-authors,.other-venue{font-size:.93rem;line-height:1.5;color:var(--muted)}
.authors strong,.full-authors strong{color:var(--ink)}
.contribution{display:inline-block;margin-left:.48rem;font-size:.85rem}
sup{font-size:.72em;line-height:0}
.resources{margin:.42rem 0 .48rem}
.blurb{line-height:1.56}
.additional{border-top:1px solid var(--rule);margin-top:.25rem;padding-top:1.2rem}
.additional>h3{font:500 1.42rem/1.3 var(--serif);letter-spacing:-.015em;margin-bottom:.55rem}
.other-list li,.dated li{display:grid;grid-template-columns:6.6rem minmax(0,1fr);align-items:baseline;gap:1.15rem}
.other-list li{padding:.65rem 0}
.other-list li+li{border-top:1px solid var(--fine)}
.other-title{display:inline-block;font-weight:600;line-height:1.4}
.full-authors{margin:.15rem 0 .05rem}
.other-venue{font-style:italic}
.awardgroup+.awardgroup,.present-block+.present-block,.teach-institution+.teach-institution{margin-top:1.1rem}
.awardgroup h3,.present-block h3{font:600 1rem/1.4 var(--sans);margin:.14rem 0 .35rem;color:var(--accent)}
.awardgroup .dated li,.grants li{padding:.17rem 0}
.item-name,.talks strong{font-weight:550}
.extra,.event{color:var(--muted)}
.extra{font-size:.95rem}
.extra strong{color:var(--ink);font-weight:700}
.grant-head{align-items:baseline}
.grant-head h3{font-size:1.22rem;line-height:1.34;color:var(--accent);font-weight:620}

.grants{margin-top:.55rem}
.grants strong{font-weight:600}
.talks li{padding:.3rem 0}
.talks .event{font-size:.95rem;margin-top:.12rem}
.poster-title{font-weight:550;text-decoration-color:#c4adad}
.teach-institution h3{padding-bottom:.3rem;border-bottom:1px solid var(--fine);color:var(--accent)}
.teach-list,.skills{display:grid;grid-template-columns:minmax(12rem,15rem) minmax(0,1fr);gap:.42rem 1.45rem;align-items:baseline}
.teach-list{padding-top:.38rem}
.teach-list dt{font-size:.95rem;color:var(--muted)}
.skills dt{font-weight:600}
footer{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:.65rem;border-top:1px solid var(--rule);padding:1rem 0 2rem;color:var(--muted);font-size:.9rem}
dialog{width:min(62rem,calc(100% - 2rem));max-height:90vh;border:1px solid var(--rule);padding:1rem;background:var(--paper);color:var(--ink)}
dialog::backdrop{background:#191d1bba}
dialog img{width:100%;max-height:72vh;display:block;object-fit:contain}
dialog form{display:flex;justify-content:flex-end;margin-top:.65rem}
dialog button{border:1px solid var(--rule);color:var(--ink);background:white;padding:.25rem .8rem;cursor:pointer}
@media(max-width:52rem){
 main,footer,.bar-inner{width:calc(100% - 2.6rem)}
 .intro{grid-template-columns:minmax(0,1fr) 9rem;gap:1.85rem}
 .publication{grid-template-columns:11rem minmax(0,1fr);gap:1.3rem}
}
@media(max-width:44rem){
 .bar-inner{display:block;min-height:2.7rem}
 .desktopnav{display:none}
 .mobnav{display:block;width:100%}
 .mobnav summary{cursor:pointer;color:var(--accent);font-weight:550;padding:.52rem 0}
 .mobnav .navlinks{align-items:baseline;justify-content:start;flex-wrap:wrap;gap:.15rem 1.25rem;padding-bottom:.7rem}
 .mobnav .navlinks a{padding:.22rem 0}
 .teach-list,.skills{grid-template-columns:minmax(8rem,11rem) minmax(0,1fr);gap:.4rem 1rem}
}
@media(max-width:36rem){
 main,footer,.bar-inner{width:calc(100% - 2.1rem)}
 .intro{display:flow-root;padding:1.65rem 0 1.4rem}
 .portrait{float:right;width:4.55rem;margin:.1rem 1px .48rem .7rem;border-width:3px}
 h1{font-size:clamp(2.55rem,10vw,3.45rem);padding:.1rem 0 0;margin-bottom:.82rem}
 .bio p{font-size:1rem}
 .contacts{clear:both}
 .major{padding:1.45rem 0}
 .education-list li,.grant-head{gap:.5rem}
 
 .publication{display:block}
 .pub-figure{width:min(100%,17.4rem);margin-bottom:.73rem}
 .thumb img{max-height:12rem}
 .dated li,.other-list li{grid-template-columns:4.96rem minmax(0,1fr);gap:.68rem}
 
 .teach-list,.skills{display:block}
 .teach-list dt,.skills dt{margin-top:.51rem}
 .teach-list dt:first-child,.skills dt:first-child{margin-top:0}
 .teach-list dd,.skills dd{margin-top:.06rem}
}
@media(max-width:23rem){
 .dated li,.other-list li{grid-template-columns:1fr;gap:.03rem}
 .education-list li,.grant-head{flex-wrap:wrap;gap:.05rem .4rem}
}
@media print{
 .sitebar,.skip,footer,dialog,.contacts,.portrait{display:none}
 body{background:white}
 main{width:100%}
 .intro{display:block;padding:0 0 1rem}
 .major{padding:1rem 0}
 .publication,.dated li,.other-list li,.education-list li,.teach-institution{break-inside:avoid}
 a{color:inherit}
}

/* Personal header */
.intro{display:block;padding:2.25rem 0 1.55rem}
.identity-row{display:flex;align-items:center;gap:1.5rem;margin:0 0 1.4rem}
.identity-row .portrait{width:8rem;height:8rem;aspect-ratio:1;flex:0 0 auto;float:none;justify-self:auto;margin:0;border:1px solid #dedbd4;border-radius:.42rem;overflow:hidden;outline:0}
.identity{min-width:0}
.identity h1{font-size:clamp(2.4rem,4.65vw,3.45rem);margin:0 0 .38rem;line-height:1}
.identity-role{font-size:1rem;line-height:1.5}
.identity-affiliation{font-size:.95rem;color:var(--muted);line-height:1.45}
.contacts{margin:.46rem 0 0;gap:.24rem 1.02rem}
.contacts a{display:inline-flex;align-items:center;gap:.32rem;color:var(--muted);font-size:.9rem;font-weight:450;text-decoration:none}
.contacts svg{display:block;flex:none}
.contacts a:hover{color:var(--accent);text-decoration:underline}
.bio{max-width:78ch}
.bio p{max-width:none;margin:.53rem 0}
.bio p:last-child{margin-bottom:0}
.degree-detail{margin-top:.22rem;color:var(--muted);font-size:.93rem}
.thesis-title{font-style:italic}
/* Publications */

.first-papers>.paper-group,.additional>.paper-group{font:600 1.02rem/1.4 var(--sans);letter-spacing:0;color:var(--accent);margin:0 0 .87rem}
.publication h4{font:500 clamp(1.34rem,2.35vw,1.63rem)/1.2 var(--serif);letter-spacing:-.024em;margin:0 0 .41rem}
.publication h4 a{color:var(--ink);text-decoration:none}
.publication h4 a:hover{color:var(--accent);text-decoration:underline}
.pub-figure{position:relative;padding-top:.72rem}
.pub-figure figcaption{position:absolute;top:0;left:.42rem;z-index:1;display:inline-flex;align-items:baseline;gap:.26rem;border:0;border-radius:2px;background:#724347;color:white;padding:.15rem .5rem;font:550 .82rem/1.35 var(--sans);pointer-events:none}
.pub-figure figcaption strong,.pub-figure figcaption time{font:inherit;color:inherit}
.pub-figure .thumb{padding-top:.64rem}
.awardgroup:first-of-type .dated li{align-items:start;padding-top:.32rem}

.project-title,.poster-title,.talks strong{color:var(--ink);font-weight:550}
.poster-title{text-decoration-color:#b6afa9}
.poster-title:hover{color:var(--accent)}
.teaching-role+.teaching-role{margin-top:1rem}
.teaching-role h3{font:600 1rem/1.4 var(--sans);color:var(--accent);margin:0 0 .4rem}
.teaching-role li+li{margin-top:.44rem}
.teaching-role .school{font-size:.93rem;color:var(--muted)}
.skills dt{color:var(--accent)}
footer{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:baseline;gap:.5rem 1rem}
footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1.13rem}
footer>a{justify-self:end}
footer a{color:var(--muted);text-decoration-color:#beb7af}
footer a:hover{color:var(--accent)}
@media(max-width:44rem){}
@media(max-width:36rem){
 .intro{padding:1.55rem 0 1.2rem}
 .identity-row{align-items:start;gap:.8rem;margin-bottom:1rem}
 .identity-row .portrait{width:5.4rem;height:5.4rem}
 .identity h1{font-size:clamp(2rem,8.6vw,2.9rem);padding:0}
 .identity-role,.identity-affiliation{font-size:.9rem}
 .contacts{gap:.26rem .7rem}
 .contacts a{font-size:.86rem}
 footer{grid-template-columns:1fr auto;row-gap:.65rem}
 footer nav{grid-column:1/-1;grid-row:2}
 footer>a{grid-column:2;grid-row:1}
}
@media print{footer,.identity-row .portrait,.contacts{display:none}.identity-row{margin-bottom:.7rem}.pub-figure figcaption{background:white;color:black}}

.teaching-school{color:var(--muted)}
.award-description{line-height:1.48}
.award-description>strong{font-weight:600}
.award-description .extra{margin-top:.1rem}
.teaching-role li+li{margin-top:.23rem}

.topic-label{font-weight:550}
.skills abbr[title]{text-decoration:none}
.skills>dt,.skills>dd{margin:0}
.skills{row-gap:.72rem}
.programming-groups{display:grid;grid-template-columns:1.03fr 1.66fr .81fr;gap:1.15rem;margin:0}
.programming-groups dt{color:var(--muted);font-size:.9rem;font-weight:600;line-height:1.4;margin:0 0 .12rem}
.programming-groups dd{font-size:1rem;line-height:1.5;margin:0;text-wrap:pretty}
@media(max-width:48rem){
 .programming-groups{display:grid;grid-template-columns:1fr;gap:.26rem}
 .programming-groups>div{display:grid;grid-template-columns:4.9rem minmax(0,1fr);gap:.3rem;align-items:baseline}
 .programming-groups dt,.programming-groups dd{margin:0}
}
@media(max-width:36rem){
 .skills>dt:not(:first-child){margin:.8rem 0 .1rem}
 .skills .programming-groups dt,.skills .programming-groups dd{margin:0}
}

.identity h1 .chinese-name{display:inline-block;vertical-align:.11em;margin-inline-start:.12em;
 font:400 .55em/1.3 "PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif;
 color:var(--muted);letter-spacing:.04em;white-space:nowrap}
.award-description .award-project{margin:.17rem 0 0;line-height:1.5}

/* Type roles shared across the page. */
:root{
  --body-type:400 1rem/1.56 var(--sans);
  --group-type:600 1rem/1.4 var(--sans);
  --entry-type:550 1rem/1.56 var(--sans);
  --detail-type:400 .9375rem/1.5 var(--sans);
  --link-type:400 .9rem/1.56 var(--sans);
}
.bio p,.education-list p,.blurb,.award-description,.award-description .award-project,
.grants li p,.teaching-role li p,.skills>dd,.programming-groups dd{font:var(--body-type)}
.identity-role{font:var(--body-type)}
.first-papers>.paper-group,.additional>.paper-group,.awardgroup h3,.present-block h3,
.teaching-role h3,.skills>dt{font:var(--group-type);letter-spacing:normal;color:var(--accent)}
.first-papers>.paper-group,.additional>.paper-group,.awardgroup h3,.present-block h3,
.teaching-role h3{margin:0 0 .5rem}
.education-list h3,.other-title,.award-description>strong,.item-name,.project-title,
.talks strong,.poster-title{font:var(--entry-type)}
.authors,.full-authors,.other-venue,.extra,.talks .event,.education-list .degree-detail,
.education-list .research-place,.identity-affiliation{font:var(--detail-type)}
.other-venue,.thesis-title{font-style:italic}
.navlinks a,.contacts a,footer,footer a,.resources a{font:var(--link-type)}
.when{font:var(--link-type);font-variant-numeric:tabular-nums}
.awardgroup+.awardgroup,.present-block+.present-block,.teaching-role+.teaching-role{margin-top:1.1rem}

/* Running prose can fill its column while the last line reads naturally. */
.bio p, .blurb, .award-project {
  text-align: justify;
  text-align-last: start;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
  overflow-wrap: break-word;
}
.bio a {
  -webkit-hyphens: manual;
  hyphens: manual;
}

/* Figure proportions follow the original manuscripts. */
.publication {grid-template-columns:minmax(14rem,19rem) minmax(0,1fr);column-gap:clamp(1.3rem,2.7vw,2.1rem)}
.pub-figure {padding-top:.7rem}
.pub-figure figcaption {position:absolute;top:0;left:.6rem;width:fit-content;margin:0}
.pub-figure .thumb {padding:.9rem .25rem .25rem;border-color:var(--fine);background:white}
.thumb img {display:block;width:100%;height:auto;max-height:none;object-fit:contain}
#networks .thumb img {width:auto;max-width:100%;max-height:13.25rem;margin-inline:auto}
.thumb:focus-visible,.figure-controls :focus-visible,.figure-sheet:focus-visible {outline:2px solid var(--accent);outline-offset:2px}
.thumb:hover {border-color:var(--accent)}
.figure-viewer {box-sizing:border-box;margin:auto;padding:0;inset:0;width:min(83rem,calc(100% - 1.5rem));max-width:none;
  max-height:94vh;max-height:94dvh;border:1px solid var(--rule);background:white;color:var(--ink);overflow:hidden}
.figure-viewer::backdrop {background:rgb(27 29 31 / .76)}
.figure-controls {display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:.52rem .8rem;background:var(--paper);
  font:var(--link-type);border-bottom:1px solid var(--fine)}
.figure-controls strong {flex:1;font-weight:600}
.figure-controls button {min-height:2rem;display:inline-flex;align-items:center;gap:.32rem;cursor:pointer}
.figure-controls button {font:inherit;color:inherit;padding:.12rem .62rem;background:white;border:1px solid var(--rule);border-radius:2px}
.figure-sheet {max-height:calc(94vh - 4rem);max-height:calc(94dvh - 4rem);overflow:auto;overscroll-behavior:contain}
.figure-sheet img {display:block;margin:auto;width:auto;height:auto;max-width:100%;max-height:calc(94vh - 4.5rem);max-height:calc(94dvh - 4.5rem)}
@media(max-width:52rem) and (min-width:46.01rem) {
  .publication {grid-template-columns:minmax(13rem,32%) minmax(0,1fr)}
}
@media(max-width:46rem) {
  .publication {display:block}
  .pub-figure {width:min(100%,27rem);margin-bottom:.8rem}
  #networks .pub-figure {width:min(100%,16rem)}
}
@media(max-width:25rem) {
  .figure-controls {gap:.44rem;font-size:.83rem}
}
@media print {.figure-viewer {display:none!important}}
.identity-row img.portrait {display:block;object-fit:cover;object-position:center 40%}
.project-title .grant-role {display:inline-block;white-space:nowrap;font:var(--detail-type);color:var(--muted)}
