/* Source-photo layers; all page typography and controls keep their layout. */
.hero-runway{position:relative;background:#090b0c}
.hero-photo{background-image:none}
.hero-content:after{content:none}
.drift-scene{position:absolute;inset:0;pointer-events:none;visibility:hidden}
.hero--layered .drift-scene{visibility:visible}
.hero--layered .hero-photo{visibility:hidden}
.hero--layered .hero-content:after{display:none}
.hero--layered .hero-content{z-index:auto}
.hero--layered .hero-meta{position:relative;z-index:5}
/* MOTORFEST already exists in the supplied photograph; keep its layout slot. */
.hero--layered .giant-title{visibility:hidden}
.hero--layered .hero-copy,.hero--layered .hero-bottom{z-index:5}
.drift-environment{position:absolute;inset:0;z-index:0;background:#090b0c}
.drift-photo-registration{position:absolute;aspect-ratio:1672/941}
.drift-photo-registration>picture{position:absolute;inset:0}
.drift-photo-registration img{width:100%;height:100%;max-width:none}
.drift-plate{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.drift-scene:after{content:'';position:absolute;inset:0;z-index:4;background:linear-gradient(0deg,#090b0c55,transparent 40%)}
.drift-car-position{position:absolute;z-index:3;pointer-events:none}
.drift-car-motion{position:relative;width:100%;aspect-ratio:1466/663;transform-origin:54.6% 96.9%;backface-visibility:hidden}
.drift-contact-shadow{position:absolute;left:0;top:0;width:100%;height:114.63%;pointer-events:none}
.drift-car-image{position:relative}
.drift-film{position:absolute;z-index:3;opacity:0;pointer-events:none;max-width:none;contain:layout style;transform:translateZ(0)}
.drift-film-contact{position:absolute;z-index:2;opacity:0;pointer-events:none;transform-origin:50% 50%;background:radial-gradient(ellipse,#000c 8%,#0008 35%,transparent 71%)}
.drift-car-motion img{width:100%;height:auto;max-width:none}
.drift-scene picture{display:block}
.drift-base-smoke,.drift-puff,.drift-rear-smoke{position:absolute;z-index:2;transform-origin:10% 82%;pointer-events:none;backface-visibility:hidden}
.drift-base-smoke{opacity:0}
.drift-base-smoke img,.drift-puff img,.drift-rear-smoke img{width:100%;height:auto;filter:grayscale(1);mask-image:radial-gradient(ellipse at 53% 57%,#000 38%,transparent 72%)}
.drift-puff{opacity:0}
.drift-rear-smoke{z-index:4;opacity:0}
.drift-wheel-blur{position:absolute;inset:0;opacity:0;pointer-events:none;filter:blur(.8px);mask-image:radial-gradient(ellipse 5.4% 22% at 54.6% 74.3%,#000 75%,transparent 100%),radial-gradient(ellipse 4% 19% at 92.2% 69%,#000 75%,transparent 100%)}
.drift-haze{position:absolute;inset:0;z-index:4;opacity:0;background:radial-gradient(ellipse at 90% 58%,#e5f0f3,transparent 65%)}
@media(max-width:700px){
 .drift-scene:after{background:linear-gradient(0deg,#090b0c 17%,transparent 53%)}
 .drift-smoke-trail .drift-puff:nth-child(n+5){display:none}
}
@media(prefers-reduced-motion:reduce){
 .drift-car-motion,.drift-environment{transform:none!important;will-change:auto!important}
 .drift-puff,.drift-rear-smoke,.drift-haze,.drift-wheel-blur{display:none}
}
