/* ==========================================================================
   The public site's one stylesheet (static base v2).
   Kit tokens at :root, then the chrome, the bands, the catalog, the pages.
   Posture: near-black bands, heavy Oswald, hard rules, stencil numerals,
   more black than paper. Radius 0 everywhere except chips (4px) and the
   language pill (999px). No inline styles anywhere (CSP without unsafe-inline).
   ========================================================================== */

@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap; src: url(/assets/fonts/oswald-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* --- COLOR: neutrals (warm) -------------------------------------------- */
  --ink-900: #0E1116;
  --ink-800: #1A1F26;
  --ink-700: #2A3038;
  --ink-600: #424A54;
  --ink-500: #6B7280;
  --ink-400: #9AA1A9;
  --ink-300: #C9CCD1;
  --ink-200: #E4E5E8;
  --ink-100: #F1F1EF;
  --ink-50:  #F8F7F4;
  --paper:   #FFFFFF;

  /* --- COLOR: brand ------------------------------------------------------ */
  --navy-900: #0B1C2C;
  --navy-800: #102840;
  --navy-700: #173653;
  --navy-600: #224A6E;

  --yellow-500: #F5B301;
  --yellow-600: #D99A00;
  --yellow-400: #FFC534;
  --yellow-100: #FFF6D9;

  --brass-500: #9C7A3E;
  --steel-500: #5C6770;

  /* --- COLOR: semantic --------------------------------------------------- */
  --success: #2E7D4A;
  --success-tint: #E6F1EA;
  --warning: #C07A00;
  --danger:  #B3261E;
  --info:    #1F5D8C;

  /* --- COLOR: roles ------------------------------------------------------ */
  --fg-1: var(--ink-900);
  --fg-2: var(--ink-600);
  --fg-3: var(--ink-500);
  --fg-4: var(--ink-400);
  --fg-on-dark: #F4F4F1;
  --fg-on-dark-muted: #9BA6B2;

  --bg-page: var(--ink-50);
  --bg-surface: var(--paper);
  --bg-surface-2: var(--ink-100);
  --bg-dark: var(--navy-900);

  --border-1: var(--ink-200);
  --border-2: var(--ink-300);
  --border-strong: var(--ink-700);

  --accent: var(--yellow-500);
  --accent-hover: var(--yellow-600);
  --accent-fg: var(--ink-900);

  /* --- B: the desk's dark surfaces and lines (derived, not new colors) ---- */
  --desk: var(--ink-900);
  --desk-2: var(--ink-800);
  --desk-navy: var(--navy-900);
  --line-dark: rgba(244, 244, 241, 0.10);
  --line-dark-strong: rgba(244, 244, 241, 0.32);
  --scrim: rgba(14, 17, 22, 0.78);
  --hazard: repeating-linear-gradient(45deg, var(--yellow-500) 0 10px, transparent 10px 20px);

  /* --- TYPE -------------------------------------------------------------- */
  --font-display: "Oswald", "Arial Narrow", "Helvetica Condensed", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 20px;
  --fs-xl: 24px;
  --fs-2xl: 30px;
  --fs-3xl: 38px;
  --fs-4xl: 48px;
  --fs-5xl: 64px;
  --fs-6xl: 88px;

  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-body: 1.55;

  --tracking-wide: 0.04em;
  --tracking-wider: 0.12em;

  /* --- SPACE / LAYOUT ---------------------------------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --container-max: 1280px;
  --gutter: 24px;

  /* --- RADII / SHADOWS / MOTION ------------------------------------------ */
  --radius-0: 0;
  --radius-1: 2px;
  --radius-2: 4px;
  --radius-round: 999px;

  --shadow-2: 0 2px 0 rgba(11, 28, 44, 0.08), 0 1px 2px rgba(11, 28, 44, 0.06);
  --shadow-3: 0 4px 0 rgba(11, 28, 44, 0.10), 0 2px 8px rgba(11, 28, 44, 0.08);
  --shadow-focus: 0 0 0 3px rgba(245, 179, 1, 0.4);

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 120ms;
  --dur: 200ms;

  --z-nav: 50;
  --z-modal: 100;
  --z-skip: 200;

  color-scheme: light;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--fg-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; }
a { color: var(--navy-700); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 var(--space-4); }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--navy-800); outline-offset: 2px; }
.is-dark :focus-visible { outline-color: var(--yellow-400); }

.container {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-4); top: -120px; z-index: var(--z-skip);
  background: var(--yellow-500); color: var(--ink-900);
  padding: var(--space-3) var(--space-4); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Icons: inline stroke SVG, 2px (1.5px at 40px+) */
.icon {
  width: 20px; height: 20px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--16 { width: 16px; height: 16px; }

/* The chevron device — the logo's cluster as a symbol, never a second logo */
.chev { fill: currentColor; stroke: none; height: auto; }

.part-no {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}
.mono { font-family: var(--font-mono); }

/* Owner-supplied slot: visible, bracketed, never styled as real content */
.placeholder {
  font-family: var(--font-mono);
  font-size: 0.86em;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--yellow-100);
  color: var(--ink-900);
  padding: 1px 6px;
  white-space: normal;
}

/* ==========================================================================
   Buttons + links
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 22px;
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius-0);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--primary { background: var(--yellow-500); border-color: var(--yellow-500); color: var(--ink-900); }
.btn--primary:hover { background: var(--yellow-600); border-color: var(--yellow-600); }
.btn--dark { background: var(--ink-900); border-color: var(--ink-900); color: var(--fg-on-dark); }
.btn--dark:hover { background: var(--ink-700); border-color: var(--ink-700); }
.btn--ghost { background: transparent; border-color: var(--ink-900); color: var(--ink-900); }
.btn--ghost:hover { background: var(--ink-900); color: var(--fg-on-dark); }
.btn--ghost-light { background: transparent; border-color: var(--line-dark-strong); color: var(--fg-on-dark); }
.btn--ghost-light:hover { background: var(--fg-on-dark); border-color: var(--fg-on-dark); color: var(--ink-900); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* The WhatsApp slot: present in the design, inert until the owner gives the number */
.btn--inert {
  cursor: not-allowed;
  background: transparent;
  border: 2px dashed var(--ink-500);
  color: var(--fg-on-dark-muted);
  text-transform: none; letter-spacing: 0; font-weight: 600;
  flex-wrap: wrap; row-gap: 2px; padding: 6px 16px;
}
.btn--inert:active { transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-900); text-decoration: underline; text-decoration-color: var(--yellow-500);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.is-dark .link-arrow { color: var(--fg-on-dark); }
.link-arrow:hover { color: var(--navy-700); }
.is-dark .link-arrow:hover { color: var(--yellow-400); }

/* ==========================================================================
   Stencil kicker, section frame, hazard rail
   ========================================================================== */

.stencil {
  display: flex; align-items: center; gap: var(--space-3);
  margin: 0 0 var(--space-4);
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-900);
}
.stencil__num {
  display: inline-block; min-width: 3.2ch; text-align: center;
  padding: 1px 6px; border: 2px solid currentColor; line-height: 1.35;
}
.stencil__label { box-shadow: inset 0 -4px 0 var(--yellow-500); }
.is-dark .stencil { color: var(--yellow-400); }
.is-dark .stencil__label { box-shadow: none; color: var(--fg-on-dark); }

