@font-face {
  font-family: Outfit;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./assets/fonts/outfit-latin-variable.woff2') format('woff2');
}
:root {
  --bg: #fff;
  --soft: #f8f9fc;
  --ink: #121317;
  --muted: #45474d;
  --faint: #7a7e87;
  --line: #e6eaf0;
  --accent: #0b57d0;
  --nav-height: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Outfit, 'Helvetica Neue', Arial, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html:lang(zh-CN) body { line-height: 1.8; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, figure, dl, dd { margin: 0; }
ul { padding: 0; margin: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: #e8f0fe; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex-shrink: 0; display: block; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-height); background: rgb(255 255 255 / 85%); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.nav-brand { font-size: 16px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.nav-alt { color: var(--faint); font-weight: 400; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { position: relative; color: var(--muted); font-size: 15px; padding-block: 4px; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { transform: scaleX(1); }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; flex-shrink: 0; }
.lang a { padding: 3px 10px; min-width: 36px; font-size: 13px; text-align: center; border-radius: 999px; color: var(--faint); line-height: 1.6; }
.lang a[aria-current='page'] { color: white; background: var(--ink); }
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero-backdrop { position: absolute; inset: 0 32% 0 0; pointer-events: none; opacity: .2; mask-image: linear-gradient(90deg, #000, #0008 55%, transparent), linear-gradient(transparent, #000 20% 65%, transparent); mask-composite: intersect; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) blur(3px); transform: scale(1.15) rotate(-5deg); }
.hero-inner { position: relative; }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-portrait { width: 120px; height: 132px; flex-shrink: 0; border-radius: 18px; overflow: hidden; background: #eff2f8; box-shadow: 0 0 0 1px #0b12200f, 0 14px 28px -18px #12131752; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-lead { min-width: 0; }
.hero h1 { font-size: clamp(44px, 6vw, 64px); letter-spacing: -.035em; font-weight: 500; line-height: 1.05; }
.hero-alt { font-size: .48em; font-weight: 300; letter-spacing: 0; color: var(--faint); vertical-align: .12em; white-space: nowrap; }
.roles { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 20px; }
.roles > div { border-left: 1px solid var(--line); padding: 0 22px; }
.roles > div:first-child { border: 0; padding-left: 0; }
.roles dt { color: var(--faint); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.roles dd { font-size: 17px; font-weight: 500; margin-top: 4px; letter-spacing: -.01em; }
.tagline { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; margin-top: 30px; line-height: 1.4; }
.bio { max-width: 1000px; margin-top: 14px; font-size: 16.5px; color: var(--muted); line-height: 1.85; }
html:lang(en) .bio { max-width: 84ch; line-height: 1.7; }
.social { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
.social a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 15px; transition: color .2s; }
.social a:hover { color: var(--accent); }
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section h2 { font-size: clamp(30px, 3.4vw, 38px); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.section-note, .contribution-note { color: var(--faint); font-size: 13.5px; }
.aside-link { color: var(--accent); font-size: 15px; white-space: nowrap; }
.aside-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.news-row time { color: var(--faint); font-variant-numeric: tabular-nums; }
.news-row a { color: var(--accent); }
.news-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contribution-summary { border: 1px solid var(--line); border-radius: 24px; padding: 22px 26px; }
.summary-key { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding-bottom: 8px; border-bottom: 1px solid #eef1f5; }
.summary-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 32px; margin-top: 10px; }
.summary-rows p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--muted); font-size: 14px; }
.summary-label { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.featured-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); }
.featured-media img { height: 100%; width: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.featured-item:hover img { transform: scale(1.04); }
.featured-caption { display: block; font-size: 15px; font-weight: 500; margin-top: 12px; }
.contribution-group { margin-top: 56px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--ink); font-size: 26px; font-weight: 500; letter-spacing: -.02em; padding-bottom: 12px; }
.group-tag { font-size: 12px; letter-spacing: .08em; color: var(--accent); font-weight: 600; text-transform: uppercase; }
.contribution { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; padding: 24px 16px 24px 12px; border-bottom: 1px solid var(--line); }
.contribution-highlight { background: #f3f6fd; box-shadow: inset 2px 0 0 #0b57d070; }
.contribution-id { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contribution-id span { color: var(--faint); font-size: 11px; letter-spacing: .1em; }
.contribution-id a { font-size: 23px; color: var(--accent); font-weight: 400; }
.contribution-id a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contribution h4 { font-size: 18px; font-weight: 500; line-height: 1.45; }
.contribution p { margin-top: 7px; color: var(--muted); font-size: 14.5px; }
.contribution-note { margin-top: 22px; }
.timeline { border-top: 1px solid var(--line); }
.tl-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.tl-logo { display: grid; place-items: center; height: 64px; }
.tl-logo img { width: auto; max-width: 110px; height: auto; max-height: 55px; object-fit: contain; }
.tl-body h3 { font-size: 18px; font-weight: 600; }
.tl-role { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.tl-detail { color: var(--faint); font-size: 14.5px; max-width: 62ch; margin-top: 6px; }
.tl-when { color: var(--faint); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; align-self: start; padding-top: 3px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: white; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.project-featured { grid-column: 1 / -1; }
.project-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
.project-when { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.project h3 { font-size: 20px; font-weight: 500; margin-top: 8px; line-height: 1.4; }
.project-featured h3 { font-size: 22px; }
.project-body { font-size: 15px; color: var(--muted); margin-top: 10px; }
.project-featured .project-body { max-width: 880px; }
.subsection { margin-top: 72px; }
.expertise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; border-top: 1px solid var(--line); padding-top: 22px; }
.expertise-number { font-size: 12px; color: var(--accent); }
.expertise h3 { font-size: 18px; font-weight: 500; margin-top: 12px; }
.expertise p { margin-top: 8px; color: var(--faint); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 48px; }
.contact-lead { max-width: 44ch; margin-top: 16px; color: var(--muted); font-size: 17px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-email { grid-column: 1 / -1; }
.contact-card a { display: flex; align-items: center; height: 100%; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: white; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.contact-card .icon { width: 22px; height: 22px; }
.contact-card span { display: flex; flex-direction: column; min-width: 0; }
.contact-card small { font-size: 12px; letter-spacing: .08em; color: var(--faint); text-transform: uppercase; }
.contact-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 500; }
.contact-email strong { font-size: 18px; }
.contact-arrow { color: var(--faint); margin-left: auto; }
.footer { padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.footer-inner, .footer nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer a:hover { color: var(--ink); }
@media (hover: hover) { .card:hover, .contact-card a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px #12131747; } }
@media (max-width: 1000px) { .nav-links { gap: 20px; } .nav-inner { gap: 20px; } .summary-rows { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .hero { padding: 36px 0 52px; }
  .hero-backdrop { inset: -40px -20% 30%; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .tl-row { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .tl-when { grid-column: 2; padding: 0; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .nav-brand { font-size: 14px; }
  .nav-inner { gap: 10px; }
  .hero-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-portrait { width: 96px; height: 106px; border-radius: 15px; }
  .hero h1 { font-size: clamp(36px, 8vw, 46px); }
  .hero-alt { font-size: .43em; }
  .roles { gap: 12px 20px; }
  .roles > div { padding: 0; border: 0; }
  .roles dt { font-size: 10px; }
  .roles dd { font-size: 15px; }
  .tagline { font-size: 23px; }
  .bio { font-size: 15.5px; }
  .social { gap: 14px 20px; }
  .section { padding: 64px 0; }
  .section-note { display: none; }
  .section-head { gap: 12px; }
  .aside-link { font-size: 13px; }
  .news-row { grid-template-columns: 1fr; gap: 3px; }
  .news-row time { font-size: 13px; }
  .contribution-summary { padding: 20px; border-radius: 18px; }
  .summary-rows p { display: block; }
  .summary-label { display: block; margin-bottom: 2px; }
  .featured { grid-template-columns: 1fr; gap: 24px; }
  .featured-media { aspect-ratio: 16 / 9; }
  .featured-caption { margin-top: 9px; }
  .contribution { grid-template-columns: 1fr; gap: 12px; padding-inline: 0; }
  .contribution-highlight { padding-inline: 14px; }
  .contribution-id { flex-direction: row; align-items: center; justify-content: space-between; }
  .contribution-id a { font-size: 18px; }
  .tl-row { grid-template-columns: 64px minmax(0, 1fr); }
  .tl-logo img { max-width: 64px; max-height: 42px; }
  .tl-detail { font-size: 14px; }
  .cards, .expertise { grid-template-columns: 1fr; }
  .expertise { gap: 24px; }
  .expertise li + li { border-top: 1px solid var(--line); padding-top: 20px; }
  .card { padding: 22px; }
  .contact-email strong { font-size: 16px; }
  .contact-card a { padding: 16px; gap: 10px; }
}
@media (max-width: 360px) { .nav-alt { display: none; } .contact-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-top, .tagline, .bio, .social { animation: rise .7s var(--ease) both; }
  .tagline { animation-delay: .1s; }
  .bio { animation-delay: .2s; }
  .social { animation-delay: .3s; }
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .nav, .hero-backdrop, .skip-link { display: none; } .section { padding: 28px 0; break-inside: avoid; } .js [data-reveal] { opacity: 1; transform: none; } .hero { padding: 20px 0; } }
