The solution turns out to be nice and obvious [in retrospect]... and tested in Firefox, Chromium, Edge, and Polypane.
pen updated....
I also note that Kevin Powell has published a partially related video: https://www.youtube.com/watch?v=Vzj3jSUbMtI