/* ─────────────────────────────────────────────────────────────────────
   US BLDC — design system
   SCREENPRINTED BROADSIDE: ink, paper, navy and red.
   Shared with American Stator (americanstator.com); spec lives in that
   repo's DESIGN-BROADSIDE.md. Single theme: the page commits to paper
   stock and does not follow the viewer's theme.
   ───────────────────────────────────────────────────────────────────── */

:root {
  /* palette — these eight and no others */
  --paper:      #F3EEE2;
  --paper-warm: #EDE6D6;
  --ink:        #14100E;
  --ink-soft:   #4A423C;
  --navy:       #0F2557;
  --navy-soft:  #2A4478;
  --red:        #E22128;
  --red-deep:   #B4161C;

  /* type stacks */
  --font-display: "Anton", "Haettenschweiler", "Arial Narrow", sans-serif;
  --font-body:    "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --container: 1080px;
  --container-narrow: 720px;
  --container-mid: 960px;
  --gutter: 28px;
  --section: 58px;        /* rail-section rhythm: the broadside is dense */
  --section-tight: 40px;
}

* { box-sizing: border-box; }

html { margin: 0; background: var(--paper); }
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--red); color: var(--paper); }

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ── Ben-Day dot fields ────────────────────────────────────────────
   Halftone on flat ink fields only, the way a screenprint shades them.
   Never on text, never on photos, never as a page texture. 9px pitch. */
.on-navy {
  background-color: var(--navy);
  background-image: radial-gradient(rgba(243,238,226,.20) 2px, transparent 2.1px);
  background-size: 9px 9px;
}
.on-red {
  background-color: var(--red);
  background-image: radial-gradient(rgba(20,16,14,.15) 2px, transparent 2.1px);
  background-size: 9px 9px;
}
.on-warm {
  background-color: var(--paper-warm);
  background-image: radial-gradient(rgba(226,33,40,.16) 1.9px, transparent 2px);
  background-size: 9px 9px;
}

/* ── Layout primitives ─────────────────────────────────────────── */

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.container-mid { max-width: var(--container-mid); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

section { padding: var(--section) 0; position: relative; }
section.tight { padding: var(--section-tight) 0; }

/* section rule: 9px ink bar, then a 3px red bar 5px below it */
.rule-heavy { height: 9px; background: var(--ink); margin: 46px 0 0; }
.rule-heavy + .rule-thin { height: 3px; background: var(--red); margin-top: 5px; margin-bottom: 54px; }
.divider {
  height: 9px;
  background: var(--ink);
  border: 0;
  margin: 0 0 8px;
  box-shadow: 0 5px 0 var(--paper), 0 8px 0 var(--red);
}

/* ── Typography ─────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  letter-spacing: .004em;
  text-transform: uppercase;
  color: var(--navy);
  text-wrap: balance;
}

h1 {
  font-size: clamp(56px, 13.2vw, 168px);
  line-height: .82;
  text-shadow: 6px 6px 0 var(--red);
}
h1 em { font-style: normal; color: var(--red); text-shadow: 6px 6px 0 var(--navy); }

h2 {
  font-size: clamp(28px, 4.1vw, 46px);
  line-height: .95;
}

h3 {
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1;
  letter-spacing: .01em;
}

h4 {
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: .02em;
}

p { margin: 0; color: var(--ink); text-wrap: pretty; }
strong, b { font-weight: 800; }

p.lede, .lede {
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  max-width: 56ch;
}

p.body, .body-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 64ch;
}

/* hero sub: one phrase set as a red field with paper text */
.deck {
  margin: 30px 0 0;
  max-width: 34ch;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.32;
  font-weight: 600;
  color: var(--ink);
}
.deck b {
  font-weight: 800;
  background: var(--red);
  color: var(--paper);
  padding: 1px 7px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.caption {
  font-size: 12.5px;
  line-height: 1.68;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ── Stamps ─────────────────────────────────────────────────────────
   Labels are filled stamps, not line-and-text eyebrows. Stamps are facts:
   place, date, status, entity. Navy stamps are small Libre Franklin; a red
   (hot) stamp is set in Anton at 15px so paper-on-red text stays legible. */

.eyebrow, .stamp {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--navy);
  border: 2px solid var(--ink);
  padding: 5px 11px;
}
.eyebrow.accent, .stamp.hot, .stamp-hot {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .06em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--red);
  border: 2px solid var(--ink);
  padding: 3px 10px 2px;
}
.eyebrow.no-tick { /* the tick line is gone; kept for markup compatibility */ }

.stamp-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
}

