/* cl-site.css: skunk2.ca's tokens, fonts, reset and chrome (header, menu, footer, the primary button), on every
   page, in Skunk2's look as measured on skunk2.com (review/pages/home.json): white page, near-black text, their
   red, DIN Condensed capitals over Open Sans. 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 colour and font from the --parts-* tokens alone: no rule here names a
   kit class.

   Two layouts: from 980px the desktop one (measured in a 1440 window); below 980px their phone one (a 390
   stage, written in px since the stage is a phone's own width). */
@layer base, kit, site;

/* fonts (static/fonts/FONTS.md): DIN Condensed (their Adobe kit), Open Sans (Google, variable), Arial Narrow */
@font-face { font-family: "din-condensed"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/din-condensed-300.woff2") format("woff2"); }
@font-face { font-family: "din-condensed"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/din-condensed-400.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url("fonts/open-sans-300-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url("fonts/open-sans-300-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: "Open Sans"; font-style: italic; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url("fonts/open-sans-300-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url("fonts/open-sans-300-italic-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: "Arial Narrow"; font-style: normal; font-weight: 100 700; font-display: swap; src: local("Arial Narrow"), url("fonts/arialnarrow.woff2") format("woff2"); }

:root {
  /* colours */
  --site-bg: #FFFFFF;
  --site-fg: #242424;
  --site-muted: #878787;
  --site-line: #D8D8D8;
  --site-band: #F2F2F2;
  --site-card: #F6F6F6;
  --site-accent: #DA291C;
  --site-accent-fg: #FFFFFF;
  --site-red: #EB2227;
  --site-caption: #B20000;
  --site-dark: #161616;
  --site-black: #000000;
  --site-field-bg: #FFFFFF;
  --site-button-bg: #DA291C;
  --site-button-fg: #FFFFFF;
  --site-button-hover-bg: #242424;
  --site-button-hover-fg: #FFFFFF;
  --site-disabled-bg: #E4E4E4;
  --site-disabled-fg: #242424;
  --site-ink-strong: var(--site-black);   /* the Search and Vehicle Search boxes' words */
  --site-tool-line: #DDDDDD;              /* the rule between those boxes */
  --site-icon-filter: none;               /* their black icons in those boxes */

  /* fonts */
  --site-font-body: "Open Sans", Arial, sans-serif;
  --site-font-heading: "din-condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --site-font-button: var(--site-font-heading);
  --site-font-narrow: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;

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

  /* the phone layout's unit: one phone-stage pixel (their stage is 390) */
  --mx: calc(100vw / 390);
  --u: 1px;
}
/* the kit's shop pages and vehicle band (storefront-kit ADRs 0006, 0007): only the brand tokens a site owns */
:root {
  --parts-accent: var(--site-accent);
  --parts-accent-strong: var(--site-accent);
  --parts-font: var(--site-font-body);
}
/* the dark look (the kit's head block sets data-parts-theme="dark" at night or on the shopper's pick): the white bar
   and the page a warm near black in the kit's family, text near white, rules a dark grey, boxes a step up, their red
   kept; the black strip, the near-black footer and its black bar stay as they are, and their logo keeps its white
   outline, so it reads on both. */
:root[data-parts-theme="dark"] {
  color-scheme: dark;
  --site-bg: #121110;
  --site-fg: #F6F3EF;
  --site-muted: #EBE6E0;
  --site-line: #3D3833;
  --site-band: #1C1A18;
  --site-card: #1C1A18;
  --site-caption: #FF6B5E;
  --site-field-bg: #1C1A18;
  --site-button-hover-bg: #E9503F;
  --site-disabled-bg: #2A2622;
  --site-disabled-fg: #EBE6E0;
  --site-ink-strong: #F6F3EF;
  --site-tool-line: #3D3833;
  --site-icon-filter: brightness(0) invert(.96);
  --parts-band-bg: #24201C;
  --parts-band-ink: #F6F3EF;
  --parts-band-edge: #3D3833;
}
@media (max-width: 979.98px) {
  :root { --u: var(--mx); }
}

@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; }
[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 red, condensed capitals ---------- */
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  background: var(--site-button-bg); color: var(--site-button-fg); border: 1px solid var(--site-button-bg); border-radius: var(--site-radius);
  font: 400 18px/1 var(--site-font-button); letter-spacing: 1.1px; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cl-btn:hover { background: var(--site-button-hover-bg); border-color: var(--site-button-hover-bg); color: var(--site-button-hover-fg); }
.cl-btn:focus-visible { outline: 2px solid var(--site-fg); outline-offset: 2px; }

/* the search form (header panel, footer band) */
.cl-search { display: flex; width: 100%; }
.cl-search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--site-line); border-right: 0; border-radius: var(--site-radius); background: var(--site-field-bg); color: var(--site-fg); font: 400 16px/1 var(--site-font-body); }
.cl-search input:focus { outline: 2px solid var(--site-accent); outline-offset: -2px; }

/* ---------- header: the black strip, then the white bar ---------- */
.cl-hd { position: relative; z-index: 50; background: var(--site-bg); box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }
.cl-hd__top { height: 55px; background: var(--site-black); }
.cl-hd__links { display: flex; justify-content: flex-end; align-items: center; height: 100%; padding: 0 20px; }
.cl-hd__links a { display: block; padding: 0 16px; font: 600 12px/12px var(--site-font-body); text-transform: uppercase; color: #FFFFFF; }
.cl-hd__links a.is-email { text-transform: none; }
.cl-hd__links li + li a { border-left: 1px solid #CCCCCC; }
.cl-hd__links a:hover { color: var(--site-red); }
/* the kit's theme switch (a 40px square in currentColor, shown at night), in boxes of ours so no rule names a kit
   class: at the strip's end on the desktop, before the cart on the phone bar */
.cl-hd__theme { display: flex; margin-left: 8px; color: #FFFFFF; }
.cl-hd__theme:hover { color: var(--site-red); }
.cl-hd__theme-bar { display: none; }
.cl-hd__bar { display: flex; align-items: stretch; height: 94px; }
.cl-hd__toggle { display: none; }
.cl-hd__logo { flex: none; display: flex; align-items: center; width: 294px; padding-left: 14px; }
.cl-hd__logo img { width: 280px; height: auto; }
.cl-hd__nav { flex: 1; min-width: 0; display: flex; padding-left: 12px; }
.cl-hd__list { display: flex; align-items: stretch; }
.cl-hd__link { display: flex; align-items: center; height: 100%; padding: 0 9px; white-space: nowrap; font: 500 21px/41px var(--site-font-heading); letter-spacing: 1px; text-transform: uppercase; color: var(--site-fg); }
.cl-hd__link:hover, .cl-hd__link.is-current { color: var(--site-red); }
.cl-hd__tools { flex: none; display: flex; margin-left: auto; }
.cl-hd__find { display: flex; }
.cl-hd__find > summary { list-style: none; }
.cl-hd__find > summary::-webkit-details-marker { display: none; }
.cl-hd__tool { width: 102px; display: flex; flex-direction: column; align-items: center; padding-top: 20px; gap: 2px; border-left: 1px solid var(--site-tool-line); cursor: pointer; text-align: center; font: 500 14px/14px var(--site-font-heading); text-transform: uppercase; color: var(--site-ink-strong); }
.cl-hd__tool img { width: 31px; height: auto; margin-bottom: 4px; filter: var(--site-icon-filter); }
.cl-hd__tool span { max-width: 72px; }
.cl-hd__tool:hover, .cl-hd__find[open] > .cl-hd__tool { color: var(--site-red); }
.cl-hd__panel { position: absolute; top: 100%; right: 0; width: 460px; padding: 16px; background: var(--site-bg); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
.cl-hd__cart { position: relative; width: 104px; display: flex; align-items: center; justify-content: center; background: var(--site-red); }
.cl-hd__cart img { width: 35px; height: auto; }
.cl-hd__cart:hover { background: var(--site-accent); }
.cl-hd__cart-count { position: absolute; left: 60px; top: 26px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--site-black); color: #FFFFFF; font: 600 13px/18px var(--site-font-body); text-align: center; }
.cl-hd__cart-count:empty { display: none; }

/* ---------- footer: the search band, the near-black block, the copyright bar ---------- */
.cl-ft { margin-top: 30px; }
.cl-ft__news { position: relative; height: 357px; overflow: hidden; background: var(--site-band) url("img/chrome/newsletter-layer1.jpg") 0 0 / auto repeat; }
/* in the dark the band drops their paper texture, which is drawn for dark words */
:root[data-parts-theme="dark"] .cl-ft__news { background-image: none; }
/* their red photo layer, cut on the diagonal: a race photo of theirs under their red */
.cl-ft__news::after { content: ""; position: absolute; inset: 0 0 0 430px; background: var(--site-accent) url("img/site/home/jaime-rodriguez.jpg") center / cover no-repeat; background-blend-mode: multiply; clip-path: polygon(220px 0, 100% 0, 100% 100%, 0 100%); }
.cl-ft__news-in { position: relative; z-index: 1; width: 504px; padding: 64px 40px 0; }
.cl-ft__news-h { margin-bottom: 24px; font: 400 40px/50px var(--site-font-heading); letter-spacing: 0.065px; text-transform: uppercase; color: var(--site-fg); }
.cl-ft__main { display: grid; grid-template-columns: minmax(0, 569px) repeat(4, minmax(0, 214px)); padding: 60px 0 42px; background: var(--site-dark); color: #FFFFFF; font: 300 14px/22px var(--site-font-body); letter-spacing: 0.065px; }
.cl-ft__about { padding: 0 43px 0 50px; }
.cl-ft__logo { display: block; width: 280px; max-width: 100%; margin-bottom: 16px; }
.cl-ft__about a:hover, .cl-ft__col a:hover { color: var(--site-red); }
.cl-ft__col { padding: 20px 15px 0; }
.cl-ft__col h2 { margin-bottom: 20px; font: 500 25px/29px var(--site-font-heading); letter-spacing: 0.065px; text-transform: uppercase; color: var(--site-red); }
.cl-ft__col li + li { margin-top: 20px; }
.cl-ft__col a { display: inline-block; line-height: 22px; }
.cl-ft__bar { padding: 20px; background: var(--site-black); color: #FFFFFF; text-align: center; font: 400 16px/22.4px var(--site-font-heading); letter-spacing: 0.065px; }

/* ---------- phones: their 94px bar, the menu under it behind its toggle (cl-site.js) ---------- */
@media (max-width: 979.98px) {
  .cl-hd__top { display: none; }
  .cl-hd__toggle { display: flex; align-items: center; justify-content: center; flex: none; width: 42px; color: var(--site-fg); }
  .cl-hd__logo { width: auto; flex: 1; min-width: 0; padding-left: 0; }
  .cl-hd__logo img { width: 120px; }
  .cl-hd__nav { position: absolute; top: 100%; left: 0; right: 0; padding: 0; background: var(--site-bg); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
  .cl-js .cl-hd__nav:not(.is-open) { display: none; }
  .cl-hd__list { flex: 1; flex-direction: column; padding: 0 20px 12px; }
  .cl-hd__link { height: 59px; padding: 0 10px; font-size: 24px; border-bottom: 1px solid var(--site-line); }
  .cl-hd__tool { width: 64px; padding-top: 20px; }
  .cl-hd__tool span { max-width: 52px; }
  .cl-hd__theme-bar { display: flex; align-items: center; color: var(--site-ink-strong); }
  .cl-hd__cart { width: 64px; }
  .cl-hd__cart-count { left: 38px; top: 27px; }
  .cl-hd__panel { left: 0; width: auto; }

  .cl-ft__news { height: 455px; }
  .cl-ft__news::after { inset: 170px 0 0 0; clip-path: polygon(120px 0, 100% 0, 100% 100%, 0 100%); }
  .cl-ft__news-in { width: auto; padding: 24px 16px 0; }
  .cl-ft__news-h { font-size: 34px; line-height: 42px; }
  .cl-ft__main { grid-template-columns: 1fr; padding: 75px 0 100px; }
  .cl-ft__about { padding: 0 16px; }
  .cl-ft__col { padding: 20px 16px 10px; }
  .cl-ft__col h2 { margin-bottom: 12px; }
  .cl-ft__col li + li { margin-top: 0; }
  .cl-ft__col a { display: flex; align-items: center; min-height: 40px; }
  .cl-ft__bar { padding: 20px 16px; }
}
/* the narrowest phones: the boxes narrow to give the logo its room */
@media (max-width: 379.98px) {
  .cl-hd__tool, .cl-hd__cart { width: 56px; }
  .cl-hd__cart-count { left: 34px; }
}

/* ---------- the 404 (templates/404.html) ---------- */
.cl-404__home { text-align: center; padding: 0 20px 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; }

}
