IMHO companies need to either embrace WFH fully or not at all. 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 opportunitie…
Companies don't exist to be fair, and fairness isn't built into promotion/advancement necessarily. This might just be another one of those insider edges that you may or may not have. Companies are already full of these.