/* ============================================================
   RIGID HARDWARE — rigidhardware.com
   Light industrial design system, v2
   Familiar high-end B2B layout · navy ink · industrial blue ·
   safety orange on buy actions · blueprint accents on hover
   Type: Big Shoulders Display / Archivo / IBM Plex Mono
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-raise: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --navy: #0f2440;
  --navy-2: #16324f;
  --line: #d8dfe8;
  --line-soft: #e4e9f0;
  --text: #33435c;
  --ink: #10233c;
  --text-dim: #52627a;
  --text-faint: #6d7d92;
  --accent: #0a63c9;
  --accent-deep: #094f9f;
  --accent-dim: rgba(10, 99, 201, 0.08);
  --hot: #c74a0a;
  --hot-deep: #a83d06;
  --green: #0f8a4f;
  --danger: #c92a2a;
  --bp-line: #7cc4ff;          /* blueprint strokes on navy */
  --shadow-sm: 0 1px 2px rgba(16,35,60,0.06), 0 2px 8px rgba(16,35,60,0.05);
  --shadow-md: 0 2px 6px rgba(16,35,60,0.07), 0 12px 32px rgba(16,35,60,0.10);
  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Archivo", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --chamfer: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --chamfer-sm: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }

/* keyboard focus — generic first, then inset for clip-path chamfered elements */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.btn:focus-visible, .cart-btn:focus-visible, .line-card:focus-visible, details.faq summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: -4px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- blueprint grid backdrop (light) ---------- */
.grid-bg { position: relative; }
.grid-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,36,64,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,36,64,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

/* ---------- microbar ---------- */
.microbar {
  background: var(--navy);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #b8cbe4;
  padding: 7px 0;
  text-transform: uppercase;
}
.microbar .wrap { display: flex; justify-content: space-between; gap: 16px; }
.microbar span b { color: #ffffff; font-weight: 500; }
.microbar .mb-right { color: #8fa6c4; }
@media (max-width: 720px) { .microbar .mb-right { display: none; } }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 1px 0 rgba(16,35,60,0.03);
}
.nav { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.logo-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 800; font-size: 25px; letter-spacing: 0.03em;
  color: var(--ink); text-transform: uppercase; line-height: 1;
}
.logo-word em { font-style: normal; color: var(--accent); }
.logo-sub {
  display: block; font-family: var(--font-mono); font-size: 8.5px;
  letter-spacing: 0.34em; color: var(--text-faint); margin-top: 3px;
  text-transform: uppercase;
}
nav.main { display: flex; gap: 4px; margin-left: auto; }
nav.main a {
  position: relative;
  font-family: var(--font-body); font-weight: 500; font-size: 14.5px;
  color: var(--text-dim); padding: 8px 13px;
  text-decoration: none !important; white-space: nowrap;
}
nav.main a::after {
  content: ""; position: absolute; left: 13px; right: 100%; bottom: 3px;
  height: 2px; background: var(--accent); transition: right 0.22s ease;
}
nav.main a:hover { color: var(--ink); }
nav.main a:hover::after, nav.main a.on::after { right: 13px; }
nav.main a.on { color: var(--accent); }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: #fff; background: var(--navy);
  border: none; padding: 10px 17px; cursor: pointer;
  clip-path: var(--chamfer-sm); text-decoration: none !important;
  transition: background 0.15s ease;
}
.cart-btn:hover { background: var(--accent); }
.cart-count {
  font-family: var(--font-mono); background: #fff; color: var(--navy);
  font-size: 11px; font-weight: 600; min-width: 19px; height: 19px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px; clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--ink); padding: 8px 10px; cursor: pointer; font-family: var(--font-mono); font-size: 14px; }
@media (max-width: 960px) {
  nav.main {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 12px 24px 18px; gap: 2px;
    box-shadow: var(--shadow-md);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 10px; font-size: 16px; }
  nav.main a::after { display: none; }
  .burger { display: block; margin-left: auto; }
  .cart-btn .cart-label { display: none; }
}

/* ---------- buttons: chamfered, sweep-fill, arrow nudge ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 26px; cursor: pointer; border: none;
  clip-path: var(--chamfer-sm); text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.01em;
  will-change: transform;
}
.btn::before {           /* sweep fill */
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,0.16);
  transform: translateX(-101%) skewX(-12deg);
  transition: transform 0.3s ease;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(0) skewX(0); }
.btn::after {            /* arrow nudge — space reserved so the label never shifts */
  content: "→"; font-family: var(--font-mono);
  width: 14px; opacity: 0; transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.btn:hover::after { opacity: 1; transform: translateX(0); }
/* arrows are for navigation — not for ADD TO CART / SUBMIT actions */
.buy-box .btn::after, form .btn::after, .qty-row .btn::after { display: none; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost::before { background: var(--accent-dim); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.btn-orange { background: var(--hot); color: #fff; box-shadow: var(--shadow-sm); }
.btn-orange:hover { background: var(--hot-deep); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f6fa 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero-media { display: none; }   /* light theme: photo lives in the right panel */
.hero-inner {
  position: relative; z-index: 2;
  padding: 92px 0 100px;
  max-width: 720px;
}
.kicker {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
h1.display {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(46px, 7vw, 82px); line-height: 0.95;
  text-transform: uppercase; letter-spacing: 0.005em;
  color: var(--ink);
}
h1.display em { font-style: normal; color: var(--accent); }
.hero-sub {
  margin: 26px 0 34px; font-size: 18px; color: var(--text-dim);
  max-width: 560px; line-height: 1.65;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 34px; font-family: var(--font-mono); font-size: 12px;
  color: var(--text-faint); letter-spacing: 0.05em;
}
.hero-note b { color: var(--green); font-weight: 500; }

/* hero right: photo panel with floating spec chip */
.hero-split { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.hero-right { position: relative; padding: 40px 0; }
.hero-right .img-frame { box-shadow: var(--shadow-md); }
.hero-chip {
  position: absolute; left: -18px; bottom: 64px; z-index: 3;
  background: var(--navy); color: #fff;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em;
  padding: 10px 16px; clip-path: var(--chamfer-sm);
  box-shadow: var(--shadow-md);
}
.hero-chip b { color: var(--bp-line); font-weight: 500; }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; } .hero-right { display: none; } }

/* corner crosshairs */
.crosshair::before, .crosshair::after {
  content: "+"; position: absolute; color: rgba(10,99,201,0.4);
  font-family: var(--font-mono); font-size: 15px; z-index: 3;
}
.crosshair { position: relative; }
.crosshair::before { top: 14px; left: 16px; }
.crosshair::after { bottom: 12px; right: 16px; }

/* ---------- stats bar ---------- */
.stats { border-bottom: 1px solid var(--line-soft); background: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 22px; border-left: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.stat::after {
  content: ""; position: absolute; left: 22px; right: 100%; bottom: 18px;
  height: 2px; background: var(--accent); transition: right 0.3s ease;
}
.stat:hover::after { right: 22px; }
.stat:first-child { border-left: none; }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 34px; color: var(--accent); line-height: 1; letter-spacing: 0.01em;
  text-transform: uppercase;
}
.stat span {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint);
  letter-spacing: 0.1em; text-transform: uppercase;
}
@media (max-width: 860px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line-soft); }
  .stat:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 400px) {
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { border-left: none; }
  .stat:nth-child(2) { border-top: 1px solid var(--line-soft); }
}

/* ---------- section scaffolding ---------- */
section.band { padding: 84px 0; }
section.band.tight { padding: 60px 0; }
section.band.raise { background: var(--bg-raise); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.sec-head { margin-bottom: 44px; }
.sec-head .kicker { margin-bottom: 12px; }
h2.sec-title, h1.sec-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.4vw, 52px); text-transform: uppercase;
  line-height: 1; letter-spacing: 0.005em; color: var(--ink);
}
.sec-head p.lead { margin-top: 14px; color: var(--text-dim); max-width: 640px; font-size: 16.5px; }

/* dimension-line motif */
.dim-line {
  display: flex; align-items: center; gap: 10px; margin-top: 18px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint);
  letter-spacing: 0.12em; max-width: 300px;
}
.dim-line::before, .dim-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- product-line cards (photo → blueprint flip on hover) ---------- */
.line-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1020px) { .line-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .line-grid { grid-template-columns: 1fr; } }

.line-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); clip-path: var(--chamfer);
  border: 1px solid var(--line-soft);
  text-decoration: none !important; color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.line-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.line-card:hover .lc-name { color: var(--accent); }
