/* Scoped to the home hero. Slide images share one stable frame. */
.showroom .hero .motion-hero{
 --accent:#c0eff5;--shade:#0b1720;--edge:clamp(14px,2vw,28px);position:relative;
 display:block;min-width:0;isolation:isolate;overflow:hidden;background:var(--shade);
 border:0;border-radius:20px;box-shadow:0 18px 44px -22px #07141ed4;
 touch-action:pan-y pinch-zoom;color:#fff
}
.showroom.personal .hero .motion-hero{--accent:#f3d5ab;border-radius:clamp(24px,5vw,70px) 10px 24px 10px}
.showroom.motor .hero .motion-hero{--accent:#ff9da6;border-radius:0;box-shadow:none;align-self:stretch}
.showroom.premium .hero .motion-hero{--accent:#f2d497;border-radius:2px}
.motion-stage{width:100%;height:100%;min-height:clamp(260px,24vw,390px);aspect-ratio:16/10;position:relative}
.motion-frame{position:absolute;inset:0;overflow:hidden;opacity:0;pointer-events:none;transition:opacity .86s cubic-bezier(.32,0,.22,1);background:#eff1f3}
.motion-frame.is-current{opacity:1;z-index:1}
.showroom .hero .motion-frame>img{width:100%;height:100%;max-height:none;object-fit:cover;display:block;transform:scale(1);transition:transform 7.4s cubic-bezier(.18,.48,.45,1)}
.motion-ready .motion-frame.is-current:not(.fit-banner)>img{transform:scale(1.04)}
.showroom .hero .motion-frame.fit-banner>img{object-fit:contain}
.motion-frame::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(5,13,20,.12) 66%,rgba(5,13,20,.88) 100%);pointer-events:none}
.motion-caption{position:absolute;z-index:1;left:var(--edge);right:var(--edge);bottom:var(--edge);font:600 clamp(1.1rem,2vw,1.75rem)/1.15 "Segoe UI",Arial,sans-serif;letter-spacing:-.028em;text-wrap:balance;overflow-wrap:anywhere;text-shadow:0 1px 6px #1119;transform:translateY(7px);transition:transform .8s ease}
.is-current .motion-caption{transform:translateY(0)}
.motion-hero:has(.motion-controls:not([hidden])) .motion-caption{bottom:calc(var(--edge) + 49px)}
.motion-controls{position:absolute;bottom:var(--edge);left:var(--edge);right:var(--edge);z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px}
.motion-controls[hidden]{display:none}
.motion-buttons,.motion-steps{display:flex;align-items:center}
.motion-buttons{background:rgba(13,24,32,.77);backdrop-filter:blur(10px);border:1px solid #ffffff55;border-radius:999px;padding:1px 3px}
.motion-controls button{border:0;background:transparent;border-radius:22px;padding:0;min-height:40px;height:40px;min-width:38px;justify-content:center;display:inline-flex;align-items:center;color:#fff;cursor:pointer}
.motion-controls button:hover{background:#ffffff24}.motion-controls button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.motion-steps button{min-width:27px;padding:0 3px}.motion-steps span{display:block;width:18px;height:3px;border-radius:4px;background:#ffffff91;box-shadow:0 1px 4px #0008;transition:width .5s,background .5s}
.motion-steps [aria-current="true"] span{width:37px;background:var(--accent)}
.motion-chevron{width:9px;height:9px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(-45deg)}.motion-chevron.back{transform:rotate(135deg)}
.motion-play{height:12px;width:9px;border-inline:3px solid currentColor}.motion-paused .motion-play{width:0;height:0;border:solid transparent;border-width:6px 0 6px 10px;border-left-color:currentColor}
@media(min-width:761px){
 .showroom.premium .hero:has(.motion-hero) .motion-stage{position:absolute;inset:0;aspect-ratio:auto}
 .showroom.premium .hero:has(.motion-hero) .motion-hero::after{z-index:2}
 .showroom.premium .hero:has(.motion-hero)>div{z-index:3}
 .showroom.premium .motion-controls{left:57%}
 .showroom.premium .motion-caption{left:57%;z-index:1}
}
@media(max-width:760px){
 .showroom .hero .motion-stage{aspect-ratio:16/10;height:auto;min-height:0}
 .showroom .hero .motion-hero{--edge:12px}.motion-controls button{min-height:42px;height:42px}
 .motion-caption{font-size:1.06rem}.showroom.personal .hero .motion-hero{border-radius:25px 8px 16px 8px}
}
@media(prefers-reduced-motion:reduce){
 .motion-frame,.motion-frame .motion-caption,.motion-steps span,.showroom .hero .motion-frame>img{transition:none}
 .motion-ready .motion-frame.is-current:not(.fit-banner)>img{transform:none}
}
@media(min-width:761px){
 .showroom.premium .hero:has(.motion-hero) .motion-hero{width:100%;height:100%;align-self:stretch}
}
