/* Keep both original background faces still. Only the title's light animates. */
.title-accent {position:relative;display:inline-block;}
.title-sheen {position:absolute;inset:0;pointer-events:none;color:transparent;opacity:0;background:linear-gradient(110deg,transparent 40%,#f5ffd4 47%,#fff 50%,#f5ffd4 53%,transparent 60%) 160% 0/300% 100%;background-clip:text;-webkit-background-clip:text;text-shadow:none;}
.title-spark {position:absolute;display:block;width:.18em;height:.18em;pointer-events:none;opacity:0;background:#f6ffd9;clip-path:polygon(50% 0,62% 37%,100% 50%,62% 63%,50% 100%,38% 63%,0 50%,38% 37%);}
.title-spark-one {right:-.49em;top:.12em;}
.title-spark-two {right:-.86em;top:.46em;width:.11em;height:.11em;}
.title-spark-three {right:-.54em;top:.79em;width:.075em;height:.075em;}
.brand-hero[data-title-effects] .title-accent {animation:title-glow 4.8s ease-in-out infinite;animation-play-state:paused;}
.brand-hero[data-title-effects] .title-sheen {opacity:1;animation:title-sheen 4.8s ease-in-out infinite;animation-play-state:paused;}
.brand-hero[data-title-effects] .title-spark {animation:title-twinkle 2.8s ease-in-out infinite;animation-play-state:paused;}
.brand-hero[data-title-effects] .title-spark-two {animation-delay:-1.1s;}
.brand-hero[data-title-effects] .title-spark-three {animation-delay:-1.9s;}
.brand-hero[data-title-effects="running"] :is(.title-accent,.title-sheen,.title-spark) {animation-play-state:running;}
.brand-hero[data-title-effects="reduced"] :is(.title-accent,.title-sheen,.title-spark) {animation:none;text-shadow:none;}
.brand-hero[data-title-effects="reduced"] :is(.title-sheen,.title-spark) {opacity:0;}
@keyframes title-sheen {
 0%,8% {background-position:160% 0;}
 62%,100% {background-position:-60% 0;}
}
@keyframes title-glow {
 0%,100% {text-shadow:0 0 7px #d5ff5900,0 0 22px #d5ff5900;}
 42%,58% {text-shadow:0 0 8px #d5ff5940,0 0 26px #d5ff592e;}
}
@keyframes title-twinkle {
 0%,100% {opacity:.12;transform:scale(.5);}
 45%,55% {opacity:1;transform:scale(1);}
}
/* The video stays within its own 4:3 area; text and CTA positions stay fixed. */
.brand-hero[data-hero-enhanced] {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;}
.brand-hero[data-hero-enhanced] .brand-hero-copy {grid-column:1;grid-row:1;width:100%;z-index:1;}
.hero-art-stage {position:relative;grid-column:2;grid-row:1;z-index:0;width:calc(100% - 24px);max-width:640px;aspect-ratio:4/3;margin:24px 24px 24px 0;justify-self:center;overflow:hidden;border-radius:16px;background:#fff;}
.hero-poster,.hero-video {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;max-width:none;}
.hero-poster {z-index:0;}
.hero-video {z-index:1;visibility:hidden;}
.brand-hero[data-frame="video"] .hero-video {visibility:visible;}
/* Clear the video's lower edge while keeping the existing mobile spacing. */
@media(min-width:701px) {
 .brand-hero[data-hero-enhanced] .hero-side-note {bottom:8px;}
}
@media(max-width:950px) {
 .brand-hero[data-hero-enhanced] {display:flex;flex-direction:column;}
 .brand-hero[data-hero-enhanced] .brand-hero-copy {order:0;width:100%;padding-bottom:0;}
 .hero-art-stage {order:1;flex:none;width:calc(100% - 40px);max-width:640px;margin:24px 20px 28px;}
}
@media(max-width:700px) {
 .hero-art-stage {width:calc(100% - 32px);margin:22px 16px 28px;border-radius:12px;}

}
@media(prefers-reduced-motion:reduce) {
 .brand-hero[data-title-effects] :is(.title-accent,.title-sheen,.title-spark) {animation:none;text-shadow:none;}
 .brand-hero[data-title-effects] :is(.title-sheen,.title-spark) {opacity:0;}
 .brand-hero .hero-video {visibility:hidden;}
}

/* One unobtrusive control pauses both the decorative light and the silent clip. */
.hero-motion-toggle {position:absolute;z-index:2;left:18px;bottom:10px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #ffffff45;border-radius:50%;background:#152736bb;color:#fff;}
.hero-motion-toggle:hover {background:#2c485c;}
.hero-motion-toggle svg {width:14px;height:14px;}
.hero-motion-toggle[hidden] {display:none;}

@media(max-width:950px) {.hero-motion-toggle {width:24px;height:24px;bottom:2px;}}