/* ── Links ─────────────────────────────────────────────────────── */

.link, p a:not([class]), .body-text a:not([class]) {
  color: var(--red-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color .12s ease;
}
.link:hover, p a:not([class]):hover, .body-text a:not([class]):hover { color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  padding: 4px 0;
  transition: color .12s ease;
}
.link-arrow:hover { color: var(--ink); }
.link-arrow svg { flex-shrink: 0; }

/* ── Buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 3px solid var(--ink);
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--navy);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .12s ease, color .12s ease, box-shadow .12s ease, transform .12s ease;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--navy); }
.btn-primary { background: var(--red); color: var(--paper); }
.btn-primary:hover { background: var(--navy); box-shadow: 4px 4px 0 var(--red); }
.btn-primary:active { box-shadow: 2px 2px 0 var(--red); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-warm); box-shadow: 4px 4px 0 var(--red); }
.btn-ghost:active { box-shadow: 2px 2px 0 var(--red); }

.btn .arrow { width: 13px; height: 9px; flex-shrink: 0; }

/* ── Top nav ───────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.brand .mark { width: 28px; height: 28px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ink);
  padding: 4px 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  transition: color .12s ease, text-decoration-color .12s ease;
}
.nav-links a:hover { color: var(--red-deep); }
.nav-links a.active { color: var(--navy); text-decoration-color: var(--red); }
.nav-cta {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--red);
  border: 3px solid var(--ink);
  padding: 9px 14px 8px;
  box-shadow: 4px 4px 0 var(--navy);
  white-space: nowrap;
  transition: background-color .12s ease, box-shadow .12s ease;
}
.nav-cta:hover { background: var(--navy); box-shadow: 4px 4px 0 var(--red); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { padding: 10px 18px; gap: 14px; }
  .brand { font-size: 18px; gap: 8px; }
  .nav-cta { padding: 8px 10px 7px; }
}

/* ── Footer (colophon) ─────────────────────────────────────────── */

footer.site-footer {
  border-top: 9px solid var(--ink);
  background: var(--paper);
  padding: 34px 0 40px;
  margin-top: 58px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 44px;
  padding-bottom: 32px;
  border-bottom: 3px solid var(--ink);
}
.footer-col .label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img, .footer-brand svg { width: 44px; height: 44px; flex-shrink: 0; }
.footer-addr {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.68;
  color: var(--ink-soft);
}
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .12s ease;
}
.footer-nav a:hover { color: var(--red-deep); }

.footer-email-lede {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.68;
  color: var(--ink-soft);
  margin-bottom: 10px;
  max-width: 44ch;
}
.footer-email-form {
  display: flex;
  align-items: stretch;
  margin-top: 12px;
  border: 3px solid var(--ink);
  background: var(--paper);
}
.footer-email-form:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.footer-email-form input {
  flex: 1;
  min-width: 0;
  background: var(--paper);
  border: 0;
  outline: 0;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 0;
}
.footer-email-form input::placeholder { color: var(--ink-soft); }
.footer-email-form button {
  background: var(--red);
  color: var(--paper);
  border: 0;
  border-left: 3px solid var(--ink);
  padding: 0 18px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .12s ease;
}
.footer-email-form button:hover { background: var(--navy); }
.footer-email-form button:focus-visible { outline: 3px solid var(--navy); outline-offset: -6px; }
.footer-email-note { font-size: 12.5px; font-weight: 500; color: var(--ink-soft); margin-top: 12px; }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  gap: 24px;
}
.footer-base, .footer-base a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-soft);
}
.footer-base a:hover { color: var(--red-deep); }
.footer-base .legal { display: flex; gap: 18px; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── Status pill → red stamp ──────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .06em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--red);
  border: 2px solid var(--ink);
  padding: 3px 10px 2px;
}
.pill .dot { display: none; }

