/* Silver glass lit by the supplied scholar film. */
:root { --glass-shadow: 0 10px 30px rgba(54,82,102,.075),inset 0 1px 0 rgba(255,255,255,.96); }
body { position: relative; isolation: isolate; background: #e8eff4; }
.profile-home { background: transparent; }
.site-atmosphere { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: #e8eff4 url('assets/scholar-poster.jpg') center/cover no-repeat; }
.ambient-video { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: blur(3px) saturate(.72); transform: scale(1.02); }
.atmosphere-wash { position: absolute; inset: 0; background: radial-gradient(ellipse at 38% 36%,rgba(249,252,254,.88) 0%,rgba(249,252,254,.80) 56%,rgba(241,247,251,.66) 100%); }
.ambient-canvas { opacity: .48; transition: opacity .8s; }
.video-ready .ambient-canvas { opacity: 0; }
.home-top { min-height: 76px; }
.home-top .kicker { letter-spacing: .15em; color: #486673; }
.motion-toggle { min-height: 38px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(255,255,255,.36); box-shadow: inset 0 1px 0 #fff; color: #47616e; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .2s,transform .2s; }
.motion-toggle:hover { background: rgba(255,255,255,.7); }
.motion-toggle:active { transform: scale(.96); }
.profile-card { background: rgba(255,255,255,.19); border-color: rgba(255,255,255,.66); border-radius: 30px; box-shadow: 0 18px 70px rgba(58,88,105,.05),inset 0 1px 0 rgba(255,255,255,.8); }
.profile-hero { align-items: center; }
.name-cn { color: #17384a; text-shadow: 0 1px 0 rgba(255,255,255,.85); }
.identity-list p { color: #3f5a69; }
.profile-portrait { overflow: visible; -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 60%,rgba(0,0,0,.82) 76%,transparent 100%); mask-image: linear-gradient(to bottom,#000 0%,#000 60%,rgba(0,0,0,.82) 76%,transparent 100%); }
.profile-portrait img { -webkit-mask-image: linear-gradient(to right,transparent 0%,#000 15%,#000 85%,transparent 100%); mask-image: linear-gradient(to right,transparent 0%,#000 15%,#000 85%,transparent 100%); }
.profile-summary { border-color: rgba(255,255,255,.8); color: #254e60; text-shadow: 0 1px 0 rgba(255,255,255,.72); }
.module-grid { gap: 12px; }
.module-button { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.88); border-radius: 18px; background: linear-gradient(145deg,rgba(255,255,255,.76),rgba(255,255,255,.34)); box-shadow: var(--glass-shadow); color: #244758; font-weight: 500; -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25); transition: transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s,background .25s; }
.module-button::before { content: ''; position: absolute; top: 0; left: 14%; right: 14%; height: 1px; background: linear-gradient(90deg,transparent,#fff,transparent); }
a.module-button:hover { background: rgba(255,255,255,.83); border-color: #fff; transform: translateY(-3px); box-shadow: 0 15px 28px rgba(40,87,109,.13),inset 0 1px 0 #fff; }
a.module-button:active { transform: translateY(0) scale(.97); box-shadow: 0 4px 12px rgba(40,87,109,.08),inset 0 1px 0 #fff; }
.module-button .module-arrow { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.5); color: #376777; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.module-button:disabled { background: rgba(255,255,255,.21); border-color: rgba(255,255,255,.52); color: #6c808d; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.module-button:disabled .module-arrow { background: transparent; box-shadow: none; color: #91a3ae; }
.home-footer { color: #526b79; }
.subpage-header { background: rgba(247,251,253,.58); border: 1px solid rgba(255,255,255,.85); border-radius: 0 0 22px 22px; box-shadow: 0 8px 30px rgba(44,80,103,.04); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.subpage-header.page-shell { padding-inline: 22px; }
.subpage-header .subpage-nav { gap: 22px; }
.page-intro { padding: 28px 30px; background: rgba(255,255,255,.32); border: 1px solid rgba(255,255,255,.75); border-radius: 24px; box-shadow: inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.page-subtitle { color: #4e6979; }
.year-index { gap: 10px; }
.year-index a { padding: 0 17px; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; background: rgba(255,255,255,.4); box-shadow: inset 0 1px 0 #fff; text-decoration: none; }
.year-index a:hover { background: rgba(255,255,255,.8); text-decoration: none; }
.year-group::before { background: rgba(94,133,151,.2); }
.year-entries { padding: 20px 28px 0; background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.85); border-radius: 23px; box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.experience-entry::before { left: -63px; }
.experience-entry + .experience-entry { border-color: rgba(119,153,169,.15); }
.source-link { color: #2b6277; }
.scene-grid .experience-photo { padding: 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 21px; background: rgba(255,255,255,.38); box-shadow: var(--glass-shadow); }
.experience-photo img { border-radius: 13px; }
.experience-photo figcaption { padding: 2px 3px; }
.book-list { border-top: 0; }
.publication { margin-bottom: 20px; padding: 28px; border: 1px solid rgba(255,255,255,.86); border-radius: 25px; background: rgba(255,255,255,.48); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.publication + .publication { border-top: 1px solid rgba(255,255,255,.86); }
.publication-cover { background: rgba(230,241,247,.6); border-radius: 14px; }
.publication-details summary { padding: 0 13px; border: 1px solid rgba(255,255,255,.85); border-radius: 12px; background: rgba(255,255,255,.4); }
.publication-details[open] { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.48); }
.publication-details[open] summary { margin: -12px -12px 10px; }
.editorial-source,.page-footer { border-color: rgba(255,255,255,.7); }
.page-footer { color: #587180; }
@media (min-width: 701px) { .ambient-video { filter: blur(4px) saturate(.72); } .atmosphere-wash { background: radial-gradient(ellipse at 38% 36%,rgba(249,252,254,.88),rgba(247,251,253,.76)); } }
@media (max-width: 700px) {
  .page-shell { width: calc(100% - 32px); }
  .home-top { min-height: 61px; gap: 10px; }
  .motion-toggle { font-size: 10px; min-height: 34px; padding: 6px 11px; }
  .profile-card { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 9px 0 0; }
  .profile-hero { min-height: 323px; }
  .profile-portrait { margin-right: -12px; height: 340px; }
  .profile-summary { padding-top: 15px; margin-top: 0; }
  .module-grid { gap: 10px; margin-top: 19px; }
  .module-button { min-height: 61px; padding: 12px 11px; font-size: 13px; border-radius: 17px; gap: 4px; }
  .module-button:nth-child(4),.module-button:nth-child(5) { min-height: 55px; }
  .module-button .module-arrow { width: 20px; height: 20px; font-size: 13px; }
  .home-footer { min-height: 51px; }
  .subpage-header.page-shell { min-height: 63px; padding-inline: 12px; width: calc(100% - 20px); }
  .subpage-header .subpage-nav { gap: 14px; }
  .subpage-nav a { font-size: 11px; }
  .subpage { padding-top: 24px; }
  .page-intro { padding: 22px 20px; border-radius: 23px; }
  .page-intro h1 { font-size: 31px; margin-bottom: 10px; }
  .page-subtitle { font-size: 14px; }
  .year-index { gap: 8px; margin-bottom: 20px; }
  .year-index a { font-size: 11px; min-height: 39px; padding: 0 13px; }
  .year-group { border-top: 0; padding: 0 0 26px 0; }
  .year-label { margin: 0 0 13px 2px; font-size: 27px; }
  .year-group::before { display: none; }
  .year-entries { padding: 21px 20px 0; border-radius: 22px; }
  .experience-entry::before { display: none; }
  .experience-entry h3 { font-size: 18px; }
  .experience-entry > p:not(.entry-date) { font-size: 14px; }
  .publication { grid-template-columns: 80px minmax(0,1fr); gap: 16px; padding: 20px 17px; border-radius: 23px; margin-bottom: 16px; }
  .publication-cover { padding: 10px 7px; border-radius: 10px; }
  .publication-cover img { max-height: 125px; }
  .publication h2 { font-size: 22px; }
  .publication-description { font-size: 13px; }
}
@media (max-width: 359px) {
  .home-top { min-height: 56px; }
  .profile-card { padding-top: 6px; }
  .profile-hero { min-height: 331px; }
  .profile-portrait { height: 342px; }
  .profile-summary { font-size: 18px; padding-top: 13px; margin-top: 0; }
  .module-grid { gap: 8px; margin-top: 16px; }
  .module-button { padding-inline: 9px; font-size: 12px; }
  .module-button .module-arrow { width: 17px; height: 17px; font-size: 12px; }
  .subpage-header .subpage-nav { gap: 9px; }
  .subpage-nav a { font-size: 10px; }
  .back-link { font-size: 11px; }
  .publication { grid-template-columns: 69px minmax(0,1fr); gap: 13px; padding: 18px 14px; }
  .publication h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .ambient-video { opacity: 0; } .module-button,.motion-toggle { transition: none; } }

/* V3 hierarchy: names and titles lead, the film stays behind the copy. */
.name-cn, .name-en { font-weight: 700; }
.identity-list p, .identity-list .identity-primary { font-weight: 700; color: #284656; }
.module-title { font-weight: 700; }
.page-intro h1, .publication h2, .experience-entry h3, .experience-scenes h2 { font-weight: 700; }
.module-button { border-color: rgba(255,255,255,.96); box-shadow: 0 9px 24px rgba(54,82,102,.10),inset 0 1px 0 #fff; }
