Thanks @mvaneijgen for your quick and helpful response! And for your great input too @PointC and @Rodrigo
You're absolutely right re checking the docs! I've been using them more to progress in this animation. Also your tips about ScrollTrigger have been very helpful.
I noticed when replacing the CSS sticky setup with the ScrollTrigger end relative number I lose the ability to have the animation continuing to finish while the section becomes unpinned and scrolls up the page. Is there a way to define a separate end point for the animation and the pinning? I checked the docs, but couldn't find anything about this.
Note: best to view the codepen in it's own tab to be able to see the animation.
https://codepen.io/rrosegregoryy/pen/jOJagKG