/* ============================================================
   Healing Forward motion — unified scroll reveal
   (Kai, 2026-11-10, per Jacques's 7-section brief, section 6)

   ONE scroll animation for the whole page: a gentle fade-in
   while rising 20px, 600ms, ease-out. It runs once, when ~15%
   of the element enters the screen (driven by the motion
   driver in healing-forward.js, threshold 0.15), with siblings
   staggered ~100ms. The hero is not animated — it is visible
   immediately. Images only start their reveal once loaded
   (the driver waits for images inside a block, capped at
   1.2s), and every image reserves its space with width/height
   or aspect-ratio, so the page never jumps while loading.
   Reduced motion: everything shows at once, no animation.

   This replaces the two competing systems (the shared
   ../css/animations.css recipe — 30px rise over .8s — and this
   file's own 34px/.9s reveals, photo wipes, slide-ins, word
   blur, hero wipe and scroll-driven zooms/drifts). The shared
   CSS still loads (it is also the BGM site's file), but this
   file loads last and its rules below are the ones that apply
   on this page. The shared animations.js driver is no longer
   loaded here; healing-forward.js is the sole driver.
   ============================================================ */

/* The single scroll reveal: fade + 20px rise, 600ms, ease-out. */
html.anim-ready .anim-up {
  opacity: 0;
  translate: 0 20px;
  transition: opacity .6s ease-out, translate .6s ease-out;
  transition-delay: var(--anim-d, 0s);
}
html.anim-ready .anim-up.anim-in { opacity: 1; translate: 0 0; }

/* No hero animation: the film, the headline, the lead and the
   buttons are visible immediately. (The shared stylesheet hides
   .anim-hero-in behind html.anim-ready; this rule overrides it
   for this page, and the classes are gone from the markup.) */
html.anim-ready .anim-hero-in { opacity: 1 !important; animation: none !important; }
html.anim-ready .hero-banner { animation: none !important; }

/* The open Forward Method panel's words use the same rise as
   everything else (20px, 600ms, ease-out), not the shared
   stylesheet's 26px rise. */
@keyframes hf-rise {
  from { opacity: 0; translate: 0 20px; }
  to   { opacity: 1; translate: 0 0; }
}
.pacc-panel.active .pacc-body { animation: hf-rise .6s ease-out .1s both; }

/* Retired effects (kept as no-ops so a stray class can never hide
   content): photo wipes, slide-ins, headline word blur and the
   founder-photo baseline zoom are gone. */
html.hf-fx .anim-wipe { clip-path: none; transition: none; }
html.hf-fx .anim-left { opacity: 1; translate: 0 0; transition: none; }
html.hf-fx [data-split] .anim-word { opacity: 1; filter: none; translate: 0 0; transition: none; }
.founder-photo > img { scale: 1; }

/* Reduced motion: show everything at once, with no animation. */
@media (prefers-reduced-motion: reduce) {
  html.anim-ready .anim-up,
  html.anim-ready .anim-hero-in,
  html.hf-fx .anim-wipe,
  html.hf-fx .anim-left,
  html.hf-fx [data-split] .anim-word {
    opacity: 1 !important;
    translate: 0 0 !important;
    transition: none !important;
    animation: none !important;
    clip-path: none !important;
    filter: none !important;
  }
  html.anim-ready .hero-banner { animation: none !important; }
  .founder-photo > img { scale: 1 !important; }
  .pacc-panel.active .pacc-body { animation: none !important; }
}
