Brexit: how the end of Britain's empire led to rising inequality that helped Leave to victory