/* ── Cards (tiles) ─────────────────────────────────────────────── */

.card {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--navy);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: box-shadow .12s ease;
}
.card:hover { box-shadow: 6px 6px 0 var(--red); }
.card .card-num {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}
.card .card-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
}
.card .card-sub { font-size: 15.5px; line-height: 1.5; color: var(--ink); flex: 1; }
.card .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 3px solid var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.card .card-meta .status { color: var(--red-deep); }
.card .card-arrow {
  width: 30px; height: 30px;
  border: 3px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--paper);
  transition: background-color .12s ease, color .12s ease;
}
.card:hover .card-arrow { background: var(--red); color: var(--paper); }

/* ── CAD frame (kept: it is the technical credibility) ──────────── */

.cad-frame {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 9px 9px 0 var(--navy);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.cad-frame .cad-corner {
  position: absolute;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}
.cad-frame .cad-tl { top: 14px; left: 16px; }
.cad-frame .cad-tr { top: 14px; right: 16px; color: var(--red-deep); }
.cad-frame .cad-bl { bottom: 14px; left: 16px; }
.cad-frame .cad-br { bottom: 14px; right: 16px; }
.cad-frame .cad-tick {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--ink);
  border-style: solid;
  border-width: 3px;
}

/* ── Spec table → ledger ───────────────────────────────────────── */

.spec-table {
  width: 100%;
  font-family: var(--font-body);
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 9px 9px 0 var(--navy);
}
.spec-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  border-bottom: 3px solid var(--ink);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt, .spec-row .k {
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--paper);
  border-right: 3px solid var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .02em;
  line-height: 1.05;
  text-transform: uppercase;
  padding: 12px 16px;
}
.spec-row dd, .spec-row .v {
  margin: 0;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ── Forms ─────────────────────────────────────────────────────── */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.field > label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
}
.field > label .opt { color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea,
.field select {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 0;
  padding: 13px 15px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  outline: 0;
  width: 100%;
  transition: background-color .12s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field.error input, .field.error textarea { border-color: var(--red-deep); background: var(--paper-warm); }
.field .err-msg {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red-deep);
  margin-top: -2px;
  display: none;
}
.field.error .err-msg { display: block; }

.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition: background-color .12s ease, box-shadow .12s ease;
}
.checkbox-row:hover { background: var(--paper-warm); }
.checkbox-row.checked { background: var(--paper-warm); box-shadow: 4px 4px 0 var(--navy); }
.checkbox-row:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.checkbox-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.checkbox-row .box {
  width: 20px; height: 20px;
  border: 3px solid var(--ink);
  background: var(--paper);
  flex-shrink: 0;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.checkbox-row.checked .box { background: var(--red); }
.checkbox-row.checked .box::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 3px solid var(--paper);
  border-bottom: 3px solid var(--paper);
  transform: rotate(-45deg) translate(1px, -1px);
}
.checkbox-row .check-body { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.checkbox-row .check-title { font-size: 15px; color: var(--ink); font-weight: 700; }
.checkbox-row .check-sub { font-size: 13.5px; color: var(--ink-soft); }

/* ── Catalog grid (SKU tiles) ──────────────────────────────────── */

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 560px) { .catalog-grid { grid-template-columns: 1fr; } }

.catalog-card {
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--navy);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .12s ease;
}
.catalog-card:hover { box-shadow: 6px 6px 0 var(--red); }

