/* Midnight Motion: only the homepage hero image moves. */
#home .hero-photo { overflow:hidden; isolation:isolate; }
#home .hero-photo img { transform-origin:50% 50%; animation:fms-camera 18s ease-in-out infinite alternate; }
#home .hero-photo::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:radial-gradient(ellipse at 75% 45%,rgba(139,92,246,.23),transparent 65%); animation:fms-light 12s ease-in-out infinite alternate; }
#home .hero-photo::after { z-index:2; pointer-events:none; }
#home .hero-badge { z-index:3; }
@keyframes fms-camera { from {transform:scale(1.035) translateX(-.6%);} to {transform:scale(1.12) translateX(1.2%);} }
@keyframes fms-light { from {opacity:.25; transform:translateX(-15%);} to {opacity:.85; transform:translateX(12%);} }
@media (prefers-reduced-motion:reduce) { #home .hero-photo img,#home .hero-photo::before {animation:none;transform:none;} }

/* United by Sport: keep the group visible on narrow screens. */
#home .hero-photo { background:#101020; clip-path:none; }
#home .hero-photo img { object-fit:contain; object-position:center; }
#home .hero-photo::after { background:linear-gradient(90deg,#1e2430 0%,transparent 12%); }
@keyframes fms-camera { from {transform:scale(1.015);} to {transform:scale(1.055);} }
@media(max-width:850px){ #home .hero-photo {height:auto;min-height:0;aspect-ratio:1.56;} #home .hero-photo::after {background:linear-gradient(180deg,#1e2430,transparent 12%);} }
