That's pretty much my take too @Mochudubh
I maybe mentioned before, I keep thinking about a conversation I had about a dozen years ago with someone who was then a senior figure in Scotgov. He described Salmond as the vision guy and Swinney as the details guy (didn't mention Sturgeon). He said they worked on the premise that lots of Scots liked the idea of independence in principle but weren't confident it could work, and if they could run a reasonably competent government they were halfway to making their case.
They weren't doing the woke social engineering stuff at that point. That was all Sturgeon.
There's a guy in New Zealand called Chris Trotter who comes from the left but is kind of a free speech liberal these days. I don't know enough about NZ to know if he's right about their politics (he might not be!) but he's been banging on for years about NZ Labour abandoning their working class base for woke social engineering and an imaginary Scandi model. Ardern put that into overdrive, and almost everyone had turned against her in the end.
Like I say, I don't know if Trotter is right about the specifics, but I think he's seeing a similar thing to what lots of us around the world are seeing with the hollowing out of the parties and social institutions.
It didn't take too long for the hollowing out of the SNP to happen, and I'd love an honest inside account of how it happened.