Let the root fill the viewport
The slab is sized and placed in viewport units so it covers the screen at every angle. In a root narrower or shorter than the viewport the pivots land in the wrong place.
Keep the slab after the pages
The slab sits between the pages and the nav. Leave it as one element with data-csw-slab, after the last page.
Swap the mark for your own
The square on the slab is a placeholder. Replace the SVG with your logo; it takes --csw-mark through currentColor.