/* ============================================================
   PLTBR Precision Motion — design system v3
   Industrial-blue B2B export site: engineering surfaces,
   precise data, restrained accents, product-first layouts.
   1. Tokens   2. Base   3. Type   4. Layout   5. Buttons/tags
   6. Forms    7. Header/nav   8. Hero/bands   9. Cards
   10. Detail pages  11. Tables/data  12. Footer/floating 13. Responsive
   ============================================================ */

/* ---------- 1. tokens ---------- */
:root {
  /* colour */
  --ink: #12283c;
  --ink-2: #3d566c;
  --ink-3: #6b8095;
  --ink-4: #93a6b7;
  --steel: #123a5c;
  --steel-2: #17466d;
  --steel-3: #205a86;
  --steel-4: #2d729e;
  --paper: #f6f9fb;
  --paper-2: #eef4f8;
  --paper-3: #e5eef4;
  --white: #ffffff;
  --line: #dae4ec;
  --line-2: #c6d5e1;
  --line-soft: #e9f0f5;
  --accent: #1679b8;
  --accent-2: #3aa3d6;
  --accent-dark: #11608f;
  --accent-tint: #e8f4fb;
  --amber: #c8860d;
  --amber-tint: #fdf4e3;
  --green: #1f7a4d;
  --green-tint: #e8f5ee;
  --grad: linear-gradient(135deg, #136196 0%, #3399cd 100%);
  --grad-steel: linear-gradient(160deg, #123a5c 0%, #1d5d8b 70%, #2377a8 100%);

  /* type */
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* rhythm */
  --container: 1240px;
  --container-narrow: 900px;
  --gutter: 24px;
  --section: 44px;
  --section-sm: 32px;

  /* depth */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-xs: 0 1px 2px rgba(14, 32, 50, .06);
  --shadow-sm: 0 1px 2px rgba(14, 32, 50, .06), 0 2px 6px rgba(14, 32, 50, .05);
  --shadow-md: 0 6px 18px rgba(14, 32, 50, .08), 0 2px 4px rgba(14, 32, 50, .04);
  --shadow-lg: 0 22px 50px rgba(10, 27, 44, .16);
  --glow: 0 10px 26px rgba(18, 90, 140, .22);
  --focus: 0 0 0 3px rgba(22, 121, 184, .32);
  --header-h: 74px;
}

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--steel-4); }
button, input, select, textarea { font: inherit; color: inherit; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-xs); }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--steel); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; transition: top .16s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. typography ---------- */
.h-display { font-size: clamp(2.15rem, 4.6vw, 3.5rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.028em; color: var(--ink); }
.h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); line-height: 1.08; font-weight: 750; letter-spacing: -0.022em; }
.h2 { font-size: clamp(1.42rem, 2.5vw, 1.95rem); line-height: 1.14; font-weight: 700; letter-spacing: -0.018em; }
.h3 { font-size: 1.15rem; line-height: 1.32; font-weight: 650; letter-spacing: -0.005em; }
.h4 { font-size: 1rem; line-height: 1.35; font-weight: 650; }
.lede { font-size: 1.13rem; line-height: 1.62; color: var(--ink-2); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.small { font-size: .875rem; }
.muted { color: var(--ink-3); }
.dim { color: var(--ink-4); }
.nowrap { white-space: nowrap; }
.num-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow, .crossline {
  display: inline-flex; align-items: center; gap: 9px;
  font: 500 .7rem/1 var(--mono); letter-spacing: .17em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 13px;
}
.eyebrow::before, .crossline::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .75; }
.eyebrow--light { color: #a9d3ec; }
.eyebrow--light::before { background: #7fc4e8; }
.eyebrow--plain::before { display: none; }

.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--accent-dark); }
.text-link > span { transition: transform .16s ease; }
.text-link:hover { color: var(--steel-4); text-decoration: underline; }
.text-link:hover > span:last-child { transform: translateX(3px); }
.text-link--light { color: #bfe0f3; }
.text-link--light:hover { color: #fff; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.45rem; font-weight: 700; color: var(--ink); margin: 34px 0 12px; letter-spacing: -.015em; }
.prose h3 { font-size: 1.15rem; font-weight: 650; color: var(--ink); margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; background: var(--accent-2); border-radius: 50%; }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 30px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .1em;
  font: 500 .78rem/1.45 var(--mono); color: var(--accent-dark); border: 1px solid var(--line-2);
  border-radius: 50%; width: 20px; height: 20px; text-align: center;
}
.prose blockquote { margin: 22px 0; padding: 16px 20px; background: var(--accent-tint); border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--paper-2); font-weight: 650; }

