/* Metric-matched fallback for Inter: keeps line breaks stable while the web font loads (prevents layout shift on font swap). */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"), local("Roboto"); size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; }
/* ==========================================================
   SYTC Global v2 — overseas B2B site
   Layout concept: engineering-first. Dark "pro" hero, a parts finder up
   front, to-scale drawings, buyer terms, and an RFQ on every page.
   Brand blue kept from www.sytc.ltd (#0071E3) so both sites stay related.
   ========================================================== */
:root {
  --section-space: clamp(40px, 6vw, 78px);
  --section-small: clamp(28px, 4vw, 48px);
  --section-head-gap: clamp(20px, 2.5vw, 32px);
  --blue: #0071E3;
  --blue-hover: #0077ED;
  --blue-bright: #0071E3;          /* accent blue (light theme: same as --blue) */
  --blue-wash: rgba(0, 113, 227, 0.08);

  --ink: #1D1D1F;
  --ink-2: #59595F;
  --ink-3: #59595F;
  --paper: #FFFFFF;
  --mist: #F5F5F7;
  --line: rgba(0, 0, 0, 0.09);
  --line-soft: rgba(0, 0, 0, 0.05);

  /* Light theme (2026-11-05): the former dark "night" bands are now a pale
     brand-blue wash. Token names kept so every rule still points here. */
  --night: #EEF4FB;
  --night-2: #E6EEF8;
  --night-3: #FFFFFF;
  --night-line: rgba(0, 0, 0, 0.08);
  --on-night: #1D1D1F;
  --on-night-2: #5F6268;

  --gold: #C9A55A;
  --nylon: #F3F0E7;

  --font: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* data face: same family, tabular figures + slashed zero (see .num rule below) */
  --font-mono: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 980px;
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 18px 48px rgba(0,0,0,.08);
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);

  --nav-h: 56px;
  --wrap: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -0.012em;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: -0.022em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(0,113,227,.55); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * 20px); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--font-mono); letter-spacing: 0; font-weight: 500; }
/* numbers and part numbers line up and 0 never reads as O */
.mono, .pchip, .dec, input { font-feature-settings: "zero" 1; }
.hero-facts b, .figures b, .pc-stats dd { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }

/* ---------- Type scale ---------- */
.kicker { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); }
.kicker.blue { color: var(--blue); }
.night .kicker { color: var(--on-night-2); }
.night .kicker.blue { color: var(--blue-bright); }
.t-hero { font-size: clamp(42px, 5.3vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.t-1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; }
.t-2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.025em; }
.t-3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 60ch; }
.night .lead { color: var(--on-night-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: var(--pill); border: 0; cursor: pointer;
  font-size: 16px; font-weight: 500; white-space: nowrap; text-decoration: none !important;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); background: transparent; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.night .btn-ghost { color: var(--on-night); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); background: rgba(255,255,255,.6); }
.night .btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 13px; }
.btn[disabled] { opacity: .6; cursor: default; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.arrow-link::after { content: "›"; font-size: 1.25em; line-height: 1; margin-top: -0.08em; transition: transform .25s var(--ease); }
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover::after { transform: translateX(3px); }
.night .arrow-link { color: var(--blue-bright); }

/* ---------- Top bar + nav ---------- */
.topbar { background: var(--night-2); color: var(--on-night-2); font-size: 12px; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; min-height: 34px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.topbar .wrap::-webkit-scrollbar { display: none; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-bright); }
.topbar .right { margin-left: auto; display: flex; gap: 18px; }
.topbar a { color: var(--on-night-2); }
.topbar a:hover { color: var(--ink); text-decoration: none; }
.topbar .right span::before { display: none; }

.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86); color: var(--on-night); box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none !important; flex-shrink: 0; }
.logo-mark { width: 24px; height: 24px; }


.nav ul { display: flex; gap: 16px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: rgba(29,29,31,.78); font-size: 13px; text-decoration: none; transition: color .2s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--blue); }
.nav .btn { flex-shrink: 0; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; flex-shrink: 0; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 23px; }
.nav.open .nav-toggle span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }
@media (max-width: 1140px) {
  .logo-sub, .nav ul, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open { height: 100vh; height: 100dvh; background: rgba(255,255,255,.98); }
  .nav.open .wrap { align-items: flex-start; padding-top: 12px; flex-wrap: wrap; height: auto; }
  .nav.open ul { display: flex; flex-direction: column; gap: 4px; width: 100%; margin: 24px 0 0; order: 3; }
  .nav.open ul a { font-size: 26px; font-weight: 600; color: var(--ink); display: block; padding: 6px 0; }
  .nav.open .btn { display: inline-flex; order: 4; margin-top: 24px; }
}

/* ---------- Sections ---------- */
.sec { padding-block: var(--section-space); }
.sec-sm { padding-block: var(--section-small); }
.mist { background: var(--mist); }
.night { background: var(--night); color: var(--on-night); }

