/* Site theme: slate + steel blue + silver, from the site's own "B" logo.
   Loaded after the engine stylesheets; overrides tokens and a few blocks. */
:root {
  --accent: #2b6689;          /* logo steel blue, darkened: white text 6.2:1 */
  --accent-hover: #245a7a;
  --accent-soft: #e7eef2;
  --focus: #2b6689;
  --slate: #1d2527;           /* logo background */
  --slate-2: #2b3437;
  --silver: #c4c1c7;          /* logo letter: 8.8:1 on slate */
  --steel: #5aa6c8;           /* logo edge: 5.7:1 on slate */
  --hdr-bg: var(--slate);
  --hdr-ink: #fff;
  --hdr-line: #3a4549;
  --radius: 4px;
}

/* header: dark bar like the logo tile, search field stays white */
.hdr { border-bottom: 0; }
.hdr__bar { padding-block: 10px; }
.hdr__phone { color: #fff; }
.hdr__phone .icon { color: var(--steel); }
.hdr .search__input { border-color: var(--slate); }
.hdr .search__btn { background: var(--accent); }
.hdr .search__btn:hover { background: #33769d; }
.hdr :focus-visible { outline-color: var(--steel); }
.nav { background: var(--slate-2); border-top: 0; }
.nav__link { color: var(--silver); font-size: 15px; }
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link[aria-current] { color: #fff; box-shadow: inset 0 -3px 0 var(--steel); }
.nav__link--all { color: #fff; font-weight: 700; }

/* home intro: continues the dark header, italic slant echoes the logo */
/* background: parts on a workshop shelf (theme/assets/hero-*.webp), darkened on the text side so
   white and silver text keep >= 7:1; on phones the text spans the photo, so the whole frame is darker */
.bk-hero { color: #fff; border-bottom: 4px solid var(--steel); background-color: var(--slate);
  background-image: linear-gradient(180deg, rgba(17, 23, 25, .78), rgba(17, 23, 25, .9)), url(hero-960.webp);
  background-size: cover; background-position: 72% 55%; background-repeat: no-repeat; }
@media (min-width: 880px) {
  .bk-hero { background-image: linear-gradient(90deg, rgba(17, 23, 25, .94) 0%, rgba(17, 23, 25, .82) 38%, rgba(17, 23, 25, .25) 68%, rgba(17, 23, 25, .1) 100%), url(hero-1920.webp);
    background-position: right 58%; }
}
.bk-hero__in { display: grid; gap: 14px; padding-block: 24px 28px; }
@media (min-width: 880px) { .bk-hero__in { padding-block: 56px 60px; } }
.bk-hero__kicker { color: var(--steel); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.bk-hero__title { font-size: clamp(24px, 2.6vw + 14px, 40px); line-height: 1.12; font-weight: 800; max-width: 22ch; letter-spacing: -0.01em; }
.bk-hero__title em { font-style: italic; color: var(--silver); }
.bk-hero .search { max-width: 760px; }
.bk-hero .search__input, .bk-hero .search__btn { height: 54px; font-size: 17px; }
.bk-hero .search__input { border-color: var(--slate); }
.bk-hero .search__btn { padding-inline: 24px; }
.bk-hero .search__btn:hover { background: #33769d; }
.bk-hero :focus-visible { outline-color: var(--steel); }
.bk-hero__hint { color: var(--silver); font-size: 14px; }
.bk-hero__hint .pn-eg { font: 600 14px var(--mono); color: #fff; }
.bk-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.bk-quick a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; color: #fff; text-decoration: none; font-weight: 650;
  background: rgba(29, 37, 39, .65); border: 1px solid #56656b; border-radius: var(--radius); transform: skewX(-8deg); transition: background-color .15s ease, border-color .15s ease; }
.bk-quick a > span { transform: skewX(8deg); }
.bk-quick a:hover { background: var(--slate-2); border-color: var(--steel); color: #fff; }
.bk-facts { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 6px 0 0; padding: 0; list-style: none; color: var(--silver); font-size: 15px; }
.bk-facts b { color: #fff; font-variant-numeric: tabular-nums; }

/* section headings get a short steel slash, like the logo's edge */
.h2::before { content: ""; display: inline-block; width: 10px; height: .8em; margin-right: 10px; background: var(--steel); transform: skewX(-18deg); vertical-align: -1px; }
.ftr__h::before, .req .h2::before { display: none; }

/* lists: price in ink, part numbers a touch bluer */
.pn-chip { background: #eef2f4; border-color: #d3dce0; }
.cgrid__item { border-left: 3px solid var(--line); }
.cgrid__item:hover { border-left-color: var(--steel); }

/* footer: slate bookend */
.ftr { background: var(--slate); color: #e6e8ea; border-top: 4px solid var(--steel); }
.ftr a { color: #fff; }
.ftr a:hover { color: var(--steel); }
.ftr .muted, .ftr__note, .ftr__copy, .ftr__h { color: #a9b4b9; }
.ftr__copy { border-top-color: #3a4549; }