.section { padding: var(--space-20) 0; }
.section--desk { background: var(--desk); color: var(--fg-on-dark); }
.section--navy { background: var(--desk-navy); color: var(--fg-on-dark); }
.section--paper { background: var(--ink-50); }
.section--panel { background: var(--ink-100); }
.section--white { background: var(--paper); }

.section__head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-6) var(--space-12); align-items: end;
  margin-bottom: var(--space-10);
}
.section__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.005em;
  text-transform: uppercase; color: inherit;
}
.section__lead { margin: 0; color: var(--fg-2); font-size: 17px; }
.is-dark .section__lead { color: var(--fg-on-dark-muted); }
.section__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-8); }

.hazard { position: relative; }
.hazard::before, .hazard::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8px;
  background: var(--hazard); pointer-events: none;
}
.hazard::before { left: 0; }
.hazard::after { right: 0; }

/* ==========================================================================
   Chrome — top strip, header bar (logo plate LARGE), nav bar
   ========================================================================== */

.site-header { position: relative; z-index: var(--z-nav); background: var(--desk); color: var(--fg-on-dark); }

.topbar { background: var(--desk); border-bottom: 1px solid var(--line-dark); font-size: var(--fs-xs); color: var(--fg-on-dark-muted); }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px var(--space-6); padding-top: 8px; padding-bottom: 8px; }
.topbar__pos { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.topbar__lead { color: var(--yellow-400); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.topbar__sep { color: var(--ink-500); }
.topbar__right { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--space-4); }
.topbar__emerg { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-on-dark); font-weight: 600; }
.topbar__hours { color: var(--fg-on-dark-muted); }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-500); }

/* EN/ES — the one allowed pill */
.lang { display: inline-flex; border: 1px solid var(--line-dark-strong); border-radius: var(--radius-round); padding: 2px; }
.lang__btn {
  position: relative; min-width: 44px; min-height: 30px; padding: 0 10px; border-radius: var(--radius-round);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--fg-on-dark-muted);
}
.lang__btn::after { content: ""; position: absolute; inset: -8px 0; }
.lang__btn[aria-pressed="true"] { background: var(--yellow-500); color: var(--ink-900); }
.lang__btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; }

.site-header__bar { background: var(--desk); border-bottom: 1px solid var(--line-dark); }
.site-header__bar-inner { display: flex; align-items: center; gap: var(--space-6); min-height: 76px; padding-top: 12px; padding-bottom: 12px; }
.logo-link { display: inline-flex; flex: 0 0 auto; }
.brand-logo { height: 56px; width: auto; mix-blend-mode: lighten; }

.site-header__contact { display: none; margin: 0 0 0 auto; padding: 0; list-style: none; }
.site-header__contact a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--fg-on-dark); text-decoration: none; font-size: 15px; font-weight: 600;
}
.site-header__contact a:hover { color: var(--yellow-400); }
.site-header__contact .icon { color: var(--yellow-500); }
.site-header__contact .mono { letter-spacing: 0.02em; }

.site-header__cta { display: none; gap: 10px; align-items: center; }
.site-header__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  color: var(--fg-on-dark); border: 1px solid transparent;
}
.icon-btn:hover { color: var(--yellow-400); border-color: var(--line-dark); }
.icon-btn .icon { width: 22px; height: 22px; }

.site-nav { display: none; background: var(--desk-2); border-bottom: 1px solid var(--line-dark); }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 0 26px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: block; padding: 18px 0 15px; border-bottom: 3px solid transparent;
  color: var(--fg-on-dark); text-decoration: none;
  font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-link:hover { color: var(--yellow-400); border-bottom-color: var(--yellow-500); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--yellow-400); border-bottom-color: var(--yellow-500); }

.search-trigger {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-dark-strong); color: var(--fg-on-dark);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.search-trigger:hover { border-color: var(--yellow-500); color: var(--yellow-400); }
.search-trigger .icon { color: var(--yellow-500); width: 18px; height: 18px; }

@media (min-width: 1024px) {
  .brand-logo { height: 84px; }
  .site-header__bar-inner { min-height: 116px; gap: var(--space-8); }
  .site-header__contact { display: grid; gap: 0; }
  .site-header__cta { display: flex; }
  .site-header__tools { display: none; }
  .site-nav { display: block; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-nav__list { gap: 0 18px; }
  .nav-link { font-size: 12px; }
}
@media (max-width: 599px) {
  .topbar__hours { display: none; }
  .brand-logo { height: 52px; }
}

/* ==========================================================================
   Mobile menu (hooks: #mobile-menu, [data-menu-open], [data-menu-close])
   ========================================================================== */

.mobile-menu { position: fixed; inset: 0; z-index: var(--z-modal); }
.mobile-menu__backdrop { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity 250ms var(--ease-out); }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 90vw);
  display: flex; flex-direction: column; overflow-y: auto;
  background: var(--desk); color: var(--fg-on-dark); border-left: 4px solid var(--yellow-500);
  transform: translateX(100%); transition: transform 250ms var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line-dark); }
.mobile-menu__head .brand-logo { height: 44px; }
.mobile-menu__search { margin: 12px 16px 4px; justify-content: flex-start; min-height: 48px; }
.mobile-menu__nav { display: flex; flex-direction: column; padding: 4px 0; }
.mobile-menu__link {
  display: flex; align-items: center; min-height: 52px; padding: 0 20px;
  border-bottom: 1px solid var(--line-dark); color: var(--fg-on-dark); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; text-transform: uppercase;
}
.mobile-menu__link:hover { color: var(--yellow-400); }
.mobile-menu__link[aria-current="page"] { color: var(--yellow-400); box-shadow: inset 4px 0 0 var(--yellow-500); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 10px; padding: 20px 16px 24px; border-top: 1px solid var(--line-dark); }
.mobile-menu__line { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--fg-on-dark); text-decoration: none; font-size: 15px; }
.mobile-menu__line .icon { color: var(--yellow-500); }
.mobile-menu__meta { margin: 4px 0 0; font-size: 13px; color: var(--fg-on-dark-muted); }

/* ==========================================================================
   Search overlay (hooks: #search-overlay, [data-search-open], [data-search-close],
   .search-overlay__input, ul#search-results created at runtime)
   ========================================================================== */

.search-overlay { position: fixed; inset: 0; z-index: var(--z-modal); }
.search-overlay__backdrop { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity 250ms var(--ease-out); }
.search-overlay__panel {
  position: relative; max-width: 800px; margin: 0 auto; padding: 20px var(--gutter) 16px;
  background: var(--desk); color: var(--fg-on-dark); border-bottom: 4px solid var(--yellow-500);
  opacity: 0; transform: translateY(-12px); transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.search-overlay.is-open .search-overlay__backdrop { opacity: 1; }
.search-overlay.is-open .search-overlay__panel { opacity: 1; transform: none; }
.search-overlay__form { display: flex; align-items: center; gap: var(--space-3); padding: 0 4px 0 14px; background: var(--desk-2); border: 1px solid var(--ink-600); }
.search-overlay__form:focus-within { border-color: var(--yellow-500); }
.search-overlay__form > .icon { color: var(--yellow-500); }
.search-overlay__input {
  flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; color: var(--fg-on-dark);
  font-family: var(--font-mono); font-size: var(--fs-md); outline: none;
}
.search-overlay__input::placeholder { color: var(--fg-on-dark-muted); font-family: var(--font-body); font-size: 15px; }
.search-overlay__close { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--fg-on-dark); }
.search-overlay__close:hover { color: var(--yellow-400); }
.search-overlay__hint { margin: 10px 0 0; font-size: 13px; color: var(--fg-on-dark-muted); }

