@font-face {
  font-family: 'Materials Serif';
  src: url('/fonts/PTSerif-Regular.all.ec2c09a2f333.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f9f6f3;
  --block: #f3eee8;
  --ink: #1d0601;
  --body: #5e4e45;
  --muted: #887a70;
  --line: #e2dad1;
  --accent: #ff6700;
  --sans: 'MiSans-Regular', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Materials Serif', 'NotoSerifSC', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; background: var(--bg); color: var(--body); font: 18px/1.8 var(--serif); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #ba4800; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid #ba4800; outline-offset: 5px; }
::selection { background: #ff670030; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 10; background: var(--ink); color: white; padding: 8px 20px; }
.skip-link:focus { top: 12px; }
.site-nav { max-width: 1200px; height: 88px; margin: auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; font: 13px var(--sans); }
.site-logo img { display: block; width: 136px; height: auto; }
.nav-right { display: flex; align-items: center; gap: 30px; }
.nav-right a { text-decoration: none; }
.language-switch { border-left: 1px solid var(--line); padding-left: 28px; }
.language-switch span { color: #b9aca0; padding: 0 7px; }
.language-switch a[aria-current] { color: var(--ink); font-weight: bold; }
.in-iframe .site-nav { display: none; }
.article { max-width: 820px; margin: 0 auto; padding: 54px 36px 0; }
.hero { margin-bottom: 40px; }
.hero-date { display: block; margin: 0 0 26px; font: 14px/1.6 var(--sans); color: var(--muted); }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--sans); }
h1 { font-family: 'MiSans-Bold', var(--sans); font-size: clamp(34px, 4.1vw, 49.5px); line-height: 1.22; letter-spacing: -1.6px; font-weight: 700; margin: 0 0 22px; text-wrap: balance; }
html[lang='zh-CN'] h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.4; letter-spacing: -1px; }
.title-brand, .title-subject { display: block; }
.title-brand { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.hero-subtitle { margin: 0 0 26px; font-size: 18px; line-height: 1.75; font-style: italic; max-width: 680px; }
html[lang='zh-CN'] .hero-subtitle { font-style: normal; }
.breakout { --wide: min(1040px, calc(100vw - 48px)); width: var(--wide); margin-left: calc(50% - var(--wide) / 2); }
.hero-figure { margin-top: 40px; margin-bottom: 16px; display: grid; grid-template-columns: 39% 61%; min-height: 354px; border: 1px solid #ebe4dc; border-radius: 10px; background: var(--block); overflow: hidden; position: relative; }
.hero-result { padding: 32px 0 28px 40px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.result-label { margin: 0 0 4px; font: 10px/1.5 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; }
.result-number { color: var(--ink); font: 100px/1.1 'MiSans-Medium', var(--sans); letter-spacing: -7px; }
.result-number span { color: var(--accent); font-size: .66em; letter-spacing: -3px; }
.result-caption { margin: 7px 0 18px; color: var(--ink); font: 15px/1.5 var(--sans); }
.result-timeline { font: 12px/1.6 var(--sans); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-top: 1px solid #d9cfc4; padding-top: 14px; }
.result-timeline b { color: var(--ink); }
.result-timeline .arrow { color: var(--accent); font-size: 20px; }
.hero-structure { position: relative; align-self: stretch; min-width: 0; }
.hero-structure img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.structure-label { position: absolute; top: 23px; right: 28px; text-align: right; color: var(--muted); font: 10px/1.6 var(--sans); letter-spacing: .8px; }
.structure-label strong { display: block; color: var(--ink); font-size: 12px; }
.structure-link { position: absolute; right: 28px; bottom: 20px; font: 11px/1.6 var(--sans); text-decoration: none; }
.figure-note { font: 11px/1.7 var(--sans); color: var(--muted); margin: 0 0 46px; text-align: center; }
p { margin: 0 0 22px; }
strong { color: var(--ink); }
.section { margin: 0 0 52px; }
h2 { font-family: 'MiSans-Semibold', var(--sans); font-size: 27px; line-height: 1.45; font-weight: 600; letter-spacing: -.6px; margin: 0 0 22px; scroll-margin-top: 32px; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.6; margin: 36px 0 16px; }
.section-number { display: block; margin-bottom: 11px; font: 10px/1 var(--sans); letter-spacing: 1.3px; color: #aa9480; }
sup { font: 10px var(--sans); padding-left: 2px; vertical-align: super; }
sup a { color: #bc4b00; text-decoration: none; }
.molecule-figure { margin: 30px 0 36px; }
.molecule-paper { background: var(--block); border-radius: 8px; min-height: 192px; display: flex; align-items: center; justify-content: center; padding: 35px 20px; }
.molecule-paper img { width: 343px; max-width: 100%; height: auto; mix-blend-mode: multiply; }
figcaption { font: 11px/1.8 var(--sans); color: var(--muted); margin-top: 12px; text-align: center; }
.workflow { margin-top: 34px; margin-bottom: 34px; padding: 25px 30px; background: var(--block); border-radius: 8px; }
.workflow-title { margin: 0 0 19px; color: var(--muted); font: 10px var(--sans); text-transform: uppercase; letter-spacing: 1.5px; }
.workflow ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.workflow li { position: relative; }
.workflow li + li::before { content: '→'; position: absolute; top: 18px; left: -20px; font-size: 14px; color: #b7a594; }
.workflow li span { color: #bc4b00; display: block; font: 10px var(--sans); margin-bottom: 8px; }
.workflow li b { display: block; color: var(--ink); font: 13px/1.6 'MiSans-Medium',var(--sans); }
.workflow li small { display: block; margin-top: 6px; font: 11px/1.7 var(--sans); }
.viewer-figure { margin-top: 32px; margin-bottom: 40px; }
.showcase { position: relative; height: 510px; border-radius: 10px; overflow: hidden; background: var(--block); border: 1px solid #e8dfd5; font-family: var(--sans); }
.showcase canvas { position: absolute; top: 60px; width: 100%; height: calc(100% - 112px); display: block; touch-action: pan-y; cursor: grab; }
.showcase canvas:active { cursor: grabbing; }
.showcase-bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; }
.showcase-tabs { display: flex; gap: 23px; }
.showcase-tabs button { cursor: pointer; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; padding: 7px 0; font: 13px/1.6 'MiSans-Medium',var(--sans); }
.showcase-tabs button span { margin-left: 6px; font: 11px var(--sans); }
.showcase-tabs button.active { color: var(--ink); border-bottom-color: var(--accent); }
.showcase-stats { display: flex; gap: 24px; text-align: right; }
.showcase-stat b { display: block; font: 21px/1.3 'MiSans-Medium',var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.showcase-stat b small { font-size: 12px; }
.showcase-stat span { display: block; color: var(--muted); font: 9px/1.6 var(--sans); }
.viewer-bottom { position: absolute; bottom: 18px; left: 28px; right: 28px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.legend { display: flex; gap: 15px; font-size: 10px; color: var(--muted); }
.legend span { display: flex; gap: 6px; align-items: center; }
.legend i { height: 6px; width: 6px; border-radius: 50%; background: #ad9c8e; }
.legend .guest { background: var(--accent); }
.viewer-controls { display: flex; align-items: center; gap: 8px; }
.viewer-controls button { border: 1px solid #d8ccbf; border-radius: 100px; padding: 6px 12px; font: 10px/1.5 var(--sans); color: var(--body); background: transparent; cursor: pointer; }
.viewer-controls button:hover { background: #e8dfd5; }
.showcase-hint { position: absolute; bottom: 64px; right: 28px; font: 10px var(--sans); color: var(--muted); pointer-events: none; }
.showcase.touched .showcase-hint { opacity: 0; }
.result-callout { border-left: 3px solid var(--accent); padding: 4px 0 4px 25px; margin: 32px 0; color: var(--ink); font-size: inherit; line-height: 1.75; }
.result-callout p { margin: 0; }
.structures { margin-top: 28px; margin-bottom: 48px; }
.structures-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.structures-heading h3 { font: 12px var(--sans); margin: 0; letter-spacing: .2px; }
.structures-heading span { font: 10px var(--sans); color: var(--muted); }
.structure-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.structure-gallery figure { margin: 0; }
.structure-gallery button { cursor: zoom-in; padding: 0; background: var(--block); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; width: 100%; display: block; }
.structure-gallery img { width: 100%; height: auto; display: block; transition: transform .25s; }
.structure-gallery button:hover img { transform: scale(1.03); }
.structure-gallery figcaption { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 10px; margin-top: 9px; font-size: 10px; }
.structure-gallery figcaption b { color: var(--ink); }
.quotes { border-top: 1px solid var(--line); padding-top: 38px; }
.quote { margin: 28px 0 34px; padding: 0 0 32px; border-bottom: 1px solid var(--line); }
.quote-mark { color: #ba987b; font: 58px/1 Georgia,serif; height: 39px; display: block; }
.quote p { margin-bottom: 20px; }
.quote footer { font: 11px/1.8 var(--sans); color: var(--muted); max-width: 670px; }
.quote cite { font-style: normal; }
.quote cite strong { font-family: 'MiSans-Semibold',var(--sans); display: block; font-size: 16px; margin-bottom: 5px; }
html[lang='zh-CN'] .quote footer { font-size: 14px; }
.references { padding-top: 4px; margin-bottom: 45px; }
.references h2 { font: 15px var(--sans); margin-bottom: 24px; }
.references ol { padding-left: 20px; font: 11px/1.9 var(--sans); }
.references li { padding-left: 8px; margin-bottom: 12px; overflow-wrap: anywhere; }
.references li::marker { color: #b2947e; }
.references a { text-decoration-color: #d8ccbf; }
.references li:target { background: var(--block); }
.article-footer { border-top: 1px solid var(--line); padding: 26px 0 50px; display: flex; justify-content: flex-end; gap: 15px; font: 11px/1.8 var(--sans); color: var(--muted); }
.article-footer a { text-decoration: none; }
.toc { display: none; position: fixed; left: max(24px,calc((100vw - 1360px)/2)); top: 250px; width: 170px; font: 11px/1.7 var(--sans); }
.toc p { color: #9c8b7c; font-size: 9px; text-transform: uppercase; letter-spacing: 1.3px; margin-bottom: 17px; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 15px; text-decoration: none; color: var(--muted); border-left: 2px solid transparent; margin-left: -1px; }
.toc a.active { color: var(--ink); border-color: var(--accent); }
.lightbox { width: min(1300px,96vw); max-width: 96vw; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 20px; color: var(--ink); }
.lightbox::backdrop { background: #1d0601b8; }
.lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; font: 13px var(--sans); }
.lightbox-close { border: 1px solid var(--line); background: transparent; border-radius: 100px; padding: 8px 14px; cursor: pointer; font: 12px var(--sans); color: var(--ink); }
.lightbox img { width: 100%; height: auto; display: block; max-height: 78vh; object-fit: contain; }
@media (min-width: 1460px) { .toc { display: block; } }
@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.9; }
  .site-nav { height: 70px; padding: 0 24px; }
  .site-logo img { width: 116px; }
  .nav-right { gap: 14px; }
  .nav-right > a { display: none; }
  .language-switch { border: 0; padding: 0; }
  .article { padding: 34px 24px 0; }
  .hero-date { font-size: 12px; margin-bottom: 20px; }
  h1 { letter-spacing: -.9px; font-size: 32px; }
  .title-brand { font-size: clamp(24px, 6.8vw, 44px); }
  .hero-subtitle { font-size: 16px; }
  .breakout { --wide: calc(100vw - 32px); }
  .hero-figure { min-height: 278px; grid-template-columns: 42% 58%; margin-top: 28px; }
  .hero-result { padding: 28px 0 28px 22px; }
  .result-number { font-size: 72px; letter-spacing: -5px; }
  .result-label { font-size: 8px; letter-spacing: .6px; }
  .result-caption { font-size: 12px; }
  .result-timeline { font-size: 10px; gap: 7px; }
  .structure-label { top: 18px; right: 17px; font-size: 8px; }
  .structure-label strong { font-size: 10px; }
  .structure-link { right: 17px; font-size: 9px; bottom: 18px; }
  .figure-note { font-size: 10px; margin-bottom: 32px; }
  h2 { font-size: 24px; }
  .section { margin-bottom: 40px; }
  .workflow { padding: 23px; }
  .workflow ol { grid-template-columns: repeat(2,1fr); gap: 24px 26px; }
  .workflow li:nth-child(3)::before { display: none; }
  .showcase { height: 460px; }
  .showcase-bar { padding: 16px 18px; flex-wrap: wrap; }
  .showcase-tabs { gap: 22px; }
  .showcase-tabs button { font-size: 13px; }
  .showcase-tabs button span { display: none; }
  .showcase-stats { gap: 16px; }
  .showcase-stat b { font-size: 17px; }
  .viewer-bottom { left: 18px; right: 18px; flex-wrap: wrap; bottom: 14px; gap: 8px; }
  .viewer-controls button { font-size: 9px; padding: 6px 10px; }
  .showcase-hint { right: 18px; bottom: 82px; font-size: 9px; }
  .result-callout { padding-left: 20px; }
  .structure-gallery { grid-template-columns: 1fr; gap: 24px; }
  .structure-gallery figcaption { font-size: 11px; }
  .structure-gallery img { aspect-ratio: 2.24; }
}
@media (max-width: 380px) {
  h1, html[lang='zh-CN'] h1 { font-size: 30px; }
  .hero-result { padding-left: 17px; }
  .result-number { font-size: 63px; }
  .showcase-stats { gap: 10px; }
  .showcase-tabs { gap: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-nav, .toc, .viewer-controls, .structure-link, .showcase-hint, .article-footer a { display: none; }
  body { background: white; color: black; font-size: 11pt; }
  .article { padding: 0; max-width: none; }
  .breakout { width: 100%; margin-left: 0; }
  .hero-figure, figure, blockquote { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .showcase { height: 350px; }
  .structure-gallery { grid-template-columns: repeat(3,1fr); }
}