.catalog-card .viz {
  aspect-ratio: 1;
  position: relative;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.catalog-card .viz > img,
.catalog-card .viz > svg {
  position: relative;
  z-index: 1;
  width: 74%;
  height: 74%;
  display: block;
}
.catalog-card .viz > img.invert { filter: none; }
.catalog-card .viz .corner {
  position: absolute; width: 12px; height: 12px;
  border: 3px solid var(--ink); z-index: 2;
}
.catalog-card .viz .corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.catalog-card .viz .corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.catalog-card .viz .corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.catalog-card .viz .corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.catalog-card .viz .top-tag,
.catalog-card .viz .bot-tag {
  position: absolute;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .1em; color: var(--navy);
  z-index: 2; text-transform: uppercase;
  white-space: nowrap;
}
.catalog-card .viz .top-tag { top: 13px; left: 30px; }
.catalog-card .viz .top-tag.accent { color: var(--red-deep); }
.catalog-card .viz .top-tag.right { left: auto; right: 30px; }
.catalog-card .viz .bot-tag { bottom: 13px; left: 30px; }
.catalog-card .viz .bot-tag.right { left: auto; right: 30px; }
.catalog-card .viz .placeholder-tag {
  position: absolute;
  bottom: 13px; left: 0; right: 0; text-align: center;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .1em; color: var(--ink-soft);
  z-index: 2; text-transform: uppercase;
}

.catalog-card .body {
  padding: 18px 20px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.catalog-card .pn {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; color: var(--ink-soft); text-transform: uppercase;
}
.catalog-card .title {
  font-family: var(--font-display); font-size: 30px;
  line-height: 1; text-transform: uppercase; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.catalog-card .title .u {
  font-family: var(--font-body); font-weight: 800;
  font-size: .42em; letter-spacing: .13em; text-transform: uppercase;
  color: var(--red-deep); margin-left: .35em; vertical-align: .5em;
}
.catalog-card .sub {
  font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin-top: 2px;
}
.catalog-card .spec-mini {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px;
  padding: 12px 20px;
  border-top: 3px solid var(--ink);
  font-size: 14px;
}
.catalog-card .spec-mini .k { color: var(--ink-soft); text-transform: uppercase; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; }
.catalog-card .spec-mini .v { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.catalog-card .footer {
  padding: 12px 20px 14px;
  border-top: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  gap: 12px;
  margin-top: auto;
}
.catalog-card .footer .status {
  font-family: var(--font-display); font-weight: 400;
  font-size: 15px; letter-spacing: .06em; line-height: 1.1;
  color: var(--paper); background: var(--red);
  border: 2px solid var(--ink); padding: 3px 10px 2px;
}
.catalog-card .footer .pair { color: var(--ink-soft); }
.catalog-card .footer .pair a {
  color: var(--red-deep); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.catalog-card .footer .pair a:hover { color: var(--ink); }

.catalog-card .body + .spec-mini { padding-top: 12px; margin-top: 4px; }

/* ── Product detail page patterns ──────────────────────────── */

.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); padding: 24px 0 0;
  flex-wrap: wrap;
}
.breadcrumb > * { white-space: nowrap; }
.breadcrumb a { color: var(--ink-soft); transition: color .12s ease; }
.breadcrumb a:hover { color: var(--red-deep); }
.breadcrumb .sep { color: var(--ink-soft); }
.breadcrumb .current { color: var(--navy); }

.pdp-hero { padding: 40px 0 58px; border-bottom: 3px solid var(--ink); }
.pdp-hero-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .pdp-hero-grid { grid-template-columns: 1fr; gap: 44px; } }

.pdp-hero-visual {
  position: relative; aspect-ratio: 1;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 9px 9px 0 var(--navy);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.pdp-hero-visual > img.invert,
.pdp-hero-visual > svg {
  position: relative; z-index: 1;
  width: 78%; height: 78%; display: block;
}
.pdp-hero-visual > img.invert { filter: none; }
.pdp-hero-visual .corner {
  position: absolute; width: 14px; height: 14px;
  border: 3px solid var(--ink); z-index: 3;
}
.pdp-hero-visual .corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.pdp-hero-visual .corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.pdp-hero-visual .corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.pdp-hero-visual .corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.pdp-hero-visual .meta {
  position: absolute;
  font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); z-index: 2; white-space: nowrap;
}
.pdp-hero-visual .meta.tl { top: 18px; left: 36px; }
.pdp-hero-visual .meta.tr { top: 18px; right: 36px; color: var(--red-deep); }
.pdp-hero-visual .meta.bl { bottom: 18px; left: 36px; }
.pdp-hero-visual .meta.br { bottom: 18px; right: 36px; }

.pdp-hero-body h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: .86; margin: 16px 0 24px;
}
.pdp-hero-body .lede {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45;
  color: var(--ink); max-width: 44ch; margin-bottom: 28px;
}
.pdp-hero-body .quick-spec {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--navy);
  background: var(--paper);
}
.pdp-hero-body .quick-spec .qs { border-right: 3px solid var(--ink); padding: 12px 14px; }
.pdp-hero-body .quick-spec .qs:last-child { border-right: 0; }
.pdp-hero-body .quick-spec .qs-key {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 6px;
}
.pdp-hero-body .quick-spec .qs-val {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px);
  line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums;
}
.pdp-hero-body .quick-spec .qs-val .u {
  font-family: var(--font-body); font-weight: 800;
  font-size: .36em; letter-spacing: .13em; text-transform: uppercase;
  color: var(--red-deep); margin-left: .35em; vertical-align: .4em;
}
.pdp-hero-meta-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 18px 0 26px;
}

