Here’s what I do – I have a Specialized Pitch, size large that I run with an 80mm stem, 140mm Pikes, and dropper post for most UK / trail centre style riding – good for going up and down with limited faff, although a compromise nonetheless.
I take the same bike, put a 160mm fork on it, a shorter seat posted saddle and drop it right down along with a 30mm stem – then take it to the Alps / uplift days etc. and it behaves impeccably – ok for short uphill sections, but mostly pointed downhill.
Wheels, tyres, rear shock, brakes, rotors, gears, bars stay the same.
It’s the best solution that I have found that works for me, without having a multitude of bikes and methods to transport them, along with a bike bit*h to sort them out for me.