:root {
  color-scheme: light;
  --ink: #22241e;
  --muted: #55584c;
  --paper: #faf9f4;
  --warm: #efede3;
  --deep: #22231e;
  --line: #d8d8cb;
  --accent: #e4ef72;
  --olive: #4e561b;
  --nav-height: 70px;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  font-synthesis: none;
  line-height: 1.7;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 18px); }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.23; }
h2 { font-size: clamp(2rem, 4.2vw, 3.65rem); letter-spacing: -.047em; }
h3 { font-size: clamp(1.15rem, 1.95vw, 1.55rem); letter-spacing: -.03em; }
p { text-wrap: pretty; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
::selection { color: var(--deep); background: var(--accent); }
:focus-visible { outline: 3px solid #7c842d; outline-offset: 4px; }
.hero :focus-visible, .dark :focus-visible, .footer :focus-visible { outline-color: var(--accent); }
.wrap { width: min(calc(100% - 112px), 1260px); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; transform: translateY(-160%); z-index: 15; background: var(--accent); padding: 10px 16px; }
.skip:focus { transform: translateY(0); }
.site-head { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid #dfdfd4; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: var(--nav-height); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: "Arial", "Microsoft YaHei", sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -.035em; }
.wordmark small { margin-left: 6px; opacity: .7; font-size: 12px; letter-spacing: 0; }
.site-nav { display: flex; height: var(--nav-height); align-items: stretch; gap: clamp(16px, 2.7vw, 35px); font-size: .875rem; font-weight: 650; }
.site-nav a { position: relative; display: flex; align-items: center; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: #798334; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.menu { display: none; padding: 7px 11px; background: transparent; border: 1px solid var(--line); border-radius: 4px; font-size: .875rem; cursor: pointer; }
.menu span { margin-left: 5px; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(530px, 47vw, 660px); color: var(--paper); background: #171715; overflow: hidden; }
.hero-img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: center 55%; z-index: -2; }
.hero::after { content: ""; background: linear-gradient(90deg, rgba(15,15,13,.91), rgba(15,15,13,.7) 33%, rgba(15,15,13,.12) 64%, transparent 90%), linear-gradient(0deg, rgba(9,9,8,.58), transparent 18%); z-index: -1; pointer-events: none; }
.hero-inner { padding-block: 78px 86px; }
.eyebrow { display: flex; gap: 10px; align-items: center; color: var(--accent); font-size: .76rem; letter-spacing: .12em; font-weight: 740; }
.eyebrow::before { content: ""; display: block; width: 18px; height: 1px; background: currentColor; }
.hero h1 { max-width: 650px; margin-block: 24px; font-size: clamp(3.5rem, 7.6vw, 7rem); font-weight: 820; line-height: .99; letter-spacing: -.075em; }
.hero-copy { max-width: 400px; color: #e5e4da; font-size: clamp(.97rem, 1.5vw, 1.15rem); line-height: 1.8; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 16px; border-radius: 3px; font-size: .87rem; font-weight: 740; transition: background-color .2s ease; }
.button.primary { color: #242617; background: var(--accent); }
.button.primary:hover { background: #f1f6a9; }
.button.ghost { color: #faf9f4; background: #1819148c; border: 1px solid #aaa999; }
.button.ghost:hover { background: #36382c; }
.hero-caption { position: absolute; right: max(26px, calc((100% - 1260px) / 2)); bottom: 16px; color: #e1e0d5; font-size: .72rem; letter-spacing: .07em; }
.summary { background: #e9edd2; border-bottom: 1px solid #d8ddba; }
.summary-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.summary a { position: relative; padding: 18px clamp(17px, 3.1vw, 40px); }
.summary a:first-child { padding-left: 0; }
.summary a + a { border-left: 1px solid #cfd4b4; }
.summary a::after { content: "↗"; position: absolute; top: 21px; right: 9%; font-size: .84rem; color: #4f5728; transition: transform .2s ease; }
.summary a:hover::after { transform: translate(3px, -3px); }
.summary span { display: block; font-size: .98rem; font-weight: 750; }
.summary small { display: block; margin-top: 2px; color: #4c513d; font-size: .78rem; }

.section { padding-block: clamp(58px, 8vw, 110px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head p, .faq-layout > div:first-child p { margin-top: 13px; color: var(--muted); max-width: 650px; }
.section-head .aside-note { color: var(--olive); font-size: .75rem; font-weight: 720; text-align: right; flex-shrink: 0; }
.section-head.compact { margin-bottom: 22px; }
.section-head.compact h3 { font-size: 1.6rem; }
.tinted { background: var(--warm); }
.equipment { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.equipment article { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: #fffefa; }
.equipment img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.equipment-copy { display: flex; align-items: flex-start; flex-direction: column; flex-grow: 1; padding: clamp(18px, 2.1vw, 29px); }
.equipment-copy p, .case p, .diagram-block p { margin-block: 12px 16px; color: var(--muted); font-size: .94rem; }
.equipment-copy .text-link { margin-top: auto; }
.text-link { color: var(--olive); font-size: .84rem; font-weight: 750; text-underline-offset: .27em; }
.text-link:hover, .source-line a:hover, .paper-source a:hover { text-decoration: underline; }

.comparisons { margin-top: 51px; }
.comparisons h3 { margin-bottom: 17px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; min-width: 520px; border-collapse: collapse; text-align: left; color: var(--ink); background: #fbfaf6; font-size: .88rem; }
th, td { padding: 13px 17px; vertical-align: top; border-bottom: 1px solid #deded2; }
thead th { background: #e6e8d7; color: #3f4623; }
tbody th { width: 19%; font-weight: 700; white-space: nowrap; }
tbody td { width: 40%; }
tbody tr:last-child > * { border-bottom: 0; }
.source-line { color: var(--muted); font-size: .77rem; margin-top: 12px; }
.source-line a, .paper-source a { color: var(--olive); font-weight: 650; }

.diagram-block { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr); align-items: center; gap: clamp(23px, 5vw, 70px); }
.diagram-block figure { padding: 12px; border: 1px solid #d7d5c9; background: #f7f6f0; }
.diagram-block img { background: #efece2; width: 100%; height: auto; }
figcaption { font-size: .72rem; padding: 8px 4px 1px; color: var(--muted); }
.metrics { margin-top: 49px; border-top: 1px solid #cfcebf; padding-top: 30px; }
.measurements { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #272820; color: #faf9f4; }
.measurements div { padding: 21px clamp(14px, 2.2vw, 26px) 24px; }
.measurements div + div { border-left: 1px solid #535446; }
.measurements dt { color: #ebeadb; font-weight: 680; font-size: .85rem; }
.measurements dd:first-of-type { margin: 11px 0 6px; font-size: clamp(1.8rem, 3.1vw, 2.75rem); font-family: "Arial", sans-serif; font-weight: 740; line-height: 1.05; letter-spacing: -.04em; color: var(--accent); }
.measurements dd small { white-space: nowrap; font-size: .9rem; letter-spacing: 0; }
.measurements .metric-note { color: #e0e0d3; font-size: .76rem; }
.metric-detail { margin-top: 14px; color: var(--muted); font-size: .84rem; }

.cases { display: grid; gap: 21px; }
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: #f0efe5; align-items: stretch; min-width: 0; }
.case:nth-child(2) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.case:nth-child(2) img { order: 2; }
.case img { width: 100%; height: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.case div { padding: clamp(23px, 3.2vw, 45px); align-self: center; }
.case .kicker, .kicker { margin: 0 0 11px; font-size: .75rem; font-weight: 740; color: var(--olive); }
.case h3 { font-size: clamp(1.4rem, 2.6vw, 2.15rem); }
.case p { margin-block: 10px; }
.case .text-link { display: inline-block; margin-top: 6px; }

.dark { background: var(--deep); color: var(--paper); }
.dark .section-head p, .dark .experiences p { color: #d4d4c6; }
.dark .section-head .aside-note { color: var(--accent); }
.workflow { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-block: 1px solid #575849; }
.workflow li { position: relative; padding: 20px 28px 20px 0; }
.workflow li + li { padding-left: clamp(14px, 2.1vw, 26px); border-left: 1px solid #575849; }
.workflow li:not(:last-child)::after { content: "→"; color: var(--accent); position: absolute; inset: 20px 11px auto auto; }
.workflow strong { display: block; color: var(--accent); font-size: .95rem; }
.workflow small { display: block; font-size: .78rem; color: #d4d4c6; }
.experiences { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 24px; margin-top: 21px; }
.experiences article { grid-column: span 2; padding: 19px 0; min-width: 0; border-bottom: 1px solid #575849; }
.experiences article:nth-child(n+4) { grid-column: span 3; }
.experiences h3 { margin-bottom: 8px; font-size: 1.03rem; }
.experiences p { font-size: .86rem; }

.papers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 24px; }
.paper { min-width: 0; border: 1px solid var(--line); background: #fffefa; }
.paper img { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.paper summary:hover .paper-arrow { background: #e9edd2; }
.paper-head { padding: 20px 22px; }
.paper-head h3 { min-height: 2.46em; font-size: clamp(1.04rem, 1.6vw, 1.34rem); }
.paper-meta { color: var(--muted); font-size: .75rem; margin-top: 18px; display: flex; align-items: center; gap: 7px; }
.paper-meta time { margin-right: auto; white-space: nowrap; }
.paper-arrow { display: grid; width: 25px; aspect-ratio: 1; place-items: center; border: 1px solid #bebfa7; border-radius: 50%; }
.paper:has(details[open]) { grid-column: 1/-1; }
.paper details[open] summary { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); align-items: center; }
.paper details[open] .paper-head h3 { min-height: 0; }
.paper details[open] .paper-arrow { transform: rotate(180deg); }
.read-close, details[open] .read-toggle { display: none; }
details[open] .read-close { display: inline; }
.paper-body { max-width: 900px; margin-inline: auto; padding: 23px clamp(19px, 4vw, 53px) 31px; }
.paper-body p { margin-block: 13px; font-size: .96rem; line-height: 1.9; }
.paper-body .paper-source { color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; font-size: .78rem; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(22px, 5vw, 75px); }
.faq-list { border-top: 1px solid #d0cfc0; }
.faq-list details { border-bottom: 1px solid #d0cfc0; }
.faq-list summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 15px 0; }
.faq-list summary h3 { font-size: .975rem; letter-spacing: 0; }
.faq-mark { position: relative; flex: 0 0 23px; height: 23px; border: 1px solid #b9bba3; border-radius: 50%; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; width: 9px; height: 1px; left: 6px; top: 10px; background: #505732; }
.faq-mark::after { transform: rotate(90deg); }
.faq-list details[open] .faq-mark::after { transform: rotate(0deg); }
.faq-list summary:hover .faq-mark, .faq-list details[open] .faq-mark { background: #dee5b7; }
.faq-list details p { color: var(--muted); padding: 0 30px 16px 0; font-size: .9rem; }

.footer { background: #22231e; color: #f2f1e7; padding: 34px 0 20px; }
.footer-main, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-main p, .footer-bottom { color: #d3d3c2; font-size: .78rem; }
.footer-main p { margin-top: 7px; }
.back { border: 1px solid #8c8d73; padding: 8px 12px; white-space: nowrap; font-size: .78rem; }
.back:hover { color: var(--accent); }
.footer-bottom { margin-top: 25px; padding-top: 14px; border-top: 1px solid #555646; }
.footer-bottom a { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 1040px) {
  .wrap { width: min(calc(100% - 62px), 1260px); }
  .head-row { gap: 16px; }
  .site-nav { gap: 16px; font-size: .8rem; }
  .equipment, .papers { gap: 15px; }
  .paper-head { padding: 17px; }
}
@media (max-width: 800px) {
  :root { --nav-height: 61px; }
  .menu:not([hidden]) { display: inline-flex; align-items: center; }
  .site-head:has(.menu[hidden]) { position: static; }
  .head-row { flex-wrap: wrap; padding-block: 12px; }
  .site-nav { flex-wrap: wrap; width: 100%; height: auto; gap: 5px 18px; }
  .site-nav a { min-height: 33px; }
  .site-head.enhanced .site-nav { display: none; }
  .site-head.enhanced .site-nav.is-open { display: grid; grid-template-columns: repeat(2, 1fr); padding-bottom: 4px; }
  .site-nav a::after { right: auto; width: 26px; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: clamp(3.55rem, 10vw, 5.7rem); }
  .hero-img { object-position: 59% center; }
  .hero::after { background: linear-gradient(90deg, rgba(13,13,11,.9), rgba(13,13,11,.65) 44%, rgba(13,13,11,.13)); }
  .section-head { align-items: flex-start; }
  .equipment, .papers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .measurements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .measurements div:nth-child(odd) { border-left: 0; }
  .measurements div:nth-child(n+3) { border-top: 1px solid #535446; }
  .experiences { grid-template-columns: repeat(2, 1fr); }
  .experiences article, .experiences article:nth-child(n+4) { grid-column: auto; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 34px); }
  .hero { min-height: 560px; align-items: end; }
  .hero-inner { padding-block: 186px 50px; }
  .hero h1 { margin-block: 18px; font-size: clamp(3.05rem, 13vw, 4.4rem); }
  .hero-img { object-position: 66% top; height: 68%; }
  .hero::after { background: linear-gradient(0deg, #161614 28%, rgba(22,22,20,.89) 45%, transparent 80%), linear-gradient(90deg, rgba(12,12,10,.49), transparent 77%); }
  .hero-caption { right: 17px; bottom: 9px; }
  .hero-copy { max-width: 340px; }
  .hero-links { gap: 8px; margin-top: 21px; }
  .button { font-size: .76rem; min-height: 43px; padding-inline: 10px; gap: 7px; }
  .summary a { padding: 11px 0 12px 10px; }
  .summary a::after { display: none; }
  .summary span { font-size: .84rem; }
  .summary small { font-size: .62rem; }
  .section-head { display: block; margin-bottom: 23px; }
  .section-head .aside-note { margin-top: 8px; text-align: left; }
  .aside-note br { display: none; }
  .aside-note br::after { content: " "; }
  .equipment, .papers, .diagram-block, .case, .case:nth-child(2), .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .case:nth-child(2) img { order: 0; }
  .case div { padding: 21px; }
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow li:nth-child(3) { border-left: 0; padding-left: 0; }
  .workflow li:nth-child(n+3) { border-top: 1px solid #575849; }
  .workflow li:nth-child(2)::after { content: "↓"; }
  .experiences { gap: 0 13px; }
  .experiences h3 { font-size: .94rem; }
  .experiences p { font-size: .82rem; }
  .paper-head h3 { min-height: 0; }
  .paper details[open] summary { display: block; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::after { transition: none !important; }
}

