.heading { margin-bottom: 30px; }
.paragraph { margin-top: -30px; }
Also:> the heading could instead claim it needs three lines, which would ensure it would never be orphaned
It wouldn't prevent being orphaned at this point in your idea. What if there was room for 3 lines at the end of the first page?