Option 1. Stay in current role where you are an expert, train new people, lead work rather than do it because nobody else has the knowledge. Direct manager is excellent. But its a bit unstable, top leadership wants to cut people but can't cut any more without really impacting processes, but are still trying. Compensation is near the top of the range, so there are implications for that...
Option 2. Change roles, probably not reduce pay, but into a role that is really challenging, in a field with very limited experience, start from the ground up with the expectations that everything would be learned quickly, not an insignificant chance of failure BUT on pretty much the most stable group with absolutely zero chance of layoff, ever, period. Average tenure of the employee on this team is 10 years, and people have never been laid off from there.