/* Hanyue Heavy Industry — site styles
   Layout: steel-plate workshop. Cool steel paper, logo blue for structure,
   safety orange only for the quote action and the nameplate figures.
   Signature: machine "nameplate" panels for key figures, mono model codes. */
:root {
  --paper: #f3f5f8;
  --surface: #ffffff;
  --plate: #0f2340;
  --plate-ink: #e8eef7;
  --plate-muted: #8fa3bf;
  --ink: #0e1a2b;
  --muted: #56647a;
  --line: #d7dde6;
  --brand: #0a55a8;
  --brand-ink: #ffffff;
  --brand-soft: #e3edf9;
  --signal: #f39400;
  --signal-ink: #1b1204;
  --tbc: #b25e00;
  --tbc-soft: #fff4e5;
  --shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 8px 24px rgba(14, 26, 43, .06);

  --f-display: "Barlow Condensed", "Noto Sans SC", "Arial Narrow", sans-serif;
  --f-body: "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "Noto Sans SC", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a111b; --surface: #111b28; --plate: #0c1d35; --plate-ink: #e8eef7; --plate-muted: #8fa3bf;
    --ink: #e6ecf4; --muted: #9aa8bb; --line: #223249; --brand: #5b9be6; --brand-ink: #06172e; --brand-soft: #14263d;
    --signal: #ffa62b; --signal-ink: #1b1204; --tbc: #ffb865; --tbc-soft: #2b1f0f;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0a111b; --surface: #111b28; --plate: #0c1d35; --plate-ink: #e8eef7; --plate-muted: #8fa3bf;
  --ink: #e6ecf4; --muted: #9aa8bb; --line: #223249; --brand: #5b9be6; --brand-ink: #06172e; --brand-soft: #14263d;
  --signal: #ffa62b; --signal-ink: #1b1204; --tbc: #ffb865; --tbc-soft: #2b1f0f;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--f-body); }
html[lang="zh-CN"] body { line-height: 1.75; }
img, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── type scale */
.display { font-family: var(--f-display); font-weight: 700; letter-spacing: .005em; line-height: 1.02; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
html[lang="zh-CN"] .display { font-family: var(--f-body); font-weight: 700; letter-spacing: .02em; line-height: 1.2; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.05; }
html[lang="zh-CN"] .h2 { font-family: var(--f-body); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.3; }
.h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; }
html[lang="zh-CN"] .h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.2rem; line-height: 1.4; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.eyebrow { font: 500 .78rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ── buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.25em; border-radius: var(--r); font: 600 .95rem/1 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-quote { background: var(--signal); color: var(--signal-ink); }
.btn-quote:hover { background: color-mix(in srgb, var(--signal) 88%, #000); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn .arr { font-family: var(--f-mono); }

/* ── header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 42px; height: auto; }
.brand-text { display: grid; line-height: 1.05; }
.brand-zh { font: 700 1.2rem/1.1 "Noto Sans SC", var(--f-body); letter-spacing: .08em; }
.brand-en { font: 500 .62rem/1.2 var(--f-mono); letter-spacing: .14em; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; padding: .55em .8em; border-radius: var(--r); font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.lang { font: 600 .8rem/1 var(--f-mono); letter-spacing: .06em; text-decoration: none; color: var(--ink); border: 1px solid var(--line); padding: .6em .7em; border-radius: var(--r); }
.lang:hover { border-color: var(--brand); color: var(--brand); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r); padding: .5em .6em; color: var(--ink); cursor: pointer; font: 600 .8rem/1 var(--f-mono); }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; margin: 0; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .8em .4em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .head-actions { margin-left: auto; }
  .head-actions .btn-quote { display: none; }
}

/* ── hero */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-media { position: relative; min-width: 0; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.hero-tag { position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 12px; background: var(--plate); color: var(--plate-ink); text-decoration: none; padding: 12px 16px; border-radius: 4px; box-shadow: var(--shadow); }
.hero-tag .mono { font-size: .7rem; letter-spacing: .12em; color: var(--signal); }
.hero-tag b { font-weight: 600; font-size: .95rem; }
.hero-tag:hover b { text-decoration: underline; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ── nameplate (signature) */
.plate { background: var(--plate); color: var(--plate-ink); border-radius: 4px; padding: 18px 20px; position: relative; box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--plate-ink) 14%, transparent); }
.plate::before, .plate::after { content: ""; position: absolute; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--plate-ink) 30%, transparent); box-shadow: 0 calc(100% + 0px) 0 transparent; }
.plate::before { left: 9px; } .plate::after { right: 9px; }
.plate-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font: 500 .7rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--plate-muted); border-bottom: 1px solid color-mix(in srgb, var(--plate-ink) 16%, transparent); padding: 0 8px 10px; margin-bottom: 12px; }
.plate-head b { color: var(--plate-ink); font-weight: 600; letter-spacing: .08em; }
.plate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px 18px; padding-inline: 8px; }
.plate-fig { display: grid; gap: 2px; min-width: 0; }
.plate-fig .v { font: 600 1.35rem/1.1 var(--f-mono); color: var(--signal); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.plate-fig .l { font-size: .78rem; color: var(--plate-muted); }

/* ── stat band */
.band { border-block: 1px solid var(--line); background: var(--surface); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-item { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.band-item:first-child { border-left: 0; padding-left: 0; }
.band-item .v { font: 700 2rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.band-item .l { color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) { .band-grid { grid-template-columns: 1fr 1fr; } .band-item:nth-child(3) { border-left: 0; padding-left: 0; } .band-item:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ── sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head > div { display: grid; gap: 10px; max-width: 64ch; }

/* ── category cards */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { grid-column: span 2; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.cat-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat-card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-soft); }
.cat-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover .ph img { transform: scale(1.03); }
.cat-body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.cat-meta { display: flex; justify-content: space-between; gap: 12px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.cat-meta .code { color: var(--brand); }
.cat-body p { color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } .cat-card { grid-column: span 1; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ── product cards */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.prod-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.prod-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.prod-card .ph { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.prod-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .ph img.contain { object-fit: contain; padding: 12px; }
.prod-body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.prod-body p { color: var(--muted); font-size: .92rem; }
.prod-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--brand); }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 .74rem/1 var(--f-mono); letter-spacing: .06em; padding: .45em .6em; border-radius: 3px; background: var(--brand-soft); color: var(--brand); width: fit-content; }
.chip-tbc { background: var(--tbc-soft); color: var(--tbc); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── applications */
.app-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: var(--plate); color: var(--plate-ink); border-radius: var(--r); overflow: hidden; }
.app-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.app-feature .txt { padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; align-content: center; }
.app-feature .txt p { color: var(--plate-muted); }
.app-feature .eyebrow { color: var(--signal); }
.app-feature a { color: var(--plate-ink); }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.app-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.app-card img { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.app-card .txt { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.app-card p { color: var(--muted); font-size: .92rem; }
.app-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; }
@media (max-width: 860px) { .app-feature { grid-template-columns: 1fr; } .app-feature img { min-height: 0; aspect-ratio: 16/10; } .app-grid { grid-template-columns: 1fr; } }

/* ── video */
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; align-items: start; }
.vid-grid.wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.vid { display: grid; gap: 10px; margin: 0; }
.vid video { width: 100%; border-radius: var(--r); background: #000; aspect-ratio: 9 / 16; object-fit: cover; }
.vid.land video { aspect-ratio: 16 / 9; }
.vid figcaption { font-size: .9rem; color: var(--muted); }

/* ── why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.why { padding: 22px 22px 8px 0; display: grid; gap: 10px; align-content: start; }
.why + .why { padding-left: 22px; border-left: 1px solid var(--line); }
.why .k { font: 600 .74rem/1 var(--f-mono); letter-spacing: .12em; color: var(--brand); text-transform: uppercase; }
.why p { color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } .why:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } .why + .why { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ── CTA band */
.cta { background: var(--brand); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 44px; }
.cta p { color: color-mix(in srgb, #fff 80%, transparent); max-width: 56ch; margin-top: 8px; }
:root[data-theme="dark"] .cta { background: var(--plate); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta { background: var(--plate); } }

/* ── page head / breadcrumb */
.page-head { padding-block: clamp(32px, 5vw, 56px) 8px; display: grid; gap: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ── filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: .5em .9em; border-radius: 999px; }
.filters a:hover { border-color: var(--brand); color: var(--brand); }
.filters a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters .n { font-family: var(--f-mono); font-size: .78rem; opacity: .7; margin-left: 4px; }

/* ── product detail */
.pd-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px); padding-block: 16px 48px; align-items: start; }
.pd-top > * { min-width: 0; }
.gallery { display: grid; gap: 10px; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; padding: 0; display: block; width: 100%; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 84px; height: 64px; padding: 0; border: 1.5px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { display: grid; gap: 18px; }
.pd-info .chip-row { margin-bottom: -4px; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.notice { border: 1px dashed var(--tbc); background: var(--tbc-soft); color: var(--ink); padding: 14px 16px; border-radius: var(--r); font-size: .93rem; }
.notice b { color: var(--tbc); }
.pd-body { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); padding-block: 8px 72px; }
.pd-body > * { min-width: 0; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); align-self: start; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { text-decoration: none; color: var(--muted); padding: .35em 0 .35em 14px; font-size: .9rem; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.pd-sections { display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr); }
.pd-sec > * { min-width: 0; }
.pd-sec { min-width: 0; display: grid; gap: 18px; scroll-margin-top: 90px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.feat-list li { position: relative; padding-left: 22px; }
.feat-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--signal); }
@media (max-width: 900px) { .pd-top { grid-template-columns: 1fr; } .pd-body { grid-template-columns: 1fr; } .toc { display: none; } .feat-list { grid-template-columns: 1fr; } }

/* ── tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .7em 1em; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
thead th { font: 600 .74rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--brand-soft) 50%, var(--surface)); white-space: nowrap; }
html[lang="zh-CN"] thead th { letter-spacing: .02em; font-size: .8rem; }
tbody th { font-weight: 500; color: var(--muted); width: 42%; }
td.v, .spec td { font-family: var(--f-mono); font-size: .88rem; }
.wide-tbl td, .wide-tbl th { white-space: nowrap; }
.wide-tbl tbody td:first-child { font-family: var(--f-body); color: var(--muted); white-space: normal; min-width: 180px; }
.tbl-note { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.tbc-val { color: var(--tbc); font-family: var(--f-body); font-style: italic; }
.tbl-title { font: 600 1rem/1.3 var(--f-body); margin-bottom: 10px; }

/* ── tooling */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tool { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tool button { padding: 0; border: 0; background: none; display: block; width: 100%; cursor: zoom-in; }
.tool img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.tool figcaption { padding: 8px 10px; font-size: .84rem; }

/* ── contact + forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-list { display: grid; gap: 12px; }
.ci { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.ci .k { grid-column: 1 / -1; font: 600 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ci .val { font-family: var(--f-mono); font-size: 1rem; user-select: all; overflow-wrap: anywhere; }
.ci.tbc { border-style: dashed; border-color: var(--tbc); }
.ci.tbc .val { color: var(--tbc); font-family: var(--f-body); font-style: italic; user-select: text; }
.copy { font: 600 .74rem/1 var(--f-mono); border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: .5em .7em; border-radius: 4px; cursor: pointer; }
.copy:hover { border-color: var(--brand); color: var(--brand); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: .7em .8em; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
.form-msg { font-size: .92rem; padding: 12px 14px; border-radius: 4px; background: var(--brand-soft); color: var(--ink); }
.form-msg.err { background: var(--tbc-soft); color: var(--tbc); }
.form-note { font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ── about facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.fact { border: 1px dashed var(--tbc); background: var(--tbc-soft); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; }
.fact .k { font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact .val { font-style: italic; color: var(--tbc); }
.prose { display: grid; gap: 14px; max-width: 68ch; }
.prose p { color: var(--ink); }
.brand-row { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-row span { font: 600 .82rem/1 var(--f-mono); padding: .6em .8em; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.two-col > * { min-width: 0; }
.two-col img { border-radius: var(--r); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ── footer */
.site-foot { background: var(--plate); color: var(--plate-muted); padding-block: 48px 28px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid > * { min-width: 0; }
.site-foot h4 { color: var(--plate-ink); font: 600 .74rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-foot a { color: var(--plate-ink); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand { display: grid; gap: 12px; }
.foot-brand .row { display: flex; align-items: center; gap: 10px; color: var(--plate-ink); }
.foot-brand img { width: 40px; }
.foot-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--plate-ink) 14%, transparent); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(5, 10, 18, .88); }
.lightbox img { max-height: 86vh; width: auto; margin-inline: auto; border-radius: 4px; background: #fff; }
.lightbox .cap { color: #dfe6ef; text-align: center; font-size: .9rem; padding-top: 10px; }
.lightbox .close { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 16px; background: #fff; color: #0e1a2b; border: 0; border-radius: 4px; padding: .5em .8em; font: 600 .8rem/1 var(--f-mono); cursor: pointer; }

/* ── preview banner (artifact only) */
.preview-bar { background: var(--tbc-soft); color: var(--ink); border-bottom: 1px dashed var(--tbc); font-size: .82rem; }
.preview-bar .wrap { padding-block: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.preview-bar b { color: var(--tbc); }

/* ── v2: dark hero, service, floating contact */
.hero-dark { background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--brand) 38%, var(--plate)) 0%, var(--plate) 60%); color: var(--plate-ink); position: relative; overflow: hidden; }
.hero-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--plate-ink) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--plate-ink) 6%, transparent) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, #000 0%, transparent 70%); pointer-events: none; }
.hero-dark .wrap { position: relative; }
.hero-dark .eyebrow { color: var(--signal); }
.hero-dark .lead { color: var(--plate-muted); }
.hero-dark .display { color: #fff; }
.btn-ghost { border-color: color-mix(in srgb, var(--plate-ink) 35%, transparent); color: var(--plate-ink); background: transparent; }
.btn-ghost:hover { border-color: var(--plate-ink); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 10px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--plate-ink) 16%, transparent); }
.hero-trust span { display: grid; font-size: .82rem; color: var(--plate-muted); }
.hero-trust b { font: 600 1.15rem/1.3 var(--f-mono); color: var(--plate-ink); font-variant-numeric: tabular-nums; }
.hero-video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 1px solid color-mix(in srgb, var(--plate-ink) 14%, transparent); }
.hero-dark .hero-tag { background: color-mix(in srgb, var(--plate) 88%, transparent); backdrop-filter: blur(6px); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--signal); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; align-content: start; }
.svc p { color: var(--muted); font-size: .93rem; }
.section-alt .svc { background: var(--paper); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }
.fact.ok { border: 1px solid var(--line); background: var(--surface); }
.fact.ok .val { color: var(--ink); font-style: normal; font-weight: 600; }
.fab { position: fixed; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--signal); color: var(--signal-ink); text-decoration: none; padding: 10px 16px 10px 12px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.fab-dot { width: 10px; height: 10px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px color-mix(in srgb, #1f9d55 30%, transparent); }
.fab-t { display: grid; line-height: 1.15; }
.fab-t b { font-size: .9rem; }
.fab-t .mono { font-size: .72rem; }
@media (max-width: 520px) { .fab-t .mono { display: none; } }
@media (prefers-reduced-motion: no-preference) { .fab-dot { animation: pulse 2s infinite; } @keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } } }
.site-foot { padding-bottom: 88px; }

/* ── customer cases */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case figcaption { padding: 14px 16px 16px; display: grid; gap: 6px; font-size: .92rem; }
.case b { font-size: 1.02rem; }
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } }
