@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f8f2;
  --white: #fff;
  --ink: #192d3b;
  --ink-2: #263c4b;
  --quiet: #56636a;
  --line: #d8ded7;
  --lime: #e1f397;
  --lime-deep: #c9e06a;
  --mist: #e5ece6;
  --sage: #edf1e9;
  --radius: 18px;
  --header: 76px;
  --shadow: 0 1px 2px #192d3b0d, 0 8px 24px #192d3b0f;
  font-family: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #6b853c; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(100% - 88px, 1280px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: 8px auto auto 8px; transform: translateY(-150%); padding: 12px; background: var(--white); }
.skip:focus { transform: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 28px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.brand small { font-weight: 700; font-size: 9px; letter-spacing: .085em; line-height: 1.18; margin-top: 5px; }
.brand-logo { width: clamp(96px, 9vw, 138px); height: auto; flex: none; }
html[lang="zh-CN"] .brand strong { font-size: 24px; letter-spacing: 0; }
html[lang="zh-CN"] .brand small { font-size: 12px; letter-spacing: .03em; }
.nav, .header-actions { display: flex; align-items: center; gap: 27px; }
.nav-contact { display: none; }
.nav a { font-size: 14px; font-weight: 600; }
.nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .28em; }
.header-actions { gap: 16px; flex: none; }
.languages { display: flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 25px; }
.languages button { border: 0; background: transparent; border-radius: 100px; font-size: 12px; padding: 5px 8px; line-height: 1.15; }
.languages button[aria-pressed="true"] { background: var(--mist); font-weight: 700; }
.menu-toggle { display: none; padding: 9px; background: transparent; border: 1px solid var(--line); border-radius: 6px; }
.menu-toggle span { display: block; background: var(--ink); height: 2px; width: 17px; margin: 4px 0; }

/* Buttons & links */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid transparent; border-radius: 8px; padding: 13px 17px; min-height: 45px; font-size: 14px; line-height: 1.2; font-weight: 700; transition: background-color .16s, color .16s; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #334b59; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #f2ffc0; }
.text-link { display: inline-flex; align-items: center; gap: 9px; flex: none; font-weight: 700; font-size: 14px; background: none; border: 0; padding: 0; }
.circle-arrow { display: inline-grid; width: 31px; aspect-ratio: 1; flex: none; place-items: center; border-radius: 100%; background: var(--lime); font-size: 16px; }
.eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
html[lang="zh-CN"] .eyebrow { letter-spacing: .06em; font-size: 12px; }

