/* =========================================================
   Powder Parts, Inc. — site styles
   Header + home hero are sized in "mockup units" (--u) so that at a
   1672px-wide viewport they match the approved hero mockup 1:1.
   ========================================================= */
:root {
  --navy: #0b1a45;
  --navy-2: #0f2a5c;
  --navy-deep: #071233;
  --red: #e10222;
  --red-bright: #fa0123;
  --red-dark: #b80019;
  --ink: #1c2333;
  --muted: #5b6478;
  --line: #e3e6ee;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(11, 26, 69, .08);
  --shadow-lg: 0 24px 60px rgba(11, 26, 69, .16);
  --u: calc(min(100vw, 1920px) / 1672);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-ui: "Figtree", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
svg.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-ui); font-weight: 600; font-size: 17px; line-height: 1;
  padding: 16px 26px; border-radius: 6px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { border-color: rgba(255,255,255,.9); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--bg-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  height: calc(105 * var(--u));
  box-shadow: 0 1px 0 rgba(11,26,69,.06);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,26,69,.10); }
.header-inner {
  height: 100%; display: flex; align-items: center;
  padding: 0 calc(25 * var(--u)) 0 calc(55 * var(--u));
}
.brand { flex: none; display: block; }
.brand img { width: calc(320 * var(--u)); height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; height: 100%; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; height: 100%; }
.main-nav > ul > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: calc(8 * var(--u));
  font-family: var(--font-ui); font-weight: 600; color: var(--navy);
  font-size: calc(20 * var(--u)); letter-spacing: -.012em;
  padding: calc(8 * var(--u)) calc(20 * var(--u)); position: relative;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link .chev { width: calc(14 * var(--u)); height: calc(14 * var(--u)); transition: transform .2s; }
.nav-link::after {
  content: ""; position: absolute; left: calc(20 * var(--u)); right: calc(20 * var(--u)); bottom: calc(-6 * var(--u));
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.has-drop:hover .chev, .has-drop:focus-within .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% - 14px); left: 6px; min-width: 260px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 10px;
  list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s; border-top: 3px solid var(--red);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 6px;
  font-weight: 600; font-size: 15px; color: var(--navy);
}
.dropdown a::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--red); transform: skewX(-20deg); }
.dropdown a:hover { background: var(--bg-soft); color: var(--red); }
/* mega menus (desktop) */
.header-inner { position: relative; }
.main-nav > ul > li.has-mega { position: static; }
.mega {
  position: absolute; top: 100%; right: calc(25 * var(--u)); z-index: 60;
  display: grid; grid-template-columns: 1fr 240px; gap: 18px;
  width: min(820px, calc(100vw - 32px)); padding: 18px;
  background: #fff; border-radius: 0 0 14px 14px; border-top: 3px solid var(--red);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega.mega-1 { width: min(600px, calc(100vw - 32px)); }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega-main { display: flex; flex-direction: column; min-width: 0; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.mega-1 .mega-links { grid-template-columns: 1fr; }
.mega-links a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; transition: background .15s; }
.mega-links a:hover, .mega-links a:focus-visible { background: var(--bg-soft); }
.mega-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #fff1f2; color: var(--red); display: grid; place-items: center; }
.mega-ico img, .mega-ico svg { width: 24px; height: 24px; object-fit: contain; }
.mega-txt { display: flex; flex-direction: column; min-width: 0; }
.mega-txt strong { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--navy); line-height: 1.25; }
.mega-txt small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.mega-links a:hover strong { color: var(--red); }
.mega-all { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 12px 10px 2px; font-weight: 700; font-size: 14px; color: var(--red); }
.mega-all svg { width: 16px; height: 16px; transition: transform .2s; }
.mega-all:hover svg { transform: translateX(3px); }
.mega-feature { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--navy); color: #fff; }
.mega-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mega-feature-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.mega-feature-body strong { font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.25; }
.mega-feature-body > span:not(.mega-cta) { font-size: 13px; line-height: 1.45; opacity: .85; }
.mega-cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: #ff5a6b; }
.mega-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.mega-feature:hover .mega-cta svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .mega { transition: none; transform: none; } }

