An economic topology of the Brexit vote