/* ============================================================
   BAQ ADDITIVE, LLC — spec-plate industrial design system
   Palette: asphalt / paper-white ink / signal yellow + steel
   All text uses solid colors — no transparency.
   ============================================================ */

:root {
  --bg: #0c0d0b;
  --bg-2: #101210;
  --panel: #161a14;
  --panel-2: #1b2018;
  --ink: #eceee6;
  --muted: #a3a89e;
  --faint: #6b7164;
  --accent: #ffc62b;
  --accent-deep: #e0a800;
  --accent-ink: #171207;
  --steel: #93a7b8;
  --line: #262b22;
  --line-hard: #31372b;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --wrap: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--accent-ink); }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

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

/* hazard stripe */
.hazard {
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0, var(--accent) 16px,
    var(--bg) 16px, var(--bg) 32px
  );
}
.hazard-thin {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0, var(--accent) 10px,
    var(--bg) 10px, var(--bg) 20px
  );
}

/* ================= TOP BAR ================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-2);
  border-bottom: 2px solid var(--accent);
}
.topbar-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: stretch;
  gap: 30px;
  height: 76px;
}
.tb-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tb-brand .plate {
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--cond);
  font-weight: 800;
  font-size: 21px;
  padding: 6px 13px;
  letter-spacing: .06em;
  position: relative;
}
.tb-brand .plate::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px dashed var(--accent-ink);
  pointer-events: none;
}
.tb-brand small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .24em;
  color: var(--faint);
  font-weight: 400;
}
.tb-nav {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}
.tb-nav a {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line);
}
.tb-nav a:hover { color: var(--ink); background: var(--panel); }
.tb-nav a.on {
  color: var(--accent);
  box-shadow: inset 0 -3px 0 var(--accent);
}
.tb-cta {
  align-self: center;
  background: var(--accent);
  color: var(--accent-ink) !important;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 24px;
  margin-left: 8px;
}
.tb-cta:hover { background: var(--accent-deep); }
.tb-toggle {
  display: none;
  align-self: center;
  background: none;
  border: 2px solid var(--line-hard);
  width: 46px; height: 46px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}
.tb-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }

/* ================= HERO ================= */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 79px, var(--line-soft, #1c201a) 79px, var(--line-soft, #1c201a) 80px),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, var(--line-soft, #1c201a) 79px, var(--line-soft, #1c201a) 80px);
}
.hero-in {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px 36px 0;
}
.hero-code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-code::before {
  content: "";
  width: 48px; height: 2px;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(54px, 9vw, 130px);
  line-height: .92;
  letter-spacing: -.005em;
  text-transform: uppercase;
  max-width: 1000px;
}
.hero h1 .hl {
  color: var(--accent);
  position: relative;
}
.hero-lede {
  margin-top: 36px;
  max-width: 640px;
  font-size: 18.5px;
  color: var(--muted);
}
.hero-cta { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--cond);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 18px 38px;
  background: var(--accent);
  color: var(--accent-ink);
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-deep); color: var(--accent-ink); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line-hard);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; transform: translateY(-2px); }

/* hero spec strip */
.hero-specs {
  position: relative;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--line-hard);
  border-bottom: 0;
  background: var(--panel);
}
.hero-cell {
  padding: 26px 30px;
  border-right: 1px solid var(--line);
}
.hero-cell:last-child { border-right: 0; }
.hero-cell .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
  display: block;
  margin-bottom: 8px;
}
.hero-cell .v {
  font-family: var(--cond);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-cell .v i { color: var(--accent); font-style: normal; }

/* ================= SECTIONS ================= */
.sect { border-bottom: 1px solid var(--line); padding: 92px 0; position: relative; }
.sect-head {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  margin-bottom: 56px;
}
.plate-no {
  background: var(--panel);
  border: 2px solid var(--line-hard);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.plate-no::before, .plate-no::after {
  content: "";
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--faint);
  top: 5px;
}
.plate-no::before { left: 5px; }
.plate-no::after { right: 5px; }
.sect-head h2 {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 66px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.sect-head h2 em { color: var(--accent); font-style: normal; }
.sect-head .sub {
  margin-left: auto;
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
  padding-top: 8px;
}

/* ================= DIVISION INDEX (homepage) ================= */
.divindex { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--line-hard); }
.divrow {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 30px 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .2s ease;
  align-items: center;
  gap: 24px;
}
.divrow:nth-child(odd) { border-right: 1px solid var(--line); }
.divrow:nth-last-child(-n+2) { border-bottom: 0; }
.divrow:hover { background: var(--panel-2); }
.divrow .divnum {
  font-family: var(--cond);
  font-weight: 800;
  font-size: 40px;
  color: var(--line-hard);
  line-height: 1;
  transition: color .2s ease;
}
.divrow:hover .divnum { color: var(--accent); }
.divrow h3 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.divrow p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.divrow .cnt {
  position: absolute;
  top: 12px; right: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--steel);
}

