/* Decora — Design B "Drive" layer (loaded after v3.css; live site) */
.alt-drive .orbit-bg, .alt-drive .fx-canvas, .alt-drive .scroll-progress { display: none !important; }
.drive-bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }

/* Home hero: the night-drive scene replaces the photo slideshow */
.alt-drive .hero .hero-media, .alt-drive .hero .hero-ui { display: none !important; }
.alt-drive .hero { background: #070605; }
.drive-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.alt-drive .hero::before { background:
  linear-gradient(90deg, rgba(7,6,5,.88) 0%, rgba(7,6,5,.55) 34%, rgba(7,6,5,0) 58%),
  linear-gradient(180deg, rgba(7,6,5,.35) 0%, rgba(7,6,5,0) 22%, rgba(7,6,5,0) 80%, var(--navy-950) 100%) !important; }
.alt-drive .hero::after { display: none; }
@media (max-width: 759px) {
  .alt-drive .hero { padding-top: calc(var(--header-h) + 200px); }
  .alt-drive .hero::before { background:
    linear-gradient(180deg, rgba(7,6,5,.25) 0%, rgba(7,6,5,0) 16%, rgba(7,6,5,0) 36%, rgba(7,6,5,.8) 50%, rgba(7,6,5,.94) 80%, var(--navy-950) 100%) !important; }
}

/* Inner pages: light trails over the page photo */
.drive-trails { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mix-blend-mode: screen; }

/* Speedometer HUD */
.speedo { position: fixed; z-index: 92; right: 92px; bottom: 18px; width: 132px; height: 132px; border-radius: 50%;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.7)) drop-shadow(0 0 18px rgba(255,180,60,.22));
  transition: transform .35s cubic-bezier(.2,.8,.2,1); -webkit-tap-highlight-color: transparent; }
.speedo:hover { transform: scale(1.06); }
.speedo svg { width: 100%; height: 100%; display: block; overflow: visible; }
.speedo .sp-track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 7; stroke-linecap: round; }
.speedo .sp-fill { fill: none; stroke: url(#spg); stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255,170,40,.8)); }
.speedo .tk { stroke: rgba(255,240,210,.45); stroke-width: 1.4; }
.speedo .tk.maj { stroke: #ffe3a3; stroke-width: 2.6; }
.speedo .tk.red { stroke: #ff4a3a; stroke-width: 2.4; }
.speedo .sp-nums text { fill: rgba(255,236,200,.8); font: 700 11px/1 Montserrat, system-ui, sans-serif; text-anchor: middle; }
.speedo .sp-needle polygon { fill: #ff4b2b; filter: drop-shadow(0 0 4px rgba(255,80,40,.95)); }
.speedo .sp-num { fill: #fff; font: 800 27px/1 Montserrat, system-ui, sans-serif; text-anchor: middle; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.speedo .sp-unit { fill: #f3c75a; font: 700 9px/1 Inter, system-ui, sans-serif; text-anchor: middle; letter-spacing: .14em; text-transform: uppercase; }
.speedo .sp-gear { fill: #f3c75a; font: 800 12px/1 Montserrat, system-ui, sans-serif; text-anchor: middle; letter-spacing: .06em; }
.speedo .sp-rpm-bg { fill: rgba(255,255,255,.1); }
.speedo .sp-rpm { fill: #ffc83d; } .speedo .sp-rpm.hot { fill: #ff4a3a; }
@media (max-width: 899px) { .speedo { right: 10px; bottom: 84px; width: 80px; height: 80px; } .speedo .sp-nums { display: none; } .speedo .sp-num { font-size: 32px; } }
@media print { .speedo, .drive-bg { display: none; } }

/* Logo option B "Velocity": transparent, gold-on-dark, no white chip */
.alt-drive .logo-chip.logo-b { background: transparent; box-shadow: none; padding: 2px 0; border-radius: 0; }
.alt-drive .logo-chip.logo-b img { height: 58px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)); }
.alt-drive .site-header.scrolled .logo-chip.logo-b img { height: 46px; }
.alt-drive .footer-brand .logo-chip.logo-b img { height: 92px; }
.alt-drive .ig-ring img.logo-b-img { width: 82%; }
@media (max-width: 759px) {
  .alt-drive .logo-chip.logo-b img { height: 50px; }
  .alt-drive .site-header.scrolled .logo-chip.logo-b img { height: 42px; }
  .alt-drive .footer-brand .logo-chip.logo-b img { height: 72px; }
}
/* t77: gauge tucks into a small dimmed chip over product grids, so it never covers cards */
.speedo { transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease; transform-origin: 100% 100%; }
.speedo.speedo-tuck { transform: scale(.5); opacity: .35; }
.speedo.speedo-tuck:hover { transform: scale(.75); opacity: 1; }
@media (max-width: 899px) { .speedo { width: 68px; height: 68px; } .speedo.speedo-tuck { transform: scale(.55) translateY(40%); opacity: 0; pointer-events: none; } }
