I switched to Niri (https://github.com/niri-wm/niri) about six months ago and I find it does wonders for focus.
Set the default window width to 1/4 or 1/3 of the screen width (depending on the screen size) and it's easy to keep just the right context visible.