/* The landing page's fade-ins (sidequest `homepage-fade-in` of `Goals/2026-11-20_one-light-club`; MG, 2026-11-20): the hero's pitch fades in on page load and each section below fades into view as it scrolls
   into frame. Linked by `app/Views/public/public-dashboard.php`, next to `theme/landingReveal.js`.

   🔴 The LOAD fade is keyframes only (`data-reveal="load"`, the pitch's five children, staggered by position): no script, so no flash and nothing for a failed script to strand.
   🔴 A scroll section is hidden ONLY under `.reveal-ready`, which `landingReveal.js` adds to `<html>` once it knows it can reveal (an observer exists, and no request for reduced motion): with no script, an old
   browser or reduced motion nothing is ever hidden. Reduced motion and print also force everything visible here. `tests/integration/LandingRevealTest.php` pins both halves; the script's own rules are in
   `tests/unit/js/landingReveal.test.mjs`.

   🔴 A fade changes OPACITY and nothing else (MG, 2026-11-20: the blocks must not change shape or height): no transform, size, margin, padding, position or float. `LandingRevealTest::testTheFadeChangesOpacityAndNothingElse`
   reads every declaration in this file.

   Why a sheet and not the view's inline `<style>`: `reveal-ready` and `is-revealed` are added by the script, and the dead-class guard only counts a class a script in the SAME view file adds. */
@keyframes css-landing-rise { from { opacity: 0; } to { opacity: 1; } }
[data-reveal="load"] { animation: css-landing-rise .7s ease both; }
[data-reveal="load"]:nth-child(2) { animation-delay: .09s; }
[data-reveal="load"]:nth-child(3) { animation-delay: .18s; }
[data-reveal="load"]:nth-child(4) { animation-delay: .27s; }
[data-reveal="load"]:nth-child(5) { animation-delay: .36s; }
.reveal-ready [data-reveal="scroll"] { opacity: 0; transition: opacity .7s ease; }
.reveal-ready [data-reveal="scroll"].is-revealed { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	[data-reveal="load"] { animation: none; }
	.reveal-ready [data-reveal="scroll"] { opacity: 1; transition: none; }
}
@media print {
	[data-reveal="load"] { animation: none; }
	.reveal-ready [data-reveal="scroll"] { opacity: 1; transition: none; }
}
