:root {
  --ink: #172024;
  --muted: #56626a;
  --paper: #f7f8f8;
  --line: #cdd2d3;
  --copper: #aa592f;
  --dark: #11191c;
  --display: "Barlow", "Bahnschrift", "Arial", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:where(a, input, select, summary):focus-visible { outline: 3px solid #af572e; outline-offset: 4px; }
main:focus { outline: 0; }
[hidden] { display: none !important; }
.shell { width: min(100% - clamp(38px, 9vw, 150px), 1420px); margin-inline: auto; }
.skip { position: absolute; z-index: 12; left: 16px; top: -80px; padding: 12px 20px; background: white; }
.skip:focus { top: 12px; }
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.head-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; font: 600 clamp(22px, 2.1vw, 32px)/1 var(--display); letter-spacing: -1.4px; }
.wordmark > span { display: grid; gap: 4px; }
.wordmark small { font: 550 12px/1.1 "Microsoft YaHei","PingFang SC",sans-serif; letter-spacing: .13em; }
.mobile-menu { display: none; }
.wordmark img { width: 37px; height: 37px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 38px); margin-left: auto; }
.primary-nav a, .demo-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.primary-nav a { border-block: 2px solid transparent; }
.primary-nav .current { border-bottom-color: var(--copper); }
.demo-link { gap: 9px; border: 1px solid #aeb7ba; padding: 0 16px; margin-left: 12px; }
.wave-icon { color: var(--copper); font: 600 24px/1 var(--display); }
.hero { background: #172024; color: #f7f8f8; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); column-gap: clamp(24px, 4vw, 70px); align-items: center; padding-block: clamp(48px, 5.7vw, 94px); }
.hero-kicker, .eyebrow { font: 550 14px/1.5 var(--display); }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: #e2e8e9; margin-bottom: 23px; }
.hero-kicker i { width: 25px; height: 3px; background: #d99165; }
h1, h2, h3 { font-family: var(--display); }
.hero h1 { max-width: 12em; font-size: clamp(41px, 4.8vw, 82px); line-height: 1.2; font-weight: 700; letter-spacing: -.062em; text-wrap: balance; }
.hero-intro { max-width: 37em; color: #c9d1d2; line-height: 1.85; font-size: clamp(15px, 1.2vw, 19px); margin-top: 25px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.action { display: inline-flex; align-items: center; justify-content: space-between; min-height: 49px; min-width: 145px; background: #e4a479; color: #202224; padding: 0 17px; border: 1px solid #e4a479; font-weight: 650; font-size: 15px; gap: 22px; }
.action.secondary { background: transparent; border-color: #738084; color: #f1f3f3; }
.arrow { font-family: Arial, sans-serif; font-size: 1.05em; font-weight: 400; margin-left: .45em; }
.art-image { background: #e2e6e6; overflow: hidden; }
.art-image img { width: 100%; height: auto; }
.art figcaption, .case-plot figcaption { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 8px; }
.hero-art { min-width: 0; }
.hero-art .art-image { background: transparent; }
.hero-art img { width: 100%; height: auto; }
.hero-art figcaption { color: #b4bfc1; text-align: right; font-size: 12px; }
.home-research-art { display:grid; grid-template-columns:1fr 1fr; gap:clamp(18px,3vw,46px); margin-bottom:45px; align-items:start; }
.home-products { padding-top:40px; }
.home-products h2 { font-size:16px; margin-bottom:14px; }
.home-products > div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0 22px; }
.home-products a { display:grid; gap:4px; border-top:1px solid var(--line); padding:12px 0; }
.home-products strong { font:600 clamp(20px,2vw,32px)/1.2 var(--display); }
.home-products span { color:var(--muted); font-size:14px; }
.home-sections { padding-block: clamp(46px, 6vw, 100px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.home-section { border-top: 1px solid var(--line); padding-block: 31px 42px; }
.home-section.first { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(32px, 7vw, 110px); grid-column: 1/-1; align-items: center; border: 0; padding: 0 0 clamp(44px, 5vw, 80px); }
.home-section:last-child:nth-child(even) { grid-column: 1/-1; padding-bottom: 0; }
.home-section:last-child:nth-child(even) > div { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: baseline; }
.home-section:last-child:nth-child(even) .prose { margin-top: 0; }
.home-section h2, .story-section h2 { font-size: clamp(25px, 2.45vw, 39px); line-height: 1.35; letter-spacing: -.04em; text-wrap: balance; }
.prose { font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; color: #37434a; }
.prose p + p, .hero-intro p + p { margin-top: .8em; }
.prose ul { padding-inline-start: 1.35em; margin: .65em 0 0; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--copper); }
.home-section .prose, .story-section .prose { margin-top: 15px; }
.sample-preview { padding: 22px 22px 12px; background: #e9eded; }
.sample-title, .sample-title b { display: flex; align-items: baseline; gap: 11px; font-family: var(--display); }
.sample-title b { font-size: 23px; letter-spacing: -.04em; }
.sample-title span { font-size: 13px; color: var(--muted); }
.text-link, .source-links a { text-decoration: underline; text-underline-offset: .27em; text-decoration-color: #8a979a; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; }
.crumbs { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; padding-top: 18px; flex-wrap: wrap; }
.crumbs a { display: inline-flex; align-items:center; min-height: 44px; }
.crumbs strong { color: var(--ink); font-weight: 500; }
.page-lead { padding-block: clamp(25px, 3.7vw, 65px) clamp(36px, 4.6vw, 72px); }
.eyebrow { color: var(--copper); margin-bottom: 16px; }
.page-lead h1 { font-size: clamp(36px, 4.35vw, 70px); line-height: 1.23; letter-spacing: -.055em; max-width: 22em; text-wrap: balance; }
.page-lead > div { max-width: 49em; margin-top: 21px; color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.9; }
.reading { display: grid; grid-template-columns: minmax(150px, .35fr) minmax(0,1fr); gap: clamp(24px, 6vw, 110px); border-top: 1px solid var(--line); padding-block: clamp(35px, 4vw, 60px) clamp(48px, 6vw, 94px); align-items: start; }
.contents { position: sticky; top: 25px; }
.contents p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.contents nav { display: grid; border-left: 2px solid var(--line); }
.contents a { display: flex; align-items: center; min-height: 44px; padding: 7px 13px; color: #334248; line-height: 1.45; font-size: 14px; }
.story { max-width: 860px; width: 100%; }
.story .art { margin-bottom: 35px; }
.story .art-image img { height: min(36vw,410px); object-fit: contain; }
.story .technical-figure img { height: auto; }
.technical-figure figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 3px 12px; }
.technical-figure figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.story .product-render .art-image { background: transparent; }
.story .product-render img { width: 100%; height: auto; }
.gallery { border-top: 1px solid var(--line); padding-block: 30px 34px; }
.gallery h2 { font-size: clamp(25px, 2.45vw, 39px); line-height: 1.35; letter-spacing: -.04em; }
.gallery > p { margin-top: 12px; color: var(--muted); line-height: 1.8; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 18px; margin-top: 20px; align-items: start; }
.story .gallery-art { margin: 0; min-width: 0; }
.gallery-art:first-child { grid-column: 1/-1; }
.story .gallery-art img { width: 100%; height: auto; }
.story-section { padding-bottom: 32px; scroll-margin-top: 20px; }
.story-section + .story-section { padding-top: 30px; border-top: 1px solid var(--line); }
.role-entry { display: grid; grid-template-columns: clamp(160px,14vw,200px) minmax(0,1fr); grid-template-areas: "image title" "image body"; gap: 12px clamp(18px,2.4vw,34px); align-content: start; }
.role-entry h2 { grid-area: title; font-size: clamp(22px,2vw,31px); }
.role-entry .art { grid-area: image; align-self: start; margin: 0; }
.story .role-entry img { height: auto; }
.role-entry .prose { grid-area: body; margin: 0; }
.source-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 8px; }
.source-links a { padding-block: 7px; font-size: 15px; font-weight: 550; line-height: 1.65; }
.related { border-top: 1px solid var(--line); padding-block: 32px 46px; display: grid; grid-template-columns: .35fr 1fr; gap: clamp(24px, 6vw, 110px); }
.related h2 { font-size: 18px; font-weight: 600; }
.related div, .scenario-list { display: flex; flex-wrap: wrap; gap: 5px 26px; }
.related a, .scenario-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid #283235; color: #f4f5f6; background: #151c1f; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; padding-block: 42px; }
.footer-row .wordmark { font-size: 23px; }
.footer-row .wordmark img { width: 32px; height: 32px; }
.footer-row p { margin-top: 7px; color: #bdc6c9; font-size: 13px; }
.footer-brand > p:first-of-type { margin-top: 16px; color: #f4f5f6; }
.footer-row nav { display: grid; grid-template-columns: repeat(4,max-content); gap: clamp(18px,3vw,55px); }
.footer-row nav h2 { color: #f4f5f6; font-size: 15px; margin-bottom: 7px; }
.footer-row nav a { display: flex; align-items: center; min-height: 40px; font-size: 14px; color: #cbd2d4; }
.chapter-index, .brand-sheet { padding-block: 21px 30px; }
.chapter-index h2, .brand-sheet h2 { font-size: clamp(22px,2vw,29px); margin-bottom: 12px; }
.chapter-index > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.chapter-index a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lockups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lockups figure { padding: 14px 12px; background:#f4f5f6; }
.lockups img { width: 100%; height: auto; }
.lockup-vertical { grid-column:1/-1; }
.lockup-vertical img { max-width:250px; margin-inline:auto; }
.lockups .on-dark { background:#101214; color:#f4f5f6; }
.lockups figcaption { font-size: 13px; }
.brand-phrase { font-size: clamp(23px,3vw,38px); margin-top: 24px; letter-spacing:-.04em; }
.brand-phrase span { display:block; font: 400 16px/1.6 var(--display); letter-spacing:0; margin: 4px 0 14px; }
.swatches { display:flex; flex-wrap:wrap; gap:12px 22px; list-style:none; padding:0; margin:20px 0; }
.swatches li { display:flex; align-items:center; gap:7px; font-size:14px; }
.swatches i { display:inline-block; width:20px; height:20px; background:var(--swatch); border:1px solid #929ca4; }
.instrument { padding: clamp(16px, 3.5vw, 52px); background: #e9eeee; margin-bottom: 46px; border-top: 3px solid var(--dark); }
.instrument-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.instrument-head p { font: 550 14px/1.4 var(--display); color: var(--muted); }
.instrument-head h2 { margin-top: 4px; font-size: clamp(22px, 2.3vw, 38px); line-height: 1.3; }
.synthetic { color: #75411f; border: 1px solid #ba8b67; padding: 5px 9px; font-size: 13px; white-space: nowrap; }
.controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px clamp(12px, 3vw, 48px); padding: 22px 0; margin: 22px 0 12px; border-block: 1px solid #bcc6c7; }
.controls label, .controls legend { font-size: 14px; font-weight: 550; }
.scenario, .window > div { display: grid; gap: 7px; }
select { font: inherit; padding: 6px 28px 6px 8px; border: 1px solid #98a4a7; min-height: 44px; background: #f7f9f9; color: var(--ink); }
.controls fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.controls legend { padding: 0 0 7px; }
.channel-list { display: flex; align-items: center; flex-wrap: wrap; gap: 0 10px; }
.channel { display: flex; align-items: center; gap: 4px; min-height: 44px; cursor: pointer; }
.channel input { accent-color: #9e5029; width: 17px; height: 17px; }
.window { display: flex; flex: 1 1 250px; gap: 20px; max-width: 480px; }
.window > div { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; }
.window output { justify-self: end; font-variant-numeric: tabular-nums; color: var(--muted); }
.window input { grid-column: 1/-1; accent-color: #9e5029; width: 100%; height: 38px; margin: 0; }
.trace-chart { display: block; width: 100%; height: auto; overflow: visible; }
.trace-chart text { fill: #435257; font: 13px var(--display); font-variant-numeric: tabular-nums; }
.plot-grid line { stroke: #c6cfd0; stroke-width: 1; }
.instrument [data-plot] { background: #f8fafa; }
.plot-key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-block: 13px; }
.plot-key span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #435257; }
.instrument [role=status] { color: var(--muted); font-size: 14px; margin-block: 12px; }
.downloads { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 18px; }
.download { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; background: var(--ink); color: white; padding: 8px 14px; font-size: 14px; }
.samples { border-top: 1px solid #bcc6c7; margin-top: 25px; }
.samples summary { width: fit-content; padding-block: 14px; font-size: 15px; cursor: pointer; }
.table-scroll { max-width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 10px 0; color: var(--muted); }
td, th { border-bottom: 1px solid var(--line); padding: 7px 12px; }
th:first-child { text-align: left; }
.case-plot { padding: 14px; background: #e9eded; margin-bottom: 35px; }
.error-page { padding-block: clamp(65px, 12vw, 170px); }
.error-page h1 { font-size: clamp(38px, 6vw, 72px); margin-bottom: 30px; }
@media (hover: hover) {
  .primary-nav a:hover, .related a:hover, .crumbs a:hover, .source-links a:hover, .footer-row nav a:hover, .text-link:hover, .scenario-list a:hover { color: #92451e; }
  .action:hover { background: #efb893; }
  .action.secondary:hover { background: #2e3a3e; }
  .demo-link:hover, .contents a:hover { background: #e2e8e8; }
  .download:hover { background: #354448; }
}
@media (max-width: 920px) {
  .head-row { column-gap: 12px; }
  .primary-nav { gap: 12px; }
  .demo-link { margin-left: 0; padding: 0 10px; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(36px, 5.3vw, 50px); }
  .hero-actions { margin-top: 24px; }
  .action { min-width: 0; gap: 8px; padding-inline: 12px; }
}
@media (min-width: 721px) and (max-width: 860px) {
  .footer-row { flex-direction: column; gap: 22px; }
  .footer-row nav { width: 100%; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .footer-row nav a { overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 38px); }
  .head-row { position: relative; min-height: 67px; gap: 4px; }
  .primary-nav { display:none; }
  .mobile-menu { display:block; flex-shrink:0; font-size:14px; }
  .mobile-menu summary { display:list-item; cursor:pointer; padding:14px 2px 14px 8px; }
  .mobile-menu nav { position:absolute; z-index:8; top:100%; left:0; right:0; display:grid; grid-template-columns:1fr 1fr; gap:0 12px; padding:14px 18px; background:var(--paper); border:1px solid var(--line); }
  .mobile-menu nav a { display:flex; align-items:center; min-height:44px; border-bottom:1px solid var(--line); }
  .primary-nav a { font-size: 13px; }
  .demo-link { margin-left: auto; border: 0; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 36px 22px; gap: 30px; }
  .hero-kicker { margin-bottom: 15px; }
  .hero h1 { max-width: 13em; font-size: clamp(38px,8.6vw,57px); }
  .hero-intro { margin-top: 16px; }
  .home-sections { grid-template-columns: 1fr; padding-block: 30px; }
  .home-section.first { grid-template-columns: 1fr; gap: 23px; padding-bottom: 28px; }
  .home-section { padding-block: 24px; }
  .home-section:last-child:nth-child(even) > div { display: block; }
  .home-section:last-child:nth-child(even) .prose { margin-top: 15px; }
  .reading { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .contents { position: static; }
  .contents nav { display: flex; flex-wrap: wrap; border: 0; column-gap: 18px; }
  .contents p { margin-bottom: 0; }
  .contents a { padding-inline: 0; border-bottom: 1px solid var(--line); }
  .story .art-image img { height: auto; }
  .role-entry { grid-template-columns: 1fr; grid-template-areas: "title" "image" "body"; }
  .gallery-grid { grid-template-columns: 1fr; gap: 22px; }
  .home-research-art { grid-template-columns:1fr; }
  .home-products > div {grid-template-columns:1fr 1fr;}
  .related { grid-template-columns: 1fr; gap: 8px; padding-block: 22px; }
  .footer-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-row nav { grid-template-columns: 1fr 1fr; width:100%; }
  .chapter-index > div, .lockups { grid-template-columns:1fr; }
  .instrument { margin-bottom: 26px; }
  .controls { gap: 15px; }
  .instrument-head { align-items: flex-start; }
  .sample-preview { padding: 14px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 28px); }
  .primary-nav a { font-size: 12px; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 350px) {
  .demo-link { display: none; }
}
@media (max-width: 480px) {
  .instrument-head { flex-direction: column; gap: 9px; }
  .instrument-head h2 { text-wrap: balance; }
  .trace-chart text { font-size: 14px; }
}
