In short, I want to create a sticky section where: as I scroll, the content of each section fades in and out, and the next section replaces it, all while the viewport is stuck until the end of the 5 sections.
Each section at the bottom would initially be pushed down 100% (or 100vh) on their Y-axis transform values, where each section would have a higher z-index than the one before, making them stack on each other.
Then you would add a “while scrolling in view” interaction on their parent scrolling container, animating each section’s Y-axis transform values back to 0% one after another.