.search-results { list-style: none; margin: 12px 0 0; padding: 0; max-height: 60vh; overflow-y: auto; border-top: 1px solid var(--line-dark); }
.search-results__link {
  display: flex; align-items: center; gap: var(--space-3); min-height: 60px; padding: 8px;
  border-bottom: 1px solid var(--line-dark); color: var(--fg-on-dark); text-decoration: none;
}
.search-results__link:hover, .search-results__item.is-active .search-results__link { background: var(--desk-2); box-shadow: inset 3px 0 0 var(--yellow-500); }
.search-results__img { position: relative; flex: 0 0 auto; width: 56px; height: 42px; background: var(--desk-2); display: grid; place-items: center; color: var(--yellow-500); }
.search-results__img .chev { width: 30px; opacity: 0.5; }
.search-results__text { display: flex; flex-direction: column; min-width: 0; }
.search-results__title { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.search-results__title .part-no { color: var(--yellow-400); font-size: 15px; }
.search-results__name { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; }
.search-results__meta { font-size: 12px; color: var(--fg-on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-results__empty { padding: 16px 8px; color: var(--fg-on-dark-muted); }

/* ==========================================================================
   Page header (inner pages) + breadcrumb
   ========================================================================== */

.page-header { background: var(--desk); color: var(--fg-on-dark); padding: 56px 0 52px; border-bottom: 1px solid var(--line-dark); }
.page-header__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6) var(--space-12); align-items: end; }
.page-header__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow-400); }
.page-header__title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.6vw, 88px);
  line-height: 0.95; letter-spacing: -0.005em; text-transform: uppercase; margin: 0 0 18px;
}
.page-header__lead { margin: 0; max-width: 760px; font-size: var(--fs-md); color: var(--fg-on-dark-muted); }

.breadcrumb { margin-bottom: 22px; }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumb__list a { color: var(--fg-on-dark); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.breadcrumb__list a:hover { color: var(--yellow-400); }
.breadcrumb__sep { color: var(--ink-500); }
.breadcrumb__current { color: var(--yellow-400); }
.breadcrumb__current .part-no { text-transform: none; }

/* Count plate — set-derived count, never a stock quantity */
.count-plate {
  display: inline-flex; align-items: center; gap: var(--space-4);
  padding: 14px 20px; background: var(--desk); color: var(--fg-on-dark);
  border-left: 4px solid var(--yellow-500); text-decoration: none;
}
.count-plate__num { font-family: var(--font-mono); font-weight: 700; font-size: 46px; line-height: 1; color: var(--yellow-400); }
.count-plate__label { max-width: 15ch; font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: 0.12em; text-transform: uppercase; }
.is-dark .count-plate { background: var(--desk-2); }

/* ==========================================================================
   Home — hero, feature strip, mining band, catalog band, coverage, process,
   contact band
   ========================================================================== */

.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--desk); color: var(--fg-on-dark); }
.hero__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 48%; z-index: -2;
  background: var(--desk-navy); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__ghost { position: absolute; top: 50%; right: -6%; z-index: -1; width: auto; height: 420px; max-width: none; transform: translateY(-50%); color: var(--yellow-500); opacity: 0.08; }
.hero__slot {
  position: absolute; right: var(--gutter); bottom: 18px; margin: 0; padding: 6px 10px;
  border: 1px dashed var(--ink-500); color: var(--fg-on-dark-muted);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
}
.hero__inner { padding-top: 76px; padding-bottom: 84px; }
.hero__copy-col { max-width: 820px; }
.hero__kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-on-dark-muted);
}
.hero__kicker::before { content: ""; flex: 0 0 30px; height: 3px; background: var(--yellow-500); }
.hero__title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 8vw, 104px);
  line-height: 0.9; letter-spacing: -0.01em; text-transform: uppercase; color: var(--fg-on-dark);
}
.hero__title span { display: block; }
.hero__title .hero__title-accent { color: var(--yellow-500); }
.hero__rule { width: 92px; height: 5px; background: var(--yellow-500); margin: 30px 0 26px; }
.hero__lead { margin: 0 0 12px; font-size: var(--fs-md); font-weight: 700; color: var(--fg-on-dark); }
.hero__text { margin: 0 0 24px; max-width: 620px; font-size: 17px; color: var(--fg-on-dark-muted); }
.hero__years {
  display: inline-block; margin: 0 0 30px; padding: 6px 0 6px 14px; border-left: 4px solid var(--yellow-500);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-md); letter-spacing: 0.02em; text-transform: uppercase;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__count {
  display: inline-flex; align-items: baseline; gap: 10px; margin-top: 30px; min-height: 44px;
  color: var(--fg-on-dark); text-decoration: none; font-weight: 600;
  border-bottom: 2px solid var(--yellow-500); padding-bottom: 4px;
}
.hero__count:hover { color: var(--yellow-400); }
.hero__count-num { font-family: var(--font-mono); font-weight: 700; font-size: 28px; color: var(--fg-on-dark); }

.features { background: var(--desk-2); color: var(--fg-on-dark); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.feature { display: flex; align-items: center; gap: var(--space-4); min-height: 96px; padding: 20px 24px; border-right: 1px solid var(--line-dark); }
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature .icon { width: 30px; height: 30px; color: var(--yellow-500); }
.feature__title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; }
.feature__sub { display: block; font-size: 13px; color: var(--fg-on-dark-muted); }

.components {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  list-style: none; margin: 0; padding: 0; background: var(--line-dark); border: 1px solid var(--line-dark);
}
.component {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-5);
  min-height: 136px; height: 100%; padding: 20px; background: var(--desk-navy); color: var(--fg-on-dark); text-decoration: none;
  transition: background var(--dur) var(--ease-out);
}
.component:hover { background: var(--navy-800); color: var(--fg-on-dark); }
.component__name { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.1; text-transform: uppercase; }
.component__name .chev { flex: 0 0 auto; width: 26px; margin-top: 0.42em; color: var(--yellow-500); }
.component__count { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-on-dark-muted); }
.component__count b { font-size: 20px; color: var(--yellow-400); margin-right: 6px; }
.component:hover .component__count { color: var(--fg-on-dark); }

.catalog-band__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-8); }
.catalog-band__side { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }

.coverage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; background: var(--line-dark); border: 1px solid var(--line-dark); }
.coverage__cell {
  display: flex; flex-direction: column; gap: var(--space-3); height: 100%; min-height: 250px; padding: 28px;
  background: var(--desk); color: var(--fg-on-dark); text-decoration: none; transition: background var(--dur) var(--ease-out);
}
a.coverage__cell:hover { background: var(--desk-2); color: var(--fg-on-dark); }
.coverage__num { font-family: var(--font-mono); font-weight: 700; font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--yellow-500); }
.coverage__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xl); line-height: 1.1; text-transform: uppercase; }
.coverage__text { margin: 0; font-size: 15px; color: var(--fg-on-dark-muted); }
.coverage__meta { margin-top: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-on-dark-muted); }
.coverage__meta b { font-size: 18px; color: var(--yellow-400); margin-right: 6px; }
.coverage__cell--alert { background: var(--desk-2); box-shadow: inset 0 4px 0 var(--danger); }
.coverage__cell--alert .coverage__num { -webkit-text-stroke-color: var(--fg-on-dark-muted); }
.coverage__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; color: var(--fg-on-dark); font-family: var(--font-mono); font-weight: 700; text-decoration: none; }
.coverage__tel .icon { color: var(--yellow-500); }
.coverage__tel:hover { color: var(--yellow-400); }

