Preheat the oven to 340°F (170°C) conventional. Line an 8x8-inch (20x20cm) square baking pan with parchment paper, leaving an overhang on the sides so you can lift the bars out easily.
Melt the butter in a small saucepan over low heat or in a microwave-safe bowl in 20-second increments. Let it cool for 5 minutes until warm but not hot.170 g unsalted butter
Pour the melted butter into a large mixing bowl. Add the brown sugar, granulated sugar, and cocoa powder and whisk until well combined. 150 g brown sugar, 70 g granulated sugar, 30 g unsweetened cocoa powder
Add the egg, egg yolk, and vanilla paste or extract. Whisk for about 1 minute until the mixture is smooth. 1 large egg, 1 egg yolk, 1 tsp vanilla paste or extract
In a separate small bowl, whisk together the flour, baking soda, and salt. Fold the dry ingredients into the wet mixture along with the chocolate chunks until just combined and no dry streaks remain. The dough will be thick. 220 g all-purpose flour, 1/2 tsp baking soda, 3/4 tsp salt, 160-180 g semi-sweet chocolate chunks
Transfer the dough to the prepared pan. Press and spread it into an even layer with the back of a spoon or an offset spatula.
Bake on the middle rack for around 24-26 minutes, until the top is set and no longer looks wet or glossy in the center. The bars will still feel a little soft when pressed gently in the middle, but they firm up as they cool.
Let the bars cool in the pan completely before lifting out and slicing. For cleaner cuts, refrigerate for 30 minutes first. Slice in half one way, then cut five times in the other direction to make 12 long bars. For smaller portions, cut into 16 squares by slicing 4 times in each direction.