/* ==========================================================================
   FogBuster storefront (fogbuster.qualifiedmachine.com) — v2 design system
   --------------------------------------------------------------------------
   Brand palette from the FogBuster logo:
     black #000 / ink #0B0B0D, red #DB1E25, blue #2490D5, white.
   Discipline: red = primary CTA + small accent rules ONLY; blue = links,
   eyebrows, secondary accents. Alternating dark (#0B0B0D) and light
   (#FAFAFA) bands. 8px spacing grid. Self-contained: no CDNs, no webfonts.
   Admin (admin.html) shares this sheet — the legacy admin classes near the
   bottom must keep working.
   ========================================================================== */

:root {
  /* Brand */
  --fb-black: #000000;
  --fb-ink-0: #0b0b0d;   /* dark band ground */
  --fb-ink-1: #131418;   /* raised dark surface */
  --fb-ink: #17181c;     /* body text on light */
  --fb-red: #db1e25;
  --fb-red-dark: #b31219;
  --fb-blue: #2490d5;
  --fb-blue-dark: #1a6fa6;
  --fb-paper: #fafafa;   /* light band ground */
  --fb-white: #ffffff;

  /* Neutrals */
  --fb-gray-7: #3f434a;
  --fb-gray: #6b7075;
  --fb-gray-3: #9aa0a6;
  --fb-line: #e4e6ea;
  --fb-line-dark: rgba(255, 255, 255, 0.12);
  --fb-ok: #1f7a33;
  --fb-warn: #a05a00;

  /* On-dark text */
  --fb-dust: #c9ccd1;    /* muted on dark */
  --fb-dust-2: #9296a0;  /* extra muted on dark */

  /* Type */
  --fb-font: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system,
             Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Elevation (consumer site: tasteful shadows allowed) */
  --fb-shadow-1: 0 1px 2px rgba(11, 11, 13, 0.05), 0 4px 14px rgba(11, 11, 13, 0.07);
  --fb-shadow-2: 0 6px 16px rgba(11, 11, 13, 0.10), 0 20px 48px rgba(11, 11, 13, 0.14);
  --fb-shadow-red: 0 8px 24px rgba(219, 30, 37, 0.30);

  /* Motion */
  --fb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Header metrics (scroll-padding must track these) */
  --fb-header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--fb-header-h) + 16px);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--fb-white);
  color: var(--fb-ink);
  font-family: var(--fb-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a { color: var(--fb-blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: rgba(36, 144, 213, 0.25); }

:focus-visible {
  outline: 2px solid var(--fb-blue);
  outline-offset: 2px;
}

.fb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Header / navigation — one unified nav on every public page.
   Sticky; condenses on scroll (site.js toggles .is-condensed).
   -------------------------------------------------------------------------- */
.fb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Translucent charcoal — page content ghosts through; height never changes */
  background: rgba(21, 22, 25, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fb-header::before {
  /* Thin brand strip along the very top */
  content: '';
  display: block;
  height: 3px;
  background: var(--fb-red);
}

.fb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--fb-header-h);
  padding: 8px 0;
}

.fb-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.fb-logo img {
  height: 42px;
  width: auto;
  display: block;
}

/* Scrolled state: deepen the glass and add depth — no size change, so anchor
   jumps and page-to-page transitions never jitter. */
.fb-header.is-condensed { background: rgba(16, 17, 19, 0.9); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }

.fb-nav { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; }
.fb-nav a {
  color: var(--fb-dust);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fb-nav a:hover { color: var(--fb-white); text-decoration: none; }

/* Primary nav gets underline state treatment (admin's plain .fb-nav does not) */
.fb-nav-main { margin-left: auto; }
.fb-nav-main a {
  position: relative;
  padding: 6px 0;
}
.fb-nav-main a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--fb-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--fb-ease);
}
.fb-nav-main a:hover::after { transform: scaleX(1); }
.fb-nav-main a.active { color: var(--fb-white); }
.fb-nav-main a.active::after { transform: scaleX(1); }

