In that case, a Cotic Flaremax frame and figure the rest out over then next year or 2, if you have something to hold the f wheel on and some basic parts (can’t agree more on Deore kit and Hi-Lo builds generally)
I almost posted this yesterday. The frame is the one thing you can’t change, buy one you’re going to love and upgrade the bits as and when, if you feel you need to. You could, for example, have changed the hated damper in that Yari for a Charger one – I did, it cost me around £180 – and you’ll have a de facto Lyrik. You can do the same thing with a Revelation.
Choosing a bike based on a spec sheet and geometry chart for the next decade seems a bit clinical. I bought my FlareMax frame early in lockdown when I had long covid, built it up from random parts and couldn’t ride it for 18 months. It ran mostly SLX stuff and a pair of X-Fusion Rough Cut forks up front. Just a brilliant, warm, happy bike to ride even when the only ‘posh’ thing on it was the Cane Creek shock, which is ace.
It’s a good time to build up a bike from a frame. There are so many brands selling off the stock they over-ordered post-pandemic that you can pick up really nice parts at bargain prices. Sales from retailers or direct from the brands on eBay etc.