/* Yanboverse — an independent, dependency-free personal website. */
:root {
  --paper: #f4f3ed;
  --ink: #1c2728;
  --muted: #626b65;
  --line: #d6d9cf;
  --accent: #b84423;
  --sage: #73816a;
  --dark: #192526;
  --dark-card: #202e2e;
  --dark-line: #40504c;
  --light-ink: #f0f0e5;
  --warm-light: #e8ac7c;
  --sans: Arial, Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
::selection { background: #ddc9b8; color: #162322; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, input { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
button, a, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
[hidden] { display: none !important; }
.wrap { width: min(1248px, calc(100% - 112px)); margin-inline: auto; }
.mono, .eyebrow, .tiny { font-family: var(--mono); }
.eyebrow { font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: 1.6px; }
.mono { font-size: 11px; letter-spacing: 1px; }
.tiny { font-size: 10px; line-height: 1.6; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.accent { color: var(--accent); }
.skip-link { position: fixed; left: 20px; top: -100px; padding: 12px 20px; z-index: 100; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244,243,237,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { width: min(1360px, calc(100% - 80px)); margin: auto; height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; letter-spacing: -.9px; font-weight: 700; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; }
.brand-period { color: var(--accent); }
.main-nav { display: flex; gap: 30px; align-items: center; margin-left: auto; }
.main-nav a { font-size: 12px; position: relative; padding-block: 10px; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.language-switch { display: flex; align-items: center; gap: 2px; color: #747c72; margin-left: 12px; font-family: var(--mono); font-size: 11px; }
.language-switch button { border: 0; background: transparent; padding: 12px 8px; min-width: 34px; min-height: 44px; color: #687064; }
.language-switch button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; padding: 12px 10px; }
.menu-toggle span { height: 1px; width: 22px; background: var(--ink); display: block; margin: 5px 0; transition: transform .2s; }
.hero { padding-top: 62px; display: grid; grid-template-columns: 1.04fr .96fr; gap: 0 42px; }
.nameplate { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 2px; }
.nameplate [lang="zh-Hans"] { font-family: var(--sans); font-size: 13px; letter-spacing: 3px; }
.little-cross { color: var(--accent); font-size: 19px; line-height: 1; margin-right: 4px; }
.name-divider { color: #8a9286; margin-inline: 4px; }
.hero h1 { font-size: clamp(70px, 7.2vw, 102px); line-height: .98; letter-spacing: -5px; margin-top: 29px; margin-bottom: 27px; font-weight: 500; }
.hero-line { display: block; }
.hero-serif { font-family: var(--serif); font-style: italic; letter-spacing: -4.8px; font-weight: 400; }
.hero-identity { max-width: 405px; font-size: 16px; line-height: 1.6; font-weight: 600; letter-spacing: -.15px; }
.hero-description { color: var(--muted); max-width: 415px; font-size: 15px; line-height: 1.8; margin-top: 12px; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 29px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 50px; padding: 15px 20px; font-size: 12px; font-weight: 600; border: 1px solid transparent; transition: background .2s, transform .2s; }
.button svg { width: 18px; height: 18px; flex-shrink: 0; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #34413b; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 18px; font-size: 12px; padding-block: 12px; border-bottom: 1px solid transparent; }
.text-link:hover { border-bottom-color: currentColor; }
.hero-visual { align-self: center; min-width: 0; margin-top: 4px; }
.figure-heading { display: flex; justify-content: space-between; align-items: center; margin: 0 12px 0 16px; }
.figure-heading .eyebrow { color: var(--muted); font-size: 10px; }
.motion-toggle { display: flex; align-items: center; gap: 7px; font-size: 10px; background: transparent; border: 0; color: var(--muted); min-width: 60px; min-height: 36px; justify-content: center; }
.motion-icon { display: inline-block; width: 12px; font-family: var(--sans); font-size: 10px; }
.universe-map { width: 100%; overflow: visible; }
.map-grid { fill: none; stroke: #d4d8ca; stroke-width: .65; }
.outer-orbit { fill: none; stroke: #bfc6b7; stroke-width: .65; }
.outer-orbit.dashed { stroke-dasharray: 2 6; }
.sphere-lines { fill: none; stroke: #8c9b7e; stroke-width: .58; opacity: .46; }
.map-layer { fill: none; stroke: #8a967e; stroke-width: .85; opacity: 0; visibility: hidden; transition: opacity .45s; }
.map-layer.is-current { opacity: 1; visibility: visible; }
.node-accent { fill: var(--accent); stroke: var(--paper); stroke-width: .8; }
.node-small { fill: #798b72; stroke: none; }
.signal-path { stroke: var(--accent); stroke-width: 1.6; }
.system-lines { stroke: #778a76; stroke-width: .9; }
.system-lines rect { fill: var(--paper); }
.butterfly-lines { stroke: var(--accent); stroke-width: .6; }
.label-line { fill: none; stroke: #899580; stroke-width: .7; }
.map-label { font-family: var(--mono); font-size: 9px; fill: #3c493b; letter-spacing: .6px; }
.map-label-number { fill: var(--accent); }
.map-coordinate { font-family: var(--mono); font-size: 8px; letter-spacing: 1.4px; fill: #788371; }
.orbiting-dot { transform-origin: 270px 252px; animation: orbit 40s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
body.motion-paused .orbiting-dot { animation-play-state: paused; }
.map-controls { display: flex; justify-content: center; gap: 4px; margin-top: 2px; }
.map-controls button { background: transparent; border: 1px solid transparent; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 14px; font-size: 11px; min-height: 44px; border-radius: 2px; }
.map-controls button > span:first-child { font-family: var(--mono); font-size: 9px; color: #697663; }
.map-controls button[aria-pressed="true"] { border-color: #c0c8b8; background: #ebede2; }
.map-controls button:hover { background: #e7eade; }
.map-caption { text-align: center; min-height: 36px; font-size: 12px; line-height: 1.6; margin-top: 14px; color: var(--muted); }
.figure-disclaimer { font-family: var(--mono); font-size: 9px; color: #717b6c; text-align: center; line-height: 1.6; }
.hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 30px 0 27px; margin-top: 50px; border-bottom: 1px solid var(--line); }
.hero-bottom .mono { font-size: 9px; letter-spacing: 1.6px; }
.scroll-cue { display: flex; gap: 26px; font-family: var(--mono); font-size: 9px; letter-spacing: 1px; padding: 10px 0 10px 16px; }
.scroll-cue > span:last-child { font-size: 16px; line-height: 9px; }
.section { padding-block: 94px; }
.section-kicker { display: flex; gap: 20px; align-items: center; margin-bottom: 37px; }
.section-kicker > .mono { color: var(--accent); }
h2 { font-size: clamp(42px,4.1vw,58px); line-height: 1.12; letter-spacing: -2px; }
h2 > span { display: block; }
.section-description { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 390px; }
.research-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.research-intro .section-description { margin-top: 20px; }
.signal-figure { margin: 0; padding-top: 9px; }
.signal-figure svg { width: 100%; }
.trace { fill: none; stroke: #52664e; stroke-width: 1.05; }
.trace-0 { stroke: var(--accent); }
.trace-2 { stroke: var(--ink); }
.trace-grid { fill: none; stroke: #d3d8cb; stroke-width: .5; }
.trace-label { font-family: var(--mono); font-size: 9px; fill: #687660; }
.signal-figure figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.signal-figure .mono { font-size: 9px; }
.research-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.research-item { border-top: 1px solid #acb6a3; padding-top: 22px; }
.research-item-top { display: flex; align-items: center; gap: 15px; }
.research-item-top .mono { color: var(--sage); font-size: 10px; }
.research-item h3 { font-size: 17px; letter-spacing: -.3px; }
.research-line { margin-top: 21px; font-size: 14px; font-weight: 500; }
.research-item .muted { font-size: 13px; line-height: 1.85; margin-top: 9px; max-width: 330px; }
.research-footer { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 23px; display: flex; align-items: baseline; gap: 32px; }
.research-footer .eyebrow { color: var(--muted); font-size: 9px; flex-shrink: 0; }
.research-footer p { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; }
.work-section { background: var(--dark); color: var(--light-ink); }
.work-section .section-kicker { margin-bottom: 33px; }
.work-section .section-kicker > .mono { color: var(--warm-light); }
.work-label { margin-left: auto; display: flex; align-items: center; gap: 10px; color: #c3cebd; font-family: var(--mono); font-size: 9px; letter-spacing: 1px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #bbc99a; }
.work-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; }
.work-heading .section-description { color: #b9c4b7; max-width: 300px; font-size: 13px; margin-bottom: 6px; }
.work-toolbar { margin-top: 39px; margin-bottom: 23px; display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--dark-line); gap: 16px; }
.project-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.project-filters button { min-height: 40px; border: 1px solid transparent; background: transparent; color: #c2ccbe; padding: 10px 15px; font-size: 11px; display: flex; align-items: center; gap: 10px; }
.project-filters button[aria-pressed="true"] { border-color: #82927a; color: var(--light-ink); }
.project-filters button:hover { background: #2b3b37; }
.filter-count { font-size: 9px; font-family: var(--mono); color: #bbc99a; }
.project-count { color: #bcc7b6; font-size: 9px; flex-shrink: 0; }
.project-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; align-items: start; }
.project-card { border: 1px solid var(--dark-line); padding: 26px 30px 0; background: var(--dark-card); min-width: 0; position: relative; transition: border-color .2s; }
.project-card:hover { border-color: #7c8b73; }
.project-top { display: flex; align-items: center; gap: 14px; }
.project-number { color: #a7b39b; font-size: 10px; }
.status { font-family: var(--mono); font-size: 9px; border: 1px solid #586653; color: #cbd7bd; padding: 5px 7px; line-height: 1.4; }
.corner-mark { margin-left: auto; color: #adba9e; font-size: 20px; }
.project-art { height: 116px; margin-top: 12px; margin-bottom: 9px; display: flex; justify-content: flex-end; align-items: center; }
.project-art svg { width: 210px; height: 130px; }
.art-grid { stroke: #60705d; opacity: .3; stroke-width: .6; fill: none; }
.atlas-slices { stroke: #b8c6a7; fill: none; stroke-width: 1; }
.art-line { fill: none; stroke: #b8c6a7; stroke-width: 1.2; }
.art-highlight { fill: none; stroke: #e8ac7c; stroke-width: 1.2; }
.art-highlight-fill { fill: #e8ac7c; }
.art-dashed { fill: none; stroke: #9eac91; stroke-dasharray: 3 4; stroke-width: .7; }
.art-label { fill: #c0cbb5; font-size: 8px; font-family: var(--mono); letter-spacing: 1px; }
.project-eyebrow { color: #c3cdb9; font-size: 9px; letter-spacing: 1.5px; }
.project-card h3 { font-size: 32px; letter-spacing: -1.2px; margin-top: 10px; }
.project-lede { font-family: var(--serif); font-size: 18px; line-height: 1.5; margin-top: 10px; color: #e2e7d7; }
.project-body { font-size: 12px; line-height: 1.85; margin-top: 14px; margin-bottom: 23px; color: #bbc7b7; min-height: 46px; max-width: 405px; }
.project-details { border-top: 1px solid var(--dark-line); }
.project-details summary { padding: 16px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; list-style: none; color: #d5ddcd; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
.project-details summary > span:last-child { font-size: 18px; font-weight: 400; color: #e8ac7c; }
.project-details[open] summary > span:last-child { transform: rotate(45deg); }
.project-details p { font-size: 12px; line-height: 1.85; padding: 2px 0 22px; color: #b9c9b7; }
.work-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 28px; font-family: var(--mono); font-size: 10px; line-height: 1.75; color: #b1c1aa; }
.work-note > span:first-child { color: var(--warm-light); font-size: 16px; }
.perspective-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 55px; }
.name-note { max-width: 300px; }
.name-note > .mono { font-size: 10px; color: var(--accent); letter-spacing: 1.7px; }
.name-note p { color: var(--muted); font-size: 13px; line-height: 1.9; margin-top: 14px; }
.thought-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; margin-top: 57px; }
.thought-card { border-top: 1px solid #b5bdae; padding-top: 30px; }
.character-row { display: flex; align-items: flex-end; justify-content: space-between; }
.hanzi { font-family: "Songti SC", "Noto Serif CJK SC", serif; font-size: 80px; font-weight: 400; line-height: 1.1; }
.romanization { font-size: 10px; color: var(--accent); letter-spacing: 1.6px; margin-bottom: 13px; }
.thought-card h3 { margin-top: 28px; font-size: 18px; letter-spacing: -.4px; }
.thought-line { font-size: 13px; font-weight: 500; margin-top: 15px; line-height: 1.6; }
.thought-card .muted { font-size: 12px; line-height: 1.95; margin-top: 10px; max-width: 305px; }
.philosophy-quote { text-align: center; margin: 52px 0 0; padding-top: 43px; border-top: 1px solid var(--line); }
.philosophy-quote blockquote { font-family: "Songti SC", "Noto Serif CJK SC", serif; font-size: 23px; line-height: 1.8; letter-spacing: 2px; margin: 0 0 17px; }
.philosophy-quote figcaption a { font-family: var(--mono); color: var(--accent); font-size: 9px; letter-spacing: 2px; padding-block: 10px; }
.philosophy-quote figcaption p { margin-top: 18px; }
.mobile-only { display: none; }
.questions-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #eceee4; }
.questions-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 68px; }
.questions-layout .section-kicker { margin-bottom: 29px; }
.questions-intro { margin-top: 23px; font-size: 13px; line-height: 1.8; }
.question-list { margin-top: 4px; }
.question { border-top: 1px solid #b6c0ac; }
.question:last-child { border-bottom: 1px solid #b6c0ac; }
.question summary { display: flex; align-items: flex-start; gap: 20px; list-style: none; padding: 27px 0; cursor: pointer; }
.question-number { margin-top: 5px; color: #718166; font-size: 10px; }
.question-title { font-size: 18px; letter-spacing: -.3px; line-height: 1.5; }
.question-toggle { margin-left: auto; flex-shrink: 0; font-size: 21px; color: var(--accent); line-height: 1.2; padding-top: 3px; }
.question[open] .question-toggle { transform: rotate(45deg); }
.question-body { padding: 0 22px 27px 34px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 68px; }
.about-name > .eyebrow { font-size: 12px; letter-spacing: 2px; }
.about-name h2 { font-family: "Songti SC", "Noto Serif CJK SC", serif; font-size: 73px; letter-spacing: 3px; margin-top: 23px; font-weight: 400; }
.about-name h2 > span { display: inline; }
.about-name > .mono { color: var(--muted); margin-top: 24px; font-size: 9px; letter-spacing: 1.5px; }
.about-small-map { margin-top: 36px; }
.about-small-map .brand-mark { width: 68px; height: 68px; }
.about-copy h3 { font-family: var(--serif); font-size: 29px; line-height: 1.35; font-weight: 400; letter-spacing: -.5px; margin-top: -3px; }
.about-copy > p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 23px; }
.about-principle { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); margin-top: 29px; padding-top: 24px; font-size: 12px; line-height: 1.7; }
.small-cross { color: var(--accent); font-size: 21px; }
.contact-link { margin-top: 24px; }
.site-footer { background: #e5e8dc; border-top: 1px solid #ccd3c2; padding-top: 32px; overflow: hidden; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top > p { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.6; }
.footer-wordmark { display: block; font-size: clamp(64px,10.3vw,146px); letter-spacing: -8px; font-weight: 500; line-height: 1.4; white-space: nowrap; margin-top: 12px; }
.footer-wordmark > span { font-family: var(--serif); font-style: italic; font-size: .43em; color: var(--accent); letter-spacing: -4px; margin-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #bec8b4; padding: 22px 0 25px; font-family: var(--mono); color: #53624e; font-size: 9px; letter-spacing: .4px; line-height: 1.7; }
.noscript-note { padding: 20px; font-size: 12px; text-align: center; background: #e4ded0; line-height: 1.8; }
.not-found { padding-top: 16vh; }
.not-found h1 { margin-top: 30px; font-size: clamp(54px,7vw,90px); line-height: 1.1; letter-spacing: -3px; }
.not-found p:not(.eyebrow) { margin-top: 24px; color: var(--muted); }
.not-found .button { margin-top: 36px; }
html[lang="zh-Hans"] .hero h1 { font-size: clamp(64px,6vw,84px); line-height: 1.19; letter-spacing: -2px; font-family: "Songti SC", "Noto Serif CJK SC", serif; }
html[lang="zh-Hans"] .hero-serif { font-family: inherit; font-style: normal; letter-spacing: -2px; }
html[lang="zh-Hans"] h2 { font-size: clamp(40px,3.6vw,50px); line-height: 1.35; letter-spacing: 0; }
html[lang="zh-Hans"] .serif { font-family: "Songti SC", "Noto Serif CJK SC", serif; font-style: normal; }
html[lang="zh-Hans"] .eyebrow { letter-spacing: 2px; }
html[lang="zh-Hans"] .hero-identity { font-size: 15px; }
html[lang="zh-Hans"] .about-name h2 { font-size: 73px; }
html[lang="zh-Hans"] .about-copy h3 { font-size: 26px; line-height: 1.6; font-family: "Songti SC", "Noto Serif CJK SC", serif; }
html[lang="zh-Hans"] .project-lede { font-family: var(--sans); font-size: 16px; }
@media (min-width:1600px) { .hero { padding-top: 78px; } .hero-bottom { margin-top: 65px; } }
@media (max-width:1100px) {
  .wrap { width: calc(100% - 80px); }
  .header-inner { width: calc(100% - 60px); }
  .main-nav { gap: 22px; }
  .hero { gap: 0 28px; padding-top: 45px; }
  .hero h1 { font-size: 79px; }
  .hero-description { font-size: 14px; }
  .hero-identity { font-size: 15px; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { gap: 18px; }
  .hero-visual { margin-top: 25px; }
  .map-controls button { padding-inline: 9px; }
  .research-intro { gap: 40px; }
  .research-grid { gap: 24px; }
  .project-card { padding-inline: 25px; }
  .perspective-heading { gap: 38px; }
  .name-note { max-width: 285px; }
  .questions-layout, .about-grid { gap: 44px; }
  .about-copy h3 { font-size: 27px; }
}
@media (max-width:900px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { width: calc(100% - 48px); gap: 20px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 11px; }
  .brand { font-size: 21px; gap: 7px; }
  .brand-mark { width: 30px; height: 30px; }
  .language-switch { margin-left: 0; }
  .hero { gap: 0 18px; }
  .hero h1 { font-size: 69px; letter-spacing: -3.5px; }
  .hero-serif { letter-spacing: -3.5px; }
  .hero-actions .text-link { font-size: 11px; gap: 10px; }
  .hero-actions .button { font-size: 11px; padding-inline: 14px; gap: 12px; }
  .hero-bottom { margin-top: 40px; }
  .map-controls button { font-size: 10px; gap: 5px; padding-inline: 7px; }
  .map-caption { font-size: 11px; }
  .figure-disclaimer { font-size: 8px; }
  .section { padding-block: 74px; }
  h2 { font-size: 43px; letter-spacing: -1.4px; }
  .research-intro { gap: 28px; }
  .research-intro .section-description { font-size: 14px; }
  .research-item h3 { font-size: 15px; }
  .research-item-top { gap: 10px; }
  .work-heading .section-description { max-width: 265px; font-size: 12px; }
  .project-card h3 { font-size: 29px; }
  .project-lede { font-size: 17px; min-height: 51px; }
  .project-body { min-height: 67px; }
  .thought-grid { gap: 28px; }
  .thought-line { min-height: 42px; }
  .questions-layout { grid-template-columns: .8fr 1.2fr; gap: 35px; }
  .question-title { font-size: 16px; }
  .about-grid { grid-template-columns: .8fr 1.2fr; gap: 35px; }
  .about-name h2, html[lang="zh-Hans"] .about-name h2 { font-size: 64px; }
  .footer-wordmark { letter-spacing: -5px; }
  .footer-bottom { font-size: 8px; }
}
@media (max-width:740px) {
  html { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 40px); height: 70px; gap: 15px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 32px; height: 32px; }
  .header-tools { gap: 8px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 70px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 15px 20px 24px; display: none; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 16px 24px rgba(20,40,20,.06); }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 15px; padding: 14px 8px; }
  .main-nav a::after { display: none; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; padding-top: 43px; }
  .nameplate { font-size: 10px; letter-spacing: 1.6px; }
  .hero h1 { font-size: clamp(73px,14vw,96px); line-height: 1; letter-spacing: -4px; margin-top: 27px; margin-bottom: 25px; }
  .hero-serif { letter-spacing: -4px; }
  .hero-identity { font-size: 16px; max-width: 390px; }
  .hero-description { font-size: 14px; max-width: 410px; }
  .hero-actions { margin-top: 26px; gap: 23px; }
  .hero-actions .button { font-size: 12px; padding: 15px 17px; gap: 18px; }
  .hero-actions .text-link { font-size: 11px; }
  .hero-visual { margin-top: 48px; max-width: 500px; width: 100%; justify-self: center; }
  .figure-heading { margin-inline: 0; }
  .map-controls button { font-size: 11px; padding-inline: 14px; }
  .map-caption { font-size: 12px; }
  .figure-disclaimer { font-size: 9px; }
  .hero-bottom { margin-top: 32px; padding: 24px 0; }
  .hero-bottom .mono { font-size: 8px; letter-spacing: .6px; }
  .scroll-cue { font-size: 0; gap: 0; padding-left: 12px; }
  .scroll-cue > span:last-child { font-size: 17px; }
  .section { padding-block: 63px; }
  .section-kicker { gap: 17px; margin-bottom: 29px; }
  .section-kicker .eyebrow { font-size: 10px; }
  h2 { font-size: 43px; line-height: 1.15; }
  .research-intro { grid-template-columns: 1fr; gap: 28px; }
  .research-intro .section-description { max-width: 390px; }
  .signal-figure { margin-top: 6px; }
  .research-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 35px; }
  .research-item { padding-top: 20px; }
  .research-item h3 { font-size: 18px; }
  .research-item .muted { max-width: 480px; font-size: 13px; }
  .research-line { margin-top: 15px; }
  .research-footer { display: block; margin-top: 34px; padding-top: 25px; }
  .research-footer p { font-size: 22px; margin-top: 13px; }
  .work-label { font-size: 8px; letter-spacing: .2px; gap: 6px; }
  .work-label .status-dot { width: 4px; height: 4px; }
  .work-heading { display: block; }
  .work-heading .section-description { margin-top: 22px; max-width: 380px; font-size: 13px; }
  .work-toolbar { margin-top: 29px; gap: 8px; }
  .project-filters { gap: 2px; }
  .project-filters button { font-size: 10px; padding-inline: 10px; gap: 7px; }
  .project-count { font-size: 8px; letter-spacing: 0; }
  .project-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-card { padding: 23px 23px 0; }
  .project-art { height: 110px; }
  .project-card h3 { font-size: 31px; }
  .project-lede { min-height: 0; font-size: 18px; }
  .project-body { min-height: 0; margin-bottom: 22px; font-size: 12px; }
  .project-details summary { font-size: 11px; }
  .perspective-heading { display: block; }
  .name-note { max-width: 390px; margin-top: 29px; }
  .thought-grid { grid-template-columns: 1fr; gap: 29px; margin-top: 37px; }
  .thought-card { display: grid; grid-template-columns: 93px 1fr; column-gap: 22px; padding-top: 24px; }
  .character-row { grid-column: 1; grid-row: 1 / 5; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 11px; }
  .hanzi { font-size: 68px; }
  .romanization { margin-left: 5px; margin-bottom: 0; }
  .thought-card h3 { grid-column: 2; margin-top: 4px; font-size: 20px; }
  .thought-line { grid-column: 2; min-height: 0; margin-top: 11px; }
  .thought-card .muted { grid-column: 2; max-width: none; margin-top: 8px; font-size: 12px; }
  .philosophy-quote { margin-top: 40px; padding-top: 31px; }
  .philosophy-quote blockquote { font-size: 21px; letter-spacing: 1px; }
  .mobile-only { display: block; }
  .philosophy-quote figcaption p { font-size: 9px; }
  .questions-layout, .about-grid { grid-template-columns: 1fr; gap: 29px; }
  .questions-layout .section-kicker { margin-bottom: 26px; }
  .questions-intro { margin-top: 18px; }
  .question-list { margin-top: 8px; }
  .question-title { font-size: 17px; }
  .question summary { padding-block: 23px; gap: 15px; }
  .question-body { padding-left: 29px; padding-right: 8px; }
  .about-grid { gap: 35px; }
  .about-name h2, html[lang="zh-Hans"] .about-name h2 { font-size: 70px; }
  .about-name > .mono { margin-top: 20px; }
  .about-small-map { display: none; }
  .about-copy h3 { font-size: 29px; }
  .about-copy > p { font-size: 13px; margin-top: 20px; }
  .about-principle { font-size: 11px; }
  .footer-top > p { font-size: 17px; max-width: 230px; }
  .footer-top .text-link { font-size: 10px; gap: 10px; flex-shrink: 0; }
  .footer-wordmark { font-size: clamp(48px,10.4vw,74px); letter-spacing: -3.2px; margin-top: 20px; margin-bottom: 20px; }
  .footer-wordmark > span { letter-spacing: -1px; margin-left: 1px; }
  .footer-bottom { flex-wrap: wrap; row-gap: 12px; font-size: 8px; }
  .footer-bottom > span:last-child { width: 100%; }
  html[lang="zh-Hans"] .hero h1 { font-size: 62px; line-height: 1.22; }
  html[lang="zh-Hans"] h2 { font-size: 39px; }
  html[lang="zh-Hans"] .footer-top > p { font-family: var(--sans); font-style: normal; font-size: 14px; }
}
@media (max-width:370px) {
  .wrap, .header-inner { width: calc(100% - 32px); }
  .brand { font-size: 20px; }
  .brand-mark { width: 29px; }
  .header-tools { gap: 3px; }
  .language-switch button { padding-inline: 5px; min-width: 29px; }
  .hero h1 { font-size: 69px; }
  .hero-actions { gap: 13px; }
  .hero-actions .button { padding-inline: 13px; }
  .hero-actions .text-link { font-size: 10px; }
  .work-label { max-width: 95px; line-height: 1.7; }
  .project-filters button { padding-inline: 8px; }
  .project-count { display: none; }
  .thought-card { grid-template-columns: 78px 1fr; gap: 18px; }
  .hanzi { font-size: 60px; }
  .footer-wordmark { font-size: 10.2vw; letter-spacing: -2px; }
  html[lang="zh-Hans"] .hero h1 { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .hero-visual, .hero-actions, .hero-bottom, .project-filters, .project-count, .motion-toggle, .footer-wordmark, .skip-link, .contact-link { display: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  .wrap { width: 100%; }
  .hero { display: block; padding-top: 10px; }
  .hero h1 { font-size: 44px; line-height: 1.1; }
  .hero-line { display: inline; margin-right: .25em; }
  .section { padding-block: 28px; }
  .work-section, .questions-section, .site-footer, .project-card { background: white; color: black; }
  .project-card { border-color: #888; break-inside: avoid; }
  .project-body, .project-lede, .project-eyebrow, .status, .work-heading .section-description, .work-note, .project-details summary, .project-details p { color: #333; }
  .status { border-color: #888; }
  .project-art { display: none; }
  .project-eyebrow { margin-top: 20px; }
  .section-description { max-width: none; }
  .hero-description { max-width: none; }
  h2 { font-size: 32px; }
  .site-footer { border: 0; }
}