.fb-header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Cart chip — outlined, count in a red pill (red-as-signal, not a surface) */
.fb-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--fb-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  padding: 9px 16px;
  font-family: var(--fb-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s var(--fb-ease), background 0.2s var(--fb-ease);
}
.fb-cart-btn:hover {
  border-color: var(--fb-white);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--fb-white);
}
.fb-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--fb-red);
  color: var(--fb-white);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

/* Dealer page may append its Apply CTA at the far end — never reordering
   the shared links. */
.fb-nav-apply { white-space: nowrap; }

/* Mobile burger (public pages only — admin never renders it) */
.fb-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  cursor: pointer;
}
.fb-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--fb-white);
  transition: transform 0.25s var(--fb-ease), opacity 0.2s;
}
.fb-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fb-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons — red is reserved for the primary action.
   -------------------------------------------------------------------------- */
.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 14px 28px;
  font-family: var(--fb-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s var(--fb-ease), transform 0.18s var(--fb-ease),
              box-shadow 0.2s var(--fb-ease), border-color 0.2s var(--fb-ease),
              color 0.2s var(--fb-ease);
}
.fb-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.fb-btn svg { flex-shrink: 0; }

.fb-btn-red { background: var(--fb-red); color: var(--fb-white); }
.fb-btn-red:hover:not(:disabled) {
  background: var(--fb-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--fb-shadow-red);
}
.fb-btn-red:active:not(:disabled) { transform: translateY(0); }

.fb-btn-black { background: var(--fb-ink-0); color: var(--fb-white); }
.fb-btn-black:hover:not(:disabled) {
  background: #26272c;
  transform: translateY(-2px);
  box-shadow: var(--fb-shadow-1);
}

.fb-btn-blue { background: var(--fb-blue); color: var(--fb-white); }
.fb-btn-blue:hover:not(:disabled) { background: var(--fb-blue-dark); }

.fb-btn-ghost {
  background: transparent;
  color: var(--fb-ink);
  border-color: var(--fb-ink);
}
.fb-btn-ghost:hover:not(:disabled) { background: rgba(11, 11, 13, 0.05); }

/* Ghost variant for dark bands */
.fb-btn-ghost-light {
  background: transparent;
  color: var(--fb-white);
  border-color: rgba(255, 255, 255, 0.55);
}
.fb-btn-ghost-light:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--fb-white);
  color: var(--fb-white);
}

.fb-btn-sm { padding: 9px 16px; font-size: 12px; letter-spacing: 0.1em; }
a.fb-btn:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   Bands + typography
   -------------------------------------------------------------------------- */
.fb-band-dark { background: var(--fb-ink-0); color: #edeef0; }
.fb-band-dark a:not(.fb-btn) { color: #6fb8e4; }

.fb-section { padding: 96px 0; }
.fb-section.alt { background: var(--fb-paper); }
.fb-section.tight { padding: 64px 0; }

.fb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fb-blue-dark);
  margin: 0 0 16px;
}
.fb-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--fb-red);
  flex-shrink: 0;
}
.fb-band-dark .fb-eyebrow { color: var(--fb-blue); }

.fb-section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.fb-section-sub {
  color: var(--fb-gray);
  margin: 16px 0 40px;
  max-width: 720px;
  font-size: 17px;
}
.fb-band-dark .fb-section-sub { color: var(--fb-dust); }

.fb-section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 48px;
}
.fb-section-head-split .fb-section-sub { margin: 0; }

/* --------------------------------------------------------------------------
   Hero — full-bleed photographic band
   -------------------------------------------------------------------------- */
.fb-hero {
  position: relative;
  background: var(--fb-ink-0);
  color: var(--fb-white);
  overflow: hidden;
  isolation: isolate;
}
.fb-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.96) 0%, rgba(11, 11, 13, 0.82) 42%, rgba(11, 11, 13, 0.45) 100%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.25) 45%, rgba(11, 11, 13, 0.75) 100%),
    linear-gradient(0deg, rgba(36, 144, 213, 0.14), rgba(36, 144, 213, 0.14)),
    url('../img/hero-shopfloor.jpg');
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center 78%;
  filter: saturate(0.6) contrast(1.05);
}
.fb-hero-bg.dealer {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.97) 0%, rgba(11, 11, 13, 0.86) 48%, rgba(13, 32, 46, 0.72) 100%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.5) 0%, rgba(11, 11, 13, 0.3) 50%, rgba(11, 11, 13, 0.85) 100%),
    linear-gradient(0deg, rgba(36, 144, 213, 0.22), rgba(36, 144, 213, 0.22)),
    url('../img/hero-shopfloor.jpg');
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center 40%;
}
.fb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
  padding: 104px 0 152px;
}
.fb-hero.no-overlap .fb-hero-grid { padding-bottom: 104px; }

.fb-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.fb-hero h1 .accent { color: var(--fb-red); }
.fb-hero h1 sup {
  font-size: 0.32em;
  line-height: 0;
  vertical-align: baseline;
  position: relative;
  top: -1.35em;
  letter-spacing: 0;
}
.fb-hero p.lead {
  margin: 0 0 36px;
  max-width: 560px;
  color: var(--fb-dust);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}
.fb-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.fb-hero-meta {
  display: flex;
  gap: 12px 28px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--fb-dust-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Framed product photo (studio shot presented as a plate) */
.fb-hero-product {
  position: relative;
  background: var(--fb-white);
  border-radius: 2px;
  padding: 20px 20px 0;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.5);
}
.fb-hero-product img { display: block; width: 100%; height: auto; }
.fb-hero-product .plate-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--fb-line);
  margin-top: 16px;
  padding: 14px 0;
  color: var(--fb-gray);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fb-hero-product .plate-cap strong { color: var(--fb-ink); }
.fb-plate-tag {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--fb-red);
  color: var(--fb-white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Stats band — overlapping plate that bridges hero into the page
   -------------------------------------------------------------------------- */
.fb-stats-wrap { position: relative; z-index: 2; margin-top: -72px; }
.fb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--fb-white);
  border-radius: 2px;
  box-shadow: var(--fb-shadow-2);
  border-top: 3px solid var(--fb-red);
}
.fb-stat {
  padding: 32px 28px 28px;
  border-left: 1px solid var(--fb-line);
}
.fb-stat:first-child { border-left: 0; }
.fb-stat .num {
  display: block;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fb-ink);
}
.fb-stat .num small {
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fb-blue-dark);
  margin-left: 2px;
}
.fb-stat .lbl {
  display: block;
  margin-top: 10px;
  color: var(--fb-gray);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Comparison — the FogBuster difference (dark band, black-background photos)
   -------------------------------------------------------------------------- */
.fb-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fb-compare-panel {
  background: var(--fb-ink-1);
  border: 1px solid var(--fb-line-dark);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.25s var(--fb-ease), border-color 0.25s var(--fb-ease);
}
.fb-compare-panel:hover { transform: translateY(-4px); }
.fb-compare-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: #000;
}
.fb-compare-body { padding: 24px 28px 28px; }
.fb-compare-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.fb-compare-panel.bad .fb-compare-chip {
  color: #ff8f94;
  border: 1px solid rgba(219, 30, 37, 0.55);
}
.fb-compare-panel.good .fb-compare-chip {
  color: var(--fb-white);
  background: var(--fb-blue);
}
.fb-compare-panel.good { border-color: rgba(36, 144, 213, 0.45); }
.fb-compare-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--fb-white);
}
.fb-compare-body p { margin: 0; color: var(--fb-dust); font-size: 15px; }

/* Scale strip — one system, every machine */
.fb-scale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--fb-line-dark);
}
.fb-scale-item { text-align: left; }
.fb-scale-item .ph {
  background: var(--fb-white);
  border-radius: 2px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-scale-item .ph img { max-height: 200px; width: auto; max-width: 100%; }
.fb-scale-item .t {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fb-white);
}
.fb-scale-item .d { margin-top: 4px; color: var(--fb-dust-2); font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Video — lite YouTube embed (thumbnail + play; iframe only on click)
   -------------------------------------------------------------------------- */
.fb-video-band { border-top: 1px solid var(--fb-line-dark); }
.fb-video-band .fb-section-title { margin-bottom: 40px; }
.fb-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--fb-line-dark);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}
.fb-video-frame iframe,
.fb-video-frame .fb-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  background: #000;
}
.fb-video-lite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
}
.fb-video-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity 0.25s var(--fb-ease), transform 0.4s var(--fb-ease);
}
.fb-video-lite:hover img { opacity: 1; transform: scale(1.02); }
.fb-video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 58px;
  background: var(--fb-red);
  border-radius: 2px;
  box-shadow: var(--fb-shadow-red);
  transition: transform 0.2s var(--fb-ease), background 0.2s var(--fb-ease);
}
.fb-video-lite:hover .fb-video-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--fb-red-dark);
}
.fb-video-btn svg { margin-left: 3px; }
.fb-video-cap {
  margin: 20px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--fb-dust-2);
  font-size: 14px;
}

