/* Zenovin — first-draft site styles
   Simple, modern, technological. No build step. */

:root {
  --bg: #f3f5f8;
  --bg-elevated: #ffffff;
  --ink: #0b1220;
  --ink-muted: #5c6b80;
  --line: #e1e6ee;
  --line-strong: #c9d2de;
  --navy: #0a1628;
  --navy-2: #102039;
  --navy-3: #173056;
  --accent: #0e9c8a;
  --accent-2: #14b8a6;
  --accent-bright: #2ee6d6;
  --accent-soft: #e6f7f4;
  --csa: #c8102e;
  --header-h: 4.25rem;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.05), 0 10px 28px rgba(11, 18, 32, 0.06);
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
  --font-display: "Space Grotesk", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --content: 1120px;
  --focus: 0 0 0 3px rgba(14, 156, 138, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html[lang="zh"] body {
  font-size: 16px;
}

html:not([lang="en"]) .lang-en,
html:not([lang="es"]) .lang-es,
html:not([lang="fr"]) .lang-fr,
html:not([lang="zh"]) .lang-zh {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0b7d6e;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
  color: #fff;
  box-shadow: var(--focus);
}

/* Header
   ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.container {
  width: min(var(--content), calc(100% - 2.5rem));
  margin-inline: auto;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand img,
.brand-mark,
.brand-logo {
  width: auto;
  height: 40px;
  flex-shrink: 0;
  display: block;
}

.footer-brand img,
.footer-logo {
  width: auto;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.05rem;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--accent);
}

.nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--accent-2);
}

.header-tools {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.lang-toggle {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font: 600 0.75rem/1 var(--font-body);
  letter-spacing: 0.06em;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

/* Hero
   ---------------------------------------------------------------------- */
.hero {
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.2), transparent 40%),
    var(--navy);
  color: #eef3f8;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 43, 72, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 43, 72, 0.55) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  width: min(var(--content), calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(17rem, 0.95fr) minmax(18rem, 1.1fr);
  gap: 1.25rem 2rem;
  align-items: center;
  padding: 3.25rem 0 2rem;
  position: relative;
  z-index: 2;
  pointer-events: none;
  min-height: calc(100vh - var(--header-h));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--accent-bright);
}

.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  color: #fff;
  max-width: 18ch;
}

html[lang="zh"] .hero h1 {
  max-width: 16ch;
  letter-spacing: 0.02em;
}

html[lang="es"] .hero h1 {
  max-width: 22ch;
}

.hero .lede {
  margin: 0 0 1.75rem;
  color: #b7c3d4;
  font-size: 1.08rem;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-graphic {
  /* Replaced on the homepage by .hero-si; kept only as a fallback hook. */
  display: none;
}

.hero-copy {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.hero:has(.hero-si)::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 80% at 10% 48%, rgba(8, 16, 32, 0.42), transparent 72%),
    linear-gradient(
      90deg,
      rgba(8, 16, 32, 0.70) 0%,
      rgba(8, 16, 32, 0.50) 18%,
      rgba(8, 16, 32, 0.28) 34%,
      rgba(8, 16, 32, 0.10) 48%,
      rgba(8, 16, 32, 0) 62%
    );
  pointer-events: none;
  z-index: 1;
}


