Progress for my portfolio site rebuild - it will now work like a small operating system. One Rive script draws every window's chrome from parameters, and the HTML inside clips to the exact outline that script exports, so overlapping windows cut into each other properly.