/* cl-site.css: Hellwig's tokens, fonts, reset and chrome (header, menu, footer, the primary button), on every page,
   written from the measurements of their home at 1440 and in their 390 phone stage (review/pages/home.json).
   cl-shop.css reads only these tokens, so the title band and the cart follow.

   The cascade (the kit's static/parts/tokens.css): `@layer base, kit, site;` below sets the order; the tokens sit on
   :root outside any layer, the reset in @layer base, every other rule in @layer site. The kit's shop pages and
   vehicle band take the brand from the --parts-* tokens below alone: no rule here names a kit class.
   Two layouts: from 980px their desktop header, below it their phone stack with the menu behind the MENU bar. */
@layer base, kit, site;

/* Orbitron and Roboto, Google Fonts' variable files (static/fonts/FONTS.md) */
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("fonts/orbitron-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: "Roboto"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/roboto-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: "Roboto"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* colours: their white page, black text, navy and yellow */
  --site-bg: #FFFFFF;
  --site-fg: #000000;
  --site-muted: #737373;
  --site-line: #D1D1D1;
  --site-band: #F0F0F0;
  --site-card: #F5F5F5;
  --site-accent: #003A5D;
  --site-accent-deep: #012235;
  --site-accent-fg: #FFD600;
  --site-field-bg: #FFFFFF;
  --site-button-bg: #003A5D;
  --site-button-fg: #FFD600;
  --site-button-hover-bg: #012235;
  --site-button-hover-fg: #FFD600;
  --site-disabled-bg: #E4E4E4;
  --site-disabled-fg: #737373;
  --site-stone: #E4E1DC;    /* the footer's text and the content band under its photo */
  --site-slate: #3E454C;    /* the footer under its photo */
  --site-hd-ink: var(--site-accent);   /* the header's menu and cart on the brushed metal */
  --site-hd-hover: #000000;
  --site-field-fg: #000000;
  --site-placeholder: #757575;

  --site-font-body: "Roboto", Arial, sans-serif;
  --site-font-heading: "Orbitron", "Roboto", Arial, sans-serif;
  --site-font-button: var(--site-font-heading);

  /* shape and layout */
  --site-radius: 0;
  --site-max: 1100px;

  /* cl-shop.css's phone unit: one pixel of their 390 phone stage (the chrome itself is written in px) */
  --mx: calc(100vw / 390);
  --u: 1px;
}
/* the kit's shop pages and vehicle band (storefront_kit/static/parts/tokens.css): the brand tokens a site owns,
   the --parts-band-* ones their yellow VEHICLE LOOK UP bar with its navy submit; never another --parts-* token */
:root {
  --parts-accent: var(--site-accent);
  --parts-accent-strong: var(--site-accent-deep);
  --parts-font: var(--site-font-body);
  --parts-band-bg: #FFD600;
  --parts-band-ink: #000000;
  --parts-band-edge: #FFD600;   /* their bar ends in a 1px black line, drawn under it (.cl-band-rule) */
  --parts-band-go: #E0BC00;   /* a deeper gold than the bar, black words: their dimmed SUBMIT at full contrast */
  --parts-band-go-hover: var(--site-accent);
  --parts-band-go-ink: #000000;
}
@media (max-width: 979.98px) {
  :root { --u: var(--mx); }
}
/* the dark page (data-parts-theme="dark" on <html>, the kit's night pick or the shopper's switch): the kit's warm
   near black for the page, near-white text, dark grey rules, cards a step up, fields dark with light words; the
   navy fills lift a touch off the page and keep their yellow words, the header's menu and cart turn their yellow,
   the vehicle band a shade over the page with their gold Go, and the slate footer stays */
:root[data-parts-theme="dark"] {
  color-scheme: dark;
  --site-bg: #121110;
  --site-fg: #F6F3EF;
  --site-muted: #EBE6E0;
  --site-line: #3D3833;
  --site-band: #24201C;
  --site-card: #1C1A18;
  --site-accent: #0A4F7D;
  --site-field-bg: #1C1A18;
  --site-field-fg: #F6F3EF;
  --site-placeholder: #D9D3CC;
  --site-button-bg: #0A4F7D;
  --site-button-hover-bg: #136AA3;
  --site-disabled-bg: #2A2622;
  --site-disabled-fg: #F6F3EF;
  --site-hd-ink: #FFD600;
  --site-hd-hover: #FFFFFF;
  --cs-accent: #FFD600;
  --parts-accent-strong: color-mix(in srgb, var(--parts-accent) 78%, #fff);
  --parts-band-bg: #24201C;
  --parts-band-ink: #F6F3EF;
  --parts-band-edge: #3D3833;
}
/* their brushed metal header and the stone band of the home are light photos: on the dark page each is the same
   photo multiplied down to a dark metal */
:root[data-parts-theme="dark"] .cl-hd { background-color: #4A453F; background-blend-mode: multiply; }
:root[data-parts-theme="dark"] .cl-home__body { background-color: #3A3631; background-blend-mode: multiply; }

@layer base {

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--site-bg); }
body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-fg);
  font: 400 14px/1.5 var(--site-font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; }
ul, ol { list-style: none; }
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

}