.sec-head { display: grid; gap: 10px; margin-bottom: var(--section-head-gap); max-width: 760px; }
.sec-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 720px) { .sec-head.split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #E8F1FC 0%, var(--night) 100%); color: var(--on-night); padding-block: clamp(56px, 7vw, 96px) 0; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,113,227,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0,113,227,.07) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; }
.hero-copy { display: grid; gap: 22px; padding-bottom: clamp(40px, 6vw, 72px); }
.hero-copy .t-hero span { color: var(--blue-bright); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }





.hero-art { align-self: end; min-width: 0; margin-bottom: clamp(24px, 4vw, 56px); }
.hero-art svg { width: 100%; height: auto; }
.art-plug { animation: plug 1.4s var(--ease) .35s both; }
.art-glow { animation: glow 1.6s var(--ease) 1.1s both; }
@keyframes plug { from { transform: translateY(-80px); } to { transform: none; } }
@keyframes glow { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { max-width: 560px; margin: 0 auto; width: 100%; }
}
/* ---------- Finder ---------- */











.xref-form { display: flex; gap: 8px; }
.xref-form .input { flex: 1; min-width: 0; }
.xref-hint { font-size: 12px; color: var(--ink-3); }
.xref-hint code { font-family: var(--font-mono); background: var(--mist); padding: 1px 6px; border-radius: 5px; color: var(--ink-2); }

@media (max-width: 420px) {
 .xref-form { flex-direction: column; } }/* ---------- Cert bar ---------- */




/* ---------- Three ways ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.way:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }

.way-art:has(img) { padding: 0; }








@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }


.scale-note { margin-top: 14px; font-size: 12px; color: var(--ink-3); }

/* ---------- Harness feature (dark) ---------- */
.anatomy { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.anatomy-art { background: var(--paper); box-shadow: var(--shadow); border-radius: var(--r-xl); padding: clamp(18px, 3vw, 36px); min-width: 0; }
.anatomy-art svg { width: 100%; height: auto; }
.anatomy-art .callout { cursor: default; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.anatomy-art .callout.on circle { fill: #FF9F0A; }
.parts-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; counter-reset: part; }
.parts-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--night-line); cursor: default; transition: color .2s; }
.parts-list li::before { counter-increment: part; content: counter(part); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,113,227,.25); color: var(--blue); transition: background .2s, color .2s; }
.parts-list li:hover::before, .parts-list li.on::before { background: #FF9F0A; color: #000; }
.parts-list b { display: block; font-weight: 600; }
.parts-list span { font-size: 14px; color: var(--on-night-2); }
@media (max-width: 960px) { .anatomy { grid-template-columns: 1fr; } }

/* ---------- Buyer terms ---------- */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.term { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.term:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.term .kicker { color: var(--blue); }
.term h3 { font-size: 21px; }
.term p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) {
  .terms { grid-template-columns: 1fr 1fr; }
  .term:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .term:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .terms { grid-template-columns: 1fr; }
  .term:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Factory ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: flow; }
.flow li { list-style: none; background: var(--night-3); box-shadow: 0 1px 2px rgba(0,0,0,.04), inset 0 0 0 1px var(--night-line); border-radius: var(--r-md); padding: 20px 18px; display: grid; gap: 6px; align-content: start; position: relative; }
.flow li::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--blue-bright); }
.flow b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.flow span { font-size: 13px; color: var(--on-night-2); line-height: 1.45; }
.flow { padding: 0; margin: 0; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr 1fr; } }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--night-line); }
.figures div { padding: 26px 20px 0 0; }
.figures b { display: block; font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.figures b sup { font-size: .45em; color: var(--blue-bright); vertical-align: top; position: relative; top: .3em; margin-left: 3px; }
.figures small { display: block; margin-top: 8px; font-size: 13px; color: var(--on-night-2); }
@media (max-width: 720px) { .figures { grid-template-columns: 1fr 1fr; row-gap: 20px; } }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.industry { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.industry .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-wash); color: var(--blue); display: grid; place-items: center; }
.industry .ico svg { width: 22px; height: 22px; }
.industry h3 { font-size: 17px; letter-spacing: -0.015em; }
.industry p { font-size: 14px; color: var(--ink-2); margin-top: 3px; }
@media (max-width: 900px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.018em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; max-width: 64ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- RFQ band ---------- */
.rfq { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.rfq-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.rfq-points li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.rfq-points .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--night-3); box-shadow: inset 0 0 0 1px rgba(0,113,227,.2); color: var(--blue-bright); display: grid; place-items: center; }
.rfq-points .ico svg { width: 18px; height: 18px; }
.rfq-points b { display: block; font-size: 16px; }
.rfq-points span { font-size: 14px; color: var(--on-night-2); }
.contact-lines { margin-top: 28px; display: grid; gap: 6px; font-size: 15px; }
.contact-lines .mono { font-size: 14px; }
.night .contact-lines a { color: var(--on-night); }
@media (max-width: 900px) { .rfq { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.card-form { background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.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, .field .lbl { font-size: 13px; font-weight: 600; }
.field i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.input {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--r-sm); border: 1px solid rgba(0,0,0,.14);
  background: var(--paper); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.45; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.input:user-invalid { border-color: #D70015; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { font-weight: 400; font-size: 14px; padding: 7px 14px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px rgba(0,0,0,.16); cursor: pointer; transition: all .2s; }
.chips input:checked + label { background: var(--blue); color: #fff; box-shadow: none; }
.chips input:focus-visible + label { outline: 3px solid rgba(0,113,227,.5); outline-offset: 2px; }
.dropzone { border: 1.5px dashed rgba(0,0,0,.18); border-radius: var(--r-sm); padding: 20px; text-align: center; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: var(--blue-wash); }
.dropzone b { color: var(--blue); font-weight: 500; }
.file-list { font-size: 13px; display: grid; gap: 4px; }
.form-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.form-foot small { font-size: 12px; color: var(--ink-3); }
.form-error { margin-top: 16px; color: #B42318; font-size: 14px; }
.form-error a { color: inherit; text-decoration: underline; }
.rfq-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-done { display: none; text-align: center; padding: 40px 10px; }
.form-done .ok { width: 60px; height: 60px; border-radius: 50%; background: #34C759; display: grid; place-items: center; margin: 0 auto 18px; }
form.sent { display: none; }
form.sent + .form-done { display: block; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-top { background: var(--night); color: var(--on-night); padding-block: var(--section-small); }
.page-top .wrap { display: grid; gap: 16px; }
.crumbs { font-size: 12px; color: var(--on-night-2); font-family: var(--font-mono); }
.crumbs a { color: var(--on-night-2); }

/* ---------- Catalog ---------- */
.catalog { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 26px; }
.filters h3 { font-size: 13px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); margin-bottom: 8px; }










.rows { display: grid; }
.prow { display: grid; grid-template-columns: 150px 1fr auto; gap: 26px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.prow-art { background: var(--mist); border-radius: var(--r-md); aspect-ratio: 4/3; display: grid; place-items: center; padding: 12px; }
.prow-art svg { max-height: 92px; width: auto; }
.prow-main { min-width: 0; display: grid; gap: 6px; }
.prow-main h3 { font-size: 19px; letter-spacing: -0.018em; }
.prow-main .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-family: var(--font-mono); padding: 3px 8px; border-radius: 6px; background: var(--mist); color: var(--ink-2); }
.tag.blue { background: var(--blue-wash); color: var(--blue); }
.spec-line { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--ink-2); }
.spec-line b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); font-size: 13px; }
.prow-act { display: grid; gap: 8px; justify-items: stretch; }
.empty { padding: 64px 0; text-align: center; color: var(--ink-2); display: grid; gap: 10px; }

@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 20px; }
  .filters { display: none; }





}
@media (max-width: 640px) {
  .prow { grid-template-columns: 96px 1fr; gap: 16px; }
  .prow-act { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .prow-art svg { max-height: 60px; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.t th, table.t td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.t th { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); background: var(--mist); }
table.t tr:last-child td { border-bottom: 0; }
table.t td.mono { font-size: 14px; }
table.t tr.hit td { background: var(--blue-wash); }

/* ---------- Cross-reference ---------- */
.xref-big { display: flex; gap: 10px; max-width: 640px; }
.xref-big .input { min-height: 54px; font-size: 18px; font-family: var(--font-mono); background: var(--night-3); border-color: rgba(0,0,0,.14); color: var(--on-night); }
.xref-big .input::placeholder { color: #6E6E73; }
.xref-big .input:focus { border-color: var(--blue-bright); }
.xref-big .btn { min-height: 54px; }
.xref-result { margin-top: 18px; min-height: 28px; font-size: 15px; color: var(--on-night-2); }
.xref-result b { color: var(--ink); font-family: var(--font-mono); font-weight: 500; }
.xref-result .match { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--night-line); padding: 14px 18px; border-radius: var(--r-md); }
@media (max-width: 560px) { .xref-big { flex-direction: column; } }

/* ---------- Steps (harness page) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: st; position: relative; }
.steps li { list-style: none; padding: 0 18px 0 0; display: grid; gap: 8px; align-content: start; position: relative; }
.steps li::before { counter-increment: st; content: counter(st); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { font-size: 17px; margin-top: 6px; }
.steps span { font-size: 14px; color: var(--ink-2); }
.steps { padding: 0; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0; }
  .steps li::before { grid-row: span 2; }
  .steps li::after { top: 40px; bottom: -22px; left: 20px; right: auto; width: 1px; height: auto; }
  .steps b { margin-top: 8px; }
}
.steps.vertical { grid-template-columns: 1fr; gap: 22px; }
.steps.vertical li { grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0; }
.steps.vertical li::before { grid-row: span 2; }
.steps.vertical li::after { top: 40px; bottom: -22px; left: 20px; right: auto; width: 1px; height: auto; }
.steps.vertical b { margin-top: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; }
.check li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }

.tile { background: var(--mist); border-radius: var(--r-lg); padding: 24px 22px; display: grid; gap: 6px; align-content: start; }
.tile h3 { font-size: 18px; }
.tile p { font-size: 14px; color: var(--ink-2); }



/* ---------- Footer ---------- */
.footer { background: var(--mist); border-top: 1px solid var(--line); color: var(--on-night-2); font-size: 13px; padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--night-line); }
.footer h4, .footer .footer-h { color: var(--on-night); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--on-night-2); }
.footer a:hover { color: var(--blue); text-decoration: none; }
.footer .about p { max-width: 36ch; margin-top: 14px; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; font-size: 12px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer .about { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .art-plug, .art-glow { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   PRODUCT CENTER
   ========================================================== */
.link-btn { border: 0; background: none; padding: 0; color: var(--blue); font-size: 13px; cursor: pointer; font-weight: 500; }
.link-btn:hover { text-decoration: underline; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; display: grid; place-items: center; }
.icon-btn svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
.pict { width: 30px; height: 24px; flex-shrink: 0; color: var(--ink-2); }
.na { color: var(--ink-3); }

.pc-top { padding-block: clamp(40px, 5vw, 64px) 0; }
.pc-top .wrap { display: grid; gap: 22px; }
.pc-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; }
.pc-head .lead { margin-top: 12px; }
.pc-stats { display: flex; gap: 0; margin: 0; }
.pc-stats div { padding: 0 22px; border-left: 1px solid var(--night-line); }
.pc-stats div:first-child { border-left: 0; padding-left: 0; }
.pc-stats dt { font-size: 12px; color: var(--on-night-2); }
.pc-stats dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pc-search { position: relative; max-width: 760px; }
.pc-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--on-night-2); }
.pc-search input { width: 100%; height: 56px; border-radius: var(--r-md); border: 1px solid rgba(0,0,0,.14); background: var(--night-3); color: var(--on-night); padding: 0 18px 0 50px; font-size: 17px; font-family: var(--font-mono); }
.pc-search input::placeholder { color: #6E6E73; font-family: var(--font); }
.pc-search input:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(0,113,227,.18); }
.pc-conn { display: flex; gap: 4px; margin-top: 6px; overflow-x: auto; scrollbar-width: none; }
.pc-conn::-webkit-scrollbar { display: none; }
.pc-conn button { border: 0; background: transparent; color: var(--on-night-2); padding: 14px 20px 16px; border-radius: 14px 14px 0 0; cursor: pointer; display: flex; gap: 10px; align-items: baseline; white-space: nowrap; transition: background .2s, color .2s; }
.pc-conn button b { font-size: 15px; font-weight: 600; }
.pc-conn button .mono { font-size: 12px; opacity: .8; }
.pc-conn button:hover { color: var(--ink); }
.pc-conn button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
@media (max-width: 760px) { .pc-head { grid-template-columns: 1fr; } .pc-stats dd { font-size: 24px; } .pc-stats div { padding: 0 14px; } }

.pc-body { padding-block: 28px 80px; }
.pc-grid { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 36px; align-items: start; }
.pc-filters { position: sticky; top: calc(var(--nav-h) + 16px); max-height: calc(100vh - var(--nav-h) - 32px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
.pc-filters-head { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; }
.pc-filters-head h2 { font-size: 19px; margin-right: auto; }
.pc-close, .pc-filters-foot, .pc-open { display: none; }
.fc { border: 0; padding: 16px 0; margin: 0; border-top: 1px solid var(--line); min-width: 0; }
.fc legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.fc legend .link-btn { margin-left: auto; font-size: 12px; }
.fc-hint { font-weight: 400; font-size: 11px; color: var(--ink-3); }
.fc-note { clear: both; font-size: 12px; color: var(--ink-3); margin-top: 8px; line-height: 1.4; }
.opts { clear: both; display: grid; gap: 1px; }
.opts.grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.opt { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; text-align: left; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ink); }
.opt:hover:not(:disabled) { background: var(--mist); }
.opt:disabled { opacity: .35; cursor: default; }
.opt .cb { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); display: grid; place-items: center; flex-shrink: 0; transition: background .15s, box-shadow .15s; }
.opt .cb svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.opt[aria-pressed="true"] .cb { background: var(--blue); box-shadow: none; }
.opt[aria-pressed="true"] .cb svg { opacity: 1; }
.opt .ol { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.opt .ol em { font-style: normal; font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); }
.opt small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.opt.g { flex-direction: column; gap: 0; padding: 9px 4px 7px; background: var(--mist); text-align: center; align-items: center; }
.opt.g .ol { font-family: var(--font-mono); font-size: 14px; align-items: center; }
.opt.g[aria-pressed="true"] { background: var(--blue); color: #fff; }
.opt.g[aria-pressed="true"] small { color: rgba(255,255,255,.75); }
.opt.i .pict { width: 34px; height: 27px; }
.opt.i[aria-pressed="true"] .pict { color: var(--blue); }
.fc-search .input { min-height: 36px; font-size: 14px; padding: 6px 12px; margin-bottom: 8px; clear: both; }
.letters { display: flex; gap: 6px; margin-bottom: 8px; clear: both; }
.chip-s { border: 0; background: var(--mist); font-size: 12px; padding: 5px 10px; border-radius: var(--pill); cursor: pointer; color: var(--ink); }
.chip-s:hover { background: rgba(118,118,128,.18); }
.chip-s small { color: var(--ink-3); font-family: var(--font-mono); }
.fc .link-btn[data-series-all] { margin-top: 6px; padding: 4px 8px; }
.seg-sm { display: inline-flex; background: var(--mist); border-radius: 9px; padding: 2px; clear: both; margin-bottom: 8px; }
.seg-sm button { border: 0; background: none; padding: 5px 14px; border-radius: 7px; font-size: 13px; cursor: pointer; color: var(--ink); }
.seg-sm button[aria-pressed="true"] { background: var(--paper); box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
.pos-in { display: flex; gap: 8px; align-items: center; clear: both; }
.pos-in .input { min-height: 38px; font-size: 15px; padding: 6px 12px; font-family: var(--font-mono); }
.pos-in span { font-size: 13px; color: var(--ink-3); }
.pc-more { border-top: 1px solid var(--line); }
.pc-more summary { list-style: none; cursor: pointer; padding: 16px 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pc-more summary::-webkit-details-marker { display: none; }
.pc-more summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .25s; }
.pc-more[open] summary::after { transform: rotate(-135deg); }
.pc-more summary .mono { font-size: 12px; color: var(--blue); font-weight: 500; }

.pc-bar { display: flex; gap: 12px; align-items: stretch; }
.seg-lg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--mist); padding: 5px; border-radius: 16px; flex: 1; }
.seg-lg button { border: 0; background: transparent; border-radius: 12px; padding: 12px 16px; cursor: pointer; text-align: left; display: grid; grid-template-columns: 1fr auto; column-gap: 10px; color: var(--ink); transition: background .2s, box-shadow .2s; }
.seg-lg button b { font-size: 16px; font-weight: 600; }
.seg-lg button small { grid-column: 1; font-size: 12px; color: var(--ink-2); }
.seg-lg button .mono { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 20px; font-weight: 500; color: var(--ink-2); }
.seg-lg button[aria-pressed="true"] { background: var(--paper); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.seg-lg button[aria-pressed="true"] .mono { color: var(--blue); }
.pc-bar2 { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 22px 0 12px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 12px); }
.pc-summary { font-size: 14px; color: var(--ink-2); }
.pc-summary b { color: var(--ink); font-family: var(--font-mono); font-weight: 500; }
.tabs { display: inline-flex; gap: 2px; background: var(--mist); padding: 3px; border-radius: 11px; }
.tabs button { border: 0; background: none; padding: 7px 14px; border-radius: 9px; font-size: 14px; cursor: pointer; color: var(--ink); white-space: nowrap; }
.tabs button .mono { font-size: 11px; color: var(--ink-3); }
.tabs button[aria-selected="true"] { background: var(--paper); box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
.pc-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 0 0; }
.pc-active:empty { display: none; }
.achip { border: 0; background: var(--blue-wash); color: var(--blue); font-size: 13px; padding: 6px 10px 6px 12px; border-radius: var(--pill); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.achip span { font-size: 15px; line-height: 1; }
.achip:hover { background: rgba(0,113,227,.16); }
.pc-results { min-width: 0; }
#pc-out { padding-top: 20px; min-height: 400px; }



.ser-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ser-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); text-decoration: none !important; background: var(--paper); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.ser-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ser-img, .mod-img { background: var(--mist); display: grid; place-items: center; padding: 14px; overflow: hidden; }
.ser-img img, .mod-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; }
.ph svg { max-height: 100%; width: auto; max-width: 90%; }
.ser-body { padding: 16px 18px 18px; display: grid; gap: 10px; align-content: start; }
.ser-top { display: flex; align-items: center; justify-content: space-between; }
.ser-code { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.letter { width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.kv { margin: 0; display: grid; gap: 4px; font-size: 13px; }
.kv div { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; text-align: right; }
.kv .ors { display: flex; gap: 2px; }
.kv .ors .pict { width: 26px; height: 21px; }
.ser-count { font-size: 13px; color: var(--ink-2); padding-top: 8px; border-top: 1px solid var(--line-soft); }
.ser-count b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }

.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.mod-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: var(--paper); }
.mod-img { text-decoration: none !important; }
.mod-body { padding: 14px 16px 16px; display: grid; gap: 8px; align-content: start; }
.mod-body h3 { font-size: 17px; font-weight: 500; letter-spacing: 0; word-break: normal; overflow-wrap: anywhere; }
.mod-body .desc { font-size: 13px; }
.or-line { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-2); }
.mod-more { justify-self: start; margin-top: 4px; font-size: 14px; }