.lc-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); position: relative; }
.lc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease, opacity 0.3s ease; }
.line-card:hover .lc-media img { transform: scale(1.05); }
/* the surprise: technical drawing revealed on hover */
.lc-bp {
  position: absolute; inset: 0; z-index: 2;
  background: var(--navy); color: var(--bp-line);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; transition: opacity 0.32s ease;
  pointer-events: none;
}
.lc-bp svg { width: 100%; height: 100%; }
.line-card:hover .lc-bp, .line-card:focus-visible .lc-bp { opacity: 1; }
.lc-num {
  position: absolute; top: 12px; left: 14px; z-index: 3;
  font-family: var(--font-mono); font-size: 11px; color: #fff;
  letter-spacing: 0.14em; background: rgba(15,36,64,0.78); padding: 3px 8px;
  backdrop-filter: blur(4px);
}
.lc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lc-name {
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  text-transform: uppercase; line-height: 1.04; letter-spacing: 0.01em;
  transition: color 0.14s ease; color: var(--ink);
}
.lc-tag { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; flex: 1; }
.lc-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint);
  border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 6px;
  letter-spacing: 0.06em;
}
.lc-meta .go { color: var(--accent); font-weight: 600; transition: letter-spacing 0.2s ease; }
.line-card:hover .lc-meta .go { letter-spacing: 0.12em; }

/* ---------- badges ---------- */
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 10.5px;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid var(--line);
  padding: 3px 9px; white-space: nowrap; background: #fff;
}
.tag.cy { color: var(--accent-deep); border-color: rgba(10,99,201,0.35); background: var(--accent-dim); }
.tag.or { color: var(--hot); border-color: rgba(199,74,10,0.35); background: rgba(199,74,10,0.07); }
.tag.gr { color: var(--green); border-color: rgba(15,138,79,0.35); background: rgba(15,138,79,0.07); }
a.tag:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ---------- product (SKU) cards ---------- */
.sku-list { display: flex; flex-direction: column; gap: 18px; }
.sku-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  clip-path: var(--chamfer);
  padding: 26px 28px;
  display: grid; grid-template-columns: 1fr 320px; gap: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.sku-card:hover { box-shadow: var(--shadow-md); border-color: var(--line); }
@media (max-width: 900px) { .sku-card { grid-template-columns: 1fr; } }
.sku-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.sku-no {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  color: var(--accent-deep); letter-spacing: 0.08em; background: var(--accent-dim);
  padding: 3px 9px;
}
.sku-name {
  font-family: var(--font-display); font-weight: 700; font-size: 27px;
  text-transform: uppercase; line-height: 1.05; letter-spacing: 0.01em; color: var(--ink);
}
.sku-tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 8px 0 12px; }
.sku-desc { color: var(--text-dim); font-size: 15px; max-width: 640px; }

/* spec table */
table.specs { width: 100%; border-collapse: collapse; margin-top: 18px; }
table.specs td {
  padding: 8px 12px; font-size: 13.5px; border-top: 1px solid var(--line-soft);
  vertical-align: top; transition: background 0.12s ease;
}
table.specs tr:hover td { background: var(--accent-dim); }
table.specs td:first-child {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-faint); width: 42%;
  white-space: nowrap;
}
table.specs td:last-child { color: var(--text); font-weight: 500; }
table.specs tr:last-child td { border-bottom: 1px solid var(--line-soft); }

/* buy box */
.buy-box {
  align-self: start;
  background: var(--bg-raise); border: 1px solid var(--line);
  clip-path: var(--chamfer-sm); padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price {
  font-family: var(--font-mono); font-weight: 600; font-size: 30px;
  color: var(--ink); letter-spacing: -0.01em;
}
.price-unit { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.lead-time { font-family: var(--font-mono); font-size: 11.5px; color: var(--green); letter-spacing: 0.06em; }
.qty-row { display: flex; gap: 10px; }
.qty {
  width: 84px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); font-family: var(--font-mono);
  font-size: 15px; padding: 11px 12px; text-align: center;
}
.qty:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-color: var(--accent); }
.qty-row .btn { flex: 1; }
.quote-note { font-size: 13px; color: var(--text-dim); }

/* ---------- category hero ---------- */
.cat-hero {
  position: relative; border-bottom: 1px solid var(--line-soft); overflow: hidden;
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f6fa 100%);
}
.cat-hero .hero-inner { padding: 72px 0 76px; max-width: 760px; }
.breadcrumb {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--accent); }
.cat-why { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.cat-why li {
  list-style: none; font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim); letter-spacing: 0.04em; display: flex; gap: 8px; align-items: center;
}
.cat-why li::before { content: "▸"; color: var(--accent); }

