/* The artwork remains registered with the two per-pixel light plates. */
.scene .scene-source {filter:none;animation:none}
.scene .scene-source img {filter:none;animation:none}
.hero-lights {object-fit:contain;object-position:center bottom}
.hero-lights.car-amber,.hero-lights.car-white {mix-blend-mode:normal;opacity:0;animation:none;transition:none;pointer-events:none}
.car-hit-frame {z-index:4}
.scene.lights-ready.hazards-on.lights-visible .car-amber {animation:hazard-cycle 666.667ms linear infinite}
.scene:not(.lights-visible) .car-amber {animation:none!important;opacity:0}
/* Local light transport is baked into the plate; screen preserves concurrent amber indicators. */
.scene .hero-light-plate.car-white {mix-blend-mode:screen}
.scene .hero-light-plate.car-white img {filter:none}
.scene.lights-ready.beam-on .car-white {opacity:1;transition:opacity 65ms cubic-bezier(.15,.8,.25,1)}
.scene.lights-ready:not(.beam-on) .car-white {transition:opacity 135ms ease-out}
@keyframes hazard-cycle {0%{opacity:0}9%{opacity:1}43%{opacity:1}57%,100%{opacity:0}}
/* Wait for the image, then start with the garage almost dark. A brief, non-strobing
   power-up exposes the actual fixtures, bodywork and wet floor before the headline. */
