/* Home page motion. Every hidden-until-animated state is scoped to html.fm, which a head script
   adds only when motion is allowed (and drops if the motion script never arrives), so the page reads
   complete without it. front-motion.js animates each one back in with GSAP. */

html.fm .hero-copy > *,
html.fm .hero-visual > *,
html.fm .hv-card .rungs > li,
html.fm .hv-card > p,
html.fm .front-stats li,
html.fm .sched-where li { opacity: 0; }
html.fm .ax-phases span { clip-path: inset(0% 100% 0% 0%); }
html.fm .ax-line i { transform: scaleY(0); transform-origin: 50% 100%; }

.rungs { position: relative; }
.fm-pulse { position: absolute; left: calc(var(--gut) / 2); top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; pointer-events: none; z-index: 2; opacity: 0; visibility: hidden;
  background: radial-gradient(circle, #fff 0 3px, rgba(143, 211, 204, .95) 4px, rgba(143, 211, 204, 0) 11px); }
.fm-trail { position: absolute; left: calc((var(--gut) - var(--lw)) / 2); width: var(--lw); height: 0; border-radius: 2px; pointer-events: none; z-index: 0; opacity: 0; visibility: hidden; background: linear-gradient(to bottom, rgba(143, 211, 204, 0), rgba(143, 211, 204, .95)); }
.r-box { transition: box-shadow .5s ease; }
.rungs > li.fm-lit .r-box { box-shadow: 0 0 0 3px rgba(143, 211, 204, .55), 0 8px 22px rgba(18, 48, 74, .16); }

.front-stats b { font-variant-numeric: tabular-nums; }

html.fm .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), box-shadow .2s ease, border-color .2s; transition-delay: calc(var(--i, 0) * .09s); }
html.fm .reveal.shown { opacity: 1; transform: none; }
html.fm .reveal.shown:hover { transform: translateY(-3px); transition-delay: 0s; }
