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 melted and smooth. Remove from heat and let cool slightly.
04 - Whisk sugar into the chocolate mixture. Add eggs one at a time, mixing well 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 the prepared pan and smooth the top. Drop spoonfuls of raspberry puree over the batter. Use a knife or skewer to gently swirl, creating a marbled pattern.
07 - Bake for 30–35 minutes, until a toothpick inserted in the center comes out with a few moist crumbs.
08 - Cool completely in the pan, then lift out using parchment overhang and cut into squares.