.fb-watch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--fb-blue-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fb-watch-link svg { transition: transform 0.2s var(--fb-ease); }
.fb-watch-link:hover { text-decoration: none; }
.fb-watch-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Feature tiles (why / program / profiles)
   -------------------------------------------------------------------------- */
.fb-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.fb-tile {
  background: var(--fb-white);
  border: 1px solid var(--fb-line);
  border-radius: 2px;
  padding: 32px 28px;
  transition: transform 0.25s var(--fb-ease), box-shadow 0.25s var(--fb-ease);
}
.fb-tile:hover { transform: translateY(-4px); box-shadow: var(--fb-shadow-2); }
.fb-tile .ico {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--fb-line);
  border-radius: 2px;
  background: var(--fb-paper);
}
.fb-tile .ico svg { display: block; }
.fb-tile h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fb-tile p { margin: 0; color: var(--fb-gray); font-size: 14.5px; }
.fb-tile .big {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--fb-ink);
  margin-bottom: 8px;
}
.fb-tile.red { border-top: 3px solid var(--fb-red); }
.fb-tile.blue { border-top: 3px solid var(--fb-blue); }

/* --------------------------------------------------------------------------
   Product grid
   -------------------------------------------------------------------------- */
.fb-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
  gap: 24px;
}
.fb-card {
  position: relative;
  background: var(--fb-white);
  border: 1px solid var(--fb-line);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.22s var(--fb-ease), box-shadow 0.22s var(--fb-ease),
              border-color 0.22s var(--fb-ease);
}
.fb-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fb-shadow-2);
  border-color: rgba(36, 144, 213, 0.5);
}
.fb-card-img {
  position: relative;
  height: 200px;
  background: var(--fb-white);
  border-bottom: 1px solid var(--fb-line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.fb-card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s var(--fb-ease);
}
.fb-card:hover .fb-card-img img { transform: scale(1.04); }
.fb-card-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: var(--fb-ink-0);
  color: var(--fb-white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s var(--fb-ease), transform 0.2s var(--fb-ease);
  pointer-events: none;
}
.fb-card:hover .fb-card-zoom { opacity: 1; transform: translateY(0); }
.fb-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--fb-paper);
  color: var(--fb-gray);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fb-img-placeholder strong { font-size: 18px; color: var(--fb-ink); letter-spacing: 0.18em; }
.fb-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fb-card-model {
  color: var(--fb-blue-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.fb-card-name { font-size: 15px; font-weight: 600; line-height: 1.4; flex: 1; }
.fb-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--fb-line);
}
.fb-price { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }

/* --------------------------------------------------------------------------
   Provenance band
   -------------------------------------------------------------------------- */
