A multi-basin residual-mean model for the global overturning circulation