Even before working from home became widespread, digital technology was transforming how and where work gets done and how many people are needed to do it. In the aftermath of the pandemic, companies can rebuild a workforce that is better equipped for an economy in which routine and repeatable tasks are increasingly machine-enabled. Drawing on research by Bain & Company involving more than 300 l…