:root {
  --ink: #102d36;
  --muted: #53686e;
  --teal: #087c79;
  --teal-dark: #075e5c;
  --line: #dce5e5;
  --pale: #f1f6f6;
  --paper: #ffffff;
  font-size: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #d76f30; outline-offset: 5px; }
button, .button, summary { touch-action: manipulation; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.3; }
h1, h2, h3 { letter-spacing: -0.045em; }
p { overflow-wrap: break-word; }
.container { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 36px; }
.wordmark { font-size: 1.25rem; font-weight: 750; letter-spacing: -.05em; text-decoration: none; }
.wordmark-dot { color: var(--teal); font-size: 1.8rem; }
nav { margin-left: auto; display: flex; gap: 32px; }
nav a { text-decoration: none; font-size: .9rem; color: var(--muted); }
nav a:hover { color: var(--teal); }
.language-switch { color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 4px; padding: 6px 12px; font-size: .875rem; min-width: 48px; min-height: 44px; }
.language-switch:hover { border-color: var(--teal); }
.skip-link { position: fixed; z-index: 10; left: 20px; top: -100px; padding: 10px 18px; color: white; background: var(--teal-dark); }
.skip-link:focus { top: 10px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 68px; align-items: center; padding-block: 76px; }
.hero-role { color: var(--teal-dark); font-weight: 600; line-height: 1.5; font-size: .95rem; margin-bottom: 18px; }
.role-divider { color: #85a3a5; padding-inline: .22em; }
.eyebrow { color: var(--teal); font-weight: 650; font-size: .875rem; letter-spacing: .06em; margin-bottom: 21px; }
h1 { font-size: clamp(2.6rem, 4.3vw, 4.3rem); line-height: 1.23; font-weight: 750; }
.hero-intro { color: var(--muted); max-width: 490px; font-size: 1.05rem; margin-top: 28px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 4px; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .15s, border-color .15s; }
.button-primary { color: white; background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-outline { color: var(--ink); background: transparent; border-color: #bdcecf; }
.button-outline:hover { background: var(--pale); border-color: var(--teal); }
.field-figure { background: #09262c; color: #d1e6e6; padding: 24px 26px 20px; border-radius: 7px; box-shadow: 0 20px 55px #0e3b3c13; overflow: hidden; }
.figure-topline { display: flex; justify-content: space-between; gap: 15px; font-size: .875rem; }
.figure-topline span:last-child { color: #8fb4b5; font-family: ui-monospace, monospace; }
canvas { display: block; width: 100%; aspect-ratio: 1.45; height: auto; margin-block: 16px 3px; }
.field-axis { display: flex; justify-content: space-between; font-size: .8125rem; color: #a5cecf; }
.field-axis span:nth-child(2) { color: #8fb4b5; }
figcaption { border-top: 1px solid #325057; padding-top: 15px; margin-top: 19px; color: #a5bfc3; font-size: .8125rem; }
.capability-strip { border-block: 1px solid var(--line); background: #fafcfc; }
.capability-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.capability-inner p { color: var(--muted); font-size: .875rem; }
.capability-inner span { font-size: .925rem; font-weight: 650; }
.section { padding-block: 94px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 55px; margin-bottom: 40px; }
.section-header .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(2rem, 3vw, 2.65rem); font-weight: 720; }
.section-description { max-width: 385px; color: var(--muted); font-size: .925rem; }
.project { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.project-featured { display: grid; grid-template-columns: .88fr 1.12fr; }
.project-summary { background: var(--pale); padding: 39px; }
.project-category { color: var(--teal); font-weight: 600; font-size: .8125rem; letter-spacing: .025em; margin-bottom: 24px; }
.project h3 { font-size: 2rem; line-height: 1.35; margin-bottom: 24px; }
.project p:not(.project-category) { color: var(--muted); font-size: .95rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: .8125rem; color: var(--teal-dark); }
.project-body { padding: 39px 40px; }
h4 { font-size: .925rem; font-weight: 650; margin-bottom: 9px; }
.project-body h4:not(:first-child) { margin-top: 23px; }
details { margin-top: 28px; border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: .875rem; color: var(--teal-dark); font-weight: 600; padding-top: 18px; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.35rem; line-height: 1; font-weight: 400; }
details[open] summary::after { content: "−"; }
.details-content { padding-top: 22px; }
.details-content h4:not(:first-child) { margin-top: 18px; }
.details-content a { display: block; width: fit-content; font-size: .875rem; margin-top: 14px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.project-secondary { padding: 36px 39px; }
.project-secondary h3 { font-size: 1.8rem; }
.project-secondary > h4 { margin-top: 25px; }
.research-section { background: #f6f8f8; border-block: 1px solid var(--line); }
.publication { display: grid; grid-template-columns: 165px 1fr 116px; gap: 30px; padding-block: 30px; border-top: 1px solid #d2dede; }
.publication-meta { display: flex; flex-direction: column; gap: 5px; font-size: .8125rem; color: var(--muted); }
.publication-meta span:first-child { font-weight: 650; color: var(--ink); line-height: 1.5; }
.publication h3 { font-size: 1.125rem; letter-spacing: -.02em; font-weight: 650; line-height: 1.55; }
.publication h3 a { text-decoration: none; }
.publication h3 a:hover { text-decoration: underline; color: var(--teal-dark); }
.publication-content > p { font-size: .8125rem; color: var(--muted); margin-top: 10px; }
.publication-content .authorship { color: var(--teal-dark); font-weight: 550; margin-top: 5px; }
.publication-topic { justify-self: end; font-size: .8125rem; color: var(--muted); }
.research-heading, .patents-heading { margin-bottom: 26px; }
.patents-heading { margin-top: 44px; }
.patent-list .publication { grid-template-columns: 165px 1fr; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 130px; }
.about-copy > p:not(.eyebrow) { margin-top: 26px; color: var(--muted); font-size: .95rem; max-width: 420px; }
.tool-block { margin-top: 35px; }
.tool-block h3 { font-size: .925rem; letter-spacing: 0; }
.tool-block p { color: var(--muted); margin-top: 10px; font-size: .875rem; }
.cv-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.text-button { border: none; border-bottom: 1px solid var(--teal); color: var(--teal-dark); padding: 5px 0; margin-top: 14px; background: transparent; font-size: .875rem; }
.experience > h3 { font-size: 1rem; margin-bottom: 28px; letter-spacing: 0; }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { padding: 0 0 25px 22px; border-left: 1px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: 8px; width: 7px; height: 7px; background: var(--teal); border-radius: 50%; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-date { display: block; color: var(--muted); font-size: .8125rem; margin-bottom: 7px; }
.timeline h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: .875rem; }
.contact-section { background: #edf5f4; border-block: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-block: 65px; }
.contact-inner .eyebrow { margin-bottom: 16px; }
.contact-inner h2 { font-size: 2.3rem; }
.contact-inner p:not(.eyebrow) { color: var(--muted); font-size: .925rem; max-width: 400px; margin-top: 22px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
.email-link { font-size: clamp(1.1rem, 2.05vw, 1.7rem); text-decoration: none; font-weight: 600; letter-spacing: -.03em; overflow-wrap: anywhere; }
.email-link:hover { color: var(--teal); }
.contact-actions .button { background: white; }
.copy-status { min-height: 20px; font-size: .8125rem; color: var(--teal-dark); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 29px; color: var(--muted); font-size: .8125rem; }
.site-footer a { text-decoration: none; }
.noscript-note { padding: 20px; text-align: center; }
html[lang="en"] h1 { font-size: clamp(2.55rem, 4.1vw, 3.85rem); line-height: 1.1; text-wrap: balance; }
html[lang="en"] .hero-intro { line-height: 1.8; }
html[lang="en"] .project h3 { letter-spacing: -.035em; }

@media (min-width: 1500px) { .hero { padding-block: 115px; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 34px; padding-block: 65px; }
  .project-summary, .project-body, .project-secondary { padding: 30px; }
  .about-section { gap: 65px; }
  .publication, .patent-list .publication { grid-template-columns: 135px 1fr; gap: 22px; }
  .publication-topic { display: none; }
  .section-description { max-width: 330px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; gap: 15px; flex-wrap: wrap; padding-block: 12px; }
  .wordmark { font-size: 1.1rem; }
  nav { gap: 18px; }
  nav a { font-size: .8125rem; }
  .language-switch { padding: 5px 9px; min-width: 44px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 36px 40px; }
  h1 { font-size: clamp(2.05rem, 9.6vw, 2.85rem); }
  html[lang="en"] h1 { font-size: clamp(2.05rem, 9.0vw, 2.8rem); }
  .hero-intro { max-width: 540px; font-size: 1rem; margin-top: 22px; }
  .hero-actions { margin-top: 26px; }
  .field-figure { padding: 21px; }
  canvas { aspect-ratio: 1.6; max-height: 300px; }
  .capability-inner { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 12px; padding-block: 22px; }
  .capability-inner p { grid-column: 1 / -1; }
  .capability-inner span { font-size: .8125rem; }
  .section { padding-block: 58px; }
  .section-header { display: block; margin-bottom: 29px; }
  .section-description { max-width: none; margin-top: 18px; }
  .project-featured, .project-grid { grid-template-columns: 1fr; }
  .project-summary, .project-body, .project-secondary { padding: 27px; }
  .project-summary { border-bottom: 1px solid var(--line); }
  .project h3 { font-size: 1.8rem; }
  .project-category { margin-bottom: 18px; }
  .project-grid { gap: 20px; margin-top: 20px; }
  .publication, .patent-list .publication { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 26px; }
  .publication-meta { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 20px; }
  .publication h3 { font-size: 1.075rem; }
  .about-section { grid-template-columns: 1fr; gap: 45px; }
  .about-copy > p:not(.eyebrow) { max-width: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 49px; }
  .contact-inner h2 { font-size: 2.1rem; }
  .email-link { font-size: 1.35rem; }
  .site-footer { flex-wrap: wrap; gap: 10px 20px; font-size: .8125rem; }
  .site-footer span:nth-child(2) { display: none; }
  .site-footer a { margin-left: auto; }
}
@media (max-width: 420px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; row-gap: 2px; padding-block: 6px; }
  nav { grid-row: 2; grid-column: 1 / -1; gap: 20px; margin-left: 0; }
  nav a { padding-block: 6px; }
  .language-switch { grid-column: 2; grid-row: 1; }
}
@media (max-width: 360px) {
  .wordmark { font-size: 1rem; }
  .hero-role { font-size: .875rem; }
  .button { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  @page { size: A4; margin: 14mm 16mm; }
  body { font-size: 10pt; line-height: 1.45; color: #152d32; }
  .container { width: 100%; }
  .site-header, .field-figure, .hero-actions, .capability-strip, .cv-downloads, .text-button, .contact-actions button, .copy-status, .site-footer, .skip-link, .noscript-note, .project-tags, .section-description, details { display: none; }
  .hero, .section, .contact-inner { display: block; padding-block: 0; }
  .hero { margin-bottom: 6mm; }
  .hero-role { margin: 0 0 3mm; }
  h1, html[lang="en"] h1 { font-size: 22pt; line-height: 1.2; text-wrap: initial; }
  h1 br, h2 br, h3 br { display: none; }
  h2, .contact-inner h2 { font-size: 17pt; }
  .hero-intro, html[lang="en"] .hero-intro, .about-copy > p:not(.eyebrow) { max-width: none; margin-top: 2mm; font-size: 10pt; line-height: 1.5; }
  .section-header { margin: 0 0 3mm; }
  .section-header .eyebrow { display: none; }
  .project-featured, .project-grid { display: block; }
  .project { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding-block: 3mm; overflow: visible; break-inside: avoid; }
  .project-summary, .project-body, .project-secondary { padding-inline: 0; background: white; }
  .project-summary, .project-body { padding-block: 0; border: 0; }
  .project-category { margin-bottom: 1mm; font-size: 8.5pt; }
  .project h3 { font-size: 14pt; margin-bottom: 1.2mm; }
  .project h4, .project-body h4:not(:first-child), .project-secondary > h4 { margin: 1.7mm 0 .5mm; font-size: 9.5pt; }
  .project p:not(.project-category) { font-size: 9.5pt; line-height: 1.45; }
  .project-grid { margin-top: 0; }
  .research-section { break-before: page; }
  .research-section, .contact-section { background: white; border: 0; }
  .research-heading, .patents-heading { margin-bottom: 2mm; }
  .patents-heading { margin-top: 3mm; }
  .publication, .patent-list .publication { display: grid; grid-template-columns: 34mm 1fr; gap: 4mm; padding-block: 2mm; break-inside: avoid; }
  .publication-meta { display: block; font-size: 8.5pt; }
  .publication-meta span { display: block; }
  .publication h3 { font-size: 10pt; line-height: 1.3; }
  .publication-content > p, .publication-content .authorship { font-size: 8.5pt; margin-top: .75mm; }
  .publication-topic { display: none; }
  .about-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 6mm; padding-block: 4mm; border-block: 1px solid var(--line); }
  .experience > h3 { font-size: 12pt; margin-bottom: 2mm; }
  .timeline li { padding: 0 0 1.8mm 3.5mm; break-inside: avoid; }
  .timeline-date, .timeline p, .tool-block p { font-size: 8.5pt; }
  .timeline-date, .timeline h4 { margin-bottom: .4mm; }
  .timeline h4 { font-size: 9.5pt; }
  .tool-block { margin-top: 3mm; }
  .contact-inner { padding-top: 3mm; }
  .contact-inner p:not(.eyebrow) { font-size: 9pt; margin-top: 1mm; max-width: none; }
  .contact-actions { display: block; margin-top: 1mm; }
  .email-link { font-size: 10pt; }
  a { text-decoration: none; }
}
