Reconfiguring global logistics to absorb macro shocks