/* Portrait, identity and parallel language layouts. */
.language-switch { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; font-weight: 700; border-bottom: 1px solid currentColor; padding: 0 3px; white-space: nowrap; flex-shrink: 0; }
.header-actions { gap: 25px; }
.hero h1 { font-size: 14.2vw; top: 21%; z-index: 3; }
.hero h1>span:first-child { word-spacing: .06em; letter-spacing: -.045em; }
.hero h1>span:last-child { font-size: 22vw; }
.hero-portrait { position: absolute; top: 21%; right: 5%; width: 32%; height: 58%; margin: 0; z-index: 1; }
.hero-portrait img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 61% 42%; border-radius: 48% 48% 0 0; }
.hero-portrait figcaption { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; letter-spacing: .06em; color: #4f574b; }
.sculpture-wrap { top: 43%; right: 26%; width: 39%; height: 39%; z-index: 4; }
.sculpture-caption { left: 27%; bottom: 5%; font-size: 13px; }
.sculpture-caption small { font-size: 10px; }
.hero-intro { bottom: 12.5%; }
.angle-selector { width: 405px; }
html[lang=en] .hero-chinese { font-family: var(--serif); font-size: 37px; line-height: 1.35; }
html[lang=en] .hero-roles { max-width: 430px; }
html[lang=en] .angle-selector { width: 430px; }
html[lang=en] .angle-selector button { font-size: 15px; }
html[lang=en] .manifesto { font-size: clamp(42px, 5.7vw, 82px); line-height: 1.3; }
html[lang=en] .manifesto .word { display: inline-block; }
html[lang=en] h2, html[lang=en] .project-copy h3 { letter-spacing: -.035em; }
html[lang=en] .field-heading>p { max-width: 520px; }
html[lang=en] .project-copy h3 { font-size: 37px; line-height: 1.22; }
html[lang=en] .project-name { font-size: 16px; line-height: 1.6; }
html[lang=en] .project-description { font-size: 16px; line-height: 1.75; }
html[lang=en] .project-eyebrow { font-size: 13px; }
html[lang=en] .project-tags { gap: 7px; }
html[lang=en] .project-tags>span { font-size: 12px; }
html[lang=en] .project-tabs button { font-size: 14px; }
html[lang=en] .desktop-hint:after { content: 'Select a project to explore'; }
html[lang=en] .research-opening h2 { font-size: clamp(50px, 5.6vw, 82px); line-height: 1.25; }
html[lang=en] .paper h3 { font-size: 40px; line-height: 1.3; }
html[lang=en] .paper-official-title { line-height: 1.7; }
html[lang=en] .teaching h2 { line-height: 1.3; }
html[lang=en] .teaching-events h3 { line-height: 1.35; }
html[lang=en] .award-card-caption h3 { font-size: 19px; line-height: 1.6; }
html[lang=en] .other-awards h3 { line-height: 1.4; }
html[lang=en] .journey-heading h2 { line-height: 1.25; }
html[lang=en] .journey-row h3 { font-size: 23px; line-height: 1.45; }
html[lang=en] .journey-row dl>div { display: grid; grid-template-columns: 1fr; gap: 4px; margin-top: 22px; }
html[lang=en] .journey-row dd { white-space: normal; font-weight: 600; }
html[lang=en] .journey-row p { line-height: 1.8; }
html[lang=en] .resume-section p, html[lang=en] .resume-section ul { overflow-wrap: anywhere; }
html[lang=en] .footer-message { line-height: 1.3; }
@media (min-width:1200px) and (min-height:900px) {
  .field { scroll-margin-top: -104px; }
  html[lang=en] .desktop-hint:after { content: 'Scroll to discover the projects ↓'; }
  html[lang=en] .project-copy { padding: 25px 33px; }
  html[lang=en] .project-copy h3 { font-size: 34px; }
  html[lang=en] .project-name { font-size: 15px; }
  html[lang=en] .project-description { font-size: 15px; }
}
@media (max-width:1199px) {
  .hero h1 { top: 23%; font-size: 15vw; }
  .hero h1>span:last-child { font-size: 26vw; }
  .hero-portrait { top: 24%; width: 36%; height: 52%; right: 4%; }
  .sculpture-wrap { top: 43%; right: 26%; width: 42%; height: 35%; }
  .hero-intro { bottom: 15%; }
  .hero-chinese { font-size: 32px; }
  .angle-selector { width: 390px; }
}
@media (max-width:960px) {
  .hero { min-height: 1040px; }
  .hero-portrait { top: 26%; right: 5%; height: 45%; width: 39%; }
  .hero h1 { font-size: 16vw; }
  .hero h1>span:last-child { font-size: 31vw; }
  .sculpture-wrap { top: 43%; right: 23%; width: 52%; height: 32%; }
  .hero-intro { bottom: 16%; }
  .sculpture-caption { left: 14%; bottom: 0; }
  .header-caption { display: none; }
  html[lang=en] .project-copy h3 { font-size: 32px; }
  html[lang=en] .project-tags>span { font-size: 12px; }
}
@media (max-width:700px) {
  .header { padding: 0 20px; }
  .header-actions { gap: 17px; }
  .language-switch { font-size: 13px; }
  .hero { height: auto; min-height: 1280px; }
  .hero h1 { top: 12.5%; left: 22px; font-size: 23.5vw; }
  .hero h1>span:last-child { font-size: 36vw; }
  .hero-portrait { top: 32%; right: 24px; width: 61%; height: 31%; }
  .hero-portrait img { border-radius: 47% 47% 0 0; }
  .hero-portrait figcaption { font-size: 11px; letter-spacing: .01em; }
  .sculpture-wrap { top: 41%; right: 31%; width: 87%; height: 27%; }
  .sculpture-caption { left: 39%; bottom: 2%; font-size: 12px; white-space: nowrap; }
  .sculpture-caption small { display: none; }
  .drag-cross { font-size: 19px; }
  .hero-intro { left: 24px; bottom: 15.5%; }
  .hero-chinese { font-size: 32px; }
  .hero-roles { font-size: 15px; }
  .angle-selector { right: 24px; width: calc(100% - 48px); bottom: 3%; }
  .scroll-prompt { right: 24px; bottom: 15.5%; }
  html[lang=en] .hero { min-height: 1320px; }
  html[lang=en] .hero-chinese { font-size: 35px; line-height: 1.3; }
  html[lang=en] .hero-roles { max-width: 270px; }
  html[lang=en] .angle-selector { width: calc(100% - 48px); }
  html[lang=en] .angle-selector button { font-size: 13px; }
  html[lang=en] .angle-selector button>span { display: block; margin-bottom: 5px; }
  html[lang=en] .manifesto { font-size: 39px; line-height: 1.4; }
  html[lang=en] .field-heading h2 { font-size: 37px; }
  html[lang=en] .field-counter { font-size: 12px; }
  html[lang=en] .project-copy h3 { font-size: 34px; line-height: 1.25; }
  html[lang=en] .research-opening h2 { font-size: 47px; line-height: 1.3; }
  html[lang=en] .paper h3 { font-size: 33px; }
  html[lang=en] .teaching h2 { font-size: 43px; }
  html[lang=en] .recognition-heading h2 { font-size: 43px; }
  html[lang=en] .gallery-note>span:before { content: '← Swipe to explore →　'; }
  html[lang=en] .journey-heading h2 { font-size: 44px; }
  html[lang=en] .footer-message { font-size: 37px; }
}
@media (max-width:360px) {
  .header { padding: 0 15px; gap: 10px; }
  .signature { font-size: 29px; }
  .header-actions { gap: 11px; }
  .overview-trigger { font-size: 13px; }
  .overview-trigger>span { display: none; }
  .menu-trigger { font-size: 13px; }
  .hero { min-height: 1220px; }
  .hero-portrait { top: 29%; height: 30%; }
  .sculpture-wrap { top: 40%; height: 24%; }
  .sculpture-caption { left: 40%; }
  .hero-chinese { font-size: 30px; }
  .hero-intro { bottom: 17%; }
  html[lang=en] .hero { min-height: 1300px; }
  html[lang=en] .hero-chinese { font-size: 31px; }
  html[lang=en] .hero-roles { max-width: 240px; }
  html[lang=en] .angle-selector button { font-size: 12px; }
  html[lang=en] .manifesto { font-size: 35px; }
  html[lang=en] .field-heading h2 { font-size: 32px; }
  html[lang=en] .research-opening h2 { font-size: 41px; }
}

.desktop-hint {font-size:14px!important}
.desktop-hint:after {content:none!important}
@media(max-width:700px){.desktop-hint{font-size:13px!important}}

/* Research credentials in both language editions. */
.conference-record{position:relative;display:flex;align-items:start;justify-content:space-between;gap:20px 32px;margin-top:42px;padding:22px 0 4px;border-top:1px solid currentColor;}
.conference-record h3{font-size:1.15rem;margin:0 0 .6rem;}
.conference-record p{font-size:1rem;line-height:1.55;max-width:65ch;margin:.35rem 0;}
.research-profile{display:inline-block;width:fit-content;color:inherit;text-decoration:underline;text-underline-offset:.26em;white-space:nowrap;}
.conference-record .research-profile{font-size:.9rem;padding:.4rem 0;}
.other-awards article > strong{line-height:1.4;}
@media(max-width:680px){.conference-record{flex-direction:column;gap:6px;margin-top:29px;padding-top:15px;}.conference-record p{max-width:100%;}}

/* The sculpture's modes now open into the work behind them. */
.hero-exhibit{--exhibit-color:#25479c;--exhibit-paper:#eef0fc;}
.hero-exhibit[data-active-exhibit="1"]{--exhibit-color:#92351e;--exhibit-paper:#fdf0e7;}
.hero-exhibit[data-active-exhibit="2"]{--exhibit-color:#176155;--exhibit-paper:#e6f4ed;}
.hero-exhibit .angle-selector{width:clamp(365px,35vw,490px);right:4.2vw;bottom:4%;}
.hero-exhibit .angle-selector>[role=group]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:0;border:1px solid #8793bd;margin-top:8px;background:#f8f8fc;}
.hero-exhibit .angle-selector button{min-height:44px;padding:7px 4px;margin:0;border:0;border-bottom:3px solid transparent;font-weight:740;}
.hero-exhibit .angle-selector button + button{border-left:1px solid #adb5d3;}
.hero-exhibit .angle-selector button.selected{color:var(--exhibit-color);background:var(--exhibit-paper);border-bottom-color:var(--exhibit-color);}
.hero-exhibit .angle-selector button:focus-visible,.exhibit-link:focus-visible{outline:2px solid #182a60;outline-offset:2px;position:relative;z-index:1;}
.hero-exhibit .angle-selector>.exhibit-display{display:block;border:0;margin:0;padding:0;}
.exhibit-entry{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:4px 12px;min-height:93px;padding:10px 11px 9px 13px;background:var(--exhibit-paper);border:1px solid #8793bd;border-top:0;box-shadow:inset 3px 0 var(--exhibit-color);color:#182747;}
.exhibit-entry[hidden]{display:none;}
.exhibit-key{font:700 .68rem/1.2 var(--mono,monospace);letter-spacing:.16em;color:var(--exhibit-color);margin:0 0 5px;}
.exhibit-copy h2{font-size:clamp(.94rem,1.45vw,1.14rem);line-height:1.35;letter-spacing:0;margin:0;font-weight:800;overflow-wrap:break-word;}
.exhibit-proof{font-size:.8rem;line-height:1.4;color:#34415c;margin:5px 0 0;overflow-wrap:break-word;}
.exhibit-link{font-size:.8rem;line-height:1.25;color:var(--exhibit-color);font-weight:750;min-height:36px;display:flex;align-items:center;white-space:nowrap;text-decoration:underline;text-underline-offset:4px;}
.hero-exhibit .hero-portrait{height:50%;}
.hero-exhibit .sculpture-caption{max-width:calc(100% - 40px);}
@media(max-width:960px) and (min-width:701px){.hero-exhibit .hero-portrait{height:42%;}.hero-exhibit .angle-selector{width:min(46%,425px);}}
@media(max-width:700px){
 .hero-exhibit{min-height:875px;}
 .hero-exhibit .hero-portrait{top:29%;height:30%;}
 .hero-exhibit .sculpture-wrap{top:37%;height:27%;}
 .hero-exhibit .sculpture-caption{display:none;}
 .hero-exhibit .hero-intro{bottom:25%;}
 .hero-exhibit .scroll-prompt{display:none;}
 .hero-exhibit .angle-selector{left:24px;right:24px;width:auto;bottom:3%;padding:0;border:0;}
 .hero-exhibit .angle-selector button{font-size:13px;}
 .hero-exhibit .angle-selector button>span{display:inline;margin:0 3px 0 0;}
 .exhibit-entry{min-height:108px;}
}
@media(max-width:360px){
 .hero-exhibit{min-height:850px;}
 .hero-exhibit .angle-selector{left:16px;right:16px;}
 .exhibit-entry{grid-template-columns:minmax(0,1fr);}
 .exhibit-link{min-height:26px;}
}
#featured-research,#featured-teaching{scroll-margin-top:16px;}
@media(max-width:700px){
 .hero-exhibit .hero-portrait{height:25%;}
 .hero-exhibit .sculpture-wrap{top:34%;height:21%;}
 html[lang=en] .hero.hero-exhibit{min-height:925px;}
 html[lang=en] .hero-exhibit .hero-intro{bottom:26%;}
 html[lang=en] .hero-exhibit .hero-chinese{font-size:clamp(25px,6.4vw,35px);}
 html[lang=en] .hero-exhibit .angle-selector{width:auto;}
}
@media(max-width:360px){html[lang=en] .hero-exhibit .hero-intro{bottom:27%;}}
