/* A stage opening: the audience moves the light, the projects change scenery. */
.home-motion .hero-bg { animation: none; }
.home-motion .hero .reveal { opacity: 1; transform: none; transition: none; }
.stage-light { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; background: radial-gradient(ellipse 42% 65% at var(--light-x,72%) var(--light-y,35%), #f4dcc34d, transparent 75%), conic-gradient(from 175deg at 72% -20%, transparent 0deg, #e53a294d 9deg, #fff1 13deg, transparent 24deg); }
.motion-active .stage-light { opacity: 1; }
.motion-toggle { position: absolute; inset-inline-end: max(24px, calc((100% - 1240px)/2)); bottom: 22px; z-index: 2; border: 1px solid #ffffff80; border-radius: 2px; background: #0009; color: #fff; padding: 12px 16px; min-height: 44px; cursor: pointer; font: inherit; font-size: 12px; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
 .motion-active .feature { background-position: center var(--scene-position,50%); }
 .motion-active .ev-teaser-image img { transition: transform .65s cubic-bezier(.16,1,.3,1); }
 .motion-active .ev-teaser-image:hover img { transform: scale(1.045); }
}
@media (max-width: 860px), (hover: none) {
 .stage-light { display: none; }
 .motion-toggle { inset-inline-end: 20px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 .stage-light, .motion-toggle { display: none; }
}
@media (max-width: 480px) {
 .home-motion .hero .title-xl { font-size: clamp(2rem, 9.7vw, 3rem); }
}

/* Different scenery for each chapter; text remains on a quiet, opaque side. */
.stage-section { position: relative; isolation: isolate; overflow: hidden; background-color: #111; }
.stage-section::before { content: ''; position: absolute; z-index: -2; inset: -35px 0; background-image: var(--stage-media); background-size: cover; background-position: center; transform: translateY(var(--scene-shift,0px)); }
.stage-section::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#070709f5 5%,#070709db 52%,#07070970),linear-gradient(0deg,#07070980,transparent); }
.stage-section .wrap { position: relative; }
.stage-section.section { min-height: 540px; display: flex; align-items: center; }
.stage-section.feature-intro { padding-block: 95px; }
.stage-section.fh-home-teaser { min-height: 380px; display: flex; align-items: center; }
.stage-section.cta::after { background: linear-gradient(90deg,#c40024ec,#4b0611cc); }
.stage-section.ev-home-teaser::after { background: linear-gradient(90deg,#111f,#111e 45%,#1118); }
html[dir="rtl"] .stage-section::after { background: linear-gradient(270deg,#070709f5 5%,#070709db 52%,#07070970),linear-gradient(0deg,#07070980,transparent); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
 .motion-active .ev-teaser-image { transform: perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transform-style: preserve-3d; transition: transform .18s ease-out; }
 .motion-active .ev-teaser-image > span { transform: translateZ(35px); }
}
@media (max-width:860px) {
 .stage-section.section { min-height: 0; }
 .stage-section::after { background: #070709dc; }
 .stage-section.feature-intro { padding-block: 64px; }
}

#capital-moto-week { scroll-margin-top: 84px; }
