/* ==========================================================================
   Central Coast Dashcams - design system
   Dark-first, footage-frame motif. Barlow Condensed + Inter.
   ========================================================================== */

:root {
  /* Palette (BRAND.md) */
  --asphalt: #0d0f12;   /* base background */
  --panel:   #16191e;   /* cards, sections */
  --panel-2: #1c2027;   /* raised panel */
  --rec:     #e11d48;   /* accent, CTAs, REC dot */
  --rec-dim: #b0173a;   /* pressed accent */
  --white:   #f4f4f2;   /* headings, primary text */
  --steel:   #9aa1ab;   /* body text, secondary */
  --steel-dim: #6b7280; /* tertiary / captions */
  --amber:   #f59e0b;   /* parking mode / warnings only */
  --line:    #23272e;   /* hairlines, borders */
  --line-2:  #2c313a;   /* stronger borders */

  --maxw: 1180px;
  --gap: clamp(20px, 4vw, 40px);
  --radius: 4px;

  --ff-head: "Barlow Condensed", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;

  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.85);
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--asphalt);
  color: var(--steel);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--rec); color: #fff; }

/* Typography -------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(38px, 6.2vw, 68px); text-transform: uppercase; }
h2 { font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; letter-spacing: 0.015em; }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: 18px; font-weight: 600; }

p { color: var(--steel); }
strong { color: var(--white); font-weight: 600; }

.eyebrow {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.18);
}

.accent { color: var(--rec); }
.amber { color: var(--amber); }

/* Layout ------------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--tight { padding: clamp(40px, 6vw, 68px) 0; }
.section--panel { background: var(--panel); border-block: 1px solid var(--line); }

.lede { font-size: clamp(17px, 2vw, 20px); color: var(--steel); max-width: 62ch; }

.section-head { max-width: 68ch; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head h2 { margin: 12px 0 14px; }

/* REC dot + blink --------------------------------------------------------- */
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--rec); flex: 0 0 auto;
}
.dot--live { animation: blink 1.7s steps(1, end) infinite; }
@keyframes blink { 0%, 62% { opacity: 1; } 63%, 100% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) {
  .dot--live { animation: none; }
  html { scroll-behavior: auto; }
}

/* Footage frame motif ----------------------------------------------------- */
.frame { position: relative; }
.frame::before, .frame::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--rec);
  pointer-events: none;
}
.frame::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.frame::after  { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.rec-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body);
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--white);
  background: rgba(13, 15, 18, 0.72);
  border: 1px solid var(--line-2);
  padding: 5px 10px; border-radius: 3px;
  backdrop-filter: blur(3px);
}
.timestamp {
  font-family: var(--ff-body);
  font-variant-numeric: tabular-nums;
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--white);
  background: rgba(13, 15, 18, 0.72);
  border: 1px solid var(--line-2);
  padding: 5px 9px; border-radius: 3px;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-head);
  font-weight: 600; font-size: 17px; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 26px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--rec); color: #fff; }
.btn--primary:hover { background: var(--rec-dim); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--rec); color: var(--white); }
.btn--block { width: 100%; }
.btn--lg { font-size: 19px; padding: 15px 32px; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 15, 18, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 66px;
}
.brand-lockup { display: flex; align-items: center; }
.brand-lockup svg { height: 34px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--ff-head);
  font-weight: 600; font-size: 16px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--steel);
  padding: 8px 14px; border-radius: 3px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: var(--panel); }
.nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-2);
  border-radius: 3px; width: 42px; height: 40px; cursor: pointer; color: var(--white);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--asphalt); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(60px, 11vw, 128px) 0 clamp(48px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(225, 29, 72, 0.16), transparent 60%),
    radial-gradient(760px 420px at 8% 108%, rgba(148, 163, 184, 0.09), transparent 62%),
    linear-gradient(180deg, #0b0d10, #0d0f12 60%, #101318);
}
.hero__bg::after {
  /* headlight-trail streaks, atmosphere only (no branded devices) */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(115deg, transparent 0 42%, rgba(225,29,72,0.10) 43% 44%, transparent 45%),
    linear-gradient(115deg, transparent 0 60%, rgba(244,244,242,0.05) 61% 61.6%, transparent 62%);
  opacity: 0.9;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { margin: 16px 0 20px; max-width: 16ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Trust strip ------------------------------------------------------------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.trust__cell {
  background: var(--panel); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.trust__cell b { font-family: var(--ff-head); font-size: 18px; color: var(--white); letter-spacing: 0.02em; }
.trust__cell span { font-size: 13.5px; color: var(--steel); line-height: 1.5; }
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* Card grids -------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* Product card ------------------------------------------------------------ */
.pcard {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.pcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pcard__media {
  position: relative; aspect-ratio: 4 / 3; background: #0f1216;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pcard__tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--ff-body); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.5);
  padding: 4px 9px; border-radius: 3px;
}
.pcard__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__brand { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-dim); }
.pcard__name { font-family: var(--ff-head); font-weight: 700; font-size: 24px; color: var(--white); line-height: 1.02; }
.pcard__pos { font-size: 14px; color: var(--steel); flex: 1; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price-poa { font-family: var(--ff-head); font-weight: 600; font-size: 18px; letter-spacing: 0.06em; color: var(--white); }
.price-poa span { font-family: var(--ff-body); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; color: var(--steel-dim); text-transform: uppercase; display: block; }
.pcard__link { font-family: var(--ff-head); font-weight: 600; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rec); }

/* Placeholder media (no official image) ----------------------------------- */
.ph-media {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px; text-align: center;
  background:
    repeating-linear-gradient(135deg, #12151a 0 14px, #14171d 14px 28px);
}
.ph-media__rec { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); }
.ph-media__model { font-family: var(--ff-head); font-weight: 700; font-size: clamp(20px, 3vw, 30px); color: var(--white); line-height: 1; }
.ph-media__note { font-size: 11.5px; color: var(--steel-dim); letter-spacing: 0.04em; }

/* Featured section -------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; position: relative;
}
.step__n {
  font-family: var(--ff-head); font-weight: 700; font-size: 15px;
  color: var(--rec); letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.step__n::before { counter-increment: step; content: "0" counter(step); font-size: 34px; line-height: 1; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* Feature / value list ---------------------------------------------------- */
.flist { display: grid; gap: 12px; }
.flist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--steel); }
.flist li::before {
  content: ""; flex: 0 0 auto; margin-top: 8px;
  width: 7px; height: 7px; background: var(--rec); border-radius: 1px;
  transform: rotate(45deg);
}

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 82% 20%, rgba(225,29,72,0.18), transparent 60%),
    var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(36px, 6vw, 64px);
}
.cta-band h2 { max-width: 20ch; }
.cta-band .btn { margin-top: 24px; }

/* Product detail page ----------------------------------------------------- */
.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 880px) { .pd-hero { grid-template-columns: 1fr; } }
.pd-media {
  position: relative; background: #0f1216; border: 1px solid var(--line);
  border-radius: var(--radius); aspect-ratio: 4 / 3; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pd-media img { width: 100%; height: 100%; object-fit: contain; padding: 26px; }
.pd-info__brand { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-dim); }
.pd-info h1 { font-size: clamp(34px, 5vw, 54px); margin: 8px 0 14px; }
.pd-info__pos { font-size: 17px; color: var(--steel); max-width: 46ch; }
.pd-price {
  display: flex; align-items: center; gap: 16px; margin: 26px 0;
  padding: 18px 20px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pd-price .price-poa { font-size: 22px; }
.pd-avail { font-size: 12.5px; color: var(--amber); letter-spacing: 0.04em; display: flex; align-items: center; gap: 8px; margin-top: 14px; }

.spec-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
.spec-table th { color: var(--steel-dim); font-weight: 500; width: 34%; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.spec-table td { color: var(--white); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.plain-english {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--rec); border-radius: var(--radius);
  padding: 26px 28px;
}
.plain-english h3 { margin-bottom: 12px; }
.plain-english p { color: var(--steel); font-size: 15.5px; }
.plain-english p + p { margin-top: 12px; }

.bundle-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px 28px;
}
.bundle-strip p { max-width: 52ch; }
.bundle-strip h3 { margin-bottom: 6px; }

.panelbox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }

/* Article ----------------------------------------------------------------- */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 44px 0 14px; }
.article h3 { margin: 30px 0 10px; }
.article p { margin-bottom: 16px; font-size: 16.5px; line-height: 1.72; }
.article ul.bullets { margin: 0 0 18px; display: grid; gap: 10px; }
.article ul.bullets li { position: relative; padding-left: 22px; color: var(--steel); }
.article ul.bullets li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; background: var(--rec); border-radius: 1px; transform: rotate(45deg); }
.callout {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius); padding: 20px 22px; margin: 24px 0;
}
.callout p { margin: 0; color: var(--white); font-size: 15.5px; }

/* Breadcrumb -------------------------------------------------------------- */
.crumbs { font-size: 13px; letter-spacing: 0.04em; color: var(--steel-dim); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.crumbs a:hover { color: var(--white); }
.crumbs span { color: var(--line-2); }

/* Forms ------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--steel); }
.field label .req { color: var(--rec); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 15px; color: var(--white);
  background: var(--asphalt); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 12px 14px; width: 100%;
  transition: border-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rec);
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel-dim); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14.5px; padding: 12px 14px; border-radius: var(--radius); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.4); color: #86efac; }
.form-status.err { background: rgba(225,29,72,0.1); border: 1px solid rgba(225,29,72,0.4); color: #fda4af; }

.contact-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(28px, 5vw, 52px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { display: grid; gap: 16px; }
.contact-detail .row { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-detail .row:last-child { border-bottom: 0; }
.contact-detail .row b { display: block; font-family: var(--ff-head); font-size: 16px; color: var(--white); letter-spacing: 0.03em; }
.contact-detail .row span { font-size: 14px; color: var(--steel); }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: #0a0c0f; border-top: 1px solid var(--line); padding: 56px 0 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand svg { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: var(--steel); max-width: 38ch; }
.footer-col h4 { font-family: var(--ff-head); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-dim); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--steel); padding: 5px 0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--steel-dim);
}
.footer-bottom .partner { color: var(--steel); }

/* ==========================================================================
   Homepage v2: brand logos, marquee hero, shop layout
   ========================================================================== */

/* Official brand marks (centralised in build.py BRANDS + brand_logo()).
   Rendered at a controlled optical height; small transparent PNGs (Thinkware,
   Viofo) are capped at/near native px to stay crisp. Never stretched: width
   auto, height set per context. */
.brand-logo { display: block; width: auto; height: 22px; object-fit: contain; }
.brand-logo--text {
  font-family: var(--ff-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--white); height: auto;
}

/* Marquee hero ------------------------------------------------------------ */
.hero-marquee {
  --mq-h: clamp(300px, 58vh, 496px);
  --banner-gap: clamp(14px, 2vw, 26px);
  position: relative;
  padding: clamp(12px, 1.6vw, 18px) 0 clamp(20px, 3vw, 34px);  /* tight under nav, no dead band */
  background: linear-gradient(180deg, #0b0d10, #0d0f12 60%, #101318);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* clip the wide track + fade both edges so banners never hard-clip mid-letter */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.marquee__track {
  display: flex; width: max-content;
  will-change: transform;
  animation: marquee-scroll 64s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }       /* one full set (dup makes it seamless) */
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.banner {
  flex: 0 0 auto;
  position: relative;
  height: var(--mq-h);
  width: calc(var(--mq-h) * 16 / 7);
  margin-right: var(--banner-gap);            /* uniform unit -> seamless -50% loop */
  display: flex; overflow: hidden;
  background: var(--panel);                    /* dark composite, no white slab */
  border: 1px solid var(--line);
  border-radius: clamp(8px, 1vw, 12px);
  transition: transform 0.18s ease, border-color 0.16s ease, box-shadow 0.18s ease;
}
.banner:hover {                               /* transform-only lift, track already paused */
  transform: translateY(-4px);
  border-color: var(--rec);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
/* REC-red glow behind the product on the right */
.banner__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 74% at 74% 50%, rgba(225, 29, 72, 0.16), transparent 62%);
}
.banner__text {
  position: relative; z-index: 2;
  flex: 0 0 46%; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: clamp(14px, 2.4vh, 24px);
  padding: clamp(22px, 3vw, 44px);
}
.banner .brand-logo--banner { height: clamp(20px, 2vw, 28px); max-width: 62%; }
.banner__promo {
  font-family: var(--ff-head); font-weight: 700; text-transform: uppercase;
  color: var(--white); line-height: 1.02; letter-spacing: 0.01em;
  font-size: clamp(22px, 2.5vw, 40px); max-width: 15ch;
}
.banner__cta {
  font-family: var(--ff-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: clamp(14px, 1.2vw, 18px);
  color: #fff; background: var(--rec);
  padding: 9px 18px; border-radius: var(--radius);
}
.banner__media {
  position: relative; z-index: 1;
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; justify-content: center;
}
/* transparent product cutout: large, slight bleed for depth, CSS drop shadow */
.banner__cutout {
  max-width: 96%; max-height: 104%;
  width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
}
/* one subtle REC corner-bracket pair framing the product (footage motif) */
.banner__brackets { position: absolute; inset: 14px; z-index: 3; pointer-events: none; }
.banner__brackets::before, .banner__brackets::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  border: 2px solid rgba(225, 29, 72, 0.55);
}
.banner__brackets::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.banner__brackets::after  { bottom: 0; right: 0; border-left: 0; border-top: 0; }

@media (max-width: 640px) {
  .hero-marquee { --mq-h: clamp(228px, 44vh, 320px); }
  .banner__text { flex-basis: 52%; }
  .banner__promo { font-size: clamp(19px, 5.2vw, 28px); }
  .banner .brand-logo--banner { max-width: 78%; }
  .banner__cutout { max-width: 100%; }
}

/* prefers-reduced-motion: no autoscroll, static scrollable row, no duplicate set */
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .marquee__track { animation: none; width: auto; }
  .banner--dup { display: none; }
  .banner:hover { transform: none; box-shadow: none; }
}