.fb-provenance { position: relative; overflow: hidden; }
.fb-provenance .fb-container { position: relative; max-width: 940px; text-align: center; }
.fb-provenance-mark {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  opacity: 0.05;
  pointer-events: none;
}
.fb-provenance .fb-eyebrow { justify-content: center; }
.fb-provenance .fb-eyebrow::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--fb-red);
  flex-shrink: 0;
}
.fb-provenance h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fb-white);
}
.fb-provenance h2 .accent { color: var(--fb-red); }
.fb-provenance p { color: var(--fb-dust); max-width: 720px; margin: 0 auto 12px; font-size: 17px; }
.fb-cred-row {
  display: flex;
  justify-content: center;
  gap: 16px 0;
  flex-wrap: wrap;
  margin-top: 40px;
}
.fb-cred {
  padding: 0 28px;
  border-left: 1px solid var(--fb-line-dark);
  color: var(--fb-dust-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fb-cred:first-child { border-left: 0; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.fb-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fb-quote {
  position: relative;
  background: var(--fb-white);
  border: 1px solid var(--fb-line);
  border-radius: 2px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--fb-ease), box-shadow 0.25s var(--fb-ease);
}
.fb-quote:hover { transform: translateY(-4px); box-shadow: var(--fb-shadow-2); }
.fb-quote::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 22px;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: rgba(219, 30, 37, 0.16);
  font-family: Georgia, serif;
}
.fb-quote blockquote {
  margin: 16px 0 20px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fb-gray-7);
  flex: 1;
}
.fb-quote cite {
  font-style: normal;
  display: block;
  padding-top: 16px;
  border-top: 1px solid var(--fb-line);
}
.fb-quote cite .who { display: block; font-weight: 700; font-size: 14px; color: var(--fb-ink); }
.fb-quote cite .org {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fb-blue-dark);
}

/* --------------------------------------------------------------------------
   Closing CTA band
   -------------------------------------------------------------------------- */
.fb-cta-band { text-align: center; }
.fb-cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fb-white);
}
.fb-cta-band p { color: var(--fb-dust); margin: 0 auto 36px; max-width: 560px; font-size: 17px; }
.fb-cta-band .fb-hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Dealer: margin calculator
   -------------------------------------------------------------------------- */
.fb-calc {
  background: var(--fb-ink-1);
  border: 1px solid var(--fb-line-dark);
  border-radius: 2px;
  padding: 40px;
}
.fb-calc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.fb-calc-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fb-dust);
}
.fb-seg { display: inline-flex; border: 1px solid var(--fb-line-dark); border-radius: 2px; overflow: hidden; }
.fb-seg button {
  appearance: none;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--fb-line-dark);
  color: var(--fb-dust);
  font-family: var(--fb-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 0.18s var(--fb-ease), color 0.18s var(--fb-ease);
}
.fb-seg button:first-child { border-left: 0; }
.fb-seg button:hover { color: var(--fb-white); background: rgba(255, 255, 255, 0.05); }
.fb-seg button[aria-pressed="true"] {
  background: var(--fb-red);
  color: var(--fb-white);
}
.fb-calc-tier {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fb-blue);
}
.fb-calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fb-calc-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--fb-line-dark);
  border-radius: 2px;
  padding: 24px 22px 20px;
}
.fb-calc-cell.hi { border-color: rgba(36, 144, 213, 0.5); background: rgba(36, 144, 213, 0.07); }
.fb-calc-cell .v {
  display: block;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fb-white);
  font-variant-numeric: tabular-nums;
}
.fb-calc-cell .k {
  display: block;
  margin-top: 10px;
  color: var(--fb-dust-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fb-calc-bar {
  margin-top: 32px;
}
.fb-calc-bar .bar {
  display: flex;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--fb-line-dark);
}
.fb-calc-bar .bar .cost { background: #3a3d45; transition: width 0.45s var(--fb-ease); }
.fb-calc-bar .bar .margin { background: var(--fb-blue); transition: width 0.45s var(--fb-ease); }
.fb-calc-bar .legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--fb-dust-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fb-calc-bar .legend .m { color: var(--fb-blue); }
.fb-calc-note { margin-top: 28px; color: var(--fb-dust-2); font-size: 13px; }

/* --------------------------------------------------------------------------
   Dealer: how it works steps
   -------------------------------------------------------------------------- */
.fb-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: fbstep;
}
.fb-step {
  position: relative;
  background: var(--fb-white);
  border: 1px solid var(--fb-line);
  border-top: 3px solid var(--fb-red);
  border-radius: 2px;
  padding: 32px 28px;
  counter-increment: fbstep;
}
.fb-step::before {
  content: counter(fbstep, decimal-leading-zero);
  display: block;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fb-red);
  margin-bottom: 14px;
}
.fb-step h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0b0b0d;
}
.fb-step p { margin: 0; color: var(--fb-gray); font-size: 14.5px; }

