The bureaucracy of evil: how Islamic State ran a city