.nav-divider { width: 1px; height: calc(52 * var(--u)); background: #abb0be; margin: 0 calc(26 * var(--u)) 0 calc(29 * var(--u)); }
.main-nav > ul > li:last-child .nav-link { padding-left: calc(8 * var(--u)); padding-right: 0; }
.main-nav > ul > li:last-child .nav-link::after { left: calc(8 * var(--u)); right: 0; }
.header-cta {
  font-size: calc(21 * var(--u)); padding: 0; width: calc(182 * var(--u));
  height: calc(53 * var(--u)); border-radius: calc(5 * var(--u)); background: var(--red); gap: calc(9 * var(--u));
}
.header-cta svg { width: calc(25 * var(--u)); height: calc(25 * var(--u)); }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- Home hero (mockup-exact) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  height: calc(836 * var(--u));
  background: #0b2550 url("../images/hero.jpg") center / cover no-repeat;
}
.hero-inner { position: absolute; inset: 0; padding-left: calc(67 * var(--u)); }
.hero h1 {
  position: absolute; left: calc(67 * var(--u)); top: calc(156 * var(--u));
  margin: 0; color: #fff; font-family: var(--font-head); line-height: 1;
}
.hero h1 .l1 {
  display: block; font-weight: 800; font-size: calc(68.5 * var(--u));
  letter-spacing: -.006em; line-height: calc(68.5 * var(--u));
}
.hero h1 .l2 {
  display: block; font-weight: 300; font-size: calc(64 * var(--u));
  letter-spacing: -.017em; line-height: calc(70 * var(--u)); margin-top: calc(2.3 * var(--u));
}
.hero .lede {
  position: absolute; left: calc(68 * var(--u)); top: calc(387 * var(--u));
  margin: 0; font-family: var(--font-head); font-weight: 400;
  font-size: calc(25 * var(--u)); line-height: calc(35 * var(--u)); color: #fff; letter-spacing: -.015em;
}
.hero-actions { position: absolute; left: calc(67 * var(--u)); top: calc(502 * var(--u)); display: flex; gap: calc(21 * var(--u)); }
.hero-actions .btn {
  height: calc(69 * var(--u)); font-size: calc(26 * var(--u)); border-radius: calc(6 * var(--u));
  gap: calc(13 * var(--u)); padding: 0;
}
.hero-actions .btn svg { width: calc(28 * var(--u)); height: calc(28 * var(--u)); }
.hero-actions .btn-red { width: calc(286 * var(--u)); background: var(--red-bright); }
.hero-actions .btn-red:hover { background: var(--red); }
.hero-actions .btn-ghost { width: calc(363 * var(--u)); border-width: max(1.5px, calc(2 * var(--u))); }
.hero-feats {
  position: absolute; left: calc(68 * var(--u)); top: calc(651 * var(--u));
  display: flex; align-items: center; list-style: none; margin: 0; padding: 0;
}
.hero-feats li {
  display: flex; align-items: center; gap: calc(17 * var(--u));
  font-family: var(--font-ui); font-weight: 500; font-size: calc(21.5 * var(--u)); letter-spacing: -.005em;
}
.hero-feats li + li { margin-left: calc(32 * var(--u)); padding-left: calc(38 * var(--u)); border-left: max(1px, calc(2 * var(--u))) solid rgba(255,255,255,.85); height: calc(43 * var(--u)); }
.hero-feats svg { width: calc(40 * var(--u)); height: calc(40 * var(--u)); flex: none; }
.hero-feats li:nth-child(2) svg { width: calc(50 * var(--u)); height: calc(42 * var(--u)); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 76px 0 70px; background: var(--navy-deep);
  isolation: isolate;
}
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img, .page-hero .bg video { width: 100%; height: 100%; object-fit: cover; }
/* same red slash -> navy -> clear photo treatment as the home hero */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../images/hero-slash-wide.svg?v=3") left top / cover no-repeat;
}
.page-hero .crumbs { font-family: var(--font-ui); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 14px; }
.page-hero .crumbs a:hover { text-decoration: underline; }
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -.015em; margin-bottom: 6px; text-wrap: balance; }
.page-hero .sub { font-family: var(--font-head); font-weight: 300; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; margin: 0 0 14px; }
.page-hero p.intro { max-width: 600px; font-family: var(--font-head); font-size: 17px; opacity: .95; margin-bottom: 0; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.tight { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: var(--navy); color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; flex: none; width: 19px; height: 18px; margin-top: -2px; background: currentColor;   /* the Powder Parts slash mark */
  -webkit-mask: url("../images/pp-mark.svg") center / contain no-repeat; mask: url("../images/pp-mark.svg") center / contain no-repeat; }
.section.navy .eyebrow, .on-dark .eyebrow { color: #ff4f62; }
.h2 { font-size: clamp(28px, 2.9vw, 40px); font-weight: 800; letter-spacing: -.015em; text-wrap: balance; margin-bottom: .45em; }
.h3 { font-size: 19px; margin: 14px 0 8px; }
.h2 .thin { font-weight: 300; display: block; }
.lead { font-size: 18px; color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head.left { max-width: none; text-align: left; margin-bottom: 30px; }
.section-head .lead { margin-bottom: 0; }
.section-head .eyebrow { justify-content: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split.wide-left { grid-template-columns: 1.15fr 1fr; }
.media-frame { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media-frame.tall img { aspect-ratio: 4 / 5; max-height: 620px; }
.media-accent { position: relative; }
.media-accent::before {
  content: ""; position: absolute; right: -16px; bottom: -16px; width: 62%; height: 62%; border-radius: 14px; z-index: -1;
  background: repeating-linear-gradient(115deg, var(--red) 0 6px, transparent 6px 16px); opacity: .9;
}
.media-badge {
  position: absolute; left: -26px; bottom: 36px; background: var(--navy); color: #fff; border-radius: 12px;
  padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.media-badge strong { font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1; color: #fff; }
.media-badge span { font-size: 14px; line-height: 1.3; opacity: .9; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 2; }
.stat { padding: 24px 28px; display: flex; align-items: center; gap: 16px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font-family: var(--font-head); font-weight: 800; font-size: 42px; line-height: 1; color: var(--red); letter-spacing: -.02em; }
.stat span { font-weight: 600; color: var(--navy); line-height: 1.25; font-size: 17px; }
.section > .wrap + .wrap { margin-top: 48px; }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; border: 1px solid var(--line);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); }
.card .more svg { width: 18px; height: 18px; transition: transform .2s; }
/* home "What We Do": full-photo cards with the copy set on a navy fade */
.pcards { gap: 22px; }
.pcard { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; border-radius: 16px; overflow: hidden; color: #fff; box-shadow: var(--shadow); }
.pcard > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,18,51,0) 28%, rgba(7,18,51,.72) 62%, rgba(7,18,51,.95) 100%); transition: background .3s; }
.pcard::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.pcard:hover > img { transform: scale(1.06); }
.pcard:hover::after { transform: scaleX(1); }
.pcard-body { display: flex; flex-direction: column; gap: 8px; padding: 28px 26px 26px; }
.pcard-kicker { font-family: var(--font-ui); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ff8a98; }
.pcard h3 { color: #fff; font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.pcard p { color: rgba(255,255,255,.86); font-size: 15.5px; line-height: 1.5; margin: 0 0 6px; }
.pcard-go { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: #fff; }
.pcard-arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .25s; }
.pcard-arrow svg { width: 16px; height: 16px; }
.pcard:hover .pcard-arrow { transform: translateX(4px); }
.card:hover .more svg { transform: translateX(4px); }

/* category index: one hairline-ruled panel instead of floating cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cat { position: relative; background: #fff; padding: 26px 24px 22px; display: flex; flex-direction: column; min-height: 214px; transition: background .2s; scroll-margin-top: 130px; }
.cat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.cat:hover { background: #f6f7fa; }
.cat:hover::before { transform: scaleY(1); }
.cat .ico { display: block; width: 46px; height: 46px; margin-bottom: 22px; flex: none; }
.cat .ico img, .cat .ico svg { width: 46px; height: 46px; object-fit: contain; }
.cat h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 6px; color: var(--navy); }
.cat p { color: var(--muted); font-size: 14.5px; line-height: 1.45; margin: 0 0 18px; }
.cat .cat-go { margin-top: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: background .2s, border-color .2s, color .2s; }
.cat .cat-go svg { width: 16px; height: 16px; transition: transform .2s; }
.cat:hover .cat-go { background: var(--red); border-color: var(--red); color: #fff; }
.cat:hover .cat-go svg { transform: translateX(2px); }

/* video band */
.video-band { position: relative; overflow: hidden; color: #fff; isolation: isolate; padding: 84px 0; }
.video-band video, .video-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.video-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7,18,51,.94) 0%, rgba(9,40,82,.86) 45%, rgba(9,40,82,.45) 100%); }
.video-band h2 { color: #fff; }
/* two-weight heading, same rhythm as the home hero: bold line, then a light line */
.video-band .pledge-h { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 22px; }
.video-band .pledge-h span { display: block; }
.video-band .pledge-h .lt { font-weight: 300; letter-spacing: -.01em; }
.video-band .inner { display: grid; grid-template-columns: minmax(0, 700px); }
/* OEM badge as a large faded mark that runs off the right edge, behind the text */
.video-band .badge { position: absolute; z-index: -1; top: 50%; right: 0; width: clamp(420px, 44vw, 680px); aspect-ratio: 1; transform: translate(30%, -50%); pointer-events: none; }
.video-band .badge img { display: block; width: 100%; height: 100%; opacity: .16; }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; color: var(--red-bright); flex: none; margin-top: 2px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: 52px 0; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, #fa0123 0%, #c4001c 38%, #2a1640 62%, #0b1a45 100%);
}
.cta-band::after {
  /* stripes fade in and out at both ends so they melt into the gradient instead of ending in a hard edge */
  content: ""; position: absolute; top: 0; bottom: 0; right: -2%; width: min(64%, 860px); z-index: -1; opacity: .11;
  background: repeating-linear-gradient(115deg, #fff 0 8px, transparent 8px 26px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 62%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 62%, transparent 100%);
}
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band small { display: block; font-family: var(--font-ui); font-weight: 700; letter-spacing: .14em; font-size: 14px; opacity: .9; text-transform: uppercase; margin-bottom: 6px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.8vw, 38px); font-weight: 800; margin: 0; max-width: 720px; text-wrap: balance; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* brand strip */
.brand-strip { padding: 26px 0; border-bottom: 1px solid var(--line); }
.brand-strip .inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 48px; flex-wrap: wrap; }
.brand-strip p { margin: 0; flex: none; font-weight: 700; color: var(--navy); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
/* one optical size for every mark: text and logos all read about 30px tall, spread evenly across the row */
.brand-list { flex: 1 1 640px; display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap; }
.brand-list span { font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 25px; line-height: 1; color: #9aa3b8; letter-spacing: -.01em; }
.brand-list img { height: 30px; width: auto; }
.brand-list img.ultra { height: 30px; opacity: .8; }
.brand-list img.wagner { height: 32px; }
.brand-list img.weg { height: 30px; }
.brand-list a.ami { display: block; line-height: 0; transition: opacity .2s; }
.brand-list a.ami:hover { opacity: .75; }
.brand-list img.ami { height: 36px; }

/* features list (service) */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .25s, transform .25s; }
.svc:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.svc .n { width: 46px; height: 46px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.svc .n svg { width: 24px; height: 24px; }
.svc h3 { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.35; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }

/* guides */
.guides { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.guide { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: left; cursor: zoom-in; padding: 0; transition: box-shadow .25s, transform .25s; }
.guide:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.guide .pg { aspect-ratio: 3 / 3.6; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.guide .pg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.guide .cap { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; color: var(--navy); font-size: 15px; }
.guide .cap svg { width: 18px; height: 18px; color: var(--red); flex: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7,18,51,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-width: min(92vw, 900px); width: auto; border-radius: 8px; background: #fff; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 26px; cursor: pointer; }

/* equipment */
.equip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.equip .card .thumb { aspect-ratio: 1 / 1; background: #eef0f4; }
.equip .card .thumb img { object-position: 50% 30%; }   /* upright machine photos: keep the controller and gun in frame */
.equip .tag { display: inline-block; font-weight: 800; letter-spacing: .14em; font-size: 13px; color: #fff; background: var(--red); padding: 5px 10px; border-radius: 4px; margin-bottom: 12px; align-self: flex-start; }

/* forms */
.form-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 32px; border: 1px solid var(--line); }
.form-card h2 { font-size: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid #d7dbe5; border-radius: 8px; padding: 13px 14px; background: #fbfcfe; font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(11,26,69,.08); }
.field.file input { padding: 11px; background: #fff; }
.radio-row { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 4px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); font-size: 16px; margin: 0; }
.radio-row input { width: auto; accent-color: var(--red); }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-success { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 10px; background: #eaf7ef; color: #165c32; font-weight: 600; }
.form-success.show { display: block; }
.fieldset-title { grid-column: 1 / -1; font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 16px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }

/* contact info */
.info-list { display: grid; gap: 16px; }
.info { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.info .i { width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.info .i svg { width: 22px; height: 22px; }
.info h3 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-ui); font-weight: 800; color: var(--red); margin-bottom: 4px; }
.info p { margin: 0; color: var(--ink); font-weight: 500; }
.info a:hover { color: var(--red); }
.map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* mission */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mission { background: #fff; border-radius: 14px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.mission .ico { width: 64px; height: 64px; border-radius: 14px; background: #fff1f2; display: grid; place-items: center; margin-bottom: 18px; }
.mission .ico img { width: 38px; height: 38px; }
.mission h3 { font-size: 15px; letter-spacing: .14em; color: var(--red); font-family: var(--font-ui); font-weight: 800; text-transform: uppercase; }
.mission p { color: var(--muted); margin: 0; }
.mission::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; background: url("../images/slashes-watermark.png") center / contain no-repeat; opacity: .5; }

.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose .caps { font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.disclosure { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.disclosure li { background: var(--bg-soft); border-left: 4px solid var(--red); padding: 16px 20px; border-radius: 0 10px 10px 0; font-weight: 700; color: var(--navy); letter-spacing: .02em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 35%, var(--navy-2) 35%); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-top: 60px; padding-bottom: 44px; }
.footer-brand img { width: 290px; max-width: 100%; height: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; max-width: 340px; }
.site-footer h4 { color: #fff; font-family: var(--font-ui); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .contact-lines p { margin: 0 0 6px; font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 22px; font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.to-top { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.to-top svg { width: 16px; height: 16px; }

/* sub-page components */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.brand-logo { height: 54px; width: auto; margin-bottom: 18px; }
.dist-badge { display: flex; width: fit-content; align-items: center; gap: 16px; margin-bottom: 22px; padding-right: 4px; }
.dist-badge img { height: 56px; width: auto; }
.dist-badge span { border-left: 1px solid var(--line); padding-left: 16px; font-family: var(--font-ui); font-weight: 700; font-size: 13px; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.product-shot { background: radial-gradient(circle at 50% 45%, #fff 0%, var(--bg-soft) 70%); border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 28px; aspect-ratio: 4 / 3; }
.product-shot { position: relative; max-height: 520px; }
.product-shot img { position: absolute; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; mix-blend-mode: multiply; }   /* the photo always fits the 4:3 frame */
/* transparent product cutout: no panel, just the product with a soft floor shadow */
.product-cutout { display: grid; place-items: center; padding: 12px 0; }
.product-cutout img { width: auto; height: auto; max-width: 100%; max-height: 430px; filter: drop-shadow(0 22px 26px rgba(11,26,69,.16)); }
.bd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bd { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.bd:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.bd-thumb { position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.4; padding: 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.bd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bd-thumb .zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: .9; }
.bd-thumb .zoom svg { width: 18px; height: 18px; }
.bd-thumb.empty { cursor: default; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--bg-soft); color: var(--muted); font-weight: 600; font-size: 14px; text-align: center; }
.bd-thumb.empty img { width: 56px; height: 56px; opacity: .35; }
.bd-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bd-body h3 { font-family: var(--font-ui); font-size: 16px; font-weight: 700; line-height: 1.3; margin: 0; }
.bd-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.bd-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--navy); background: none; border: 0; padding: 0; cursor: pointer; }
.bd-link svg { width: 16px; height: 16px; color: var(--red); }
.bd-link:hover { color: var(--red); }
.bd-link.quote { color: var(--red); }
.callout { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 20px 24px; }
.callout h3 { font-size: 19px; margin: 0 0 2px; }
.callout-text { flex: 1 1 420px; min-width: 0; }
.chips.sm { margin-top: 10px; }
.chips.sm li { font-size: 13px; padding: 4px 11px; background: var(--bg-soft); }
.callout p { margin: 0; color: var(--muted); }
.fineprint { font-size: 13px; color: var(--muted); margin: 18px 0 0; max-width: 900px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; color: var(--navy); }
.spec-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; margin-top: 8px; }
.spec-title { font-family: var(--font-ui); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 800; margin-bottom: 10px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 14px 0 24px; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; color: var(--navy); }
.steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.note { background: #fff7e6; border: 1px solid #f3d9a4; border-radius: 10px; padding: 14px 16px; color: #6b4a0c; font-size: 15px; margin: 4px 0 20px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair .media-frame img { aspect-ratio: 3 / 4; }

/* search band */
.search-band { background: var(--navy); color: #fff; padding: 34px 0; }
.search-band .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; align-items: center; }
.search-band h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 4px; }
.search-band p { margin: 0; opacity: .8; font-size: 15px; }
.search-band .hero-search { margin: 0; max-width: none; }
@media (max-width: 900px) { .search-band .inner { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- parts catalog ---------- */
.cat-hero { padding-bottom: 64px; }
.hero-search { margin-top: 22px; display: flex; align-items: center; gap: 10px; max-width: 680px; background: #fff; border-radius: 10px; padding: 6px 6px 6px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.hero-search > svg { width: 20px; height: 20px; color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 17px; padding: 10px 4px; color: var(--ink); background: transparent; }
.hero-search .btn { padding: 13px 22px; }
.cat-toolbar { display: grid; gap: 14px; margin-bottom: 18px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button, .seg a { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 16px; font-weight: 700; font-size: 15px; color: var(--navy); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.seg button span { font-weight: 600; font-size: 13px; color: var(--muted); }
.seg button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg button.on span { color: rgba(255,255,255,.75); }
.seg a { color: var(--red); }
.seg a svg { width: 16px; height: 16px; }
.seg button:hover:not(.on), .seg a:hover { border-color: var(--navy); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chips button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 13px; font-weight: 600; font-size: 14px; color: var(--navy); cursor: pointer; }
.cat-chips button span { color: var(--muted); font-size: 12px; margin-left: 2px; }
.cat-chips button.on { background: #fff1f2; border-color: var(--red); color: var(--red); }
.cat-chips button.on span { color: var(--red); }
.cat-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 4px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--navy); cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .track { width: 38px; height: 22px; border-radius: 999px; background: #d7dbe5; position: relative; transition: background .2s; }
.toggle .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked + .track { background: var(--red); }
.toggle input:checked + .track::after { transform: translateX(16px); }
.toggle input:focus-visible + .track { outline: 2px solid var(--navy); outline-offset: 2px; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--navy); }
.sort select { border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #fff; font-size: 14px; }
.view-toggle { margin-left: auto; display: inline-flex; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.view-toggle button { width: 40px; height: 36px; display: grid; place-items: center; border: 0; background: #fff; color: var(--muted); cursor: pointer; }
.view-toggle button svg { width: 18px; height: 18px; }
.view-toggle button.on { background: var(--navy); color: #fff; }
.results-bar { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prow { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 10px 10px; transition: border-color .15s, box-shadow .15s; }
.prow:hover { border-color: #cdd3df; box-shadow: var(--shadow); }
.prow-main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.pthumb { flex: none; width: 64px; height: 64px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.pthumb img { width: 100%; height: 100%; object-fit: contain; }
.pthumb.none { background: var(--bg-soft); }
.pthumb.none img { width: 28px; height: 28px; opacity: .35; }
.ptext { display: grid; gap: 2px; min-width: 0; }
.ppn { font-family: var(--font-ui); font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--red); }
.ptitle { font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.3; }
.prow-main:hover .ptitle { color: var(--red); }
.pdesc { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pchip { font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 8px; background: var(--bg-soft); color: var(--navy); }
.pchip.gema { background: #e10222; color: #fff; }
.pchip.nordson { background: #1d5bc4; color: #fff; }
.pchip.filter { background: var(--navy); color: #fff; }
.pchip.wagner { background: #ffcb00; color: #1c1c1c; }
.pchip.line-powder { background: #f1ecff; color: #4b2a9b; }
.pchip.line-liquid { background: #e3f6f4; color: #0e6a60; }
/* powder / liquid split */
.line-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 18px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.line-tabs button { display: grid; gap: 2px; text-align: left; padding: 14px 20px; border: 0; background: #fff; cursor: pointer; color: var(--navy); position: relative; transition: background .15s; }
.line-tabs button + button { border-left: 1.5px solid var(--line); }
.line-tabs strong { font-family: var(--font-head); font-size: 17px; font-weight: 800; }
.line-tabs span { font-size: 13px; font-weight: 600; color: var(--muted); }
.line-tabs button:hover:not(.on) { background: var(--bg-soft); }
.line-tabs button.on { background: var(--navy); color: #fff; }
.line-tabs button.on span { color: rgba(255,255,255,.75); }
.line-tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); }
.seg button[hidden], .cat-chips button[hidden] { display: none; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.other-line { border: 0; background: #fff1f2; color: var(--red); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.other-line[hidden] { display: none; }
/* catalog search sits with the filters */
.hero-search.cat-search { max-width: none; margin: 0 0 14px; box-shadow: none; border: 1.5px solid var(--line); }
.hero-search.cat-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,26,69,.08); }
/* Wagner brand page */
.bd-thumb.wide { aspect-ratio: 4 / 3; }
.bd-thumb.doc { aspect-ratio: 4 / 3; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 0 18px 16px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); color: var(--navy); text-align: left; }
.bd-thumb.doc .doc-top { display: block; margin: 0 -18px 12px; padding: 12px 18px; background: #ffcb00; }
.bd-thumb.doc .doc-top img { width: auto; height: 24px; display: block; }
.bd-thumb.doc .doc-kind { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bd-thumb.doc strong { font-family: var(--font-head); font-size: 18px; font-weight: 800; line-height: 1.2; }
.bd-thumb.doc .doc-pdf { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--red); }
.bd-thumb.doc .doc-pdf svg { width: 16px; height: 16px; }
.bd-thumb.doc:hover strong { color: var(--red); }
.bd-tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.bd-sub { margin: -4px 0 0; font-size: 14px; color: var(--muted); }
.model-row { margin-top: 26px; }
.model-row h3 { font-size: 17px; margin: 0 0 10px; }
.model-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.model-chips a { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; color: var(--navy); }
.model-chips a span { font-size: 12px; font-weight: 600; color: var(--muted); }
.model-chips a:hover { border-color: var(--navy); }
.prow-act { flex: none; display: flex; align-items: center; gap: 8px; }
.atq-btn, .req-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; padding: 9px 14px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.prow .atq-btn { border: 1.5px solid var(--line); background: #fff; color: var(--navy); }
.prow .atq-btn:hover { border-color: var(--navy); }
.atq-btn.added { border-color: #1f8a4c !important; color: #1f8a4c !important; background: #eaf7ef !important; }
.req-btn { border: 1.5px solid var(--red); background: var(--red); color: #fff; }
.req-btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.plist.grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.plist.grid .prow { flex-direction: column; align-items: stretch; padding: 12px; gap: 12px; }
.plist.grid .prow-main { flex-direction: column; align-items: stretch; gap: 10px; }
.plist.grid .pthumb { width: 100%; height: auto; aspect-ratio: 1; }
.plist.grid .pthumb.none img { width: 48px; height: 48px; }
.plist.grid .pdesc { white-space: normal; }
.plist.grid .prow-act { justify-content: stretch; }
.plist.grid .prow-act > * { flex: 1; justify-content: center; padding: 9px 8px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.pager button { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--navy); cursor: pointer; }
.pager button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }
.pager .gap { align-self: center; color: var(--muted); padding: 0 4px; }
.empty-state { text-align: center; padding: 48px 16px; border: 1px dashed #cdd3df; border-radius: 14px; background: var(--bg-soft); }
.empty-state h3 { font-size: 20px; }
.empty-state p { color: var(--muted); }

/* ---------- part page ---------- */
.part-hero { background: #0c2a52 url("../images/hero-slash-wide.svg?v=3") left top / cover no-repeat; color: #fff; padding: 34px 0 30px; }
.part-hero .crumbs { font-family: var(--font-ui); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 8px; }
.part-hero .crumbs a:hover { text-decoration: underline; }
.part-hero h1 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 0; text-wrap: balance; }
.part-hero .h1-pn { font-weight: 300; opacity: .9; }
.part-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: start; }
.part-photo { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: zoom-in; }
.part-photo img { width: 100%; height: 100%; object-fit: contain; }
.part-photo .zoom { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 9px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.part-photo .zoom svg { width: 20px; height: 20px; }
.part-photo.none { cursor: default; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--bg-soft); text-align: center; color: var(--muted); }
.part-photo.none img { width: 72px; height: 72px; opacity: .3; margin-bottom: 8px; }
.part-photo.none strong { color: var(--navy); font-size: 17px; }
.part-pn { font-family: var(--font-ui); font-weight: 800; font-size: 15px; letter-spacing: .06em; color: var(--red); margin: 14px 0 2px; }
.part-title { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 12px; }
.part-lead { color: var(--muted); font-size: 16px; }
.part-info .btn-row { margin: 18px 0 22px; }
.part-info .atq-btn svg { width: 18px; height: 18px; }
.specs { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 11px 16px; font-size: 15px; }
.specs div:nth-child(odd) { background: var(--bg-soft); }
.specs dt { font-weight: 700; color: var(--navy); }
.specs dd { margin: 0; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.call-line { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.call-line svg { color: var(--red); width: 18px; height: 18px; }
.call-line a { color: var(--navy); font-weight: 700; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--red); font-weight: 400; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 16px 16px; color: var(--muted); font-size: 15px; }
.order-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 24px; }
.order-card h3 { font-size: 20px; }
.order-card p { color: var(--muted); font-size: 15px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rel { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-width: 0; transition: border-color .15s, box-shadow .15s; }
.rel:hover { border-color: #cdd3df; box-shadow: var(--shadow); }
.rel > span:last-child { display: grid; min-width: 0; }
.rthumb { flex: none; width: 52px; height: 52px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; }
.rthumb img { width: 100%; height: 100%; object-fit: contain; }
.rthumb.none { background: var(--bg-soft); }
.rthumb.none img { width: 24px; height: 24px; opacity: .35; }
.rtitle { font-weight: 600; font-size: 14px; color: var(--navy); line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--red); }
.more-link svg { width: 16px; height: 16px; transition: transform .2s; }
.more-link:hover svg { transform: translateX(3px); }
.glinks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.glinks a { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-weight: 600; font-size: 14px; color: var(--navy); }
.glinks a:hover { border-color: var(--red); color: var(--red); }
.glinks svg { width: 18px; height: 18px; color: var(--red); }
.gsection + .gsection { margin-top: 44px; }
.gcards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.gcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.gthumb { aspect-ratio: 3 / 3.4; background: #fff; border-bottom: 1px solid var(--line); padding: 10px; }
.gthumb img { width: 100%; height: 100%; object-fit: contain; object-position: top; }
.gbody { display: grid; gap: 4px; padding: 12px 14px 14px; }
.gtag { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gbody strong { color: var(--navy); font-size: 15px; line-height: 1.3; }
.gopen { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--red); margin-top: 4px; }
.gopen svg { width: 14px; height: 14px; }

/* ---------- quote list ---------- */
.quote-fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 12px 14px 12px 20px; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: var(--shadow-lg); }
.quote-fab b { min-width: 26px; height: 26px; border-radius: 999px; background: var(--red); display: grid; place-items: center; font-size: 13px; padding: 0 6px; }
.quote-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(400px, 100%); background: #fff; box-shadow: -20px 0 60px rgba(7,18,51,.25); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .2s ease; padding-top: env(safe-area-inset-top, 0px); }
.quote-drawer.open { transform: none; }
.quote-fab[hidden], .quote-drawer[hidden] { display: none; }
.qd-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.qd-head h2 { font-size: 20px; margin: 0; }
.qd-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; color: var(--navy); }
.qd-list { list-style: none; margin: 0; padding: 8px 12px; overflow-y: auto; flex: 1; }
.qd-list li { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 6px; }
.qd-list a { flex: 1; min-width: 0; display: grid; }
.qd-list strong { color: var(--red); font-size: 13px; letter-spacing: .04em; }
.qd-list span { color: var(--navy); font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qd-rm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--bg-soft); cursor: pointer; font-size: 18px; color: var(--muted); }
.qd-rm:hover { color: var(--red); }
.qd-qty { flex: none; display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.qd-qty button { width: 30px; height: 100%; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--navy); cursor: pointer; }
.qd-qty button:hover:not(:disabled) { background: var(--bg-soft); }
.qd-qty button:disabled { color: #c3c8d4; cursor: default; }
.qd-qty input { width: 40px; height: 100%; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: 700 15px var(--font-ui); color: var(--navy); padding: 0; -moz-appearance: textfield; appearance: textfield; }
.qd-qty input::-webkit-outer-spin-button, .qd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qd-qty input:focus { outline: 2px solid var(--red); outline-offset: -2px; }
.qd-empty { padding: 24px 20px; color: var(--muted); flex: 1; }
.qd-foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.qd-foot .btn { width: 100%; }
.qd-clear { border: 0; background: none; color: var(--muted); font-weight: 600; cursor: pointer; text-decoration: underline; }
.qd-head h2 { flex: 1; }
.qd-back { width: 38px; height: 38px; margin-right: 10px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; color: var(--navy); }
.qd-back:hover, .qd-close:hover { background: var(--bg-soft); }
.qd-form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.qd-body { flex: 1; overflow-y: auto; padding: 16px 20px 20px; overscroll-behavior: contain; }
.qd-sum { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
.qd-sum-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 14px; color: var(--navy); }
.qd-edit { border: 0; background: none; color: var(--red); font-weight: 700; font-size: 14px; cursor: pointer; padding: 2px 0; }
.qd-sum ul { list-style: none; margin: 0; padding: 0; max-height: 132px; overflow-y: auto; }
.qd-sum li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; padding: 5px 0; border-top: 1px solid var(--line); font-size: 13px; }
.qd-sum li:first-child { border-top: 0; }
.qd-sum .pn { color: var(--red); font-weight: 700; letter-spacing: .03em; }
.qd-sum .t { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qd-sum .q { color: var(--navy); font-weight: 700; }
.qd-grid { gap: 12px 12px; }
.qd-grid .field label { font-size: 13px; margin-bottom: 4px; }
.qd-grid .field textarea { min-height: 84px; }
.qd-note { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.qd-note a { color: var(--navy); font-weight: 700; }
.qd-sent { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 28px; }
.qd-tick { width: 64px; height: 64px; border-radius: 50%; background: #eaf7ef; color: #1b7a43; display: grid; place-items: center; font-size: 30px; font-weight: 800; margin-bottom: 16px; }
.qd-sent h3 { font-size: 24px; margin-bottom: 8px; }
.qd-sent p { color: var(--muted); max-width: 300px; margin-bottom: 22px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  /* header switches to compact + hamburger */
  .site-header { height: 74px; }
  .header-inner { padding: 0 20px; }
  .brand img { width: 176px; }
  .main-nav, .nav-divider, .header-cta { display: none; }
  .menu-toggle {
    display: inline-grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 8px;
    border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--navy);
  }
  .menu-toggle svg { width: 24px; height: 24px; }
  .mobile-nav {
    display: block; position: fixed; inset: 74px 0 0 0; background: #fff; z-index: 49; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; padding: 12px 20px 40px; visibility: hidden;
  }
  .mobile-nav.open { transform: none; visibility: visible; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
  .mobile-nav a, .mobile-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-weight: 700; font-size: 18px; color: var(--navy); cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav details[open] summary svg { transform: rotate(180deg); }
  .mobile-nav summary svg { width: 18px; height: 18px; transition: transform .2s; }
  .mobile-nav details ul { padding: 0 0 12px 12px; }
  .mobile-nav details a { font-size: 16px; font-weight: 600; padding: 10px 4px; color: var(--muted); }
  .mobile-nav .btn { width: 100%; margin-top: 22px; color: #fff; justify-content: center; font-size: 17px; }
  .mobile-nav .call { display: block; text-align: center; margin-top: 14px; font-weight: 700; color: var(--navy); }

  .split, .split.wide-left { grid-template-columns: 1fr; gap: 48px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .guides { grid-template-columns: repeat(3, 1fr); }
  .bd-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid > .cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cat { flex-direction: row; align-items: center; gap: 18px; min-height: 0; padding: 20px 22px; }
  .cat .ico { margin: 0; }
  .cat .cat-txt { flex: 1; min-width: 0; }
  .cat p { margin: 0; }
  .cat .cat-go { margin: 0; }
  .gcards { grid-template-columns: repeat(4, 1fr); }
  .rel-grid { grid-template-columns: repeat(3, 1fr); }
  .part-grid { gap: 32px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .video-band .inner { grid-template-columns: 1fr; }
  .video-band .badge { width: 360px; top: auto; bottom: 0; transform: translate(38%, 30%); }
  .video-band .badge img { opacity: .12; }
}

@media (max-width: 900px) {
  /* Home hero: stacked, same art direction */
  .hero { height: auto; min-height: 0; background-position: 72% center; }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(9,30,70,.25) 0%, rgba(9,30,70,.55) 40%, rgba(7,18,51,.9) 100%),
                linear-gradient(120deg, rgba(250,1,35,.85) 0%, rgba(160,4,34,.6) 22%, rgba(9,40,82,.2) 60%);
  }
  .hero-inner { position: relative; padding: 64px 20px 44px; }
  .hero h1, .hero .lede, .hero-actions, .hero-feats { position: relative; left: auto; top: auto; }
  .hero h1 .l1 { font-size: clamp(34px, 8.6vw, 56px); line-height: 1.04; }
  .hero h1 .l2 { font-size: clamp(27px, 7vw, 48px); line-height: 1.12; margin-top: 4px; }
  .hero .lede { font-size: 18px; line-height: 1.5; margin-top: 18px; max-width: 560px; }
  .hero .lede br { display: none; }
  .hero-actions { margin-top: 28px; flex-wrap: wrap; gap: 12px; }
  .hero-actions .btn { height: 56px; font-size: 18px; gap: 10px; border-radius: 6px; flex: 1 1 220px; width: auto !important; }
  .hero-actions .btn svg { width: 22px; height: 22px; }
  .hero-feats { margin-top: 34px; flex-wrap: wrap; row-gap: 14px; }
  .hero-feats li { font-size: 16px; gap: 10px; }
  .hero-feats li + li { margin-left: 16px; padding-left: 16px; height: 30px; border-left-width: 1px; }
  .hero-feats svg, .hero-feats li:nth-child(2) svg { width: 28px; height: 28px; }

  .section { padding: 56px 0; }
  .section.tight { padding: 48px 0; }
  .grid-3, .bd-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: 1fr; }
  .part-grid { grid-template-columns: 1fr; }
  .part-photo { max-width: 460px; }
  .rel-grid, .glinks { grid-template-columns: repeat(2, 1fr); }
  .gcards { grid-template-columns: repeat(3, 1fr); }
  .prow { flex-wrap: wrap; }
  .prow-act { width: 100%; padding-left: 78px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .mission-grid, .equip { grid-template-columns: 1fr; }
  .media-badge { left: 14px; bottom: 14px; }
  .media-accent::before { right: -12px; bottom: -12px; }
  .page-hero { padding: 56px 0 50px; }
  .split, .split.wide-left { gap: 32px; }
  .section > .wrap + .wrap { margin-top: 32px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .brand img { width: 150px; }
  .hero-inner { padding: 52px 16px 40px; }
  .hero-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .hero-feats li + li { margin-left: 0; padding-left: 0; border-left: 0; height: auto; }
  .section { padding: 48px 0; }
  .section.tight { padding: 40px 0; }
  .grid-3, .grid-2, .svc-grid { grid-template-columns: 1fr; }
  .bd-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .product-cutout img { max-height: 300px; }
  .pcard { min-height: 360px; }
  .pcard-body { padding: 22px 20px 20px; }
  .pcard h3 { font-size: 21px; }
  .line-tabs button { padding: 12px 14px; }
  .line-tabs strong { font-size: 15px; }
  .bd-thumb.doc { padding: 0 12px 12px; }
  .bd-thumb.doc .doc-top { margin: 0 -12px 10px; padding: 10px 12px; }
  .bd-thumb.doc strong { font-size: 15px; }
  .cat-grid > .cat:last-child:nth-child(odd) { grid-column: auto; }
  .cat { padding: 14px 16px; gap: 14px; }
  .cat .ico, .cat .ico img, .cat .ico svg { width: 36px; height: 36px; }
  .cat p { font-size: 13.5px; }
  .cat .cat-go { width: 30px; height: 30px; }
  .rel-grid, .glinks { grid-template-columns: 1fr; }
  .gcards { grid-template-columns: repeat(2, 1fr); }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .prow-act { padding-left: 0; }
  .prow-act > * { flex: 1; justify-content: center; }
  .pthumb { width: 56px; height: 56px; }
  .view-toggle { margin-left: 0; }
  .seg, .cat-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
  .seg::-webkit-scrollbar, .cat-chips::-webkit-scrollbar { display: none; }
  .seg > *, .cat-chips > * { flex: none; white-space: nowrap; }
  .cat-opts { gap: 10px 14px; }
  .hero-search { padding-left: 12px; }
  .hero-search .btn { padding: 12px 14px; }
  .plist.grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .plist.grid .prow-act { flex-direction: column; }
  .cat h3 { font-size: 16px; margin: 0 0 2px; }
  .bd-body { padding: 12px; }
  .bd-body h3 { font-size: 14px; }
  .bd-link { font-size: 13px; }
  .callout { padding: 18px; }
  .form-card { padding: 22px 18px; }
  .lead { font-size: 17px; }
  .guides { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.qd-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; padding-bottom: 40px; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
  .page-hero .actions .btn { flex: 1 1 100%; }
  .brand-list span { font-size: 21px; }
  .brand-list { flex-basis: 100%; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: center; gap: 18px 12px; width: 100%; }
  .brand-list img.ultra { height: 24px; }
  .brand-list > :nth-child(3n+2) { justify-self: center; }
  .brand-list > :nth-child(3n) { justify-self: end; }
  .brand-list img.wagner { height: 26px; }
  .brand-list img.weg { height: 25px; }
  .brand-list img.ami { height: 30px; }
  .map { aspect-ratio: 4 / 3; }
  .stat { padding: 24px; }
  .stat strong { font-size: 40px; }
}

/* ---------- filter list (filters page) ---------- */
.flt-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 22px; }
.flt-search { flex: 1 1 420px; max-width: 600px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid #d7dbe5; border-radius: 10px; padding: 3px 14px; transition: border-color .15s, box-shadow .15s; cursor: text; }
.flt-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,26,69,.08); }
.flt-search > svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.flt-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; padding: 11px 0; color: var(--ink); }
.flt-tools .btn svg { width: 18px; height: 18px; }
.flt-panels { display: grid; gap: 24px; }
.flt-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.flt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 18px; flex-wrap: wrap; padding: 20px 24px 18px; }
.flt-head h3 { font-size: 22px; margin: 0; }
.flt-head p { margin: 0; color: var(--red); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.flt-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.flt-table thead th { background: var(--navy); color: #fff; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 11px 24px; }
.flt-table td { padding: 10px 24px; border-top: 1px solid var(--line); vertical-align: middle; color: var(--ink); }
.flt-table th.act, .flt-table td.act { text-align: right; width: 1%; white-space: nowrap; }
.flt-table td.pn { width: 200px; font-weight: 800; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.flt-table tr.flt-group th { background: #fdf0f2; color: var(--red); text-align: left; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 10px 24px; border-top: 1px solid #f6d7dc; }
.flt-table tbody tr[data-s]:hover td { background: #f8f9fc; }
.flt-table .atq-btn { border: 1.5px solid var(--line); background: #fff; color: var(--navy); padding: 7px 12px; font-size: 13.5px; }
.flt-table .atq-btn:hover { border-color: var(--navy); }
.flt-xref { display: inline-block; margin-left: 8px; font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; white-space: nowrap; vertical-align: 1px; }
.flt-table [hidden], .flt-panel[hidden] { display: none !important; }
.flt-empty { background: #fff; border: 1px dashed #c9cfdb; border-radius: 14px; padding: 26px 24px; text-align: center; color: var(--muted); font-size: 16px; }
.flt-empty[hidden] { display: none; }
.flt-empty strong { color: var(--navy); }
.flt-empty a { color: var(--red); font-weight: 700; }
@media (max-width: 700px) {
  .flt-tools .btn { width: 100%; justify-content: center; }
  .flt-head { padding: 16px 16px 14px; }
  .flt-head h3 { font-size: 20px; }
  .flt-table, .flt-table tbody, .flt-table tr, .flt-table td, .flt-table th { display: block; }
  .flt-table thead { display: none; }
  .flt-table tr.flt-group th { padding: 9px 16px; }
  .flt-table tr[data-s] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
  .flt-table tr[data-s] td { padding: 0; border: 0; width: auto; }
  .flt-table td.pn { grid-column: 1; grid-row: 1; }
  .flt-table td.act { grid-column: 2; grid-row: 1 / span 2; }
  .flt-table td.desc { grid-column: 1; grid-row: 2; font-size: 14.5px; color: var(--muted); }
  .flt-xref { margin: 4px 0 0; }
}
@media (min-width: 901px) { #custom-filter .split > div.reveal { position: sticky; top: 120px; } }
.flt-table td.pn a { color: inherit; text-decoration: none; border-bottom: 1.5px solid transparent; transition: color .15s, border-color .15s; }
.flt-table td.pn a:hover { color: var(--red); border-bottom-color: currentColor; }

/* ---------- custom finishing systems (Amiberica) ---------- */
.cfs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.cfs-card .thumb { aspect-ratio: 16 / 10; }
.cfs-card .body { padding: 24px 26px 26px; }
.cfs-kicker { font-family: var(--font-ui); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.cfs-card h3 { font-size: 24px; }
.cfs-list { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 8px; }
.cfs-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink); font-weight: 500; }
.cfs-list svg { width: 18px; height: 18px; color: var(--red-bright); flex: none; margin-top: 2px; }
.cfs-line { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.cfs-line h3 { font-size: 22px; margin-bottom: 4px; }
.cfs-line .steps { margin-bottom: 18px; }
.cfs-line .steps li { flex-wrap: wrap; row-gap: 2px; }
.cfs-line .steps li span { flex-basis: 100%; padding-left: 44px; font-size: 14px; color: var(--muted); }
.cfs-contact { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.cfs-contact-head img { height: 64px; width: auto; margin-bottom: 12px; }
.cfs-contact-head p { margin: 0; color: var(--muted); }
.cfs-info { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cfs-info .info { padding: 16px 18px; gap: 12px; }
.cfs-info .info .i { width: 40px; height: 40px; }
.cfs-info .info p { font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .cfs-contact { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .cfs-grid { grid-template-columns: 1fr; } .cfs-info { grid-template-columns: 1fr; } }
.dist-badge img.ami-logo { height: 72px; }
@media (max-width: 640px) { .dist-badge img.ami-logo { height: 56px; } }
/* installation gallery (custom finishing systems) */
.cfs-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cfs-gallery:not(.all) .g-item:nth-child(n+13) { display: none; }
.g-item { position: relative; display: block; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #e9ecf2; cursor: zoom-in; aspect-ratio: 4 / 3; box-shadow: 0 4px 14px rgba(11,26,69,.08); }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }
.g-item:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.g-item .zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 8px; background: rgba(11,26,69,.85); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.g-item:hover .zoom, .g-item:focus-visible .zoom { opacity: 1; transform: none; }
.g-item .zoom svg { width: 18px; height: 18px; }
.g-more { display: flex; justify-content: center; margin-top: 26px; }
.lightbox .lb-nav { display: none; top: 50%; right: auto; transform: translateY(-50%); width: 52px; height: 52px; font-size: 34px; line-height: 1; background: rgba(255,255,255,.92); }
.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { left: auto; right: 16px; }
.lightbox.has-nav .lb-nav { display: grid; place-items: center; }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-family: var(--font-ui); font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.lightbox.has-nav img { max-width: min(86vw, 1400px); max-height: 84vh; }
@media (max-width: 1100px) { .cfs-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cfs-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cfs-gallery:not(.all) .g-item:nth-child(n+9) { display: none; }
  .lightbox .lb-nav { top: auto; bottom: 12px; transform: none; width: 46px; height: 46px; }
  .lightbox .lb-count { bottom: 26px; }
}
/* wide card (photo beside text) spanning both columns of the systems grid */
.cfs-card.wide { grid-column: 1 / -1; flex-direction: row; }
.cfs-card.wide .thumb { flex: 0 0 46%; aspect-ratio: auto; min-height: 100%; }
.cfs-card.wide .body { padding: 30px 32px; justify-content: center; }
@media (max-width: 900px) { .cfs-card.wide { flex-direction: column; } .cfs-card.wide .thumb { flex: none; aspect-ratio: 16 / 10; min-height: 0; } .cfs-card.wide .body { padding: 24px 26px 26px; } }
.cfs-card.wide .thumb { position: relative; min-height: 340px; }
.cfs-card.wide .thumb img { position: absolute; inset: 0; object-position: 50% 60%; }
@media (max-width: 900px) { .cfs-card.wide .thumb { min-height: 0; aspect-ratio: 4 / 3; } }
.cfs-contact-head h3 { font-size: 20px; margin: 0 0 6px; }
.cfs-info .info p a svg { width: 16px; height: 16px; vertical-align: -3px; }
.cfs-info .info a[href^="tel:"], .cfs-info .info a[href^="request"] { white-space: nowrap; }
/* stats intro: slide up one after another (main.js adds .stats-anim, then .in on each stat) */
.stat strong { font-variant-numeric: tabular-nums; }
.stats-anim .stat { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.stats-anim .stat.in { opacity: 1; transform: none; }
.stats-anim .stat strong { display: inline-block; }
.field[hidden] { display: none; }
/* before/after repair gallery (service page): masonry columns so portrait and square photos sit naturally */
.repair-gallery { columns: 4 230px; column-gap: 18px; }
.r-item { break-inside: avoid; margin: 0 0 18px; }
.r-item .r-thumb { aspect-ratio: auto; width: 100%; }
.r-item .r-thumb img { height: auto; }
.r-item figcaption { margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--navy); }
@media (max-width: 640px) { .repair-gallery { columns: 2 150px; column-gap: 12px; } .r-item { margin-bottom: 14px; } .r-item figcaption { font-size: 13.5px; } }
.guide-pdfs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin-top: 22px; }
.guide-pdfs span { font-weight: 700; color: var(--navy); font-size: 14px; margin-right: 4px; }
.guide-pdfs a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-weight: 700; font-size: 13.5px; color: var(--navy); }
.guide-pdfs a:hover { border-color: var(--navy); }
.guide-pdfs svg { width: 16px; height: 16px; color: var(--red); }
.flt-note { margin-left: 8px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: #9a4552; font-size: 12.5px; }
.flt-nopn { font-weight: 700; color: var(--muted); font-style: italic; }
.flt-table a.atq-btn { border: 1.5px solid var(--line); background: #fff; color: var(--navy); padding: 7px 12px; font-size: 13.5px; }
.pchip.tubing { background: #3d4f7a; color: #fff; }
/* guide cards: the card opens the PDF; Download saves it */
.gcard .gmain { display: flex; flex-direction: column; flex: 1; color: inherit; }
.gacts { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px 14px; flex-wrap: wrap; }
.gacts .gopen { margin-top: 0; }
.gdl { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 12.5px; color: var(--navy); border: 1.5px solid var(--line); border-radius: 7px; padding: 4px 9px; }
.gdl:hover { border-color: var(--navy); }
.gdl svg { width: 14px; height: 14px; color: var(--red); }
/* footer legal line + links */
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }
.footer-legal p { margin: 0; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 1000px; }
.footer-bottom { align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { font-weight: 600; color: rgba(255,255,255,.82); }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }
/* legal pages: sticky contents list beside the text */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 110px; display: grid; gap: 2px; border-left: 3px solid var(--line); padding-left: 16px; }
.legal-toc strong { font-family: var(--font-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.legal-toc a { font-weight: 600; font-size: 14.5px; color: var(--navy); padding: 5px 0; line-height: 1.3; }
.legal-toc a:hover { color: var(--red); }
.legal h2 { scroll-margin-top: 110px; }
.legal h2:first-of-type { margin-top: .6em; }
.legal-updated { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin-bottom: 6px; }
.legal ul:not(.disclosure) { padding-left: 20px; }
.legal ul:not(.disclosure) li { margin-bottom: 8px; }
.legal-contact { background: var(--bg-soft); border-radius: 12px; padding: 18px 22px; margin-top: 28px; }
.legal-contact a { color: var(--red); font-weight: 700; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; gap: 24px; } .legal-toc { position: static; border-left: 0; padding-left: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; } .legal-toc strong { width: 100%; margin-bottom: 0; } }
.nowrap { white-space: nowrap; }
/* stacked layouts (1100px and below): center the product photo frame instead of leaving it hard left */
@media (max-width: 1100px) { .split > .product-shot { width: 100%; max-width: 600px; max-height: none; justify-self: center; } }
/* home logo strip: brands we make parts for | our partners (logos link to their pages) */
.brand-strip .inner { justify-content: space-between; gap: 18px 40px; }
.bs-group { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.bs-group.partners { padding-left: 40px; border-left: 1px solid var(--line); }
.brand-words { flex: none !important; gap: 10px 26px !important; justify-content: flex-start !important; }
.brand-words a, .brand-words span { font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 25px; line-height: 1; color: #9aa3b8; letter-spacing: -.01em; transition: color .2s; }
.brand-words a:hover { color: var(--navy); }
.brand-words sup { font-size: .45em; font-style: normal; font-weight: 700; vertical-align: super; margin-left: 1px; }
.bs-group.partners .brand-list { flex: none; gap: 14px 26px; justify-content: flex-start; }
.brand-list a.logo { display: block; line-height: 0; transition: opacity .2s, transform .2s; }
.brand-list a.logo:hover { opacity: .8; transform: translateY(-1px); }
.brand-list a.logo.ultra img { height: 30px; opacity: .85; }
.brand-list a.logo.wagner img { height: 30px; }
.brand-list a.logo.weg img { height: 28px; }
.brand-list a.logo.ami img { height: 34px; }
@media (max-width: 1200px) { .bs-group.partners { padding-left: 0; border-left: 0; } }
@media (max-width: 640px) {
  .bs-group { width: 100%; gap: 10px 18px; }
  .brand-strip .brand-list.brand-words, .bs-group.partners .brand-list { display: flex; flex-wrap: wrap; width: 100%; gap: 12px 20px; justify-content: flex-start; }
  .brand-words a, .brand-words span { font-size: 21px; }
  .brand-list a.logo.ultra img { height: 24px; } .brand-list a.logo.wagner img { height: 26px; } .brand-list a.logo.weg img { height: 24px; } .brand-list a.logo.ami img { height: 28px; }
}
.brand-strip .bs-group p { font-size: 13px; }
.bs-group { gap: 12px 18px; }
.brand-strip .inner { gap: 16px 32px; }
.bs-group.partners { padding-left: 32px; }
.brand-words { gap: 10px 20px !important; }
.brand-words a, .brand-words span { font-size: 23px; }
.bs-group.partners .brand-list { gap: 12px 22px; }
@media (max-width: 1200px) { .brand-strip .bs-group.partners { padding-left: 0; border-left: 0; } }
/* ---- home logo strip, final layout (overrides the earlier flex rules) ----
   wide: one row  [label | brand words | divider + label | partner logos]
   mid:  two rows, labels in one column so both rows line up
   phone: each label above its row */
.brand-strip .inner { display: grid; grid-template-columns: max-content max-content max-content 1fr; align-items: center; column-gap: 26px; row-gap: 14px; }
.brand-strip .bs-group, .brand-strip .bs-group.partners { display: contents; }
.brand-strip .bs-group p { margin: 0; white-space: nowrap; }
.brand-strip .bs-group.partners p { padding-left: 28px; border-left: 1px solid var(--line); line-height: 34px; }
.brand-strip .brand-list.brand-words, .brand-strip .bs-group.partners .brand-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; flex: none; width: auto; }
.brand-strip .brand-list.brand-words { gap: 10px 22px !important; }
.brand-strip .bs-group.partners .brand-list { gap: 12px 24px; justify-self: end; }
@media (max-width: 1379px) {
  .brand-strip .inner { grid-template-columns: max-content 1fr; column-gap: 28px; row-gap: 16px; }
  .brand-strip .bs-group.partners p { padding-left: 0; border-left: 0; line-height: inherit; }
  .brand-strip .bs-group.partners .brand-list { justify-self: start; }
}
@media (max-width: 700px) {
  .brand-strip .inner { grid-template-columns: 1fr; row-gap: 8px; }
  .brand-strip .bs-group.partners p { margin-top: 12px; }
  .brand-strip .brand-list.brand-words { gap: 8px 20px !important; }
  .brand-strip .brand-words a, .brand-strip .brand-words span { font-size: 21px; }
  .brand-strip .bs-group.partners .brand-list { gap: 14px 22px; }
}
@media (min-width: 1380px) {
  .brand-strip .inner { column-gap: 20px; }
  .brand-strip .bs-group.partners p { padding-left: 22px; }
  .brand-strip .bs-group.partners .brand-list { gap: 12px 20px; flex-wrap: nowrap; }
  .brand-strip .brand-list.brand-words { gap: 10px 20px !important; flex-wrap: nowrap; }
}
@media (max-width: 700px) {
  .brand-strip .bs-group.partners .brand-list { gap: 12px 14px; }
  .brand-strip .brand-list a.logo.ultra img { height: 23px; }
  .brand-strip .brand-list a.logo.wagner img { height: 24px; }
  .brand-strip .brand-list a.logo.weg img { height: 22px; }
  .brand-strip .brand-list a.logo.ami img { height: 26px; }
}
/* logo strip, "long ways": one row from 1080px up (compact sizes 1080-1279), rows spread edge to edge below that */
@media (min-width: 1080px) {
  .brand-strip .inner { grid-template-columns: max-content max-content max-content 1fr; column-gap: 20px; row-gap: 0; }
  .brand-strip .bs-group.partners p { padding-left: 22px; border-left: 1px solid var(--line); line-height: 34px; }
  .brand-strip .bs-group.partners .brand-list { justify-self: end; gap: 12px 20px; flex-wrap: nowrap; }
  .brand-strip .brand-list.brand-words { gap: 10px 20px !important; flex-wrap: nowrap; }
}
@media (min-width: 1080px) and (max-width: 1279px) {
  .brand-strip .inner { column-gap: 14px; }
  .brand-strip .bs-group p { font-size: 11.5px; letter-spacing: .1em; }
  .brand-strip .bs-group.partners p { padding-left: 16px; line-height: 30px; }
  .brand-strip .brand-words a, .brand-strip .brand-words span { font-size: 20px; }
  .brand-strip .brand-list.brand-words { gap: 10px 14px !important; }
  .brand-strip .bs-group.partners .brand-list { gap: 10px 14px; }
  .brand-strip .brand-list a.logo.ultra img { height: 24px; }
  .brand-strip .brand-list a.logo.wagner img { height: 25px; }
  .brand-strip .brand-list a.logo.weg img { height: 23px; }
  .brand-strip .brand-list a.logo.ami img { height: 28px; }
}
@media (min-width: 701px) and (max-width: 1079px) {
  .brand-strip .inner { grid-template-columns: max-content 1fr; column-gap: 32px; row-gap: 18px; }
  .brand-strip .brand-list.brand-words, .brand-strip .bs-group.partners .brand-list { justify-self: stretch; justify-content: space-between; flex-wrap: nowrap; }
}
@media (min-width: 1080px) {
  .brand-strip .inner { grid-template-columns: repeat(4, max-content); justify-content: space-between; }
  .brand-strip .bs-group.partners .brand-list { justify-self: start; }
}
/* ---------- Pastel round 3 ---------- */
/* footer socials: official brand marks in their own colors */
.socials { gap: 14px; align-items: center; }
.socials a { width: 36px; height: 36px; border: 0; border-radius: 0; background: none; display: block; line-height: 0; transition: transform .2s, filter .2s; }
.socials a:hover { background: none; transform: translateY(-2px); filter: brightness(1.08); }
.socials svg { width: 36px; height: 36px; fill: none; }
/* home logo strip: bigger logos and brand names; labels wrap to two short lines on tablet/desktop to make room */
.bs-br { display: none; }
@media (min-width: 701px) {
  .bs-br { display: inline; }
  .brand-strip .bs-group p { line-height: 1.3; }
  .brand-strip .bs-group.partners p { line-height: 1.3; padding-top: 3px; padding-bottom: 3px; }
  .brand-strip .brand-words a, .brand-strip .brand-words span { font-size: 26px; }
  .brand-strip .brand-list a.logo.ultra img { height: 36px; opacity: 1; }
  .brand-strip .brand-list a.logo.wagner img { height: 34px; }
  .brand-strip .brand-list a.logo.weg img { height: 32px; }
  .brand-strip .brand-list a.logo.ami img { height: 44px; }
}
@media (min-width: 1080px) and (max-width: 1279px) {
  .brand-strip .bs-group p { font-size: 12px; letter-spacing: .1em; }
  .brand-strip .brand-words a, .brand-strip .brand-words span { font-size: 23px; }
  .brand-strip .brand-list.brand-words { gap: 10px 16px !important; }
  .brand-strip .bs-group.partners .brand-list { gap: 10px 16px; }
  .brand-strip .brand-list a.logo.ultra img { height: 31px; }
  .brand-strip .brand-list a.logo.wagner img { height: 30px; }
  .brand-strip .brand-list a.logo.weg img { height: 28px; }
  .brand-strip .brand-list a.logo.ami img { height: 39px; }
}
@media (min-width: 1280px) {
  .brand-strip .bs-group p { font-size: 13px; }
  .brand-strip .brand-words a, .brand-strip .brand-words span { font-size: 27px; }
  .brand-strip .brand-list.brand-words { gap: 10px 22px !important; }
  .brand-strip .bs-group.partners .brand-list { gap: 12px 24px; }
  .brand-strip .brand-list a.logo.ultra img { height: 39px; }
  .brand-strip .brand-list a.logo.wagner img { height: 37px; }
  .brand-strip .brand-list a.logo.weg img { height: 35px; }
  .brand-strip .brand-list a.logo.ami img { height: 48px; }
}
@media (max-width: 700px) {
  .brand-strip .brand-words a, .brand-strip .brand-words span { font-size: 23px; }
  .brand-strip .bs-group.partners .brand-list { display: grid; grid-template-columns: repeat(2, max-content); align-items: center; gap: 14px 28px; }
  .brand-strip .brand-list a.logo.ultra img { height: 30px; }
  .brand-strip .brand-list a.logo.wagner img { height: 30px; }
  .brand-strip .brand-list a.logo.weg img { height: 28px; }
  .brand-strip .brand-list a.logo.ami img { height: 38px; }
}
/* home "What we do" service card: the before & after repair photo */
.pcard > img.pcard-ba { object-position: 50% 0; }
/* guides page: collapsible brand sections (open by default) */
.gtools { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 30px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.gjump { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.gjump span { font-family: var(--font-ui); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.gjump a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--navy); transition: border-color .2s, color .2s; }
.gjump a:hover { border-color: var(--red); color: var(--red); }
.gtoggle-all { border: 0; background: none; font: 700 14px var(--font-ui); color: var(--red); cursor: pointer; padding: 6px 2px; }
.gtoggle-all:hover { text-decoration: underline; }
details.gsection { border-top: 1px solid var(--line); scroll-margin-top: 110px; }
details.gsection:first-of-type { border-top: 0; }
details.gsection + details.gsection { margin-top: 0; }
.gsum { list-style: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 26px 0 22px; cursor: pointer; }
.gsum::-webkit-details-marker { display: none; }
.gsum::marker { content: ""; }
.gsum .eyebrow { margin-bottom: 8px; }
.gsum .h2 { margin: 0; }
.gsum-text { display: flex; flex-direction: column; align-items: flex-start; }
.gsum-meta { display: flex; align-items: center; gap: 12px; flex: none; padding-bottom: 6px; }
.gcount { font-size: 14px; font-weight: 700; color: var(--muted); }
.gchev { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.gchev::before { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(2px) rotate(-135deg); transition: transform .25s; }
details.gsection:not([open]) .gchev::before { transform: translateY(-2px) rotate(45deg); }
.gsum:hover .gchev { border-color: var(--red); }
.gsum:hover .h2 { color: var(--red); }
.gsum:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 6px; }
details.gsection > .gcards { padding-bottom: 36px; }
@media (max-width: 640px) { .gsum { padding: 20px 0 16px; } .gcount { display: none; } .gtools { padding: 12px 14px; } }
/* quote list: hose/tubing quoted by the foot */
.qd-min { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--red); margin-top: 2px; }
.qd-qty.ft input { width: 46px; border-right: 0; }
.qd-unit { height: 100%; display: grid; place-items: center; padding: 0 6px 0 0; font: 700 13px var(--font-ui); color: var(--muted); border-right: 1px solid var(--line); }
@media (max-width: 700px) {
  .brand-strip .bs-group.partners .brand-list { justify-content: start; justify-items: start; }
}
@media (max-width: 700px) { .brand-strip .brand-words a, .brand-strip .brand-words span { font-size: 21px; } }
@media (max-width: 700px) { .brand-strip .bs-group.partners .brand-list > * { justify-self: start; } }
.qd-list .qd-qty .qd-unit { display: flex; align-items: center; height: 100%; margin: 0; padding: 0 7px 0 1px; font: 700 13px/1 var(--font-ui); color: var(--muted); border-right: 1px solid var(--line); }
/* ---------- Pastel round 4 ---------- */
/* home logo strip: "and more!" replaced SAMES (no Sames page) and is wider, so tighten it where it would overflow or wrap */
@media (min-width: 1080px) and (max-width: 1279px) {
  .brand-strip .brand-words a, .brand-strip .brand-words span { font-size: 22px; }
}
@media (min-width: 1280px) {
  .brand-strip .inner { column-gap: 18px; }
  .brand-strip .brand-words a, .brand-strip .brand-words span { font-size: 26px; }
  .brand-strip .brand-list.brand-words { gap: 10px 16px !important; }
  .brand-strip .bs-group.partners .brand-list { gap: 12px 18px; }
}
@media (max-width: 400px) {
  .brand-strip .brand-words a, .brand-strip .brand-words span { font-size: 20px; }
  .brand-strip .brand-list.brand-words { gap: 8px 14px !important; }
}
/* forms aren't connected yet: the submit message is an amber notice with a pre-filled "Email This Request" button */
.form-success.offline { background: #fff7e8; color: #5c3b00; border: 1px solid #f0d29a; font-weight: 500; line-height: 1.55; }
.form-success.offline strong { display: block; margin-bottom: 4px; font-weight: 700; color: #4a2f00; }
.form-success.offline a:not(.btn) { color: inherit; font-weight: 700; text-decoration: underline; }
.form-success.offline .form-offline-btn { display: flex; width: fit-content; margin-top: 14px; }
.qd-offline { text-align: left; }
.qd-offline .form-success.offline { margin: 0 0 12px; }
/* spam trap on the forms: off-screen, never seen or focused by people */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* parts directory: plain lists of every part by brand and category */
.dir-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.dir-brand { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.dir-brand h2 { font-size: 19px; margin: 0 0 12px; color: var(--navy); }
.dir-brand h2 span { font: 600 13px var(--font-ui); color: var(--muted); margin-left: 6px; }
.dir-brand ul { list-style: none; margin: 0; padding: 0; }
.dir-brand li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.dir-brand li > a { font-weight: 600; color: var(--ink); }
.dir-brand li > a:hover { color: var(--red); }
.dir-count { margin-left: auto; font-size: 13px; color: var(--muted); }
.dir-pages { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.dir-pages a { display: inline-block; min-width: 26px; padding: 1px 7px; margin-right: 4px; border: 1px solid var(--line); border-radius: 999px; text-align: center; color: var(--navy); }
.dir-list { list-style: none; margin: 18px 0; padding: 0; columns: 2 360px; column-gap: 36px; }
.dir-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.dir-list a { color: var(--ink); }
.dir-list a:hover { color: var(--red); }
.dir-list .ppn { font-weight: 700; color: var(--navy); margin-right: 6px; }
.dir-pager { display: flex; flex-wrap: wrap; gap: 6px; }
.dir-pager a, .dir-pager span { min-width: 34px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; text-align: center; font: 600 14px var(--font-ui); color: var(--navy); background: #fff; }
.dir-pager .cur { background: var(--navy); border-color: var(--navy); color: #fff; }
.dir-back { margin-top: 22px; font-weight: 600; }
/* WebP <picture> wrappers (added by the build) don't create a box; rules that targeted a direct child img cover them too */
picture { display: contents; }
.pcard > picture > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pcard:hover > picture > img { transform: scale(1.06); }
.pcard > picture > img.pcard-ba { object-position: 50% 0; }
.video-band > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* home hero photo: WebP, with a lighter version on phones */
.hero { background-image: image-set(url("../images/hero.webp") type("image/webp"), url("../images/hero.jpg") type("image/jpeg")); }
@media (max-width: 800px) { .hero { background-image: image-set(url("../images/hero-800w.webp") type("image/webp"), url("../images/hero.jpg") type("image/jpeg")); } }
/* part pages: links in the specs list (e.g. "Parts guide") read as links */
.specs dd a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.specs dd a:hover { color: var(--red); }

/* ---- Service cards: description on hover / focus (Pastel #39-#46, 2026-11-09) ---- */
.svc { position: relative; cursor: default; }
.svc:focus { outline: none; }
.svc:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.svc-cue { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--red); }
.svc-more {
  position: absolute; top: -1px; left: -1px; right: -1px; min-height: calc(100% + 2px); z-index: 2;
  background: var(--navy); color: #fff; border-radius: 12px; padding: 20px 18px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .22s, transform .22s;
}
.svc-more h4 { font-size: 16px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; color: #fff; }
.svc-more p { font-size: 14.5px; line-height: 1.55; margin: 0; color: rgba(255, 255, 255, .9); }
.svc:hover, .svc:focus-within, .svc:focus { z-index: 3; }
.svc:hover .svc-more, .svc:focus .svc-more, .svc:focus-within .svc-more { opacity: 1; transform: none; pointer-events: auto; }
.svc-hint { margin-top: 8px; }
@media (hover: none) {
  /* touch screens: no hover, so the description sits under the title */
  .svc-cue { display: none; }
  .svc-more { position: static; opacity: 1; transform: none; background: none; color: inherit; box-shadow: none; padding: 0; min-height: 0; pointer-events: auto; }
  .svc-more h4 { display: none; }
  .svc-more p { color: var(--muted); }
  .svc:hover, .svc:focus { transform: none; box-shadow: none; }
  .svc-hint { display: none; }
}

/* ---- Custom Extensions page (Pastel #47, 2026-11-09) ---- */
.ext-shot { justify-self: center; width: 100%; max-width: 420px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--bg-soft); }
.ext-shot img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.ext-gallery { columns: 3 140px; margin-top: 14px; }
@media (max-width: 640px) { .ext-gallery { columns: 3 90px; column-gap: 10px; } }

/* Powder and Liquid Distribution: WEG product photos (white-background product shots, so they sit in white tiles) */
.weg-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-self: center; }
.weg-photos figure { margin: 0; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: grid; place-items: center; }
.weg-photos figure.wide { grid-column: 1 / -1; padding: 18px 22px; }
.weg-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.weg-photos figure.wide img { aspect-ratio: 16 / 10; }
@media (max-width: 480px) { .weg-photos { gap: 10px; } .weg-photos figure { padding: 8px; } }

/* Guide viewer (Pastel #56): a guide page with a button over every part number, and the parts list beside it */
html.gv-open { overflow: hidden; }
.gv { position: fixed; inset: 0; z-index: 205; display: grid; grid-template-columns: minmax(0, 1fr) 380px; background: rgba(7,18,51,.94); }
.gv[hidden] { display: none; }
.gv-main { position: relative; display: flex; min-width: 0; min-height: 0; }
.gv-stage { flex: 1; display: flex; overflow: auto; padding: 12px; min-width: 0; min-height: 0; outline: 0; touch-action: pan-x pan-y; }
.gv-page { position: relative; flex: none; margin: auto; cursor: zoom-in; -webkit-user-select: none; user-select: none; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.gv-page img { display: block; width: 100%; height: auto; }
.gv-spots { position: absolute; inset: 0; }
.gv-spot { position: absolute; padding: 0; border: 0; border-radius: 4px; cursor: pointer; background: rgba(225,2,34,.10); box-shadow: inset 0 0 0 1.5px rgba(225,2,34,.5); transition: background .15s, box-shadow .15s; }
.gv-spot:hover, .gv-spot:focus-visible, .gv-spot.hl { background: rgba(225,2,34,.26); box-shadow: inset 0 0 0 2px var(--red); outline: 0; z-index: 2; }
.gv-spot.added { background: rgba(31,138,76,.22); box-shadow: inset 0 0 0 2px #1f8a4c; }
.gv-spot.added::after { content: "✓"; position: absolute; top: -9px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: #1f8a4c; color: #fff; font: 700 11px/18px var(--font-ui); text-align: center; }
.gv-spot:hover::before, .gv-spot:focus-visible::before { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; background: var(--navy); color: #fff; font: 700 12px/1 var(--font-ui); padding: 7px 9px; border-radius: 6px; pointer-events: none; }
.gv-side { display: flex; flex-direction: column; min-height: 0; background: #fff; }
.gv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 0; }
.gv-eyebrow { font: 700 11.5px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.gv-head h2 { margin: 6px 0 0; font-family: var(--font-head); font-size: 19px; line-height: 1.25; color: var(--navy); }
.gv-close { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.gv-close:hover { border-color: var(--navy); }
.gv-hint { margin: 10px 18px 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.gv-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px 0; }
.gv-pager { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--font-ui); color: var(--navy); }
.gv-pager[hidden] { display: none; }
.gv-tools button { width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 18px; line-height: 1; cursor: pointer; }
.gv-tools button:hover:not(:disabled) { border-color: var(--navy); }
.gv-tools button:disabled { opacity: .4; cursor: default; }
.gv-tools:has(.gv-pager[hidden]) { display: none; }
/* zoom buttons float over the page */
.gv.zoomed .gv-page { cursor: grab; }
.gv.dragging .gv-page, .gv.dragging .gv-spot { cursor: grabbing; }
.gv-zoom { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 8px 26px rgba(0,0,0,.35); }
.gv-zoom button { min-width: 38px; height: 38px; border: 0; border-radius: 999px; background: none; color: var(--navy); font: 700 21px/1 var(--font-ui); cursor: pointer; }
.gv-zoom .gv-zoom-reset { min-width: 58px; font-size: 13.5px; }
.gv-zoom button:hover:not(:disabled) { background: var(--bg-soft); }
.gv-zoom button:disabled { opacity: .35; cursor: default; }
.gv-count { margin: 14px 18px 0; padding-top: 12px; border-top: 1px solid var(--line); font: 700 12px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gv-list { list-style: none; margin: 8px 0 0; padding: 0 10px 10px; overflow: auto; flex: 1; min-height: 0; }
.gv-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px; border-radius: 8px; }
.gv-list li.hl { background: var(--bg-soft); }
.gv-name { display: flex; flex-direction: column; min-width: 0; color: inherit; }
.gv-name strong { font: 700 14.5px/1.3 var(--font-ui); color: var(--navy); }
.gv-name span { font-size: 13px; line-height: 1.35; color: var(--muted); }
a.gv-name:hover strong { color: var(--red); }
.gv-list .atq-btn { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--navy); padding: 7px 11px; font-size: 13px; }
.gv-list .atq-btn:hover { border-color: var(--navy); }
.gv-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px max(14px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.gv-foot .btn { padding: 11px 16px; font-size: 14.5px; gap: 8px; }
.gv-foot .btn b { min-width: 22px; height: 22px; border-radius: 999px; background: #fff; color: var(--red); display: inline-grid; place-items: center; font-size: 12.5px; padding: 0 6px; }
.gv-foot .btn:disabled { opacity: .5; cursor: default; }
.gv-pdf { font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: underline; }
@media (max-width: 860px) {
  .gv { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 52fr) minmax(0, 48fr); }
  .gv-stage { padding: 8px; }
  .gv-head { padding: 12px 14px 0; } .gv-head h2 { font-size: 17px; }
  .gv-hint { display: none; }
  .gv-tools { padding: 8px 14px 0; } .gv-count { margin: 10px 14px 0; padding-top: 10px; }
  .gv-foot { padding-left: 14px; padding-right: 14px; }
  .gv-spot:hover::before { display: none; }
}
/* "Add Parts to Quote" on guide cards */
.bd-link.add svg { color: var(--red); }
.gadd { flex: 1 0 100%; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font: 700 13.5px/1 var(--font-ui); padding: 10px 12px; cursor: pointer; }
.gadd:hover { background: var(--red); }
.gadd svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .gv-spot.added::after { top: -6px; right: -6px; width: 12px; height: 12px; font-size: 8px; line-height: 12px; } }
