/* AUREK site v2 — one stylesheet for every Chinese page.
   Brand yellow = the logo's #F6B213. Body text uses the visitor's system CJK font
   (no external font hosts, so the page loads the same inside mainland China). */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

:root {
  --ink: #141619;
  --ink-2: #3a3f45;
  --muted: #5a5f66;
  --ground: #f4f3ef;
  --paper: #ffffff;
  --line: #d9d6ce;
  --line-soft: #e6e3db;
  --dark-line: #3a3e44;
  --on-dark: #f4f3ef;
  --on-dark-muted: #c9c6bd;
  --accent: #f6b213;
  --accent-text: #8a5a00;
  --danger: #b42318;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "Barlow Condensed", "DIN Alternate", "Arial Narrow", var(--sans);
  --wrap: 1240px;
  --gutter: 32px;
  --section: 96px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
/* big headings break only between words (build inserts <wbr> hints); very long words still wrap */
h1, .prod-body h2 { word-break: keep-all; overflow-wrap: anywhere; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--on-dark); text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.num { font-family: var(--num); font-weight: 700; letter-spacing: .01em; }
.hl { background: #fff1cc; padding: 0 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html:not(.js) [data-needs-js] { display: none !important; }
[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- section heading: the one heading style used everywhere ---------- */
.sh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 40px; }
.sh-main { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.sh-main::before { content: ""; width: 40px; height: 4px; background: var(--accent); }
.sh h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.22; font-weight: 800; letter-spacing: -.005em; text-wrap: balance; }
.nw { white-space: nowrap; }
.sh p { max-width: 460px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.on-dark .sh p { color: var(--on-dark-muted); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }
.link-arrow svg { flex: none; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; font-size: 17px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #ffc233; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 243, 239, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 4px 26px; font-size: 15px; font-weight: 500; margin-right: auto; }
.main-nav a { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.header-phone { font-family: var(--num); font-size: 20px; font-weight: 600; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.header-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--ink); color: var(--on-dark); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-cta:hover { background: #2a2e33; }

/* language switch (only Chinese live for now; other languages show "即将上线") */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 1px solid transparent; background: none; font-size: 14px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--line); background: var(--paper); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 200px; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(20, 22, 25, .14); }
.lang-menu[hidden] { display: none; }
.lang-menu a, .lang-menu .soon { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 0 12px; font-size: 15px; text-decoration: none; }
.lang-menu a:hover { background: var(--ground); }
.lang-menu a[aria-current="true"] { font-weight: 700; box-shadow: inset 3px 0 0 var(--accent); }
.lang-menu .soon { color: var(--muted); cursor: default; }
.lang-menu small { font-size: 12px; color: var(--muted); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s ease, background-color .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero: light, with the looping site footage on the right ---------- */
.hero { position: relative; background: #ffffff; color: var(--ink); overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; width: min(64vw, 1060px); height: 620px; }
.hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; background: #ffffff; }
.hero-media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 34%; z-index: 1; background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%); pointer-events: none; }
.hero-pause { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; background: rgba(20, 22, 25, .78); color: #f4f3ef; font-size: 13px; cursor: pointer; }
.hero-pause:hover { background: rgba(20, 22, 25, .92); }
.hp-icon { width: 12px; height: 12px; flex: none; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px); }
.hero-pause[aria-pressed="true"] .hp-icon { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.hero-inner { position: relative; z-index: 1; min-height: 620px; display: flex; align-items: center; padding-block: 56px; }
.hero-copy { max-width: 560px; display: flex; flex-direction: column; gap: 26px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 32px; height: 4px; background: var(--accent); flex: none; }
.hero h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.16; font-weight: 800; letter-spacing: -.01em; }
.hero-lead { font-size: 17px; line-height: 1.9; color: var(--ink-2); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.spec-strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); background: #ffffff; }
.spec-strip > div { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); }
.spec-strip > div:first-child { padding-left: 0; }
.spec-strip > div:last-child { border-right: 0; padding-right: 0; }
.spec-strip dt { font-size: 14px; color: var(--muted); }
.spec-strip dd { font-size: 19px; line-height: 1.45; font-weight: 700; }
.spec-strip dd .num { font-size: 34px; line-height: 1; margin: 0 2px; }
.hazard { height: 10px; background: repeating-linear-gradient(135deg, var(--accent) 0 14.142px, var(--ink) 14.142px 28.284px); animation: hazard-run 3.2s linear infinite; }
.hero.is-still .hazard { animation-play-state: paused; }
@keyframes hazard-run { to { background-position: 40px 0; } }

/* ---------- proof strip ---------- */
.proof { background: var(--paper); border-bottom: 1px solid var(--line); }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 36px; }
.proof h2 { font-size: 16px; font-weight: 700; flex: none; }
.proof ul { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 600px; }
.proof li a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; background: var(--ground); border: 1px solid var(--line); font-size: 14px; text-decoration: none; }
.proof li a:hover { border-color: var(--ink); }

/* ---------- generic section spacing ---------- */
.section { padding-block: var(--section); }
.section-paper { background: var(--paper); border-block: 1px solid var(--line); }
.on-dark { background: var(--ink); color: var(--on-dark); }

/* ---------- install types ---------- */
.card-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mount-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.mount-media { overflow: hidden; background: var(--line-soft); }
.mount-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.mount-card:hover .mount-media img { transform: scale(1.045); }
.mount-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.mount-title { display: flex; align-items: baseline; gap: 12px; }
.mount-title h3 { font-size: 24px; font-weight: 800; }
.mount-title .num { font-size: 19px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.mount-body > p { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; font-size: 14px; line-height: 1.6; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.facts dt { color: var(--muted); }
.facts a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mount-body .link-arrow { margin-top: auto; align-self: flex-start; font-size: 15px; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.also strong { font-weight: 700; margin-right: 4px; }
.also a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.also a:hover { border-bottom-color: var(--ink); }

/* ---------- 3D ---------- */
.viewer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 56px; align-items: center; }
.parts { border-top: 1px solid var(--line-soft); }
.parts li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
.parts .num { font-size: 18px; color: var(--accent-text); }
.viewer { display: flex; flex-direction: column; gap: 12px; }
.viewer-stage { position: relative; background: #e9eef2; border: 1px solid var(--line); }
.viewer-stage > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.viewer-load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; border: 0; background: var(--ink); color: var(--on-dark); font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.viewer-load:hover { background: #2a2e33; }
.viewer-stage iframe { display: block; width: 100%; height: 660px; border: 0; background: #f0f1f2; }
.viewer-hint { font-size: 14px; color: var(--muted); }

/* ---------- cases: two rows scrolling in opposite directions ---------- */
.cases-section { overflow: hidden; }
.marquee { display: flex; flex-direction: column; gap: 20px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.mq-row { overflow: hidden; }
.mq-track { --gap: 20px; display: flex; gap: var(--gap); width: max-content; animation: mq-run var(--dur, 70s) linear infinite; }
.mq-row[data-dir="right"] .mq-track { animation-direction: reverse; }
.mq-row:hover .mq-track, .marquee:focus-within .mq-track, .marquee.is-paused .mq-track, .marquee.is-offscreen .mq-track { animation-play-state: paused; }
@keyframes mq-run { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.mq-card { flex: none; width: 320px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.mq-card:hover { border-color: var(--ink); box-shadow: 0 14px 32px rgba(20, 22, 25, .12); }
.mq-media { position: relative; display: block; overflow: hidden; background: var(--line-soft); }
.mq-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.mq-card:hover .mq-media img { transform: scale(1.06); }
.case-tag { position: absolute; left: 14px; top: 14px; padding: 4px 10px; background: var(--ink); color: var(--on-dark); font-size: 13px; line-height: 1.5; }
.mq-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.mq-body strong { font-size: 17px; line-height: 1.45; font-weight: 700; }
.mq-body span { font-size: 14px; line-height: 1.65; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; }
.mq-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #bdb9af; background: var(--paper); font-size: 14px; cursor: pointer; }
.mq-toggle:hover { border-color: var(--ink); }
.mq-toggle[aria-pressed="true"] .hp-icon { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ---------- process + safety ---------- */
.ps-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--dark-line); }
.steps .num { font-size: 40px; line-height: 1; color: var(--accent); }
.steps strong { font-size: 20px; font-weight: 700; }
.steps span:last-child { font-size: 15px; line-height: 1.75; color: var(--on-dark-muted); }
.safety { border: 1px solid var(--dark-line); padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; }
.safety h3 { font-size: 24px; font-weight: 800; }
.safety-note { font-size: 14px; color: var(--on-dark-muted); margin-top: -10px; }
.safety ul { display: flex; flex-direction: column; gap: 20px; }
.safety li { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 3px solid var(--accent); }
.safety strong { font-size: 17px; }
.safety li span { font-size: 15px; line-height: 1.7; color: var(--on-dark-muted); }

/* ---------- factory ---------- */
.factory-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.factory-media { overflow: hidden; background: var(--line-soft); }
.factory-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.factory-copy { display: flex; flex-direction: column; gap: 22px; }
.factory-copy > p { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.factory-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.factory-facts > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.factory-facts dt { font-size: 13px; color: var(--muted); }
.factory-facts dd { font-size: 17px; font-weight: 700; line-height: 1.5; }
.factory-copy .link-arrow { align-self: flex-start; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 72px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; }
.contact-copy > p { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.contact-list { border-top: 1px solid var(--line); }
.contact-list > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 14px; color: var(--muted); }
.contact-list dd a { text-decoration: none; }
.contact-list .num { font-size: 24px; font-weight: 600; }
.wecom { display: flex; align-items: center; gap: 18px; padding: 16px; background: var(--ground); border: 1px solid var(--line); }
.wecom img { width: 116px; height: 116px; flex: none; background: #fff; image-rendering: pixelated; }
.wecom div { display: flex; flex-direction: column; gap: 4px; }
.wecom strong { font-size: 16px; }
.wecom span { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.prep h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.prep ul { display: flex; flex-direction: column; }
.prep a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; text-decoration: none; }
.prep a:hover { color: var(--accent-text); }

.inquiry { background: var(--ground); border: 1px solid var(--line); padding: 36px 32px; }
.inquiry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #a9a59b; background: var(--paper); font-size: 16px; border-radius: 0; }
.field textarea { padding: 12px 14px; line-height: 1.6; resize: vertical; min-height: 116px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.inquiry-submit { width: 100%; margin-top: 24px; min-height: 56px; }
.inquiry-note { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.inquiry-status { margin-top: 12px; font-size: 15px; font-weight: 500; min-height: 1em; }
.handoff { margin-top: 20px; padding: 20px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.handoff[hidden] { display: none; }
.handoff label { font-size: 14px; font-weight: 700; }
.handoff textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: var(--ground); font-size: 14px; line-height: 1.6; resize: vertical; }
.handoff-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.handoff-actions .btn { min-height: 48px; font-size: 15px; padding: 0 20px; }
.btn-line { border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); }
.btn-line:hover { background: var(--ground); }
.handoff p { font-size: 14px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; border-top: 1px solid var(--dark-line); }
.site-footer .wrap { padding-block: 56px 36px; display: flex; flex-direction: column; gap: 36px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 64px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; line-height: 1.8; }
.footer-brand strong { font-size: 22px; color: var(--on-dark); font-weight: 800; }
.footer-brand a { text-decoration: none; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 { font-size: 14px; color: var(--on-dark); font-weight: 700; margin-bottom: 8px; }
.footer-cols a { display: block; padding: 6px 0; text-decoration: none; }
.footer-cols a:hover, .footer-brand a:hover, .footer-bottom a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: 13px; }
.footer-bottom a { text-decoration: none; }

/* ---------- mobile contact dock (phones only, appears after the hero) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; grid-template-columns: 1fr 1.4fr; background: var(--ink); border-top: 1px solid var(--dark-line); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform .25s ease; }
.dock.is-visible { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: var(--on-dark); font-size: 16px; font-weight: 700; text-decoration: none; }
.dock a + a { background: var(--accent); color: var(--ink); }

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .header-phone { display: none; }
  .viewer-grid, .factory-grid, .ps-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 920px) {
  :root { --gutter: 20px; --section: 64px; --header-h: 64px; }
  .site-header .wrap { gap: 12px; }
  .brand img { height: 30px; }
  .header-tools { margin-left: auto; gap: 8px; }
  .lang-btn { padding: 0 8px; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; background: var(--ground); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(20, 22, 25, .12); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--line-soft); color: var(--accent-text); }

  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: 1; min-height: 0; padding-block: 36px 28px; }
  .hero-media { order: 2; position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .hero-media video { object-position: 78% center; }
  .hero-media::before { width: 22%; }
  .hero-pause { right: 12px; bottom: 12px; }
  .hero > .wrap:not(.hero-inner) { order: 3; }
  .hero .hazard { order: 4; }
  .hero-copy { gap: 18px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 220px; }
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-strip > div { padding: 18px 16px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .spec-strip > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .spec-strip > div:nth-child(even) { padding-left: 16px; padding-right: 0; }
  .spec-strip > div:nth-last-child(-n+2) { border-bottom: 0; }
  .spec-strip dd { font-size: 16px; }
  .spec-strip dd .num { font-size: 28px; }

  .proof .wrap { padding-block: 28px; }
  .marquee { gap: 14px; -webkit-mask-image: none; mask-image: none; }
  .mq-track { --gap: 14px; }
  .mq-card { width: 252px; }
  .mq-body { padding: 14px 14px 16px; }
  .mq-body strong { font-size: 16px; }
  .case-foot { margin-top: 20px; }
  .wecom img { width: 104px; height: 104px; }
  .proof ul { flex-basis: 100%; }

  .sh { margin-bottom: 28px; }

  /* horizontal snap rows keep the phone page short */
  .card-row { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter); }
  .card-row > * { scroll-snap-align: start; }
  .mount-body { padding: 20px; gap: 12px; }

  .viewer-stage iframe { height: 1060px; }
  .steps { gap: 24px 20px; }
  .steps .num { font-size: 32px; }
  .safety { padding: 28px 22px; }
  .inquiry { padding: 28px 20px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .dock { display: grid; }
  body.has-dock { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .steps { gap: 22px 16px; }
  .steps .num { font-size: 28px; }
  .steps strong { font-size: 18px; }
  .steps span:last-child { font-size: 14px; line-height: 1.7; }
  .inquiry-grid { grid-template-columns: minmax(0, 1fr); }
  .factory-facts dd { font-size: 15px; }
  .viewer-load { font-size: 15px; padding: 0 18px; }
}

/* =====================================================================
   Document center (resources) — shares the header, footer and tokens above
   ===================================================================== */
.rs-hero { position: relative; background: #ffffff; border-bottom: 1px solid var(--line); overflow: hidden; }
.rs-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; min-height: 560px; }
.rs-hero-copy { display: flex; flex-direction: column; gap: 22px; padding-block: 48px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.rs-hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.16; font-weight: 800; letter-spacing: -.01em; }
.rs-search { display: flex; align-items: stretch; max-width: 560px; border: 1.5px solid var(--ink); background: var(--paper); }
.rs-search svg { flex: none; align-self: center; margin-left: 16px; color: var(--muted); }
.rs-search input { flex: 1; min-width: 0; min-height: 56px; padding: 0 12px; border: 0; background: transparent; font-size: 16px; }
.rs-search input:focus { outline: none; }
.rs-search:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.rs-search .btn { min-height: 56px; padding: 0 24px; }
.rs-hot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; color: var(--muted); margin-top: -8px; }
.rs-hot a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; background: var(--ground); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rs-hot a:hover { border-color: var(--ink); }
.rs-stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 6px; }
.rs-stats > div { display: flex; flex-direction: column; padding: 10px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.rs-stats > div:last-child { border-right: 0; margin-right: 0; }
.rs-stats dt { font-size: 13px; color: var(--muted); }
.rs-stats dd { font-size: 15px; font-weight: 700; }
.rs-stats .num { font-size: 36px; line-height: 1.1; margin-right: 4px; }

/* cover wall: three columns drifting up and down */
.rs-wall { position: relative; align-self: stretch; height: 560px; }
.rs-wall-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; height: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.rs-wall-col { min-width: 0; }
.rs-wall-track { --gap: 14px; display: flex; flex-direction: column; gap: var(--gap); animation: wall-run var(--dur, 48s) linear infinite; }
.rs-wall-col[data-dir="down"] .rs-wall-track { animation-direction: reverse; }
.rs-wall-col:hover .rs-wall-track, .rs-wall.is-paused .rs-wall-track, .rs-wall.is-offscreen .rs-wall-track { animation-play-state: paused; }
@keyframes wall-run { from { transform: translateY(0); } to { transform: translateY(calc(-50% - var(--gap) / 2)); } }
.rs-tile { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); text-decoration: none; box-shadow: 0 8px 22px rgba(20, 22, 25, .08); }
.rs-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--line-soft); }
.rs-tile span { display: block; padding: 9px 11px 11px; font-size: 13px; line-height: 1.45; font-weight: 700; }
.rs-tile b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; }
.rs-tile small { display: block; margin-bottom: 2px; font-family: var(--num); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent-text); }
.rs-tile:hover { border-color: var(--ink); }
.wall-toggle { position: absolute; right: 0; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; background: rgba(20, 22, 25, .82); color: #f4f3ef; font-size: 13px; cursor: pointer; }
.wall-toggle[aria-pressed="true"] .hp-icon { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* featured: one large card + three row cards */
.rs-feat-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.rs-feat-side { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* catalogue */
.rs-catalog { padding-top: 72px; }
.rs-toolbar { position: sticky; top: var(--header-h); z-index: 20; display: flex; flex-direction: column; gap: 14px; margin: 0 calc(var(--gutter) * -1) 8px; padding: 14px var(--gutter); background: rgba(244, 243, 239, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.rs-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-cats button { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border: 1px solid #bdb9af; background: var(--paper); font-size: 15px; cursor: pointer; white-space: nowrap; }
.rs-cats button:hover { border-color: var(--ink); }
.rs-cats button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.rs-cats .count { font-family: var(--num); font-weight: 600; font-size: 16px; opacity: .75; }
.rs-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.rs-find { display: flex; align-items: center; flex: 1 1 280px; max-width: 420px; min-height: 44px; border: 1px solid #a9a59b; background: var(--paper); }
.rs-find svg { flex: none; margin-left: 12px; color: var(--muted); }
.rs-find input { flex: 1; min-width: 0; min-height: 42px; padding: 0 10px; border: 0; background: transparent; font-size: 15px; }
.rs-find input:focus { outline: none; }
.rs-find:focus-within { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.rs-select { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.rs-select select { min-height: 44px; padding: 0 34px 0 12px; border: 1px solid #a9a59b; border-radius: 0; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141619' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--ink); font-size: 15px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.rs-reset { min-height: 44px; padding: 0 12px; border: 0; background: none; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rs-reset:hover { color: var(--ink); }
.rs-count { margin: 18px 0 18px; font-size: 15px; color: var(--muted); }
.rs-count strong { font-family: var(--num); font-size: 22px; color: var(--ink); margin: 0 2px; }

.rs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rs-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .2s ease; }
.rs-card[hidden] { display: none; }
.rs-card:hover { border-color: var(--ink); box-shadow: 0 14px 32px rgba(20, 22, 25, .1); }
.rs-cover { position: relative; display: block; overflow: hidden; background: var(--line-soft); }
.rs-cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.rs-card:hover .rs-cover img { transform: scale(1.05); }
.rs-cat { position: absolute; left: 14px; top: 14px; padding: 4px 10px; background: var(--ink); color: var(--on-dark); font-size: 13px; line-height: 1.5; }
.rs-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 4px; flex: 1; }
.rs-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rs-code .num { font-size: 16px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.rs-flag { flex: none; padding: 2px 8px; background: #fff1cc; color: var(--accent-text); font-size: 12px; font-weight: 700; }
.rs-body h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
.rs-body h3 a { text-decoration: none; }
.rs-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.rs-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rs-excerpt { font-size: 14px; line-height: 1.7; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rs-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.rs-meta .rs-m-cat { display: none; }
.rs-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 20px 20px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.rs-read { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; background: var(--ink); color: var(--on-dark); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.rs-read:hover { background: #2a2e33; }
.rs-dl { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid #bdb9af; background: var(--paper); text-decoration: none; white-space: nowrap; }
.rs-dl span { font-family: var(--num); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.rs-dl:hover { border-color: var(--ink); background: #fff8e3; }

/* large featured card and row cards */
.rs-card.is-big .rs-cover img { aspect-ratio: 16 / 10; }
.rs-card.is-big .rs-body { padding: 24px 28px 4px; gap: 12px; }
.rs-card.is-big h3 { font-size: 26px; line-height: 1.35; }
.rs-card.is-big .rs-excerpt { font-size: 15px; -webkit-line-clamp: 3; }
.rs-card.is-big .rs-actions { margin: 14px 28px 26px; }
.rs-card.is-row { display: grid; grid-template-columns: minmax(150px, 38%) minmax(0, 1fr); grid-template-rows: 1fr auto; }
.rs-card.is-row .rs-cover { grid-row: 1 / span 2; }
.rs-card.is-row .rs-cover img { height: 100%; aspect-ratio: auto; }
.rs-card.is-row .rs-body { padding: 16px 18px 0; gap: 6px; }
.rs-card.is-row .rs-excerpt { -webkit-line-clamp: 2; font-size: 13px; }
.rs-card.is-row .rs-actions { margin: 10px 18px 16px; padding-top: 10px; }

.rs-more-wrap[hidden] { display: none; }
.rs-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; }
.rs-more { min-width: 260px; }
.rs-empty { padding: 48px 24px; text-align: center; background: var(--paper); border: 1px dashed #bdb9af; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.rs-empty[hidden] { display: none; }
.rs-empty strong { font-size: 20px; }
.rs-empty p { color: var(--muted); }
.rs-note { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* closing call to action */
.rs-cta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.rs-cta-copy { display: flex; flex-direction: column; gap: 22px; }
.rs-cta-copy > p { color: var(--on-dark-muted); font-size: 16px; line-height: 1.8; max-width: 36em; }
.btn-line-dark { border: 1.5px solid #6b6f75; background: transparent; color: var(--on-dark); }
.btn-line-dark:hover { border-color: var(--on-dark); }
.on-dark .wecom { background: #1d2024; border-color: var(--dark-line); }
.on-dark .wecom span { color: var(--on-dark-muted); }
.on-dark .wecom img { padding: 6px; }

@media (max-width: 1100px) {
  .rs-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 36px; }
  .rs-wall-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-wall-col:nth-child(3) { display: none; }
  .rs-feat-grid { grid-template-columns: minmax(0, 1fr); }
  .rs-feat-side { grid-template-rows: none; }
  .rs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-cta-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 920px) {
  .rs-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .rs-hero-copy { padding-block: 32px 36px; gap: 18px; }
  .rs-wall { display: none; }
  .rs-search .btn { padding: 0 18px; }
  .rs-stats .num { font-size: 30px; }
  .rs-stats > div { padding-right: 18px; margin-right: 18px; }
  .rs-catalog { padding-top: 56px; }
  .rs-toolbar { position: static; margin: 0 0 4px; padding: 0; background: none; border: 0; backdrop-filter: none; }
  .rs-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .rs-cats::-webkit-scrollbar { display: none; }
  .rs-find { flex-basis: 100%; max-width: none; }
  .rs-select { flex: 1 1 0; min-width: 0; }
  .rs-select span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rs-select select { width: 100%; }
}

@media (max-width: 640px) {
  .rs-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rs-card, .rs-card.is-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; }
  .rs-card .rs-cover, .rs-card.is-row .rs-cover { grid-row: auto; margin: 14px 0 0 14px; align-self: start; }
  .rs-card .rs-cover img, .rs-card.is-row .rs-cover img { aspect-ratio: 1; height: auto; }
  .rs-cat { display: none; }
  .rs-card .rs-body, .rs-card.is-row .rs-body { padding: 12px 14px 0; gap: 4px; }
  .rs-code .num { font-size: 14px; }
  .rs-body h3, .rs-card.is-row h3 { font-size: 16px; }
  .rs-card .rs-excerpt { display: none; }
  .rs-meta { font-size: 12px; gap: 2px 10px; }
  .rs-meta .rs-m-cat { display: inline; color: var(--ink-2); }
  .rs-card .rs-actions, .rs-card.is-row .rs-actions { grid-column: 1 / -1; margin: 12px 14px 14px; padding-top: 12px; gap: 6px; }
  .rs-read, .rs-dl { min-height: 40px; padding: 0 10px; font-size: 13px; }
  .rs-dl span { font-size: 14px; }
  .rs-card.is-big { display: flex; }
  .rs-card.is-big .rs-cover { margin: 0; }
  .rs-card.is-big .rs-cover img { aspect-ratio: 16 / 10; }
  .rs-card.is-big .rs-cat { display: block; }
  .rs-card.is-big .rs-body { padding: 16px 16px 0; gap: 8px; }
  .rs-card.is-big h3 { font-size: 20px; }
  .rs-card.is-big .rs-excerpt { display: -webkit-box; font-size: 14px; }
  .rs-card.is-big .rs-meta .rs-m-cat { display: none; }
  .rs-card.is-big .rs-actions { margin: 12px 16px 16px; }
  .rs-feat-grid, .rs-feat-side { gap: 12px; }
  .rs-more { width: 100%; }
}

/* =====================================================================
   Inner pages: products, cases, solutions, FAQ, articles, 404
   ===================================================================== */
/* page hero */
.ph { position: relative; background: #ffffff; border-bottom: 1px solid var(--line); overflow: hidden; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; padding-block: 44px 56px; }
.ph-grid.is-text { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }
.ph-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ph h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.ph-lead { font-size: 17px; line-height: 1.85; color: var(--ink-2); max-width: 36em; }
.ph-media { position: relative; overflow: hidden; background: var(--line-soft); }
.ph-media img, .ph-media video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ph-media.is-wide img { aspect-ratio: 3 / 2; }
.ph-media .case-tag { left: 16px; top: 16px; }
.ph-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: linear-gradient(0deg, rgba(20, 22, 25, .72), rgba(20, 22, 25, 0)); color: #f4f3ef; font-size: 12px; }
.ph-facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 6px; }
.ph-facts > div { display: flex; flex-direction: column; padding: 10px 24px 0 0; margin-right: 24px; border-right: 1px solid var(--line); }
.ph-facts > div:last-child { border-right: 0; margin-right: 0; }
.ph-facts dt { font-size: 13px; color: var(--muted); }
.ph-facts dd { font-size: 16px; font-weight: 700; line-height: 1.5; }
.ph-facts .num { font-size: 32px; line-height: 1.1; margin-right: 4px; }
.ph-stats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ph-stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ph-stats dt { font-size: 14px; color: var(--muted); white-space: nowrap; }
.ph-stats dd { font-size: 16px; font-weight: 700; text-align: right; }
.ph-stats .num { font-size: 34px; line-height: 1; margin-right: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span, .tags a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; background: var(--ground); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); text-decoration: none; }
.tags a:hover { border-color: var(--ink); }

/* two-column body: content + sticky side */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.layout-main { min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.layout-side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.toc { background: var(--paper); border: 1px solid var(--line); padding: 18px 18px 14px; }
.toc h2 { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin-bottom: 8px; }
.toc nav { display: flex; flex-direction: column; }
.toc a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--line-soft); font-size: 14px; line-height: 1.5; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: #bdb9af; }
.toc a.is-active { color: var(--ink); font-weight: 700; border-left-color: var(--accent); }
.side-card { background: var(--ink); color: var(--on-dark); padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.side-card h2 { font-size: 18px; font-weight: 800; }
.side-card p { font-size: 14px; line-height: 1.7; color: var(--on-dark-muted); }
.side-card .btn { min-height: 46px; font-size: 15px; padding: 0 16px; }
.side-card .side-phone { font-family: var(--num); font-size: 24px; font-weight: 600; color: var(--on-dark); text-decoration: none; }
.side-card .side-qr { display: flex; gap: 12px; align-items: center; padding-top: 12px; border-top: 1px solid var(--dark-line); font-size: 13px; color: var(--on-dark-muted); line-height: 1.6; }
.side-card .side-qr img { width: 76px; height: 76px; padding: 4px; background: #fff; flex: none; image-rendering: pixelated; }
.side-links { background: var(--paper); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; }
.side-links h2 { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.side-links > a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 1.5; text-decoration: none; }
.side-links > a:last-child { border-bottom: 0; }
.side-links > a:hover { color: var(--accent-text); }
.side-links svg { flex: none; margin-top: 3px; }

/* content blocks */
.blk { scroll-margin-top: calc(var(--header-h) + 20px); }
.blk > h2 { display: flex; flex-direction: column; gap: 14px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; font-weight: 800; margin-bottom: 22px; }
.blk > h2::before { content: ""; width: 32px; height: 4px; background: var(--accent); }
.cover { overflow: hidden; background: var(--line-soft); }
.cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* long-form text (also hosts the original article markup) */
.prose { --mute: #6b7076; --bg: var(--ground); --bg-alt: #ecebe6; --blue: var(--accent-text); --sub: var(--muted); --ink-soft: var(--ink-2); --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 16px; line-height: 1.9; color: var(--ink-2); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.35; font-weight: 800; color: var(--ink); margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose > h2:first-child { margin-top: 0; }
.prose h2 .nx { font-family: var(--num); font-weight: 700; color: var(--accent-text); margin-right: 12px; }
.prose h3 { font-size: 19px; line-height: 1.45; font-weight: 800; color: var(--ink); margin-top: 34px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin-top: 26px; }
.prose p { text-wrap: pretty; }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-text); }
.prose ul, .prose ol { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 7px; height: 7px; background: var(--accent); }
.prose ol { counter-reset: ol; }
.prose ol > li { position: relative; padding-left: 40px; counter-increment: ol; }
.prose ol > li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--num); font-weight: 700; font-size: 17px; color: var(--accent-text); }
.prose ul.resource-checklist > li::before { width: 12px; height: 12px; top: .55em; left: 0; background: none; border: 2px solid var(--ink-2); }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--ground); padding: 1px 5px; border: 1px solid var(--line-soft); }
.prose sub, .prose sup { font-size: .72em; line-height: 0; }
.prose img { max-width: 100%; height: auto; }
.prose figure { margin: 30px 0 0; }
.prose figure img, .prose figure svg { display: block; max-width: 100%; height: auto; margin-inline: auto; background: #fff; border: 1px solid var(--line-soft); }
.prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose blockquote { margin: 24px 0 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--ground); }
.prose .sr-only, .prose caption.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose .ra-table, .prose .table-scroll-region, .table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.65; }
.prose table caption:not(.sr-only) { caption-side: top; text-align: left; padding: 12px 14px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.prose th, .prose td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.prose thead th { background: var(--ground); color: var(--ink); font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.prose tbody th { color: var(--ink); font-weight: 700; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose td + td, .prose th + td, .prose th + th, .prose td + th { border-left: 1px solid var(--line-soft); }
.prose .ra-table .yes { color: #1d6b3a; font-weight: 700; }
.prose .ra-table .no { color: var(--mute); }
.prose .ra-tldr { background: #fff8e3; border: 1px solid #efd58e; padding: 20px 24px; }
.prose .ra-tldr .h { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.prose .ra-tldr ul { gap: 8px; }
.prose .ra-tldr li { font-size: 15px; line-height: 1.75; }
.prose .ra-tldr li::before { content: "+"; width: auto; height: auto; top: 0; left: 0; background: none; font-family: var(--num); font-weight: 700; color: var(--accent-text); }
.prose .ra-note { padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--ground); font-size: 15px; line-height: 1.8; }
.prose .ra-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 40px; padding: 22px 24px; background: var(--ink); color: var(--on-dark-muted); }
.prose .ra-end .t { flex: 1 1 260px; font-size: 15px; line-height: 1.7; }
.prose .ra-end .t b { display: block; color: var(--on-dark); font-size: 17px; margin-bottom: 2px; }
.prose .ra-end a { color: var(--on-dark); }
.prose .rc-dl { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; background: var(--accent); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.prose .rc-dl:hover { background: #ffc233; color: var(--ink); }
.prose .rc-dl svg { width: 16px; height: 16px; flex: none; }
.prose .ra-refs { font-size: 13.5px; line-height: 1.7; color: var(--muted); gap: 6px; }
.prose .ra-refs > li { padding-left: 30px; }
.prose .ra-refs > li::before { font-size: 13px; }
.prose .ra-refs a { overflow-wrap: anywhere; }
.prose .ra-lead-note, .prose .ra-decl { font-size: 14px; line-height: 1.75; color: var(--muted); }
.prose .ra-decl { padding: 14px 18px; background: var(--ground); border: 1px solid var(--line-soft); }
.prose .ra-eq { display: flex; flex-direction: column; gap: 6px; padding: 12px 18px; background: var(--ground); border-left: 3px solid var(--accent); overflow-x: auto; }
.prose .ra-eq .eq-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.prose .ra-eq img { border: 0; background: transparent; margin: 0; }
.prose .eq-no { font-family: var(--num); color: var(--muted); flex: none; }
.prose details { border: 1px solid var(--line); background: var(--paper); }

/* parameter tables */
.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.spec-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.spec-table th { width: 30%; background: var(--ground); color: var(--ink); font-weight: 700; border-right: 1px solid var(--line-soft); }
.spec-table tr:last-child > * { border-bottom: 0; }
.spec-table thead th { width: auto; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.params { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-top: 0; background: var(--ground); }
.params > div { padding: 16px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.params > div:last-child { border-right: 0; }
.params dt { font-size: 13px; color: var(--muted); }
.params dd { font-size: 17px; font-weight: 700; color: var(--ink); }
.params .num { font-size: 22px; }
.note { margin-top: 14px; font-size: 14px; line-height: 1.75; color: var(--muted); }

/* accordions (FAQ) */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); background: transparent; }
.faq-list summary { display: flex; align-items: flex-start; gap: 14px; padding: 18px 4px; cursor: pointer; list-style: none; font-size: 17px; line-height: 1.55; font-weight: 700; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; margin: 6px 0 0 auto; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent-text); }
.faq-list .q-num { flex: none; font-family: var(--num); font-weight: 700; font-size: 16px; color: var(--accent-text); min-width: 32px; padding-top: 1px; }
.faq-list .a { padding: 0 4px 22px 46px; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }
.faq-list .a.no-num { padding-left: 4px; }
.faq-list .a > * + * { margin-top: 10px; }
.faq-list .a .hl { background: #fff1cc; padding: 0 3px; }
.faq-list .a a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* static card grids (reuse the marquee card) */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-grid .mq-card { width: auto; }
.card-grid .mq-card[hidden] { display: none; }
.mq-badge { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.5; }
.mq-badge::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.mq-meta { font-size: 13px !important; color: var(--accent-text) !important; font-weight: 700; -webkit-line-clamp: 1 !important; }

/* product overview cards */
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.prod { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--paper); border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .2s ease; }
.prod:hover { border-color: var(--ink); box-shadow: 0 14px 32px rgba(20, 22, 25, .1); }
.prod-media { position: relative; overflow: hidden; background: var(--line-soft); }
.prod-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.prod:hover .prod-media img { transform: scale(1.05); }
.prod-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; }
.prod-body .meta { font-size: 13px; font-weight: 700; color: var(--accent-text); }
.prod-body h2 { font-size: 22px; line-height: 1.35; font-weight: 800; }
.prod-body h2 a { text-decoration: none; }
.prod-body h2 a::after { content: ""; position: absolute; inset: 0; }
.prod-body p { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.prod-body .link-arrow { margin-top: auto; align-self: flex-start; font-size: 15px; }
.custom-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--paper); }
.custom-row > div { padding: 22px 22px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.custom-row > div:last-child { border-right: 0; }
.custom-row .num { font-size: 30px; line-height: 1; color: var(--accent-text); }
.custom-row strong { font-size: 18px; }
.custom-row span:last-child { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* filter chips (cases) — same look as the document-center chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips button, .chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border: 1px solid #bdb9af; background: var(--paper); font-size: 15px; cursor: pointer; white-space: nowrap; text-decoration: none; }
.chips button:hover, .chips a:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chips .count { font-family: var(--num); font-weight: 600; font-size: 16px; opacity: .75; }

/* FAQ page */
.faq-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(244, 243, 239, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.faq-nav .chips { margin: 0; padding-block: 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.faq-nav .chips::-webkit-scrollbar { display: none; }
.faq-nav .chips a.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.faq-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-block: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 72px); }
.faq-grid + .faq-grid { margin-top: 48px; }
.faq-grid-head { display: flex; flex-direction: column; gap: 8px; }
.faq-grid-head .num { font-size: 44px; line-height: 1; color: var(--accent-text); }
.faq-grid-head h2 { font-size: 26px; font-weight: 800; }
.faq-grid-head p { font-size: 14px; color: var(--muted); }
.ref-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.ref-grid > div { padding: 22px 22px 24px; border-right: 1px solid var(--line); }
.ref-grid > div:last-child { border-right: 0; }
.ref-grid h3 { display: flex; align-items: baseline; gap: 10px; font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.ref-grid h3 .num { font-size: 22px; color: var(--accent-text); }
.ref-grid ul { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ref-grid li { position: relative; padding-left: 14px; }
.ref-grid li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; background: var(--accent); }

/* site film (video cases) */
.film { background: var(--ink); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.film-player { position: relative; background: #000; }
.film-player video { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: contain; background: #000; }
.film-copy { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.film-copy .kicker { font-size: 13px; font-weight: 700; color: var(--accent); }
.film-copy h2 { font-size: 22px; font-weight: 800; color: var(--on-dark); }
.film-copy p, .film-copy li { font-size: 14.5px; line-height: 1.75; color: var(--on-dark-muted); }
.film-copy ul { display: flex; flex-direction: column; gap: 6px; }
.film-copy li { position: relative; padding-left: 16px; }
.film-copy li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--accent); }
.film-copy a { color: var(--on-dark); font-size: 14px; }

/* article page */
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.art-meta b { color: var(--ink); font-weight: 700; margin-left: 4px; }
.art-meta .num { font-size: 16px; font-weight: 600; color: var(--ink-2); letter-spacing: .04em; }
.art-dl { display: flex; flex-wrap: wrap; gap: 10px; }
.art-dl .rs-dl, .art-dl .rs-read { min-height: 48px; padding: 0 18px; font-size: 15px; }
.art-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); font-size: 14px; }
.art-tools a, .art-tools button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0; border: 0; background: none; color: var(--muted); text-decoration: none; cursor: pointer; font-size: 14px; }
.art-tools a:hover, .art-tools button:hover { color: var(--ink); }
.art-tools [role="status"] { color: var(--accent-text); font-weight: 700; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rel-grid .rs-card .rs-excerpt { -webkit-line-clamp: 2; }

/* 404 */
.err { min-height: 60vh; display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--line); }
.err .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 72px; }
.err .num { font-size: clamp(96px, 16vw, 200px); line-height: .9; color: var(--accent); }
.err h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.err p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.err .chips { margin: 24px 0 0; }

@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .layout-side { display: contents; }
  .layout-side .toc { order: -1; position: sticky; top: var(--header-h); z-index: 15; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter); border: 0; border-bottom: 1px solid var(--line); background: rgba(244, 243, 239, .97); backdrop-filter: blur(6px); }
  .layout-side .toc h2 { display: none; }
  .layout-side .toc nav { flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .layout-side .toc nav::-webkit-scrollbar { display: none; }
  .layout-side .toc a { flex: none; padding: 6px 12px; border: 1px solid var(--line); background: var(--paper); white-space: nowrap; }
  .layout-side .toc a.is-active { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
  .layout-side .side-card, .layout-side .side-links { order: 2; }
  .card-grid, .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
  .custom-row, .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-row > div:nth-child(2), .ref-grid > div:nth-child(2) { border-right: 0; }
  .custom-row > div:nth-child(-n+2), .ref-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .film { grid-template-columns: minmax(0, 1fr); }
  .params { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .params > div:nth-child(2) { border-right: 0; }
  .params > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 920px) {
  .ph-grid, .ph-grid.is-text { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 36px; }
  .ph-copy { gap: 16px; }
  .ph-lead { font-size: 16px; }
  .ph-facts .num { font-size: 26px; }
  .ph-facts > div { padding-right: 16px; margin-right: 16px; }
  .layout-main { gap: 44px; }
  .prod { grid-template-columns: minmax(0, 1fr); }
  .prod-media img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .err .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 48px; }
}

@media (max-width: 640px) {
  .card-grid, .rel-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .card-grid .mq-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .card-grid .mq-media img { aspect-ratio: 1; height: 100%; }
  .card-grid .case-tag, .card-grid .mq-badge { display: none; }
  .card-grid .mq-body { padding: 12px 14px; gap: 4px; }
  .card-grid .mq-body strong { font-size: 15.5px; }
  .custom-row, .ref-grid, .params { grid-template-columns: minmax(0, 1fr); }
  .custom-row > div, .ref-grid > div, .params > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .custom-row > div:last-child, .ref-grid > div:last-child, .params > div:last-child { border-bottom: 0; }
  .spec-table th, .spec-table td { padding: 12px 14px; }
  .spec-table th { width: 34%; }
  .prose { font-size: 15.5px; }
  .prose table { font-size: 14px; }
  .prose th, .prose td { padding: 9px 11px; }
  .faq-list summary { font-size: 16px; padding: 16px 2px; gap: 10px; }
  .faq-list .a { padding: 0 2px 18px 2px; }
  .faq-list .q-num { min-width: 28px; }
}

.ph-play { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.ph-play:hover { background: #ffc233; }
.film { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.film-player video { aspect-ratio: 9 / 16; height: auto; max-height: 620px; }
.film-link { display: block; position: relative; overflow: hidden; }
.film-link img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.film-watch { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 700; }
.film-copy h3 { font-size: 21px; font-weight: 800; color: var(--on-dark); }
.sub-h { font-size: 19px; font-weight: 800; margin: 32px 0 6px; }
.table-wrap { overflow-x: auto; }
.table-wrap .spec-table { border: 0; min-width: 560px; }
.spec-table.sel tbody th { width: 24%; }
.inline-links { padding: 0 18px; }
.doc-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 6px 0 12px; }
.doc-meta div { display: flex; flex-direction: column; gap: 2px; }
.doc-meta dt { font-size: 12px; color: var(--muted); }
.doc-meta dd { font-size: 14px; font-weight: 700; color: var(--ink); }
.doc-meta dd.num { font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.doc-card .art-dl { flex-direction: column; gap: 8px; }
.doc-card .art-dl .rs-dl { min-height: 42px; justify-content: center; }
@media (max-width: 1100px) {
  .layout-side .doc-card { order: 1; }
}
@media (max-width: 640px) {
  .film { grid-template-columns: minmax(0, 1fr); }
  .film-player video { max-height: 70vh; width: auto; margin: 0 auto; }
  .ph-play { right: 10px; bottom: 10px; }
}

@media print {
  .site-header, .site-footer, .dock, .layout-side, .art-tools, .on-dark, .hazard, .skip-link, .faq-nav { display: none !important; }
  .ph-grid { grid-template-columns: minmax(0, 1fr); padding-block: 0 16px; }
  .ph-media { display: none; }
  .layout { display: block; }
  body { background: #fff; }
  .prose .ra-table, .prose .table-scroll-region { overflow: visible; }
  html.reveal-on [data-reveal]:not(.is-in) { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   Motion: hero entrance, scroll reveal. Content is visible without JS,
   and everything stands still for visitors who ask for reduced motion.
   ===================================================================== */
html.js [data-intro] { opacity: 0; transform: translateY(18px); animation: intro-in .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes intro-in { to { opacity: 1; transform: none; } }
html.reveal-on [data-reveal] { transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1), border-color .2s ease, box-shadow .2s ease; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
html.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }

@media (prefers-reduced-motion: reduce) {
  html.js [data-intro] { opacity: 1; transform: none; animation: none; }
  html.reveal-on [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .hazard, .mq-track, .rs-wall-track { animation: none; }
  .mq-row { overflow-x: auto; scrollbar-width: thin; }
  .mq-card[aria-hidden="true"], .rs-tile[data-dup] { display: none; }
  .mq-toggle, .wall-toggle { display: none; }
  .mq-media img, .mount-media img, .rs-cover img { transition: none; }
  .mq-card:hover .mq-media img, .mount-card:hover .mount-media img, .rs-card:hover .rs-cover img { transform: none; }
}

/* ================= en / ja / ru ================= */
.main-nav a { white-space: nowrap; }
html:not(:lang(zh)) .main-nav { gap: 4px 22px; }
html:lang(ru) .main-nav { gap: 4px 18px; font-size: 14px; }
html:lang(ja) .main-nav { gap: 4px 20px; font-size: 14px; }
html:lang(ru) .header-cta, html:lang(ja) .header-cta { padding: 0 14px; font-size: 14px; }
html:not(:lang(zh)) .btn { text-align: center; }
html:lang(en) h1, html:lang(ru) h1 { word-break: normal; overflow-wrap: break-word; hyphens: manual; }
html:lang(ja) h1, html:lang(ja) .prod-body h2 { word-break: normal; line-break: strict; overflow-wrap: anywhere; text-wrap: balance; }
html:lang(en) .hero h1 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.1; letter-spacing: -.015em; }
html:lang(ru) .hero h1 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.12; letter-spacing: -.01em; }
html:lang(en) .ph h1, html:lang(en) .rs-hero h1 { letter-spacing: -.012em; }
html:lang(ru) .ph h1, html:lang(ru) .rs-hero h1 { font-size: clamp(30px, 3.5vw, 46px); }
html:lang(ja) .hero h1 { font-size: clamp(30px, 3.9vw, 52px); line-height: 1.22; }
html:lang(ja) .ph h1, html:lang(ja) .rs-hero h1 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.26; }
html:not(:lang(zh)) .sh h2 { font-size: clamp(26px, 3vw, 40px); }
html:lang(ja) body { line-break: strict; }
@media (max-width: 1480px) {
  html:lang(ru) .header-phone { display: none; }
}
@media (max-width: 1240px) {
  html:lang(ja) .header-phone { display: none; }
}
@media (max-width: 1100px) and (min-width: 921px) {
  html:lang(ru) .header-cta, html:lang(ja) .header-cta, html:lang(en) .header-cta { display: none; }
}
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3, html:lang(ja) .lead, html:lang(ja) p { word-break: auto-phrase; }
html:not(:lang(zh)) .mq-media .case-tag { max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(:lang(zh)) .mq-media:has(.mq-badge) .case-tag { max-width: calc(100% - 150px); }
html:not(:lang(zh)) .btn, html:not(:lang(zh)) .header-cta { text-wrap: balance; }
html:lang(ja) .btn { line-height: 1.4; padding-top: 10px; padding-bottom: 10px; }
