I'm glad that I could be a case study in what not to do ;-)
That's ok Tristan, knowing what not to do will be part of your education in knowing what to do to get her back ;-)
I can't guarantee that following my advice or anyone else's advice on this forum will get your wife back.
But I can guarantee that sitting at home playing susie q homemaker while holding down a great job and doing everything you can plus wearing a big bright smile and saying "it's ok dear, you go out there and find yourself and I'll be home waiting with this heart of mine that will love you forever" - that tells her she can definitely have no security with you whatsoever and security in your specific situation is what killed her attraction for you because this is all about attraction and being insecure & needy killed that attraction.