.hero-si {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-image: url("../img/si-campus-night.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-si-scene {
  position: absolute;
  inset: 0;
}

.hero-si-photo,
.hero-si svg.si-network-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

.hero-si-photo {
  object-fit: cover;
  object-position: center;
}

@media (min-width: 901px) {
  .hero {
    height: calc(100vh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
  }

  .hero-inner {
    min-height: 0;
    height: 100%;
  }
}

.hero-si svg.si-network-svg .si-basement,
.hero-si svg.si-network-svg .si-hit {
  pointer-events: auto;
  cursor: pointer;
}

.si-basement:focus {
  outline: none;
}

.si-basement:focus-visible .si-hit {
  stroke: var(--accent-bright);
  stroke-width: 2;
  stroke-opacity: 0.9;
  fill: rgba(46, 230, 214, 0.08);
}

.si-station-glow {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.si-vault-bright {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  filter: brightness(1.32) contrast(1.06) saturate(1.12);
}

.si-brightens,
.si-brighten {
  pointer-events: none;
}

.si-brighten.is-hot .si-vault-bright {
  opacity: 1;
}

.si-station.is-hot .si-station-glow {
  opacity: 0;
}

/* Idle network: each layer is one group of opaque, pre-mixed strokes so
   overlapping runs (shared trunk, top header) never stack brighter. */
.si-net path,
.si-cable-bed,
.si-cable-core,
.si-cable-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.si-net {
  mix-blend-mode: screen;
  pointer-events: none;
}

.si-net-bed {
  filter: url(#si-glow);
}

.si-net-bed path {
  stroke: #04322c;
  stroke-width: 22;
}

.si-net-core {
  filter: url(#si-glow-sm);
}

.si-net-core path {
  stroke: #0e8174;
  stroke-width: 3.4;
}

.si-net-flow {
  filter: url(#si-glow-sm);
}

.si-net-flow path {
  stroke: #28cabc;
  stroke-width: 2.5;
  stroke-dasharray: 46 18 12 24;
  animation: si-flow 2.6s linear infinite;
}

/* Per-circuit copies are hidden at idle and only light up on hover. */
.si-cable-bed,
.si-cable-core,
.si-cable-flow {
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

.si-cable-bed {
  stroke: #0e9c8a;
  stroke-width: 22;
  filter: url(#si-glow);
}

.si-cable-core {
  stroke: #14B8A6;
  stroke-width: 3.4;
  filter: url(#si-glow-sm);
}

.si-cable-flow {
  stroke: #2EE6D6;
  stroke-width: 2.5;
  stroke-dasharray: 46 18 12 24;
  animation: si-flow 2.6s linear infinite;
  filter: url(#si-glow-sm);
}

.si-cable-current {
  fill: none;
  stroke: #ffffff;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 18 86;
  opacity: 0;
  filter: url(#si-current-glow);
  mix-blend-mode: screen;
  pointer-events: none;
}

.si-run.is-hot .si-cable-bed {
  stroke: #14B8A6;
  opacity: 0.4;
}

.si-run.is-hot .si-cable-core {
  stroke: #b8fff8;
  stroke-width: 4.4;
  opacity: 1;
  filter: url(#si-glow);
}

.si-run.is-hot .si-cable-flow {
  stroke: #e7fffb;
  stroke-width: 3.4;
  opacity: 1;
  animation-duration: 1.15s;
  filter: url(#si-glow);
}

.si-run.is-hot .si-cable-current {
  opacity: 1;
  animation: si-current 0.85s linear infinite;
}

@keyframes si-flow {
  to {
    stroke-dashoffset: -100;
  }
}

@keyframes si-current {
  to {
    stroke-dashoffset: -104;
  }
}



.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.badge-csa {
  background: rgba(200, 16, 46, 0.12);
  border-color: rgba(200, 16, 46, 0.35);
  color: #ffd5db;
}

.badge-csa::before {
  content: "CSA";
  display: inline-block;
  background: var(--csa);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.08rem 0.32rem;
  border-radius: 3px;
}

.badge-muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: #243a5c;
  color: #c5d0de;
}

/* Buttons
   ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #0b8576;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #3a5478;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: var(--accent-bright);
}

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  color: var(--navy);
  border-color: var(--accent);
}

/* Sections
   ---------------------------------------------------------------------- */
.section {
  padding: 4.25rem 0;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-header h2,
.page-hero h1,
.category-block h2,
.contact-card h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.section-header h2,
.category-block h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin: 0 0 0.6rem;
  color: var(--navy);
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.muted,
.section-header p,
.page-hero p {
  color: var(--ink-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.why-card,
.preview-card,
.product-card,
.contact-card,
.info-card {
  padding: 1.4rem 1.45rem 1.5rem;
}

.why-card h3,
.preview-card h3,
.product-card h3,
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0.7rem 0 0.45rem;
}

.why-card p,
.preview-card p,
.product-card p,
.info-card p {
  margin: 0;
  color: var(--ink-muted);
}

.icon-pill {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  --pill-bg: #e8eef8;
  background: var(--pill-bg);
  color: #173a6b;
  display: grid;
  place-items: center;
}

.icon-pill svg {
  width: 22px;
  height: 22px;
}

.placeholder {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: #8a5a12;
  background: #fff6e5;
  padding: 0.05em 0.32em;
  border-radius: 4px;
  border: 1px dashed #e4c48a;
  white-space: nowrap;
}

/* Category preview
   ---------------------------------------------------------------------- */
.section-alt {
  background: #fff;
  border-block: 1px solid var(--line);
}

.preview-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 100%;
}

.preview-card:hover {
  border-color: var(--accent-2);
  box-shadow: var(--shadow);
  color: inherit;
  transform: translateY(-2px);
}

.preview-card .code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 500;
}

.preview-card .more {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

/* CTA band
   ---------------------------------------------------------------------- */
.cta-band {
  background: var(--navy-2);
  color: #e8eef7;
}

.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2.75rem 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  color: #fff;
}

.cta-band p {
  margin: 0;
  color: #9aabc2;
}

/* Page hero (inner pages)
   ---------------------------------------------------------------------- */
.page-hero {
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.2), transparent 40%),
    var(--navy);
  color: #fff;
  padding: 3rem 0 2.6rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 43, 72, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 43, 72, 0.55) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  margin: 0 0 0.6rem;
}

.page-hero p {
  margin: 0;
  color: #b7c3d4;
  max-width: 42rem;
  font-size: 1.05rem;
}

/* Products
   ---------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.filter-btn {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: 600 0.88rem/1 var(--font-body);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--accent);
}

.filter-btn[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.category-block {
  margin-bottom: 3rem;
}

.category-block header {
  margin-bottom: 1.15rem;
}

.category-block header p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 46rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.product-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
}

.type-code {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
}

.product-card .type-name {
  font-weight: 650;
}

.spec-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.spec-list li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.28rem 0;
  border-top: 1px solid var(--line);
}

.spec-list .label {
  color: var(--ink-muted);
}

.note {
  margin: 2rem 0 0;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-size: 0.92rem;
}


/* Product-line hub (products.html)
   ---------------------------------------------------------------------- */
.line-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
}

.line-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 1.4rem 1.45rem 1.5rem;
  min-height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.line-card:hover,
.line-card:focus-visible {
  border-color: var(--accent-2);
  box-shadow: var(--shadow);
  color: inherit;
  transform: translateY(-2px);
}

.line-card .line-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
}

.line-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0.7rem 0 0.45rem;
}

.line-card p {
  margin: 0;
  color: var(--ink-muted);
}

.line-card .more {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

/* Product range list (products/cable-and-wires.html) */
.products-section .filters {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  background: var(--bg);
  padding: 0.75rem 0;
  margin: -0.75rem 0 2.5rem;
}

.products-section .category-block {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem 2.5rem 2.4rem;
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--header-h) + 4.5rem);
}

.category-head {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.category-head h2 {
  margin: 0 0 0.5rem;
}

.category-head p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.65;
}

.product-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.product-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.product-item:last-child {
  border-bottom: 1px solid var(--line);
}

.product-item h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.product-item .type-name {
  font-weight: 600;
  color: var(--ink);
}

.product-item p {
  margin: 0;
  max-width: 48rem;
  line-height: 1.6;
}

.product-item .product-spec {
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

@media (max-width: 600px) {
  .products-section .category-block {
    padding: 1.5rem 1.15rem 1.6rem;
  }
  .products-section .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .products-section .filters .filter-btn {
    flex: 0 0 auto;
  }
}

/* About / contact
   ---------------------------------------------------------------------- */
.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.contact-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-list .label {
  color: var(--ink-muted);
  font-weight: 500;
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.domain-link {
  color: var(--navy);
  font-weight: 600;
}

/* Footer
   ---------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: #b7c3d4;
  padding: 2.5rem 0 1.75rem;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: #d5deea;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-bright);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.85rem;
}

.footer-brand:hover { color: #fff; }

.footer-col h2 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b9bb4;
  margin: 0 0 0.7rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.4rem;
}


.site-footer .brand-name {
  color: #fff;
}

.site-footer .brand-sub {
  color: #8b9bb4;
}

.copyright {
  width: min(var(--content), calc(100% - 2.5rem));
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid #1c3050;
  font-size: 0.85rem;
  color: #8b9bb4;
}

/* Utilities
   ---------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.is-hidden {
  display: none !important;
}

/* Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner,
  .grid-3,
  .split,
  .footer-inner,
  .cta-band .container {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hero-inner {
    padding: 3rem 0 0;
    gap: 1.25rem;
    min-height: 0;
    grid-template-columns: 1fr;
    pointer-events: auto;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-graphic {
    display: none;
  }

  .hero-inner {
    order: 1;
  }

  .hero-si {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: clamp(20rem, 62vw, 27rem);
    overflow: hidden;
    border-top: 1px solid rgba(46, 230, 214, 0.12);
    order: 2;
    background-position: 100% 100%;
  }

  .hero-si-scene {
    inset: 0;
    transform: none;
  }

  .hero-si-photo,
  .hero-si svg.si-network-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-si-photo {
    object-position: 100% 100%;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(10, 22, 40, 0.15) 0%,
      rgba(10, 22, 40, 0) 42%
    );
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cta-band .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a[aria-current="page"] {
    border-bottom-color: var(--line);
  }

  .spec-list li,
  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (max-width: 600px) {
  .brand img,
  .brand-mark,
  .brand-logo {
    height: 30px;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .header-tools {
    gap: 0.35rem;
  }

  .lang-toggle button {
    padding: 0.32rem 0.28rem;
    letter-spacing: 0.02em;
    font-size: 0.68rem;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .header-inner,
  .container,
  .footer-inner,
  .hero-inner,
  .copyright {
    width: min(var(--content), calc(100% - 1.5rem));
  }

  .section {
    padding: 3rem 0;
  }

  .brand-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .preview-card,
  .line-card {
    transition: none;
  }

  .si-net-flow path,
  .si-cable-flow,
  .si-cable-current,
  .si-run.is-hot .si-cable-flow,
  .si-run.is-hot .si-cable-current {
    animation: none !important;
    stroke-dasharray: none !important;
  }

  .si-cable-current,
  .si-run.is-hot .si-cable-current {
    opacity: 0 !important;
  }


  .si-run.is-hot .si-cable-flow,
  .si-run.is-hot .si-cable-core {
    opacity: 1;
  }

  .si-vault-bright,
  .si-station-glow {
    transition: none;
  }
}

/* Product list rows (clickable) and product detail pages
   ---------------------------------------------------------------------- */
.product-list .product-item {
  padding: 0;
}

.product-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0.75rem;
  margin: 0 -0.75rem;
  border-radius: var(--radius-sm);
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}

.product-row:hover,
.product-row:focus-visible {
  background: var(--bg);
  text-decoration: none;
}

.product-row:hover .row-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.product-thumb {
  display: block;
  width: 120px;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-placeholder,
.photo-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef2f7, #f8fafc);
}

.product-text {
  display: block;
  min-width: 0;
}

.product-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.product-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink-muted);
  line-height: 1.55;
  font-size: 0.95rem;
  max-width: 46rem;
}



.row-arrow {
  color: var(--line-strong);
  transition: transform 0.15s ease, color 0.15s ease;
}

/* Detail hero */
.product-hero {
  padding: 2.25rem 0 2.4rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: 0.88rem;
  color: #8b9bb4;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.35rem;
  color: #5d7192;
}

.breadcrumb a {
  color: #b7c3d4;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-bright);
}

.breadcrumb [aria-current] {
  color: #fff;
  font-weight: 600;
}

.product-hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.8rem;
}

.hero-code {
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Detail body */
.product-detail {
  padding-top: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.back-link:hover {
  color: var(--accent);
}

.product-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
}

.product-photo {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-summary h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0 0 0.6rem;
}

.product-summary h3 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 1.4rem 0 0.6rem;
}

.product-summary p {
  margin: 0;
  line-height: 1.65;
  color: var(--ink);
}

.spec-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.spec-chips li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--navy);
  background: var(--accent-soft);
  border: 1px solid #c7ece6;
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.spec-section {
  margin-top: 2.5rem;
}

.spec-section > h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  margin: 0 0 0.4rem;
}

.spec-intro {
  margin: 0 0 1.4rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  max-width: 46rem;
}

.spec-block {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1.25rem;
}

.spec-block h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
  margin: 0 0 0.8rem;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.table-scroll:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.spec-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}

