:root {
  --bg: #f4f5f5;
  --paper: #f8f6f2;
  --glass: rgba(255, 255, 255, 0.52);
  --glass-strong: rgba(255, 255, 255, 0.7);
  --ink: #112a4a;
  --ink-soft: #405470;
  --muted: #6f7e90;
  --line: rgba(63, 88, 112, 0.16);
  --line-bright: rgba(255, 255, 255, 0.92);
  --cyan: #169bbb;
  --cyan-deep: #087c9e;
  --cyan-soft: rgba(22, 155, 187, 0.1);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 1px 2px rgba(17, 42, 74, 0.04), 0 12px 30px rgba(17, 42, 74, 0.06), 0 34px 72px rgba(17, 42, 74, 0.05);
  --shadow-hover: 0 2px 4px rgba(17, 42, 74, 0.06), 0 18px 38px rgba(17, 42, 74, 0.1), 0 42px 88px rgba(17, 42, 74, 0.07);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-width: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font: 400 15px/1.65 var(--sans);
  background-color: var(--bg);
  background-image:
    url("/img/paper-texture.webp"),
    radial-gradient(circle at 9% 18%, rgba(255, 237, 229, 0.82) 0, rgba(255, 237, 229, 0) 32%),
    radial-gradient(circle at 95% 8%, rgba(216, 239, 247, 0.88) 0, rgba(216, 239, 247, 0) 34%),
    linear-gradient(135deg, #f9f7f3 0%, #f5f7f7 47%, #edf5f8 100%);
  background-blend-mode: soft-light, normal, normal, normal;
  background-size: 512px 512px, 90vw 80vh, 90vw 90vh, cover;
  background-attachment: fixed;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(22, 155, 187, 0.2); color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(248, 249, 249, 0.7);
  box-shadow: 0 1px 0 rgba(17, 42, 74, 0.07), 0 10px 30px rgba(17, 42, 74, 0.035);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.header-inner {
  width: min(var(--page-width), calc(100% - 64px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
  transition: color 0.28s var(--ease), transform 0.28s var(--ease);
}
.wordmark:hover { color: var(--cyan-deep); transform: translateY(-1px); }
.wordmark-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 42, 74, 0.52);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 5px 14px rgba(17, 42, 74, 0.06);
  color: var(--cyan-deep);
  font-size: 12px;
  letter-spacing: -0.07em;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  position: relative;
  padding: 26px 0 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan-deep), #42bfd1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); transform: translateY(-1px); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.site-nav .nav-icon { margin-left: 2px; font-size: 15px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; color: var(--ink); }

.site-shell {
  width: min(var(--page-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0 84px;
  scroll-margin-top: 72px;
}

#research, #news, #publications, #about { scroll-margin-top: 88px; }

.glass-panel,
.portrait-card,
.publications-section,
.visual-note,
.about-section {
  border: 1px solid var(--line);
  border-top-color: var(--line-bright);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.hero-masthead {
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(390px, 1.55fr) minmax(330px, 1fr);
  gap: clamp(28px, 3.6vw, 56px);
  align-items: center;
  padding: 6px 4px 24px;
}

.portrait-card {
  width: 100%;
  margin: 0;
  padding: 10px;
  align-self: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.portrait-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.82 / 1;
  border-radius: calc(var(--radius-lg) - 8px);
  object-fit: cover;
  object-position: center 9%;
  filter: saturate(0.9) contrast(1.02);
}

.identity-panel { min-width: 0; }
.identity-eyebrow {
  margin: 0 0 10px;
  color: var(--cyan-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.identity-panel h1 {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  font: 400 clamp(50px, 4.8vw, 70px)/0.98 var(--serif);
  letter-spacing: -0.055em;
  color: var(--ink);
  background: linear-gradient(108deg, #102b52 2%, #174d75 58%, #11a6c2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.profile-name-cn {
  width: fit-content;
  margin: 5px 0 0;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--cyan);
  color: var(--cyan-deep);
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-statement { margin: 8px 0 10px; color: var(--ink); font: italic 400 clamp(17px, 1.5vw, 21px)/1.32 var(--serif); }
.hero-lede { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: clamp(12.5px, 0.96vw, 14px); line-height: 1.62; }

.contact-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.contact-pills a {
  min-height: 38px;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(77, 101, 126, 0.16);
  border-top-color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 2px 5px rgba(17, 42, 74, 0.05), 0 10px 22px rgba(17, 42, 74, 0.05);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.contact-pills a:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 155, 187, 0.32);
  background: rgba(255, 255, 255, 0.76);
  color: var(--cyan-deep);
  box-shadow: inset 0 1px 0 #fff, 0 4px 10px rgba(17, 42, 74, 0.08), 0 18px 36px rgba(17, 42, 74, 0.09);
}
.contact-pills .pill-arrow { color: var(--muted); font-size: 9px; transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.contact-pills a:hover .pill-arrow { color: var(--cyan-deep); transform: translateX(3px); }

.interest-panel { align-self: stretch; padding: 20px; border-radius: var(--radius-md); }
.section-label { color: var(--cyan-deep); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.interest-list { margin: 9px 0 0; padding: 0; list-style: none; }
.interest-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.interest-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.interest-index { color: var(--cyan); font: 400 20px/1.2 var(--serif); }
.interest-list h2 { margin: 0 0 4px; font: 400 14px/1.35 var(--serif); }
.interest-list p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.overview-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.overview-card {
  grid-column: span 3;
  min-width: 0;
  padding: 14px;
  border-radius: var(--radius-md);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.overview-card:nth-child(1),
.overview-card:nth-child(2) { grid-column: span 2; }
.overview-card-wide { grid-column: span 4; }
.overview-card:hover { transform: translateY(-3px); border-color: rgba(22, 155, 187, 0.2); box-shadow: inset 0 1px 0 #fff, var(--shadow-hover); }
.card-heading { display: flex; align-items: center; gap: 9px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.card-heading i { color: var(--cyan-deep); font-size: 13px; }
.card-heading h2 { margin: 0; font: 400 16px/1.2 var(--serif); }
.education-list, .experience-list { display: grid; }
.education-item, .experience-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; padding-top: 10px; }
.experience-item { grid-template-columns: 44px minmax(0, 1fr); }
.education-item + .education-item, .experience-item + .experience-item { margin-top: 9px; border-top: 1px solid var(--line); }
.institution-mark { width: 36px; height: 36px; object-fit: contain; }
.company-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top-color: var(--line-bright);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 2px 4px rgba(17, 42, 74, 0.05), 0 8px 18px rgba(17, 42, 74, 0.07);
}
.company-mark img { width: 40px; height: 40px; object-fit: contain; }
.company-mark--jd { border-color: rgba(63, 88, 112, 0.16); background: rgba(240, 245, 248, 0.94); }
.company-mark--jd img { width: 40px; height: auto; filter: drop-shadow(0 1px 1px rgba(17, 42, 74, 0.2)); }
.company-mark--didi img { width: 40px; height: auto; }
.status-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 3px; }
.education-years, .experience-years { color: var(--cyan-deep); font-size: 10px; font-weight: 700; }
.status-current { color: var(--muted); font-size: 9px; }
.status-title { margin: 0 0 2px; font: 400 11px/1.35 var(--serif); }
.status-detail { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.compact-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-top: 3px; }
.honors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-item { min-width: 0; padding: 6px 8px; border-left: 1px solid var(--line); }
.news-item:nth-child(odd) { padding-left: 0; border-left: 0; }
.news-item time { color: var(--ink); font: 400 10px var(--serif); }
.news-item p { margin: 3px 0 0; color: var(--muted); font-size: 8.25px; line-height: 1.36; }
.news-item .award-context { color: var(--ink); font-weight: 700; }
.news-item .award-rate { padding: 1px 3px; border-radius: 3px; background: var(--cyan-soft); color: var(--ink); font-weight: 700; }

.publications-section { margin-top: 14px; padding: 22px 24px 16px; border-radius: var(--radius-md); }
.section-heading { display: flex; align-items: center; gap: 13px; }
.section-heading-inline { margin-bottom: 10px; }
.heading-rule { height: 1px; flex: 1; background: var(--line); }
.section-count { color: var(--muted); font-size: 10px; white-space: nowrap; }
.section-link { text-decoration: none; transition: color 0.25s var(--ease), transform 0.25s var(--ease); }
.section-link i { margin-left: 6px; font-size: 8px; transition: transform 0.25s var(--ease); }
.section-link:hover { color: var(--cyan-deep); transform: translateY(-1px); }
.section-link:hover i { transform: translateX(3px); }
.paper-list { margin-top: 10px; }
.paper-row {
  display: grid;
  grid-template-columns: 78px 160px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 12px 10px;
  border-top: 1px solid var(--line);
  border-radius: 11px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.paper-row:hover { z-index: 1; transform: translateX(4px); background: rgba(255, 255, 255, 0.48); box-shadow: 0 2px 4px rgba(17, 42, 74, 0.035), 0 9px 20px rgba(17, 42, 74, 0.045); }
.paper-meta { display: grid; gap: 3px; align-self: center; color: var(--muted); font-size: 10.5px; }
.paper-meta strong { color: var(--ink); font: 400 13px var(--serif); }
.paper-affiliation { justify-self: start; margin-top: 5px; padding: 3px 10px; border: 1px solid rgba(225, 126, 39, 0.42); border-radius: 6px; background: rgba(255, 243, 231, 0.72); color: #a85b1b; font-size: 10px; font-weight: 600; line-height: 1.3; }
.paper-thumb { width: 160px; height: 88px; overflow: hidden; border: 1px solid rgba(63, 88, 112, 0.12); border-radius: 8px; background: rgba(255, 255, 255, 0.56); box-shadow: 0 2px 4px rgba(17, 42, 74, 0.05), 0 9px 18px rgba(17, 42, 74, 0.06); }
.paper-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.paper-details h3 { margin: 0 0 7px; font: 650 clamp(15px, 1.12vw, 17px)/1.32 var(--sans); letter-spacing: -0.018em; }
.paper-title-link { border-bottom: 1px solid transparent; text-decoration: none; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.paper-title-link:hover { color: var(--cyan-deep); border-color: rgba(22, 155, 187, 0.45); }
.paper-details p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.48; }
.paper-details strong { color: var(--cyan-deep); }

.visual-note-section { margin-top: 56px; }
.visual-note { margin: 16px 0 0; overflow: hidden; border-radius: var(--radius-md); }
.visual-note img { width: 100%; aspect-ratio: 2.1 / 1; object-fit: cover; object-position: center 48%; filter: saturate(0.68) contrast(0.96); transition: transform 0.8s var(--ease), filter 0.8s var(--ease); }
.visual-note:hover img { transform: scale(1.018); filter: saturate(0.82) contrast(1); }
.visual-note figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.visual-note figcaption span:last-child { color: var(--cyan-deep); }

.about-section { margin-top: 54px; padding: 34px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 6vw, 80px); border-radius: var(--radius-md); }
.about-copy h2 { max-width: 620px; margin: 12px 0 0; font: 400 clamp(28px, 3.6vw, 52px)/1.12 var(--serif); letter-spacing: -0.035em; }
.about-contact { align-self: end; }
.about-contact p { max-width: 440px; margin: 0 0 22px; color: var(--ink-soft); font-size: 13px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-sm);
  background: linear-gradient(110deg, var(--ink), #174d75);
  box-shadow: 0 2px 4px rgba(17, 42, 74, 0.12), 0 12px 25px rgba(17, 42, 74, 0.14);
  color: #f6fbff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.button:hover { transform: translateY(-3px); background: linear-gradient(110deg, var(--cyan-deep), var(--cyan)); box-shadow: 0 4px 9px rgba(7, 124, 158, 0.18), 0 18px 35px rgba(7, 124, 158, 0.19); }
.button i { transition: transform 0.3s var(--ease); }
.button:hover i { transform: translateX(4px); }

.site-footer { width: min(var(--page-width), calc(100% - 64px)); margin: 0 auto; padding: 22px 0 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; }

.js-enabled .reveal { opacity: 0; transform: translateY(22px) scale(0.992); }
.js-enabled .reveal.is-visible { animation: reveal-in 0.82s var(--ease) var(--delay, 0ms) both; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(22px) scale(0.992); } to { opacity: 1; transform: translateY(0) scale(1); } }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 5px; }

@media (max-width: 1120px) {
  .header-inner, .site-shell, .site-footer { width: min(100% - 40px, 920px); }
  .hero-masthead { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
  .interest-panel { grid-column: 1 / -1; }
  .interest-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .interest-list li { padding: 15px 14px; border-bottom: 0; border-left: 1px solid var(--line); }
  .interest-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .overview-card,
  .overview-card:nth-child(1),
  .overview-card:nth-child(2),
  .overview-card-wide { grid-column: span 6; }
}

@media (max-width: 760px) {
  body { font-size: 14px; background-attachment: scroll; }
  .header-inner, .site-shell, .site-footer { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; }
  .menu-toggle { display: grid; gap: 5px; cursor: pointer; }
  .menu-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform 0.3s var(--ease); }
  .menu-toggle.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-top-color: var(--line-bright);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    background: rgba(248, 249, 249, 0.92);
    box-shadow: inset 0 1px 0 #fff, var(--shadow-hover);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .site-nav.is-open { display: flex; animation: menu-in 0.3s var(--ease) both; }
  .site-nav a, .site-nav .nav-icon { padding: 12px 0; margin: 0; }
  .site-nav a::after { bottom: 6px; right: auto; width: 22px; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
  .site-shell { padding-top: 24px; }
  .hero-masthead { grid-template-columns: 1fr; gap: 20px; align-items: start; padding-top: 0; }
  .portrait-card { width: min(48vw, 190px); padding: 6px; border-radius: 17px; }
  .portrait-card img { border-radius: 12px; }
  .identity-eyebrow { margin-top: 4px; font-size: 8px; line-height: 1.5; }
  .identity-panel h1 { font-size: clamp(34px, 10vw, 52px); line-height: 1; }
  .profile-name-cn { margin-top: 4px; padding-bottom: 4px; font-size: 19px; }
  .hero-statement { margin: 8px 0; font-size: 15px; }
  .hero-lede { font-size: 13px; }
  .contact-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
  .interest-panel { padding: 20px 18px; }
  .interest-list { display: block; }
  .interest-list li { padding: 13px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-card,
  .overview-card:nth-child(1),
  .overview-card:nth-child(2),
  .overview-card-wide { grid-column: 1; }
  .compact-news-grid { grid-template-columns: 1fr 1fr; }
  .publications-section { padding: 19px 14px 12px; }
  .paper-row { grid-template-columns: 58px 118px minmax(0, 1fr); gap: 11px; min-height: 102px; padding: 11px 3px; }
  .paper-thumb { width: 118px; height: 68px; }
  .paper-details h3 { margin-bottom: 5px; font-size: 14px; }
  .paper-details p { font-size: 10px; }
  .section-link { font-size: 0; }
  .section-link i { margin-left: 0; font-size: 9px; }
  .visual-note-section, .about-section { margin-top: 40px; }
  .visual-note img { aspect-ratio: 1.35 / 1; }
  .about-section { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .about-copy h2 { font-size: 30px; }
  .site-footer { display: block; }
  .site-footer span { display: block; }
  .site-footer span + span { margin-top: 4px; }
}

@media (max-width: 460px) {
  .identity-panel h1 { font-size: clamp(31px, 9.6vw, 42px); }
  .contact-pills a { min-height: 40px; padding: 0 10px; }
  .compact-news-grid { grid-template-columns: 1fr; }
  .news-item, .news-item:nth-child(odd) { padding: 9px 0; border-left: 0; border-top: 1px solid var(--line); }
  .paper-row { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 14px 3px; }
  .paper-thumb { grid-column: 2; width: min(100%, 184px); height: 98px; }
  .paper-details { grid-column: 2; }
  .paper-meta { grid-row: 1 / span 2; align-self: start; }
  .paper-details h3 { font-size: 14.5px; line-height: 1.36; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .js-enabled .reveal { opacity: 1; transform: none; }
}
