Typst tip: two block properties that tame page layout.
'breakable: false' keeps a block whole on one page.
'sticky: true' keeps a block glued to the one that follows.
Few show rules in your preamble, no manual '#pagebreak()' calls.
typst.app/docs/reference/layout/block/
#Typst