/* Story band (original vs knockoff) */
.fb-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.fb-story .fb-section-sub { margin-bottom: 0; }
.fb-story p { color: var(--fb-gray); font-size: 16px; margin: 0 0 18px; }
.fb-story p.strong {
  color: var(--fb-ink);
  font-weight: 600;
  font-size: 17px;
  border-left: 3px solid var(--fb-red);
  padding-left: 20px;
  margin-top: 26px;
}
.fb-story-photo {
  background: var(--fb-white);
  border: 1px solid var(--fb-line);
  border-radius: 2px;
  padding: 24px 24px 0;
  box-shadow: var(--fb-shadow-2);
}
.fb-story-photo img { display: block; width: 100%; height: auto; }
.fb-story-photo .plate-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--fb-line);
  margin-top: 18px;
  padding: 14px 0;
  color: var(--fb-gray);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Modal (product detail) + cart drawer
   -------------------------------------------------------------------------- */
.fb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 13, 0.6);
  z-index: 90;
  display: none;
}
.fb-overlay.open { display: block; }

.fb-modal {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--fb-white);
  border-radius: 2px;
  border-top: 3px solid var(--fb-red);
  box-shadow: var(--fb-shadow-2);
  display: none;
}
.fb-modal.open { display: block; }
.fb-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 28px 0;
}
.fb-modal-body { padding: 20px 28px 32px; }
.fb-modal-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
.fb-modal-img {
  border: 1px solid var(--fb-line);
  border-radius: 2px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--fb-white);
}
.fb-modal-img img { max-height: 340px; max-width: 100%; object-fit: contain; }
.fb-close {
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--fb-gray);
  padding: 4px 8px;
  border-radius: 2px;
  transition: color 0.15s;
}
.fb-close:hover { color: var(--fb-ink); }
.fb-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--fb-line);
  border-radius: 2px;
  overflow: hidden;
}
.fb-qty button {
  width: 38px;
  height: 42px;
  border: 0;
  background: var(--fb-paper);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.fb-qty button:hover { background: var(--fb-line); }
.fb-qty input {
  width: 56px;
  height: 42px;
  border: 0;
  border-left: 1px solid var(--fb-line);
  border-right: 1px solid var(--fb-line);
  text-align: center;
  font-size: 15px;
  font-family: var(--fb-font);
}

.fb-drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(460px, 100vw);
  background: var(--fb-white);
  box-shadow: -24px 0 64px rgba(11, 11, 13, 0.3);
  transform: translateX(102%);
  transition: transform 0.28s var(--fb-ease);
  display: flex;
  flex-direction: column;
}
.fb-drawer.open { transform: translateX(0); }
.fb-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--fb-ink-0);
  color: var(--fb-white);
}
.fb-drawer-head h3 { margin: 0; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.fb-drawer-head .fb-close { color: var(--fb-dust); }
.fb-drawer-head .fb-close:hover { color: var(--fb-white); }
.fb-drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.fb-drawer-foot { border-top: 1px solid var(--fb-line); padding: 20px 24px; }
.fb-cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--fb-line);
  font-size: 14px;
}
.fb-cart-line .model {
  color: var(--fb-blue-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fb-cart-line .controls { display: flex; align-items: center; gap: 12px; }
.fb-cart-line .remove {
  background: none;
  border: 0;
  color: var(--fb-red);
  cursor: pointer;
  font-size: 12.5px;
  font-family: var(--fb-font);
  padding: 0;
}
.fb-cart-line .remove:hover { text-decoration: underline; }
.fb-cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.fb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fb-form .full { grid-column: 1 / -1; }
.fb-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fb-gray-7);
  margin-bottom: 7px;
}
.fb-field input,
.fb-field select,
.fb-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--fb-line);
  border-radius: 2px;
  font-size: 15px;
  font-family: inherit;
  background: var(--fb-white);
  color: var(--fb-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fb-field input:hover,
.fb-field select:hover,
.fb-field textarea:hover { border-color: var(--fb-gray-3); }
.fb-field input:focus,
.fb-field select:focus,
.fb-field textarea:focus {
  outline: none;
  border-color: var(--fb-blue);
  box-shadow: 0 0 0 3px rgba(36, 144, 213, 0.18);
}
.fb-field textarea { min-height: 120px; resize: vertical; }
.fb-required::after { content: ' *'; color: var(--fb-red); }

.fb-form-panel {
  background: var(--fb-white);
  border: 1px solid var(--fb-line);
  border-radius: 2px;
  padding: 40px;
  box-shadow: var(--fb-shadow-1);
}

.fb-note {
  border: 1px solid var(--fb-line);
  border-left: 3px solid var(--fb-blue);
  background: var(--fb-white);
  border-radius: 2px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--fb-gray-7);
}
.fb-note.red { border-left-color: var(--fb-red); }

