/* Yuteng Zhang — Intelligence in Motion. Local assets only. Shared theme and motion tokens are in experience.css; v4 editorial layout is in refinement.css. */
:root {
  color-scheme: dark;
  --bg: #0c0c0b;
  --surface: #131311;
  --surface-raised: #1c1b17;
  --text: #f1eee5;
  --secondary: #b9b4a7;
  --muted: #918b7b;
  --accent: #d9b56e;
  --on-accent: #201a10;
  --line: #373125;
  --line-soft: #25231d;
  --header: rgba(12,12,11,.94);
  --glow: rgba(206,169,98,.09);
  --warm: #edcea1;
  --cyan: #d9b56e;
  --font: "Inter", "Aptos", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1200px;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f6f0;
  --surface: #f0ece2;
  --surface-raised: #eae3d4;
  --text: #29271f;
  --secondary: #60594b;
  --muted: #776e5d;
  --accent: #8e6622;
  --on-accent: #fffaf0;
  --line: #d9cdb5;
  --line-soft: #e8e0d1;
  --header: rgba(248,246,240,.94);
  --glow: rgba(160,112,32,.06);
  --warm: #9b763b;
  --cyan: #8e6622;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
button:disabled { cursor: not-allowed; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, pre:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
input { min-width: 0; }
h1, h2, h3, h4, p { margin: 0; }
svg { display: block; }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.mono, .eyebrow { font-family: var(--mono); }
.mono { font-size: 11px; letter-spacing: .025em; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 12px 20px; background: var(--accent); color: var(--on-accent); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }
.js .publications-toolbar.js-only { display: flex !important; }
.js .network-controls.js-only { display: grid !important; }
.js .icon-button.js-only { display: inline-grid !important; }
/* Navigation */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line-soft); background: var(--header); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 38px; color: var(--accent); display: grid; place-items: center; }
.brand-mark svg { width: 32px; height: 32px; }
.brand-type { font-size: 11px; font-weight: 650; letter-spacing: .12em; line-height: 1.65; }
.brand-type > span { display: block; color: var(--muted); font: 9px/1.8 var(--mono); letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav > a { color: var(--secondary); font-size: 12px; position: relative; padding: 8px 0; }
.main-nav > a::after { content: ""; position: absolute; bottom: 1px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width .2s; }
.main-nav > a:hover, .main-nav > a[aria-current] { color: var(--accent); }
.main-nav > a:hover::after, .main-nav > a[aria-current]::after { width: 100%; }
.header-tools { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.language-button { font-family: var(--mono); font-size: 11px; color: var(--secondary); padding: 10px 4px; }
.language-button:hover { color: var(--accent); }
.icon-button { display: inline-grid; place-items: center; background: transparent; width: 36px; height: 36px; padding: 8px; border: 1px solid transparent; border-radius: 50%; color: var(--secondary); flex: 0 0 auto; }
.icon-button:hover { border-color: var(--line); background: var(--surface-raised); color: var(--accent); }
.theme-dark { display: none; }
html[data-theme="light"] .theme-light { display: none; }
html[data-theme="light"] .theme-dark { display: block; }
.header-contact { font-size: 12px; display: inline-flex; align-items: center; gap: 14px; border-left: 1px solid var(--line); padding-left: 20px; margin-left: 6px; }
.header-contact .icon { width: 15px; height: 15px; color: var(--accent); }
.header-contact:hover { color: var(--accent); }
.menu-toggle { display: none; }
/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; column-gap: 60px; padding-top: 74px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 40px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--secondary); font-size: 10px; letter-spacing: .075em; }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; flex: 0 0 auto; box-shadow: 0 0 0 4px var(--glow); }
.hero-name { margin-top: 28px; font-size: clamp(78px, 7.6vw, 110px); font-weight: 440; line-height: .91; letter-spacing: -.065em; }
.hero-name em { display: block; font-family: var(--serif); font-size: 1.11em; font-weight: 400; line-height: 1.03; letter-spacing: -.075em; margin-left: -5px; }
.name-period { color: var(--accent); }
.hero-line { margin-top: 23px; font-weight: 450; font-size: 24px; line-height: 1.4; letter-spacing: -.025em; }
.hero-description { color: var(--secondary); font-size: 15px; line-height: 1.8; max-width: 415px; margin-top: 15px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button { min-height: 46px; padding: 12px 19px; border-radius: 5px; display: inline-flex; justify-content: center; align-items: center; gap: 20px; font-size: 12px; font-weight: 600; line-height: 1.4; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { filter: brightness(1.08); }
.button-primary .icon { width: 17px; height: 17px; }
.button-plain { color: var(--secondary); padding-inline: 8px; font-weight: 400; gap: 9px; }
.button-plain:hover { color: var(--accent); }
.button-plain .icon { width: 14px; height: 14px; }
.button-outline { background: transparent; border-color: var(--line); color: var(--text); }
.button-outline:hover { background: var(--surface-raised); border-color: var(--muted); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; color: var(--muted); font-size: 11px; }
.hero-meta span, .hero-meta a { display: flex; align-items: center; gap: 7px; }
.hero-meta .icon { width: 13px; height: 13px; }
.hero-meta a { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-meta a:hover { color: var(--accent); }
.hero-visual { align-self: center; min-width: 0; background: radial-gradient(ellipse at 48% 46%, var(--glow), transparent 67%); border: 1px solid var(--line-soft); border-radius: 13px; position: relative; margin-top: -14px; }
.hero-visual::before, .hero-visual::after { content: "+"; position: absolute; color: var(--muted); font: 15px var(--mono); background: var(--bg); line-height: 10px; width: 10px; height: 10px; z-index: 1; }
.hero-visual::before { top: -5px; left: -5px; }
.hero-visual::after { bottom: -5px; right: -5px; }
.visual-topline { padding: 14px 19px 0; display: flex; justify-content: space-between; align-items: center; }
.visual-topline .mono { font-size: 9px; color: var(--secondary); letter-spacing: .075em; }
.visual-topline .muted { padding-inline: 7px; }
.visual-topline .icon-button { width: 29px; height: 29px; }
.visual-topline .icon { width: 13px; height: 13px; }
.network-stage { height: 365px; position: relative; overflow: hidden; }
#mobility-network { display: block; width: 100%; height: 100%; }
.visual-coordinate { position: absolute; left: 24px; top: 55px; font-size: 8px; line-height: 2.15; color: var(--muted); letter-spacing: .09em; }
.floating-chip { position: absolute; display: flex; gap: 9px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--header); font: 10px var(--mono); color: var(--secondary); box-shadow: 0 10px 30px rgba(0, 0, 0, .09); pointer-events: none; }
.chip-context { right: 24px; top: 40px; }
.chip-square { width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); }
.network-caption { position: absolute; left: 23px; right: 15px; bottom: 12px; display: flex; align-items: center; gap: 9px; color: var(--secondary); font: 10px/1.6 var(--mono); }
.network-caption .status-dot { width: 4px; height: 4px; }
.network-controls { display: grid; grid-template-columns: .9fr .8fr 1.4fr .7fr; gap: 4px; padding: 14px 16px 6px; border-top: 1px solid var(--line-soft); }
.network-mode { background: transparent; color: var(--secondary); border: 1px solid transparent; padding: 8px 6px; border-radius: 4px; font-size: 10px; white-space: nowrap; display: flex; gap: 7px; align-items: center; justify-content: center; }
.network-mode span { color: var(--muted); font: 8px var(--mono); }
.network-mode:hover { color: var(--accent); background: var(--surface); }
.network-mode.active { background: var(--surface-raised); border-color: var(--line); color: var(--accent); }
.network-mode.active span { color: var(--accent); }
.visual-disclaimer { text-align: center; font: 8px/1.6 var(--mono); letter-spacing: .025em; color: var(--muted); margin: 9px 10px 15px; }
.network-noscript { position: absolute; inset: 40% 20px auto; text-align: center; color: var(--accent); }
.hero-footline { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 26px 0; margin-top: 10px; border-top: 1px solid var(--line); color: var(--secondary); }
.hero-footline .mono { font-size: 10px; letter-spacing: .14em; }
.cross { font: 17px var(--mono); color: var(--muted); }
/* Notes and biography */
.updates { display: grid; grid-template-columns: 150px 1fr; padding-block: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.updates h2 { padding-top: 4px; color: var(--accent); display: flex; gap: 18px; font-size: 10px; }
.updates-list { display: grid; gap: 10px; }
.update-item { display: grid; grid-template-columns: 80px 1fr 20px; gap: 12px; align-items: baseline; font-size: 12px; }
.update-item > span:nth-child(2) { color: var(--secondary); }
.update-item:hover > span:nth-child(2) { color: var(--accent); }
.update-item .icon { width: 12px; height: 12px; color: var(--muted); }
.news-date { color: var(--muted); font-size: 9px; }
.section { padding-block: 88px; }
.section-index { color: var(--muted); margin-bottom: 22px; font-size: 10px; letter-spacing: .1em; }
.section-heading h2 { font-size: 37px; font-weight: 450; line-height: 1.22; letter-spacing: -.045em; }
.section-title-row { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 38px; }
.section-aside { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 325px; }
.about-section { display: grid; grid-template-columns: .9fr 1.35fr; gap: 100px; }
.about-section h2 { font-size: 35px; }
.about-content { padding-top: 35px; }
.about-content > p { margin-bottom: 17px; color: var(--secondary); font-size: 14px; line-height: 1.9; }
.about-content > p:first-child { color: var(--text); }
.about-links { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 22px; }
.text-link { display: inline-flex; gap: 7px; align-items: center; font-size: 11px; color: var(--secondary); padding: 3px 0; background: transparent; border: 0; }
.text-link .icon { width: 13px; height: 13px; }
.text-link:hover { color: var(--accent); }
/* Research */
.research-section { border-block: 1px solid var(--line-soft); background: var(--surface); }
.research-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.research-card { padding: 23px 23px 21px; min-width: 0; position: relative; transition: background .2s; display: flex; flex-direction: column; }
.research-card + .research-card { border-left: 1px solid var(--line); }
.research-card:hover { background: var(--surface-raised); }
.research-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--muted); }
.research-card-top .mono { font-size: 9px; }
.research-card-top .mono:last-child { color: var(--secondary); letter-spacing: -.025em; }
.research-diagram { width: 140px; height: 90px; color: var(--muted); margin: 27px 0 19px; }
.diagram-grid { stroke: var(--line); }
.diagram-accent { stroke: var(--accent); stroke-width: 2; }
.diagram-fill { fill: var(--accent); stroke: var(--accent); }
.research-card h3 { font-size: 24px; line-height: 1.28; font-weight: 450; letter-spacing: -.045em; margin-bottom: 16px; }
.research-card > p { color: var(--secondary); font-size: 12px; line-height: 1.85; margin-bottom: 25px; }
.research-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.research-tags span { color: var(--muted); font: 8px/1.5 var(--mono); letter-spacing: -.025em; padding-right: 3px; }
.research-tags span + span::before { content: "·"; margin-right: 6px; }
.research-footnote { color: var(--muted); margin-top: 20px; font-size: 10px; }
.research-footnote > span { color: var(--accent); margin-right: 6px; }
/* Publications */
.publications-section .section-heading h2 { font-size: 36px; }
.section-heading sup { font: 13px var(--mono); color: var(--muted); margin-left: 10px; vertical-align: super; letter-spacing: 0; }
.publications-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-buttons { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.filter-button { border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 11px; border-radius: 4px; padding: 8px 11px; display: inline-flex; align-items: center; gap: 9px; }
.filter-button span { font: 9px var(--mono); color: inherit; opacity: .8; }
.filter-button.active { border-color: var(--line); background: var(--surface-raised); color: var(--text); }
.filter-button:hover { color: var(--accent); }
.search-box { display: flex; align-items: center; gap: 9px; padding: 4px 0 4px 12px; width: 220px; border-left: 1px solid var(--line); color: var(--muted); flex-shrink: 0; }
.search-box .icon { width: 15px; height: 15px; }
.search-box input { background: transparent; border: 0; color: var(--text); width: 100%; height: 32px; font-size: 11px; }
.search-box input::placeholder { color: var(--muted); opacity: 1; }
.search-box input:focus { outline-offset: 2px; }
.search-box kbd { font: 9px var(--mono); padding: 1px 5px; border: 1px solid var(--line); border-radius: 3px; }
.publication { display: grid; grid-template-columns: 140px 1fr; gap: 29px; padding: 31px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 115px; }
.publication:target { border-bottom-color: var(--accent); }
.paper-diagram { width: 114px; height: 78px; }
.paper-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.venue-badge { border: 1px solid var(--line); padding: 3px 6px; color: var(--secondary); font: 9px/1.5 var(--mono); border-radius: 3px; }
.venue-badge.accepted { color: var(--accent); background: var(--glow); border-color: var(--line); }
.paper-status { color: var(--muted); font-size: 10px; }
.paper-body { min-width: 0; }
.paper-body h3 { font-size: 20px; font-weight: 500; line-height: 1.45; letter-spacing: -.025em; max-width: 900px; }
.paper-authors { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.85; }
.paper-authors strong { color: var(--text); font-weight: 600; }
.paper-summary { color: var(--secondary); font-size: 12px; line-height: 1.85; margin-top: 7px; }
.paper-links { display: flex; gap: 19px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.paper-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 10px; }
.paper-link .icon { width: 12px; height: 12px; }
.paper-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.paper-link.secondary { color: var(--secondary); }
.cite-button { color: var(--secondary); font: 10px var(--mono); padding: 4px 0; background: transparent; }
.cite-button:hover { color: var(--accent); }
.publication-note { color: var(--muted); font-size: 10px; margin-top: 24px; line-height: 1.9; }
.empty-state { padding: 50px 15px; text-align: center; border-bottom: 1px solid var(--line); color: var(--secondary); }
.empty-state .button { margin-top: 18px; }
/* Journey */
.journey-section { background: var(--surface); border-block: 1px solid var(--line-soft); }
.journey-grid { display: grid; grid-template-columns: .95fr 1.15fr; gap: 100px; margin-top: 41px; }
.column-heading { color: var(--secondary); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 30px; }
.timeline { border-left: 1px solid var(--line); margin-left: 5px; }
.timeline-item { padding-left: 29px; padding-bottom: 42px; position: relative; }
.timeline-item:last-child { padding-bottom: 2px; }
.timeline-item::before { content: ""; position: absolute; left: -4px; top: 5px; width: 7px; height: 7px; border: 1px solid var(--muted); background: var(--surface); border-radius: 50%; }
.timeline-item.current::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.timeline-date { color: var(--muted); font-size: 10px; margin-bottom: 12px; }
.timeline-item.current .timeline-date { color: var(--accent); }
.timeline-item h4 { font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -.03em; }
.degree { font-size: 12px; margin-top: 8px; color: var(--secondary); }
.education-detail { font-size: 11px; margin-top: 6px; color: var(--muted); }
.education-location { font-size: 10px; margin-top: 8px; color: var(--muted); }
.experience-item { padding-bottom: 23px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.experience-item:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.experience-top { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.experience-top h4 { font-size: 15px; font-weight: 550; }
.experience-top .mono { font-size: 9px; color: var(--muted); text-align: right; flex-shrink: 0; }
.experience-organization { font-size: 12px; color: var(--secondary); margin-top: 5px; }
.experience-detail { font-size: 10px; color: var(--muted); margin-top: 6px; }
.experience-description { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.8; }
/* Contact and footer */
.contact-section { padding-block: 90px 80px; }
.contact-section > .eyebrow { margin-bottom: 32px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; }
.contact-grid h2 { font-family: var(--serif); font-style: italic; font-size: 60px; font-weight: 400; line-height: 1.07; letter-spacing: -.055em; }
.contact-description { color: var(--muted); font-size: 12px; line-height: 1.85; max-width: 340px; margin-top: 22px; }
.email-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 17px; font-weight: 450; border-bottom: 1px solid var(--line); padding-bottom: 17px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.email-link .icon { width: 25px; height: 25px; color: var(--accent); }
.email-link:hover { color: var(--accent); }
.copy-email { margin-top: 14px; font-size: 10px; color: var(--muted); gap: 7px; }
.social-links { display: flex; gap: 25px; margin-top: 28px; }
.social-links a { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--secondary); }
.social-links a:hover { color: var(--accent); }
.social-links .icon { width: 12px; height: 12px; }
.site-footer { padding-block: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font: 9px/1.7 var(--mono); }
.site-footer a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer a:hover { color: var(--accent); }
.site-footer .icon { width: 13px; height: 13px; }
.footer-divider { padding-inline: 10px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 14px); background: var(--text); color: var(--bg); border: 1px solid var(--line); padding: 11px 20px; border-radius: 5px; z-index: 80; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); width: max-content; text-align: center; box-shadow: 0 8px 28px rgba(0, 0, 0, .15); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
/* Chinese typography */
html[lang="zh-CN"] .section-heading h2 { letter-spacing: -.03em; font-size: 33px; line-height: 1.5; }
html[lang="zh-CN"] .hero-line { font-size: 25px; }
html[lang="zh-CN"] .hero-description { line-height: 1.9; }
html[lang="zh-CN"] .research-card h3 { font-size: 22px; line-height: 1.6; }
html[lang="zh-CN"] .research-card > p { line-height: 2; }
html[lang="zh-CN"] .network-mode { font-size: 10px; }
html[lang="zh-CN"] .contact-grid h2 { font-family: var(--font); font-style: normal; font-size: 44px; line-height: 1.3; letter-spacing: -.03em; }
/* CV: printable, self-contained HTML rather than a pretend PDF download. */
.cv-body { background: #e9eae4; color: #172018; font-family: var(--font); }
.cv-toolbar { display: flex; justify-content: space-between; align-items: center; max-width: 930px; padding: 24px 0; margin: auto; gap: 20px; }
.cv-document { max-width: 930px; background: #fff; margin: 0 auto 45px; padding: 54px 58px; box-shadow: 0 2px 30px #1720180d; font-size: 12px; line-height: 1.65; }
.cv-header { padding-bottom: 17px; border-bottom: 2px solid #294a1b; }
.cv-header h1 { font-size: 36px; font-weight: 600; letter-spacing: -.04em; }
.cv-header p { margin-top: 5px; }
.cv-header p:last-child { font-size: 10px; }
.cv-document a { color: #2c561b; text-decoration: underline; text-underline-offset: 2px; }
.cv-document section { margin-top: 23px; }
.cv-document section h2 { border-bottom: 1px solid #ccd3c8; padding-bottom: 4px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; color: #294a1b; }
.cv-entry { margin-top: 14px; break-inside: avoid; }
.cv-entry > div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.cv-entry h3 { font-size: 12px; }
.cv-entry > div > span { font-size: 10px; white-space: nowrap; }
.cv-entry p { font-size: 11px; margin-top: 3px; }
.cv-publications { padding-left: 19px; margin: 0; }
.cv-publications li { margin-bottom: 12px; padding-left: 4px; font-size: 11px; overflow-wrap: anywhere; break-inside: avoid; }
.cv-footer { font-size: 9px; color: #776e5d; border-top: 1px solid #dce1d7; margin-top: 25px; padding-top: 10px; }
/* Responsive */
@media (min-width: 1600px) { .hero { padding-top: 90px; } .network-stage { height: 405px; } }
@media (max-width: 1190px) {
  .container { width: calc(100% - 72px); }
  .main-nav { gap: 19px; }
  .header-inner { gap: 18px; }
  .header-tools { gap: 7px; margin-left: 0; }
  .header-contact { padding-left: 12px; }
  .hero { column-gap: 35px; padding-top: 62px; }
  .hero-name { font-size: 92px; }
  .hero-description { max-width: 375px; }
  .network-stage { height: 350px; }
  .network-controls { padding-inline: 10px; gap: 0; }
  .network-mode { font-size: 9px; gap: 4px; }
  .network-mode span { font-size: 7px; }
  .about-section { gap: 55px; }
  .research-card { padding-inline: 18px; }
  .research-card h3 { font-size: 23px; }
  .research-card-top .mono { font-size: 8px; }
  .journey-grid { gap: 65px; }
}
@media (max-width: 980px) {
  .container { width: calc(100% - 56px); }
  .main-nav { gap: 17px; }
  .header-contact { display: none; }
  .hero { column-gap: 20px; }
  .hero-name { font-size: 84px; }
  .hero-line { font-size: 21px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { font-size: 11px; gap: 10px; padding-inline: 12px; }
  .hero-actions .button-plain { padding-inline: 2px; }
  .network-stage { height: 320px; }
  .network-controls { grid-template-columns: 1fr 1fr; padding-top: 8px; }
  .network-mode { padding-block: 6px; font-size: 10px; }
  .visual-topline .mono { font-size: 7px; }
  .visual-coordinate { font-size: 7px; left: 16px; }
  .chip-context { right: 15px; top: 45px; font-size: 8px; }
  .network-caption { font-size: 8px; left: 16px; }
  .hero-meta { gap: 14px; font-size: 10px; }
  .hero-meta a { padding-left: 14px; }
  .about-section { gap: 40px; grid-template-columns: .85fr 1.15fr; }
  .section-heading h2, .about-section h2 { font-size: 30px; }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .research-card { padding: 25px; }
  .research-card:nth-child(3) { border-left: 0; }
  .research-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .research-card h3 { font-size: 26px; }
  .research-card-top .mono { font-size: 10px; }
  .research-card > p { font-size: 13px; }
  .research-tags span { font-size: 9px; }
  .publications-section .section-heading h2 { font-size: 31px; }
  .publication { grid-template-columns: 120px 1fr; gap: 24px; }
  .paper-diagram { width: 100px; }
  .filter-button { font-size: 10px; padding-inline: 7px; }
  .search-box { width: 175px; }
  .journey-grid { gap: 38px; }
  .experience-top { display: block; }
  .experience-top .mono { display: block; text-align: left; margin-top: 4px; }
  .contact-grid { gap: 35px; }
  .email-link { font-size: 14px; }
  .cv-toolbar { padding-inline: 24px; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 84px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; gap: 12px; flex-wrap: wrap; }
  .brand-type { font-size: 10px; }
  .brand-type > span { font-size: 8px; }
  .brand { gap: 9px; }
  .brand-mark { width: 28px; }
  .brand-mark svg { width: 27px; }
  .header-tools { gap: 5px; }
  .icon-button { width: 32px; height: 32px; }
  .main-nav { order: 3; width: 100%; margin: 0; padding-bottom: 18px; justify-content: space-between; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .js .menu-toggle { display: inline-grid; }
  .hero { grid-template-columns: 1fr; padding-top: 43px; }
  .hero-copy { padding-bottom: 0; }
  .hero .eyebrow { font-size: 9px; }
  .hero-name { font-size: clamp(83px, 20vw, 116px); margin-top: 25px; }
  .hero-name em { line-height: 1.03; }
  .hero-line { font-size: 24px; margin-top: 23px; }
  .hero-description { font-size: 14px; line-height: 1.9; max-width: 490px; }
  .hero-actions { gap: 18px; margin-top: 26px; }
  .hero-actions .button { font-size: 12px; padding-inline: 15px; gap: 13px; }
  .hero-actions .button-plain { padding-inline: 0; gap: 7px; }
  .hero-meta { margin-top: 24px; font-size: 10px; }
  .hero-visual { margin-top: 41px; }
  .network-stage { height: 330px; }
  .network-controls { grid-template-columns: .9fr .8fr 1.4fr .7fr; padding: 12px 8px 6px; }
  .network-mode { font-size: 9px; }
  .network-mode span { display: none; }
  .visual-topline .mono { font-size: 8px; }
  .visual-coordinate { font-size: 8px; left: 19px; }
  .chip-context { top: 38px; font-size: 9px; }
  .network-caption { left: 19px; font-size: 9px; }
  .hero-footline { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px 18px; margin-top: 33px; padding: 22px 0; }
  .hero-footline .mono { font-size: 9px; letter-spacing: .065em; }
  .hero-footline .cross:nth-child(4) { display: none; }
  .hero-footline .mono:nth-child(5) { grid-column: 1; }
  .hero-footline .cross { justify-self: center; }
  .updates { display: block; padding-block: 22px; }
  .updates h2 { margin-bottom: 16px; }
  .updates-list { gap: 13px; }
  .update-item { grid-template-columns: 69px 1fr 14px; gap: 10px; font-size: 11px; }
  .news-date { font-size: 8px; }
  .section { padding-block: 59px; }
  .section-index { margin-bottom: 18px; }
  .about-section { display: block; }
  .about-section h2 { font-size: 33px; }
  .about-content { padding-top: 24px; }
  .about-content > p { font-size: 13px; }
  .about-links { gap: 20px; }
  .section-title-row { display: block; margin-bottom: 29px; }
  .section-heading h2 { font-size: 32px; }
  .section-aside { margin-top: 20px; max-width: 460px; font-size: 12px; }
  .research-card { padding: 20px 16px; }
  .research-card h3 { font-size: 22px; }
  .research-card-top { align-items: start; }
  .research-card-top .mono { font-size: 8px; }
  .research-card-top .mono:last-child { text-align: right; max-width: 90px; }
  .research-diagram { width: 113px; height: 77px; margin-block: 21px 17px; }
  .research-card > p { font-size: 11px; }
  .research-tags { display: block; padding-top: 13px; }
  .research-tags span { display: block; font-size: 8px; margin-top: 4px; }
  .research-tags span + span::before { content: ""; margin: 0; }
  .research-footnote { font-size: 9px; line-height: 1.8; }
  .publications-section .section-heading h2 { font-size: 29px; }
  .publications-section .section-title-row > .text-link { margin-top: 20px; }
  .publications-toolbar { flex-wrap: wrap; gap: 12px; padding-block: 12px; }
  .filter-buttons { gap: 3px; }
  .filter-button { padding: 7px; font-size: 10px; gap: 6px; }
  .search-box { width: 100%; border-left: 0; border-top: 1px solid var(--line-soft); padding: 10px 5px 0; }
  .search-box input { font-size: 12px; }
  .search-box kbd { display: none; }
  .publication { grid-template-columns: 1fr; gap: 0; padding-block: 25px; }
  .paper-meta { gap: 8px; margin-bottom: 11px; }
  .paper-status { font-size: 9px; }
  .paper-body h3 { font-size: 19px; line-height: 1.5; }
  .paper-authors { font-size: 10px; }
  .paper-summary { font-size: 11px; }
  .paper-links { margin-top: 15px; }
  .paper-link, .cite-button { font-size: 11px; }
  .publication-note { font-size: 9px; }
  .journey-grid { display: block; margin-top: 31px; }
  .experience { margin-top: 45px; }
  .timeline-item h4 { font-size: 21px; }
  .experience-top { display: flex; }
  .experience-top .mono { text-align: right; }
  .experience-detail, .experience-description { font-size: 11px; }
  .contact-section { padding-block: 59px; }
  .contact-grid { display: block; }
  .contact-grid h2 { font-size: 58px; }
  .contact-description { font-size: 13px; }
  .contact-actions { margin-top: 35px; }
  .email-link { font-size: 15px; gap: 12px; }
  .email-link .icon { width: 22px; height: 22px; }
  .social-links a { font-size: 12px; }
  .site-footer { flex-wrap: wrap; font-size: 8px; gap: 12px; }
  .site-footer > span:first-child { width: 100%; }
  .site-footer > a { margin-left: auto; }
  dialog { padding: 19px; width: calc(100vw - 28px); }
  dialog h2 { font-size: 17px; }
  dialog pre { font-size: 10px; padding: 13px; }
  .dialog-actions { gap: 8px; }
  .dialog-actions .button { font-size: 11px; padding-inline: 12px; gap: 10px; }
  .cv-document { padding: 28px 20px; box-shadow: none; }
  .cv-entry > div { display: block; }
  .cv-toolbar { padding: 16px; }
  .cv-toolbar .button { font-size: 10px; padding-inline: 9px; }
  html[lang="zh-CN"] .section-heading h2 { font-size: 28px; }
  html[lang="zh-CN"] .research-card h3 { font-size: 20px; }
  html[lang="zh-CN"] .contact-grid h2 { font-size: 42px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .brand-type { font-size: 9px; }
  .brand-type > span { font-size: 7px; }
  .header-tools { gap: 1px; }
  .hero-name { font-size: 79px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { font-size: 11px; padding-inline: 12px; }
  .hero-actions .button-plain { padding-inline: 0; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card + .research-card { border-left: 0; border-top: 1px solid var(--line); }
  .research-card h3 { font-size: 26px; }
  .research-card > p { font-size: 12px; }
  .research-card-top .mono { font-size: 9px; }
  .research-card-top .mono:last-child { max-width: none; }
  .experience-top { display: block; }
  .experience-top .mono { text-align: left; }
  .email-link { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .button:hover { transform: none; }
}
@media print {
  @page { size: A4; margin: 15mm; }
  html { color-scheme: light; --bg: #fff; --surface: #fff; --text: #111; --secondary: #333; --muted: #555; --accent: #274419; --line: #ccc; --line-soft: #ddd; }
  body { background: #fff; color: #111; font-size: 10pt; }
  .site-header, .hero-visual, .updates, .hero-actions, .js-only, .js .js-only, .site-footer, dialog, .toast, .cv-toolbar { display: none !important; }
  .container { width: 100%; }
  .hero, .about-section, .journey-grid, .contact-grid { display: block; }
  .hero { padding-top: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-name { font-size: 32pt; line-height: 1.2; }
  .hero-name em { display: inline; font-size: 1em; margin-left: 8px; }
  .hero-line { font-size: 14pt; margin-top: 8px; }
  .hero-description { max-width: none; font-size: 10pt; }
  .section, .contact-section { padding-block: 20px; }
  .section-heading h2 { font-size: 20pt; }
  .section-index { margin-bottom: 7px; }
  .publication, .timeline-item, .experience-item, .research-card { break-inside: avoid; }
  .publication[hidden] { display: grid !important; }
  .publication { grid-template-columns: 1fr; padding-block: 15px; }
  .paper-body h3 { font-size: 12pt; }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .research-card { border: 1px solid #ccc !important; }
  .research-diagram { display: none; }
  .research-card h3 { margin-top: 12px; font-size: 13pt; }
  .research-card > p { font-size: 9pt; }
  .experience { margin-top: 25px; }
  .contact-grid h2 { font-size: 24pt; }
  .contact-description { max-width: none; }
  .cv-body { background: #fff; }
  .cv-document { max-width: none; box-shadow: none; margin: 0; padding: 0; font-size: 9pt; }
  .cv-header h1 { font-size: 24pt; }
  .cv-header p { font-size: 9pt; }
  .cv-header p:last-child { font-size: 8pt; }
  .cv-document section { margin-top: 16px; }
  .cv-document section h2 { font-size: 10pt; margin-bottom: 7px; break-after: avoid; }
  .cv-entry { margin-top: 10px; }
  .cv-entry > div { display: flex; }
  .cv-entry h3 { font-size: 9pt; }
  .cv-entry p, .cv-publications li { font-size: 8.5pt; }
  .cv-publications li { margin-bottom: 9px; }
  .cv-document a { text-decoration: none; color: #26451b; }
}

.dialog-feedback { color: var(--accent); font-size: 11px; margin-top: 16px; line-height: 1.7; }
