/* Variant 2 is scoped to this page; the original hero keeps its existing CSS. */
/* header, hero shade and hero fade all use the page background (--bg #181313 = rgb 24 19 19) so the hero melts into the page */
.hero-fullscreen .header{position:fixed;left:0;right:0;top:0;background:transparent}
/* the header is frosted glass on every screen: the page colour at 62% over a blur of whatever passes under it, with a straight
   bottom edge and no gradient; browsers without backdrop-filter get the page colour nearly opaque instead */
.hero-fullscreen .header::before{inset:0 auto 0 50%;width:100vw;transform:translateX(-50%);background:rgba(24,19,19,.62);-webkit-backdrop-filter:blur(20px) saturate(1.3);backdrop-filter:blur(20px) saturate(1.3);pointer-events:none}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.hero-fullscreen .header::before{background:rgba(24,19,19,.94)}}
/* header booking button: hero-fullscreen.js adds .header-cta-auto, and the button waits until the hero has scrolled away
   (.header-past-hero); the hero has its own booking button. The space stays reserved, so the nav never moves: in the hero
   the phone number stands in the button's place (--cta-shift, measured by the script) and slides back as the button comes in.
   Without JavaScript the button simply stays. Phones (up to 540px) never show it: the bottom bar books instead. */
.hero-fullscreen .header-cta-auto .header-book{transition:background .2s,color .2s,transform .35s var(--ease),opacity .3s var(--ease) .08s,visibility 0s}
.hero-fullscreen .header-cta-auto .header-phone{transition:transform .45s var(--ease)}
.hero-fullscreen .header-cta-auto:not(.header-past-hero) .header-book{opacity:0;visibility:hidden;transform:translateX(16px);transition:transform .35s var(--ease),opacity .2s,visibility 0s .35s}
.hero-fullscreen .header-cta-auto:not(.header-past-hero) .header-phone{transform:translateX(var(--cta-shift,0px));transition-delay:.08s}
.hero-fullscreen .header-cta-still .header-book,.hero-fullscreen .header-cta-still .header-phone{transition:none!important}
.hero-fullscreen .hero--fullscreen{display:block;width:100%;max-width:none;margin:0}
.hero-fullscreen .hero-scene{height:100svh;min-height:620px;border-radius:0}
.hero-fullscreen .hero-image{object-position:center 58%}
.hero-fullscreen .hero-shade{background:linear-gradient(0deg,var(--bg) 0%,rgba(24,19,19,.86) 8%,rgba(24,19,19,.5) 16%,rgba(24,19,19,.2) 24%,rgba(24,19,19,0) 32%),linear-gradient(90deg,rgba(24,19,19,.9) 0%,rgba(24,19,19,.75) 24%,rgba(24,19,19,.16) 58%,rgba(24,19,19,0) 82%)}
/* scroll zoom-out: hero-fullscreen.js moves --recede with the scroll (0 at the top, 1 once the hero has left), so the garage recedes under the panels (smaller, slower, dimmer) and returns to 100% at the top; without JS the hero stays static */
@property --recede{syntax:'<number>';inherits:false;initial-value:0}
.hero-fullscreen .hero--fullscreen{overflow-x:clip}
.hero-fullscreen .hero-scene{scale:calc(1 - .12 * var(--recede));translate:0 calc(28% * var(--recede));opacity:calc(1 - .55 * var(--recede))}
/* as the scene shrinks its side edges would show as hard lines: fade the sides into the page background in step with --recede (invisible at 100%), under the copy; phones (max-width:540px) keep the scene at full width instead, so they need no side fade */
.hero-fullscreen .hero-scene::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,var(--bg),transparent 12%,transparent 88%,var(--bg));--recede:inherit;opacity:calc(var(--recede) * 5)}
/* the smoothed wheel (Lenis) keeps going when the pointer passes over the map; once scrolling stops the map is interactive again */
.lenis-scrolling iframe{pointer-events:none}
/* the booking and garage panels and the info row under them are hidden for now (the hidden attribute in index.html); their rules stay.
   The price block takes their place right under the hero: the same 24px gap (16px on phones), above the receding scene */
