/* Full-bleed photographs and quiet, automatically animated opening. */
header .brand-logo,footer .brand-logo{position:static;width:100%;height:100%;object-fit:contain;transform:none}
header .brand,footer .brand{overflow:visible}
.cinema{width:100%;overflow:hidden}
.cinema-frame{width:100%;transition:opacity 1.6s ease}
.cinema-frame img{display:block;max-width:none;width:100%;height:100%}
.cinema-frame.active img,.cinema-frame.leaving img{animation:cinema-forward 6.7s linear both}
.cinema-frame:nth-child(even).active img,.cinema-frame:nth-child(even).leaving img{animation-name:cinema-backward}
.cinema.paused img{animation-play-state:paused}
@keyframes cinema-forward{from{transform:scale(1)}to{transform:scale(1.10)}}
@keyframes cinema-backward{from{transform:scale(1.10)}to{transform:scale(1)}}
.cinema-copy{bottom:80px}
.cinema-controls{left:auto;right:3%;bottom:20px;justify-content:flex-end}
.cinema-pause{border:1px solid #ffffff50;border-radius:50%;background:#10101040;color:white;opacity:.8}
@media(max-width:650px){
 .cinema{padding:0;height:calc(100svh - 150px);min-height:530px;max-height:800px}
 .cinema-frame,.cinema-shade{height:100%;inset:0}
 .cinema-shade{background:linear-gradient(0deg,#100e0bf2,transparent 67%)}
 .cinema-copy{position:absolute;left:7%;right:7%;bottom:65px;padding:0}
 .cinema-copy h1{font-size:clamp(34px,9.8vw,60px)}
 .cinema-copy p{font-size:28px;max-width:310px;line-height:1.18}
 .cinema-controls{position:absolute;left:auto;right:5%;bottom:12px;margin:0;padding:0}
 .cinema-frame img{object-position:36% 55%}
 .split,.split.dark,.collection,.duo,.care-layout,.contact-layout{padding-left:0;padding-right:0}
 .split .copy,.collection-heading,.collection-photos figcaption,.care-layout>div,.contact-layout>div{padding-left:7%;padding-right:7%;max-width:none}
 .split>img,.wide-photo img,.duo img,.collection-photos img,.care-layout>img,.contact-layout>img{display:block;width:100%;max-width:none;margin-left:0;margin-right:0}
 .collection-photos figure{margin-left:0;margin-right:0}
 .split,.care-layout,.contact-layout,.duo{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.cinema-frame.active img,.cinema-frame.leaving img{animation:none;transform:none}.cinema-frame{transition:none}}
html{scrollbar-color:#615b51 #11100e}
/* Wider mobile field of view: keep the entire white Aston Martin in shot. */
.cinema-frame{transition:opacity .8s ease-in-out}
.cinema-frame.active img,.cinema-frame.leaving img{animation-duration:4.85s}
@keyframes cinema-forward{from{transform:scale(1)}to{transform:scale(1.09)}}
@keyframes cinema-backward{from{transform:scale(1.09)}to{transform:scale(1)}}
@media(max-width:650px){
 .cinema{height:auto;min-height:0;max-height:none;padding-top:90vw;background:#11100e}
 .cinema-frame,.cinema-shade{height:90vw;bottom:auto}
 .cinema-frame[data-scene="0"] img{object-position:0% 52%;transform-origin:22% 50%}
 .cinema-frame[data-scene="1"] img{object-position:30% 52%;transform-origin:35% 50%}
 .cinema-frame[data-scene="2"] img{object-position:80% 52%;transform-origin:75% 50%}
 .cinema-frame[data-scene="3"] img{object-position:50% 55%}
 .cinema-shade{background:linear-gradient(0deg,#11100e,transparent 15%)}
 .cinema-copy{position:relative;left:auto;right:auto;bottom:auto;padding:22px 7% 52px}
 .cinema-copy h1{margin-top:12px}
 .cinema-copy p{font-size:27px;max-width:none}
 .cinema-controls{bottom:10px;right:5%}
}
@media(prefers-reduced-motion:reduce){.cinema-frame.active img,.cinema-frame.leaving img{animation:none;transform:none}.cinema-frame{transition:none}}
.cinema-frame{overflow:hidden}@media(max-width:650px){.cinema-frame[data-scene="1"] img{object-position:0% 52%;transform-origin:25% 50%}}
/* Detail inserts are shorter than the vehicle views. */
.cinema-frame[data-photo^="barrels"] img{object-position:center;}
.cinema-frame[data-photo^="barrels"].active img,.cinema-frame[data-photo^="barrels"].leaving img{animation-duration:3.25s}
@media(max-width:650px){
 .cinema-frame[data-photo="garage"] img{object-position:0% 52%;transform-origin:22% 50%}
 .cinema-frame[data-photo="capsule"] img{object-position:0% 52%;transform-origin:25% 50%}
 .cinema-frame[data-photo="collection"] img{object-position:80% 52%;transform-origin:75% 50%}
 .cinema-frame[data-photo="lounge-nov04"] img{object-position:50% 65%;transform-origin:center}
 .cinema-frame[data-photo^="barrels"] img{object-fit:contain;object-position:center;transform-origin:center;background:#0b0b0b}
}
/* Keep the outgoing image opaque beneath the incoming image: no black dip. */
.cinema{isolation:isolate}
.cinema-frame{z-index:0;opacity:0;transition:none}
.cinema-frame.leaving{z-index:1;opacity:1;transition:none}
.cinema-frame.active{z-index:2;opacity:1;transition:opacity 1.4s ease-in-out}
.cinema-shade{z-index:3}
.cinema-copy,.cinema-controls{z-index:4}
.cinema-frame.active img,.cinema-frame.leaving img{animation-duration:5.5s}
.cinema-frame[data-photo^="barrels"].active img,.cinema-frame[data-photo^="barrels"].leaving img{animation-duration:3.9s}
/* Keep a gentle dissolve even when zoom motion is disabled on the device. */
@media(prefers-reduced-motion:reduce){.cinema-frame.active{transition:opacity 1.4s ease-in-out}.cinema-frame.active img,.cinema-frame.leaving img{animation:none;transform:none}}
@media(max-width:650px){
 header{display:grid;grid-template-columns:96px minmax(0,1fr) auto;grid-template-rows:52px 44px;height:auto;min-height:112px;gap:0 12px;padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));width:100%}
 header .brand{grid-column:1;grid-row:1/3;width:96px;height:96px}
 header .menu-toggle{grid-column:3;grid-row:1;justify-self:end;max-width:100%;margin:0;white-space:nowrap}
 header .languages{grid-column:2/4;grid-row:2;justify-self:end;margin:0;display:flex;gap:6px;min-width:0}
 header .languages a{min-width:32px;min-height:44px;padding:0;flex:0 0 32px}
 header nav{max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:650px){h1,h2,h3{overflow-wrap:anywhere;hyphens:auto}}
/* Explicit cinematic playback requested on phones as well as desktop.
   These scoped rules take precedence over legacy reduced-motion hero rules. */
.cinema .cinema-frame.active{transition:opacity 1.8s cubic-bezier(.4,0,.2,1)}
.cinema .cinema-frame[data-photo].active img,.cinema .cinema-frame[data-photo].leaving img{animation:cinema-forward 5.9s linear both;will-change:transform;backface-visibility:hidden}
.cinema .cinema-frame[data-photo]:nth-child(even).active img,.cinema .cinema-frame[data-photo]:nth-child(even).leaving img{animation-name:cinema-backward}
.cinema .cinema-frame[data-photo^="barrels"].active img,.cinema .cinema-frame[data-photo^="barrels"].leaving img{animation-duration:4.3s}
@media(max-width:650px){
 .cinema .cinema-frame[data-photo].active img,.cinema .cinema-frame[data-photo].leaving img{animation-name:phone-camera-in}
 .cinema .cinema-frame[data-photo]:nth-child(even).active img,.cinema .cinema-frame[data-photo]:nth-child(even).leaving img{animation-name:phone-camera-out}
}
@keyframes phone-camera-in{from{transform:translateZ(0) scale(1)}to{transform:translateZ(0) scale(1.14)}}
@keyframes phone-camera-out{from{transform:translateZ(0) scale(1.14)}to{transform:translateZ(0) scale(1)}}
.cinema.paused .cinema-frame[data-photo] img{animation-play-state:paused}
.cinema .cinema-frame.active{transition:opacity 1.8s cubic-bezier(.4,0,.2,1)!important}

.legal-copy{max-width:1000px;margin:0 auto;padding:0 7% 70px}.legal-copy section{margin-bottom:36px}.legal-copy h2{font-size:30px;margin-bottom:14px}.legal-copy p{overflow-wrap:anywhere}.legal-footer{grid-column:1/-1;font-size:12px;padding-top:16px}.legal-footer a{text-decoration:underline;text-underline-offset:4px}
