This is very perplexing. I can recreate the bug on the website, but when I try to recreate it on my own nothin happens. It might have to do with the custom font?
You are creating a “p” text area for your title that is 50 pixels tall. When you create a 40px font inside that area (plus default padding) it “overflows” – it is hanging out of the box, and the overflow control needs to decide whether to hide it or let it hang out. It hides it. Try making your p box taller, for example 55: