If you want to stay off the spreadsheet when Finance says “cut 10 %,” you need to become Un-Layoff-Able—the person whose departure would punch an immediate hole in revenue, innovation, or customer trust.
In order to understand what your workplace is going to be like in five or 10 years, you need to think about what your work is going to be like. Here's a clue: employers no longer need to pay you to drive to a building to sit and type.