.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-top: 4px solid var(--ink-900); }
.process__step { padding: 22px 22px 8px 0; }
.process__step + .process__step { padding-left: 22px; border-left: 1px solid var(--border-2); }
.process__num { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 34px; line-height: 1; color: var(--ink-900); }
.process__title { display: block; margin: 14px 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.15; text-transform: uppercase; }
.process__text { display: block; font-size: 14px; color: var(--fg-2); }
.process-note { margin: var(--space-8) 0 0; padding: 14px 18px; border-left: 4px solid var(--yellow-500); background: var(--paper); font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line-dark); border: 1px solid var(--line-dark); }
.contact-cell { margin: 0; padding: 22px 24px; background: var(--desk); }
.contact-cell dt { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow-400); }
.contact-cell dt .icon { width: 16px; height: 16px; }
.contact-cell dd { margin: 0; font-size: var(--fs-base); color: var(--fg-on-dark); }
.contact-cell a { color: var(--fg-on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.contact-cell a:hover { color: var(--yellow-400); }

/* ==========================================================================
   Listing card (hooks: .product-grid > .product-cell > article.product-card)
   ========================================================================== */

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product-cell { display: flex; min-width: 0; }
.product-card {
  position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0;
  background: var(--paper); border: 1px solid var(--border-1); box-shadow: var(--shadow-2);
  transition: transform 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); } }
.product-card:has(:focus-visible) { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.product-card--featured { border-top: 4px solid var(--yellow-500); }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.product-card__media .grade { position: absolute; top: 8px; left: 8px; }
.product-card__media .stamp { position: absolute; left: 8px; bottom: 9px; }
.product-card__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 10px 10px 4px; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.product-card__title { font-size: inherit; font-weight: inherit; }
.product-card__title a { display: flex; flex-direction: column; gap: 3px; color: var(--ink-900); text-decoration: none; }
.product-card__title .part-no { font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
.product-card__name { font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 1.15; text-transform: uppercase; color: var(--ink-700); }
.product-card__title a:hover .product-card__name { text-decoration: underline; text-decoration-color: var(--yellow-500); text-decoration-thickness: 2px; }
.product-card__stock { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 12px; font-weight: 600; color: var(--success); }
.product-card__stock .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 0 10px; border-top: 1px solid var(--border-1); }
.product-card__id { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-3); }

.rq {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy-800); text-decoration: underline; text-decoration-color: var(--yellow-500);
  text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap;
}
.rq:hover { color: var(--ink-900); }

/* Photo placeholder — the chevron device + "photo pending"; never an image file */
.ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--desk-2); color: var(--fg-on-dark-muted);
}
.ph__chev { width: 38%; max-width: 132px; color: var(--yellow-500); opacity: 0.32; }
.ph__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }

/* Grade chips (4px — chips are the one rounded shape besides the pill) */
.grade {
  display: inline-block; padding: 3px 8px; border-radius: var(--radius-2);
  font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.grade--oem { background: var(--yellow-500); color: var(--ink-900); }
.grade--aftermarket { background: var(--ink-200); color: var(--ink-700); }
.grade--rebuilt { background: var(--navy-900); color: var(--fg-on-dark); box-shadow: inset 0 0 0 1px var(--line-dark-strong); }
.grade--used { background: var(--paper); color: var(--ink-700); box-shadow: inset 0 0 0 1px var(--ink-300); }

/* The SHELVED stamp — mono, 1.5px border, rotated -2deg */
.stamp {
  display: inline-block; padding: 2px 6px; border: 1.5px solid currentColor; transform: rotate(-2deg);
  font-family: var(--font-mono); font-weight: 700; font-size: 10px; line-height: 1.3; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.product-card__media .stamp { color: var(--fg-on-dark); background: var(--desk); }

@media (min-width: 720px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .product-card__body { padding: 14px 14px 6px; gap: 6px; }
  .product-card__foot { padding: 0 14px; }
  .product-card__title .part-no { font-size: 19px; }
  .product-card__name { font-size: 16px; }
  .product-card__meta { font-size: 11px; }
  .product-card__media .grade { top: 10px; left: 10px; }
  .product-card__media .stamp { left: 10px; bottom: 12px; font-size: 11px; }
}
@media (min-width: 1200px) {
  .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Catalog — his twelve categories, filters, toolbar, grid/table, empty state
   ========================================================================== */

.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; background: var(--ink-900); border: 1px solid var(--ink-900); }
.cat-tile {
  display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 168px; padding: 18px;
  background: var(--paper); color: var(--ink-900); text-decoration: none; transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.cat-tile:hover { background: var(--ink-50); box-shadow: inset 0 -4px 0 var(--yellow-500); color: var(--ink-900); }
.cat-tile__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); line-height: 1.1; text-transform: uppercase; }
.cat-tile__blurb { margin: 0; font-size: 13px; line-height: 1.5; color: var(--fg-2); }
.cat-tile__count { margin-top: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.cat-tile__count b { font-size: 16px; color: var(--ink-900); margin-right: 6px; }

.catalog { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.listings__main { min-width: 0; }

.filters__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; min-height: 48px; padding: 0 16px;
  background: var(--ink-900); color: var(--fg-on-dark); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.filters__toggle .icon { color: var(--yellow-500); }
.filters__toggle-count { font-family: var(--font-mono); color: var(--yellow-400); }
.filters__body { display: none; background: var(--paper); border: 1px solid var(--border-1); border-top: 4px solid var(--ink-900); }
.filters.is-open .filters__body { display: block; }
.filters__search { padding: 16px; }
.filters__search label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }

.accordion__item { border-top: 1px solid var(--border-1); }
.accordion__heading { font-size: inherit; }
.accordion__trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-900); text-align: left;
}
.accordion__trigger .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.accordion__item[data-state="closed"] .accordion__trigger .icon { transform: rotate(-90deg); }
.accordion__item[data-state="closed"] .accordion__content { display: none; }
.accordion__options { padding: 0 8px 10px; }
.accordion__option { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px; }
.accordion__option:hover { background: var(--ink-50); }
.accordion__option.is-empty { opacity: 0.5; }

.checkbox {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px;
  border: 2px solid var(--ink-700); border-radius: var(--radius-1); background: var(--paper); color: var(--yellow-500);
}
.checkbox[aria-checked="true"] { background: var(--ink-900); border-color: var(--ink-900); }
.checkbox[aria-checked="true"]::after {
  content: ""; width: 10px; height: 6px; margin-top: -2px;
  border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg);
}
.checkbox-label { flex: 1; min-width: 0; padding: 12px 0; font-size: var(--fs-sm); color: var(--ink-900); cursor: pointer; }
.checkbox-count { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }

