/* fitgirls.me home calm motion v1 — hero clip reveal + subtle parallax.
 * No libraries, vanilla only. Clean & premium: the effects blend in,
 * they never shout. Loaded on the home (root) shell only.
 * If this file or its JS is absent, the page simply shows normally. */

/* Never let the parallax scale create horizontal scroll.
   `clip` (not `hidden`) so sticky positioning keeps working. */
html, body { overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* Contain the hero parallax scale inside the slideshow section. */
.fg-photo-slideshow { overflow: hidden; }

/* Hero photo clip reveal — plays once when JS adds .fg-hc-reveal.
   Keyframes only: no second class needed, `both` keeps the end state. */
@keyframes fg-hc-clip {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0% 0); }
}
#hero .fg-photo-stage.fg-hc-reveal {
  animation: fg-hc-clip 1.1s cubic-bezier(.25,.46,.45,.94) both;
}

@media (prefers-reduced-motion: reduce) {
  #hero .fg-photo-stage.fg-hc-reveal { animation: none; }
}