/* ---------- 4. layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: 1400px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-sm); }
.section--paper { background: var(--paper-2); }
.section--paper-3 { background: var(--paper-3); }
.section--white { background: var(--white); }
.section--line { border-top: 1px solid var(--line); }
.section--steel { background: var(--grad-steel); color: #dceaf5; position: relative; overflow: hidden; }
.section--steel h1, .section--steel h2, .section--steel h3, .section--steel .h2, .section--steel .h3, .section--steel .h-display { color: #fff; }
.section--steel p, .section--steel .muted, .section--steel .lede { color: #b8d4e7; }
.section--ink { background: var(--steel); color: #dceaf5; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p, .section--ink .muted { color: #b8d4e7; }
.section-head { max-width: 64ch; margin-bottom: 34px; }
.section-head > p { margin-top: 12px; color: var(--ink-2); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; max-width: none; flex-wrap: wrap; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center > p { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--wide { grid-template-columns: 1.12fr .88fr; }
.split--narrow { grid-template-columns: .82fr 1.18fr; }
.split--start { align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.auto-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mb-24 { margin-bottom: 24px; }
.center { text-align: center; }
.stack-lg > * + * { margin-top: 18px; }

/* media frames — every photo on this site sits in one of these */
.media-frame { position: relative; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); }
.media-frame > img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--3x2 { aspect-ratio: 3 / 2; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x5 { aspect-ratio: 4 / 5; }
.media-frame--inset { padding: 7%; }
.media-frame--inset > img { object-fit: contain; }
.media-frame--plain { border: 0; background: transparent; }
.figure-note { margin-top: 10px; font: 400 .78rem/1.5 var(--mono); color: var(--ink-3); }

/* page header band (breadcrumb + title) */
.page-head { padding-block: 40px 46px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), var(--white)); }
.page-head--steel { background: var(--grad-steel); border-bottom: 0; color: #cfe4f2; }
.page-head--steel h1 { color: #fff; }
.page-head--steel .lede { color: #bfd9ea; }
.page-head--steel .crumbs, .page-head--steel .crumbs a { color: #9dc2da; }
.page-head--steel .crumbs a:hover { color: #fff; }
.page-head--steel .crossline { color: #a9d3ec; }
.page-head--media { position: relative; border-bottom: 0; color: #cfe4f2; background: var(--steel) center / cover no-repeat; }
.page-head--media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,58,92,.95) 0%, rgba(18,58,92,.86) 55%, rgba(18,58,92,.6) 100%); }
.page-head--media > .container { position: relative; z-index: 1; }
.page-head--media h1 { color: #fff; }
.page-head--media .lede { color: #d9eaf5; }
.page-head--media .crumbs, .page-head--media .crumbs a { color: #a9cbe0; }
.page-head--media .crumbs a:hover { color: #fff; }
.page-head--media .crumbs span[aria-current] { color: #fff; }
.page-head--media .crossline { color: #b3d8ef; }
.page-head--media .btn--ghost { --btn-fg: #eaf4fa; --btn-bd: rgba(255,255,255,.45); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 .76rem/1.4 var(--mono); color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent-dark); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); }
.page-head h1 { max-width: 30ch; }
.page-head .lede { max-width: 66ch; margin-top: 16px; }

/* ---------- 5. buttons / tags / badges ---------- */
.btn {
  --btn-bg: var(--steel-2); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--r-sm); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .93rem; font-weight: 600; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  box-shadow: var(--shadow-xs);
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; box-shadow: var(--glow); }
.btn--accent:hover { --btn-bg: var(--accent-dark); }
.btn--steel { --btn-bg: var(--steel); --btn-fg: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--steel-2); --btn-bd: var(--line-2); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--accent-tint); --btn-bd: var(--accent); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--steel-2); }
.btn--light:hover { --btn-bg: #eaf4fa; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #eaf4fa; --btn-bd: rgba(255,255,255,.45); box-shadow: none; }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); }
.btn--sm { padding: 9px 15px; font-size: .85rem; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-icon { width: 38px; height: 38px; padding: 0; border-radius: var(--r-sm); }
.btn-icon svg { width: 18px; height: 18px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 100px; background: var(--paper-3); color: var(--ink-2); text-decoration: none;
}
.tag--accent { background: var(--accent-tint); color: var(--accent-dark); }
.tag--steel { background: var(--steel-2); color: #dceaf5; }
.tag--amber { background: var(--amber-tint); color: var(--amber); }
.tag--green { background: var(--green-tint); color: var(--green); }
.tag--outline { background: transparent; border: 1px solid var(--line-2); }
a.tag:hover { background: var(--accent-tint); color: var(--accent-dark); }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.badge-float {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--steel-2); border: 1px solid var(--line);
  font: 500 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 9px; border-radius: var(--r-xs);
}
.badge-float--amber { color: var(--amber); border-color: #f0dcb4; background: rgba(255,250,240,.95); }
.badge-float--steel { background: rgba(18,58,92,.92); color: #dceaf5; border-color: rgba(255,255,255,.2); }
.index-label { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; color: var(--ink-4); }

.metric-row { display: flex; flex-wrap: wrap; gap: 26px; }
.metric-row div { min-width: 120px; }
.metric-row strong { display: block; font: 800 1.5rem/1.15 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.metric-row span { font: 400 .8rem/1.4 var(--mono); color: var(--ink-3); }
.section--steel .metric-row strong, .section--ink .metric-row strong { color: #fff; }
.section--steel .metric-row span, .section--ink .metric-row span { color: #9dc2da; }

/* ---------- 6. forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow-sm); }
.form-card > h3 { margin-bottom: 6px; }
.form-card--steel { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #dceaf5; box-shadow: none; }
.form-card--steel h3 { color: #fff; }
.form-card--steel .muted { color: #a9c9de; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 .72rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--white); font-size: .93rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 106px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.14); }
.field-hint { font-size: .78rem; color: var(--ink-4); }
.form-status { margin-top: 12px; font-size: .86rem; min-height: 1.2em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c0392b; }
.form-card--steel .field input, .form-card--steel .field textarea, .form-card--steel .field select { background: rgba(255,255,255,.96); border-color: rgba(255,255,255,.3); }
.form-card--steel .field label { color: #a9c9de; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--ink-3); }
.check-row input { width: auto; margin-top: 4px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { flex: 1 1 240px; }
.form-aside { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; font-size: .84rem; color: var(--ink-3); }

/* ---------- 7. header / navigation ---------- */
.topbar { background: var(--steel); color: #b9d4e6; font-size: .78rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 38px; flex-wrap: wrap; }
.topbar .announce { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
.topbar .announce::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 3px rgba(79,209,139,.18); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar a { color: #cfe4f2; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .sep { color: rgba(255,255,255,.28); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(14,32,50,.09); }
.header-bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 9px; background: var(--steel-2); color: #7fc4e8; display: grid; place-items: center; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; }
.brand-sub { font: 500 .74rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav > a, .nav-item > .nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; border-radius: var(--r-sm);
  color: var(--ink-2); font-size: .9rem; font-weight: 550; text-decoration: none; white-space: nowrap;
}
.main-nav > a:hover, .nav-item > .nav-link:hover,
.main-nav > a[aria-current="page"], .nav-item > .nav-link[aria-current="page"],
.nav-item.is-open > .nav-link { color: var(--steel); background: var(--paper-2); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-item { position: relative; }

.mega {
  position: absolute; top: calc(100% + 10px); left: -14px; z-index: 70;
  width: min(760px, 88vw); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 22px;
  display: grid; grid-template-columns: 1fr 1fr .85fr; gap: 24px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item.is-open > .mega, .nav-item:hover > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col h3 { font: 500 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 12px; }
.mega-col a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: var(--r-xs); color: var(--ink); font-size: .88rem; font-weight: 550; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.mega-col a:last-child { border-bottom: 0; }
.mega-col a small { font: 400 .72rem/1.3 var(--mono); color: var(--ink-3); }
.mega-col a:hover { background: var(--paper-2); color: var(--accent-dark); }
.mega-promo { background: var(--paper-2); border-radius: var(--r-sm); padding: 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mega-promo img { border-radius: var(--r-xs); }
.mega-promo p { font-size: .82rem; color: var(--ink-2); }

.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r-sm);
  color: var(--ink-2); border: 1px solid transparent; position: relative; text-decoration: none;
}
.icon-btn:hover { background: var(--paper-2); color: var(--accent-dark); border-color: var(--line); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .count {
  position: absolute; top: 1px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: #fff; border-radius: 100px; font: 600 .64rem/17px var(--mono); text-align: center;
}
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line-2); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { content: ""; top: -6px; left: 0; }
.nav-toggle span::after { content: ""; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.search-panel { border-top: 1px solid var(--line); background: var(--paper); padding: 16px 0 20px; }
.search-form { display: flex; gap: 10px; align-items: center; }
.search-form input[type="search"] { flex: 1; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: .95rem; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.search-results { margin-top: 14px; display: grid; gap: 8px; max-height: 58vh; overflow: auto; }
.search-result { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.search-result:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); color: var(--ink); }
.search-result img { width: 56px; height: 42px; object-fit: cover; border-radius: var(--r-xs); border: 1px solid var(--line); }
.search-result strong { display: block; font-size: .92rem; }
.search-result small { color: var(--ink-3); font: 400 .76rem/1.4 var(--mono); }
.search-empty { padding: 14px; color: var(--ink-3); font-size: .88rem; }
.search-hint { margin-top: 10px; font-size: .78rem; color: var(--ink-4); }
.suggest-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- 8. hero / bands ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--paper-2) 0%, var(--white) 78%); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(120% 80% at 78% 22%, #000 0%, transparent 72%);
  opacity: .85;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; padding-block: 64px 72px; }
.hero-copy { max-width: 40rem; }
.hero h1 { margin-bottom: 18px; }
.hero .hero-lede { font-size: 1.14rem; color: var(--ink-2); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts > div { display: grid; gap: 2px; }
.hero-facts strong { font: 800 1.22rem/1.1 var(--sans); letter-spacing: -.02em; color: var(--steel-2); }
.hero-facts span { font: 400 .76rem/1.3 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.hero-media { position: relative; }
.hero-media .media-frame { box-shadow: var(--shadow-lg); border-radius: var(--r-lg); }
.hero-spec-card {
  position: absolute; left: -18px; bottom: -22px; z-index: 2; width: min(268px, 78%);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 16px 18px;
}
.hero-spec-card .eyebrow { margin-bottom: 8px; font-size: .64rem; }
.hero-spec-card strong { display: block; font-size: .98rem; line-height: 1.25; }
.hero-spec-card ul { margin-top: 10px; display: grid; gap: 5px; font: 400 .78rem/1.4 var(--mono); color: var(--ink-2); }
.hero-spec-card li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.hero-spec-card li:last-child { border-bottom: 0; }
.hero-spec-card b { font-weight: 500; color: var(--ink); }

.trust-strip { background: var(--white); border-block: 1px solid var(--line); }
.trust-row { display: flex; align-items: center; gap: 14px 34px; flex-wrap: wrap; padding-block: 18px; }
.trust-label { font: 500 .68rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-2); font-weight: 550; }
.trust-item svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; }

.logo-wall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.logo-wall img { height: 54px; width: auto; opacity: .82; filter: grayscale(1); transition: opacity .18s ease, filter .18s ease; }
.logo-wall a:hover img { opacity: 1; filter: none; }

.cta-band { background: var(--grad-steel); color: #dceaf5; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.16); pointer-events: none;
}
.cta-band .cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; padding-block: 46px; }
.cta-band h2 { color: #fff; max-width: 34ch; }
.cta-band p { margin-top: 10px; color: #b8d4e7; max-width: 52ch; }
.cta-band .btn-row { flex: 0 0 auto; }

/* ---------- 9a. generic cards, features, steps ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-xs); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.card-body { padding: 22px; }
.card-body > h3 + p { margin-top: 9px; }
.card-body > p + p, .card-body > p + .card-tags, .card-body > ul + p { margin-top: 12px; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover .card { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-link:hover h3 { color: var(--accent-dark); }
.card--flat { box-shadow: none; }
.card--accent { border-top: 3px solid var(--accent); }
.card--media { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.card--media .media-frame { border: 0; border-radius: var(--r-md) var(--r-md) 0 0; }
.card--media .card-body { display: grid; align-content: start; gap: 10px; }
.card--row { display: grid; grid-template-columns: 200px 1fr; align-items: stretch; overflow: hidden; }
.card--row .media-frame { border: 0; border-radius: 0; height: 100%; }
.icon-badge {
  width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-dark); margin-bottom: 14px;
}
.icon-badge svg { width: 21px; height: 21px; }
.icon-badge--steel { background: var(--steel-2); color: #9fd0ea; }
.icon-badge--amber { background: var(--amber-tint); color: var(--amber); }
.card-num { font: 500 .78rem/1 var(--mono); color: var(--accent); letter-spacing: .1em; }

.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.application-grid a { padding: 22px 20px; border-right: 1px solid var(--line); text-decoration: none; color: var(--ink); display: grid; gap: 7px; align-content: start; transition: background .16s ease; }
.application-grid a:last-child { border-right: 0; }
.application-grid a:hover { background: var(--accent-tint); }
.application-grid strong { font-size: .98rem; }
.application-grid span:last-child { font-size: .82rem; color: var(--ink-3); }
.application-number { font: 500 .7rem/1 var(--mono); color: var(--ink-4); letter-spacing: .12em; }

.steps { display: grid; gap: 0; border-left: 1px solid var(--line); }
.step { position: relative; padding: 0 0 26px 28px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.step h3 { font-size: 1.02rem; }
.step p { margin-top: 6px; color: var(--ink-2); font-size: .9rem; }
.step .card-num { display: block; margin-bottom: 6px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.stat { background: var(--white); padding: 22px 20px; }
.stat strong { display: block; font: 800 1.7rem/1.1 var(--sans); letter-spacing: -.03em; color: var(--steel-2); }
.stat span { font: 400 .78rem/1.4 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- 9b. product catalog ---------- */
.catalog-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-xs); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font: 500 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-right: 2px; }
.chip {
  border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2);
  padding: 7px 13px; border-radius: 100px; font-size: .84rem; font-weight: 550; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.chip[aria-pressed="true"] { background: var(--steel-2); border-color: var(--steel-2); color: #fff; }
.catalog-count { font: 400 .8rem/1.4 var(--mono); color: var(--ink-3); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.catalog-empty { grid-column: 1 / -1; padding: 40px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-md); color: var(--ink-3); background: var(--paper); }

.product-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-xs); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card .media-frame { border: 0; border-radius: 0; }
.product-card .pc-body { padding: 20px 20px 22px; display: grid; align-content: start; gap: 10px; }
.product-card .pc-series { font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.product-card h3 { font-size: 1.1rem; line-height: 1.28; }
.product-card h3 a { text-decoration: none; color: inherit; }
.product-card h3 a:hover { color: var(--accent-dark); }
.spec-chips { display: grid; gap: 6px; }
.spec-chips div { display: flex; justify-content: space-between; gap: 12px; font: 400 .78rem/1.45 var(--mono); border-bottom: 1px dashed var(--line); padding-bottom: 5px; color: var(--ink-2); }
.spec-chips div:last-child { border-bottom: 0; }
.spec-chips dt, .spec-chips b { color: var(--ink-4); font-weight: 400; }
.spec-chips strong { font-weight: 500; color: var(--ink); }
.pc-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.pc-price { font: 500 .82rem/1.3 var(--mono); color: var(--ink-3); }
.pc-actions { display: flex; align-items: center; gap: 6px; }

.series-list { display: grid; gap: 14px; }
.series-row { display: grid; grid-template-columns: 168px 1fr auto; gap: 22px; align-items: center; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: border-color .16s ease, box-shadow .16s ease; }
.series-row:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); color: var(--ink); }
.series-row .media-frame { border-radius: var(--r-sm); }
.series-row h3 { font-size: 1.05rem; }
.series-row p { margin-top: 6px; font-size: .88rem; color: var(--ink-2); }
.series-row .spec-chips { margin-top: 10px; max-width: 460px; }
.series-row > .chev { color: var(--ink-4); }

.quick-look { position: absolute; inset: auto 0 0 0; background: rgba(18,58,92,.9); color: #fff; font: 500 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 9px; transform: translateY(100%); transition: transform .2s ease; }
.product-card:hover .quick-look { transform: translateY(0); }

.dim-figure { display: grid; gap: 10px; }
.dim-figure img { border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--white); }
.dim-legend { display: flex; flex-wrap: wrap; gap: 12px 20px; font: 400 .76rem/1.5 var(--mono); color: var(--ink-3); }
.dim-legend b { color: var(--ink); font-weight: 500; }

.mini-list { display: grid; gap: 2px; }
.mini-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .88rem; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.mini-list a:last-child { border-bottom: 0; }
.mini-list a:hover { color: var(--accent-dark); }
.mini-list a span:last-child { font: 400 .76rem/1.4 var(--mono); color: var(--ink-4); }

/* ---------- 9c. posts, resources, faq, tabs ---------- */
.post-card { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-xs); transition: border-color .16s ease, box-shadow .16s ease; }
.post-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.post-card .media-frame { border: 0; border-radius: 0; }
.post-card .post-body { padding: 20px; display: grid; align-content: start; gap: 10px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font: 400 .74rem/1.4 var(--mono); color: var(--ink-4); text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { font-size: 1.06rem; line-height: 1.32; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-dark); }
.feature-post { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.feature-post .media-frame { border: 0; border-radius: 0; height: 100%; }
.feature-post .post-body { padding: 30px; display: grid; align-content: center; gap: 12px; }

.resource-list { display: grid; gap: 10px; }
.resource-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.resource-item:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow-xs); }
.resource-item .icon-badge { margin: 0; width: 40px; height: 40px; }
.resource-item small { display: block; font: 400 .76rem/1.4 var(--mono); color: var(--ink-3); margin-top: 3px; }
.resource-item .tag { white-space: nowrap; }

.faq { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.faq-item > summary { cursor: pointer; list-style: none; padding: 16px 46px 16px 18px; font-weight: 600; font-size: .98rem; position: relative; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 500 1.2rem/1 var(--mono); color: var(--accent); }
.faq-item[open] > summary::after { content: "–"; }
.faq-item[open] > summary { color: var(--accent-dark); }
.faq-item .faq-body { padding: 0 18px 18px; color: var(--ink-2); font-size: .92rem; }
.faq-item .faq-body > * + * { margin-top: 10px; }

.tabs { border: 0; background: transparent; overflow: visible; border-radius: 0; }
.tab-list { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 0; background: transparent; }
.tab-list button {
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: var(--white);
  font-size: .9rem; font-weight: 600; color: var(--ink-2);
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.tab-list button:hover { background: var(--accent-tint); color: var(--accent-dark); border-color: var(--accent); }
.tab-list button[aria-selected="true"] { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-md); }
.tab-panel { padding: 24px 2px 4px; }
.tab-panel[hidden] { display: none; }

.note { border-left: 3px solid var(--accent); background: var(--accent-tint); padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .88rem; color: var(--ink-2); }
.note--amber { border-left-color: var(--amber); background: var(--amber-tint); }
.note--steel { border-left-color: var(--steel-2); background: var(--paper-3); }
.note strong { color: var(--ink); }

.quote-box { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-sm); padding: 24px; box-shadow: var(--shadow-xs); }
.quote-box blockquote { font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.quote-box figcaption { margin-top: 14px; font: 400 .8rem/1.5 var(--mono); color: var(--ink-3); }
.quote-box figcaption b { color: var(--ink); font-weight: 600; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- 10. detail (product) pages ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 44px; align-items: start; }
.detail-main { min-width: 0; }
.detail-aside { position: relative; }
.sticky-box { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }

.gallery { display: grid; gap: 12px; }
.gallery-main { position: relative; }
.gallery-main .media-frame { background: var(--white); }
.gallery-main button.zoom { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.94); border: 1px solid var(--line); color: var(--ink-2); border-radius: var(--r-sm); padding: 8px 11px; font: 500 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.gallery-main button.zoom:hover { border-color: var(--accent); color: var(--accent-dark); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); overflow: hidden; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(22,121,184,.18); }
.gallery-thumbs img { width: 100%; height: auto; display: block; }

.buy-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 22px; }
.buy-box > h2 { font-size: 1.3rem; }
.buy-box .sku { font: 400 .76rem/1.4 var(--mono); color: var(--ink-4); margin-top: 6px; letter-spacing: .04em; }
.key-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin-top: 16px; }
.key-specs div { background: var(--white); padding: 12px 14px; }
.key-specs span { display: block; font: 400 .68rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.key-specs strong { font-size: .96rem; }
.buy-actions { display: grid; gap: 10px; margin-top: 18px; }
.buy-meta { margin-top: 16px; display: grid; gap: 8px; font-size: .82rem; color: var(--ink-3); }
.buy-meta div { display: flex; align-items: center; gap: 8px; }
.buy-meta svg { width: 15px; height: 15px; color: var(--accent); flex: 0 0 auto; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,22,36,.9); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; background: #fff; border-radius: var(--r-md); }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.1); color: #fff; font-size: 1.3rem; cursor: pointer; }
.lightbox .lb-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #cfe4f2; font: 400 .8rem/1.4 var(--mono); }

.spec-section { margin-top: 40px; }
.spec-section > h2 { padding-bottom: 12px; border-bottom: 2px solid var(--steel-2); }
.spec-section > * + * { margin-top: 16px; }
.feature-ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.feature-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.feature-ticks li::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--accent-tint); box-shadow: inset 0 0 0 2px var(--accent); }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* ---------- 11. tables / engineering data ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 560px; }
table.data caption { caption-side: top; text-align: left; padding: 14px 16px 10px; font: 500 .78rem/1.4 var(--mono); color: var(--ink-3); letter-spacing: .04em; }
table.data th, table.data td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--paper-2); font: 600 .78rem/1.4 var(--sans); letter-spacing: .02em; color: var(--ink); white-space: nowrap; border-bottom: 2px solid var(--steel-2); }
table.data tbody tr:hover { background: var(--accent-tint); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; font-family: var(--mono); font-size: .84rem; white-space: nowrap; }
table.data td.code { font: 500 .82rem/1.4 var(--mono); color: var(--steel-2); white-space: nowrap; }
table.data .row-hl td { background: var(--accent-tint); }
table.data--tight th, table.data--tight td { padding: 8px 12px; }
.table-note { margin-top: 10px; font: 400 .78rem/1.55 var(--mono); color: var(--ink-3); }
.table-tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.kv-list { display: grid; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.kv-list > div { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.kv-list > div:last-child { border-bottom: 0; }
.kv-list dt, .kv-list > div > span:first-child { font: 500 .8rem/1.5 var(--mono); color: var(--ink-3); letter-spacing: .02em; }
.kv-list > div:nth-child(even) { background: var(--paper); }
.kv-list strong { font-weight: 600; }

.legend-box { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; background: var(--paper); font-size: .86rem; color: var(--ink-2); }
.legend-box h4 { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 10px; }
.legend-box ul { display: grid; gap: 7px; }
.legend-box li { display: flex; gap: 10px; }
.legend-box b { font-family: var(--mono); color: var(--steel-2); }

.code-block { background: #0e2233; color: #cfe4f2; border-radius: var(--r-md); padding: 18px 20px; overflow-x: auto; font: 400 .82rem/1.65 var(--mono); }
.code-block .c-key { color: #8fd3f4; }
.code-block .c-val { color: #ffd479; }
.code-block .c-cmt { color: #6b8ea8; }

/* ---------- 12. footer ---------- */
.site-footer { background: var(--steel); color: #a9c6da; font-size: .88rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.15fr; gap: 34px; padding-block: 52px 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { background: rgba(255,255,255,.1); }
.footer-brand .brand-sub { color: #7fa5c0; }
.footer-brand p { margin-top: 16px; max-width: 34ch; color: #9dbdd3; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-badges .tag { background: rgba(255,255,255,.08); color: #cfe4f2; border: 1px solid rgba(255,255,255,.14); }
.footer-col h3 { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #7fa5c0; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: #bcd6e6; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 9px; color: #bcd6e6; }
.footer-contact svg { width: 15px; height: 15px; margin-top: 4px; color: var(--accent); flex: 0 0 auto; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: .8rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bottom a { color: #9dbdd3; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-note { padding-bottom: 26px; font-size: .76rem; color: #7fa5c0; line-height: 1.6; max-width: 96ch; }

/* ---------- floating UI ---------- */
.rfq-tray {
  position: fixed; right: 20px; bottom: 20px; z-index: 120; width: min(340px, calc(100vw - 40px));
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.rfq-tray-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--steel); color: #fff; }
.rfq-tray-head strong { font-size: .92rem; }
.rfq-tray-head .rfq-count { font: 500 .72rem/1 var(--mono); background: rgba(255,255,255,.16); padding: 5px 8px; border-radius: 100px; }
.rfq-tray-head button { color: #cfe4f2; background: none; border: 0; cursor: pointer; font-size: 1rem; line-height: 1; }
.rfq-list { max-height: 240px; overflow: auto; }
.rfq-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: .86rem; }
.rfq-item strong { display: block; font-size: .88rem; }
.rfq-item small { font: 400 .74rem/1.4 var(--mono); color: var(--ink-3); }
.rfq-item button { border: 0; background: none; color: var(--ink-4); cursor: pointer; font-size: 1rem; }
.rfq-item button:hover { color: #c0392b; }
.rfq-empty { padding: 18px 14px; font-size: .84rem; color: var(--ink-3); }
.rfq-tray-foot { padding: 12px 14px; background: var(--paper); border-top: 1px solid var(--line); display: grid; gap: 8px; }
.rfq-tray.is-collapsed .rfq-list, .rfq-tray.is-collapsed .rfq-tray-foot { display: none; }

.to-top {
  position: fixed; right: 20px; bottom: 96px; z-index: 110; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line-2); color: var(--steel-2); display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- 13. misc blocks ---------- */
.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 108px 1fr; gap: 20px; padding: 0 0 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .t-year { font: 700 .95rem/1.4 var(--mono); color: var(--accent-dark); letter-spacing: .02em; }
.timeline-item .t-body { border-left: 1px solid var(--line); padding-left: 20px; position: relative; }
.timeline-item .t-body::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent); }
.timeline-item h3 { font-size: 1rem; }
.timeline-item p { margin-top: 5px; font-size: .88rem; color: var(--ink-2); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-xs); }
.contact-card h3 { font-size: 1rem; }
.contact-card p, .contact-card li { font-size: .88rem; color: var(--ink-2); }
.contact-card ul { margin-top: 10px; display: grid; gap: 7px; }
.contact-card .kv { display: grid; gap: 3px; margin-top: 12px; }
.contact-card .kv span { font: 400 .72rem/1.4 var(--mono); color: var(--ink-4); text-transform: uppercase; letter-spacing: .08em; }
.contact-card .kv strong { font-size: .95rem; }

.map-frame { position: relative; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.map-frame img { display: block; width: 100%; height: auto; }
.map-pin-card { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; box-shadow: var(--shadow-md); max-width: 300px; font-size: .86rem; }
.map-pin-card strong { display: block; margin-bottom: 4px; }

.checklist { display: grid; gap: 9px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.checklist li::before { content: "✓"; flex: 0 0 auto; color: var(--accent); font-weight: 700; }
.checklist--amber li::before { content: "!"; color: var(--amber); }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: .86rem; color: var(--ink-2); text-decoration: none; background: var(--white); }
.pagination a:hover { border-color: var(--accent); color: var(--accent-dark); }
.pagination [aria-current="page"] { background: var(--steel-2); border-color: var(--steel-2); color: #fff; }

.page-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.page-nav a { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; text-decoration: none; color: var(--ink); background: var(--white); }
.page-nav a:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow-xs); }
.page-nav small { display: block; font: 400 .72rem/1.4 var(--mono); color: var(--ink-4); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.page-nav .next { text-align: right; }

.toc { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); padding: 18px; }
.toc h2 { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 12px; }
.toc ol { display: grid; gap: 8px; counter-reset: toc; }
.toc a { font-size: .86rem; color: var(--ink-2); text-decoration: none; display: flex; gap: 8px; }
.toc a:hover { color: var(--accent-dark); }
.toc a::before { content: counter(toc, decimal-leading-zero); counter-increment: toc; font: 400 .74rem/1.5 var(--mono); color: var(--ink-4); }

.divider { height: 1px; background: var(--line); border: 0; margin-block: 34px; }
.divider--dashed { background: none; border-top: 1px dashed var(--line-2); }

.divider-fade { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; }

/* ---------- 14. motion & utilities ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .06s; }
.reveal-d2 { transition-delay: .12s; }
.reveal-d3 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .product-card, .quick-look { transition: none; }
  .btn:hover, .card-link:hover .card, .product-card:hover { transform: none; }
}
.flex-between { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pad-block { padding-block: 26px; }
.overflow-x { overflow-x: auto; padding-bottom: 4px; }
.pin-top { position: sticky; top: calc(var(--header-h) + 20px); }

/* ---------- 15. responsive ---------- */
.main-nav .nav-cta { margin-left: 10px; }
.main-nav > a.nav-cta { padding: 12px 20px; font-size: .9rem; color: #fff; background: var(--accent); box-shadow: var(--glow); }
.main-nav > a.nav-cta:hover { background: var(--accent-dark); color: #fff; }
.main-nav > a.nav-cta[aria-current="page"] { box-shadow: inset 0 -2px 0 rgba(255,255,255,.6); }
.nav-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(9,24,38,.5); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-top .footer-col:nth-child(4) { display: none; }
  .hero-inner { gap: 44px; }
  .catalog-grid, .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid a:nth-child(2n) { border-right: 0; }
  .application-grid a:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .container--wide { max-width: 100%; }
}

@media (max-width: 1080px) {
  :root { --section: 40px; --section-sm: 30px; }
  .main-nav > a, .nav-item > .nav-link { padding: 10px 8px; font-size: .86rem; }
  .header-bar { gap: 12px; }
  .topbar-right .hide-md { display: none; }
  .split, .split--wide, .split--narrow { grid-template-columns: 1fr; gap: 34px; }
  .split--media-first > .split-media { order: -1; }
  .detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .sticky-box, .toc, .pin-top { position: static; }
  .grid-4, .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .feature-post { grid-template-columns: 1fr; }
  .feature-post .media-frame { aspect-ratio: 16 / 9; }
  .menu-hero .hero-media { display: none; }
}

@media (max-width: 980px) {
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 65;
    width: min(380px, 90vw); margin: 0; padding: 22px 20px 40px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg); overflow-y: auto;
    transform: translateX(102%); transition: transform .24s ease;
  }
  .main-nav.is-open { transform: none; }
  .main-nav > a, .nav-item > .nav-link { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: .98rem; border-radius: var(--r-sm); }
  .main-nav > a[aria-current="page"], .nav-item > .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .nav-item > .mega, .nav-item:hover > .mega, .nav-item:focus-within > .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line-2); border-radius: 0; padding: 6px 0 10px 14px; margin: 0 0 10px; display: grid; grid-template-columns: 1fr; gap: 14px; }
  .mega-promo { display: none; }
  .main-nav .nav-cta { margin: 16px 0 0; width: 100%; }
  .header-tools { order: 3; }
  .header-tools .nav-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 46px 58px; }
  .hero-spec-card { position: static; width: auto; margin-top: -34px; margin-left: 18px; margin-right: 18px; }
  .cta-band .cta-inner { padding-block: 38px; }
  .catalog-grid, .related-grid, .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-top .footer-col:nth-child(4) { display: block; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .kv-list > div { grid-template-columns: 1fr; gap: 4px; }
  .series-row { grid-template-columns: 132px 1fr; }
  .series-row > .chev { display: none; }
}

@media (max-width: 860px) {
  :root { --section: 36px; --section-sm: 26px; --gutter: 18px; }
  .grid-2, .grid-3, .grid-4, .grid, .grid--2, .grid--3, .grid--4, .auto-grid { grid-template-columns: 1fr; }
  .catalog-grid, .related-grid, .testimonial-grid, .form-grid, .feature-ticks { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .key-specs { grid-template-columns: 1fr 1fr; }
  .section-head--row { align-items: flex-start; }
  .card--row { grid-template-columns: 1fr; }
  .card--row .media-frame { aspect-ratio: 16 / 9; }
  .application-grid { grid-template-columns: 1fr; }
  .application-grid a { border-right: 0; border-bottom: 1px solid var(--line); }
  .application-grid a:last-child { border-bottom: 0; }
  .catalog-bar { flex-direction: column; align-items: stretch; }
  .filter-group { justify-content: flex-start; }
  .mega { width: min(520px, 92vw); grid-template-columns: 1fr; }
  .hero-facts { gap: 14px 24px; }
  .hero-facts strong { font-size: 1.08rem; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .page-nav { grid-template-columns: 1fr; }
  .page-nav .next { text-align: left; }
  .resource-item { grid-template-columns: 36px 1fr; }
  .resource-item .tag { grid-column: 2; justify-self: start; }
  .footer-top { padding-block: 40px 30px; }
  .rfq-tray { right: 14px; bottom: 14px; }
  .to-top { right: 14px; bottom: 86px; }
}

@media (max-width: 720px) {
  .topbar-inner { justify-content: center; text-align: center; min-height: 34px; }
  .topbar-right { display: none; }
  .header-bar { min-height: 64px; gap: 10px; }
  .brand-sub { display: none; }
  .hero-inner { padding-block: 34px 44px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { gap: 10px; }
  .hero-spec-card { margin-inline: 0; border-radius: var(--r-sm); }
  .stat-grid, .key-specs { grid-template-columns: 1fr; }
  .metric-row { gap: 18px; }
  .metric-row div { min-width: 104px; }
  .cta-band .btn-row { width: 100%; }
  .cta-band .btn { width: 100%; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .search-form { flex-direction: column; align-items: stretch; }
  .search-result { grid-template-columns: 48px 1fr; }
  .search-result img { width: 48px; height: 36px; }
  .form-card { padding: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .tabs .tab-list { overflow-x: auto; flex-wrap: nowrap; }
  .tab-list button { white-space: nowrap; }
  .crumb-current { display: none; }
}

@media (max-width: 560px) {
  .h-display { font-size: 2rem; }
  .btn { padding: 12px 18px; }
  .badge-float { top: 8px; left: 8px; font-size: .62rem; }
  .catalog-grid { gap: 16px; }
  .card-body, .product-card .pc-body, .post-card .post-body { padding: 16px; }
  .rfq-tray { left: 12px; right: 12px; width: auto; }
  .rfq-list { max-height: 180px; }
  .table-scroll { border-radius: var(--r-sm); }
  .code-block { font-size: .76rem; padding: 14px; }
}

@media print {
  .topbar, .site-header, .nav-backdrop, .rfq-tray, .to-top, .site-footer .footer-bottom,
  .gallery-thumbs, .btn-row, .search-panel, .page-nav { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .section--tight { padding-block: 12pt; }
  .card, .table-scroll, .kv-list { box-shadow: none; border-color: #999; }
  table.data { min-width: 0; font-size: 9.5pt; }
  a { color: #000; text-decoration: none; }
  .media-frame { border-color: #999; }
}

/* ---------- 16. accessibility utilities ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--steel);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* == end of design system v3 == */

/* ============================================================
   17. Trilingual site addenda (PLTBR)
   Language switcher, floating contact, trade strip, drawing
   frames, CJK font stacks, catalog-bar inputs.
   ============================================================ */

/* CJK font stacks per language */
html[lang="zh-CN"] { --sans: "Archivo", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
html[lang="ja"]   { --sans: "Archivo", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
html[lang="zh-CN"] .h-display, html[lang="ja"] .h-display,
html[lang="zh-CN"] .h1, html[lang="ja"] .h1,
html[lang="zh-CN"] .h2, html[lang="ja"] .h2,
html[lang="zh-CN"] .h3, html[lang="ja"] .h3 { letter-spacing: 0; }

/* language switcher (header) */
.lang-switch { position: relative; }
.lang-current { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 9px; border: 1px solid transparent; border-radius: var(--r-sm); color: var(--ink-2); font: 600 .78rem/1 var(--mono); }
.lang-current:hover { background: var(--paper-2); border-color: var(--line); color: var(--accent-dark); }
.lang-current svg { width: 17px; height: 17px; }
.lang-current .caret { width: 9px; height: 6px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 80; min-width: 132px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); padding: 6px; margin: 0; }
.lang-menu[hidden] { display: none; }
.lang-menu li { list-style: none; }
.lang-menu a { display: block; padding: 8px 10px; border-radius: var(--r-xs); color: var(--ink-2); text-decoration: none; font-size: .88rem; }
.lang-menu a:hover { background: var(--accent-tint); color: var(--accent-dark); }
.lang-menu a[aria-current="true"] { background: var(--paper-2); color: var(--steel); font-weight: 600; }

/* engineering drawing panels (SVG-in-frame) */
.media-frame--drawing { background: radial-gradient(circle at 50% 50%, #ffffff 0%, #eef4f8 100%); display: grid; place-items: center; }
.media-frame--drawing svg { width: 100%; height: 100%; }
.hero-media .media-frame--drawing svg { width: 88%; height: 88%; }

/* floating contact buttons */
.wa-float, .wechat-float { position: fixed; right: 20px; z-index: 115; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; text-decoration: none; transition: transform .16s ease; }
.wa-float { bottom: 20px; background: #25d366; }
.wechat-float { bottom: 84px; background: #07c160; border: 0; cursor: pointer; }
.wa-float svg, .wechat-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover, .wechat-float:hover { transform: translateY(-2px); }
.to-top { bottom: 160px; }
.wechat-pop { position: fixed; right: 20px; bottom: 150px; z-index: 116; width: 232px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 16px; display: grid; gap: 9px; }
.wechat-pop[hidden] { display: none; }
.wechat-pop strong { font-size: .95rem; }
.wechat-pop .mono { font-size: 1.08rem; color: var(--steel-2); }

/* footer trade strip */
.trade-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.trade-strip .t { font: 400 .78rem/1.45 var(--mono); color: #9dbdd3; }
.trade-strip .t b { color: #cfe4f2; font-weight: 600; margin-right: 7px; }
.footer-contact h3 { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #7fa5c0; margin-bottom: 14px; }

/* catalog-bar inputs */
.catalog-bar input[type="search"], .catalog-bar select { padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 100px; background: #fff; font-size: .86rem; }
.catalog-bar input[type="search"] { min-width: 190px; }
.catalog-bar input[type="search"]:focus, .catalog-bar select:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.catalog-bar select { padding-right: 30px; }

/* responsive tweaks for floating buttons */
@media (max-width: 720px) {
  .wa-float, .wechat-float, .to-top { right: 14px; }
  .wechat-pop { right: 14px; }
}

/* compact dropdowns (About / Resources) — single-column, no caret */
.mega--compact { width: auto; min-width: 228px; grid-template-columns: 1fr; padding: 8px; gap: 0; }
.mega--compact .mega-col a { padding: 10px 12px; border: 0; border-radius: var(--r-xs); }
.mega--compact .mega-col a:hover { background: var(--paper-2); color: var(--accent-dark); }
.mega--compact .mega-col a small { display: none; }

/* floating buttons — unified size + hover tooltips */
.wa-float, .wechat-float, .to-top { width: 54px; height: 54px; }
.to-top { bottom: 148px; }
.to-top svg { width: 22px; height: 22px; }
.float-tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap; background: var(--steel); color: #fff;
  font: 500 .8rem/1.25 var(--mono); padding: 8px 12px; border-radius: var(--r-sm);
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.float-tip::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--steel);
}
.wa-float:hover .float-tip, .wechat-float:hover .float-tip, .to-top:hover .float-tip,
.wa-float:focus-visible .float-tip, .wechat-float:focus-visible .float-tip, .to-top:focus-visible .float-tip {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}
.wechat-float[aria-expanded="true"] .float-tip { opacity: 0; visibility: hidden; }
.wechat-pop { right: 86px; bottom: 84px; }

/* Korean font stack */
html[lang="ko"] { --sans: "Archivo", "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
html[lang="ko"] .h-display, html[lang="ko"] .h1, html[lang="ko"] .h2, html[lang="ko"] .h3 { letter-spacing: 0; }

/* homepage banner carousel (placeholder images, replace banner-*.svg with real photos) */
.banner { position: relative; overflow: hidden; background: var(--steel); min-height: 190px; }
.banner-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s; }
.banner-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.banner-inner h2 { color: #fff; max-width: 30ch; text-shadow: 0 1px 3px rgba(0,0,0,.5), 0 3px 12px rgba(0,0,0,.35); }
.banner-inner .btn-row { margin-top: 16px; }
.banner-dots { position: absolute; bottom: 16px; right: 28px; z-index: 3; display: flex; gap: 8px; }
.banner-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background .2s ease; }
.banner-dot.is-active { background: #fff; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; transition: background .2s ease; }
.banner-arrow:hover { background: rgba(255,255,255,.3); }
.banner-arrow svg { width: 18px; height: 18px; }
.banner-arrow--prev { left: 18px; }
.banner-arrow--next { right: 18px; }
@media (min-width: 981px) {
  .banner { aspect-ratio: 384 / 61; min-height: 0; }
}
@media (max-width: 720px) {
  .banner { min-height: 170px; }
  .banner-arrow { display: none; }
  .banner-dots { right: 18px; }
}

/* page-head with a small right-side product image (model detail pages) */
.ph-split { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.ph-media .media-frame { width: 180px; height: 180px; }
@media (max-width: 860px) {
  .ph-split { grid-template-columns: 1fr; }
  .ph-media .media-frame { width: 140px; height: 140px; }
}

/* clickable card media (homepage product cards) */
.card-media-link { display: block; text-decoration: none; }
.card-media-link .media-frame { transition: box-shadow .16s ease; }
.card-media-link:hover .media-frame { box-shadow: inset 0 0 0 2px var(--accent); }

/* whole-card links (homepage product cards) */
a.card.card-link:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ensure hidden elements are always hidden (fixes filter/search on .product-card) */
[hidden] { display: none !important; }

/* mega menu column heading links */
.mega-col h3 a { color: inherit; text-decoration: none; }
.mega-col h3 a:hover { color: var(--accent-dark); text-decoration: underline; }

/* product card hover effects: image zoom + glow border */
.card--media .media-frame--drawing svg { transition: transform .3s ease; }
.card-link:hover .media-frame--drawing svg { transform: scale(1.05); }
a.card.card-link:hover, .card-link:hover > .card { border-color: var(--accent); box-shadow: var(--glow); transform: translateY(-3px); }
