/* NY Ventilation · v3
   Layout concept: a working spec sheet. Galvanized-steel neutrals, blueprint grid,
   one safety-red action colour, brass for proof points. Light + dark, EN + 中文. */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(fonts/barlow-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); }

:root {
  --bg: #e8e6e0; --bg-2: #dedcd4; --surface: #f4f3ee; --surface-2: #eceae4;
  --ink: #15171a; --ink-2: #393d43; --muted: #5a5e65; --line: rgba(21, 23, 26, .14); --line-2: rgba(21, 23, 26, .24);
  --red: #bf111e; --red-hover: #9c0d18; --on-red: #ffffff; --red-btn: #bf111e; --red-btn-hover: #9c0d18;
  --brass: #6f5414; --brass-fill: #c8a24c; --on-brass: #15171a;
  --blueprint: rgba(40, 88, 128, .11); --route: #d2471c;
  --band: #121417; --band-2: #1b1e22; --on-band: #eef0ec; --on-band-2: #b9bdbf;
  --shadow: 0 20px 50px rgba(20, 22, 26, .10); --shadow-sm: 0 6px 18px rgba(20, 22, 26, .08);
  --ok: #1d7a46; --err: #b3261e;
  --display: "Barlow Condensed", "Arial Narrow", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --body: "Barlow", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 14px; --r-sm: 9px; --shell: 1240px; --head: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1113; --bg-2: #14171a; --surface: #1a1d21; --surface-2: #22262b;
    --ink: #eef0ec; --ink-2: #ccd0cc; --muted: #9da3a8; --line: rgba(238, 240, 236, .12); --line-2: rgba(238, 240, 236, .22);
    --red: #f0566a; --red-hover: #ff7383; --on-red: #ffffff; --red-btn: #c8202f; --red-btn-hover: #a91a27; --brass: #d9b866; --brass-fill: #d9b866; --on-brass: #15171a;
    --blueprint: rgba(120, 175, 225, .08); --route: #ff7a3d; --band: #08090a; --band-2: #15181b;
    --shadow: 0 20px 50px rgba(0, 0, 0, .45); --shadow-sm: 0 6px 18px rgba(0, 0, 0, .35); --ok: #4cc382; --err: #ff7a6e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1113; --bg-2: #14171a; --surface: #1a1d21; --surface-2: #22262b;
  --ink: #eef0ec; --ink-2: #ccd0cc; --muted: #9da3a8; --line: rgba(238, 240, 236, .12); --line-2: rgba(238, 240, 236, .22);
  --red: #f0566a; --red-hover: #ff7383; --on-red: #ffffff; --red-btn: #c8202f; --red-btn-hover: #a91a27; --brass: #d9b866; --brass-fill: #d9b866; --on-brass: #15171a;
  --blueprint: rgba(120, 175, 225, .08); --route: #ff7a3d; --band: #08090a; --band-2: #15181b;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45); --shadow-sm: 0 6px 18px rgba(0, 0, 0, .35); --ok: #4cc382; --err: #ff7a6e; color-scheme: dark;
}

