Yeah, cap space can be misleading. OTC wrote an article on this a few months ago. For example, the Rams were one of the teams that had the most restructure potential because their big contracts were set up to not push everything to the future.
The Eagles however set up their contracts to take up the minimum cap space possible, so their big contracts have very little restructure potential eith $$ pushed into the future. The result is though that they end up with a lot of dead money every yr. Had $50M last yr, and if they move on from Reddick & Sweat, they will have 60M in dead cap this yr.
So the Rams could certainly open up more and Stafford would be the one to restructure if he feels he could play through 26'. Maybe add a yr and a few void yrs, convert salary to bonus, and you can really lower his cap hit this yr and maybe next yr.