/* ================= RATING PLATES (stats) ================= */
.ratings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rplate {
  background: var(--panel);
  border: 2px solid var(--line-hard);
  padding: 36px 30px 30px;
  position: relative;
}
.rplate::before, .rplate::after,
.rplate .rv2::before, .rplate .rv2::after { /* rivets */
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line-hard);
  border: 1px solid var(--faint);
}
.rplate::before { top: 8px; left: 8px; }
.rplate::after { top: 8px; right: 8px; }
.rplate .rv2::before { bottom: 8px; left: 8px; }
.rplate .rv2::after { bottom: 8px; right: 8px; }
.rplate b {
  font-family: var(--cond);
  font-weight: 800;
  font-size: 62px;
  line-height: 1;
  display: block;
}
.rplate b i { color: var(--accent); font-style: normal; }
.rplate span {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ================= CARDS ================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  background: var(--panel);
  border: 2px solid var(--line-hard);
  border-top: 5px solid var(--accent);
  padding: 34px 30px 38px;
  transition: border-color .2s ease, transform .2s ease;
}
.tcard:hover { border-color: var(--accent); transform: translateY(-4px); }
.tcard .sku {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--steel);
  display: block;
  margin-bottom: 20px;
}
.tcard h3 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 27px;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.tcard p { color: var(--muted); font-size: 14.5px; }
.tcard .meta {
  display: block;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  border-top: 1px dashed var(--line-hard);
  padding-top: 16px;
}

/* ================= SPLIT ================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.prose p { color: var(--muted); margin-bottom: 20px; }
.prose p strong { color: var(--ink); font-weight: 700; }

/* ================= SPEC SHEET ================= */
.sheet { border: 2px solid var(--line-hard); background: var(--panel); }
.sheet-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line);
}
.sheet-row:last-child { border-bottom: 0; }
.sheet-row .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 19px 26px;
  border-right: 1px solid var(--line);
  background: var(--bg-2);
}
.sheet-row .v { padding: 19px 26px; font-size: 15px; }
.sheet-row .v a { color: var(--accent); }
.sheet-row .v a:hover { color: var(--ink); }

/* ================= CATALOG (products) ================= */
.catalog { border-top: 2px solid var(--line-hard); }
.catg { border-bottom: 2px solid var(--line-hard); }
.catg-head {
  width: 100%;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 28px;
  text-align: left;
  padding: 30px 10px;
}
.catg-head .divtag {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 8px 14px;
  white-space: nowrap;
}
.catg-head h3 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 31px;
  text-transform: uppercase;
  letter-spacing: .04em;
  flex: 1;
}
.catg-head .n {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.catg-head .pm {
  font-size: 26px;
  color: var(--accent);
  font-weight: 300;
  transition: transform .25s ease;
  width: 34px;
  text-align: center;
}
.catg.open .catg-head .pm { transform: rotate(45deg); }
.catg-body { display: none; padding: 4px 10px 44px 10px; }
.catg.open .catg-body { display: block; }
.catg-body .desc {
  color: var(--muted);
  max-width: 780px;
  margin-bottom: 28px;
  font-size: 15px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  border: 1px solid var(--line-hard);
  background: var(--panel);
  padding: 9px 15px;
  transition: border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ================= PROCESS TRACK ================= */
.track { display: grid; grid-template-columns: repeat(5, 1fr); border: 2px solid var(--line-hard); }
.tstep {
  padding: 34px 26px 40px;
  border-right: 1px solid var(--line);
  position: relative;
}
.tstep:last-child { border-right: 0; }
.tstep::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 5px; width: 100%;
  background: var(--line-hard);
}
.tstep:hover::after { background: var(--accent); }
.tstep .ph {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--steel);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.tstep h3 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.tstep p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.tstep .stepno {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 30px;
  color: var(--line-hard);
}

/* ================= CALLOUT ================= */
.callout {
  border: 2px solid var(--accent);
  padding: 44px 42px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
  position: relative;
}
.callout::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0, var(--accent) 16px, var(--bg) 16px, var(--bg) 32px);
}
.callout b { color: var(--accent); font-weight: 800; }