.hero-pending .landing-copy,.hero-pending .scene-source img {opacity:0}
.hero-pending .scene {background:#080b0e}
.hero-pending .scene .ceiling,.hero-intro .scene .ceiling {animation:none;opacity:0}
.hero-intro .scene-source img {animation:garage-power 2.05s cubic-bezier(.22,.7,.2,1) both!important}
.hero-intro .hero-lights {visibility:hidden}
.hero-intro .eyebrow,.hero-intro .landing-copy h1 span,.hero-intro .hero-description,.hero-intro .hero-actions {animation:editorial-reveal .85s cubic-bezier(.16,1,.3,1) both!important}
.hero-intro .eyebrow {animation-delay:.64s!important}
.hero-intro .landing-copy h1 span:nth-child(1){animation-delay:.87s!important}
.hero-intro .landing-copy h1 span:nth-child(2){animation-delay:1.04s!important}
.hero-intro .landing-copy h1 span:nth-child(3){animation-delay:1.21s!important}
.hero-intro .hero-description{animation-delay:1.42s!important}
.hero-intro .hero-actions{animation-delay:1.55s!important}
@keyframes garage-power {0%{filter:brightness(.10) saturate(.35)}20%{filter:brightness(.16) saturate(.45)}36%{filter:brightness(.40) saturate(.72)}57%{filter:brightness(.80) saturate(.92)}100%{filter:brightness(1) saturate(1)}}
@keyframes editorial-reveal {0%{opacity:0;transform:translateY(.45em);clip-path:inset(100% -12% -12% -12%)}100%{opacity:1;transform:none;clip-path:inset(-12%)}}
/* No artificial ceiling pulse after the introduction; retain only the photographed environment. */
.scene-ready .ceiling {animation:none;opacity:.10}
@media (max-width:900px){
 .scene .ceiling {display:none}
 .scene .scene-source {mask-image:linear-gradient(to bottom,transparent,#000 12% 90%,transparent)}
 .scene .scene-shade {background:linear-gradient(180deg,#0b0f13 0%,#0b0f1326 40%,transparent 53% 90%,#0b0f13 100%)}
}
@media(prefers-reduced-motion:reduce){
 .hero-pending .landing-copy,.hero-pending .scene-source img{opacity:1}
 .hero-intro .scene-source img,.hero-intro .eyebrow,.hero-intro .landing-copy h1 span,.hero-intro .hero-description,.hero-intro .hero-actions{animation:none!important;opacity:1;filter:none;transform:none;clip-path:none}
 .hero-intro .hero-lights{visibility:visible}
 .scene.lights-ready.hazards-on.lights-visible .car-amber{animation:none;opacity:1}
 .scene.lights-ready.beam-on .car-white{opacity:0}
}
/* One image plate per light state; both use the same picture geometry as the base photo. */
.scene .hero-light-plate {inset:0 0 auto;height:56.15vw;transform:none}
.scene .hero-light-plate img {width:100%;height:100%;object-fit:cover;object-position:center top}
.scene .garage-fixture {position:absolute;inset:0 0 auto;height:56.15vw;background:url('/assets/art/hero-opaque.webp') center top/100% 100% no-repeat;opacity:0;pointer-events:none;z-index:2;mask-image:radial-gradient(ellipse 20% 12% at 58% 13%,#000 45%,transparent)}
.scene .fixture-b {mask-image:radial-gradient(ellipse 19% 14% at 78% 24%,#000 45%,transparent)}
.hero-intro .fixture-a {animation:garage-fixture-a 2.05s linear both}
.hero-intro .fixture-b {animation:garage-fixture-b 2.05s linear both}
@keyframes garage-fixture-a {0%,9%{opacity:0}16%,29%{opacity:1}55%{opacity:.55}80%,100%{opacity:0}}
@keyframes garage-fixture-b {0%,22%{opacity:0}30%,44%{opacity:1}65%{opacity:.3}85%,100%{opacity:0}}
@media (max-width:900px){
 .scene .hero-light-plate,.scene .garage-fixture {inset:auto auto 0 50%;width:var(--hero-art-width);height:var(--hero-art-height);transform:translateX(-50%)}
 .scene .hero-light-plate img {object-fit:contain;object-position:center bottom}
 .scene .garage-fixture {background-image:url('/assets/art/hero-x6m-cinematic.webp');mask-image:radial-gradient(ellipse 16% 6% at 6% 43.7%,#000 45%,transparent),radial-gradient(ellipse 23% 7% at 37% 46.1%,#000 42%,transparent)}
 .scene .fixture-b {mask-image:radial-gradient(ellipse 20% 6% at 63% 49.0%,#000 45%,transparent),radial-gradient(ellipse 6% 3% at 7% 47.8%,#000 45%,transparent)}
}
@media(prefers-reduced-motion:reduce){.hero-intro .garage-fixture{animation:none;opacity:0}}
@media (max-width:900px){.scene .hero-light-plate {mask-image:linear-gradient(to bottom,transparent,#000 12% 90%,transparent)}}
/* Reduced-motion devices receive a short opacity-only entrance instead of movement
   or automatic flashing. The scene never remains hidden. */
@media(prefers-reduced-motion:reduce){
 .hero-pending .landing-copy{opacity:0}
 .hero-intro .eyebrow,.hero-intro .landing-copy h1 span,.hero-intro .hero-description,.hero-intro .hero-actions{animation:editorial-fade .32s ease-out both!important;animation-delay:.06s!important}
 .hero-intro .landing-copy h1 span:nth-child(2){animation-delay:.13s!important}
 .hero-intro .landing-copy h1 span:nth-child(3){animation-delay:.20s!important}
 .hero-intro .hero-description,.hero-intro .hero-actions{animation-delay:.25s!important}
 .hero-intro .scene-source img {animation:editorial-fade .45s ease-out both!important;animation-delay:0s!important}
}
@keyframes editorial-fade {from{opacity:0}to{opacity:1}}

.hero-intro .scene-source img,.hero-intro .garage-fixture {animation-play-state:running!important}
.hero-pending .landing-copy{pointer-events:none}
.hero-pending .hero-actions{pointer-events:none}

/* Compact seven-position navigator with a real countdown, synchronized to the
   autoplay timer. Existing arrows, guide and category cards remain unchanged. */
.carousel-pagination {position:absolute;top:-1.55rem;right:0;z-index:4;display:flex;align-items:center;gap:12px;width:clamp(170px,17vw,270px)}
.carousel-pagination .carousel-dots {display:flex;flex:1;gap:5px;margin:0;min-width:0}
.carousel-pagination .carousel-dots button {position:relative;display:grid;place-items:center;flex:1;min-width:0;height:24px;width:auto;border:0;background:transparent;padding:0}
.carousel-pagination .carousel-dots button::after {content:"";position:absolute;inset:auto 0;width:100%;height:3px;border-radius:1px;background:#54606a;box-shadow:none}
.carousel-pagination .carousel-dots button[aria-pressed=true]::after {background:#a51b26;box-shadow:none}
.carousel-tick {display:block;position:absolute;left:0;right:0;height:3px;background:#ff2639;border-radius:1px;z-index:1;transform-origin:left center;opacity:0;pointer-events:none}
.carousel-dots button[aria-pressed=true] .carousel-tick {opacity:1;transform:scaleX(1)}
.carousel-count {color:#b4bdc4;font-size:11px;letter-spacing:.08em;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1}
.carousel-count b {font-weight:700;color:#fff}
.carousel-auto[hidden] {display:none}
@media (max-width:900px) {
  .carousel-pagination {position:relative;top:auto;right:auto;width:auto;margin:0 8vw;gap:16px}
  .carousel-pagination .carousel-dots {gap:6px}
  .carousel-pagination .carousel-dots button {height:44px}
  .carousel-pagination .carousel-dots button::after,.carousel-tick {height:4px}
  .carousel-count {font-size:12px}
}

/* Fast first paint: do not hide text or CTA while hero artwork is loading.
   Only short compositor-friendly opacity/transform effects; no animated filters. */
.hero-intro .scene-source img {animation:vw-fast-art .52s ease-out both!important;filter:none!important}
.hero-intro .eyebrow,.hero-intro .landing-copy h1 span,.hero-intro .hero-description,.hero-intro .hero-actions {
 animation:editorial-reveal .38s cubic-bezier(.16,1,.3,1) both!important;
 animation-delay:0s!important;clip-path:none!important;pointer-events:auto;
}
.hero-intro .garage-fixture {animation-duration:.52s;animation-delay:0s}
.hero-intro .hero-lights {visibility:visible}
.hero-intro .car-hit-frame {visibility:visible}
@keyframes vw-fast-art {from{opacity:.78}to{opacity:1}}
@keyframes editorial-reveal {from{opacity:.83;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
 .hero-intro .scene-source img,.hero-intro .eyebrow,.hero-intro .landing-copy h1 span,.hero-intro .hero-description,.hero-intro .hero-actions {animation:none!important;opacity:1;transform:none}
}