.pdp-section { padding: var(--section) 0; border-bottom: 3px solid var(--ink); }
.pdp-section:last-of-type { border-bottom: 0; }
.pdp-section-head {
  display: grid; grid-template-columns: 240px 1fr; gap: 44px;
  align-items: start; margin-bottom: 36px;
}
@media (max-width: 800px) { .pdp-section-head { grid-template-columns: 1fr; gap: 14px; } }
.pdp-section-head h2 { max-width: 22ch; }

.variants-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
@media (max-width: 720px) { .variants-grid { grid-template-columns: 1fr; } }
.variant-card {
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--navy);
  display: grid; grid-template-columns: 200px 1fr;
}
@media (max-width: 560px) { .variant-card { grid-template-columns: 1fr; } }
.variant-card .viz {
  aspect-ratio: 1; background: var(--paper); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); border-right: 3px solid var(--ink);
}
@media (max-width: 560px) {
  .variant-card .viz { border-right: 0; border-bottom: 3px solid var(--ink); }
}
.variant-card .viz > img.invert,
.variant-card .viz > svg {
  position: relative; z-index: 1;
  width: 80%; height: 80%; display: block;
}
.variant-card .viz > img.invert { filter: none; }
.variant-card .body {
  padding: 20px 20px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.variant-card .body .pn {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; color: var(--ink-soft); text-transform: uppercase;
}
.variant-card .body .ttl {
  font-family: var(--font-display); font-size: 24px;
  line-height: 1; text-transform: uppercase; color: var(--navy);
}
.variant-card .body .ucase {
  font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin-top: 2px;
}
.variant-card .body .pair {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  margin-top: 12px; padding-top: 12px; border-top: 3px solid var(--ink);
}
.variant-card .body .pair a {
  color: var(--red-deep); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}

.pairs-with {
  display: grid; grid-template-columns: 200px 1fr auto;
  gap: 28px; align-items: center;
  padding: 22px;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--navy);
  background-color: var(--paper-warm);
  background-image: radial-gradient(rgba(226,33,40,.16) 1.9px, transparent 2px);
  background-size: 9px 9px;
}
@media (max-width: 720px) { .pairs-with { grid-template-columns: 1fr; gap: 20px; } }
.pairs-with .pw-viz {
  aspect-ratio: 1; background: var(--paper); border: 3px solid var(--ink);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.pairs-with .pw-viz > svg { position: relative; z-index: 1; width: 80%; height: 80%; }
.pairs-with .pw-eyebrow {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; color: var(--red-deep); text-transform: uppercase;
  margin-bottom: 8px;
}
.pairs-with .pw-title {
  font-family: var(--font-display); font-size: 26px;
  line-height: 1; text-transform: uppercase; color: var(--navy); margin-bottom: 8px;
}
.pairs-with .pw-sub { font-size: 15px; color: var(--ink); line-height: 1.5; }
.pairs-with .pw-pn {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; color: var(--ink-soft); text-transform: uppercase;
  margin-top: 8px;
}

.related-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
@media (max-width: 900px) { .related-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .related-strip { grid-template-columns: 1fr; } }
.related-card {
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--navy);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: inherit;
  transition: box-shadow .12s ease;
}
.related-card:hover { box-shadow: 4px 4px 0 var(--red); }
.related-card.current {
  background-color: var(--navy);
  background-image: radial-gradient(rgba(243,238,226,.20) 2px, transparent 2.1px);
  background-size: 9px 9px;
}
.related-card .rc-num {
  font-family: var(--font-display); font-size: 22px; line-height: 1;
  color: var(--red); width: 40px; flex-shrink: 0;
}
.related-card .rc-body { flex: 1; min-width: 0; }
.related-card .rc-title {
  font-family: var(--font-display); font-size: 18px; line-height: 1;
  text-transform: uppercase; color: var(--navy);
}
.related-card .rc-sub {
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; color: var(--ink-soft); text-transform: uppercase;
  margin-top: 5px;
}
.related-card.current .rc-num,
.related-card.current .rc-title,
.related-card.current .rc-sub { color: var(--paper); }

