:root {
    color-scheme: light;
    --ink: #263d48;
    --muted: #607782;
    --blue: #216a87;
    --line: #d7e5e9;
    --font-body: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
    color: var(--ink);
    background: radial-gradient(ellipse at 85% 18%, #e7f4f9 0, transparent 44%), #fafcfc;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; transition: color .2s, background .2s; }
a:hover { color: #123f53; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
::selection { background: #d4eaf3; }
.page-wrapper { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: 0 48px; }

.site-header { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: 190px; margin-top: 24px; padding: 0 30px 23px 210px; }
.header-shape { position: absolute; inset: auto 0 0; width: 100%; height: 174px; z-index: -1; overflow: visible; filter: drop-shadow(0 10px 18px #3b71850b); pointer-events: none; }
.header-shape path { fill: #e5f1f5; stroke: #c9dfe8; stroke-width: 1; vector-effect: non-scaling-stroke; }
.header-shape-small { display: none; }
.header-spark { position: absolute; top: 38px; left: 177px; color: #92b5c7; font-size: 22px; transform: rotate(12deg); pointer-events: none; }
.site-brand { display: flex; align-items: center; color: var(--ink); white-space: nowrap; }
.nav-avatar { position: absolute; left: 13px; bottom: 8px; display: block; width: 174px; height: 174px; object-fit: contain; mask-image: linear-gradient(to bottom, #000 89%, transparent 100%); }
.brand-copy { display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.brand-copy strong { font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.brand-copy > span { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
html[lang="en"] .brand-copy strong { font-family: var(--font-heading); font-size: 20px; font-weight: 400; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 26px; min-height: 44px; font-size: 13px; }
.site-nav > a { white-space: nowrap; }
.site-nav > a:not(.lang-switch) { color: var(--muted); }
.site-nav > a:hover { color: var(--blue); }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 5px 16px; border: 1px solid #c7dce5; border-radius: 15px 7px 15px 7px; background: #f9fcfd; }
.lang-switch:hover { background: #fff; }

/* The character is an illustration beside the introduction, without a portrait frame. */
.profile-hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 26px; min-height: 450px; padding: 58px 0 54px; }
.profile-copy { position: relative; z-index: 2; }
.profile-info h1 { font-family: var(--font-body); font-size: clamp(40px, 4.5vw, 55px); line-height: 1.3; font-weight: 600; letter-spacing: .08em; margin-bottom: 17px; }
html[lang="en"] .profile-info h1 { font-family: var(--font-heading); font-weight: 400; letter-spacing: -.025em; }
.profile-info .subtitle { font-size: 15px; color: var(--blue); margin-bottom: 12px; }
.profile-info > p:last-child { font-size: 14px; color: var(--muted); }
.email { border-bottom: 1px solid #bfd4de; padding-bottom: 3px; overflow-wrap: anywhere; }
.profile-desc { margin-top: 29px; max-width: 470px; font-size: 16px; line-height: 1.95; }
.profile-desc p + p { margin-top: 9px; }
.profile-desc .research-interests { border-left: 2px solid #8fbed2; margin-top: 22px; padding-left: 16px; color: var(--muted); font-size: 14px; }
.hero-art { position: relative; isolation: isolate; min-width: 0; padding-top: 24px; }
.hero-art::before { content: ''; position: absolute; z-index: -2; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #eff8fa, #daeef5); top: 46%; left: 49%; transform: translate(-50%, -50%); }
.hero-art::after { content: ''; position: absolute; z-index: -1; width: 75%; height: 55%; top: 4%; right: 0; background-image: radial-gradient(#95b6c4 1px, transparent 1px); background-size: 18px 18px; opacity: .25; mask-image: linear-gradient(120deg, transparent, black); }
.hero-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 12px #426d8010); }
.art-orbit { position: absolute; z-index: -1; width: 95%; height: 56%; border: 1px solid #bcd8e3; border-radius: 50%; top: 17%; left: 0; transform: rotate(-28deg); }
.art-symbol { position: absolute; color: #759cac; font-family: var(--font-heading); font-style: italic; font-size: 30px; }
.symbol-one { right: 12%; top: 7%; transform: rotate(10deg); }
.symbol-two { right: 2%; top: 45%; font-size: 25px; }

.main-content { border-top: 1px solid var(--line); }
.main-content > section { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 35px; padding: 34px 0; }
.section-title { display: flex; align-items: baseline; gap: 15px; font-family: var(--font-heading); font-size: 24px; line-height: 1.5; font-weight: 400; color: var(--ink); }
.section-num { font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .08em; color: #728b97; }
.section-divider { border: 0; border-top: 1px solid var(--line); }
.edu-item { display: grid; grid-template-columns: minmax(0, 1fr) 64px 112px; align-items: baseline; gap: 20px; padding: 17px 0; border-bottom: 1px solid #e5edf0; font-size: 15px; }
.edu-item:first-child { padding-top: 3px; }
.edu-item:last-child { border-bottom: 0; padding-bottom: 0; }
.edu-school { font-weight: 400; }
.edu-degree { color: var(--muted); }
.edu-year { text-align: right; white-space: nowrap; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.pub-list { list-style: none; color: var(--muted); font-size: 14px; padding-top: 4px; }
.other-links { display: flex; flex-wrap: wrap; gap: 12px; }
.other-links a { display: inline-flex; align-items: center; gap: 35px; padding: 6px 0; border-bottom: 1px solid #abcbd9; font-size: 14px; }
.other-links a::after { content: '↗'; font-family: Arial, sans-serif; }
.page-footer { border-top: 1px solid var(--line); padding: 24px 0 30px; color: var(--muted); font-size: 11px; text-align: right; }

.sunflower-container { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; opacity: .13; }
.sunflower { position: absolute; top: -100px; animation: float 20s linear infinite; }
@keyframes float {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 0; }
    10%, 90% { opacity: .8; }
    100% { transform: translateY(calc(100vh + 100px)) rotate(360deg); opacity: 0; }
}

@media (max-width: 900px) {
    .page-wrapper { padding: 0 32px; }
    .site-header { min-height: 174px; padding-left: 164px; padding-right: 20px; gap: 16px; }
    .nav-avatar { width: 148px; height: 148px; left: 5px; }
    .header-spark { left: 145px; top: 36px; font-size: 18px; }
    .brand-copy strong { font-size: 15px; }
    html[lang="en"] .brand-copy strong { font-size: 18px; }
    .brand-copy > span { font-size: 10px; letter-spacing: 0; }
    .site-nav { gap: 14px; font-size: 12px; }
    .lang-switch { padding: 5px 12px; gap: 8px; }
    .profile-hero { gap: 20px; padding: 48px 0; }
    .profile-info h1 { font-size: 42px; }
    .main-content > section { grid-template-columns: 175px minmax(0, 1fr); gap: 22px; }
    .edu-item { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; }
    .edu-school { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .site-header { min-height: 214px; margin-top: 18px; padding: 0; display: block; }
    .header-shape-wide { display: none; }
    .header-shape-small { display: block; height: 214px; }
    .nav-avatar { width: 144px; height: 144px; left: 0; bottom: 67px; }
    .brand-copy { position: absolute; left: 150px; top: 88px; }
    .brand-copy strong { font-size: 19px; }
    html[lang="en"] .brand-copy strong { font-size: 19px; }
    .brand-copy > span { font-size: 11px; }
    .header-spark { left: 145px; top: 44px; }
    .site-nav { position: absolute; left: 18px; right: 18px; bottom: 16px; justify-content: space-between; gap: 8px; min-height: 36px; font-size: 12px; }
    .lang-switch { min-height: 36px; padding: 4px 10px; gap: 6px; }
}
@media (max-width: 620px) {
    .page-wrapper { padding: 0 23px; }
    .profile-hero { grid-template-columns: 1fr; gap: 26px; padding: 38px 0 28px; }
    .profile-info h1 { font-size: 42px; }
    .profile-info .subtitle { font-size: 14px; }
    .profile-desc { margin-top: 24px; max-width: none; }
    .hero-art { width: min(100%, 360px); justify-self: center; }
    .main-content > section { grid-template-columns: 1fr; gap: 22px; padding: 27px 0; }
    .section-title { font-size: 23px; }
    .edu-item { padding: 15px 0; }
    .page-footer { text-align: left; }
}
@media (max-width: 380px) {
    .nav-avatar { width: 134px; height: 134px; }
    .brand-copy { left: 139px; }
    html[lang="en"] .brand-copy strong { font-size: 17px; }
    .brand-copy > span { font-size: 10px; }
    .site-nav { left: 12px; right: 12px; gap: 6px; font-size: 11px; }
    .lang-switch { padding: 4px 8px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .sunflower-container { display: none; }
}