.spec-table th,
.spec-table td {
  padding: 0.5rem 0.7rem;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.spec-table thead th {
  position: sticky;
  top: 0;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.3;
  white-space: normal;
  min-width: 5.2rem;
  vertical-align: bottom;
}

.spec-table thead th .unit {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--accent-bright);
}

.spec-table tbody tr:nth-child(even) td {
  background: #f7f9fc;
}

.spec-table tbody tr:hover td {
  background: var(--accent-soft);
}

.spec-table tbody td:first-child {
  font-weight: 600;
  color: var(--navy);
}

.spec-table .group-row th {
  text-align: left;
  background: #e9eef5;
  color: var(--navy);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-table .cell-note {
  color: var(--ink-muted);
  font-style: italic;
}

.spec-table .cell-empty {
  color: var(--line-strong);
}

.detail-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.detail-footer .back-link {
  margin: 0;
}

@media (max-width: 900px) {
  .product-overview {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .product-row {
    grid-template-columns: 84px 1fr auto;
    gap: 0.85rem;
    padding: 0.85rem 0.5rem;
    margin: 0 -0.5rem;
  }
  .product-thumb {
    width: 84px;
  }
  .product-title {
    font-size: 0.98rem;
  }
  .product-line {
    font-size: 0.88rem;
  }
  .spec-block {
    padding: 1rem 0.85rem 0.85rem;
  }
}

/* GB / GB/T product pages
   ---------------------------------------------------------------------- */
.std-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.std-list li {
  line-height: 1.45;
}

.std-code {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
  margin-right: 0.35rem;
  white-space: nowrap;
}

.spec-table td.cell-wrap {
  white-space: normal;
  min-width: 15rem;
  max-width: 26rem;
  text-align: left;
  line-height: 1.45;
}

.spec-table-merged td[rowspan] {
  vertical-align: middle;
  background: #fff;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.spec-table-merged tbody tr:nth-child(even) td {
  background: transparent;
}

.spec-table-merged tbody tr:hover td {
  background: transparent;
}

.spec-table-merged tbody tr:hover td:first-child {
  background: var(--accent-soft);
}

.spec-note {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Site search
   ---------------------------------------------------------------------- */
.site-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.search-toggle:hover,
.site-search.is-open .search-toggle {
  color: var(--accent);
  border-color: var(--accent-2);
}

.search-toggle:focus-visible,
.search-submit:focus-visible,
.search-input:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.search-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: min(30rem, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.6rem;
  z-index: 60;
}

.search-panel[hidden] {
  display: none;
}

.search-form {
  display: flex;
  gap: 0.4rem;
}

.search-input {
  flex: 1 1 auto;
  min-width: 0;
  font: 400 0.95rem/1.3 var(--font-body);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
}

.search-input::placeholder {
  color: var(--ink-muted);
}

.search-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.search-submit:hover {
  background: var(--navy-3);
}

.search-suggest,
.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-suggest {
  margin-top: 0.5rem;
  max-height: min(60vh, 26rem);
  overflow-y: auto;
}

.search-suggest[hidden] {
  display: none;
}

.search-hit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
}

.search-hit:hover,
.search-suggest li.is-active .search-hit {
  background: var(--accent-soft);
  color: var(--ink);
}

.search-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.search-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.1rem;
}

.search-title {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
}

.search-code {
  font-family: var(--font-mono);
  color: var(--accent);
  margin-right: 0.2rem;
}

.search-meta,
.search-specs {
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-specs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.search-none {
  padding: 0.7rem 0.5rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.search-all a {
  display: block;
  padding: 0.55rem 0.5rem 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
}

.search-page-form {
  max-width: 40rem;
  margin-bottom: 0.75rem;
}

.search-page-form .search-input {
  width: 100%;
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
}

.search-count {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.search-results {
  display: grid;
  gap: 0.6rem;
}

.search-result .search-hit-lg {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  box-shadow: var(--shadow-sm);
}

.search-result .search-hit-lg:hover {
  border-color: var(--accent-2);
  background: #fff;
}

.search-hit-lg .search-thumb {
  flex-basis: 96px;
  width: 96px;
  height: 72px;
}

.search-hit-lg .search-title {
  font-size: 1rem;
}

.search-hit-lg .search-specs {
  white-space: normal;
}

@media (max-width: 900px) {
  .site-search {
    position: static;
  }

  .search-panel {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    top: calc(var(--header-h) - 0.25rem);
  }
}

@media (max-width: 600px) {
  .header-tools {
    gap: 0.45rem;
  }

  .search-toggle {
    width: 36px;
    height: 36px;
  }
}

.spec-table-merged tbody td:first-child {
  font-weight: 400;
  color: inherit;
}

.spec-table-merged tbody td.cell-model {
  font-weight: 600;
  color: var(--navy);
}

/* Search toggle: visible labelled pill (2026-11-14, Ashton: make the search bar clearer)
   ---------------------------------------------------------------------- */
.search-toggle {
  width: auto;
  min-width: 38px;
  gap: 0.45rem;
  padding: 0 0.95rem 0 0.8rem;
  border: 1.5px solid var(--accent-2);
  background: var(--accent-soft);
  color: var(--navy);
  font: 600 0.88rem/1 var(--font-body);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.search-toggle svg {
  flex: 0 0 auto;
}

.search-toggle:hover,
.site-search.is-open .search-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.search-panel {
  border: 1.5px solid var(--accent-2);
}

.search-input {
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--accent-2);
}

.search-submit {
  width: 48px;
  background: var(--accent);
}

.search-submit:hover {
  background: var(--navy);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .search-toggle-label { display: none !important; }
  .search-toggle { width: 38px; padding: 0; }
}

@media (max-width: 600px) {
  .search-toggle-label { display: none !important; }
  .search-toggle { width: 36px; min-width: 36px; padding: 0; }
}

/* Always-visible header search bar (Ashton 2026-11-14 21:26)
   ---------------------------------------------------------------------- */
.site-search .search-toggle { display: none !important; }

.site-search .search-panel,
.site-search .search-panel[hidden] {
  display: block;
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: clamp(13rem, 20vw, 19rem);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-search .search-form { gap: 0; }

.site-search .search-input {
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid var(--accent-2);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: #fff;
}

.site-search .search-submit {
  width: 44px;
  border-radius: 0 999px 999px 0;
}

.site-search .search-suggest {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(30rem, calc(100vw - 2rem));
  margin-top: 0;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 60;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .site-search .search-panel,
  .site-search .search-panel[hidden] { width: 11.5rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 7.4rem; }
  .site-header .header-inner { height: 4.25rem; }
  .site-search { position: static; }
  .site-search .search-panel,
  .site-search .search-panel[hidden] {
    position: absolute;
    top: 4.25rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
  }
  .site-search .search-input { font-size: 1rem; padding: 0.65rem 0.95rem; }
  .site-search .search-submit { width: 50px; }
  .site-search .search-suggest { left: 0; right: 0; width: auto; }
}


/* Simple plain search bar (Ashton 2026-11-14 21:33: "make it simple")
   ---------------------------------------------------------------------- */
.site-search .search-form { position: relative; }
.site-search .search-input {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding-right: 2.6rem;
  background: #fff;
  box-shadow: none;
}
.site-search .search-input:focus-visible { border-color: var(--accent); }
.site-search .search-submit {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-muted);
}
.site-search .search-submit:hover { background: transparent; color: var(--accent); }
@media (max-width: 900px) {
  .site-search .search-submit { width: 38px; height: 38px; }
}

/* Market suitability note under UL / CSA headings */
.market-note {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.line-card .market-note {
  margin: 0 0 0.55rem;
}

.page-hero p.market-note {
  margin: 0 0 0.8rem;
  color: var(--accent-2);
  font-size: 0.85rem;
}