/* use cases → asks-list tiles with a red tag band */
.use-cases {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
@media (max-width: 800px) { .use-cases { grid-template-columns: 1fr; } }
.use-case {
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--navy);
  display: flex; flex-direction: column;
}
.use-case .uc-num {
  background: var(--red);
  color: var(--paper);
  border-bottom: 3px solid var(--ink);
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: .08em; line-height: 1.1;
  text-transform: uppercase;
  padding: 8px 16px 7px;
}
.use-case .uc-title {
  font-family: var(--font-display); font-size: 21px; line-height: 1.02;
  letter-spacing: .01em; text-transform: uppercase; color: var(--navy);
  padding: 15px 18px 6px;
}
.use-case .uc-sub { font-size: 15.5px; color: var(--ink); line-height: 1.5; padding: 0 18px 16px; }

/* ══ Broadside primitives (from the manifesto) ═══════════════════ */

/* masthead sunburst — one per page, hero only */
.burst {
  position: absolute;
  top: -215px; right: -175px;
  width: 700px; height: 700px;
  background: repeating-conic-gradient(from 0deg, var(--red) 0deg 5.2deg, transparent 5.2deg 10.4deg);
  /* masks read alpha only; ink keeps the file on the eight palette hexes */
  -webkit-mask-image: radial-gradient(circle closest-side, var(--ink) 12%, rgba(20,16,14,.35) 45%, transparent 72%);
  mask-image: radial-gradient(circle closest-side, var(--ink) 12%, rgba(20,16,14,.35) 45%, transparent 72%);
  opacity: .62;
  pointer-events: none;
  z-index: 0;
}

.mast-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: flex-end;
  margin-top: 8px;
}
.emblem { width: 176px; height: 176px; flex: none; display: block; margin: 0 auto; }
.emblem-cap {
  display: block; text-align: center;
  margin: 9px auto 0; max-width: 236px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--navy); line-height: 1.35;
}

/* numbered rail */
.stack { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 30px; }
.lam { display: contents; }
.rail {
  grid-column: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative;
}
.rail::before {
  content: ""; position: absolute; top: 0; bottom: -34px; left: 50%;
  width: 3px; margin-left: -1.5px; background: var(--ink);
}
.lam:last-child .rail::before { bottom: 0; }
.rail .disc {
  position: relative; z-index: 1;
  width: 52px; height: 52px; flex: none;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--ink);
  color: var(--paper);
  font-family: var(--font-display); font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 4px 4px 0 var(--navy);
}
.rail .tick {
  position: relative; z-index: 1;
  background: var(--paper);
  font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); text-align: center; line-height: 1.25;
  padding: 4px 0;
}
.rail-body { grid-column: 2; padding-bottom: var(--section); max-width: 64ch; min-width: 0; }
.rail-body.wide { max-width: none; }
.rail-body > h2 { margin: 2px 0 22px; }
.rail-body > p { margin: 0 0 1.1em; }