.hero-fullscreen .hero-aside--below{position:relative;z-index:1}
.hero-fullscreen .pricing-section{position:relative;z-index:1;padding-top:0;margin-top:24px;scroll-margin-top:24px}
.hero-fullscreen .hero-content{height:100%;max-width:1440px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:140px 0 120px}
.hero-fullscreen .hero h1{max-width:610px;font-size:clamp(68px,min(7vw,11.5vh),96px);line-height:.96}
/* H1 text reveal (ported from the TextReveal component): letters rise out of their line one after another, 20ms apart; the hidden state lives only in the keyframes, so with animations off the headline simply shows. Screen readers get the .sr-only copy. */
.hero-fullscreen .hero h1 span{color:inherit}
.hero-fullscreen .text-reveal .line{display:block;overflow:hidden}
.hero-fullscreen .text-reveal .accent{color:var(--accent)}
.hero-fullscreen .text-reveal .line>span{display:inline-block;animation:char-reveal .5s ease-in-out both;animation-delay:calc(.013s * var(--i))}
@keyframes char-reveal{from{opacity:0;transform:translateY(100%)}}
/* hero entrance: while .is-loading the preloader (the flapping phoenix, hero-loader.js, filling with --load, 0..1) covers the stage in the page
   colour, so not even the headlights' glow in the dark poster shows; while .is-waiting the copy waits. hero-3d-scene.js
   lifts the preloader off the dark garage first and starts the intro once it has gone (lamps switching on left to right),
   dropping .is-waiting so the copy rises with the car; hero-3d.js drops both when the still takes over.
   Without scripting nothing waits; if the scripts never arrive the wait ends at 7s. */