/* Shop by brand tiles ----------------------------------------------------- */
.brand-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .brand-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brand-tile {
  min-width: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 20px; display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.brand-tile:hover { border-color: var(--rec); transform: translateY(-3px); }
.brand-tile__logo { display: flex; align-items: center; justify-content: center; height: 40px; width: 100%; }
.brand-tile .brand-logo--tile { height: 26px; max-width: 100%; }
@media (max-width: 400px) { .brand-tile { padding: 24px 14px; } }
.brand-tile__sub { font-size: 13px; color: var(--steel); }
.brand-tile__cta {
  font-family: var(--ff-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 14px; color: var(--rec); margin-top: 2px;
}
.shop__grid-head { margin-top: clamp(40px, 6vw, 64px); }

/* Category page: brand quick-nav + brand groups --------------------------- */
.brand-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 5vw, 44px); }
.brand-nav__item {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 18px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color 0.16s ease;
}
.brand-nav__item:hover { border-color: var(--rec); }
.brand-nav .brand-logo--nav { height: 19px; max-width: 120px; }
.brand-group { scroll-margin-top: 86px; margin-bottom: clamp(40px, 6vw, 64px); }
.brand-group:last-child { margin-bottom: 0; }
.brand-group__head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.brand-group .brand-logo--group { height: 26px; max-width: 180px; }
.brand-group__count { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-dim); }

/* Footer "brands we supply and fit" strip (site-wide) --------------------- */
.brand-strip {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap;
  padding-bottom: 32px; margin-bottom: 34px; border-bottom: 1px solid var(--line);
}
.brand-strip__label {
  font-family: var(--ff-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 13px; color: var(--steel-dim);
}
.brand-strip__logos { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; }
.brand-strip__item { display: inline-flex; align-items: center; opacity: 0.8; transition: opacity 0.16s ease; }
.brand-strip__item:hover { opacity: 1; }
.brand-strip .brand-logo--strip { height: 20px; max-width: 130px; }

/* Product card + product page: logo instead of text brand ----------------- */
.pcard__brand { display: flex; align-items: center; min-height: 18px; }
.pcard__brand .brand-logo--card { height: 16px; max-width: 118px; }
.pd-info__brand { display: flex; align-items: center; gap: 14px; }
.pd-info__brand .brand-logo--badge { height: 20px; max-width: 150px; }
.pd-info__tier { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-dim); }

/* Utilities --------------------------------------------------------------- */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--steel-dim); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: var(--rec); color: #fff; padding: 10px 16px; border-radius: 3px; }
:focus-visible { outline: 2px solid var(--rec); outline-offset: 2px; }