@layer site {

/* ---------- the primary button: their navy SUBMIT in yellow Orbitron ---------- */
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 20px;
  background: var(--site-button-bg); color: var(--site-button-fg); border: 1px solid var(--site-button-bg); border-radius: var(--site-radius);
  font: 700 15px/1 var(--site-font-button); text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease;
}
.cl-btn:hover { background: var(--site-button-hover-bg); }
.cl-btn:focus-visible { outline: 2px solid var(--site-fg); outline-offset: 2px; }


/* ---------- header: 103px of brushed metal over a 3px black rule ---------- */
.cl-hd { position: relative; z-index: 50; background: #DCDCDC url("img/chrome/header-bg.jpg") 50% 50% / cover no-repeat; border-bottom: 3px solid #000; }
.cl-hd__in { max-width: var(--site-max); margin: 0 auto; min-height: 103px; display: flex; align-items: stretch; justify-content: space-between; }
.cl-hd__logo {
  flex: none; width: 270px; margin-left: max(-57px, min(0px, (var(--site-max) - 100vw) / 2)); display: flex; align-items: center; justify-content: center;
  background: url("img/chrome/logo-bg.png") 50% 50% no-repeat;
}
/* the Orbital Parts mark on the plate: the light one on the brushed metal, the dark one on the night theme's darkened metal */
.cl-hd__mark { width: auto; height: 44px; }
.cl-hd__mark--dark, :root[data-parts-theme="dark"] .cl-hd__mark--light { display: none; }
:root[data-parts-theme="dark"] .cl-hd__mark--dark { display: block; }
.cl-hd__right { flex: 0 1 784px; min-width: 0; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.cl-hd__top { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.cl-hd__strip { display: flex; align-items: center; gap: 18px; height: 31px; padding: 0 13px; background: var(--site-accent); }
.cl-hd__strip a { display: inline-flex; align-items: center; gap: 8px; color: var(--site-accent-fg); font: 400 12px/1 var(--site-font-body); text-transform: uppercase; }
.cl-hd__strip a:hover span { text-decoration: underline; }
.cl-hd__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.cl-hd__search { flex: none; display: flex; width: 211px; height: 31px; background: var(--site-field-bg); }
.cl-hd__q { flex: 1; min-width: 0; height: 31px; padding: 0 13px; border: 0; background: none; color: var(--site-field-fg); font: 400 13px/31px Arial, var(--site-font-body); outline-offset: -2px; }
.cl-hd__q::placeholder { color: var(--site-placeholder); opacity: 1; }
.cl-hd__go { flex: none; width: 35px; height: 31px; display: flex; align-items: center; justify-content: center; background: var(--site-accent); color: var(--site-accent-fg); }
.cl-hd__go:hover { background: var(--site-accent-deep); }

.cl-hd__bar { display: flex; align-items: center; gap: 14px; }
.cl-hd__toggle { display: none; }
.cl-hd__list { display: flex; gap: 14px; }
.cl-hd__link { display: block; font: 700 13px/16px var(--site-font-heading); text-transform: uppercase; color: var(--site-hd-ink); }
.cl-hd__link:hover, .cl-hd__link.is-current { color: var(--site-hd-hover); }
.cl-hd__cart { flex: none; position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 32px; color: var(--site-hd-ink); }
.cl-hd__cart:hover { color: var(--site-hd-hover); }
.cl-hd__cart-icon { overflow: visible; }
.cl-hd__cart-count { position: absolute; top: -4px; right: 0; min-width: 18px; padding: 0 4px; font: 700 12px/18px var(--site-font-body); text-align: center; border-radius: 9px; background: var(--site-accent-fg); color: #000; }
.cl-hd__cart-count:empty { display: none; }

/* ---------- footer: their dark brushed metal band ---------- */
.cl-ft { background: var(--site-slate) url("img/chrome/footer-bg.jpg") 50% 50% / cover no-repeat; border-top: 1px solid var(--site-stone); box-shadow: 0 0 0 3px #40474F; color: var(--site-stone); font: 400 14px/21px var(--site-font-body); }
.cl-ft__in { max-width: var(--site-max); margin: 0 auto; padding: 30px 0 20px; }
.cl-ft__cols { display: grid; grid-template-columns: 1fr 1fr; min-height: 246px; }
.cl-ft__h { margin-bottom: 10px; font: 500 24px/28.8px var(--site-font-heading); color: var(--site-accent-fg); }
.cl-ft__list li { margin-bottom: 10px; }
.cl-ft__list a:hover, .cl-ft__legal a:hover { text-decoration: underline; }
.cl-ft__search { display: flex; height: 38px; margin-top: 2px; }
.cl-ft__q { flex: 1; min-width: 0; padding: 0 10px; border: 0; background: var(--site-field-bg); color: var(--site-field-fg); font: 400 13px/38px Arial, var(--site-font-body); }
.cl-ft__q::placeholder { color: var(--site-placeholder); opacity: 1; }
.cl-ft__go { flex: none; width: 85px; background: var(--site-accent-fg); color: var(--site-accent); font: 700 13px/1 var(--site-font-heading); text-transform: uppercase; }
.cl-ft__go:hover { background: #fff; }
.cl-ft__base { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; min-height: 76px; padding-top: 7px; }
.cl-ft__legal p + p { margin-top: 10px; }

/* ---------- phones: their stack, the menu behind the MENU bar (cl-site.js) ---------- */
@media (max-width: 979.98px) {
  .cl-hd__in { flex-direction: column; min-height: 0; }
  .cl-hd__logo { width: auto; height: 98px; margin: 0; }
  /* their phone stack, 33px shorter so the kit's vehicle band (33px taller than their VEHICLE LOOK UP) ends where theirs
     does: the plate, the two strips at 103 and 136, the MENU bar, and the search moved into
     the drawer the MENU bar opens (cl-site.js), under our headings */
  .cl-hd__right { flex: none; padding-top: 5px; gap: 8px; }
  .cl-hd__top { flex-direction: column; gap: 8px; }
  .cl-hd__strip { flex-direction: column; gap: 6px; height: auto; padding: 0; background: none; }
  .cl-hd__strip a { height: 27px; padding: 0 13px; background: var(--site-accent); }
  .cl-hd__row { flex-direction: column; gap: 0; margin-top: 19.3px; }
  .cl-hd__search { order: 2; align-self: stretch; width: auto; height: 64px; padding: 12px 16px; background: var(--site-accent); }
  .cl-js .cl-hd:not(.is-open) .cl-hd__search { display: none; }
  .cl-hd__q { height: 40px; background: var(--site-field-bg); font-size: 16px; }
  .cl-hd__go { background: var(--site-accent-fg); color: var(--site-accent); }
  .cl-ft__q { font-size: 16px; }
  .cl-hd__go { width: 44px; height: 40px; }
  .cl-hd__bar { align-self: stretch; flex-wrap: wrap; gap: 0; background: var(--site-accent); }
  .cl-hd__toggle {
    order: 1; flex: 1; display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 12px 0 10px;
    font: 700 18px/1 var(--site-font-heading); text-transform: uppercase; color: var(--site-accent-fg);
  }
  .cl-hd__cart { order: 0; height: 42px; min-width: 44px; color: var(--site-accent-fg); border-right: 1px solid rgba(255, 214, 0, .35); }
  .cl-hd__cart:hover { color: #fff; }
  .cl-hd__cart-count { top: 2px; right: 2px; }
  .cl-hd__nav { order: 2; flex: 1 1 100%; background: var(--site-accent); }
  .cl-js .cl-hd__nav:not(.is-open) { display: none; }
  .cl-hd__list { flex-direction: column; gap: 0; }
  .cl-hd__link { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-top: 1px solid rgba(255, 214, 0, .35); font-size: 16px; color: var(--site-accent-fg); }
  .cl-hd__link:hover, .cl-hd__link.is-current { color: #fff; }

  .cl-ft__in { padding: 30px 37px 20px; }
  .cl-ft__search { margin-top: 21px; }
  .cl-ft__cols { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .cl-ft__col:first-child { min-height: 278px; }
  .cl-ft__col:last-child { min-height: 150px; }
  .cl-ft__base { flex-direction: column; align-items: center; text-align: center; gap: 10px; min-height: 0; padding-top: 32px; }
  .cl-ft__list a, .cl-ft__legal a { display: inline-block; padding: 9px 0; margin: -9px 0; }
}

/* their 1px black line under the vehicle band (base.html), under the band's 4px edge in the band's own yellow */
.cl-band-rule { height: 1px; background: #000; }

/* ---------- the 404 (templates/404.html) ---------- */
.cl-404__home { text-align: center; padding: 0 16px 80px; }

/* the footer's trademark line: "owner" links the client's site in the line's own colour, underlined (Greg 2026-10-01) */
.cl-owner, .cl-owner:visited { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cl-owner:hover { opacity: .8; }

}

/* the kit's theme switch (shown 21:30 to 04:30 by the kit's head block): left of the cart in the menu row, and before
   the cart in the phone's navy MENU bar; outside any layer, like the kit's own rule for it */
.cl-hd .parts-theme-switch { flex: none; height: 40px; margin: -4px 0; color: var(--site-hd-ink); }  /* a 40px target that keeps the 32px row */
.cl-hd .parts-theme-switch:hover { color: var(--site-hd-hover); }
@media (max-width: 979.98px) {
  .cl-hd .parts-theme-switch { order: 0; height: 42px; color: var(--site-accent-fg); border-right: 1px solid rgba(255, 214, 0, .35); }
  .cl-hd .parts-theme-switch:hover { color: #fff; }
}