/* ---------- language switching: both languages ship in the markup ---------- */
html[data-lang="zh"] [data-l="en"] { display: none !important; }
html:not([data-lang="zh"]) [data-l="zh"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; transition: background .35s, color .35s; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass-fill); outline-offset: 3px; border-radius: 4px; }
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip:focus { top: 12px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance; }
html[data-lang="zh"] h1, html[data-lang="zh"] h2, html[data-lang="zh"] h3 { line-height: 1.18; letter-spacing: .01em; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--brass); font: 700 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.lede { max-width: 60ch; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: clamp(40px, 5.2vw, 76px); }
.section-head p { color: var(--ink-2); max-width: 52ch; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: 999px; font: 700 16px/1 var(--body); letter-spacing: .02em; cursor: pointer; transition: transform .35s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .35s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red-btn); color: var(--on-red); box-shadow: 0 10px 24px color-mix(in srgb, var(--red-btn) 28%, transparent); }
.btn-red:hover { background: var(--red-btn-hover); transform: translateY(-2px); }
.btn-line { border-color: var(--line-2); background: transparent; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { min-height: 60px; padding: 14px 28px; font-size: 18px; }
.btn.is-busy { pointer-events: none; opacity: .75; }
.btn.is-busy::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 700; color: var(--red); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.scroll-progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; z-index: 61; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.head-row { display: flex; align-items: center; gap: 18px; height: var(--head); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--ink); color: var(--bg); font: 800 19px/1 var(--display); letter-spacing: -.02em; }
.brand-mark i { color: var(--red-btn); font-style: normal; }
:root[data-theme="dark"] .brand-mark i { color: #c8202f; }
.brand-name { font: 800 21px/.95 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.brand-name small { display: block; margin-top: 4px; font: 600 10.5px/1 var(--body); letter-spacing: .2em; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { white-space: nowrap; position: relative; padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav a.nav-est { color: var(--red); }
.head-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.seg button { white-space: nowrap; min-width: 44px; height: 34px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; transition: transform .4s var(--ease); }
.icon-btn:hover { transform: rotate(-18deg); }
.icon-btn svg { width: 19px; height: 19px; }
[data-theme-toggle] .i-moon { display: none; }
[data-theme-toggle][aria-pressed="true"] .i-sun { display: none; }
[data-theme-toggle][aria-pressed="true"] .i-moon { display: block; }
.head-phones { display: grid; gap: 2px; padding-left: 12px; border-left: 1px solid var(--line); font: 700 15px/1.15 var(--body); font-variant-numeric: tabular-nums; }
.head-phones a { white-space: nowrap; display: flex; gap: 7px; align-items: baseline; }
.head-phones a span { color: var(--brass); font-size: 10.5px; letter-spacing: .1em; min-width: 22px; }
.head-phones a:hover { color: var(--red); }
.menu-btn { display: none; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(90% 80% at 30% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(90% 80% at 30% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(54px, 7.4vw, 112px); }
html[data-lang="zh"] .hero h1 { font-size: clamp(46px, 6.2vw, 92px); }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { margin-top: 22px; }
.hero-route { position: absolute; right: -40px; top: 40px; width: 52%; height: 90%; pointer-events: none; opacity: .5; }
.hero-route path { fill: none; stroke: var(--route); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 0; }
.js .hero-route path { animation: draw 2.6s var(--ease) .2s both; }
@keyframes draw { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }

.quick { margin-top: 30px; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); max-width: 620px; }
.quick label { display: block; padding: 8px 12px 0; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.quick-row { display: flex; gap: 8px; align-items: flex-end; }
.quick textarea { flex: 1; min-width: 0; min-height: 58px; max-height: 160px; padding: 10px 12px; border: 0; background: transparent; resize: vertical; font-size: 17px; line-height: 1.45; }
.quick textarea:focus { outline: none; }
.quick:focus-within { border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 8px 6px; }
.chip { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s, transform .25s var(--ease); }
.chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.hero-calls { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-calls a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 2px solid var(--line-2); padding-block: 8px 3px; }
.hero-calls a:hover { border-color: var(--red); color: var(--red); }
.hero-calls svg { width: 17px; height: 17px; }

.hero-media { position: relative; }
.frame { position: relative; overflow: hidden; border-radius: 22px; background: var(--band); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.frame-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 14px; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255, 77, 77, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }
.vid-btn { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; display: grid; place-items: center; }
.vid-btn svg { width: 14px; height: 14px; }
.vid-btn .i-play { display: none; }
.vid-btn[data-state="paused"] .i-play { display: block; }
.vid-btn[data-state="paused"] .i-pause { display: none; }
.float { position: absolute; z-index: 3; display: grid; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); }
.float b { font: 800 30px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.float span { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.float-a { left: -22px; top: 12%; }
.float-b { right: -16px; top: 46%; }
.js .float { animation: bob 6s ease-in-out infinite; }
.js .float-b { animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- proof strip + areas marquee ---------- */
.proof { border-block: 1px solid var(--line); background: var(--surface); }
.proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-row > div { padding: 22px 20px; border-left: 1px solid var(--line); }
.proof-row > div:first-child { border-left: 0; padding-left: 0; }
.proof b { display: block; font: 800 clamp(30px, 3.2vw, 44px)/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.proof span { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: .03em; }
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.marquee-track { display: flex; gap: 48px; width: max-content; padding-block: 14px; font: 700 15px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); animation: slide 38s linear infinite; }
.marquee-track > span::after { content: "◆"; margin-left: 48px; color: var(--brass-fill); font-size: 10px; vertical-align: 2px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--surface-2); color: var(--red); }
.svc-ico svg { width: 28px; height: 28px; }
.svc h3 { font-size: 30px; }
html[data-lang="zh"] .svc h3 { font-size: 26px; }
.svc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; color: var(--ink-2); font-size: 15.5px; }
.svc li { display: flex; gap: 10px; align-items: baseline; }
.svc li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--brass-fill); transform: translateY(-2px); }
.svc .link-arrow { margin-top: auto; padding-top: 6px; }
.svc-code { position: absolute; top: 24px; right: 22px; font: 600 12px/1 var(--mono); color: var(--muted); }

/* ---------- estimate band (dark in both themes) ---------- */
.band { position: relative; overflow: hidden; background: var(--band); color: var(--on-band); }
.band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(120, 175, 225, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 175, 225, .07) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.band .eyebrow { color: #d9b866; }
.band h2 { color: #fff; }
.band p { color: var(--on-band-2); }
.band-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.band-grid h2 { font-size: clamp(42px, 5.4vw, 80px); }
.band-steps { display: grid; gap: 14px; margin: 30px 0 34px; padding: 0; list-style: none; counter-reset: s; }
.band-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; counter-increment: s; }
.band-steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; font: 800 20px/1 var(--display); color: #d9b866; }
.band-steps b { display: block; color: #fff; font-size: 18px; }
.band-steps span { color: var(--on-band-2); font-size: 15.5px; }
.mock { position: relative; padding: 26px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; background: var(--band-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.mock-type { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 15.5px; color: #e9ebe7; min-height: 52px; }
.mock-type .caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; background: #d9b866; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.mock-tags span { padding: 6px 11px; border-radius: 999px; background: rgba(217, 184, 102, .14); color: #e8d29a; font-size: 13.5px; font-weight: 600; }
.mock-card { padding: 18px; border-radius: 14px; background: #f4f3ee; color: #15171a; }
.mock-card small { display: block; color: #5a5e65; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mock-card .mock-price { margin: 6px 0 10px; height: 34px; width: 70%; border-radius: 8px; background: linear-gradient(90deg, #dedcd4 25%, #ecebe5 50%, #dedcd4 75%); background-size: 200% 100%; animation: shimmer 1.8s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.mock-card .mock-btn { display: inline-flex; padding: 10px 16px; border-radius: 999px; background: #bf111e; color: #fff; font-weight: 700; font-size: 14px; }

/* ---------- showroom preview ---------- */
.ba-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 18px; align-items: stretch; }
.ba { position: relative; overflow: hidden; border-radius: 20px; background: var(--band); aspect-ratio: 4 / 3; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.ba .ba-after { opacity: 0; transform: scale(1.04); }
.ba[data-show="after"] .ba-after { opacity: 1; transform: none; }
.ba[data-show="after"] .ba-before { opacity: 0; }
.ba-ctl { position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(10, 10, 12, .62); backdrop-filter: blur(8px); }
.ba-ctl button { padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.ba-ctl button[aria-pressed="true"] { background: #fff; color: #15171a; }
.ba-cap { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-weight: 600; font-size: 14px; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.side-shots { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.side-shots a { position: relative; overflow: hidden; border-radius: 20px; background: var(--band); min-height: 140px; }
.side-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.side-shots a:hover img { transform: scale(1.05); }
.side-shots a > span { white-space: nowrap; position: absolute; left: 14px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 13.5px; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.steps li { padding: 24px 22px 8px 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps b { display: block; font: 800 46px/1 var(--display); color: var(--red); }
.steps h3 { margin: 14px 0 8px; font-size: 26px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- why us ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.why-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--band); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.why-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.why-list svg { width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }
.why-list b { color: var(--ink); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); font-size: 20px; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); max-width: 70ch; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.call-card { padding: 28px; border-radius: 20px; background: var(--band); color: var(--on-band); }
.call-card a { display: block; }
.call-card small { display: block; color: #d9b866; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.call-card strong { display: block; margin: 4px 0 18px; font: 800 clamp(40px, 4.4vw, 58px)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.call-card a:hover strong { color: #ff8090; }
.call-card .mail { display: inline-block; margin-top: 2px; padding-block: 8px; color: var(--on-band-2); font-weight: 600; }
.wechat { display: flex; gap: 16px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.wechat img { width: 96px; height: 96px; padding: 6px; border-radius: 10px; background: #fff; }
.wechat p { color: var(--on-band-2); font-size: 15px; }
.wechat b { display: block; color: #fff; }
.form-card { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.form-card h3, .form-card .form-h { font-size: 34px; margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass-fill) 30%, transparent); }
.was-validated :invalid { border-color: var(--err); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.form-foot small { color: var(--muted); font-size: 13.5px; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.form-status.is-ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.form-status.is-err { background: color-mix(in srgb, var(--err) 14%, transparent); color: var(--err); }
.hp { position: absolute; left: -9999px; }

/* ---------- footer + dock ---------- */
.site-footer { padding-block: 56px 110px; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h4, .foot-grid .foot-h { margin-bottom: 14px; font-size: 18px; line-height: 1.1; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.foot-grid a { display: inline-block; padding-block: 5px; }
.foot-grid a:hover { color: var(--red); }
.foot-base a { display: inline-block; padding: 6px 2px; }
.foot-grid p { color: var(--ink-2); font-size: 15px; max-width: 40ch; margin-top: 14px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
.show-dock .dock { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.dock a { flex: 1; display: grid; place-items: center; min-height: 48px; border-radius: 12px; font-weight: 700; font-size: 14.5px; border: 1px solid var(--line-2); text-align: center; line-height: 1.15; }
.dock a.dock-red { background: var(--red-btn); color: var(--on-red); border-color: transparent; }

/* ---------- reveal motion (content stays visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- estimator ---------- */
.est-page { padding-block: clamp(28px, 4vw, 56px) clamp(72px, 8vw, 120px); }
.est-head { max-width: 760px; margin-bottom: 26px; }
.est-head h1 { font-size: clamp(46px, 6vw, 84px); }
.est-head p { margin-top: 14px; color: var(--ink-2); }
.est-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.est-card { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.est-progress { display: flex; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.est-progress li { flex: 1; display: grid; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.est-progress li::before { content: ""; height: 5px; border-radius: 99px; background: var(--surface-2); transition: background .4s var(--ease); }
.est-progress li.is-on::before { background: var(--red); }
.est-progress li.is-on { color: var(--ink); }
.est-card h2 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 10px; }
.est-card > [data-step] > p { color: var(--ink-2); }
.est-text { width: 100%; min-height: 170px; margin-top: 16px; padding: 16px 18px; border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--bg); font-size: 18px; line-height: 1.5; resize: vertical; }
.est-text:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass-fill) 30%, transparent); }
.est-ex { margin-top: 12px; }
.est-ex > span { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.est-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.btn-text { border: 0; background: none; color: var(--muted); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 10px 4px; }
.err { color: var(--err); font-weight: 600; margin-top: 10px; }
.found { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-weight: 700; font-size: 14.5px; }
.est-group { margin-top: 18px; }
.est-group h4 { font-size: 18px; color: var(--brass); margin-bottom: 8px; letter-spacing: .04em; }
.est-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.est-name { font-weight: 600; }
.est-qty { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.est-qty input { width: 76px; min-height: 42px; padding: 8px 10px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--bg); text-align: right; font-variant-numeric: tabular-nums; }
.est-qty-fixed { color: var(--muted); }
.est-x { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; color: var(--muted); }
.est-x:hover { border-color: var(--err); color: var(--err); }
.est-add { margin-top: 14px; width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: transparent; font-weight: 600; }
.est-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 2px solid var(--ink); }
.est-details h3 { grid-column: 1 / -1; font-size: 24px; }
.check { display: flex; gap: 10px; align-items: center; min-height: 50px; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--red); }
.result { border-radius: 18px; border: 1.5px solid var(--line-2); overflow: hidden; }
.result-top { padding: 22px 24px; background: var(--band); color: var(--on-band); }
.result-top small { display: block; color: #d9b866; font: 600 13px/1 var(--mono); letter-spacing: .04em; }
.result-top h3 { margin-top: 10px; font-size: 26px; color: #fff; }
.result-price { margin-top: 8px; font: 800 clamp(44px, 6vw, 72px)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.result-price.is-collect { font-size: clamp(30px, 3.6vw, 42px); color: #e8d29a; }
.result-body { padding: 22px 24px; display: grid; gap: 16px; }
.result-body h4 { font-size: 17px; color: var(--brass); letter-spacing: .05em; }
.result-body ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.result-body .note { color: var(--muted); font-size: 14.5px; }
.demo-flag { padding: 10px 14px; border-radius: 10px; background: #fff3c4; color: #5c4600; font-weight: 700; font-size: 14px; }
.est-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--head) + 20px); }
.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.aside-card h3 { font-size: 22px; margin-bottom: 10px; }
.aside-card p, .aside-card li { color: var(--ink-2); font-size: 15px; }
.aside-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.aside-call { background: var(--band); color: var(--on-band); border-color: transparent; }
.aside-call h3 { color: #fff; }
.aside-call a { display: block; margin-top: 6px; font: 800 30px/1.1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.aside-call small { color: #d9b866; font-weight: 700; font-size: 12px; letter-spacing: .1em; }
.sent { text-align: center; padding: 30px 10px; }
.sent svg { width: 64px; height: 64px; color: var(--ok); margin: 0 auto 14px; }

/* ---------- showroom page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
.work { position: relative; overflow: hidden; border-radius: 18px; background: var(--band); aspect-ratio: 4 / 3; cursor: zoom-in; border: 0; padding: 0; text-align: left; color: #fff; }
.work.is-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 420px; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover img { transform: scale(1.05); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .78)); }
.work-meta { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; }
.work-meta small { display: block; color: #e8d29a; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.work-meta b { display: block; margin-top: 4px; font: 800 24px/1 var(--display); text-transform: uppercase; }
html[data-lang="zh"] .work-meta b { line-height: 1.25; }
.work.is-big .work-meta b { font-size: 38px; }
.work-count { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 11px; border-radius: 999px; background: #d9b866; color: #15171a; font-weight: 800; font-size: 13px; }
.work[hidden] { display: none; }
.viewer { width: min(1120px, calc(100% - 20px)); max-height: calc(100dvh - 20px); padding: 0; border: 0; border-radius: 18px; background: #0b0c0e; color: #fff; }
.viewer::backdrop { background: rgba(5, 5, 7, .86); }
.v-top, .v-bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 14px 18px; }
.v-top b { font: 800 20px/1.1 var(--display); text-transform: uppercase; }
.v-count { color: #d9b866; font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 10px; }
.v-stage { position: relative; display: grid; place-items: center; background: #000; touch-action: pan-y; }
.v-stage img { max-height: calc(100dvh - 210px); object-fit: contain; }
.v-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .5); color: #fff; font-size: 28px; cursor: pointer; }
.v-nav:hover { background: var(--red-btn); }
.v-prev { left: 12px; } .v-next { right: 12px; }
.v-close { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; font-weight: 700; }
.v-bot p { color: #cfcdc6; font-size: 15px; }

/* ---------- landing pages ---------- */
.lp-hero { padding-block: clamp(32px, 5vw, 70px); }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.lp-grid h1 { font-size: clamp(48px, 6.4vw, 96px); }
.ticks { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-weight: 600; color: var(--ink-2); }
.ticks svg { width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }
.lp-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-photos figure { margin: 0; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 5; background: var(--band); position: relative; }
.lp-photos img { width: 100%; height: 100%; object-fit: cover; }
.lp-photos figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1520px) { .head-phones { display: none; } }
@media (max-width: 1180px) {
  .nav { display: none; }
  .head-phones { display: none; }
  .menu-btn { display: grid; }
  .mobile-menu { display: block; position: fixed; inset: calc(var(--head) + env(safe-area-inset-top, 0px)) 0 auto; z-index: 49; max-height: 0; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); visibility: hidden; transition: max-height .55s var(--ease), visibility 0s linear .55s; }
  .mobile-menu.is-open { max-height: calc(100dvh - var(--head)); overflow: auto; visibility: visible; transition: max-height .55s var(--ease), visibility 0s; }
  body.menu-open { overflow: hidden; }
  .mobile-menu nav { display: grid; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 22px; }
  .mobile-menu a { padding: 16px 0; border-bottom: 1px solid var(--line); font: 800 26px/1 var(--display); text-transform: uppercase; }
  .mobile-menu .mm-calls { display: grid; gap: 10px; margin-top: 18px; }
  .mobile-menu .mm-calls a { border: 0; padding: 14px 16px; border-radius: 12px; background: var(--red-btn); color: #fff; font: 700 18px/1 var(--body); text-transform: none; }
  .mobile-menu .mm-calls a + a { background: var(--ink); color: var(--bg); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .est-wrap { grid-template-columns: 1fr; }
  .est-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero-grid, .band-grid, .ba-wrap, .why, .contact-grid, .lp-grid, .section-head { grid-template-columns: 1fr; }
  .hero-route { display: none; }
  .frame { aspect-ratio: 4 / 3; }
  .float-a { left: 10px; top: 10px; } .float-b { right: 10px; top: auto; bottom: 70px; }
  .side-shots { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .side-shots a { aspect-ratio: 4 / 3; min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof-row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dock { display: flex; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name small { display: none; }
  .head-tools > .btn-red { display: none; }
  .head-row { gap: 10px; }
  .brand-name { font-size: 18px; }
  .icon-btn { width: 40px; height: 40px; }
  .seg button { min-width: 38px; padding: 0 8px; }
  .svc-grid, .fields, .est-details, .est-aside, .steps, .lp-photos { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; }
  .quick-row { flex-direction: column; align-items: stretch; }
  .quick .btn { width: 100%; }
  .work-grid { grid-template-columns: 1fr; }
  .work.is-big { grid-column: auto; grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .foot-grid { grid-template-columns: 1fr; }
  .est-row { grid-template-columns: minmax(0, 1fr) auto 36px; }
  .est-qty input { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
@media print {
  .site-header, .site-footer, .dock, .est-aside, .est-progress, .est-actions, .scroll-progress, [data-step]:not([data-step="3"]) { display: none !important; }
  body { background: #fff; color: #000; }
  .est-card { box-shadow: none; border: 0; }
}

/* ---------- cookie bar ---------- */
.cookie-bar { position: fixed; z-index: 70; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 720px; margin-inline: auto; display: grid; gap: 14px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); animation: up .5s var(--ease); }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.cookie-bar p { font-size: 15px; color: var(--ink-2); }
.cookie-bar a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
[hidden] { display: none !important; }
.cookie-opts { display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.cookie-opts input { width: 18px; height: 18px; accent-color: var(--red); vertical-align: -3px; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookie-btns .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
@media (max-width: 600px) { .cookie-bar { gap: 10px; padding: 14px 16px; } .cookie-bar p { font-size: 14px; } .cookie-btns { justify-content: stretch; } .cookie-btns .btn { flex: 1; padding: 8px 10px; } }
.show-dock .cookie-bar { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
html[data-price="live"] [data-when="collect"], html:not([data-price="live"]) [data-when="live"] { display: none !important; }

/* ---------- landing pages: call button in the header ---------- */
.head-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--red-btn); color: var(--on-red); font: 700 15px/1 var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.head-call svg { width: 16px; height: 16px; }
.head-call:hover { background: var(--red-btn-hover); }
@media (max-width: 600px) { .head-call .hc-num { display: none; } .head-call { padding: 8px 14px; } }
@media (max-width: 430px) { .head-row:has(.head-call) .brand-name { display: none; } }
html[data-lang="zh"] .head-call[data-l="en"], html:not([data-lang="zh"]) .head-call[data-l="zh"] { display: none; }

/* ---------- form extras: hint text, file inputs ---------- */
.field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.field input[type="file"] { padding: 10px; min-height: 48px; font-size: 14px; }
.field input[type="file"] + input[type="file"] { margin-top: 8px; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
@media (max-width: 380px) { .brand-name { display: none; } .head-row { gap: 8px; } }
.side-shots > a { min-width: 0; overflow: hidden; }

/* ---------- native dropdown lists: readable in light and dark ---------- */
select option, select optgroup { background-color: var(--surface); color: var(--ink); }
select optgroup { font-weight: 700; color: var(--ink); }
select option:disabled { color: var(--muted); }
input, select, textarea { color-scheme: inherit; }
:root[data-theme="dark"] input, :root[data-theme="dark"] select, :root[data-theme="dark"] textarea { color-scheme: dark; }
:root[data-theme="light"] input, :root[data-theme="light"] select, :root[data-theme="light"] textarea { color-scheme: light; }
.found { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; }
.found svg { width: 22px; height: 22px; flex: none; color: var(--ok); }

/* ---------- supply shop ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.shop-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.shop-hero h1 { font-size: clamp(48px, 6.6vw, 100px); }
.shop-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pickup-card { padding: 26px; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.pickup-card h2 { font-size: 30px; margin-bottom: 12px; }
.pickup-card p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; }
.pickup-card a { text-decoration: underline; text-underline-offset: 3px; }
.pickup-addr { font: 700 22px/1.2 var(--body) !important; color: var(--ink) !important; }
.pickup-note { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.shop-photo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.shop-photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--surface-2); }
.shop-tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.shop-tools .chips { padding: 0; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.shop-search { flex: 1 1 260px; max-width: 380px; }
.shop-search input { width: 100%; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.shop-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass-fill) 30%, transparent); }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.p-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.p-img { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); }
.p-img { overflow: hidden; }
.p-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-img-draw img { object-fit: contain; padding: 18px; }
:root[data-theme="dark"] .p-img-draw img { filter: invert(1) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .p-img-draw img { filter: invert(1) hue-rotate(180deg); } }
.p-tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.p-tag-stock { background: var(--brass-fill); color: var(--on-brass); }
.p-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px; }
.p-body h3 { font-size: 24px; line-height: 1; }
.p-body p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.p-lab { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 13px; color: var(--muted); }
.p-body select, .p-qty input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--bg); }
.p-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-price { font: 800 22px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.p-price.is-quote { color: var(--brass); font-size: 20px; }
.p-qty { width: 86px; flex: none; }
.p-add { width: 100%; min-height: 48px; }
.p-add-b { display: none; }
.p-add.is-added .p-add-a { display: none; }
.p-add.is-added .p-add-b { display: inline; }
.shop-none { padding: 28px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line-2); border-radius: 16px; }
.shop-special { background: var(--surface); border-block: 1px solid var(--line); }
.special-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.special-grid h2 { font-size: clamp(40px, 5vw, 72px); }
.pickup-how .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cart-fab { position: fixed; right: 18px; bottom: calc(18px + var(--fab-lift, 0px) + env(safe-area-inset-bottom, 0px)); z-index: 45; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 16px/1 var(--body); box-shadow: var(--shadow); cursor: pointer; }
.cart-fab b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--red-btn); color: #fff; font-variant-numeric: tabular-nums; }
@media (max-width: 920px) { .show-dock .cart-fab { bottom: calc(88px + var(--fab-lift, 0px) + env(safe-area-inset-bottom, 0px)); transition: bottom .45s var(--ease); } }
.cart-fab.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.cart { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.cart::backdrop { background: rgba(10, 12, 14, .55); }
.cart-in { padding: 22px; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cart-head h2 { font-size: 34px; }
.cart .v-close { border-color: var(--line-2); color: var(--ink); }
.cart-empty { color: var(--ink-2); }
.c-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-line img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.c-line b { display: block; font-size: 15px; line-height: 1.25; }
.c-line small { color: var(--muted); font-size: 13px; }
.c-qty { display: inline-flex; align-items: center; gap: 4px; }
.c-qty button { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 20px; cursor: pointer; }
.c-qty span { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-total { display: flex; justify-content: space-between; margin: 14px 0 0; font-weight: 700; }
.cart-total b { font: 800 26px/1 var(--display); }
.cart .note { margin-top: 12px; }
.cart-pay { width: 100%; margin-top: 14px; }
.cart-form { margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--ink); }
.cart-form h3 { font-size: 24px; margin-bottom: 12px; }
.cart-form .form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
/* receipt */
.receipt-wrap { max-width: 760px; }
.receipt { padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-top: 6px solid var(--red); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.r-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.r-head h1 { font-size: clamp(36px, 6vw, 60px); overflow-wrap: anywhere; }
.r-qr { flex: none; width: 150px; padding: 8px; border-radius: 12px; background: #fff; }
.r-qr svg { display: block; width: 100%; height: auto; }
.r-hello { margin: 20px 0 10px; font-weight: 600; }
.r-items { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.r-items li, .r-sum { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.r-items b, .r-sum b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-total { font-size: 20px; font-weight: 800; border-bottom: 2px solid var(--ink) !important; }
.r-pickup { margin-top: 22px; padding: 18px; border-radius: 14px; background: var(--surface-2); }
.r-pickup h2 { font-size: 24px; margin-bottom: 8px; }
.r-pickup p { margin: 6px 0 0; }
.r-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 900px) {
  .shop-hero-grid, .special-grid { grid-template-columns: 1fr; }
  .shop-photo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pickup-how .steps { grid-template-columns: 1fr; }
  .pickup-how .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .r-head { flex-direction: column-reverse; }
  .r-qr { width: 140px; }
  .shop-search { max-width: none; }
  .c-line { grid-template-columns: 44px minmax(0, 1fr); }
  .c-line img { width: 44px; height: 44px; }
  .c-qty { grid-column: 2; }
}
@media print {
  .site-header, .site-footer, .dock, .cookie, .cart-fab, .r-actions, .skip, #r-loading { display: none !important; }
  body { background: #fff; color: #000; }
  .receipt { box-shadow: none; border-color: #000; }
}

.legal h2 { margin: 34px 0 10px; font-size: 30px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; padding-left: 20px; }
.legal code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); font-family: var(--mono); font-size: .9em; }
.legal a { color: var(--red); text-decoration: underline; }
