Preheat the oven to 200C/180C Fan/Gas 6. Line an 8" Square Pan.
Start by melting the dark chocolate: break up the dark chocolate and melt in the microwave in 20 second intervals, stirring in between to make sure it doesn’t burn.
Combine the melted butter, granulated sugar and light brown sugar in a large bowl/bowl of a stand mixer – on a medium speed for 3-5 minutes.
Add in the eggs and vanilla and mix again. Then, checking first that the chocolate isn't so hot as to cook the eggs, add it in and keep mixing.
Add the flour and cocoa powder and fold in gently.
Pour the batter into the prepared tin and bake for 30 minutes. Let cool as you start to make the caramel cornflake layer: