I had a fast-growing career trajectory and it was definitely due to the magic of working in close quarters with my co-workers and especially bosses and mentors.
That was 20+yrs ago. I do wonder how that would work now -- I go into the office and i'm on Zoom calls for 6hrs of the 8 or 9hrs. The Zoom calls are with overseas team members.
Even the folks in the office on the same call are on Zoom, each of us in separate rooms to prevent microphone reverb. It feels nothing like the magic of 20yrs ago when we were all elbow-to-elbow in war rooms.
I think RTO makes sense, but we need a lot of breakout conference rooms. We also need to be opinionated about scheduling meetings so there is actual facetime IRL rather than just facetime via Zoom while in office.