.input {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--border-2); border-radius: var(--radius-1);
  background: var(--paper); color: var(--fg-1); font-family: var(--font-body); font-size: var(--fs-base); font-weight: 400;
  letter-spacing: 0; text-transform: none;
}
.input:focus { outline: none; border-color: var(--navy-900); box-shadow: var(--shadow-focus); }
.input::placeholder { color: var(--ink-400); }
textarea.input { height: auto; min-height: 128px; padding: 12px 14px; resize: vertical; }
.input--mono { font-family: var(--font-mono); }

.listings__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-4);
  padding: 0 0 14px; margin-bottom: var(--space-5); border-bottom: 2px solid var(--ink-900);
}
.listings__count { margin: 0; font-size: var(--fs-sm); color: var(--fg-2); }
.listings__count b { font-family: var(--font-mono); font-weight: 700; color: var(--ink-900); }
.listings__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.listings__sort-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.select {
  height: 44px; padding: 0 10px; border: 1px solid var(--border-2); border-radius: var(--radius-1);
  background: var(--paper); color: var(--ink-900); font-size: var(--fs-sm); font-weight: 600;
}
.select:focus { outline: none; border-color: var(--navy-900); box-shadow: var(--shadow-focus); }

.btn-clear {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-700);
  text-decoration: underline; text-underline-offset: 4px;
}
.btn-clear:hover { color: var(--ink-900); }

.empty { padding: 28px; background: var(--paper); border: 1px solid var(--border-1); border-left: 4px solid var(--yellow-500); }
.empty__title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xl); text-transform: uppercase; }
.empty p { color: var(--fg-2); }

.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip-row__label { margin-right: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-on-dark-muted); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px; border-radius: var(--radius-2);
  border: 1px solid var(--border-2); background: var(--paper); color: var(--ink-700); font-size: 13px; font-weight: 600; text-decoration: none;
}
.chip:hover { border-color: var(--ink-900); color: var(--ink-900); }
.chip b { font-family: var(--font-mono); font-weight: 700; color: var(--fg-3); }
.is-dark .chip { background: transparent; border-color: var(--line-dark-strong); color: var(--fg-on-dark); }
.is-dark .chip:hover { border-color: var(--yellow-500); color: var(--yellow-400); }
.is-dark .chip b { color: var(--fg-on-dark-muted); }
.chip[aria-current="page"] { background: var(--yellow-500); border-color: var(--yellow-500); color: var(--ink-900); }
.chip[aria-current="page"] b { color: var(--ink-900); }
.category-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line-dark); }
.category-chips .chip-row__label { margin: 0; }

.fastest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-10); align-items: start; }
.fastest__card { padding: 28px; background: var(--paper); border: 1px solid var(--border-1); border-top: 4px solid var(--ink-900); }
.fastest__card h3 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xl); text-transform: uppercase; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 15px; }
.checklist .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--success); }
.is-dark .checklist .icon { color: var(--yellow-500); }

@media (min-width: 1024px) {
  .catalog { grid-template-columns: 272px minmax(0, 1fr); gap: var(--space-8); align-items: start; }
  .filters__toggle { display: none; }
  .filters__body { display: block; }
}
@media (min-width: 1280px) {
  .catalog .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Product page — the spec sheet
   ========================================================================== */

.spec-head { background: var(--desk); color: var(--fg-on-dark); padding: 40px 0 48px; }
.spec-head__eyebrow { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow-400); }
.spec-head__pn { margin: 14px 0 8px; font-size: clamp(44px, 8.4vw, 104px); line-height: 1; color: var(--fg-on-dark); overflow-wrap: anywhere; }
.spec-head__name { margin: 0 0 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.4vw, 42px); line-height: 1.05; text-transform: uppercase; color: var(--fg-on-dark); }
.spec-head__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.spec-head--featured { box-shadow: inset 0 4px 0 var(--yellow-500); }
/* The hazard rail rides one navy band per page: headers that carry it turn navy. */
.page-header.hazard, .spec-head.hazard { background: var(--desk-navy); }
.spec-head .stamp { color: var(--yellow-400); font-size: 12px; }
.spec-head .grade { font-size: 11px; }

.spec-body { padding: 48px 0 var(--space-20); }
.spec-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: var(--space-10); align-items: start; }
.spec-media { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--border-1); }
.spec-media .ph__chev { width: 30%; }
.spec-media .ph__label { font-size: 12px; }
.spec-media img { display: block; width: 100%; height: auto; }
.spec-desc { margin-top: var(--space-8); }
.spec-desc h2, .spec-tags h2 {
  margin: 0 0 12px; padding-top: 14px; border-top: 2px solid var(--ink-900);
  font-family: var(--font-display); font-weight: 600; font-size: 22px; text-transform: uppercase;
}
.spec-desc p { color: var(--fg-2); font-size: 17px; }
.spec-tags { margin-top: var(--space-6); }

.facts { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--border-1); border-top: 0; }
.facts th {
  width: 38%; padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-1);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3);
}
.facts td { padding: 11px 16px; border-bottom: 1px solid var(--border-1); font-weight: 600; color: var(--ink-900); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts .part-no { font-size: var(--fs-md); }
.facts a { color: var(--navy-700); }
.facts__stock { display: inline-flex; align-items: center; gap: 8px; color: var(--success); }
.facts__stock .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.quote-card { margin-top: var(--space-6); padding: 26px; background: var(--desk); color: var(--fg-on-dark); border-top: 4px solid var(--yellow-500); }
.quote-card__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.quote-card__text { color: var(--fg-on-dark-muted); }
.quote-card__sub { margin: 18px 0 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow-400); }
.quote-card__actions { display: grid; gap: 10px; margin-top: var(--space-6); }
.quote-card__portal { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--fg-on-dark); font-weight: 600; }
.quote-card__portal .icon { color: var(--yellow-500); width: 18px; height: 18px; }
.quote-card .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote-card .checklist li { font-size: 14px; font-weight: 500; }

/* ==========================================================================
   Brands, shipping, about, contact, legal
   ========================================================================== */

.brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; background: var(--line-dark); border: 1px solid var(--line-dark); }
.brand-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; height: 100%; min-height: 96px; padding: 20px 16px;
  background: var(--desk); color: var(--fg-on-dark); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.1; text-transform: uppercase;
}
a.brand-tile:hover { background: var(--desk-navy); color: var(--yellow-400); }
.brand-tile__count { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; color: var(--fg-on-dark-muted); }
.brand-tile__count b { font-weight: 700; font-size: 15px; color: var(--yellow-400); margin-right: 5px; }

.portal-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6) var(--space-10); align-items: center; padding: 36px; background: var(--paper); border: 2px solid var(--ink-900); }
.portal-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.05; text-transform: uppercase; margin: 0 0 10px; }
.portal-band p { margin: 0; color: var(--fg-2); }

.steps { list-style: none; margin: 0; padding: 0; border-top: 4px solid var(--ink-900); }
.steps__item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--space-4); padding: 18px 0; border-bottom: 1px solid var(--border-2); }
.steps__num { font-family: var(--font-mono); font-weight: 700; font-size: 40px; line-height: 1; color: var(--ink-900); }
.steps__title { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); text-transform: uppercase; }
.steps__text { display: block; color: var(--fg-2); font-size: 15px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); align-items: start; }
.prose p { color: var(--fg-2); font-size: 17px; }
.is-dark .prose p { color: var(--fg-on-dark-muted); }

