/* ==========================================================================
   LumeLiDAR — site stylesheet
   Author: LumeLiDAR web build
   Structure: 1 tokens · 2 reset · 3 typography · 4 layout · 5 header/nav
              6 hero · 7 components · 8 tables · 9 forms · 10 footer · 11 utils
   ========================================================================== */

/* 1. Design tokens -------------------------------------------------------- */
:root {
  --navy-950: #05101f;
  --navy-900: #071628;
  --navy-800: #0b2138;
  --navy-700: #12304f;
  --ink: #0b1a2e;
  --body: #33465e;
  --muted: #6b7f99;
  --line: #e3e9f1;
  --line-strong: #cfd9e6;
  --surface: #ffffff;
  --surface-2: #f5f8fc;
  --surface-3: #eef3fa;
  --accent: #1d6ff2;
  --accent-700: #1453bd;
  --accent-soft: #e9f1ff;
  --beam: #34c8f0;
  --signal: #f26a2e;
  --ok: #0f9d76;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 46, .06), 0 1px 3px rgba(11, 26, 46, .05);
  --shadow: 0 4px 12px rgba(11, 26, 46, .07), 0 2px 4px rgba(11, 26, 46, .04);
  --shadow-lg: 0 18px 40px rgba(11, 26, 46, .12), 0 4px 12px rgba(11, 26, 46, .06);
  --container: 1180px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* 2. Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }

/* 3. Typography ---------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.15rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.125rem; color: var(--body); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .7rem;
}
.hero .eyebrow, .band .eyebrow { color: var(--beam); }
small, .small { font-size: .875rem; }

/* 4. Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
/* Grid and flex children default to min-width:auto, which lets a wide child
   (a 640px table, an unbreakable string) push the whole page sideways.
   Zero it on every container we generate, then let overflow-x handle scroll. */
.container, .grid > *, .split > *, .split-wide > *, .flow > *, .stack > *,
.footer-grid > *, .form-grid > *, .hero-inner > * { min-width: 0; }
.section { padding: clamp(48px, 6vw, 88px) 0; }
.section-tight { padding: clamp(32px, 4vw, 56px) 0; }
.section-alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.split { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }
.split-wide { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split-wide { grid-template-columns: 1fr 1fr; } }
.stack > * + * { margin-top: 1rem; }

