01 - Preheat oven to 350°F. Line an 8-inch square baking pan with parchment paper, allowing overhang for easy removal.
02 - Combine raspberries, sugar, and lemon juice in a small saucepan. Cook over medium heat, stirring occasionally, until raspberries break down and mixture thickens, about 5 minutes. Press through a fine-mesh sieve to remove seeds. Set aside to cool.
03 - Place butter and chopped chocolate in a heatproof bowl set over a pan of simmering water. Stir until completely melted and smooth. Remove from heat and let cool slightly.
04 - Whisk sugar into the chocolate mixture, then add eggs one at a time, mixing thoroughly after each addition. Stir in vanilla extract.
05 - Sift flour, cocoa powder, and salt into the bowl. Gently fold until just combined—do not overmix.
06 - Pour batter into prepared pan and smooth top. Drop spoonfuls of raspberry puree over batter, then use a knife or skewer to swirl, creating a marbled pattern.
07 - Bake for 30-35 minutes until a toothpick inserted in center comes out with a few moist crumbs. Cool completely in pan before lifting out and cutting into squares.