01 - Preheat oven to 350°F. Line an 8-inch square baking pan with parchment paper, leaving an overhang for easy removal.
02 - Melt butter and dark chocolate together in a heatproof bowl over simmering water or in microwave. Stir until smooth and cool slightly.
03 - Whisk sugar into chocolate mixture, then add eggs one at a time followed by vanilla. Fold in flour and salt until just combined.
04 - Spread brownie batter evenly into the prepared pan.
05 - Beat softened butter with brown sugar and granulated sugar until light and fluffy.
06 - Mix in egg yolk and vanilla extract until fully incorporated.
07 - Add flour, baking soda, and salt. Mix until just combined, then fold in chocolate chips.
08 - Drop spoonfuls of cookie dough evenly over brownie batter. Gently spread or swirl with spatula for marbled effect.
09 - Bake for 32-36 minutes until top is golden and toothpick inserted in center comes out with moist crumbs.
10 - Cool completely in pan on wire rack before slicing into squares.