/* Search field */
.search { position: relative; display: flex; align-items: center; width: min(100%, 340px); }
.search-icon { position: absolute; left: 15px; width: 13px; height: 13px; border: 1.5px solid var(--quiet); border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ''; width: 6px; height: 1.5px; background: var(--quiet); position: absolute; left: 9px; top: 11px; transform: rotate(45deg); }
.search input { width: 100%; min-height: 45px; padding: 11px 14px 11px 38px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; color: var(--ink); }
.search input::placeholder { color: #7b878c; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: var(--radius); overflow: hidden; min-height: 470px; margin-top: 4px; }
.hero-copy { background: var(--ink); color: var(--white); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px, 4.5vw, 64px); }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; color: #edf4df; }
.hero-eyebrow > span:first-child { width: 7px; height: 7px; border-radius: 100%; background: var(--lime); flex: none; }
.hero h1 { margin: 22px 0 16px; font-size: clamp(50px, 6.4vw, 92px); font-weight: 700; letter-spacing: -.064em; line-height: .94; }
.hero-company-line { display: block; max-width: 22ch; margin-top: 12px; color: var(--lime); font-size: clamp(18px, 2.3vw, 33px); letter-spacing: -.02em; line-height: 1.08; }
html[lang="zh-CN"] .hero h1 { letter-spacing: -.025em; line-height: 1.04; }
html[lang="zh-CN"] .hero-company-line { font-size: clamp(24px, 3.1vw, 44px); }
.hero-summary { max-width: 390px; color: #dde8e5; font-size: 16px; line-height: 1.55; }
.hero-search { display: flex; gap: 8px; width: min(100%, 470px); margin-top: 28px; }
.hero-search .search { width: auto; flex: 1; }
.hero-search .search input { border-color: transparent; }
.hero-search .button { flex: none; }
.hero-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; color: #b9c8c6; font-size: 13px; }
#hero-suggestions { display: contents; }
.hero-suggest button { border: 1px solid #ffffff33; background: transparent; color: #eef4ea; border-radius: 100px; padding: 4px 11px; font-size: 13px; }
.hero-suggest button:hover { background: #ffffff1a; border-color: #ffffff66; }
.hero-art { position: relative; isolation: isolate; display: grid; place-items: center; min-width: 0; overflow: hidden; background: radial-gradient(ellipse at 56% 33%, #eff5d9 0%, #e1eccf 47%, #bdcfbe 100%); }
.hero-orbit { position: absolute; z-index: -1; top: 46%; left: 52%; width: 76%; aspect-ratio: 1; transform: translate(-50%,-50%); border: 1px solid rgba(39,70,53,.18); border-radius: 50%; }
.hero-orbit::after { content: ''; position: absolute; inset: 12%; border: inherit; border-radius: inherit; }
.hero-image { width: 87%; max-height: 80%; object-fit: contain; height: auto; transform: translateY(-5%); mix-blend-mode: multiply; }
.hero-product { position: absolute; inset: auto 22px 22px auto; display: flex; align-items: center; text-align: left; gap: 24px; padding: 9px 10px 9px 14px; background: #fcfdf4; border: 0; border-radius: 10px; box-shadow: 0 6px 20px #1a2d3b1a; }
.hero-product:hover { background: var(--white); }
.hero-product small, .hero-product strong { display: block; }
.hero-product small { color: var(--quiet); font-size: 11px; margin-bottom: 3px; }
.hero-product strong { font-size: 13px; font-weight: 700; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.stats p { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; }
.stats p + p { border-left: 1px solid var(--line); }
.stats strong { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.04em; line-height: 1; }
.stats span { color: var(--quiet); font-size: 13px; }

/* Sections */
.section { padding-block: 68px; }
.section-heading { display: flex; gap: 16px; justify-content: space-between; align-items: end; margin-bottom: 24px; }
.section-eyebrow { color: #5d7440; margin-bottom: 10px; }
h2 { font-size: clamp(30px, 4vw, 47px); line-height: 1.05; font-weight: 600; letter-spacing: -.055em; }
html[lang="zh-CN"] h2 { letter-spacing: -.02em; }

/* Category cards */
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; transition: box-shadow .18s, transform .18s; }
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.category-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.category-card:hover .category-media img { transform: scale(1.04); }
.category-copy { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 15px 15px; }
.category-copy strong { font-size: 17px; letter-spacing: -.02em; }
.category-copy small { color: var(--quiet); font-size: 13px; line-height: 1.4; }
.category-count { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; font-size: 12px; font-weight: 700; color: #435647; }
.category-count span { display: inline-grid; place-items: center; width: 26px; aspect-ratio: 1; border-radius: 50%; background: var(--mist); font-size: 13px; transition: background-color .16s; }
.category-card:hover .category-count span { background: var(--lime); }
.category-all { background: var(--ink); color: var(--white); border-color: var(--ink); justify-content: flex-end; min-height: 240px; }
.category-all .category-copy { flex: 0; padding: 22px; }
.category-all strong { font-size: clamp(24px, 2.4vw, 32px); color: var(--lime); }
.category-all small, .category-all .category-count { color: #cfdcd8; }
.category-all .category-count span { background: var(--lime); color: var(--ink); }

/* Product browser */
.browser { background: var(--sage); border-block: 1px solid #e0e6dd; }
.toolbar { position: sticky; top: var(--header); z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; margin-top: -12px; background: var(--sage); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.filters button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 8px 7px 14px; border: 1px solid #c9d2c7; border-radius: 100px; background: transparent; font-size: 13px; white-space: nowrap; }
.filters button:hover { background: var(--white); }
.filter-count { min-width: 22px; padding: 1px 6px; border-radius: 100px; background: #dfe6da; font-size: 11px; font-weight: 700; text-align: center; }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--ink); border-color: var(--ink); }
.filters button[aria-pressed="true"] .filter-count { background: var(--lime); color: var(--ink); }
.toolbar-search { flex: none; width: 300px; }
.results-bar { display: flex; align-items: center; gap: 14px; min-height: 30px; margin: 6px 0 14px; }
.results { color: var(--quiet); font-size: 13px; }
.clear-filters { border: 0; background: none; padding: 0; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.result-card { display: flex; flex-direction: column; min-width: 0; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--white); overflow: hidden; text-align: left; transition: box-shadow .18s, transform .18s; }
.result-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.result-media { position: relative; display: block; aspect-ratio: 1.46; padding: 8px; background: #f6f7f3; border-bottom: 1px solid #eef0ea; }
.result-media img { width: 100%; height: 100%; object-fit: contain; }
.is-featured .result-media { background: var(--white); padding: 0; }
.is-featured .result-media img { object-fit: contain; }
.badge { position: absolute; top: 9px; left: 9px; padding: 3px 8px; border-radius: 100px; background: var(--lime); font-size: 11px; font-weight: 700; }
.badge-quiet { left: auto; right: 9px; background: #192d3bd9; color: var(--white); }
.result-body { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 12px 14px 14px; }
.result-body strong { font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.result-meta { color: var(--quiet); font-size: 12px; line-height: 1.4; }
.result-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.result-tags span { padding: 2px 7px; border-radius: 5px; background: var(--mist); color: #3f5446; font-size: 11px; font-weight: 600; }
.matched { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 3px; font-size: 11px; color: var(--quiet); }
.matched code, .model-chip { font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.matched code { padding: 2px 6px; border-radius: 5px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 600; }
.empty-state { display: grid; justify-items: start; gap: 10px; padding: 34px; border: 1px dashed #bfcabc; border-radius: 14px; background: #f6f8f3; }
.empty-state p:first-child { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.empty-state p + p { color: var(--quiet); max-width: 52ch; line-height: 1.5; margin-bottom: 6px; }
.load-more { margin: 26px auto 0; display: flex; }

/* Full catalogues */
.catalogue-books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.catalogue-book { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); text-align: left; transition: box-shadow .18s; }
.catalogue-book:hover { box-shadow: var(--shadow); }
.book-cover { flex: none; width: 38%; aspect-ratio: 1.46; border-radius: 8px; overflow: hidden; background: #f3f4ef; }
.book-cover img { width: 100%; height: 100%; object-fit: contain; }
.book-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.book-copy strong { line-height: 1.25; }
.book-copy small { color: var(--quiet); }
.book-copy .result-tags { margin-top: 4px; }
.catalogue-book .circle-arrow { margin-left: auto; background: var(--mist); }
.catalogue-book:hover .circle-arrow { background: var(--lime); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 100px); padding-top: 20px; }
.about-image { border-radius: var(--radius); overflow: hidden; background: #f1d8c5; }
.about-image img { width: 100%; height: auto; aspect-ratio: 1.38; object-fit: cover; }
.about-copy h2 { margin: 13px 0 17px; }
.about-copy .company-name { font-size: 13px; font-weight: 700; letter-spacing: .025em; color: var(--ink); }
.about-copy > p:not(.eyebrow) { color: var(--quiet); line-height: 1.6; margin-bottom: 14px; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 10px; margin: 22px 0 0; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: start; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 50%; background: var(--lime); font-weight: 700; }
.steps strong { font-size: 15px; }
.steps span { color: var(--quiet); font-size: 13px; line-height: 1.45; }

/* Contact */
.contact { color: var(--white); background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(24px, 7vw, 110px); }
.contact :focus-visible { outline-color: var(--lime); }
.contact-intro { margin: 16px 0 25px; max-width: 46ch; color: #dfeae5; line-height: 1.55; }
address { font-style: normal; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
address p + p { margin-top: 11px; }
address a:hover { text-decoration: underline; }
.inquiry-form { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 12px; }
.inquiry-form label { display: grid; gap: 7px; font-size: 13px; width: 100%; min-width: 0; }
.inquiry-form input, .inquiry-form textarea { border: 1px solid #73818a; min-width: 0; width: 100%; background: var(--ink-2); color: white; border-radius: 7px; padding: 10px 12px; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form textarea::placeholder { color: #c5d1d4; }
.form-help, #form-status { color: #dfeae5; font-size: 12px; }
.form-help { margin-top: -8px; }
.footer { background: #142633; color: #e9f0ea; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; }
.footer-inner a { flex: none; }

/* Product dialog (featured series with specs) */
.product-dialog { padding: 0; margin: auto; width: min(920px, 100% - 32px); max-width: none; max-height: 94vh; border: 0; border-radius: 16px; color: var(--ink); background: var(--white); }
.product-dialog::backdrop, .viewer::backdrop { background: #102631c4; }
.dialog-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; }
.dialog-inner img { width: 100%; aspect-ratio: 1.3; height: auto; object-fit: contain; background: var(--white); align-self: center; }
.dialog-close, .viewer-close { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; font-size: 22px; line-height: 1; flex: none; }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.dialog-close:hover, .viewer-close:hover { background: var(--mist); }
.dialog-copy { padding: 32px 48px 30px 25px; }
.dialog-copy h2 { font-size: clamp(28px, 4.2vw, 40px); margin: 10px 0 18px; }
.series-fieldset { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.series-fieldset legend { padding: 0 0 8px; font-size: 14px; font-weight: 700; }
.series-models { display: grid; gap: 6px; max-height: min(40vh, 430px); overflow: auto; padding: 2px 5px 2px 2px; }
.series-models label { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.series-models label:has(input:checked) { background: var(--mist); border-color: #839889; }
.series-models input { width: 16px; height: 16px; flex: none; margin: 2px 0 0; accent-color: var(--ink); }
.series-models strong, .series-models small { display: block; }
.series-models strong { font-size: 14px; }
.series-models small { margin-top: 3px; color: var(--quiet); line-height: 1.35; }
#series-inquiry button:disabled { opacity: .55; cursor: default; }
.dialog-source { margin-top: 16px; font-size: 13px; }

/* Catalogue viewer */
.viewer { width: min(1320px, 100% - 24px); height: min(94vh, 980px); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 16px; background: var(--white); color: var(--ink); overflow: hidden; }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.viewer-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 16px 12px 20px; }
.viewer-titles { min-width: 0; }
.viewer-titles .eyebrow { color: #5d7440; margin-bottom: 4px; }
.viewer-heading h2 { font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -.035em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: 0; }
.viewer-stage-wrap { position: relative; min-width: 0; min-height: 0; background: #eef1ea; }
.viewer-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px 64px; overflow: hidden; }
.viewer-stage img { flex: none; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in; background: var(--white); box-shadow: 0 2px 14px #192d3b1f; opacity: 0; transition: opacity .2s; }
.viewer-stage img.is-loaded { opacity: 1; }
.viewer-stage.zoomed { display: block; padding: 0; overflow: auto; }
.viewer-stage.zoomed img { max-width: none; max-height: none; cursor: zoom-out; box-shadow: none; }
.viewer-loading { position: absolute; color: var(--quiet); font-size: 13px; }
.stage-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 18px; box-shadow: var(--shadow); }
.stage-nav:hover:not(:disabled) { background: var(--lime); }
.stage-nav:disabled { opacity: 0; pointer-events: none; }
.stage-prev { left: 12px; }
.stage-next { right: 12px; }
.stage-zoom { position: absolute; right: 12px; bottom: 12px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
.stage-zoom[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.viewer-side { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: auto; padding: 18px; border-left: 1px solid var(--line); }
.viewer-position { font-size: 12px; font-weight: 700; color: #5d7440; }
.viewer-source { font-size: 14px; color: var(--quiet); }
.viewer-models { min-width: 0; margin: 4px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); }
.viewer-models legend { float: left; width: 100%; font-size: 14px; font-weight: 700; }
.viewer-hint { clear: both; padding-top: 4px; color: var(--quiet); font-size: 12px; line-height: 1.4; margin-bottom: 10px; }
.model-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.model-chip { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-size: 12px; }
.model-chip:hover { border-color: #95a593; }
.model-chip.is-match { border-color: #9cb64a; background: #f4fbd9; }
.model-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.viewer-actions { display: grid; gap: 12px; justify-items: start; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.viewer-actions .button { width: 100%; }
.viewer-actions .text-link { font-size: 13px; text-align: left; }
.viewer-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--white); scrollbar-width: thin; }
.viewer-thumbs button { flex: 0 0 auto; display: grid; justify-items: center; gap: 3px; width: 96px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); font-size: 11px; color: var(--quiet); }
.viewer-thumbs button:hover { border-color: #95a593; }
.viewer-thumbs button[aria-current] { border-color: #728c58; background: var(--lime); color: var(--ink); font-weight: 700; }
.viewer-thumbs img { width: 100%; aspect-ratio: 1.46; object-fit: contain; }

/* Responsive */
@media (max-width: 1100px) {
  .result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toolbar { flex-direction: column-reverse; align-items: stretch; }
  .toolbar-search { width: 100%; }
}
@media (max-width: 960px) {
  .shell { width: calc(100% - 48px); }
  .nav { gap: 14px; }
  .header-inner { gap: 13px; }
  .header-actions { gap: 8px; }
  .hero { min-height: 420px; }
  .hero-copy { padding: 32px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-all { min-height: 0; }
  .catalogue-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viewer-body { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 760px) {
  :root { --header: 65px; }
  .shell { width: calc(100% - 32px); }
  .brand { gap: 8px; }
  .brand strong, html[lang="zh-CN"] .brand strong { font-size: 24px; }
  .brand small { font-size: 8.5px; }
  .brand-logo { width: clamp(66px, 22vw, 106px); }
  .header-contact { display: none; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 59px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 9px; padding: 5px; box-shadow: 0 10px 25px #192d3b18; }
  .nav.open { display: flex; }
  .nav-contact { display: block; }
  .nav a { padding: 12px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 32px 22px; }
  .hero h1 { font-size: clamp(46px, 12vw, 72px); margin: 18px 0 12px; }
  .hero-company-line { font-size: clamp(21px, 5vw, 30px); }
  .hero-search { margin-top: 22px; }
  .hero-art { min-height: clamp(230px, 62vw, 400px); }
  .hero-image { max-width: 480px; }
  .hero-product { inset: auto 13px 13px auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  .stats p { padding: 14px 16px; }
  .stats p:nth-child(3) { border-left: 0; }
  .stats p:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section { padding-block: 44px; }
  .section-heading { align-items: baseline; }
  .category-grid { gap: 10px; }
  .category-copy { padding: 11px 12px 12px; }
  .category-copy strong { font-size: 15px; }
  .category-copy small { font-size: 12px; }
  .toolbar { margin-inline: -16px; padding: 10px 16px; gap: 10px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .result-body { padding: 10px; }
  .result-body strong { font-size: 14px; }
  .result-tags span:nth-child(n + 2) { display: none; }
  .catalogue-books { grid-template-columns: 1fr; gap: 9px; }
  .book-cover { width: 34%; }
  .about, .contact-grid { grid-template-columns: 1fr; }
  .dialog-inner { grid-template-columns: 1fr; }
  .dialog-inner img { aspect-ratio: 1.8; max-height: 220px; padding: 14px 34px; }
  .dialog-copy { padding: 16px; }

  .viewer { width: 100%; height: 100dvh; max-height: none; border-radius: 0; }
  .viewer-heading { padding: 10px 12px 10px 16px; }
  .viewer-body { display: block; overflow: auto; }
  .viewer-stage-wrap { height: max(300px, 56dvh); }
  .viewer-stage { padding: 10px 8px 44px; }
  .stage-nav { top: auto; bottom: 8px; transform: none; width: 38px; height: 38px; }
  .stage-prev { left: 8px; }
  .stage-next { right: auto; left: 54px; }
  .stage-zoom { right: 8px; bottom: 10px; }
  .viewer-side { border-left: 0; border-top: 1px solid var(--line); overflow: visible; padding: 14px 16px; }
  .viewer-thumbs { padding: 8px 10px; }
  .viewer-thumbs button { width: 72px; }
}
@media (max-width: 375px) {
  .brand strong, html[lang="zh-CN"] .brand strong { font-size: 20px; }
  .brand small { font-size: 8px; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; }
  .form-pair { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
