This is one of the reasons I am now contracting. Most of my clients have never even seen my face and I don't have to get involved in company culture clashes or politics.
If I look back at my career, the stress has never come from the technical responsibility of producing software, it’s always the politics and red tape. I don’t do large companies. I realized that I’m just not a fit for them after working at what was then a Fortune 10 (non tech) company.
Not dealing with corporate politics by either working for a small company as a salaried employee or working for any company as a contractor is the only way that I’m going to be able to keep doing this for another two decades.
Remote work? I rarely have in-person client meetings anymore. And honestly at my old job it had offices around the country so even then there were people I'd worked on projects with for years and had never met in person.
Not dealing with corporate politics by either working for a small company as a salaried employee or working for any company as a contractor is the only way that I’m going to be able to keep doing this for another two decades.