/* ================= FORM ================= */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 2px solid var(--line-hard);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 15px 18px;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 150px; resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 12.5px; color: var(--faint); margin-top: 16px; font-family: var(--mono); }

/* ================= LEGAL ================= */
.legal { max-width: 860px; }
.legal h2 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 34px;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 56px 0 16px;
  padding-top: 40px;
  border-top: 2px solid var(--line-hard);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal h3 { font-size: 16px; margin: 26px 0 10px; font-weight: 800; }
.legal p { color: var(--muted); margin-bottom: 15px; font-size: 15px; }
.legal ul { margin: 0 0 15px 22px; color: var(--muted); font-size: 15px; }
.legal li { margin-bottom: 7px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 700; }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--ink); }
.stamp {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 2px solid var(--line-hard);
  padding: 10px 20px;
  margin-bottom: 46px;
}

/* ================= PAGE HEAD ================= */
.pagehead { padding: 110px 0 76px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 32px;
}
.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--accent); }
.pagehead h1 {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 100px);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.pagehead h1 em { color: var(--accent); font-style: normal; }
.pagehead .lede { margin: 32px 0 0; max-width: 680px; color: var(--muted); font-size: 18px; }

/* ================= CTA ================= */
.cta-band { padding: 96px 0; }
.cta-band h2 {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: .94;
  text-transform: uppercase;
}
.cta-band h2 em { color: var(--accent); font-style: normal; }
.cta-band p { color: var(--muted); max-width: 580px; margin: 30px 0 44px; font-size: 16.5px; }

/* ================= FOOTER ================= */
.foot { background: var(--bg-2); }
.foot-hazard { height: 14px; background: repeating-linear-gradient(-45deg, var(--accent) 0, var(--accent) 16px, var(--bg-2) 16px, var(--bg-2) 32px); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding: 66px 0 50px;
}
.foot-word {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(42px, 4.4vw, 60px);
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.foot-word span { color: var(--accent); }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 340px; }
.foot-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
  margin-bottom: 20px;
}
.foot-col a, .foot-col p { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.foot-col a:hover { color: var(--accent); }
.foot-col p b {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.foot-base {
  border-top: 1px solid var(--line);
  padding: 24px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.foot-base a { color: var(--faint); margin-left: 20px; }
.foot-base a:hover { color: var(--accent); }

/* ================= REVEAL ================= */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .divindex { grid-template-columns: 1fr; }
  .divrow:nth-child(odd) { border-right: 0; }
  .divrow:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .divrow:last-child { border-bottom: 0; }
  .ratings { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr 1fr; }
  .tstep { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sect-head { flex-wrap: wrap; }
  .sect-head .sub { margin-left: 0; }
}
@media (max-width: 860px) {
  .wrap, .topbar-in, .hero-in { padding-left: 20px; padding-right: 20px; }
  .tb-nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform .35s ease;
    z-index: 90;
    gap: 0;
  }
  .tb-nav.open { transform: none; }
  .tb-nav a {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 36px;
    font-size: 26px;
  }
  .tb-nav a.on { box-shadow: none; }
  .tb-cta { display: none; }
  .tb-toggle { display: flex; }
  .hero-specs { grid-template-columns: 1fr 1fr; }
  .hero-cell:nth-child(2) { border-right: 0; }
  .hero-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .track { grid-template-columns: 1fr; }
  .sect { padding: 64px 0; }
  .frow { grid-template-columns: 1fr; }
  .sheet-row { grid-template-columns: 1fr; }
  .sheet-row .k { border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; }
  .catg-head { gap: 16px; }
  .catg-head .n { display: none; }
}
