I start by melting the butter alone in a saucepan over low heat before adding the chocolate. This creates a buttery layer that protects the chocolate from scorching against the hot pan. Once it's smooth, I set it aside to cool while I move on to the next step.
Next, I add the eggs, both sugars, and vanilla to a stand mixer and whip on high for about 5 minutes. The mixture should turn thick, pale, and almost mousse-like. This trapped air is what gives the cookies their signature crackly tops later on.
Once the chocolate mixture has cooled, I drizzle a small amount into the egg mixture first to temper it gently. Then I fold in the rest slowly, being careful not to knock out the air. A few streaks are totally fine at this point.
I sift the flour, cocoa powder, baking soda, and salt together before folding them into the wet mixture. Cocoa powder clumps easily, so sifting keeps the batter smooth. Fold gently just until no dry streaks remain.
I chop extra chocolate into rough chunks and fold them into the batter. At this stage, the mixture looks more like brownie batter than cookie dough, and that's exactly right. Chilling it afterward is what gives it structure.
Covering the bowl and refrigerating the dough for at least an hour is non-negotiable for me. Skipping this step means the cookies will spread too thin and lose that thick, fudgy shape. Patience really pays off here.
I scoop the chilled dough into balls using a medium cookie scoop and space them out on a parchment-lined tray, since they do spread a bit while baking. They go into a 350°F oven for 10 to 12 minutes, just until the tops look set but the centers are still soft.
Once out of the oven, I let the cookies rest on the tray for about 2 minutes before moving them to a wire rack. That short resting time lets the residual heat firm them up so they don't fall apart. A light sprinkle of flaky sea salt on top finishes them perfectly.