/* 5. Header & navigation ------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--surface); color: var(--ink); padding: 12px 18px;
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 22, 40, .96);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; text-decoration: none; }
.brand:hover { text-decoration: none; }
/* Outlined vector wordmark (assets/brand/). Fixed typography on every device. */
.brand-logo { display: block; height: 40px; width: auto; }
@media (max-width: 400px) { .brand-logo { height: 34px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.19rem; color: #fff; letter-spacing: -.02em; }
.brand-name em { font-style: normal; color: var(--beam); }
.brand-tag { font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; color: #7f97b5; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #cfdcec; font-size: .93rem; font-weight: 500;
  padding: 9px 13px; border-radius: var(--radius-sm); text-decoration: none;
  transition: background .16s ease, color .16s ease;
}
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; background: rgba(52, 200, 240, .14); }
.nav-cta { margin-left: 10px; }
.nav-cta a {
  background: var(--accent); color: #fff; font-weight: 600; padding: 10px 18px;
}
.nav-cta a:hover { background: #2f7cf6; color: #fff; }
.nav-toggle {
  margin-left: auto; display: none; background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-sm);
  padding: 8px 12px; cursor: pointer; line-height: 1;
}
.nav-toggle span { display: block; font-size: 1.15rem; }
@media (max-width: 1000px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 8px 16px 18px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta a { text-align: center; border-radius: var(--radius-sm); border-bottom: none; }
  .nav-toggle { display: block; }
}
.breadcrumbs { font-size: .82rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #dbe6f3;
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(52, 200, 240, .22), transparent 62%),
    radial-gradient(760px 420px at 8% 108%, rgba(29, 111, 242, .22), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 72px);
  mask-image: radial-gradient(120% 100% at 70% 0%, #000 35%, transparent 78%);
}
.hero > .container { position: relative; z-index: 2; }
.hero-inner { padding: clamp(56px, 8vw, 108px) 0 clamp(48px, 6vw, 84px); max-width: 880px; }
@media (min-width: 1120px) { .hero-inner { max-width: 700px; } }
.hero-visual { display: none; }
@media (min-width: 1120px) {
  .hero-visual {
    display: block; position: absolute; right: 24px; top: 50%;
    transform: translateY(-56%); width: 358px; margin: 0;
  }
  .hero-visual figure {
    margin: 0; background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-lg);
    padding: 22px 22px 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(52, 200, 240, .18);
  }
  .hero-visual img { width: 100%; height: 230px; object-fit: contain; }
  .hero-visual figcaption { display: block; padding-top: 14px; border-top: 1px solid var(--line); }
  .hero-visual .part { display: block; font-family: var(--font-mono); font-weight: 700; color: var(--ink); font-size: .95rem; }
  .hero-visual .desc { display: block; font-size: .82rem; color: var(--muted); }
  .hero-visual .match {
    display: inline-block; margin-top: 9px; font-size: .74rem; font-weight: 700;
    letter-spacing: .05em; text-transform: uppercase; color: #0b7a5c;
    background: #e8f7f1; border: 1px solid #c6e9dc; border-radius: 999px; padding: 4px 10px;
  }
}
.hero h1 { color: #fff; }
.hero h1 strong { color: var(--beam); font-weight: inherit; }
.hero .lead { color: #b9cade; font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem); max-width: 68ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 22px; font-size: .86rem; color: #8ba3bf; }
.hero-strip {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 1px; background: rgba(255, 255, 255, .1);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-strip div { background: rgba(5, 16, 31, .55); padding: 20px 22px; }
.hero-strip .value { display: block; font-size: 1.32rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.hero-strip .label { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #82a0c0; margin-top: 3px; }
.page-hero { padding: clamp(40px, 5vw, 68px) 0 clamp(32px, 4vw, 52px); }
.page-hero h1 { color: #fff; margin-bottom: .4em; }
.page-hero p { color: #b9cade; max-width: 74ch; margin-bottom: 0; }
.page-hero .crumbs { font-size: .82rem; color: #8ba3bf; margin-bottom: 14px; }
.page-hero .crumbs a { color: #9fb8d4; }

/* 7. Components ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: .95rem; line-height: 1.2; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .12s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2f7cf6; color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: #eef4ff; color: var(--navy-800); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline-dark { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.btn-outline-dark:hover { background: var(--accent-soft); }
.btn-signal { background: var(--signal); color: #fff; }
.btn-signal:hover { background: #ff7d43; color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .87rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line-strong); }
.card h3 { margin-bottom: .5rem; }
/* Side-by-side cards: reserve two title lines so the body copy starts on the
   same line whether a title happens to wrap or not. (`lh` is the used
   line-height; if unsupported the declaration is simply dropped.) */
.grid-2 > .card > h3,
.grid-3 > .card > h3,
.grid-4 > .card > h3,
.series-card > .body > h3 { min-height: 2lh; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-700); margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.series-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
/* Image frame: pure white, so the (also white) product photography reads as one
   continuous surface. Fixed height keeps every card's text block on the same
   baseline across a grid row, whatever the source image's aspect ratio.
   NB: the image box must be an absolute length — a percentage max-height does
   not resolve here (the grid track is auto-sized) and the image would overflow. */
.series-card .thumb {
  --thumb-box: 168px;
  background: var(--surface);
  border-bottom: 1px solid var(--line); padding: 22px; display: grid; place-items: center;
  height: calc(var(--thumb-box) + 44px);
}
.series-card .thumb img { width: auto; max-width: 100%; max-height: var(--thumb-box); object-fit: contain; }
/* Text block carries the tint instead of the image frame. */
.series-card .body { background: var(--surface-3); padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.series-card h3 { font-size: 1.16rem; margin-bottom: .35rem; }
.series-card .brand-line { font-size: .8rem; color: var(--muted); font-family: var(--font-mono); margin-bottom: .7rem; }
.series-card p { font-size: .93rem; }
.series-card .foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.series-card .link { font-weight: 600; font-size: .92rem; }

.badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-700); border: 1px solid #cfe1ff;
  padding: 5px 11px; border-radius: 999px;
}
.badge-signal { background: #fff1e8; color: #b45309; border-color: #ffdcc0; }
.badge-ok { background: #e8f7f1; color: #0b7a5c; border-color: #c6e9dc; }

/* Datasheet list (series pages) — a published PDF downloads, an unpublished one
   opens a pre-filled request. The meta line says which. */
.ds-list li { margin-bottom: 14px; }
.ds-list li a { display: block; font-weight: 600; }
.ds-meta {
  display: block; font-weight: 400; font-size: .78rem;
  letter-spacing: .01em; color: var(--muted); margin-top: 2px;
}
.suffix-request { color: #b45309; }

.list-check { list-style: none; margin: 0; padding: 0; }
.list-check li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .96rem; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg); border-radius: 1px;
}
.list-check.cols { column-gap: 34px; }
@media (min-width: 760px) { .list-check.cols { columns: 2; } .list-check.cols li { break-inside: avoid; } }

.band {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #cfdcec;
  padding: clamp(44px, 5.5vw, 72px) 0;
}
.band h2, .band h3 { color: #fff; }
.band p { color: #b9cade; }
.band a:not(.btn) { color: var(--beam); }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 22px; }
.stat .value { display: block; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.band .stat .value { color: #fff; }
.stat .label { display: block; font-size: .84rem; color: var(--muted); }
.band .stat .label { color: #8ba3bf; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 14px; }
.gallery img {
  width: 100%; height: 150px; object-fit: contain; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
}
.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; }
.facility-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facility-grid img { width: 100%; height: 210px; object-fit: cover; object-position: center; background: var(--surface); }
.facility-grid figcaption { padding: 14px 16px 16px; background: var(--surface-2); }
.facility-grid figcaption strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 4px; }
.facility-grid figcaption span { font-size: .86rem; color: var(--muted); }

details.group {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  margin-bottom: 16px; box-shadow: var(--shadow-sm); overflow: hidden;
}
details.group[open] { box-shadow: var(--shadow); }
details.group > summary {
  cursor: pointer; padding: 18px 22px; font-weight: 650; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; background: var(--surface-2);
}
details.group > summary::-webkit-details-marker { display: none; }
details.group > summary::after {
  content: ""; width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .18s ease; margin-right: 4px;
}
details.group[open] > summary::after { transform: rotate(-135deg); }
details.group > summary .suffix { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); font-weight: 400; margin-left: 10px; }
.group-body { padding: 20px 22px 24px; }
.group-intro { font-size: .93rem; color: var(--muted); margin-bottom: 16px; }

.accordion-note {
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .93rem; color: #16406f;
}
.accordion-note.warn { border-color: var(--signal); background: #fff5ef; color: #8a3b12; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 30px; border-left: 2px solid var(--line); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--accent);
}
.timeline strong { display: block; color: var(--ink); }

.quote {
  border-left: 3px solid var(--beam); padding: 4px 0 4px 20px; margin: 24px 0;
  font-size: 1.06rem; color: var(--ink);
}
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.kv li:last-child { border-bottom: none; }
.kv .k { flex: 0 0 170px; min-width: 0; color: var(--muted); }
.kv .v { flex: 1 1 160px; min-width: 0; color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }

/* Postal address. Each element is its own line so the lines stack flush left
   under one another instead of wrapping into a ragged paragraph, and the legal
   name sits on its own line above them, slightly heavier. */
.address-block { min-width: 0; }
.address-block p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--body); }
.address-block .address-name { font-weight: 600; color: var(--ink); margin-bottom: 5px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li {
  font-size: .8rem; padding: 5px 11px; border-radius: 999px;
  background: var(--surface-3); color: var(--body); border: 1px solid var(--line);
}

/* 8. Tables -------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); -webkit-overflow-scrolling: touch; max-width: 100%;
}
table.spec { width: 100%; border-collapse: collapse; font-size: .89rem; min-width: 560px; }
table.spec caption {
  caption-side: top; text-align: left; padding: 16px 18px 12px;
  font-weight: 650; color: var(--ink); font-size: .95rem;
}
table.spec th, table.spec td { padding: 11px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th {
  background: var(--surface-2); color: var(--ink); font-weight: 650;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .05em;
  white-space: nowrap; position: sticky; top: 0; z-index: 1;
}
table.spec tbody tr:nth-child(even) { background: #fbfdff; }
table.spec tbody tr:hover { background: var(--accent-soft); }
table.spec td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.spec.plain td:first-child { font-weight: 550; white-space: normal; }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: none; }
.table-cap { font-size: .84rem; color: var(--muted); margin-top: 10px; }

/* Trademark / non-affiliation notice. Sits next to any list of third-party
   part numbers and again in the site footer. */
.legal-note {
  font-size: .82rem; line-height: 1.6; color: var(--muted);
  margin-top: 16px; padding: 14px 18px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong); border-radius: var(--radius);
}
.legal-note strong { color: var(--ink); }

.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 22px; padding: 16px 18px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.toolbar label { font-size: .84rem; color: var(--muted); font-weight: 600; }
/* Keep each label welded to its control: as bare flex items they wrapped onto
   different lines on narrow viewports, separating "Tier" from its <select>. */
.toolbar-field { display: flex; align-items: center; gap: 10px; flex: 1 1 220px; min-width: 0; }
.toolbar-field > label { flex: 0 0 auto; }
.toolbar-field > input, .toolbar-field > select { flex: 1 1 160px; min-width: 0; max-width: 340px; }
.toolbar input[type="search"], .toolbar select {
  font: inherit; font-size: .92rem; padding: 9px 13px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  flex: 1 1 180px; min-width: 0; max-width: 320px;
}
.toolbar input[type="search"]:focus, .toolbar select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.filter-count { margin-left: auto; font-size: .86rem; color: var(--muted); }
.is-hidden { display: none !important; }
.no-results { padding: 30px; text-align: center; color: var(--muted); }

/* 9. Forms --------------------------------------------------------------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: 11px 13px; color: var(--ink); width: 100%;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 111, 242, .15);
}
.field-full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.form-status { font-size: .9rem; color: var(--ok); font-weight: 600; }
.form-status[hidden] { display: none; }
.required { color: var(--signal); }

/* 10. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #93a8c1; padding: clamp(44px, 5vw, 68px) 0 26px; }
.site-footer h3 { color: #fff; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
/* The address column needs the extra width: at 1fr the legal name wraps mid-way
   and the postcode lines break badly. Proportional columns keep each address
   line on one line while the link columns stay as they were. */
@media (min-width: 940px) {
  .footer-grid { grid-template-columns: 1.02fr .78fr .78fr 1.42fr; }
}
.footer-grid a { color: #a9bed6; font-size: .92rem; }
.footer-grid a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-brand p { font-size: .92rem; color: #8298b3; }
/* Contact column: icon + label rows. The svg inherits the footer tint. */
.footer-contact li { display: flex; align-items: flex-start; gap: 9px; }
.footer-contact svg,
.footer-address svg {
  flex: 0 0 auto; width: 16px; height: 16px; margin-top: .22em; color: #6d86a3;
}
.footer-contact a { word-break: break-word; }
.footer-address { margin: 18px 0 0; display: flex; align-items: flex-start; gap: 9px; }
.footer-address .address-block p { font-size: .88rem; color: #8298b3; }
.footer-address .address-block .address-name { color: #cfe0f2; }
.footer-bottom {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .82rem; color: #6f869f;
}
.footer-bottom p { margin: 0; }
.footer-bottom .footer-legal { flex-basis: 100%; color: #5f7793; line-height: 1.6; }

/* 11. Utilities ---------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.4rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.6rem; } .mb-4 { margin-bottom: 2.4rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: .88em; }
.nowrap { white-space: nowrap; }
.flow > * + * { margin-top: 1.4rem; }
.cta-band .btn + .btn { margin-left: 12px; }
@media (max-width: 560px) { .cta-band .btn { width: 100%; } .cta-band .btn + .btn { margin-left: 0; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.site-header :focus-visible, .band :focus-visible, .hero :focus-visible,
.scene-banner :focus-visible { outline-color: var(--beam); }

/* 12. Scene banner --------------------------------------------------------
   9 张应用现场照，5 秒轮播，脉冲圆环 + 引线 + 英文标签指出我们的器件装在
   整机的哪个位置。

   几何约定（改动前务必先读）：
   · 图片与 .scene-frame 都锁死 16:5。
   · 视口高度 = --banner-h（clamp 自适应），宽度铺满。
   · .scene-frame 以 cover 撑满视口并居中裁切：
       宽 = max(100%, --banner-h × 16/5)，高由 aspect-ratio 推出 —— 视口比
       16:5 更扁就裁上下，更方就裁左右，全由 CSS 自己算。
   · 图片、色调层、标注层都是 .scene-frame 的子元素 ⇒ 三者永远对齐，标注的
     --x/--y 恒等于图上的位置，**任何屏宽都不需要换算坐标**。
     （早期版本让视口与图片同比例、手机端再用 calc() 反算裁切量，太脆。）
   ------------------------------------------------------------------------- */
.scene-banner {
  --banner-h: clamp(260px, 28vw, 460px);  /* 窄屏按比例、宽屏封顶，避免 Banner 吃掉半屏 */
  position: relative;          /* 圆点条是绝对定位，必须靠它当参照，否则会漂到页面上 */
  background: var(--navy-950);
  border-top: 1px solid rgba(52, 200, 240, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.scene-viewport { position: relative; width: 100%; height: var(--banner-h); overflow: hidden; }

.scene-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
}
.scene-slide.is-active { opacity: 1; visibility: visible; }

/* 画框：与图片同比例，cover 撑满视口。图片 / 色调层 / 标注层都装在它里面。 */
.scene-frame {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  width: max(100%, calc(var(--banner-h) * 16 / 5));
  aspect-ratio: 16 / 5;
}
/* 不做统一压色：每张场景图保留自己的原生色调（黄昏暖调 / 蓝调时刻 / 夜景琥珀 / 实验室冷光），
   只做极轻的对比与亮度归一，避免个别图过暗或过灰 */
.scene-frame img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.04) brightness(.97);
}
/* 色调层：只保留给文案让位的上下压暗，不再叠青辉 —— 否则所有场景又被染成同一个调 */
.scene-wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 16, 31, .30) 0%, rgba(5, 16, 31, .02) 34%, rgba(5, 16, 31, .40) 100%);
}

/* 左侧压暗，保证文案可读。这一层挂**视口**而不是画框 —— 文案位置是按视口算的。
   z-index 3 高于画框的 2，但圆环通常落在 45% 之后（那里遮罩几乎全透明），
   所以不会把标注吃掉。 */
.scene-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 16, 31, .92) 0%, rgba(5, 16, 31, .78) 22%,
              rgba(5, 16, 31, .40) 33%, rgba(5, 16, 31, .10) 43%, rgba(5, 16, 31, 0) 52%);
}
/* 还没配图的场景：深色分级面板 + 场景图标。遮罩几乎不需要，只留一点点保护文案 */
.scene-visual {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--beam);
  background:
    radial-gradient(120% 150% at 78% 26%, #16395e 0%, #0b2138 40%, #05101f 100%);
}
.scene-visual svg { width: clamp(64px, 8.5vw, 132px); height: auto; opacity: .42; }
.scene-slide-plain::after { background: linear-gradient(90deg, rgba(5, 16, 31, .42) 0%, rgba(5, 16, 31, 0) 68%); }

.scene-copy {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 5;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: 0 clamp(18px, 3vw, 44px); max-width: min(430px, 37%);
  pointer-events: none;
}
.scene-copy > * { pointer-events: auto; }
.scene-eyebrow {
  margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--beam);
}
.scene-title { margin: 0; color: #fff; font-size: clamp(1.18rem, .9rem + 1.5vw, 2.15rem); line-height: 1.15; letter-spacing: -.02em; }
.scene-blurb { margin: 0; color: #bed1e6; font-size: clamp(.8rem, .74rem + .3vw, .96rem); max-width: 46ch; }
.scene-cta {
  align-self: flex-start; margin-top: 4px;
  font-size: .82rem; font-weight: 600; color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(52, 200, 240, .55); padding-bottom: 2px;
}
.scene-cta:hover { color: var(--beam); text-decoration: none; }

/* 标注层：脉冲圆环 + 引线 + 标签。它是 .scene-frame 的子元素，所以永远贴着图 */
.scene-marks { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.scene-mark {
  position: absolute;
  left: calc(var(--x) * 100%);
  top: calc(var(--y) * 100%);
  transform: translate(-50%, -50%);
}
.scene-ring {
  display: block; width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--beam);
  box-shadow: 0 0 0 0 rgba(52, 200, 240, .55);
  animation: scenePulse 2.6s cubic-bezier(.4, 0, .2, 1) infinite;
}
.scene-ring::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: var(--beam); box-shadow: 0 0 10px 2px rgba(52, 200, 240, .8);
}
@keyframes scenePulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 200, 240, .55); }
  70%  { box-shadow: 0 0 0 20px rgba(52, 200, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 200, 240, 0); }
}
.scene-line {
  position: absolute; top: 50%; width: 62px; height: 2px; margin-top: -1px;
  background: linear-gradient(90deg, rgba(52, 200, 240, .15), var(--beam));
}
.scene-tag {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: max-content; max-width: 250px;
  background: rgba(5, 16, 31, .82); border: 1px solid rgba(52, 200, 240, .38);
  border-radius: var(--radius-sm); padding: 7px 11px;
  backdrop-filter: blur(4px);
}
.scene-tag b { display: block; color: #fff; font-size: .8rem; font-weight: 700; line-height: 1.3; }
.scene-tag i { display: block; color: #9db6d1; font-size: .7rem; font-style: normal; line-height: 1.35; }
.scene-mark[data-side="right"] .scene-line { left: 100%; }
.scene-mark[data-side="right"] .scene-tag { left: calc(100% + 70px); }
.scene-mark[data-side="left"] .scene-line {
  right: 100%; background: linear-gradient(270deg, rgba(52, 200, 240, .15), var(--beam));
}
.scene-mark[data-side="left"] .scene-tag { right: calc(100% + 70px); text-align: right; }

/* 圆点指示器 */
.scene-dots {
  position: absolute; right: clamp(14px, 3vw, 34px); bottom: clamp(12px, 2.4vw, 22px); z-index: 6;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(5, 16, 31, .46); backdrop-filter: blur(5px);
}
.scene-disclaimer {
  margin-right: 6px; font-size: .64rem; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(190, 209, 230, .66); white-space: nowrap;
}
.scene-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .34); transition: background .25s ease, transform .25s ease;
}
.scene-dot:hover { background: rgba(255, 255, 255, .62); }
.scene-dot.is-active { background: var(--beam); transform: scale(1.34); }
.scene-pause {
  width: 22px; height: 22px; margin-left: 6px; padding: 0; cursor: pointer;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(5, 16, 31, .5); color: #cfe0f2;
}
.scene-pause:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }

@media (max-width: 1120px) {
  .scene-copy { max-width: 42%; }
  .scene-mark[data-side="left"] .scene-tag { max-width: 180px; }
  .scene-mark[data-side="right"] .scene-tag { max-width: 180px; }
}

@media (max-width: 720px) {
  /* 手机端：画框按 cover 左右各裁约 18%，标注自动跟着走，无需换算坐标。
     高度必须留够：文案在顶部、圆环在画面中部，两者竖向要拉开 —— 实测
     最长标题（"Medical, Bio & Analytical Instrumentation"）文案底边 104px，
     而圆环顶边 = 0.515h − 22px，所以 h 至少 265px 才有净距。别一味压扁。 */
  .scene-banner { --banner-h: clamp(265px, 68vw, 300px); }
  /* 小屏只留脉冲圆环，标签会让画面糊成一团 */
  .scene-line, .scene-tag { display: none; }
  .scene-ring { width: 44px; height: 44px; }    /* 环收小一点，给文案让位 */
  /* 文案放顶部：圆环在画面中部，竖向拉开 */
  .scene-copy { max-width: 72%; gap: 4px; justify-content: flex-start; padding-top: 14px; }
  .scene-title { font-size: .98rem; }
  .scene-cta { font-size: .76rem; }
  .scene-slide::after {          /* 遮罩跟着改成自上而下 */
    background: linear-gradient(180deg, rgba(5, 16, 31, .90) 0%, rgba(5, 16, 31, .34) 48%,
                rgba(5, 16, 31, .14) 100%);
  }
  .scene-blurb { display: none; }
  .scene-dots { gap: 6px; bottom: 8px; right: 10px; padding: 4px 9px; }
  .scene-dot { width: 7px; height: 7px; }
  .scene-disclaimer { font-size: .54rem; letter-spacing: .02em; margin-right: 2px; }
  .scene-pause { width: 20px; height: 20px; margin-left: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-slide { transition: none; }
  .scene-ring { animation: none; box-shadow: 0 0 0 6px rgba(52, 200, 240, .2); }
}

@media print {
  .site-header, .site-footer, .hero-actions, .toolbar, .cta-band, .scene-banner { display: none !important; }
  body { color: #000; }
  a { color: #000; }
}