@property --load{syntax:'<number>';inherits:true;initial-value:0}
.hero-fullscreen .hero-content{animation:none}
.hero-fullscreen .hero-marquee{animation:hero-rise .8s var(--ease) .35s both}
.hero-fullscreen .hero-fullscreen-actions{animation:hero-rise .8s var(--ease) .5s both}
.hero-fullscreen .scene-caption{animation:hero-rise .8s var(--ease) .8s both}
@keyframes hero-rise{from{opacity:0;transform:translateY(14px)}}
.hero-loader{display:none}
@media(scripting:enabled){
.hero-loader{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:30px;pointer-events:none;background:var(--bg);opacity:0;visibility:hidden;transition:opacity .6s,visibility .6s,--load .6s var(--ease)}
.hero-fullscreen .is-loading .hero-loader{opacity:1;visibility:visible;animation:hero-wait-over 0s 7s forwards}
.hero-loader-bird{position:relative;width:clamp(150px,10vw,200px);aspect-ratio:1069.5/599}
.hero-loader-bird svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:rgb(255 118 107 / .22);stroke:none}
/* the fill rises from the bottom; the insets reach past the box so that wing tips outside it keep their colour */
.hero-loader-bird svg+svg{fill:var(--accent);clip-path:inset(calc((1 - var(--load)) * 112% - 12%) -40% -40%)}
.hero-loader-count{font-size:13px;font-weight:700;letter-spacing:.16em;color:var(--muted);font-variant-numeric:tabular-nums;counter-reset:load calc(var(--load) * 100)}
.hero-loader-count::before{content:counter(load) "%"}
.hero-fullscreen .is-waiting :is(.text-reveal .line>span,.hero-marquee,.hero-fullscreen-actions,.scene-caption){animation:hero-wait 7s step-end}
}
@keyframes hero-wait{from{opacity:0}}
@keyframes hero-wait-over{to{opacity:0;visibility:hidden}}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* the category ticker: text only, and the edges fade out over --fade. It starts at the left edge of the h1 and ends with the letters of its widest line, just before the full stop (96%). On landscape screens it stops short of the car, whose rear sits near 50vw - 9vh; on phones --bleed takes it to the screen edges. Duplicate list, so -50% loops without a seam */
.hero-fullscreen .hero-copy{width:fit-content;max-width:100%}
.hero-fullscreen .hero-marquee{--bleed:0px;--fade:48px;width:0;min-width:min(96%,calc(50vw - 9vh - 48px));margin:24px 0 0 calc(-1 * var(--bleed));overflow:hidden;font-size:14px;line-height:1.85;color:#e9dcd6;-webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--fade),#000 calc(100% - var(--fade)),transparent);mask-image:linear-gradient(90deg,transparent,#000 var(--fade),#000 calc(100% - var(--fade)),transparent)}
.hero-marquee-track{display:flex;width:max-content;animation:hero-marquee 60s linear infinite}
.hero-marquee ul{display:flex;gap:40px;margin:0;padding:0 40px 0 0;list-style:none;white-space:nowrap}
@keyframes hero-marquee{to{transform:translate3d(-50%,0,0)}}
@media(hover:hover){.hero-marquee:hover .hero-marquee-track{animation-play-state:paused}}
.hero-fullscreen-actions{display:flex;align-items:center;flex-wrap:wrap;gap:26px;margin-top:30px}
/* Hero CTA (ported from the AntiMetalButton component): vermilion body, a burgundy-ink tab of coral dot chevrons that fills the button on hover. Same size as .button: the left padding replaces its gap and arrow. */
.button-metal{--pad-start:70px;--pad-end:23px;position:relative;display:inline-flex;align-items:center;min-height:54px;padding:0 var(--pad-end) 0 var(--pad-start);border-radius:8px;overflow:hidden;color:var(--on-accent);font-size:14px;font-weight:700;line-height:1.4;background:linear-gradient(180deg,#d4463d,var(--accent-solid));box-shadow:inset 0 1px 0 rgba(255,242,236,.2),0 4px 12px rgba(14,8,8,.3);transition:transform .2s}
.button-metal:active{transform:scale(.98)}
.button-metal-handle{position:absolute;inset:4px auto 4px 4px;width:36px;border-radius:4px;background:linear-gradient(180deg,#3a1714,var(--ink));box-shadow:inset 0 1px 0 rgba(255,242,236,.14),inset 0 -2px 4px rgba(0,0,0,.25),0 2px 4px rgba(14,8,8,.2);transition:width .2s cubic-bezier(.65,0,.35,1)}
.button-metal-label{position:relative;transition:transform .2s cubic-bezier(.65,0,.35,1)}
.button-metal-chevron{position:absolute;top:50%;left:15px;width:14px;height:16px;margin-top:-8px;fill:var(--accent);stroke:none}
.button-metal-chevron-end{left:auto;right:15px;opacity:0;transition:opacity .1s}
.button-metal circle{transform-box:fill-box;transform-origin:center;animation:dot-wave 1.4s ease-in-out infinite}
@media(hover:hover){.button-metal:hover .button-metal-handle{width:calc(100% - 8px)}.button-metal:hover .button-metal-label{transform:translateX(calc((var(--pad-end) - var(--pad-start))/2))}.button-metal:hover .button-metal-chevron-end{opacity:1;transition:opacity .15s .1s}}
@keyframes dot-wave{0%,70%,100%{opacity:.25;transform:scale(.85)}35%{opacity:1;transform:scale(1)}}
.hero-fullscreen .scene-caption{left:0;right:0;bottom:34px;max-width:1440px;margin-inline:auto}
.hero-fullscreen .hero-aside--below{grid-template-columns:1fr 1fr;grid-template-rows:none;gap:16px;margin-top:24px}
.hero-fullscreen .hero-aside--below .booking-panel{min-height:300px;padding:30px 34px}
.hero-fullscreen .hero-aside--below .booking-panel h2{font-size:48px;margin:22px 0}
.hero-fullscreen .hero-aside--below .booking-top>span{display:block;font-size:14px}
.hero-fullscreen .hero-aside--below .workshop-teaser{min-height:300px}
.hero-fullscreen .hero-aside--below .workshop-teaser>img{object-position:50% 44%}
.hero-fullscreen .hero-aside--below .teaser-text{left:34px;bottom:30px;font-size:48px}
.hero-fullscreen .hero-aside--below .square-arrow{top:30px;right:30px}
@media(min-width:1600px){.hero-fullscreen .hero-content{padding-top:160px;padding-bottom:140px}}
@media(max-width:1150px){.hero-fullscreen .hero h1{font-size:clamp(56px,11.5vh,80px);max-width:540px}.hero-fullscreen .hero-marquee{--fade:44px;min-width:min(96%,calc(50vw - 9vh - 32px));font-size:13px}.hero-fullscreen .hero-aside--below .booking-panel{padding:28px}.hero-fullscreen .hero-aside--below .booking-panel h2{font-size:42px}.hero-fullscreen .hero-aside--below .teaser-text{left:28px;font-size:42px}}
@media(max-width:800px){.hero-fullscreen .hero-scene{min-height:650px}.hero-fullscreen .hero-content{padding-top:130px;padding-bottom:120px}.hero-fullscreen .hero h1{font-size:clamp(52px,11.5vh,78px);max-width:510px}.hero-fullscreen .hero-image{object-position:60% 50%}.hero-fullscreen .hero-aside--below .booking-panel h2{font-size:36px}.hero-fullscreen .hero-aside--below .booking-panel{padding:24px;min-height:290px}.hero-fullscreen .hero-aside--below .workshop-teaser{min-height:290px}.hero-fullscreen .hero-aside--below .booking-top>span{font-size:13px;max-width:180px;text-align:right}.hero-fullscreen .hero-aside--below .teaser-text{left:25px;font-size:38px}}
@media(max-width:540px){.hero-fullscreen .pricing-section{margin-top:16px}.hero-fullscreen .hero-scene{height:100svh;min-height:640px;scale:none}.hero-fullscreen .hero-scene::after{content:none}.hero-fullscreen .hero-content{padding:100px 0 115px;justify-content:flex-start}.hero-fullscreen .hero h1{font-size:clamp(42px,13vw,66px);max-width:100%;line-height:.98}.hero-fullscreen .hero-copy{width:100%}.hero-fullscreen .hero-marquee{--bleed:16px;--fade:40px;min-width:calc(100% + var(--bleed) * 2);margin-top:20px}.hero-fullscreen .hero-image{object-position:60% 50%}.hero-fullscreen .hero-shade{--h1-end:calc(100px + 51vw);background:linear-gradient(180deg,rgba(24,19,19,.74) 0,rgba(24,19,19,.7) var(--h1-end),rgba(24,19,19,.62) calc(var(--h1-end) + 67px),rgba(24,19,19,.4) calc(var(--h1-end) + 190px),rgba(24,19,19,0) calc(var(--h1-end) + 300px)),linear-gradient(0deg,var(--bg) 0,rgba(24,19,19,.55) 16%,rgba(24,19,19,0) 36%)}.hero-fullscreen-actions{display:none}.hero-fullscreen .scene-caption{bottom:93px;gap:9px;font-size:12px}.hero-fullscreen .hero-tagline,.hero-fullscreen .scene-caption-line{display:none}.hero-fullscreen .hero-aside--below{grid-template-columns:1fr;gap:12px;margin-top:16px}.hero-fullscreen .hero-aside--below .booking-panel{min-height:264px;padding:26px}.hero-fullscreen .hero-aside--below .booking-panel h2{font-size:42px;margin:20px 0}.hero-fullscreen .hero-aside--below .booking-top>span{max-width:none;font-size:13px}.hero-fullscreen .hero-aside--below .booking-cta{font-size:14px}.hero-fullscreen .hero-aside--below .circle-arrow{width:38px;height:38px}.hero-fullscreen .hero-aside--below .workshop-teaser{min-height:280px}.hero-fullscreen .hero-aside--below .teaser-text{left:26px;bottom:27px;font-size:42px}.hero-fullscreen .hero-aside--below .square-arrow{top:24px;right:24px;width:37px;height:37px}}
@media(max-width:360px){.hero-fullscreen .hero h1{font-size:46px}.hero-fullscreen .hero-content{padding-top:94px}.hero-fullscreen .hero-marquee{--bleed:12px;--fade:32px;font-size:12px}.hero-fullscreen .hero-aside--below .booking-panel h2{font-size:36px}.hero-fullscreen .hero-aside--below .booking-top>span{max-width:150px}}
@media(prefers-reduced-motion:reduce){.hero-fullscreen .hero-marquee{overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - var(--fade)),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - var(--fade)),transparent)}.hero-marquee::-webkit-scrollbar{display:none}.hero-marquee-track{padding:0 var(--fade) 0 var(--bleed)}.hero-marquee ul[aria-hidden]{display:none}}
@media print{.hero-fullscreen .header{position:static}.hero-fullscreen .hero-aside--below{display:none}}