.board { background: var(--desk); color: var(--fg-on-dark); border-top: 4px solid var(--yellow-500); }
.board__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 20px; border-bottom: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-on-dark-muted); }
.board__list { list-style: none; margin: 0; padding: 0; }
.board__row { display: grid; grid-template-columns: 9ch 2ch minmax(0, 1fr); align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line-dark); }
.board__row:last-child { border-bottom: 0; }
.board__from { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--yellow-400); text-transform: uppercase; }
.board__arrow { color: var(--ink-500); }
.board__to { font-family: var(--font-display); font-weight: 600; font-size: 21px; text-transform: uppercase; }
.board__slot { margin: 0; padding: 14px 20px; border-top: 1px dashed var(--ink-600); font-size: 12px; color: var(--fg-on-dark-muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; }
.split__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.02; text-transform: uppercase; margin: 0 0 18px; }
.media-slot {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3);
  aspect-ratio: 4 / 3; padding: var(--space-4); text-align: center;
  background: var(--desk-2); color: var(--fg-on-dark-muted); border: 1px dashed var(--ink-500);
}
.media-slot .icon { width: 44px; height: 44px; stroke-width: 1.5; color: var(--yellow-500); }
.media-slot .chev { width: 120px; color: var(--yellow-500); opacity: 0.25; }
.media-slot__label { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }

.expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; background: var(--ink-900); border: 1px solid var(--ink-900); }
.expect__cell { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px; background: var(--paper); }
.expect__num { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; color: var(--fg-3); }
.expect__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xl); text-transform: uppercase; }
.expect__cell p { margin: 0; color: var(--fg-2); }

.callout { padding: 20px 24px; background: var(--paper); border: 1px solid var(--border-1); border-left: 4px solid var(--yellow-500); }
.callout p { margin: 0; color: var(--fg-2); }
.callout strong { color: var(--ink-900); }
.about__expect-title { margin-bottom: var(--space-8); }
.about__hours { margin-top: var(--space-8); }

.intro-rule { width: 92px; height: 5px; background: var(--yellow-500); margin: 0 0 22px; }
.page-header__strong { display: block; margin: 0 0 8px; font-size: var(--fs-lg); font-weight: 700; color: var(--fg-on-dark); }

.departments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.dept { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; background: var(--paper); border: 1px solid var(--border-1); border-top: 4px solid var(--ink-900); }
.dept__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.dept__icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--desk); color: var(--yellow-500); }
.dept__icon .icon { width: 24px; height: 24px; }
.dept__num { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; color: var(--fg-3); }
.dept__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xl); line-height: 1.1; text-transform: uppercase; }
.dept__text { margin: 0; color: var(--fg-2); font-size: 15px; }
.dept__links { display: grid; gap: 2px; margin-top: auto; padding-top: 8px; }
.dept__links a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-900); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.dept__links a:not(.btn):hover { color: var(--navy-700); text-decoration: underline; }
.dept__links .icon { width: 18px; height: 18px; color: var(--ink-500); }
.dept__links .btn { margin-top: 8px; }

.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-4); }
.note { display: flex; gap: var(--space-4); padding: 22px; background: var(--desk); color: var(--fg-on-dark); border-left: 4px solid var(--yellow-500); }
.note .icon { width: 28px; height: 28px; color: var(--yellow-500); }
.note strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); text-transform: uppercase; }
.note p { margin: 0; color: var(--fg-on-dark-muted); }
.note__emerg { display: inline-block; margin-top: 8px; color: var(--yellow-400); font-weight: 700; }

.quote-section__head { margin-bottom: var(--space-8); }
.quote-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-8); align-items: start; }
.info-box { padding: 28px; background: var(--desk); color: var(--fg-on-dark); }
.info-box__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; }
.info-box > p { color: var(--fg-on-dark-muted); }
.info-rows { margin: 0; }
.info-row { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.info-row dt { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow-400); }
.info-row dd { margin: 0; color: var(--fg-on-dark); }
.info-row a { color: var(--fg-on-dark); display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }
.info-box .btn--inert { margin-top: var(--space-5); }

.form-card { padding: 28px; background: var(--paper); border: 1px solid var(--border-1); border-top: 4px solid var(--yellow-500); }
.form-card__title { margin: 0 0 18px; font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
.field--full { grid-column: 1 / -1; }
.form-actions { grid-column: 1 / -1; }
.form-note { margin: 12px 0 0; font-size: 13px; color: var(--fg-3); }

.legal { max-width: 880px; }
.legal h2 { margin: 44px 0 12px; padding-top: 16px; border-top: 2px solid var(--ink-900); font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.15; text-transform: uppercase; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-600); font-size: 17px; line-height: 1.7; }
.legal strong { color: var(--ink-900); }
.legal__effective { margin-top: var(--space-6); font-size: var(--fs-sm); }
.legal__help { margin-top: var(--space-10); }
.legal__help h2 { border-top: 0; padding-top: 0; margin: 0 0 8px; font-size: 22px; }

/* ==========================================================================
   Pre-footer band + footer
   ========================================================================== */

.cta-band { background: var(--desk-navy); color: var(--fg-on-dark); border-top: 4px solid var(--yellow-500); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6) var(--space-10); align-items: center; padding-top: 52px; padding-bottom: 52px; }
.cta-band__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.8vw, 56px); line-height: 1; text-transform: uppercase; }
.cta-band__text { margin: 0; max-width: 760px; font-size: 17px; color: var(--fg-on-dark-muted); }

