Denial then panic: how the EU misjudged the British mood