As Westminster descends into chaos and political parties reel from the vote to leave the EU, Nicola Sturgeon has emerged as one of the few political leaders with a considered Brexit strategy.