.site-footer { background: var(--desk); color: var(--fg-on-dark-muted); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-10); padding-top: 64px; padding-bottom: 36px; }
.footer__logo { height: 48px; width: auto; margin-bottom: var(--space-4); mix-blend-mode: lighten; }
.footer__blurb { margin: 0; max-width: 300px; font-size: var(--fs-sm); }
.footer__heading { margin: 0 0 10px; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow-500); }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: var(--fs-sm); color: var(--fg-on-dark); text-decoration: none; }
.footer__links a:hover { color: var(--yellow-400); }
.footer__links .icon { width: 14px; height: 14px; color: var(--fg-on-dark-muted); }
.footer__address { margin: 0 0 4px; font-style: normal; font-size: var(--fs-sm); line-height: 1.6; color: var(--fg-on-dark); }
.footer__meta { margin: 6px 0 0; font-size: 13px; }
.footer__divider { display: flex; justify-content: center; padding: 4px 0 22px; }
.footer__divider .chev { width: 37px; color: var(--yellow-500); }
.footer__bar { border-top: 1px solid var(--line-dark); }
.footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px var(--space-6); padding-top: 18px; padding-bottom: 22px; font-size: 12px; }
.footer__bar a { color: var(--fg-on-dark); display: inline-flex; min-height: 44px; align-items: center; }
.footer__legal { display: flex; align-items: center; gap: 10px; }
.footer__copy { display: flex; align-items: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .page-header__grid, .section__head { grid-template-columns: minmax(0, 1fr); }
  .spec-grid, .split, .two-col, .quote-layout, .fastest { grid-template-columns: minmax(0, 1fr); }
  .hero__panel { width: 38%; clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%); }
  .hero__ghost { height: 300px; right: -30%; }
  .process { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 4px solid var(--ink-900); }
  .process__step, .process__step + .process__step { padding: 14px 0 14px 20px; border-left: 0; border-bottom: 1px solid var(--border-2); }
  .process__title { margin-top: 8px; }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .features__grid, .components { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .feature:first-child { padding: 16px; border-bottom: 1px solid var(--line-dark); }
  .feature:nth-child(2n) { border-right: 0; }
  .coverage, .expect { grid-template-columns: minmax(0, 1fr); }
  .coverage__cell { min-height: 0; }
  .departments, .notes { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band__inner, .portal-band { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 599px) {
  :root { --gutter: 16px; }
  .section { padding: 56px 0; }
  .page-header { padding: 40px 0 36px; }
  .hero__inner { padding-top: 48px; padding-bottom: 88px; }
  .hero__panel { width: 30%; }
  .hero__slot { left: var(--gutter); right: auto; }
  .features__grid, .components { grid-template-columns: minmax(0, 1fr); }
  .feature { border-right: 0; }
  .component { min-height: 0; }
  .contact-grid, .form-grid, .checklist, .quote-card .checklist { grid-template-columns: minmax(0, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-tile { font-size: 17px; }
  .cat-tile { min-height: 0; padding: 14px; }
  .cat-tile__blurb { display: none; }
  .cat-tile__name { font-size: 17px; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .count-plate__num { font-size: 38px; }
  .quote-card, .info-box, .form-card, .fastest__card { padding: 20px; }
  .portal-band { padding: 24px; }
  .board__row { grid-template-columns: 8ch 2ch minmax(0, 1fr); padding: 12px 14px; }
  .board__to { font-size: 18px; }
  .steps__item { grid-template-columns: 52px minmax(0, 1fr); }
  .steps__num { font-size: 32px; }
}

/* ==========================================================================
   Imagery (dressing pass 1): photographs under navy overlays
   ========================================================================== */

/* Over the brightest pixels of these photographs the grey body copy (--fg-on-dark-muted) holds 4.5:1 only from 0.86 navy up. */
/* The home band carries the open-pit aerial (dressing pass 3). Over its cloud bank the grey lead measures 3.98:1 at .82 navy,
   so the overlay starts at .86. */
.section.section--photo-mining {
  background-image: linear-gradient(rgba(11, 28, 44, 0.86), rgba(11, 28, 44, 0.9)), url(/assets/img/site/band-mining-aerial.webp);
  background-size: cover;
  background-position: center;
}
.section.section--photo-emergency, .page-header.page-header--photo-emergency {
  background-image: linear-gradient(rgba(11, 28, 44, 0.86), rgba(11, 28, 44, 0.88)), url(/assets/img/site/hero-mine-dusk.webp);
  background-size: cover;
  background-position: center;
}
.media-slot--photo { border-style: solid; }
.media-slot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coverage__media { flex: none; width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 4 / 3; margin: -28px -28px 4px; object-fit: cover; }

/* ==========================================================================
   Imagery (dressing pass 2)
   ========================================================================== */

/* The owner's open-pit picture in the hero panels, under his gradient direction in navy (.88 at the panel's left edge,
   .62 at 40%, .18 at 72%, .08 at the right edge). The picture carries pure-white highlights, and over them the grey copy
   (--fg-on-dark-muted) holds 4.5:1 only from .86 navy up. From 1200 px no hero copy reaches past 40% of the panel, so the
   .88 end is held flat there and his fade, at his stop spacing, runs across the rest of the panel. */
.photo-boss-mining {
  background-image: linear-gradient(90deg, rgba(11, 28, 44, 0.88) 0%, rgba(11, 28, 44, 0.88) 40%, rgba(11, 28, 44, 0.62) 64%, rgba(11, 28, 44, 0.18) 83.2%, rgba(11, 28, 44, 0.08) 100%), url(/assets/img/site/hero-boss-mining.webp);
  background-size: cover;
  background-position: center 55%;
}
.section.section--photo-mining-support {
  background-image: linear-gradient(rgba(11, 28, 44, 0.86), rgba(11, 28, 44, 0.88)), url(/assets/img/site/hero-mining-support.webp);
  background-size: cover;
  background-position: center;
}
.two-col > .network-map { grid-column: 1 / -1; width: 100%; }

/* Below 1200 px the hero copy runs across the panel, so the gradient deepens uniformly. */
@media (max-width: 1199px) {
  .photo-boss-mining { background-image: linear-gradient(90deg, rgba(11, 28, 44, 0.88) 0%, rgba(11, 28, 44, 0.86) 100%), url(/assets/img/site/hero-boss-mining.webp); }
}

/* upgrade tokens */
:root {
  --d-cut-a: 64%;
  --d-cut-b: 40%;
  --sig-g: 0.08;
  --sig-lo: 1;
  --sig-hi: 1;
  --f-step: 30ms;
  --f-thump: linear(0, 0.34 22%, 0.72 40%, 1.08 58%, 0.97 74%, 1.01 88%, 1);
  --f-hub: 27.3% 58.8%;
  --f-reach: 99%;
}
@media (max-width: 1023px) { :root { --d-cut-a: 76%; --d-cut-b: 30%; } }
@media (min-width: 1200px) { :root { --sig-g: 1; --sig-lo: 0.08; --sig-hi: 0.2; } }

/* ==========================================================================
   S4c D* — the merge. One-shot motion only: from-only or no-fill keyframes,
   so the base state IS the final state. Every animation binding below is
   UNCONDITIONAL — the site plays its motion regardless of the visitor's
   prefers-reduced-motion (the owner's provisional ruling of 2026-09-28,
   contract v3 A10; print stays still) — and none sits under a width query
   (widths are tokens: a full-page capture flips the viewport and would
   replay it). The only scroll pre-state is [data-armed], which main.js
   alone sets.
   ========================================================================== */

/* 1 · D1 C01 the arrival on B's diagonal: the panel cuts in from half open along B's own slope (the run is a token per width);
   a navy sheet cut to the panel's shape (the hero's ::after, never a child of the panel) lifts off his picture, which is
   painted at full strength from the first frame */
@keyframes d-cut { from { clip-path: polygon(var(--d-cut-a) 0, 100% 0, 100% 100%, var(--d-cut-b) 100%); } }
@keyframes d-lift { from { opacity: 0.8; } }
.hero:has(> .photo-boss-mining)::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 48%; z-index: -2; pointer-events: none;
  background: var(--desk-navy); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); opacity: 0;
}
@media (max-width: 1023px) { .hero:has(> .photo-boss-mining)::after { width: 38%; clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%); } }
@media (max-width: 599px) { .hero:has(> .photo-boss-mining)::after { width: 30%; } }

/* 2 · D5 C09 his four chevrons signal once toward the pit (>= 1200 px, by the tokens): for 570 ms the ghost holds --sig-g and
   each polygon --sig-lo with one peak at --sig-hi; all five end in one frame on B's values (ghost .08, polygons 1).
   The ghost's four inline polygons repeat #chev's points (UPGRADES.md item 2): redraw the device in both places. */
@keyframes d-ghost { from, to { opacity: var(--sig-g); } }
@keyframes d-sig1 { 0%, 10.5% { opacity: var(--sig-lo); } 27.4% { opacity: var(--sig-hi); } 52.6%, 100% { opacity: var(--sig-lo); } }
@keyframes d-sig2 { 0%, 26.3% { opacity: var(--sig-lo); } 43.2% { opacity: var(--sig-hi); } 68.4%, 100% { opacity: var(--sig-lo); } }
@keyframes d-sig3 { 0%, 42.1% { opacity: var(--sig-lo); } 59% { opacity: var(--sig-hi); } 84.2%, 100% { opacity: var(--sig-lo); } }
@keyframes d-sig4 { 0%, 57.9% { opacity: var(--sig-lo); } 74.7% { opacity: var(--sig-hi); } 100% { opacity: var(--sig-lo); } }

/* 3 · E1 C11 + E5 C31 the hero part-number field (a button dressed as B's search box; its click is the page's first opener's)
   and the shelf count on B's count plate: in flow under the lead below 1200 px, on the CTA row's line from 1200 px.
   The label wraps rather than clips; the plate's focus ring is drawn on its own fill, not on his picture. */
.hero__ask { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 22px 0 28px; }
.hero__field {
  flex: 1 1 320px; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 56px; padding: 0 18px 0 14px;
  background: var(--desk-2); border: 1px solid var(--ink-600); color: var(--fg-on-dark-muted);
  font-size: 15px; text-align: left; transition: border-color var(--dur-fast) var(--ease-out);
}
.hero__field .icon { color: var(--yellow-500); }
.hero__field span { min-width: 0; white-space: normal; }
.hero__field:focus-visible { border-color: var(--yellow-500); } @media (hover: hover) and (pointer: fine) { .hero__field:hover { border-color: var(--yellow-500); } }
.hero__ask .hero__count { margin: 0; padding: 14px 20px; border-bottom: 0; align-items: center; gap: var(--space-4); }
.hero__ask .hero__count:focus-visible { outline-offset: -3px; }
/* Q4, the owner's ruling: the home hero's top padding at >= 1024 px, 76 -> 56 px; from 1200 px the hero holds B's height (RC1-2): 99.390625 px = the trim's 20 + B's white count line's 79.390625 (30-px margin + 49.390625-px box), measured */
@media (min-width: 1024px) { .hero__inner:has(.hero__ask) { padding-top: 56px; } }
@media (min-width: 1200px) {
  .hero__inner:has(.hero__ask) { position: relative; } .hero:has(.hero__ask) { padding-bottom: 99.390625px; }
  .hero__ask { position: absolute; right: var(--gutter); bottom: 84px; margin: 0; }
  .hero__field { flex: 0 0 388px; }
}
@media (max-width: 599px) { .hero__field { gap: 10px; padding: 0 12px; font-size: 14px; } }

/* 4 · E2 C16 a miss is never a dead end: the status line outside the listbox, then ONE quote link carrying ?part= */
.search-miss { margin: 0; color: var(--fg-on-dark-muted); }
.search-miss:not(:empty) { padding: 14px 8px 0; }
.search-miss__go { margin: 12px 8px 0; }

/* 5 · E6 C33 three shelf examples on B's .chip (authored; the port renders them at publish): under the hint below 1024 px; from 1024 px on the hint's line, out of the flow (RC1-1: the sheet keeps B's height, its rule off his nav; B's field-to-rule band is 46 px, a chip 44) */
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } @media (min-width: 1024px) { .search-chips { position: absolute; right: var(--gutter); bottom: 1px; } }

/* 6 · E7 C52 the one-tap email quote keeps his mailbox as written */
.quote-card__mail span { text-transform: none; }

/* 7 · F3 C07 his map lights up from the hub he drew (27.32 % / 58.77 % of his picture; 99 % reaches its far corner). The armed
   picture waits at opacity 0, never clipped: a clip-path pre-state kept the lazy loader from ever requesting it. */
[data-reveal="map"][data-armed]:not([data-in]) { opacity: 0; }
@keyframes f-light { from { clip-path: circle(0% at var(--f-hub)); } to { clip-path: circle(var(--f-reach) at var(--f-hub)); } }

/* 8 · F2 C13 the departure board flips its eight rows 30 ms apart (site.js caps the slot at 7); rows only, no text changes */
[data-reveal="board"][data-armed]:not([data-in]) .board__row { opacity: 0; transform: perspective(600px) rotateX(-90deg); }
@keyframes f-flip { from { opacity: 0; transform: perspective(600px) rotateX(-90deg); } to { opacity: 1; transform: perspective(600px) rotateX(0deg); } }

/* 9 · F1 C04 SHELVED stamps thump down the home and mining rails: the stamp only (the card never leaves opacity 1); its slot
   (site.js, capped at 6) delays it, and the backwards fill holds it hidden through that delay */
[data-reveal="card"][data-armed]:not([data-in]) .stamp { opacity: 0; }
@keyframes f-thump { 0%, 38% { opacity: 0; transform: rotate(-2deg) scale(1.4); } to { opacity: 1; transform: rotate(-2deg); } }

/* 10 · BASE: an overlay opened from the keyboard appears without motion (site.js sets data-kb) */
[data-kb] .search-overlay__backdrop, [data-kb] .search-overlay__panel, [data-kb] .mobile-menu__backdrop, [data-kb] .mobile-menu__panel { transition: none; }

/* 12 · D2 C02: both part numbers shrink-wrap at every width and preference, so the flight's two boxes share the string's
   aspect and the reduced render's boxes equal the served one's */
.product-card__title .part-no, .spec-head__pn { width: fit-content; }

.hero__panel { animation: d-cut 520ms var(--ease-out) backwards; }
.hero:has(> .photo-boss-mining)::after { animation: d-cut 520ms var(--ease-out) backwards, d-lift 520ms var(--ease-out) backwards; }
.hero__ghost { animation: d-ghost 570ms linear backwards; }
.hero__ghost polygon { animation: d-sig1 570ms var(--ease-out) backwards; }
.hero__ghost polygon:nth-child(2) { animation-name: d-sig2; }
.hero__ghost polygon:nth-child(3) { animation-name: d-sig3; }
.hero__ghost polygon:nth-child(4) { animation-name: d-sig4; }
[data-reveal="map"][data-armed][data-in] { animation: f-light 560ms var(--ease-out); }
[data-reveal="board"][data-armed][data-in] .board__row { transform-origin: 50% 0; animation: f-flip 260ms var(--ease-out) calc(var(--f-i, 0) * var(--f-step)) backwards; }
[data-reveal="card"][data-armed][data-in] .stamp { animation: f-thump 400ms var(--f-thump) calc(var(--f-i, 0) * var(--f-step)) backwards; }
/* 11 · D3 C06, 12 · D2 C02: the groups of the navigations opted in below */
::view-transition-group(*) { animation-duration: 240ms; }
::view-transition-group(part-no) { animation-duration: 300ms; animation-timing-function: var(--ease-out); }

/* 11 · D3 C06 + 12 · D2 C02, from 1024 px: the cross-document crossfade holds the chrome by NOT naming it; the spec sheet's h1
   is named here, the clicked card's or search result's .part-no by site.js in pageswap, one name per navigation. The hero
   panel is named by site.js only for a transition: a rest-state name redrew his photo panel's diagonal (run 2, 1440 only). */
@media (min-width: 1024px) {
  @view-transition { navigation: auto; }
  .page--product .spec-head__pn { view-transition-name: part-no; }
}

/* 10 · BASE: no armed pre-state survives print (print stays still — ruling 2026-09-28) */
@media print {
  [data-armed], [data-armed] * { animation: none !important; }
  [data-armed], [data-armed] .board__row, [data-armed] .stamp { opacity: 1 !important; }
  [data-armed] .board__row { transform: none !important; }
}