/* ledger */
.ledger {
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 9px 9px 0 var(--navy);
  margin: 6px 0 18px;
}
.ledger .row {
  display: grid; grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  border-bottom: 3px solid var(--ink);
}
.ledger .row:last-child { border-bottom: 0; }
.ledger .op {
  align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px;
  color: var(--paper);
  background-color: var(--navy);
  border-right: 3px solid var(--ink);
  padding: 14px 4px;
}
.ledger .rowbody { padding: 15px 18px; }
.ledger .fig {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 5.6vw, 50px);
  line-height: .98;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.ledger .fig .unit {
  display: inline-block;
  font-family: var(--font-body); font-weight: 800;
  font-size: max(10px, .3em); letter-spacing: .13em; text-transform: uppercase;
  color: var(--red-deep);
  margin-left: .7em; vertical-align: .36em;
}
.ledger .what {
  display: block; margin-top: 8px;
  font-size: 12.5px; line-height: 1.5; font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .005em;
}
.ledger .row.total {
  background-color: var(--red);
  background-image: radial-gradient(rgba(20,16,14,.15) 2px, transparent 2.1px);
  background-size: 9px 9px;
}
.ledger .row.total .op { background-color: var(--ink); }
.ledger .row.total .fig,
.ledger .row.total .fig .unit { color: var(--paper); }
.ledger .row.total .fig .unit { font-size: 15px; font-weight: 700; }
.ledger .row.total .what { color: var(--paper); font-size: 15px; font-weight: 700; }
.ledger-note {
  border-left: 9px solid var(--red);
  background-color: var(--paper-warm);
  background-image: radial-gradient(rgba(226,33,40,.16) 1.9px, transparent 2px);
  background-size: 9px 9px;
  padding: 15px 18px;
  font-size: 13px; line-height: 1.62; font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 1.3em;
}
.ledger-note b { color: var(--ink); font-weight: 800; }

/* shout panel */
.pull {
  margin: 30px 0;
  background-color: var(--navy);
  background-image: radial-gradient(rgba(243,238,226,.20) 2px, transparent 2.1px);
  background-size: 9px 9px;
  border: 3px solid var(--ink);
  box-shadow: 9px 9px 0 var(--red);
  padding: 24px 26px;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.5vw, 38px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .004em;
  text-transform: uppercase;
  color: var(--paper);
  text-wrap: balance;
}

/* sign-off headline */
.signoff {
  font-family: var(--font-display);
  font-size: clamp(38px, 8.4vw, 96px);
  line-height: .9;
  text-transform: uppercase;
  color: var(--red);
  text-shadow: 5px 5px 0 var(--navy);
  margin: 26px 0 0;
}

/* ── Motion: one punch on h1, nothing else animates ───────────── */

@media (prefers-reduced-motion: no-preference) {
  h1 { animation: punch .5s cubic-bezier(.2, 1.5, .4, 1) both; }
  @keyframes punch {
    from { transform: scale(.94); text-shadow: 0 0 0 var(--red); }
    to   { transform: scale(1); }
  }
}

/* ── Utility ───────────────────────────────────────────────────── */

.hairline-top { border-top: 3px solid var(--ink); padding-top: 28px; }
.kbd-mono { font-weight: 700; font-size: .85em; letter-spacing: .06em; color: var(--ink-soft); }
.flex-row { display: flex; align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-12 { margin-top: 12px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.muted { color: var(--ink-soft); }

/* ── Mobile ≤760px ─────────────────────────────────────────────── */

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .container-narrow, .container-mid { padding: 0 18px; }
  .burst { width: 440px; height: 440px; top: -170px; right: -190px; }
  .mast-grid { grid-template-columns: 1fr; align-items: flex-start; }
  .emblem { width: 124px; height: 124px; margin: 0; }
  .emblem-cap { margin: 9px 0 0; text-align: left; }
  .stack { grid-template-columns: 1fr; column-gap: 0; }
  .rail {
    grid-column: 1; flex-direction: row; align-items: center; gap: 12px;
    margin-bottom: 16px;
  }
  .rail::before { display: none; }
  .rail .disc { width: 44px; height: 44px; font-size: 20px; }
  .rail .tick { text-align: left; }
  .rail .tick br { display: none; }
  .rail-body { grid-column: 1; }
  .ledger .row { grid-template-columns: 52px minmax(0, 1fr); }
  .ledger .op { font-size: 16px; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-row dt, .spec-row .k { border-right: 0; border-bottom: 3px solid var(--ink); }
  .pdp-hero-body .quick-spec { grid-template-columns: 1fr; }
  .pdp-hero-body .quick-spec .qs { border-right: 0; border-bottom: 3px solid var(--ink); }
  .pdp-hero-body .quick-spec .qs:last-child { border-bottom: 0; }
}
