scale content to fit without nested artboards?

hi there. looking into layouts in rive instead code for first time. I am building a website header that I want to animate out over the rest of the page, being aware of the page height.

my plan was to have a header that scales to fit up top and some animation targets in a footer scaled to fit at the bottom. But if I turn the header into a nested artboard then I can’t reference anything in the footer for the animation. is there a way to do this?

My current thoughts for a workaround is to build the project as portrait and have it bleed off the bottom of the page if landscape. Then I would have a variable for the height of the page that I use to adjust the y pos of the footer. Is this the only/best way? It will mean that I am creating a very large cropped canvas for rive on desktop so might need a different artboard for mobile but that would mean duplicating animations as think I need to avoid the nesting in this use case.

cheers
nay.