/* ---------- value props ---------- */
.vp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1020px) { .vp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .vp-grid { grid-template-columns: 1fr; } }
.vp {
  border: 1px solid var(--line-soft); background: var(--surface);
  padding: 26px 24px; clip-path: var(--chamfer-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.vp:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vp svg { width: 30px; height: 30px; stroke: var(--accent); margin-bottom: 16px; }
.vp h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.015em; color: var(--ink);
}
.vp p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* ---------- Q4: four questions, straight answers ---------- */
.q4-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .q4-grid { grid-template-columns: 1fr; } }
.q4 {
  position: relative;
  background: var(--surface); border: 1px solid var(--line-soft);
  clip-path: var(--chamfer); padding: 30px 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.q4:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.q4-num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display); font-weight: 800; font-size: 54px;
  color: var(--accent-dim); -webkit-text-stroke: 1.5px rgba(10,99,201,0.28);
  line-height: 1; pointer-events: none;
}
.q4 h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 30px;
  text-transform: uppercase; color: var(--ink); line-height: 1; margin-bottom: 16px;
  padding-right: 60px;
}
.q4 h3 em { font-style: normal; color: var(--accent); }
.q4 ul { list-style: none; display: grid; gap: 11px; }
.q4 li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }
.q4 li::before { content: "▣"; color: var(--accent); font-size: 12px; line-height: 1.9; flex: 0 0 auto; }
.q4 li b { color: var(--ink); font-weight: 600; }

/* ---------- flow divider ---------- */
.flow-line {
  height: 2px; margin: 0;
  background-image: linear-gradient(90deg, var(--accent) 0 12px, transparent 12px 24px);
  background-size: 24px 2px; opacity: 0.3;
  animation: flow 1.6s linear infinite;
}
@keyframes flow { to { background-position: 24px 0; } }

/* ---------- CTA band (navy contrast block — familiar on light sites) ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(105deg, var(--navy) 0%, #143050 55%, #0d1f37 100%);
  padding: 76px 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,196,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,196,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 4vw, 48px); line-height: 1; margin-bottom: 14px; color: #fff;
}
.cta-band h2 em { font-style: normal; color: var(--bp-line); }
.cta-band p { color: #b8cbe4; max-width: 560px; margin-bottom: 28px; }
.cta-band .kicker { color: var(--bp-line); }
.cta-band .kicker::before { background: var(--bp-line); }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--bp-line); }
.cta-art {
  position: absolute; right: -30px; top: 50%; transform: translateY(-50%);
  width: 380px; color: var(--bp-line); opacity: 0.5; z-index: 1;
}
@media (max-width: 1000px) { .cta-art { display: none; } }

/* ---------- forms ---------- */
form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { form .frow { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim);
}
.field label b { color: var(--hot); font-weight: 500; }
.field input, .field select, .field textarea {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-family: var(--font-body); font-size: 15px; padding: 12px 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10,99,201,0.12);
}

/* ---------- cart page ---------- */
.cart-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .cart-grid { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cart { width: 100%; border-collapse: collapse; }
table.cart th {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-faint); text-align: left;
  padding: 10px 12px; border-bottom: 2px solid var(--line);
}
table.cart td { padding: 16px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.cart .c-sku { font-family: var(--font-mono); font-size: 12px; color: var(--accent-deep); }
table.cart .c-name { font-weight: 600; font-size: 15px; color: var(--ink); }
table.cart .c-price, table.cart .c-total { font-family: var(--font-mono); font-size: 14.5px; white-space: nowrap; }
table.cart .qty { width: 64px; padding: 8px; }
.rm-line { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 17px; padding: 4px 8px; }
.rm-line:hover { color: var(--danger); }

.summary {
  background: var(--surface); border: 1px solid var(--line-soft);
  clip-path: var(--chamfer); padding: 28px; box-shadow: var(--shadow-sm);
}
.summary h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  text-transform: uppercase; margin-bottom: 18px; color: var(--ink);
}
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--text-dim); }
.sum-row.total {
  border-top: 2px solid var(--line); margin-top: 10px; padding-top: 16px;
  color: var(--ink); font-weight: 600; font-size: 17px;
}
.sum-row.total .val { font-family: var(--font-mono); font-size: 22px; color: var(--accent-deep); }
.sum-row .val { font-family: var(--font-mono); }

/* ---------- FAQ ---------- */
.faq-group-title {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-deep);
  margin: 30px 0 14px; display: flex; align-items: center; gap: 12px;
}
.faq-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.faq-group-title:first-child { margin-top: 0; }
details.faq {
  border: 1px solid var(--line-soft); background: var(--surface);
  margin-bottom: 12px; clip-path: var(--chamfer-sm);
  transition: border-color 0.15s ease;
}
details.faq:hover { border-color: var(--line); }
details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 600; font-size: 15.5px; display: flex; justify-content: space-between; gap: 16px;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 18px; flex: 0 0 auto;
  transition: transform 0.2s ease;
}
details.faq[open] summary::after { content: "+"; transform: rotate(45deg); }
details.faq .faq-a { padding: 0 22px 20px; color: var(--text-dim); font-size: 14.5px; max-width: 780px; }