.ptable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.ptable th { position: sticky; top: 0; background: var(--mist); text-align: left; padding: 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable th button { border: 0; background: none; width: 100%; text-align: left; padding: 11px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-2); cursor: pointer; display: flex; gap: 4px; }
.ptable th button:hover { color: var(--ink); }
.ptable th button i { font-style: normal; color: var(--blue); }
.ptable td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; vertical-align: middle; background: var(--paper); }
.ptable tr:last-child td { border-bottom: 0; }
.ptable tr:hover td { background: #FAFAFC; }
.ptable td.sticky, .ptable th:first-child { position: sticky; left: 0; z-index: 1; }
.ptable th:first-child { z-index: 2; }
.ptable td.sticky { box-shadow: 1px 0 0 var(--line-soft); }
.ptable .pn { font-size: 13px; font-weight: 500; color: var(--ink); }
.ptable .pn:hover { color: var(--blue); }
.ptable small { color: var(--ink-3); font-size: 11px; }
.or-cell { display: inline-flex; align-items: center; gap: 4px; }
.or-cell .pict { width: 24px; height: 19px; }
.ptable td.act { text-align: right; padding: 6px 10px; position: sticky; right: 0; box-shadow: -1px 0 0 var(--line-soft); }
.ptable th:last-child { position: sticky; right: 0; z-index: 2; }
.ptable-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 2px; font-size: 13px; }
.pager { display: flex; gap: 10px; align-items: center; }
.pager button { border: 1px solid var(--line); background: var(--paper); padding: 6px 14px; border-radius: var(--pill); cursor: pointer; font-size: 13px; color: var(--ink); }
.pager button:disabled { opacity: .4; cursor: default; }

.add-btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,113,227,.35); background: var(--paper); color: var(--blue); cursor: pointer; display: inline-grid; place-items: center; transition: background .2s, color .2s, border-color .2s; padding: 0; }
.add-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.add-btn .tick { display: none; }
.add-btn:hover { background: var(--blue-wash); }
.add-btn.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.add-btn.on .plus { display: none; }
.add-btn.on .tick { display: inline; }
.add-btn.big { width: auto; height: 44px; padding: 0 20px; border-radius: var(--pill); gap: 8px; display: inline-flex; align-items: center; font-size: 16px; font-weight: 500; }

