This current "we're kinda mostly WFH but not really sometimes" is the worst, as you have archaic processes still in place from pre WFH days that are still enforced, and most importantly, if management is in the office and you're not, over time, the colleagues who will be in the office will seem to get really lucky in regards to promotions and opportunities for some reason and you'll be left out because you'll miss the coffee/water cooler/cigarette chit-chat where future projects/directions are discussed casually and off the record without you.
Example: I once ran into my boss talking to a colleague at a coffee break about a potential project with a new customer and volunteered to work on it as I liked the tech. Months later, I got it. If I would have been remote that day I would have never heard about it as stuff like new projects and new customers is pretty hush-hush until the ink dries on the contract so they're never written about in public slack channels until then, but then it's usually too late to call dibs as the pieces are already in motion.
Not to mention, you can't really move far away from the office either since you could at any time be expected to show up in the office for $IMPORTANT_MEETING.