Preheat the oven to 170°C. Line a 7-inch square tin with parchment, leaving an overhang on two sides.
Sift the flour, baking powder, baking soda and salt together.
Dissolve the instant coffee in the hot milk, then whisk in the cocoa and sugar until smooth. Set aside to cool.
Beat the butter and caster sugar for 3–4 minutes until pale and fluffy.
Add the curd and vanilla and beat on low until combined.
Fold in the flour in three parts and the milk in two, starting and ending with flour. Stop as soon as no flour shows.
Place the bowl of cocoa paste on a scale, tare, and add 265–270 g of batter; fold until even. If the chocolate batter is runnier than the vanilla, fold in 1–2 tbsp flour; if thicker, add 1 tsp milk.
Spread a thin vanilla layer in the tin, add chocolate spoonfuls spaced apart, then cover with the remaining vanilla.
Tap the tin twice. Swirl with a butter knife in a figure eight, once lengthwise and once across.
Bake on the middle rack for 40–45 minutes, until a skewer comes out clean. Start checking at 35 minutes.
Cool in the tin for 15 minutes, lift out by the paper, and cool completely before slicing.