/* Light motion only, the same language as fightgrow.com (design/shots/booking-flow/page/site-motion.css, owner
   2026-11-29: "light, standard, a little smooth movement, nothing crazy"): a block fades in and rises 12px once, as it
   comes into view, and first screens fade up in a short stagger. No parallax, no wipes, nothing that follows the
   pointer or moves on its own. Content is visible at rest: blocks are hidden only after motion.js adds html.js, phones
   and tablets get no scroll fade, and reduced motion turns it all off. */
:root { --ease: cubic-bezier(.25, .6, .3, 1); }
@keyframes psUp { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: none; } }

html.js .rv { opacity: 0; translate: 0 12px; transition: opacity .5s var(--ease), translate .6s var(--ease); }
html.js .rv.rv-in { opacity: 1; translate: none; }

/* first screens: the text rises in a short stagger, the picture follows */
.hero .tx > *, .page-head .wrap > * { animation: psUp .6s var(--ease) both; }
.hero .tx > :nth-child(2), .page-head .wrap > :nth-child(2) { animation-delay: .06s; }
.hero .tx > :nth-child(3), .page-head .wrap > :nth-child(3) { animation-delay: .12s; }
.hero .tx > :nth-child(n+4), .page-head .wrap > :nth-child(n+4) { animation-delay: .18s; }
.hero .hv { animation: psUp .7s .15s var(--ease) both; }

/* a small lift on hover for the main buttons, a light press */
.btn { transition: background-color .15s ease, box-shadow .15s ease, color .15s ease, transform .18s var(--ease); }
.btn:active { transform: scale(.98); transition-duration: .06s; }
.qa[open] p { animation: psFade .3s ease both; }
@keyframes psFade { from { opacity: 0; } to { opacity: 1; } }

/* touch screens: the first screens show at once, no tap flash */
html.touch .hero .tx > *, html.touch .page-head .wrap > *, html.touch .hero .hv { animation: none !important; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }

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