/* Quiet academic layout: system fonts, no motion, no runtime dependencies. */
:root { --paper: #fdfdfb; --ink: #252d31; --muted: #616b70; --accent: #285d73; --line: #dde3e3; --max: 960px; }
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(34px, 5vw, 46px); line-height: 1.2; letter-spacing: -.025em; }
h2 { font-size: 27px; line-height: 1.35; }
h3 { font-size: 16px; line-height: 1.5; font-weight: 600; }
.wrap, .nav-shell { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; background: white; padding: 10px 18px; z-index: 10; }
.skip-link:focus { top: 10px; }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0 23px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 16px; font-weight: 650; text-decoration: none; color: var(--ink); }
nav { display: flex; flex-wrap: wrap; gap: 24px; }
nav a { display: inline-block; padding: 4px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
nav a.active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 9px; }
.home-main { padding-top: 62px; }
.profile { display: grid; grid-template-columns: 1fr 144px; gap: 62px; align-items: start; padding-bottom: 48px; }
.eyebrow, .mono { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.eyebrow { margin-bottom: 14px; }
.profile h1 { margin-bottom: 7px; }
.profile h1 span { font-family: system-ui, sans-serif; font-size: 25px; color: var(--muted); margin-left: 12px; font-weight: 400; letter-spacing: .05em; }
.affiliation { color: var(--muted); font-size: 14px; margin-bottom: 21px; }
.profile-copy > p:last-of-type { max-width: 660px; margin-bottom: 18px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px 25px; font-size: 14px; }
.profile-links a { text-decoration: none; }
.avatar { width: 144px; height: 144px; object-fit: cover; border-radius: 6px; margin-top: 8px; }
.home-block { padding: 29px 0 32px; border-top: 1px solid var(--line); }
.section-heading { display: flex; gap: 20px; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.section-heading h2 { margin: 0; }
.section-heading > a { font-size: 13px; text-decoration: none; white-space: nowrap; }
.interest-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.interest-list h3 { margin-bottom: 7px; }
h3 a { text-decoration: none; }
.interest-list p, .project-summary p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 0; }
.project-summary { display: flex; gap: 28px; justify-content: space-between; padding: 12px 0; }
.project-summary h3 { margin-bottom: 3px; }
.project-meta { color: var(--muted); font-size: 12px; white-space: nowrap; padding-top: 3px; }
.note-line { display: grid; grid-template-columns: 110px 1fr; gap: 20px; font-size: 14px; }
.note-line time { color: var(--muted); }
.note-line a { text-decoration: none; }
.notes-block { padding-bottom: 48px; }
.footer { padding: 23px 0 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.footer p { margin: 0; }
.footer div { display: flex; gap: 12px; }
.footer a { text-decoration: none; color: var(--muted); }
.inner-page { padding-bottom: 55px; }
.page-hero { padding: 52px 0 35px; }
.page-hero h1 { margin-bottom: 19px; }
.page-lead { color: var(--muted); max-width: 740px; margin-bottom: 0; }
.research-list, .project-catalog, .blog-list { border-top: 1px solid var(--line); }
.research-entry { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.entry-index, .project-number { font-size: 13px; color: var(--muted); padding-top: 2px; }
.entry-body .mono, .project-row .mono, .blog-row .mono { margin-bottom: 8px; }
.entry-body h2 { font-size: 25px; margin-bottom: 12px; }
.entry-body > p:not(.mono) { color: var(--muted); max-width: 780px; margin-bottom: 12px; }
.entry-glyph { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 15px; color: var(--muted); font-size: 12px; }
.manifesto { padding-top: 30px; }
.manifesto blockquote { border-left: 2px solid var(--line); margin: 12px 0 0; padding-left: 20px; font-family: Georgia, serif; font-size: 21px; max-width: 740px; }
.project-row { display: grid; grid-template-columns: 42px 1fr 110px; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.project-row:hover { text-decoration: none; }
.project-row:hover h2 { text-decoration: underline; }
.project-row h2, .blog-row h2 { font-size: 25px; margin-bottom: 10px; }
.project-row p:not(.mono), .blog-row p:not(.mono) { color: var(--muted); margin-bottom: 0; }
.project-side { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; color: var(--muted); }
.project-side b { font-weight: 400; margin-top: 12px; }
.about-grid { display: grid; grid-template-columns: 160px 1fr; gap: 42px; border-top: 1px solid var(--line); padding-top: 35px; }
.about-photo img { width: 160px; height: 160px; object-fit: cover; border-radius: 6px; }
.about-big { font-size: 18px; }
.about-copy > p:not(.about-big) { color: var(--muted); }
.facts { margin-top: 25px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts span { color: var(--muted); }
.facts strong { font-weight: 500; }
.small-note { padding-top: 40px; }
.section-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.section-label span { display: none; }
.small-note p { color: var(--muted); font-size: 14px; }
.blog-row { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 30px 0; text-decoration: none; }
.blog-row:hover { text-decoration: none; }
.blog-row:hover h2 { text-decoration: underline; }
.blog-date { color: var(--muted); }
.blog-date span { font: 28px Georgia, serif; }
.blog-date small { display: block; font-size: 10px; margin-top: 6px; }
.article-page { max-width: 760px; padding-top: 40px; padding-bottom: 50px; }
.back-link { font-size: 13px; text-decoration: none; }
.article-head { padding: 32px 0 22px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(30px, 4vw, 42px); }
.dek { color: var(--muted); margin-bottom: 0; }
.prose { margin-top: 30px; }
.prose h2 { margin-top: 30px; }
.prose blockquote { border-left: 2px solid var(--line); padding-left: 22px; margin: 28px 0; font: 22px/1.5 Georgia, serif; color: var(--accent); }
code { font-family: monospace; font-size: .9em; }
@media (max-width: 680px) {
  .wrap, .nav-shell { width: calc(100% - 40px); }
  .nav-shell { display: block; padding: 20px 0 17px; }
  nav { margin-top: 12px; gap: 22px; }
  nav a { font-size: 13px; }
  .home-main { padding-top: 34px; }
  .profile { grid-template-columns: 1fr 80px; gap: 18px; padding-bottom: 32px; }
  .profile h1 { font-size: 34px; }
  .profile h1 span { display: block; font-size: 20px; margin: 6px 0 0; }
  .avatar { width: 80px; height: 80px; margin-top: 4px; }
  .profile-copy > p:last-of-type { font-size: 15px; }
  .eyebrow { font-size: 10px; }
  .interest-list { grid-template-columns: 1fr; gap: 20px; }
  .section-heading { gap: 12px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading > a { font-size: 12px; }
  .project-summary { display: block; }
  .project-meta { display: block; margin-top: 5px; }
  .note-line { grid-template-columns: 1fr; gap: 4px; }
  .page-hero { padding-top: 34px; }
  .research-entry, .project-row { grid-template-columns: 24px 1fr; gap: 12px; }
  .project-side { grid-column: 2; flex-direction: row; align-items: center; gap: 12px; }
  .project-side b { margin: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 25px; }
  .about-photo img { width: 110px; height: 110px; }
  .blog-row { grid-template-columns: 65px 1fr; gap: 15px; }
}
@media (max-width: 380px) { nav { gap: 17px; } .profile { grid-template-columns: 1fr; } .avatar { grid-row: 1; } .section-heading { flex-wrap: wrap; } }
@media print { body { background: white; color: black; } .nav-shell, .skip-link { display: none; } .wrap { width: 100%; } a { color: inherit; } .home-main { padding-top: 0; } }

.notes-description { font-size: 14px; color: var(--muted); margin: 0; }
nav a { min-height: 44px; display: inline-flex; align-items: center; }

.directions-heading { margin: 30px 0 0; }
.prose { overflow-wrap: anywhere; }
.prose li { margin-bottom: 12px; }
.equation { overflow-x: auto; padding: 18px; margin: 26px 0; background: #f1f4f3; border-left: 2px solid var(--accent); }
.equation code { white-space: nowrap; }
.article-page:lang(zh-CN) .prose { line-height: 1.95; }
.article-page:lang(zh-CN) h1, .article-page:lang(zh-CN) h2 { font-family: system-ui, sans-serif; font-weight: 550; }

.about-copy address { font-style: normal; color: var(--muted); margin-bottom: 16px; }
.about-copy h2 { margin-top: 32px; margin-bottom: 14px; }
