/* Motion layer (v1.4.0). Deliberately quiet: short fades, small rises, no
   looping or blurred effects, so text stays easy to read. Everything here is
   switched off for reduced-motion users. */

@keyframes bcflRise{ from{ opacity:0; transform:translate3d(0,8px,0); } to{ opacity:1; transform:none; } }

/* section entrance: children fade in, briefly staggered */
.view.on > *{ animation:bcflRise .3s ease-out both; }
.view.on > *:nth-child(2){ animation-delay:.03s; }
.view.on > *:nth-child(3){ animation-delay:.06s; }
.view.on > *:nth-child(n+4){ animation-delay:.09s; }

/* scroll reveal: a single short fade as items enter the viewport */
html.js-motion .mx{ opacity:0; transform:translate3d(0,8px,0); transition:opacity .35s ease-out var(--d,0ms), transform .35s ease-out var(--d,0ms); }
html.js-motion .mx.in{ opacity:1; transform:none; }

/* hover: a light lift only */
.tcard, .mapcard, .chx-card, #rivbody .riv, .rivalcard{ transition:transform .2s ease, border-color .2s ease; }
.tcard:hover, .mapcard:hover, .chx-card:hover, #rivbody .riv:hover, .rivalcard:hover{ transform:translateY(-2px); }

/* hero header fades in once */
#teampage .thead.hero .hero-in{ animation:bcflRise .4s ease-out both; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation:none !important; transition:none !important; }
  html.js-motion .mx{ opacity:1; transform:none; }
}
