Interaction help: moving image "mask" while scrolling

Hey everyone,

I’m trying to recreate an interaction where during scrolling the “mask” of an image will move vertically while the image remains in place. You can find the interaction on this page: https://www.sophie-dkf.com/.

I’ve done a bit of reverse engineering to get a feel, but wanted to ask here before I start digging in.

Thank you!