/* Restore the original visual identity with progressive, one-time motion. */
:root {
  --ink: #182a43;
  --muted: #5d6a7a;
  --dark: #0b172b;
  --dark-soft: #132139;
  --sage: #e8ecf2;
  --line: #d8dfe5;
  --gold: #8c652f;
}
.nav-portrait {
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  border: 2px solid #c2a475;
  box-shadow: 0 2px 7px #16274114;
  flex-shrink: 0;
}
.site-header { background: rgb(247 246 240 / 97%); }
.reading-track { position: absolute; height: 2px; bottom: -1px; left: 0; right: 0; overflow: hidden; }
#readingProgress { display: block; height: 100%; background: linear-gradient(90deg,#b28a4c,#6c8aab); transform: scaleX(0); transform-origin: left; }
.nav-shell nav>a.is-current { color: #80602e; text-decoration: underline; text-underline-offset: 7px; }
.hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(120deg,#fcfaf4 0%,#f5ecdc 100%);
  color: #182a43;
  padding: 64px 0 90px;
}
.hero-atmosphere {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: .18;
  animation: backdrop-arrive 1.1s ease-out;
}
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg,#fcfaf4f2 8%,#fbf6ebba 50%,#f3e6cf66); }
.hero-grid { grid-template-columns: 1.2fr .9fr; gap: 70px; grid-template-areas: 'copy portrait'; }
.hero-copy { grid-area: copy; }
.hero-copy>.eyebrow { color: #765326; margin-bottom: 24px; }
.hero h1 { font-size: clamp(56px,5.3vw,78px); line-height: 1.04; }
.hero h1 em { color: #8c652f; }
.hero-description { color: #445368; font-size: 16px; margin-top: 23px; }
.hero-identities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.identity-chip { color: #5c4831; border: 1px solid #b79d7866; background: #fffaf0d9; border-radius: 30px; padding: 7px 12px; font-size: 10px; line-height: 1.7; transition: background .2s,border-color .2s; }
.identity-chip:hover,.identity-chip:focus-visible { background: #f2e4cb; border-color: #a48554; }
.hero-actions { margin-top: 27px; gap: 26px; }
.hero .button-dark { background: #182a43; color: #fffaf0; border-color: #182a43; box-shadow: 0 6px 20px #182a431a; }
.hero .button-dark:hover { background: #2b4261; }
.hero .text-link { color: #243b59; }
.hero-footnote { color: #445368; margin-top: 23px; }
.hero .small-dot { background: #9b7947; }
.research-pills { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 25px; color: #445368; font-size: 10px; }
.research-pills a { border-bottom: 1px solid #7f92ab66; padding-bottom: 2px; }
.research-pills a:hover { color: #182a43; border-color: #8c652f; }
.hero-portrait { grid-area: portrait; padding-right: 18px; padding-top: 13px; max-width: 465px; justify-self: end; width: 100%; }
.portrait-frame { border: 1px solid #bda37888; border-radius: 180px 180px 8px 8px; box-shadow: 0 22px 70px #4b3b251f; }
.hero-portrait:before { border-color: #b79b6f88; border-radius: 190px 190px 10px 10px; }
.hero-portrait figcaption { padding-top: 18px; }
.portrait-role,.portrait-label { color: #445368; }
.portrait-name { font-size: 25px; }
.portrait-seal { position: absolute; right: -5px; bottom: 105px; display: flex; gap: 12px; align-items: center; background: #fffaf0; color: #172841; padding: 15px 19px; border: 1px solid #c9ad7a; box-shadow: 0 10px 30px #4b3b2524; border-radius: 8px; transform: rotate(-3deg); transition: transform .25s; }
.portrait-seal:hover { transform: rotate(0deg) translateY(-4px); }
.seal-mark { font-family: var(--serif); font-size: 32px; color: #916a34; line-height: 1; border-right: 1px solid #d1c3a9; padding-right: 12px; }
.portrait-seal strong { font-family: var(--serif); display: block; font-size: 20px; font-weight: 500; line-height: 1.2; }
.portrait-seal>span>span { font-size: 9px; letter-spacing: .03em; }
.credential-band { background: #eceff3; border: 0; padding: 0 0 28px; }
.credential-grid { position: relative; z-index: 1; gap: 23px; padding: 0; transform: translateY(-30px); margin-bottom: -30px; }
.institution-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid #d4d9df; border-radius: 12px; box-shadow: 0 7px 25px #1425410a; transition: transform .25s,box-shadow .25s; }
.campus-photo { height: 170px; overflow: hidden; position: relative; background: #dbe2e5; }
.campus-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.campus-photo>span { position: absolute; bottom: 13px; right: 15px; background: #f9f6e9ed; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-size: 16px; color: #273b51; }
.institution-copy { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.credential-grid .institution-copy .eyebrow { font-size: 9px; color: #80602e; margin-bottom: 9px; }
.credential-grid .institution-copy strong { font-family: var(--serif); font-weight: 500; line-height: 1.25; font-size: 22px; }
.institution-degree { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 10px; }
.institution-card:hover { transform: translateY(-5px); box-shadow: 0 14px 35px #14254117; }
.institution-card:hover img { transform: scale(1.045); }
.section-heading h2 em,.about-section .section-heading h2 em { color: #8b6f46; }
.mentoring-path { border-radius: 12px; border-color: #d5dce4; box-shadow: 0 6px 20px #10233d05; transition: transform .25s,box-shadow .25s; }
.mentoring-path:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #10233d0c; }
.path-marker { color: #8b6f46; }
.process-grid li { border-color: #c4cfdd; }
.highlights-section { position: relative; background: linear-gradient(135deg,#0c172b,#122a43); overflow: hidden; }
.highlights-section::before { content: ''; position: absolute; pointer-events: none; width: 550px; height: 550px; border-radius: 50%; border: 1px solid #d9b26a15; right: -230px; top: -230px; box-shadow: 0 0 0 55px #d9b26a05,0 0 0 110px #d9b26a03; }
.highlights-section h2 em { color: #dfc394; }
.highlight-card { background: linear-gradient(135deg,#1b2a42,#122139); border-color: #4b5e76; border-radius: 14px; transition: border-color .25s,transform .25s; }
.highlight-card:hover { border-color: #c7a873; transform: translateY(-4px); }
.research-topics { gap: 24px; }
.research-topic { padding: 0; position: relative; overflow: hidden; background: #f8f7f2; border: 1px solid #dce0e4; border-radius: 12px; transition: box-shadow .25s,transform .25s; }
.research-image { aspect-ratio: 820/500; overflow: hidden; background: #071225; }
.research-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.research-topic-copy { padding: 24px 25px 28px; }
.research-topic .topic-number { position: static; font-size: 10px; color: #876032; }
.research-topic h3 { font-size: 23px; margin: 12px 0; }
.research-topic p { font-size: 13px; }
.research-topic:hover { box-shadow: 0 12px 26px #14254112; transform: translateY(-4px); }
.research-topic:hover img { transform: scale(1.045); }
.project-grid { border-radius: 12px; overflow: hidden; }
.project-card { transition: background .25s; }
.project-card:hover { background: #edf0f4; }
.project-links a { padding-block: 4px; }
.project-number { border-color: #b9c6d6; color: #52647c; }
.project-card .project-status,.pub .venue { color: #536a46; }
.about-layout { gap: 75px; align-items: start; }
.about-copy { padding-top: 35px; }
.about-portrait { margin: 30px 0 0 49px; max-width: 310px; border-radius: 12px; overflow: hidden; background: #e6eaf0; border: 1px solid #c7d0dc; }
.about-portrait>img { width: 100%; height: 310px; object-fit: cover; object-position: center 20%; }
.about-portrait figcaption { padding: 17px 20px; background: #13253d; color: #f8f3e8; display: flex; flex-direction: column; gap: 4px; }
.about-portrait figcaption strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.about-portrait figcaption strong span { font-family: var(--sans); font-size: 10px; letter-spacing: .15em; margin-left: 8px; }
.about-portrait figcaption>span { color: #dfc394; font-size: 11px; }
.company-link-card { display: grid; grid-template-columns: 48px 1fr 24px; gap: 18px; align-items: center; margin-top: 30px; padding: 24px; background: #e8edf2; border: 1px solid #cbd5e1; border-radius: 10px; transition: background .25s,transform .25s; }
.company-link-card:hover { background: #dee6ef; transform: translateY(-3px); }
.company-monogram { font-family: var(--serif); font-size: 40px; color: #8c652f; line-height: 1; }
.company-link-card>span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.company-link-card .eyebrow { font-size: 8px; color: #80602e; }
.company-link-card strong { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.company-link-card>span:nth-child(2)>span:last-child { font-size: 11px; color: var(--muted); }
.company-arrow { font-size: 26px; }
.department-line { font-size: 12px; color: var(--muted); margin: -14px 0 28px; }
.teaching-history { display: flex; gap: 22px; align-items: center; margin-top: 30px; padding: 25px; background: #e8edf2; border: 1px solid #cbd5e1; border-radius: 10px; }
.teaching-history-mark { font-family: var(--serif); font-size: 48px; line-height: 1; color: #8c652f; }
.teaching-history .eyebrow { font-size: 9px; color: #80602e; margin: 0 0 8px; }
.teaching-history h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.3; margin: 0 0 8px; }
.teaching-history .teaching-history-school { color: var(--muted); font-size: 13px; margin: 0; }
.teaching-history+.teaching-history { margin-top: 14px; }
.teaching-history .teaching-achievement { font-size: 13px; margin: 12px 0 0; padding-left: 12px; border-left: 2px solid #b28a4c; }
.contact-section { background: #e5eaf0; border-color: #cbd5df; }
.contact-section h2 em { color: #8b6f46; }
.contact-email { border-color: #8d9eb4; }
.reveal-on-scroll.is-in-view { animation: settle-in .65s cubic-bezier(.2,.6,.2,1) backwards; }
.institution-card:nth-child(2).is-in-view,.research-topic:nth-child(2).is-in-view { animation-delay: .07s; }
.institution-card:nth-child(3).is-in-view,.research-topic:nth-child(3).is-in-view { animation-delay: .14s; }
@keyframes settle-in { from { transform: translateY(12px); } to { transform: translateY(0); } }
@keyframes backdrop-arrive { from { opacity: .08; transform: scale(1.025); } to { opacity: .18; transform: scale(1); } }
@media(min-width:1500px) {
  .hero { padding-top: 75px; }
  .hero-grid { gap: 100px; }
  .hero h1 { font-size: 80px; }
}
@media(max-width:1100px) {
  .hero-grid { gap: 45px; grid-template-columns: 1.1fr .9fr; }
  .hero h1 { font-size: 60px; }
  .hero-identities { gap: 7px; margin-top: 22px; }
  .identity-chip { font-size: 9px; padding: 6px 10px; }
  .hero-description { font-size: 14px; }
  .portrait-seal { padding: 12px 15px; right: -4px; bottom: 105px; }
  .campus-photo { height: 145px; }
  .credential-grid { gap: 18px; }
  .institution-copy { padding: 20px; }
  .credential-grid .institution-copy strong { font-size: 20px; }
  .institution-degree { font-size: 11px; }
  .research-topics { gap: 20px; }
  .research-topic-copy { padding: 20px; }
  .research-topic h3 { font-size: 22px; }
  .research-topic p { font-size: 12px; }
  .about-layout { gap: 50px; }
}
@media(max-width:860px) {
  .nav-portrait { width: 42px; height: 42px; }
  .hero { padding: 48px 0 70px; }
  .hero-grid { gap: 30px; align-items: center; }
  .hero h1 { font-size: clamp(42px,6.2vw,54px); }
  .hero-copy>.eyebrow { font-size: 8px; margin-bottom: 19px; }
  .hero-identities { flex-direction: column; align-items: flex-start; margin-top: 20px; }
  .hero-description { font-size: 13px; margin-top: 18px; }
  .hero-actions { gap: 15px; margin-top: 23px; }
  .hero-actions .text-link { font-size: 11px; }
  .research-pills { font-size: 9px; gap: 11px; margin-top: 20px; }
  .hero-footnote { font-size: 9px; margin-top: 18px; }
  .portrait-seal { right: -2px; bottom: 98px; gap: 9px; padding: 11px 12px; }
  .portrait-seal strong { font-size: 17px; }
  .portrait-seal>span>span { font-size: 8px; }
  .seal-mark { font-size: 28px; padding-right: 9px; }
  .portrait-name { font-size: 21px; }
  .portrait-role { font-size: 9px; }
  .portrait-label { font-size: 7px; }
  .credential-grid { gap: 15px; transform: translateY(-22px); margin-bottom: -22px; }
  .campus-photo { height: 125px; }
  .institution-copy { padding: 17px; }
  .credential-grid .institution-copy strong { font-size: 18px; }
  .credential-grid .institution-copy .eyebrow { font-size: 7px; }
  .institution-degree { font-size: 10px; }
  .research-topics { gap: 16px; }
  .research-topic-copy { padding: 18px; }
  .research-topic h3 { font-size: 20px; }
  .research-topic p { font-size: 11px; }
  .about-portrait { margin-left: 34px; max-width: 280px; }
  .about-portrait>img { height: 280px; }
  .company-link-card { padding: 20px; grid-template-columns: 35px 1fr 20px; gap: 12px; }
  .company-monogram { font-size: 34px; }
  .company-link-card strong { font-size: 23px; }
  .company-link-card>span:nth-child(2)>span:last-child { font-size: 10px; }
  .zh .hero h1 { font-size: 43px; }
}
@media(max-width:600px) {
  .nav-portrait { width: 38px; height: 38px; }
  .hero { padding: 30px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: 'portrait' 'copy'; gap: 30px; }
  .hero-portrait { width: 72%; max-width: 275px; justify-self: center; padding-top: 10px; padding-right: 13px; margin: 0; }
  .portrait-frame { aspect-ratio: 1/1.02; border-radius: 145px 145px 7px 7px; }
  .portrait-frame img { object-position: center 20%; }
  .hero-portrait:before { border-radius: 150px 150px 8px 8px; inset: 0 3px 56px 10px; }
  .hero-portrait figcaption { padding-top: 14px; }
  .portrait-name { font-size: 23px; }
  .portrait-role { font-size: 9px; }
  .portrait-seal { bottom: 78px; right: -31px; transform: rotate(-3deg); padding: 9px 11px; }
  .portrait-seal strong { font-size: 16px; }
  .portrait-label { right: -10px; top: 36%; }
  .hero-copy>.eyebrow { font-size: 8px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(42px,9.7vw,58px); line-height: 1.06; }
  .hero h1 br:nth-of-type(2) { display: none; }
  .hero-identities { flex-direction: row; margin-top: 20px; }
  .identity-chip { font-size: 9px; padding: 6px 10px; }
  .hero-description { font-size: 13px; max-width: none; }
  .hero-actions .button { padding: 13px 16px; }
  .hero-actions .text-link { font-size: 11px; }
  .research-pills { gap: 13px; font-size: 9px; }
  .hero-footnote { font-size: 9px; }
  .credential-band { padding-bottom: 20px; }
  .credential-grid { gap: 13px; }
  .institution-card { flex-direction: row; min-height: 128px; border-radius: 9px; }
  .campus-photo { width: 107px; height: auto; flex-shrink: 0; }
  .campus-photo img { position: absolute; inset: 0; }
  .campus-photo>span { width: 23px; height: 23px; font-size: 13px; bottom: 9px; right: 9px; }
  .institution-copy { padding: 17px 17px 18px; }
  .credential-grid .institution-copy strong { font-size: 18px; line-height: 1.3; }
  .credential-grid .institution-copy .eyebrow { font-size: 7px; margin: 0 0 6px; }
  .institution-degree { font-size: 10px; margin-top: 7px; }
  .research-topics { grid-template-columns: 1fr; gap: 23px; }
  .research-image { aspect-ratio: 820/425; }
  .research-topic-copy { padding: 23px 26px 27px; }
  .research-topic h3 { font-size: 25px; margin: 12px 0; }
  .research-topic p { font-size: 13px; }
  .about-layout { gap: 28px; }
  .about-portrait { margin: 28px 0 0 33px; max-width: 290px; }
  .about-portrait>img { height: 290px; }
  .about-copy { padding-top: 0; }
  .company-link-card { margin-top: 25px; padding: 19px; grid-template-columns: 32px 1fr 20px; gap: 12px; }
  .company-monogram { font-size: 32px; }
  .company-link-card strong { font-size: 24px; }
  .company-link-card>span:nth-child(2)>span:last-child { font-size: 10px; }
  .department-line { font-size: 11px; line-height: 1.85; margin-top: -12px; }
  .zh .hero h1 { font-size: clamp(38px,9.3vw,49px); }
  .zh .credential-grid .institution-copy strong { font-size: 17px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-atmosphere,.reveal-on-scroll.is-in-view { animation: none!important; }
  .institution-card,.campus-photo img,.research-image img,.mentoring-path,.highlight-card,.company-link-card,.portrait-seal { transition: none!important; }
}
@media print {
  .hero { background: white; color: #182a43; }
  .hero-atmosphere,.hero::after,.portrait-seal,.reading-track { display: none; }
  .hero-description,.hero h1 em,.portrait-role { color: #182a43; }
  .hero-identities { display: none; }
  .hero-grid { grid-template-areas: 'copy portrait'; }
  .credential-grid { transform: none; margin-bottom: 0; }
  .campus-photo { height: 100px; }
  .institution-card { break-inside: avoid; }
}