.pc-help { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.pc-help p { margin-top: 4px; }

@media (max-width: 1000px) {
  .pc-grid { grid-template-columns: minmax(0, 1fr); }
  .pc-filters { display: none; }
  .pc-open { display: inline-flex; }
  body.filters-open { overflow: hidden; }
  body.filters-open .pc-filters {
    display: block; position: fixed; inset: 0; z-index: 200; max-height: none; background: var(--paper);
    padding: calc(16px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 90px max(20px, env(safe-area-inset-left, 0px));
  }
  body.filters-open .pc-close { display: grid; }
  body.filters-open .pc-filters-foot { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .pc-filters-foot .btn { width: 100%; }
}
@media (max-width: 640px) {
  .pc-bar { flex-direction: column; }
  .seg-lg { grid-template-columns: repeat(3, 1fr); }
  .seg-lg button { padding: 10px; grid-template-columns: 1fr; }
  .seg-lg button small { display: none; }
  .seg-lg button .mono { grid-row: auto; grid-column: 1; font-size: 15px; }
  .seg-lg button b { font-size: 14px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 7px 6px; font-size: 13px; }
}

/* ---------- RFQ link in nav ---------- */
.nav-rfq { position: relative; display: inline-flex; align-items: center; gap: 6px; color: rgba(29,29,31,.78); font-size: 13px; text-decoration: none !important; flex-shrink: 0; }
.nav-rfq:hover { color: var(--ink); }
.nav-rfq svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-rfq b { min-width: 18px; height: 18px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.nav-rfq b[hidden] { display: none; }
@media (max-width: 1140px) { .nav-rfq { margin-left: auto; min-width: 40px; min-height: 40px; justify-content: center; } .nav-rfq + .btn + .nav-toggle, .nav-rfq ~ .nav-toggle { margin-left: 8px; } }

/* ==========================================================
   SERIES + PART PAGES
   ========================================================== */
.mono-h { font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.03em; }
.sr-top { padding-block: var(--section-small); }
.sr-head { display: grid; grid-template-columns: 1fr auto; gap: 28px 56px; align-items: end; }
.sr-head .lead { margin-top: 12px; }
.sr-stats { display: grid; grid-template-columns: repeat(2, auto); gap: 18px 36px; margin: 0; }
.sr-stats dt { font-size: 12px; color: var(--on-night-2); }
.sr-stats dd { margin: 4px 0 0; font-family: var(--font-mono); font-size: 28px; font-weight: 500; }
@media (max-width: 760px) { .sr-head { grid-template-columns: 1fr; } }


.sm-h { font-size: 19px; display: flex; gap: 10px; align-items: baseline; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 14px; }
.sm-h small { font-size: 13px; font-weight: 400; color: var(--ink-3); font-family: var(--font-mono); }













.spec-t { min-width: 1100px; font-size: 13px; }
.spec-t td, .spec-t th { white-space: nowrap; padding: 12px 14px; }

.sr-filter { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.sr-filter select { max-width: 340px; min-height: 42px; font-size: 14px; }
.sr-filter input { width: 190px; min-height: 42px; font-size: 14px; }






/* Part number decoder */
.dec { background: var(--paper); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); min-width: 0; }
.dec-pn { font-size: clamp(18px, 2.6vw, 28px); font-weight: 500; display: flex; flex-wrap: wrap; gap: 4px 2px; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dec-pn span { padding: 2px 4px 6px; border-bottom: 3px solid currentColor; line-height: 1; }
.dec-pn i { font-style: normal; color: var(--ink-3); }
.dec-key { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.dec-key li { display: grid; grid-template-columns: minmax(70px, auto) 96px 1fr; gap: 12px; align-items: baseline; font-size: 14px; }
.dec-key .mono { font-weight: 500; padding-left: 10px; border-left: 3px solid currentColor; }
.dec-key b { color: var(--ink); font-weight: 600; font-size: 13px; }
.dec-key em { font-style: normal; color: var(--ink-2); }
.d0 { color: #0071E3; } .d1 { color: #8E44C9; } .d2 { color: #0A8F5B; } .d3 { color: #C25E00; } .d4 { color: #B8325B; } .d5 { color: #3D6B8F; }
.dec-key .mono { color: var(--ink); }
.dec-key li.d0 .mono { border-color: #0071E3; } .dec-key li.d1 .mono { border-color: #8E44C9; } .dec-key li.d2 .mono { border-color: #0A8F5B; } .dec-key li.d3 .mono { border-color: #C25E00; } .dec-key li.d4 .mono { border-color: #B8325B; } .dec-key li.d5 .mono { border-color: #3D6B8F; }
.dec-pn span.d0, .dec-pn span.d1, .dec-pn span.d2, .dec-pn span.d3, .dec-pn span.d4, .dec-pn span.d5 { color: var(--ink); }
.dec-pn span.d0 { border-color: #0071E3; } .dec-pn span.d1 { border-color: #8E44C9; } .dec-pn span.d2 { border-color: #0A8F5B; } .dec-pn span.d3 { border-color: #C25E00; } .dec-pn span.d4 { border-color: #B8325B; } .dec-pn span.d5 { border-color: #3D6B8F; }
@media (max-width: 480px) { .dec-key li { grid-template-columns: 64px 1fr; row-gap: 2px; } .dec-key em { grid-column: 2; } }

.part-top { padding-block: 28px clamp(44px, 6vw, 72px); }
.part-top .crumbs, .part-top .crumbs a { color: var(--ink-2); }
.part-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 18px; }
.part-img { background: var(--mist); border-radius: var(--r-xl); aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden; }
.part-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.part-info { display: grid; gap: 16px; min-width: 0; }
.part-pn { font-size: clamp(26px, 3.6vw, 42px); font-weight: 500; letter-spacing: -0.02em; word-break: normal; overflow-wrap: anywhere; }
.key-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 6px 0; border-top: 1px solid var(--line); }
.key-specs div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.key-specs dt { font-size: 12px; color: var(--ink-3); }
.key-specs dd { margin: 4px 0 0; font-family: var(--font-mono); font-size: 17px; font-weight: 500; }
.or-dd { display: flex; align-items: center; gap: 6px; }
.or-dd .pict { width: 28px; height: 22px; color: var(--ink); }
@media (max-width: 860px) { .part-grid { grid-template-columns: 1fr; } .key-specs { grid-template-columns: repeat(2, 1fr); } }
.mate-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.mate-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mate-list a { font-size: 15px; font-weight: 500; }
.mate-list span { grid-column: 1; font-size: 13px; color: var(--ink-2); }
.mate-list .add-btn { grid-row: 1 / span 2; grid-column: 2; }
.pos-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pos-links a { padding: 8px 14px; border-radius: var(--pill); background: var(--mist); color: var(--ink); font-size: 14px; text-decoration: none; }
.pos-links a:hover { background: rgba(118,118,128,.2); }
.pos-links a[aria-current] { background: var(--ink); color: #fff; }

/* RFQ list on contact */
.rfq-list { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 22px; background: var(--mist); }
.rfq-list-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.rfq-list ul { list-style: none; margin: 0; padding: 0; display: grid; }
.rfq-list li { display: grid; grid-template-columns: 1fr 92px 36px; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.rfq-list li div { display: grid; min-width: 0; }
.rfq-list li a { font-size: 14px; font-weight: 500; word-break: normal; overflow-wrap: anywhere; }
.rfq-list li span { font-size: 12px; color: var(--ink-2); }
.rfq-list .input { min-height: 36px; font-size: 14px; padding: 6px 10px; }
.rfq-list .icon-btn { width: 32px; height: 32px; background: var(--paper); }
@media (max-width: 1140px) { .nav-rfq-t { display: none; } }

/* ---------- Real logo ---------- */
.logo-img { width: 72px; height: auto; display: block; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; letter-spacing: 0; }
.logo-tagline { font-size: 12px; font-weight: 500; line-height: 1.2; color: var(--on-night); white-space: nowrap; }
.logo-company { font-size: 9px; line-height: 1.2; color: var(--ink-2); white-space: nowrap; }
.logo-foot { height: 52px; width: auto; display: block; }
@media (max-width: 1140px) {
  .nav .wrap { gap: 12px; }
}
@media (max-width: 600px) {
  .nav .logo { flex-shrink: 1; min-width: 0; gap: 8px; }
  .logo-img { width: 58px; }
  .logo-tagline { font-size: 11px; white-space: normal; }
  .logo-tagline > span { display: block; }
  .logo-company { font-size: 9px; white-space: normal; }
}
@media (max-width: 360px) {
  .logo-img { width: 48px; }
  .logo-tagline { font-size: 11px; }
}

/* ---------- Product photos: 875×700 (5:4) studio shots, shown whole ---------- */
.ser-img, .mod-img { aspect-ratio: 5 / 4; padding: 0; }
.ser-img img, .mod-img img, .sm-img img, .part-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; display: block; }
.ser-img .ph, .mod-img .ph, .sm-img .ph { padding: 14px; }
.part-img .ph { padding: 32px; }
.tag { white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- 3D hero ---------- */
.hero-3d { position: relative; aspect-ratio: 1 / 0.92; width: 100%; align-self: center; margin-bottom: clamp(16px, 3vw, 40px); }
.hero-3d::before { content: ""; position: absolute; inset: 8% 4% 14% 8%; background: radial-gradient(closest-side, rgba(0,113,227,.13), rgba(0,113,227,0) 72%); pointer-events: none; }
.hero3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 100%); }
.hero-3d-cap { position: absolute; right: 0; bottom: -4px; margin: 0; font-size: 11px; color: var(--on-night-2); letter-spacing: .02em; opacity: 0; transition: opacity 1s var(--ease) .6s; }
.hero-3d.is-3d .hero-3d-cap { opacity: .85; }
@media (max-width: 900px) { .hero-3d { aspect-ratio: 1 / 0.95; } }

/* ==========================================================
   MODEL DETAIL PAGE
   ========================================================== */
a.sm-card, a.mod-card { color: var(--ink); text-decoration: none !important; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
a.sm-card:hover, a.mod-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
a.sm-card .arrow-link, a.mod-card .arrow-link { color: var(--blue); font-size: 14px; margin-top: 4px; }

.mdl-top { padding-block: 24px var(--section-small); }
.mdl-top .crumbs, .mdl-top .crumbs a { color: var(--ink-2); }
.mdl-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "media info" "specs info"; column-gap: clamp(28px, 4.5vw, 64px); row-gap: 20px; margin-top: 18px; align-items: start; }
.mdl-media { grid-area: media; display: grid; gap: 12px; }
.mdl-specs { grid-area: specs; }
.mdl-info { grid-area: info; }
.mdl-specs .key-specs { margin: 0; border: 0; gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; }
.mdl-specs .key-specs div { background: var(--mist); border: 0; padding: 12px 18px; }
.media-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.media-rail button[hidden] { display: none; }
.media-rail button { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid rgba(0,0,0,.12); border-radius: 14px; background: var(--paper); cursor: pointer; color: var(--ink); text-align: left; min-width: 0; transition: border-color .15s, box-shadow .15s; }
.media-rail button:hover { border-color: var(--ink-2); }
.mt-vis { flex: none; width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(180deg, #EEF0F3, #E3E6EA); display: grid; place-items: center; overflow: hidden; }
.mt-vis img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-vis svg { width: 24px; height: 24px; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.mt-t { font-size: 14px; font-weight: 600; line-height: 1.25; min-width: 0; }
.mt-t small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-rail button[aria-selected="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.media-rail button[aria-selected="true"] .mt-vis svg { stroke: var(--blue); }
.media-stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(180deg, #EEF0F3, #E3E6EA); }
.ms { position: absolute; inset: 0; }
.ms[hidden] { display: none; }
.ms img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms .ph { padding: 40px; }
.v3d-host { position: absolute; inset: 0; cursor: grab; }
.v3d-host:active { cursor: grabbing; }
.v3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.v3d-load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-2); font-size: 14px; margin: 0; }
.v3d-note { position: absolute; left: 16px; bottom: 12px; margin: 0; font-size: 12px; color: var(--ink-2); background: rgba(255,255,255,.75); backdrop-filter: blur(8px); padding: 5px 10px; border-radius: var(--pill); pointer-events: none; }
.doc-pane { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; background: #fff; }
.doc-pane iframe { width: 100%; height: 100%; border: 0; }
.doc-empty { display: grid; place-items: center; align-content: center; gap: 12px; color: var(--ink-2); font-size: 14px; }
.doc-empty svg { width: 56px; height: 56px; stroke: var(--ink-3); fill: none; stroke-width: 1.4; }
.doc-bar { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--paper); justify-content: flex-end; }

.mdl-info { display: grid; gap: 18px; min-width: 0; }
.mdl-h { font-size: clamp(30px, 4vw, 48px); font-weight: 600; letter-spacing: -0.025em; word-break: normal; overflow-wrap: anywhere; }
.mdl-info .lead { font-size: 18px; }
.or-line.big { font-size: 14px; }
.or-line.big .pict { width: 34px; height: 27px; color: var(--ink); }
.pos-pick { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.pos-pick-h { display: flex; justify-content: space-between; align-items: baseline; }
.lbl { font-size: 13px; font-weight: 600; }
.pos-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.pchip { border: 1px solid rgba(0,0,0,.14); background: var(--paper); border-radius: 12px; min-height: 52px; padding: 6px 4px; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 0; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.pchip b { font-size: 16px; font-weight: 500; }
.pchip small { font-size: 10px; color: var(--ink-3); font-family: var(--font-mono); }
.pchip:hover { border-color: var(--ink-2); }
.pchip.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--blue-wash); }
.pchip.on b { color: var(--blue); }
.sel-pn { background: var(--mist); border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 4px; }
.sel-pn-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sel-pn-row b { font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; word-break: normal; overflow-wrap: anywhere; }
.icon-btn.copy { background: var(--paper); width: 32px; height: 32px; }
.icon-btn.copy svg { width: 16px; height: 16px; }
.copied { font-size: 12px; color: #1F8F4E; }
.mdl-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mdl-actions > * { width: 100%; justify-content: center; }
.mdl-actions .btn small { color: var(--ink-3); font-size: 11px; }
.bi { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.pn-link { border: 0; background: none; padding: 0; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink); text-align: left; }
.pn-link:hover { color: var(--blue); }
@media (max-width: 900px) {
  .mdl-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "media" "info" "specs"; row-gap: 28px; }
}
@media (max-width: 560px) {
  .media-rail { gap: 8px; }
  .media-rail button { flex-direction: column; gap: 6px; padding: 8px; text-align: center; }
  .mt-vis { width: 100%; height: 48px; }
  .mt-t small { display: none; }
  .mdl-specs .key-specs div { padding: 12px 14px; }
}

/* ---------- Model page: grouped specifications ---------- */
.spec-for { margin: 0; font-size: 14px; color: var(--ink-2); text-align: right; }
.spec-for b { display: block; font-size: 17px; color: var(--ink); margin-top: 2px; }
.spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.spec-g { background: var(--paper); border-radius: var(--r-lg); padding: 4px 24px 8px; }
.spec-g h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; padding: 16px 0 12px; border-bottom: 1px solid var(--line); }
.spec-g dl { margin: 0; }
.spec-g dl div { display: grid; grid-template-columns: minmax(130px, 42%) 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 1.4; }
.spec-g dl div:last-child { border-bottom: 0; }
.spec-g dt { color: var(--ink-2); }
.spec-g dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.pn-mates { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); align-items: stretch; }
.pm-col { display: flex; flex-direction: column; min-width: 0; }
.pm-h { margin: 8px 0 14px; }
.pm-col .dec, .pm-card { flex: 1; }
.pm-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 2.4vw, 22px); display: flex; flex-direction: column; }
.pm-card > .pm-note:last-child { margin-top: auto; padding-top: 14px; }
.pm-harness { margin-top: auto; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: var(--mist); color: var(--ink); text-decoration: none !important; font-size: 13px; line-height: 1.45; color: var(--ink-2); transition: background .2s; }
.pm-harness:hover { background: var(--blue-wash); }
.pm-harness svg { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--paper); fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pm-harness b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.pm-harness i { font-style: normal; font-size: 22px; color: var(--ink-3); }
.pm-card .pm-note + .pm-harness { margin-top: auto; }
.pm-card .mate-feat ~ .pm-note { margin: 14px 0 16px; }
.mate-feat { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 18px; align-items: center; }
.mate-img { display: block; aspect-ratio: 5 / 4; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.mate-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mate-img .ph { padding: 14px; }
.mate-txt { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.mate-pn { font-size: 17px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.mate-pn:hover { color: var(--blue); }
.mate-txt .muted { font-size: 14px; }
.mate-act { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.mate-feat + .mate-list { margin-top: 16px; border-top: 1px solid var(--line); }
.pm-note { font-size: 13px; color: var(--ink-2); margin: 14px 0 0; }
.pm-card > .pm-note:first-child { margin-top: 16px; }
@media (max-width: 900px) {
  .spec-groups, .pn-mates { grid-template-columns: minmax(0, 1fr); }
  .spec-for { text-align: left; }
}
@media (max-width: 560px) { .spec-g { padding: 2px 16px 6px; } .spec-g dl div { grid-template-columns: minmax(110px, 44%) 1fr; gap: 12px; } }

/* media rail: real previews */
.mt-vis { position: relative; }
.mt-3d .mt-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-3d::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.18); }
.mt-3d .mt-badge { position: absolute; z-index: 1; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(0,0,0,.18); display: grid; place-items: center; }
.mt-3d .mt-badge svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 1.5; }
.media-rail button[aria-selected="true"] .mt-3d .mt-badge svg { stroke: var(--blue); }
.mt-doc { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mt-doc img { width: 100%; height: 100%; object-fit: cover; object-position: 12% 40%; transform: scale(2); transform-origin: 18% 38%; }
.mt-doc.has-img svg { display: none; }
.mt-vis img[hidden] { display: none; }

/* ==========================================================
   Refinement pass — shared cards
   ========================================================== */
/* Base-model card (series page, model page) */
.bm-group + .bm-group { margin-top: clamp(36px, 4vw, 52px); }
.sm-h { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; font-size: 21px; }
.sm-h small { font-family: var(--font); }
.bm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.bm-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); text-decoration: none !important; scroll-margin-top: calc(var(--nav-h) + 20px); transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.bm-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.bm-card:target { box-shadow: 0 0 0 3px rgba(0,113,227,.35); }
.bm-img { aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.bm-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.bm-card:hover .bm-img img { transform: scale(1.03); }
.bm-img .ph { padding: 18px; }
.bm-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bm-body h4 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.bm-body .or-line { font-size: 13px; }
.bm-desc { font-size: 13px; }
.bm-body .kv { margin-top: 2px; }
.bm-foot, .ser-count { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 500; color: var(--blue); }
.bm-foot i, .ser-count i { font-style: normal; font-size: 20px; line-height: 1; transition: transform .25s var(--ease); }
.bm-card:hover .bm-foot i, .ser-card:hover .ser-count i { transform: translateX(3px); }
.ser-count { color: var(--ink-2); font-weight: 400; font-size: 13px; }
.ser-count i { color: var(--blue); }

/* Product Center series card: tighter */
.ser-grid { gap: 16px; }
.ser-img { aspect-ratio: 4 / 3 !important; }
.ser-card img { transition: transform .6s var(--ease); }
.ser-card:hover img { transform: scale(1.03); }
.ser-body { gap: 9px; padding: 16px 18px 18px; display: flex; flex-direction: column; }
.ser-code { font-size: 21px; font-weight: 600; }




/* Other series in the same pitch */
.os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.os-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); color: var(--ink); text-decoration: none !important; transition: box-shadow .3s var(--ease), border-color .3s; }
.os-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.os-img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--mist); display: block; }
.os-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.os-img .ph { padding: 8px; }
.os-t { display: grid; gap: 2px; min-width: 0; }
.os-t b { font-size: 17px; font-weight: 600; }
.os-t small { font-size: 13px; color: var(--ink-2); }
.os-card i { font-style: normal; font-size: 22px; color: var(--ink-3); }

/* Phones: product cards become compact rows so lists don't run for pages */
@media (max-width: 600px) {
  .ser-grid, .bm-grid, .mod-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ser-card, .bm-card, .mod-card { grid-template-rows: none; grid-template-columns: 112px minmax(0, 1fr); border-radius: var(--r-md); }
  .ser-img, .bm-img, .mod-img { aspect-ratio: auto !important; height: 100%; min-height: 112px; }
  .ser-body, .bm-body, .mod-body { padding: 12px 14px; gap: 6px; }
  .ser-card .tags, .ser-card .kv div:not(:nth-last-child(-n+2)) { display: none; }
  .ser-code, .bm-body h4 { font-size: 17px; }
  .bm-body .or-line { display: none; }
  .bm-foot, .ser-count { padding-top: 8px; font-size: 13px; }
  .kv { font-size: 12px; }


}

/* Harness page */
.tile { padding: 26px 24px 28px; gap: 8px; }


.two-col.eq { align-items: stretch; }
.two-col.eq > div { display: flex; flex-direction: column; }
.two-col.eq > div > .table-wrap, .two-col.eq > div > .check-card { flex: 1; }
.check-card { background: var(--mist); border-radius: var(--r-lg); padding: 26px 28px; align-content: center; gap: 16px; }
@media (max-width: 520px) { .check-card { padding: 22px 20px; } }

/* ==========================================================
   Refinement pass — shared components
   ========================================================== */
/* Tags: a touch larger and calmer */
.tag { font-family: var(--font); font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 7px; letter-spacing: 0; }

/* Inputs: Apple-style fields */
.input { border-radius: 12px; border-color: rgba(0,0,0,.16); }
.input:hover { border-color: rgba(0,0,0,.28); }
.input:focus { box-shadow: 0 0 0 4px rgba(0,113,227,.18); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }

/* Buttons: consistent hover lift for primary actions */
.btn-blue { box-shadow: 0 1px 2px rgba(0,113,227,.25); }
.btn-ghost { box-shadow: inset 0 0 0 1px rgba(0,0,0,.16); }
.btn-ghost:hover { background: rgba(0,0,0,.03); }
.night .btn-ghost:hover { background: #fff; }

/* Icon buttons */
.icon-btn { transition: background .2s; }
.icon-btn:hover { background: #E8E8ED; }

/* Tables */
table.t td { vertical-align: middle; }
table.t tbody tr { transition: background .15s; }
table.t tbody tr:hover { background: rgba(0,0,0,.015); }

/* Section heads: a little more air between eyebrow and title */
.sec-head .lead { margin-top: 6px; }

/* Mobile menu: Apple-style list with a full-width call to action */
@media (max-width: 1140px) {
  .nav.open ul { gap: 0; margin-top: 28px; }
  .nav.open ul li + li { border-top: 1px solid var(--line); }
  .nav.open ul a { font-size: 24px; padding: 12px 0; letter-spacing: -0.02em; }
  .nav.open .btn { width: 100%; min-height: 50px; font-size: 17px; margin-top: 28px; border-radius: 14px; }
}
.sm-h { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 600px) {
  .sm-h { font-size: 18px; }
  .sm-h small { flex-basis: 100%; }
  .dec-pn { font-size: 19px; }
}

/* ==========================================================
   Cross-reference
   ========================================================== */
.xref-result { color: var(--on-night-2); }
.xref-result b { font-weight: 600; }
.night-hint { margin-top: 12px; font-size: 13px; color: var(--on-night-2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }


.xref-hint a { text-decoration: none; }
.xref-hint a code { color: var(--blue); }

/* exact match card (on the dark hero) */
.xr-card { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 22px; align-items: center; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 16px 22px 16px 16px; max-width: 760px; box-shadow: 0 20px 50px rgba(0,0,0,.35); animation: xr-in .35s var(--ease); }
.xr-card + .xr-card { margin-top: 12px; }
@keyframes xr-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.xr-img { display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.xr-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xr-img .ph { padding: 14px; }
.xr-main { display: grid; gap: 6px; min-width: 0; }
.xr-from { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.xr-from .mono { color: var(--ink); font-weight: 600; }
.xr-pn { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: var(--ink); overflow-wrap: anywhere; letter-spacing: -0.01em; }
.xr-pn:hover { color: var(--blue); text-decoration: none; }
.xr-main .muted { font-size: 14px; }
.xr-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.xr-act .add-btn { width: 32px; height: 32px; }/* suggestions list */








.xr-list button > .mono:not(b) { color: var(--blue-bright); }

.xr-note { display: inline-flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--night-line); padding: 14px 18px; border-radius: var(--r-md); max-width: 760px; }
.xr-note a.mono { color: var(--blue-bright); }/* database table */


















/* Product Center + model page */
.xr-banner { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; background: var(--blue-wash); border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }






.spec-g.wide { grid-column: 1 / -1; }
.spec-g.wide h3 small { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.spec-g.wide dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 32px; }
.spec-g.wide dl div:last-child { border-bottom: 1px solid var(--line-soft); }
@media (max-width: 600px) {
  .xr-card { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .xr-act .btn-ghost { display: none; }


  .xr-list button > .mono:not(b) { grid-column: 1 / -1; }



}
.table-wrap { position: relative; }
.night .xr-card .btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0,0,0,.16); }
.night .xr-card .btn-ghost:hover { background: rgba(0,0,0,.04); box-shadow: inset 0 0 0 1px var(--ink); }

.xr-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 28px; }
.xr-why .check { background: var(--mist); border-radius: var(--r-lg); padding: 26px 28px; gap: 16px; }
.xr-card .xr-from { font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) { .xr-why { grid-template-columns: minmax(0, 1fr); } }
.v3d-diff { position: absolute; left: 12px; right: 12px; top: 12px; margin: 0; font-size: 13px; color: var(--ink); background: rgba(255,255,255,.88); backdrop-filter: blur(10px); padding: 8px 12px; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.v3d-diff[hidden] { display: none; }
.v3d-host.busy::after { content: "Loading 3D model…"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 13px; color: var(--ink-2); background: rgba(255,255,255,.85); backdrop-filter: blur(8px); padding: 6px 12px; border-radius: var(--pill); pointer-events: none; }

/* Harness render with numbered callouts (home + harness page) */
.anatomy-art.harness-shot { position: relative; padding: 0; overflow: hidden; background: #fff; }
.harness-shot img { width: 100%; height: auto; display: block; }
.harness-shot .callout { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--blue); color: #fff; font: 600 12px/1 var(--font); display: grid; place-items: center; padding: 0; box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: default; transition: transform .2s var(--ease), background .2s; }
.harness-shot .callout::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(0,113,227,.35); animation: callout-pulse 2.4s var(--ease) infinite; }
.harness-shot .callout.on { background: #FF9F0A; transform: translate(-50%, -50%) scale(1.15); }
.harness-shot .callout.on::after { border-color: rgba(255,159,10,.4); }
@keyframes callout-pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .harness-shot .callout::after { animation: none; } }
@media (max-width: 560px) { .harness-shot .callout { width: 22px; height: 22px; font-size: 11px; } }

/* Harness types gallery (wire-harness page) — art rendered on --mist */
.hx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hx { background: var(--mist); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.hx-art { aspect-ratio: 4 / 3; overflow: hidden; }
.hx-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hx-body { padding: 2px 20px 22px; display: grid; gap: 6px; align-content: start; flex: 1; }
.hx h3 { font-size: 17px; letter-spacing: -0.01em; }
.hx p { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.hx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hx-chips span { font-size: 12px; font-weight: 500; color: var(--ink-2); background: var(--paper); border-radius: 980px; padding: 3px 10px; }
@media (hover: hover) {
  .hx:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
  .hx:hover .hx-art img { transform: scale(1.04); }
}
.hx-note { margin-top: 26px; text-align: center; font-size: 15px; color: var(--ink-2); }
.hx-note a { color: var(--blue); white-space: nowrap; }
@media (max-width: 880px) { .hx-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 520px) {
  .hx-grid { gap: 10px; }
  .hx-body { padding: 0 14px 16px; gap: 4px; }
  .hx h3 { font-size: 15px; }
  .hx p { font-size: 13px; }
  .hx-chips span { font-size: 11px; padding: 2px 8px; }
}

/* =====================================================================
   UI pass — Oct 2026
   ===================================================================== */

/* Section rhythm: a little tighter on phones */

/* Home — three ways: equal-height cards, links pinned to the bottom */
.way { display: flex; flex-direction: column; }


@media (max-width: 900px) {
  /* swipeable row instead of three tall stacked cards */
  .ways {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 380px); gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 22px; scroll-padding-inline: var(--gutter);
  }
  .ways::-webkit-scrollbar { display: none; }
  .way { scroll-snap-align: start; }
  .way:hover { transform: none; }

}

/* Home — browse by pitch: keep 5 across on phones (no orphan tile) */
/* Home — harness anatomy, stacked: headline row, full-width render, five parts */










/* Home — buyer terms: compact on phones */
@media (max-width: 560px) {
  .term { padding: 20px 0 22px; gap: 6px; }
  .term h3 { font-size: 19px; }
  .term p { font-size: 14px; }
}

/* Long part-number tables: first rows + "Show all" */
.ptable-more { display: flex; justify-content: center; margin-top: 18px; }
.ptable-more .btn { background: var(--paper); }

/* Product Center — one continuous series grid sorted by pitch; pitch sits on the photo */
.ser-grid { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); }
.ser-img { position: relative; }
.ser-pitch {
  position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 980px;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); pointer-events: none;
}
@media (min-width: 1100px) {
  .ser-body { padding: 14px 16px 16px; }
  .ser-code { font-size: 19px; }
  .ser-card .tags .tag { font-size: 11px; }
}
@media (max-width: 600px) {
  .ser-pitch { left: 6px; top: 6px; padding: 2px 7px; font-size: 10.5px; }
}
.ser-body .ser-count { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* Series spec table: let the material column wrap instead of being clipped */
.spec-t { min-width: 980px; }
.spec-t td:last-child, .spec-t th:last-child { white-space: normal; min-width: 130px; }
.spec-t td, .spec-t th { padding: 12px 12px; }
.spec-t td:first-child, .spec-t th:first-child { padding-left: 18px; }
.spec-t td:last-child, .spec-t th:last-child { min-width: 150px; padding-right: 18px; }

/* Typography: balanced headline breaks, no orphan words in body copy */
h1, h2, h3, .t-1, .t-2, .t-3 { text-wrap: balance; }
p, .lead, li { text-wrap: pretty; }

/* ==========================================================
   Harness gallery (wire-harness.html #gallery) + 3D dialog
   ========================================================== */
.hg-card.hx { background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.04), inset 0 0 0 1px var(--night-line); }
.hg-card .hx-chips span { background: var(--mist); }
.hg-open { display: block; width: 100%; padding: 0; border: 0; background: #F5F5F7; cursor: pointer; position: relative; border-radius: 0; }
.hg-open:focus-visible { outline-offset: -3px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.hg-open .hx-art { display: block; }
.hg-badge { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: var(--pill); background: rgba(255,255,255,.92); box-shadow: 0 1px 3px rgba(0,0,0,.1); color: var(--blue); font-size: 12px; font-weight: 600; transition: background .2s, color .2s; }
.hg-badge svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.hg-open:hover .hg-badge { background: var(--blue); color: #fff; }

.hg-dialog { width: min(1180px, calc(100% - 32px)); height: min(760px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--r-xl); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(15,23,42,.28); overflow: hidden; }
.hg-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.hg-dialog::backdrop { background: rgba(15,23,42,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html.hg-lock { overflow: hidden; }
.hg-stage { position: relative; background: #F5F5F7; min-height: 0; }
.hg-view { background: center / contain no-repeat; }
.hg-view.failed::after { content: "3D preview unavailable here, showing a picture"; position: absolute; left: 50%; top: 18px; transform: translateX(-50%); font-size: 13px; color: var(--ink-2); background: rgba(255,255,255,.9); padding: 6px 12px; border-radius: var(--pill); white-space: nowrap; }
.hg-side { position: relative; display: grid; align-content: start; gap: 12px; padding: 36px 28px 28px; border-left: 1px solid var(--line); overflow-y: auto; }
.hg-side .t-3 { padding-right: 36px; }
.hg-desc { font-size: 15px; color: var(--ink-2); }
.hg-side .hx-chips span { background: var(--mist); }
.hg-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hg-series { font-size: 15px; margin-top: 4px; }
.hg-series[hidden] { display: none; }
.hg-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--mist); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .2s; }
.hg-close:hover { background: #E8E8ED; }
.hg-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 760px) {
  .hg-dialog { width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .hg-dialog[open] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .hg-side { border-left: 0; border-top: 1px solid var(--line); padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px)); gap: 8px; max-height: 46dvh; }
  .hg-close { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.12); z-index: 2; }
  .hg-desc { font-size: 14px; }
  .hg-acts .btn { flex: 1; }
  .hg-stage .v3d-note { display: none; }
}

/* Home page: harness gallery as a scrolling row (index.html #harness-gallery) */
.hg-home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: var(--section-head-gap); }
.hg-home-head .sec-head { max-width: 640px; }
.hg-nav { display: flex; align-items: center; gap: 10px; }
.hg-nav .arrow-link { margin-right: 10px; }
.hg-arr { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .2s, opacity .2s; }
.hg-arr:hover:not(:disabled) { background: var(--blue-wash); color: var(--blue); }
.hg-arr:disabled { opacity: .35; cursor: default; }
.hg-arr svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hg-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; margin: -6px -2px 0; overscroll-behavior-x: contain; }
.hg-row::-webkit-scrollbar { display: none; }
.hg-row > .hx { scroll-snap-align: start; }
.hg-row .hx-body p { display: none; }   /* home: name + chips only; the description shows in the 3D window */
.hg-row .hx-body { padding-top: 6px; }
@media (max-width: 1000px) { .hg-row { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 720px) {
  .hg-row { grid-auto-columns: 72%; gap: 12px; scroll-padding-left: 2px; }
  .hg-arr { display: none; }
}

/* Home page: factory photo tiles, trust row, icon-only industries (2026-11-05) */
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.shot { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: #fff repeating-linear-gradient(135deg, rgba(0,113,227,.05) 0 10px, transparent 10px 20px); box-shadow: inset 0 0 0 1px var(--night-line); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.shot:has(img)::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.shot:has(img) figcaption { color: #fff; z-index: 1; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--night-line); }
.trust-h { font-size: 13px; font-weight: 600; color: var(--on-night-2); margin-bottom: 12px; }






@media (max-width: 1000px) { .shots { grid-template-columns: repeat(3, 1fr); }
 }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr 1fr; gap: 10px; }

 }

/* Product Center: Wire harnesses tab (products.html?cat=harness) */
.pc-hg { display: none; padding-block: 28px 80px; }
body.pc-harness .pc-hg { display: block; }
body.pc-harness .pc-body { display: none; }
.pc-hg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.pc-hg-head .pc-summary { max-width: 640px; }
@media (max-width: 760px) { .pc-conn { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); } .pc-conn button:last-child { margin-right: 40px; } }/* ==========================================================
   Home page v4 (2026-11-05): neutral mist hero with one search box,
   two equal product-family tiles, harness row, order steps, factory.
   Everything is scoped to .hm so inner pages are untouched.
   ========================================================== */


/* Hero */
.hm-hero { background: var(--mist); padding-block: clamp(48px, 6vw, 88px) clamp(28px, 4vw, 48px); overflow: hidden; }
/* Keep the copy on the site's left guide. Start the poster at the viewport midpoint. */
.hm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  row-gap: 12px;
}
@media (min-width: 1025px) {
  .hm-hero-grid {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) min(50vw, 820px);
    column-gap: min(1.05vw, 20px);
    padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
    padding-right: max(0px, calc(50% - 820px));
  }
}
.hm-hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.hm-hero-copy .t-hero { font-size: clamp(40px, 5vw, 70px); }
.hm-hero-copy .t-hero span { color: var(--blue); }
.hm-hero-copy .lead { max-width: 34ch; }
.hm-search { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 8px; max-width: 560px; background: #fff; border-radius: var(--pill); padding: 6px 6px 6px 48px; box-shadow: 0 1px 2px rgba(0,0,0,.04), inset 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease); }
.hm-search:focus-within { box-shadow: 0 0 0 4px rgba(0,113,227,.15), inset 0 0 0 1px var(--blue); }
.hm-search-ico { position: absolute; left: 18px; width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.hm-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font-size: 16px; outline: none; }
.hm-search input::placeholder { color: var(--ink-3); font-weight: 400; }
.hm-search-note { font-size: 13px; color: var(--ink-2); margin-top: -8px; padding-left: 20px; }

/* Product families share four copy rows and three tracks per row of cards. */
.hm-fams { padding-block: clamp(20px, 3vw, 32px) 0; }
.hm-fam-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.hm-fam { background: var(--mist); border-radius: var(--r-xl); overflow: hidden; display: grid; text-align: center; min-width: 0; }
.hm-fam-copy { padding: clamp(40px, 4.4vw, 60px) clamp(24px, 3vw, 48px) 0; display: grid; gap: 12px; justify-items: center; }
.hm-fam .t-2 { font-size: clamp(30px, 3.2vw, 40px); max-width: 13em; text-wrap: balance; }
.hm-fam-lead { color: var(--ink-2); font-size: 17px; max-width: 34ch; }
.hm-fam-actions { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 10px; }

@media (width > 900px) {
  .hm-fam { grid-row: span 10; grid-template-rows: subgrid; }
  .hm-fam-copy { grid-row: span 4; grid-template-rows: subgrid; }
  .hm-fam-harness .t-2 { max-width: 8.5em; }
  .hm-fam .hm-cats { grid-row: span 6; grid-template-rows: subgrid; }
}





/* Harness row */
.hm-gallery { padding-block: var(--section-space); }

/* Order steps */
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: hmstep; border-top: 1px solid var(--line); }
.hm-steps li { display: grid; gap: 8px; align-content: start; padding: 28px 28px 0 0; position: relative; }
.hm-steps li::before { counter-increment: hmstep; content: counter(hmstep, decimal-leading-zero); font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.hm-steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.hm-steps b { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.hm-steps span { font-size: 15px; color: var(--ink-2); max-width: 28ch; }

/* Factory */
.hm-factory-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 5vw, 72px); align-items: end; margin-bottom: var(--section-head-gap); }
.hm-figures { margin-top: 0; grid-template-columns: 1fr 1fr; border-top: 0; gap: 0; }
.hm-figures div { padding: 18px 16px 18px 0; border-top: 1px solid var(--line); }
.hm-figures small { color: var(--ink-2); }
.hm-figures b sup { color: var(--blue); }
.hm-shots { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hm-shots .shot { background: var(--mist); box-shadow: none; border-radius: var(--r-lg); }
.hm-shots .shot:not(:has(img)) { aspect-ratio: auto; padding: 20px 22px; }
.hm-shots .shot figcaption { left: 18px; bottom: 16px; font-size: 17px; letter-spacing: -0.015em; display: grid; gap: 2px; }
.hm-shots .shot:not(:has(img)) figcaption { position: static; gap: 4px; }
.hm-shots .shot figcaption i { font-style: normal; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--blue); }
.hm-shots .shot:has(img) figcaption i { color: rgba(255,255,255,.8); }
.hm-proof { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 56px; margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); }
.hm-proof .trust-h { color: var(--ink-2); }
.hm-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-tags li { font-size: 14px; font-weight: 500; border-radius: var(--pill); padding: 6px 14px; background: var(--blue-wash); color: #0058B0; }
.hm-tags-plain li { background: var(--mist); color: var(--ink); font-weight: 400; }

@media (max-width: 1000px) {
  .hm-steps { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .hm-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hm-steps li:nth-child(n+3)::after { top: -4px; }
}
@media (max-width: 900px) {
  .hm-fam-grid { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .hm-factory-head { grid-template-columns: 1fr; align-items: start; }
  .hm-proof { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hm-search { padding-left: 42px; }
  .hm-search-ico { left: 15px; }
  .hm-search .btn { padding: 0 16px; }
  .hm-search-note { padding-left: 0; }
  .hm-search input { font-size: 15px; }
  .hm-search input::placeholder { font-size: 14px; }
  .hm-fam { border-radius: var(--r-lg); }


  .hm-steps { grid-template-columns: 1fr; }
  .hm-steps li { padding-right: 0; }
  .hm-steps li:nth-child(n+2) { border-top: 1px solid var(--line); }
  .hm-shots { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hm-shots .shot figcaption { left: 12px; bottom: 10px; font-size: 15px; }
}

/* Home v4 hero: the still poster is the 3D scene's own first frame (same size and framing as the canvas),
   so the switch to live 3D is invisible. Regenerate it whenever the hero scene changes. */
.hm-poster { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-3d.is-3d .hm-poster { transition: none; }

/* Home tiles: the 3D stills (assets/art/fam-*.jpg) are composed edge to edge, so show them whole */

/* Home tiles, version C: each family tile ends in four shortcuts with a 3D picture */
.hm-fam-copy { padding-bottom: clamp(24px, 3vw, 32px); }
.hm-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, auto 1fr auto); gap: 10px; padding: 0 clamp(14px, 1.6vw, 20px) clamp(14px, 1.6vw, 20px); }
.hm-cat { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 2px; background: #fff; border-radius: var(--r-lg); overflow: hidden; padding-bottom: 14px; text-align: left; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hm-cat-img { display: block; aspect-ratio: 8 / 5; overflow: hidden; box-sizing: border-box; padding: 12px 14px 2px; }
.hm-cat-img img { display: block; width: 100%; height: 100%; object-fit: contain; scale: var(--product-scale, 1); transition: transform .6s var(--ease); }
/* The thin cable assemblies carry less visual weight than the solid connectors. */
.hm-fam-harness { --product-scale: 1.08; }
.hm-cat b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; padding: 4px 16px 0; }
.hm-cat small { font-size: 12.5px; color: var(--ink-2); padding: 0 16px; }
@media (hover: hover) {
  .hm-cat:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.07); }
  .hm-cat:hover .hm-cat-img img { transform: scale(1.04); }
}
.hm-cat:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 560px) {
  .hm-cats { gap: 8px; }
  .hm-cat { padding-bottom: 10px; border-radius: 14px; }
  .hm-cat b { font-size: 13.5px; padding: 2px 10px 0; }
  .hm-cat small { font-size: 11.5px; padding: 0 10px; }
}

/* Build-time catalog fallback, replaced by the interactive catalog. */
.seo-photo { max-width: 360px; width: 100%; height: auto; object-fit: contain; }

/* Reading layout for company information and legal pages. */
.prose { max-width: 72ch; min-width: 0; line-height: 1.75; overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin-block: 1.8em .65em; line-height: 1.3; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-block: 0 1.1em; }
.prose ul, .prose ol { margin-block: 0 1.1em; padding-inline-start: 1.5em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }

/* Layout and usability: shared responsive spacing and accessible controls. */
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 12px 18px; background: #fff; color: #0058B0; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #0058B0 !important; outline-offset: 3px; }
.chips input:focus-visible + label { outline: 3px solid #0058B0; outline-offset: 3px; }
#main { scroll-margin-top: calc(var(--nav-h) + 12px); }
.mobile-actions, .print-end, .print-only { display: none; }
.footer-bottom, .form-foot small, .field label i { color: var(--ink-2); }
.pc-filters { align-self: start; }
.fc[data-k="series"] .opts { max-height: none; overflow: visible; }
/* A scrollport must not contribute the table's intrinsic width to its ancestors. */
.table-scroll-shell { position: relative; width: 100%; min-width: 0; max-width: 100%; }
.table-scroll-shell > .table-wrap, .table-scroll-shell > .ptable-wrap { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; }
#main, #series-root, #model-root, #sr-table, #pc-results { min-width: 0; max-width: 100%; }
.wrap > *, .pc-grid > *, .two-col > *, .mdl-grid > *, .spec-groups > *, .pn-mates > * { min-width: 0; }
@media screen {
  .table-scroll-shell { contain: inline-size; }
}
.table-scroll-shell::after, .table-scroll-shell::before { content: ""; pointer-events: none; position: absolute; top: 0; bottom: 0; width: 24px; z-index: 4; opacity: 0; }
.table-scroll-shell::after { right: 0; background: linear-gradient(90deg, transparent, rgba(0,71,142,.3)); }
.table-scroll-shell::before { left: 0; background: linear-gradient(90deg, rgba(0,71,142,.3), transparent); }
.table-scroll-shell.scroll-more::after, .table-scroll-shell.scroll-back::before { opacity: 1; }
.table-wrap, .ptable-wrap { scrollbar-width: auto; scrollbar-color: #66788B #EEF4FB; }
table.t.spec-t { min-width: 1100px; border-collapse: separate; border-spacing: 0; }
.table-wrap th:first-child, .table-wrap td:first-child, .ptable td:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); box-shadow: 1px 0 var(--line); }
.table-wrap th:first-child { background: var(--mist); z-index: 2; }
.sel-pn-row b, .spec-g dd, .spec-for b { min-width: 0; word-break: normal; hyphens: manual; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  :root { --section-space: 32px; --section-small: 24px; --section-head-gap: 20px; }
  body:has(.mobile-actions) { padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)); }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; height: calc(65px + env(safe-area-inset-bottom, 0px)); padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: #fff; border-top: 1px solid var(--line); }
  .mobile-actions a { display: flex; justify-content: center; align-items: center; border-radius: var(--pill); background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; }
  .mobile-actions a + a { background: var(--blue-wash); color: #0058B0; }
  body:has(.nav.open) .mobile-actions, body.filters-open .mobile-actions { display: none; }
  .hm-hero { padding-block: 32px 20px; }
  .hm-fam-copy { padding-top: 28px; padding-bottom: 20px; }
  .hm-hero-copy { gap: 14px; }
  .hm-steps li { padding-top: 18px; }
  .hm-proof { margin-top: 24px; padding-top: 20px; gap: 20px; }
  .hm-factory-head { gap: 20px; }
  .rfq { gap: 24px; }
  .footer { padding-top: 32px; }
  .ptable td { padding: 8px 12px; }
  .ptable th button { padding: 8px 12px; }
  .ptable td:first-child { max-width: 190px; white-space: normal; overflow-wrap: anywhere; }
  .ptable td.act, .ptable th:last-child { position: static; }
}
/* Preserve component display modes. Only small controls need larger boxes. */
@media (max-width: 900px), (pointer: coarse) {
  button, select, input:not([type="checkbox"]):not([type="radio"]), summary, [role="button"], .btn, .pos-links a { min-height: 44px; min-width: 44px; }
  .nav-toggle, .icon-btn, .icon-btn.copy { width: 44px; height: 44px; }
  .chips label { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; padding: 7px 14px; }
  /* Center a 44px hit area on inline text, without changing line or row heights.
     Use ::before so existing arrow decorations on ::after are preserved. */
  :where(.footer a, .crumbs a, .form-foot a, .contact-lines a, .prose a, .faq a,
         .table-wrap a, .ptable a, .mate-pn, .mate-list a, .arrow-link, .topbar a) { position: relative; }
  :where(.footer a, .crumbs a, .form-foot a, .contact-lines a, .prose a, .faq a,
         .table-wrap a, .ptable a, .mate-pn, .mate-list a, .arrow-link, .topbar a)::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%);
  }
  .footer a:not(.logo) { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs { line-height: 44px; }
  .ptable button { position: relative; min-height: 32px; }
  .ptable button::before { content: ""; position: absolute; inset: 50% auto auto 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
}
@media (max-width: 700px) {
  table.t.spec-t { display: block; min-width: 0; }
  .spec-t thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .spec-t tbody { display: grid; gap: 12px; }
  .spec-t tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
  table.t.spec-t td { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 4px 8px; min-width: 0; position: static; box-shadow: none; font-size: 13px; }
  .spec-t td:first-child, .spec-t td:last-child { grid-column: 1 / -1; }
  .spec-t td::before { content: attr(data-label); font-family: var(--font); font-size: 12px; color: var(--ink-2); }
  .table-wrap:has(.spec-t) { border: 0; background: transparent; overflow: visible; }
}
@media (max-width: 560px) {
  .spec-g dl div { grid-template-columns: minmax(100px, 38%) minmax(0, 1fr); gap: 10px; padding-block: 8px; }
  .spec-g dl div:has(dd.mono) { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .spec-for { text-align: left; }
  .pn-mates { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1 !important; transform: none !important; visibility: visible !important; }
}
@media print {
  @page { margin: 14mm; }
  *, *::before, *::after { color: #000 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }
  body { background: #fff !important; padding: 0 !important; font-size: 10pt; overflow: visible; }
  .topbar, .nav, .footer, .skip-link, .mobile-actions, .media-tabs, [data-pane="3d"], [data-pane="doc"], .v3d-host, .sr-filter, .pc-filters, .mobile-filters, .pc-open, .ptable-more, .pos-pick, .copy, .copied, .hero-actions, #quote, [data-rfq], [data-add], a[href*="contact.html"], button { display: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .wrap { width: 100%; max-width: none; padding: 0; }
  .sec, .sec-sm, .page-top, .mdl-top { padding-block: 12pt; }
  .sec-head { margin-bottom: 10pt; }
  .spec-groups, .pn-mates, .two-col, .bm-grid { display: block; }
  .mdl-grid { display: flex; flex-direction: column; gap: 10pt; }
  .mdl-info { order: 0; gap: 6pt; width: 100%; }
  .mdl-info .tags { display: none; }
  .mdl-media { order: 1; width: 200px; float: none; margin: 0; }
  .mdl-specs { order: 2; width: 100%; }
  #mates, .bm-img, .os-img, .mate-img, .pm-harness { display: none !important; }
  .bm-card, .os-card { display: block; }
  .media-stage { aspect-ratio: auto; overflow: visible; }
  .ms[data-pane="photo"] { display: block !important; position: static; }
  #mdl-photo, .seo-photo { max-width: 200px; max-height: 160px; object-fit: contain; }
  .table-scroll-shell > .table-wrap, .table-scroll-shell > .ptable-wrap { overflow: visible; border: 0; }
  table.t, table.t.spec-t, .ptable, .tbl { width: 100%; min-width: 0; font-size: 8pt; table-layout: auto; }
  table.t th, table.t td, .ptable th, .ptable td { position: static !important; white-space: normal; padding: 4pt; overflow-wrap: anywhere; }
  .ptable th button { display: block !important; font-size: 8pt; padding: 0; }
  tr, .spec-g, .bm-card, .dec, .dec-key li { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  .spec-g { padding: 0; margin: 12pt 0; }
  .table-scroll-shell::before, .table-scroll-shell::after { display: none; }
  .print-only, .print-end { display: block; }
  .print-end { clear: both; border-top: 1px solid #000; margin-top: 16pt; padding-top: 8pt; font-size: 9pt; overflow-wrap: anywhere; }
  a[href*=".pdf"]::after { content: " (" attr(href) ")"; font-size: 8pt; overflow-wrap: anywhere; }
  a[href*=".pdf"] { display: block; }
  .mdl-actions { display: block; }
  .mdl-actions a:not([href*=".pdf"]) { display: none; }
}

@media screen {
  .hm { --section-space: 48px; --section-small: 32px; --section-head-gap: 24px; }
  .hm-hero { padding-block: var(--section-small) 24px; }
  .hm-fam-copy { padding-top: 32px; }
  .hm .shot { aspect-ratio: 8 / 5; }
  .hm .hm-proof { margin-top: 24px; padding-top: 20px; }
}
@media screen and (max-width: 900px) {
  .hm { --section-space: 24px; --section-small: 20px; --section-head-gap: 16px; }
  .hm-cat-img { aspect-ratio: 2 / 1; }
  .hm-fam-copy { padding-top: 24px; gap: 8px; }
  .hm-steps { row-gap: 8px; }
  .hm-steps li { grid-template-columns: 28px minmax(0, 1fr); gap: 4px 10px; padding-top: 12px; }
  .hm-steps li::before { grid-row: 1 / 3; margin-bottom: 0; }
  .hm-steps li > span { grid-column: 2; }
  .hm .faq summary { padding-block: 12px; }
  .hm .form-grid { gap: 10px; }
  .hm .card-form { padding: 18px; }
  .hm .form-foot { gap: 10px; margin-top: 14px; }
  .hm .rfq-points { margin-block: 20px; gap: 14px; }
  .footer-grid { gap: 24px; }
  .footer ul { gap: 0; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media print {
  table.t.spec-t { display: table; }
  .spec-t thead { display: table-header-group; position: static; width: auto; height: auto; clip-path: none; }
  .spec-t tbody { display: table-row-group; }
  .spec-t tr { display: table-row; }
  table.t.spec-t td { display: table-cell; padding: 4pt; }
  .spec-t td::before { display: none; }
  .spec-g dl div { grid-template-columns: 35% 1fr; }
  .bm-card { margin-block: 10pt; }
  .mdl-info { clear: none; }
  #specs { clear: both; }
}

@media screen and (max-width: 600px) {
  .ser-grid, .bm-grid, .mod-grid, .os-grid { grid-template-columns: minmax(0, 1fr); }
  .ser-card, .bm-card, .mod-card { min-width: 0; }
  .ser-body, .bm-body, .mod-body { min-width: 0; padding: 10px 12px; }
  .pc-body { padding-bottom: 32px; }
}

/* Keep absolutely positioned helpers (.sr-only) inside horizontal scrollports so they cannot widen the page. */
.table-wrap, .ptable-wrap, .table-scroll-shell { position: relative; }

/* Build-time catalog uses the browser renderer; keep its grid boxes unchanged. */
.static-models summary { display: block; cursor: pointer; }
.static-models summary::-webkit-details-marker { display: none; }
.static-models ul { padding-left: 20px; }
.static-models p { margin-top: 10px; }
.pc-results, #pc-out { min-height: 600px; }
.pc-filters { min-height: min(600px, calc(100vh - var(--nav-h) - 32px)); }
.ser-img img, .mod-img img, .bm-img img { aspect-ratio: 4 / 3; }
.seo-photo:not([width]) { aspect-ratio: 4 / 3; }
.footer-pitches { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; }
.footer-pitches h4, .footer-pitches .footer-h { flex-basis: 100%; }
.footer-pitches b { margin-right: 8px; }
@media (max-width: 600px) {
  .pc-results, #pc-out { min-height: 480px; }
}

/* ---- Home hero: still poster of real CAD models (tools/render/hero-poster.py) ---- */
.hm-hero-poster { margin: 0; min-width: 0; }
.hm-hero-poster picture, .hm-hero-poster img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) {
  /* The render supplies its own breathing room around the cable ends. */
  .hm-hero-poster { margin-inline: calc(-1 * var(--gutter)) calc(-1 * max(20px, env(safe-area-inset-right, 0px))); }
}

/* Top bar: items keep their natural width and the bar scrolls sideways on small screens (they were being squeezed and overlapping). */
.topbar .wrap > * { flex: none; }
