I'd like to say that it's because Scots are less racist and more leftwing than the English but that wouldn't actually be true (social attitude studies consistently show little difference - for example
this report (pdf) "Is Scotland more left-wing than England" finds very modest differences in concern over income inequality and support for tax-and-spend and wealth redistribution. Similar issues are discussed in
this Guardian analysis from last year). None of these differences are sufficient to explain why every single area of Scotland voted to Remain in Europe, even the rural conservative heartlands with similar demographics to the Leave voting areas of England.
So what's the difference?
Seems to me that the Scottish Parliament, the fact that it's elected by a proportional system, the existence of the SNP and the consistently pro-immigration political discourse are the deciding factors. In England, and now Wales* it seems, working class white folks abandoned by New Labour have turned to UKIP and bought into the increasingly popular immigrant-blaming discourse, encouraged by the mainstream media. In Scotland, this same demographic has turned to the SNP. While the UKIP lot vote in increasing numbers but have one MP, the SNP have been running the country for years, pretty successfully as centrist parties go. And they have been putting the blame for the inequality in our country firmly where it lies - with the Westminster Government and consistently telling Scots that we need immigration to survive. So while large swathes of England feel thoroughly disenfranchised and are obsessed with 'taking their country back', those same people in Scotland are getting on with doing it - from Westminster not from the EU and people who want to live and work here. And while there are racist bigots, they *never* hear their views legitimised by mainstream political discourse (much to my shame, we do have a single UKIP MEP up here (elected in a turnout of 33.5%!), but he is quite literally a national joke; when he took part in one of the TV debates, he showed himself to be completely at 90 degrees to reality, it's the only time I've seen *everyone* commenting on Twitter agreeing on anything).
And you can say what you like about the SNP (I am not their biggest fan - they pay lip service to wanting a Scandinavian-style social democracy and then centralise the police, fail to reform council tax and make excuses for not raising taxes on the rich when they have fought for the powers to do so), but while the Tory leadership candidates are talking about using EU residents as bargaining chips, the first thing Nicola Sturgeon did after the vote was tell all our EU residents that Scotland is still their home and call for everyone to be granted indefinite leave to remain, something only the Lib Dems have done south of the border, where the Labour lot are now competing over who gets to address 'immigration concerns' because the way to deal with UKIP support is apparently still to pander to their lies, because that hasn't just plunged us into complete chaos, has it? Oh no, wait, the other thing.
So now I'm back to the same point I was making during the indy ref - that modern Scottish nationalism is a very different beast to British Nationalism. And regardless of what some folks, the lexiteers and others no doubt, want to believe, the Leave vote really was about British Nationalism.
*What I can't speak to is why Welsh devolution doesn't seem to have had the same impact there. I confess I've never paid much attention to their politics.