Preheat your oven to 350°F (175°C) and line an 8×8-inch baking pan with parchment paper, leaving some overhang on the sides for easy removal.
In a medium saucepan, melt the unsalted butter over low heat. Do not let it sizzle or brown.
Remove from heat and stir in the light brown sugar and granulated sugar until smooth and combined.
Add eggs, vanilla extract, and almond extract. Whisk until fully incorporated and slightly lighter in color.
In a separate bowl, whisk together the flour, baking powder, and salt.
Fold the dry ingredients into the wet ingredients just until combined.
Fold in most of the white chocolate chips or chunks, reserving a few for the top.
Gently fold in the raspberries with minimal strokes to avoid breaking them up.
Transfer the batter into the prepared pan, smooth the top, and sprinkle reserved chocolate and raspberries.
Bake for 25–30 minutes until edges are set and center is just slightly underdone. A toothpick should come out with moist crumbs.
Cool completely on a wire rack before removing from the pan.
Cut into 16 squares using a sharp knife. For clean edges, refrigerate 30 minutes and clean knife between cuts.