Sticky Background Scroll

I can’t figure out how to make the shape “grow on scroll” but then also continue to another section with the normal background.

Second section in this site: https://gispertnuria.com/

Thank you!