.fb-alert { padding: 13px 16px; font-size: 14px; border: 1px solid; border-radius: 2px; display: none; }
.fb-alert.show { display: block; }
.fb-alert.error { color: var(--fb-red-dark); border-color: var(--fb-red); background: #fdf2f2; }
.fb-alert.ok { color: var(--fb-ok); border-color: var(--fb-ok); background: #f1f8f2; }

/* --------------------------------------------------------------------------
   Tables + admin chrome (admin.html depends on these — keep stable)
   -------------------------------------------------------------------------- */
.fb-table-wrap { overflow-x: auto; border: 1px solid var(--fb-line); border-radius: 2px; background: var(--fb-white); }
.fb-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.fb-table th {
  background: var(--fb-ink-0);
  color: var(--fb-white);
  text-align: left;
  padding: 10px 12px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fb-table td { padding: 8px 12px; border-bottom: 1px solid var(--fb-line); vertical-align: middle; }
.fb-table tr:hover td { background: var(--fb-paper); }
.fb-table input[type="number"],
.fb-table input[type="text"] {
  padding: 6px 8px;
  border: 1px solid var(--fb-line);
  border-radius: 2px;
  font-size: 13px;
  width: 100px;
}
.fb-table input.wide { width: 100%; min-width: 160px; }
.fb-table select { padding: 6px 8px; border: 1px solid var(--fb-line); border-radius: 2px; font-size: 13px; }

.fb-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid;
}
.fb-badge.new { color: var(--fb-blue-dark); border-color: var(--fb-blue); background: #eef6fc; }
.fb-badge.paid, .fb-badge.approved { color: var(--fb-ok); border-color: var(--fb-ok); background: #f1f8f2; }
.fb-badge.processing, .fb-badge.contacted { color: var(--fb-warn); border-color: var(--fb-warn); background: #fdf6ec; }
.fb-badge.shipped { color: #333; border-color: #333; background: var(--fb-paper); }
.fb-badge.cancelled, .fb-badge.declined, .fb-badge.archived { color: var(--fb-gray); border-color: var(--fb-gray); background: var(--fb-paper); }
.fb-badge.inactive { color: var(--fb-gray); border-color: var(--fb-gray); background: var(--fb-paper); }

.fb-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--fb-ink-0); margin: 26px 0 20px; flex-wrap: wrap; }
.fb-tab {
  border: 0;
  background: var(--fb-paper);
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--fb-gray);
  font-family: var(--fb-font);
}
.fb-tab.active { background: var(--fb-ink-0); color: var(--fb-white); }

.fb-login-card {
  max-width: 420px;
  margin: 70px auto;
  border: 1px solid var(--fb-line);
  border-top: 3px solid var(--fb-red);
  border-radius: 2px;
  background: var(--fb-white);
  padding: 32px;
  box-shadow: var(--fb-shadow-1);
}
.fb-login-card h1 { font-size: 20px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 18px; }
.fb-login-card .fb-field { margin-bottom: 14px; }

.fb-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fb-muted { color: var(--fb-gray); font-size: 13px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.fb-footer {
  background: var(--fb-ink-0);
  color: var(--fb-dust);
  padding: 72px 0 36px;
  font-size: 14px;
  border-top: 3px solid var(--fb-red);
}
.fb-footer a { color: var(--fb-dust); }
.fb-footer a:hover { color: var(--fb-white); }
.fb-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.fb-footer img { height: 36px; width: auto; margin-bottom: 16px; }
.fb-footer .tagline { color: var(--fb-dust-2); max-width: 300px; }
.fb-footer-h {
  color: var(--fb-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.fb-footer-links { list-style: none; margin: 0; padding: 0; }
.fb-footer-links li { margin-bottom: 10px; }
.fb-footer .legal {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: var(--fb-dust-2);
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.fb-hidden { display: none !important; }
.fb-center { text-align: center; }
.fb-mt { margin-top: 18px; }
.fb-mb { margin-bottom: 18px; }

.fb-confirm-panel {
  max-width: 640px;
  margin: 24px auto;
  background: var(--fb-white);
  border: 1px solid var(--fb-line);
  border-top: 3px solid var(--fb-ok);
  border-radius: 2px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--fb-shadow-1);
}
.fb-confirm-panel .order-no {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 14px 0;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Scroll-reveal choreography.
   Hidden states apply ONLY when JS is running (html.js) AND the user has not
   asked for reduced motion — so content is never trapped invisible.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  html.js .rv {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s var(--fb-ease), transform 0.65s var(--fb-ease);
  }
  html.js .rv.in { opacity: 1; transform: none; }
  html.js .rv-d1 { transition-delay: 0.08s; }
  html.js .rv-d2 { transition-delay: 0.16s; }
  html.js .rv-d3 { transition-delay: 0.24s; }
  html.js .rv-d4 { transition-delay: 0.32s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .fb-hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 72px 0 128px; }
  .fb-hero-product { max-width: 520px; }
  .fb-story { grid-template-columns: 1fr; gap: 40px; }
  .fb-section-head-split { grid-template-columns: 1fr; align-items: start; }
  .fb-footer-grid { grid-template-columns: 1fr 1fr; }
  .fb-calc-grid { grid-template-columns: 1fr 1fr; }
  .fb-quotes { grid-template-columns: 1fr; }
  .fb-steps { grid-template-columns: 1fr; }
  .fb-scale { grid-template-columns: 1fr; }
  .fb-scale-item .ph img { max-height: 240px; }
}

@media (max-width: 860px) {
  /* Unified nav collapses into the burger panel on BOTH public pages.
     Admin's plain .fb-nav (no .fb-nav-main) is unaffected. */
  .fb-burger { display: flex; }
  .fb-nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--fb-ink-0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
  }
  .fb-nav-main.open { display: flex; }
  .fb-nav-main a {
    padding: 15px 24px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .fb-nav-main a::after { display: none; }
  .fb-nav-main a.active {
    color: var(--fb-white);
    box-shadow: inset 3px 0 0 var(--fb-red);
  }
  .fb-nav-apply { display: none; }

  .fb-section { padding: 64px 0; }
  .fb-stats { grid-template-columns: 1fr 1fr; }
  .fb-stat { border-left: 0; border-top: 1px solid var(--fb-line); }
  .fb-stat:nth-child(1), .fb-stat:nth-child(2) { border-top: 0; }
  .fb-stat:nth-child(even) { border-left: 1px solid var(--fb-line); }
  .fb-compare { grid-template-columns: 1fr; }
  .fb-calc { padding: 28px 20px; }
  .fb-cred { padding: 0 16px; font-size: 11.5px; }
}

@media (max-width: 560px) {
  .fb-hero-grid { padding: 56px 0 120px; }
  .fb-hero p.lead { font-size: 16.5px; }
  .fb-hero-meta { gap: 10px 18px; font-size: 11.5px; }
  .fb-hero-product { padding: 14px 14px 0; }
  .fb-form { grid-template-columns: 1fr; }
  .fb-form-panel { padding: 24px 18px; }
  .fb-modal-grid { grid-template-columns: 1fr; }
  .fb-logo img { height: 34px; }
  .fb-header.is-condensed .fb-logo img { height: 30px; }
  .fb-cart-btn { padding: 9px 12px; }
  .fb-calc-grid { grid-template-columns: 1fr; }
  .fb-calc-top { flex-direction: column; align-items: stretch; }
  .fb-seg { width: 100%; }
  .fb-seg button { flex: 1; padding: 12px 8px; }
  .fb-stats-wrap { margin-top: -64px; }
  .fb-stat { padding: 22px 18px 18px; }
  .fb-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .fb-confirm-panel { padding: 32px 20px; }
}
