/* A continuous, full-bleed photographic stage behind the existing content. */
html{overflow-x:hidden;overscroll-behavior-x:none}
body{isolation:isolate;background:#09253e;width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip;overscroll-behavior-x:none;touch-action:pan-x pan-y pinch-zoom}
main{overflow-x:clip;min-width:0}
/* A stable canvas avoids recropping the cars as mobile browser bars open/close. */
.world-stage{position:fixed;inset:0 0 auto;height:calc(var(--scene-vh, 1svh) * 100);height:calc(var(--world-vh, 1lvh) * 100);z-index:-1;overflow:hidden;pointer-events:none;background:#09253e}
.world-layer{position:absolute;inset:0;opacity:0;visibility:hidden;transform-origin:50% 66%;contain:layout style}
.world-layer.is-active{opacity:1;visibility:visible;will-change:transform}
.world-stage:not([data-active]) .world-layer:first-child{opacity:1;visibility:visible}
.world-layer.is-active .world-environment,.world-layer.is-active .world-foreground{will-change:opacity}
.world-environment,.world-foreground{position:absolute;inset:0}
.world-stage picture,.world-stage img{display:block;width:100%;height:100%}
.world-stage img{object-fit:cover;object-position:center;max-width:none}
.world-ambient-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity 800ms ease;pointer-events:none}
.world-ambient-video.is-playing{opacity:1}
[data-world="road"] img,[data-world="road"] .world-ambient-video{object-position:center bottom}
[data-world="road"] .world-foreground{mask-position:center bottom;-webkit-mask-position:center bottom}
@media(max-width:760px){[data-world="audi"] .world-ambient-video{object-position:53% center}}
@media(prefers-reduced-motion:reduce){.world-ambient-video{display:none;transition:none}}
.world-foreground{mask-image:var(--cutout);mask-size:cover;mask-position:center;mask-repeat:no-repeat;-webkit-mask-image:var(--cutout);-webkit-mask-size:cover;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat}
.world-wash{position:absolute;inset:0;z-index:3;background:linear-gradient(90deg,#09253e9c 0%,#09253e20 68%,#09253e45),linear-gradient(180deg,#09253e48,transparent 47%,#09253e47)}
.world-stage .light-track{position:absolute;opacity:.32;z-index:4}.world-stage .grain{z-index:5}
.world-reading-shade{position:absolute;inset:0;z-index:6;background:#061728;opacity:0;transition:opacity 280ms ease-out;pointer-events:none}
.world-copy-shade{position:absolute;z-index:7;max-width:none;opacity:.48;pointer-events:none;will-change:transform}
.opening,.detail-world,.closing-world{isolation:auto;background:transparent}
.opening-background,.origin-background,.method-background,.closing-media{display:none}
.opening{padding:0}.origin{margin:0;padding:100px 0 120px;min-height:calc(var(--scene-vh, 1svh) * 110);isolation:auto}.method{isolation:auto}
.hero{min-height:calc(var(--scene-vh, 1svh) * 115);padding-bottom:60px}.hero h1{max-width:1080px}.hero-bottom{margin-top:max(calc(var(--scene-vh, 1svh) * 14),90px)}
.scene{position:relative;scroll-margin-top:110px}
.services{padding-block:110px 160px;min-height:calc(var(--scene-vh, 1svh) * 125)}.services .intro-grid{margin-bottom:calc(var(--scene-vh, 1svh) * 32)}
.visual-scene{min-height:calc(var(--scene-vh, 1svh) * 112);padding-block:115px 50px;display:flex;flex-direction:column;justify-content:space-between;gap:calc(var(--scene-vh, 1svh) * 52)}
.visual-intro h2{font-size:clamp(75px,9vw,138px);max-width:800px;margin-bottom:0}
.visual-intro .eyebrow{margin-bottom:22px;color:var(--accent)}

.visual-passage{min-height:0;padding-top:clamp(32px,4vw,48px);justify-content:flex-start;gap:0}
.wallapop-block{width:100%;display:grid;grid-template-columns:1.15fr 1fr;gap:8%;align-items:end;scroll-margin-top:120px}
.wallapop-block h2{font-size:clamp(60px,6.6vw,100px);margin-bottom:0}
.wallapop-block .eyebrow{color:var(--accent);margin-bottom:18px}
.wallapop-access{max-width:440px;padding-bottom:5px}
.wallapop-access p{font-size:16px;line-height:1.7;margin-bottom:25px}
.profile-links{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.wallapop-link{max-width:100%;gap:24px}
.wallapop-link span[aria-hidden]{font-size:24px;line-height:1}
.method{padding-block:100px clamp(32px,4vw,48px);min-height:0}.method .intro-grid{margin-bottom:calc(var(--scene-vh, 1svh) * 15)}
.faq{min-height:calc(var(--scene-vh, 1svh) * 125);padding-block:115px 100px}.faq-grid{align-items:start;gap:10%}.faq-grid>div{padding-top:calc(var(--scene-vh, 1svh) * 27)}
.last-cta{min-height:calc(var(--scene-vh, 1svh) * 108);padding-top:110px;padding-bottom:65px;display:flex;flex-direction:column;align-items:center}.last-cta h2{margin-top:0}.last-actions{margin-top:auto;padding-top:calc(var(--scene-vh, 1svh) * 42)}
.footer{background:transparent;padding-bottom:50px}
.service-panel p,.method-list details p,.faq details p,.origin-bottom p,.intro-copy{font-size:16px}
@media(max-width:760px){
 .wallapop-block{grid-template-columns:1fr;gap:26px}.wallapop-block h2{font-size:clamp(52px,13vw,76px)}.wallapop-access p{font-size:15px;max-width:32ch}.wallapop-link{font-size:13px;padding-inline:20px}
 .world-foreground{mask-image:var(--cutout-mobile);-webkit-mask-image:var(--cutout-mobile)}
 [data-world="audi"] img{object-position:53% center}[data-world="audi"] .world-foreground{mask-position:53% center;-webkit-mask-position:53% center}
 .world-wash{background:linear-gradient(180deg,#09253e8c 0%,#09253e35 37%,#09253e18 72%,#09253e91 100%)}
 .hero{padding-top:130px;min-height:calc(var(--scene-vh, 1svh) * 125)}.hero-topline{margin-bottom:35px}.hero h1{font-size:clamp(68px,16.4vw,112px);margin-bottom:0}.hero-serif{font-size:clamp(29px,7.5vw,42px)}.hero-bottom{margin-top:calc(var(--scene-vh, 1svh) * 47)}.hero-description{max-width:100%;font-size:15px}
 .services{padding-block:100px 110px;min-height:calc(var(--scene-vh, 1svh) * 150)}.services .intro-grid{margin-bottom:calc(var(--scene-vh, 1svh) * 43)}.service-panel{grid-template-columns:1fr;gap:18px}.service-index{font-size:50px}.service-panel h3{font-size:40px}.service-details{grid-column:1;font-size:14px;margin-top:0}.service-tabs button{font-size:14px}
 .visual-scene{min-height:calc(var(--scene-vh, 1svh) * 120);padding-block:100px 50px;gap:calc(var(--scene-vh, 1svh) * 54)}.visual-intro h2{font-size:clamp(61px,16vw,85px)}
 .visual-passage{min-height:0;gap:0;padding-block:32px 55px}.origin{padding-block:100px 95px}.origin h2{margin-block:70px calc(var(--scene-vh, 1svh) * 40)}.method{padding-block:100px 32px}.method .intro-grid{margin-bottom:calc(var(--scene-vh, 1svh) * 22)}.method-list{margin:0}.method-list summary{font-size:20px}.method-list details p{padding-left:0}
 .faq{padding-block:100px 90px;min-height:calc(var(--scene-vh, 1svh) * 145)}.faq-grid>div{padding-top:calc(var(--scene-vh, 1svh) * 42)}.faq h2{font-size:75px}.faq summary{font-size:16px}.last-cta{min-height:calc(var(--scene-vh, 1svh) * 120);padding-top:100px}.last-cta h2{font-size:clamp(85px,21vw,145px)}.last-actions{padding-top:calc(var(--scene-vh, 1svh) * 51);width:100%}.last-actions .pill{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.world-layer{transform:none!important;will-change:auto}.world-stage .light-track{display:none}.world-reading-shade{transition:none}}

/* The import route is the focal point of this scene. */
.origin{display:flex;flex-direction:column}
.origin .origin-content{flex:1;display:flex;flex-direction:column}
.origin .section-kicker{margin-bottom:0}
.origin .origin-bottom{flex:1;display:flex;align-items:center;justify-content:center;padding-block:clamp(45px,calc(var(--scene-vh, 1svh) * 8),90px)}
.origin .route{width:min(100%,900px);margin:0 auto;font:600 clamp(32px,4.4vw,64px)/1.2 Khand,Impact,sans-serif;letter-spacing:.05em}
.origin .route svg{width:100%;height:auto;aspect-ratio:420/160;margin:18px 0}
.origin .route-destination{font-size:clamp(44px,6vw,88px);color:var(--paper)}
.origin .route-track{stroke:rgb(244 247 250 / .62);stroke-width:1.5}

/* Keep the final actions close to their heading and prominent on every screen. */
.last-cta h2{margin-bottom:0}
.last-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:min(100%,760px);margin-top:clamp(28px,calc(var(--scene-vh, 1svh) * 5),64px);padding-top:0}
.last-actions .pill{width:100%;min-height:88px;padding:22px 30px;border-width:2px;border-color:var(--accent);font-size:clamp(20px,1.8vw,26px);font-weight:700;line-height:1.35;gap:22px;text-align:left}
.last-actions .pill span:last-child{font-size:32px;flex-shrink:0}
.last-actions .pill:not(.primary){background:rgb(9 37 62 / .82)}
.last-actions .pill:hover{background:var(--accent);color:var(--ink)}
@media(max-width:760px){.last-actions{grid-template-columns:1fr;width:min(100%,380px);gap:16px;margin-top:32px}.last-actions .pill{min-height:80px;padding:20px 25px;font-size:21px}}

/* One BMW source in every layout; keep mobile framing exactly as before. */
@media(min-width:761px){
 [data-world="bmw"] img,[data-world="bmw"] .world-ambient-video{object-position:center 75%}
 [data-world="bmw"] .world-foreground{mask-position:center 75%;-webkit-mask-position:center 75%}
}

/* BMW: native lossless still supplies the entire scene. Low-resolution footage
   is transparent outside clear sky, including at load/reentry/responsive swaps. */
[data-world="bmw"] .world-ambient-video{mask-image:var(--ambient-sky-mask,url(assets/bmw-sky-only-v97.png));-webkit-mask-image:var(--ambient-sky-mask,url(assets/bmw-sky-only-v97.png));mask-mode:alpha;mask-size:cover;-webkit-mask-size:cover;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center center;-webkit-mask-position:center center}
[data-world="bmw"] .world-foreground{display:none}
@media(min-width:761px){[data-world="bmw"] .world-ambient-video{mask-position:center 75%;-webkit-mask-position:center 75%}}

/* Mercedes: existing still below, video restricted to sky and foliage only. */
[data-world="mercedes"] .world-ambient-video{mask-image:var(--ambient-sky-mask);-webkit-mask-image:var(--ambient-sky-mask);mask-size:cover;-webkit-mask-size:cover;mask-position:center;-webkit-mask-position:center;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-mode:alpha}
[data-world="mercedes"] .world-foreground{display:none}
