:root {
  --navy: #0c1b2b;
  --ink: #142638;
  --muted: #526573;
  --teal: #60e1c2;
  --teal-dark: #007665;
  --line: #dce4e9;
  --soft: #f1f5f8;
  --radius: 10px;
  --max: 1240px;
  font-family: Inter, "Helvetica Neue", Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-size: 18px; line-height: 1.85; background: #fff; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #009b83; outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
svg { max-width: 100%; }
[hidden] { display: none !important; }
.container { max-width: var(--max); width: calc(100% - 96px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -90px; left: 20px; background: var(--teal); padding: 12px 24px; z-index: 200; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid #e7ecef; }
.nav-shell { max-width: 1440px; width: calc(100% - 64px); margin: auto; min-height: 88px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-monogram { font-size: 38px; font-weight: 800; letter-spacing: -5px; line-height: 1; }
.brand-monogram span { color: var(--teal-dark); }
.brand-name { font-size: 19px; font-weight: 700; line-height: 1.25; }
.brand-name small { font-size: 14px; font-weight: 400; color: var(--muted); display: block; margin-top: 5px; }
.nav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav-links a { font-size: 16px; font-weight: 600; white-space: nowrap; position: relative; padding: 28px 0; }
.nav-links a::after { content: ""; position: absolute; bottom: 19px; height: 2px; background: var(--teal-dark); left: 0; width: 0; transition: width .2s; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { width: 100%; }
.language-toggle { font-size: 16px; white-space: nowrap; padding: 6px 0 6px 20px; border-left: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
.language-toggle span { font-size: 23px; }
.menu-toggle { display: none; }
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 65px; padding-top: 60px; padding-bottom: 55px; }
.hero-copy { min-width: 0; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--teal); display: flex; gap: 12px; align-items: center; line-height: 1.7; }
.tiny-line { height: 1px; min-width: 24px; background: var(--teal); }
h1 { font-size: clamp(42px, 4.5vw, 66px); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; margin: 25px 0; }
.hero-english { display: block; margin-top: 12px; font-size: 28px; color: var(--teal); font-weight: 500; letter-spacing: .015em; }
.hero-role { font-size: 21px; }
.hero-university { margin-top: 4px; font-size: 18px; color: #c6d4de; }
.hero-tagline { margin-top: 24px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; line-height: 1.65; letter-spacing: .035em; color: var(--teal); }
.hero-description { max-width: 510px; margin-top: 24px; font-size: 19px; color: #bccad6; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 32px; }
.button { border: 0; border-radius: 5px; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 12px 22px; line-height: 1.65; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button span, .text-link span { font-size: 21px; line-height: 1; }
.primary { color: var(--navy); background: var(--teal); }
.primary:hover { background: #8bf0d8; }
.text-link { color: var(--teal-dark); font-size: 17px; font-weight: 600; display: inline-flex; align-items: center; gap: 20px; }
.text-link.light { color: #fff; }
.research-map { min-width: 0; border: 1px solid #2b4355; border-radius: var(--radius); padding: 20px 22px 18px; background: #0e2131; }
.map-heading { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; letter-spacing: .12em; color: #bccad5; }
.map-index { color: var(--teal); }
.map-navigation { margin-top: 12px; }
.map-current { color: #d6e3ec; font-size: 16px; line-height: 1.6; }
.map-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 4px; padding: 5px 0; border: 0; background: none; color: var(--teal); font-size: 15px; }
.map-back:hover { color: #fff; }
.map-viewport { cursor: grab; touch-action: pan-y; user-select: none; margin-block: 8px; border-radius: 6px; }
.map-viewport.is-dragging { cursor: grabbing; }
.map-svg { width: 100%; display: block; }
.map-domain { cursor: pointer; }
.map-domain:focus-visible { outline: none; }
.map-domain:hover .map-label-plate, .map-domain:focus-visible .map-label-plate { fill: #234458; stroke-opacity: 1; stroke-width: 2.5; }
.map-subfield-node { pointer-events: none; }
.map-legend { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid #2b4355; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; }
.map-legend li { display: flex; align-items: center; gap: 8px; color: #d6e3ec; font-size: 16px; }
.map-topic-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--teal); }
.map-legend .topic-ml .map-topic-dot { background: #a9bdff; }
.map-legend .topic-qf .map-topic-dot { background: #f2c580; }
.map-subfields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; padding: 18px 0 0; border-top: 1px solid #2b4355; list-style: none; }
.map-subfields li { display: flex; align-items: baseline; gap: 10px; color: #d6e3ec; font-size: 16px; line-height: 1.7; }
.map-subfield-number { color: var(--teal); font-size: 13px; font-variant-numeric: tabular-nums; }
.research-map[data-map-field="ml"] .map-subfield-number { color: #a9bdff; }
.research-map[data-map-field="qf"] .map-subfield-number { color: #f2c580; }
@media (max-width: 600px) { .map-subfields { grid-template-columns: 1fr; gap: 8px; } }
.stats { display: grid; grid-template-columns: 1.1fr 1.25fr .8fr .8fr; border-top: 1px solid #2b3e50; padding: 28px 0 32px; }
.stats > div { display: flex; gap: 18px; align-items: center; padding-left: 30px; border-left: 1px solid #2b3e50; }
.stats > div:first-child { border: 0; padding: 0; }
.stats strong { font-size: 42px; font-weight: 500; line-height: 1.3; letter-spacing: -.04em; }
.stats span { font-size: 15px; color: #bbcbd8; max-width: 180px; line-height: 1.6; }
.section { padding-top: 80px; padding-bottom: 80px; }
.section-eyebrow { color: var(--teal-dark); font-weight: 700; margin-bottom: 16px; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; margin-bottom: 36px; }
h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.45; letter-spacing: -.025em; font-weight: 650; }
.section-heading p { color: var(--muted); line-height: 1.9; }
h3 { line-height: 1.6; }
.research-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.research-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px 28px 30px; background: linear-gradient(150deg, #fff, #f5f8fa); transition: border-color .2s, transform .2s; }
.research-card:hover { transform: translateY(-4px); border-color: #70baa9; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.card-number { font-family: monospace; font-size: 16px; color: var(--muted); }
.card-top > span:last-child { font-size: 24px; color: var(--teal-dark); }
.card-kicker { font-size: 13px; letter-spacing: .06em; font-weight: 600; color: var(--teal-dark); line-height: 1.65; }
.research-card h3 { font-size: 26px; letter-spacing: -.02em; margin: 8px 0 16px; line-height: 1.4; }
.research-card > p:last-child { font-size: 17px; color: var(--muted); }
.source-areas { border-left: 2px solid #a6d8ca; padding-left: 20px; margin-top: 28px; color: var(--muted); font-size: 17px; }
.subheading { display: flex; gap: 20px; justify-content: space-between; align-items: end; margin-top: 50px; margin-bottom: 22px; }
.subheading h3 { font-size: 24px; font-weight: 600; }
.subheading > span { font-size: 15px; color: var(--muted); text-align: right; }
.collections { border-top: 1px solid var(--line); }
.collection { border-bottom: 1px solid var(--line); }
.collection summary { padding: 23px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; font-size: 22px; font-weight: 600; list-style: none; line-height: 1.6; }
.collection summary::-webkit-details-marker { display: none; }
.collection summary:hover { color: var(--teal-dark); }
.collection-right { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.count { font-size: 17px; color: var(--muted); font-weight: 400; }
.count > span { font-size: 15px; margin-left: 2px; }
.plus { display: block; position: relative; width: 15px; height: 15px; flex-shrink: 0; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { width: 15px; height: 1px; top: 7px; left: 0; }
.plus::after { width: 1px; height: 15px; top: 0; left: 7px; transition: transform .2s; }
.collection[open] > summary .plus::after { transform: rotate(90deg); }
.collection-content { padding-bottom: 23px; }
.records { padding: 0; margin: 0; list-style: none; }
.record { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.record:last-child { border-bottom: 0; }
.record-meta { font-size: 16px; color: var(--muted); padding-top: 2px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.record-body { min-width: 0; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.record-body p { margin: 0; }
.record-body a, .markdown-body a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.record-group { display: block; font-size: 15px; color: var(--teal-dark); margin-bottom: 6px; }
.active-pill { padding: 1px 7px; white-space: nowrap; border-radius: 3px; background: #e0f5ed; color: #176854; font-size: 14px; line-height: 1.7; }
.soft-section { background: var(--soft); }
.publication-collections .collection[open] .collection-content { max-height: 720px; overflow: auto; padding-right: 16px; scrollbar-width: thin; scrollbar-color: #aabec9 transparent; }
.section-note { font-size: 15px; color: var(--muted); margin-top: 25px; max-width: 900px; }
.translation-note { color: #8a5600 !important; background: #fff4d6; padding: 6px 10px !important; margin-top: 7px !important; font-size: 15px; }
.teaching-feature { display: grid; grid-template-columns: 1.3fr 1fr; margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid #d6e3e9; }
.teaching-lead { background: #edf4f8; padding: 34px 38px; }
.feature-symbol { display: block; color: #3762ce; font-size: 44px; line-height: 1; letter-spacing: .09em; font-family: monospace; margin-bottom: 24px; }
.teaching-lead h3 { font-size: 26px; font-weight: 600; margin-bottom: 12px; }
.teaching-lead p { color: var(--muted); font-size: 17px; }
.teaching-topics { padding: 38px; display: flex; flex-direction: column; justify-content: center; background: #f8fbfd; }
.teaching-topics > p { font-size: 25px; line-height: 1.7; margin: 15px 0 25px; }
.teaching-foot { font-size: 14px; letter-spacing: .12em; color: var(--muted); }
.industry-section { background: #f1f7f6; }
.patent-panel { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 22px; margin-top: 32px; padding: 25px 28px; border: 1px solid #c4ddd5; border-radius: var(--radius); background: #fff; }
.patent-icon { font-size: 47px; color: var(--teal-dark); line-height: 1; }
.patent-panel .record { display: block; padding: 8px 0 0; }
.patent-panel .record-meta, .patent-panel .record-group { display: none; }
.profile-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 65px; margin-top: 32px; align-items: start; }
.markdown-body { min-width: 0; overflow-wrap: anywhere; font-size: 18px; }
.markdown-body h3 { font-size: 24px; margin: 32px 0 12px; }
.markdown-body h3:first-child { margin-top: 0; }
.markdown-body p { margin: 10px 0; }
.markdown-body ol { padding-left: 24px; }
.markdown-body li { margin-bottom: 10px; }
.profile-entry + .profile-entry { margin-top: 12px; }
.profile-sidebar { min-width: 0; }
.cv-panel { border-radius: var(--radius); background: var(--soft); padding: 28px; }
.cv-panel h3 { font-size: 25px; margin-top: 9px; font-weight: 600; }
.cv-panel > p { font-size: 17px; color: var(--muted); margin-top: 7px; }
.cv-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.dark { background: var(--navy); color: #fff; }
.dark:hover { background: #23435d; }
.outline { border: 1px solid #a8b9c6; background: transparent; }
.outline:hover { background: #e5eef2; }
.file-format { font-size: 13px; letter-spacing: .1em; color: var(--muted); display: block; margin-top: 16px; }
.honors { margin-top: 32px; }
.honors h3 { font-size: 24px; font-weight: 600; }
.honors .record { grid-template-columns: 30px 1fr; gap: 12px; padding: 18px 0; }
.honors .record-meta { color: var(--teal-dark); }
.service-records .records { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.service-records .record { grid-template-columns: 32px 1fr; gap: 16px; }
.service-records .record-group { display: none; }
.service-records .record-meta { color: var(--teal-dark); font-variant-numeric: tabular-nums; }
.service-records .record:last-child { border-bottom: 1px solid var(--line); }
.footer { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; font-size: 15px; color: var(--muted); }
.footer a { white-space: nowrap; color: var(--teal-dark); }
@media (max-width: 1120px) {
  .container { width: calc(100% - 64px); }
  .nav-shell { width: calc(100% - 48px); min-height: 78px; gap: 20px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; border: 0; background: none; padding: 12px; margin-left: auto; min-height: 44px; justify-content: center; }
  .menu-toggle span { display: block; width: 23px; height: 2px; background: var(--ink); }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 32px 26px; background: #fff; box-shadow: 0 10px 20px #0826350d; border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr; gap: 5px 30px; }
  .nav-links.is-open { display: grid; }
  .nav-links a { font-size: 17px; padding: 9px 0; }
  .nav-links a::after { bottom: 4px; }
  .hero-grid { gap: 32px; }
  .hero-role { font-size: 19px; }
  .research-map { padding: 18px; }
  .stats > div { padding-left: 22px; gap: 12px; }
  .stats strong { font-size: 36px; }
  .stats span { font-size: 15px; }
  .section-heading { gap: 32px; }
  .profile-layout { gap: 36px; grid-template-columns: 1.4fr 1fr; }
  .research-card { padding: 24px; }
}
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 44px; gap: 36px; }
  .hero-copy { max-width: 650px; }
  .research-map { width: 100%; max-width: 560px; justify-self: center; }
  .hero-description { max-width: none; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats > div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .profile-layout { grid-template-columns: 1fr; gap: 32px; }
  .profile-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .honors { margin: 0; }
  .research-cards { grid-template-columns: 1fr; }
  .card-top { margin-bottom: 12px; }
  .teaching-feature { grid-template-columns: 1fr; }
  .service-records .records { column-gap: 28px; }
  .subheading { display: block; }
  .subheading > span { display: block; text-align: left; margin-top: 8px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 90px; }
  body { font-size: 17px; }
  .container { width: calc(100% - 40px); }
  .nav-shell { width: calc(100% - 32px); min-height: 76px; gap: 12px; }
  .brand-monogram { font-size: 32px; }
  .brand-name { font-size: 17px; }
  .brand-name small { font-size: 13px; }
  .brand { gap: 10px; }
  .language-toggle { padding-left: 12px; }
  .language-toggle span { display: none; }
  .hero-grid { padding-bottom: 32px; }
  .eyebrow { font-size: 13px; letter-spacing: .06em; }
  h1 { font-size: clamp(38px, 10vw, 52px); }
  .hero-english { font-size: 25px; }
  .hero-description { font-size: 18px; }
  .hero-role, .hero-university { font-size: 18px; }
  .hero-actions { gap: 20px; }
  .research-map { padding: 16px 12px; }
  .map-heading { font-size: 12px; padding-inline: 4px; }
  .map-legend { gap: 5px 12px; }
  .map-legend li { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .stats > div { padding-left: 20px; flex-direction: row; align-items: center; gap: 14px; }
  .stats > div:nth-child(3) { border: 0; padding: 0; }
  .stats strong { font-size: 32px; }
  .stats span { font-size: 14px; max-width: 115px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  h2 { font-size: 30px; }
  .section-heading { margin-bottom: 28px; }
  .profile-sidebar { grid-template-columns: 1fr; }
  .markdown-body { font-size: 17px; }
  .markdown-body h3 { font-size: 23px; }
  .cv-panel { padding: 24px; }
  .collection summary { font-size: 20px; gap: 12px; }
  .collection-right { gap: 14px; }
  .count, .count > span { font-size: 15px; }
  .record { grid-template-columns: 1fr; gap: 8px; padding: 21px 0; }
  .record-meta { flex-direction: row; gap: 12px; align-items: center; font-size: 15px; }
  .record-body { font-size: 17px; }
  .publication-collections .collection[open] .collection-content { max-height: 620px; padding-right: 8px; }
  .teaching-lead, .teaching-topics { padding: 28px 24px; }
  .patent-panel { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .patent-icon { font-size: 36px; }
  .service-records .records { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .research-map, .hero-actions, .cv-buttons, .skip-link { display: none !important; }
  .container { width: 100%; }
  .hero, .soft-section, .industry-section { background: #fff; color: #000; }
  .hero-grid, .profile-layout, .profile-sidebar, .section-heading { display: block; padding: 16px 0; }
  .hero-english, .hero-tagline, .hero-description, .hero-role, .hero-university, .stats span { color: #333; }
  .section { padding: 20px 0; }
  .collection-content { max-height: none !important; overflow: visible !important; }
  .collection:not([open]) > div { display: block; }
  .stats { border-color: #ccc; }
  .profile-entry, .record { break-inside: avoid; }
  .footer { padding: 20px 0; }
}
