How did the state loses the support of much of the Scotland electorate? Mostly by forfeit and at the same time the state has made a massive investment in disbanding the working class like it did beginning in the 1850s.
It's a mistake to assume that the class status quo of 2021 is immutable. Oh and the working class is the least racist, if you measure it by "mixed marriages".