EU perspective: i work remotely in a german company, and my salary is way higher than the top engineer/engineering manager/director of engineer salaries in my country.
There is no office/commute/etc debate for me, more like if i had to work to a local company i would need to take a massive salary cut. Hence I will try to work remotely as much as possible.