/* ---------- footer (navy, engineering title block) ---------- */
footer.site { background: var(--navy); margin-top: 0; }
.foot-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 44px; }
@media (max-width: 900px) { .foot-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-main { grid-template-columns: 1fr; } }
.foot-main h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #8fa6c4; margin-bottom: 16px;
}
.foot-main a { display: block; color: #c6d4e8; font-size: 14px; padding: 4px 0; }
.foot-main a:hover { color: #fff; text-decoration: none; }
.foot-blurb { color: #9fb2cc; font-size: 14px; max-width: 300px; margin-top: 14px; }
footer.site .logo-word { color: #fff; }
footer.site .logo-word em { color: var(--bp-line); }
.title-block {
  border-top: 1px solid rgba(255,255,255,0.14);
  display: grid; grid-template-columns: repeat(4, 1fr);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
}
.tb-cell {
  border-left: 1px solid rgba(255,255,255,0.14); padding: 12px 16px; color: #8fa6c4;
  text-transform: uppercase;
}
.tb-cell:first-child { border-left: none; }
.tb-cell b { display: block; color: #c6d4e8; font-weight: 500; margin-top: 2px; }
@media (max-width: 720px) {
  .title-block { grid-template-columns: repeat(2, 1fr); }
  .tb-cell:nth-child(3) { border-left: none; border-top: 1px solid rgba(255,255,255,0.14); }
  .tb-cell:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.14); }
}

/* ---------- toast ---------- */
#toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  background: var(--navy); color: #fff; border: none;
  clip-path: var(--chamfer-sm);
  padding: 15px 22px; font-size: 14.5px; font-weight: 500;
  display: flex; align-items: center; gap: 12px;
  transform: translateY(140%); opacity: 0; pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  max-width: 92vw; box-shadow: var(--shadow-md);
}
#toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
#toast a { color: var(--bp-line); }
#toast .t-sku { font-family: var(--font-mono); color: var(--bp-line); font-size: 12.5px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- prose ---------- */
.prose p { color: var(--text-dim); margin-bottom: 18px; max-width: 720px; font-size: 16px; }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; color: var(--text-dim); font-size: 15px; }
.check-list li::before { content: "▣"; color: var(--accent); font-size: 13px; line-height: 1.7; }

/* ---------- misc ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.img-frame {
  clip-path: var(--chamfer); border: 1px solid var(--line-soft); position: relative;
  background: var(--surface-2);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.mono-note { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); letter-spacing: 0.05em; }
a.mono-note, .mono-note a { color: var(--accent-deep); }
.center { text-align: center; }
.mt-2 { margin-top: 20px; } .mt-4 { margin-top: 40px; } .mb-2 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* status message under forms */
.form-status { font-family: var(--font-mono); font-size: 13px; margin-top: 14px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--danger); }

/* skip link (a11y) */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- blueprint SVG art ---------- */
.lc-art { display: flex; align-items: center; justify-content: center; padding: 18px; color: var(--accent-deep); background: var(--surface-2); }
.lc-art svg { width: 100%; height: 100%; max-height: 100%; }
.cat-art { padding: 34px; min-height: 300px; }
.cat-art.navy { background: var(--navy); color: var(--bp-line); border: none; }
.bp-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; fill: currentColor; opacity: 0.65; stroke: none; }
.bp-dim line { stroke: currentColor; opacity: 0.55; stroke-width: 1; stroke-dasharray: 2 3; }
.bp-frame { stroke: currentColor; }
.flow { stroke-dasharray: 6 5; animation: bpflow 1.4s linear infinite; }
.flow-slow { stroke-dasharray: 10 8; animation: bpflow 2.4s linear infinite; opacity: 0.9; }
@keyframes bpflow { to { stroke-dashoffset: -22; } }

/* hero art (kept for category/CTA use) */
.hero-art line, .hero-art rect, .hero-art path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawin 1.6s ease forwards; }
.hero-art .flow-slow { stroke-dasharray: 10 8; stroke-dashoffset: 0; animation: bpflow 2.4s linear infinite; }
@keyframes drawin { to { stroke-dashoffset: 0; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow, .flow-slow, .flow-line { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-art line, .hero-art rect, .hero-art path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .btn::before, .btn::after { transition: none; }
  .line-card, .sku-card, .vp, .q4, .stat::after { transition: none; }
}
