Flash of code appearing before loading the page

Hi all,

I’m experiencing a small display issue on my site (www.rooney-avocate.com). When I load the first page that contains custom HTML, CSS, and JavaScript (an accordion section), there is a very brief flash of raw code before the page fully loads.

I use custom fonts (DM Sans for text, Solae for headings).

Have you had such a problem and do you know how I can avoid this ?

Thank you very much for your help!