01 - Preheat oven to 350°F. Line an 8-inch springform pan with parchment paper, ensuring the sides are well covered.
02 - In a medium bowl, whisk together the flour, cocoa powder, baking powder, sugar, and salt until evenly combined.
03 - In a separate bowl, whisk the eggs, melted butter, and vanilla extract until smooth and fully incorporated.
04 - Pour the wet mixture into the dry ingredients and fold together gently just until combined. Do not overmix. Spread the batter evenly into the prepared springform pan.
05 - Bake for 20 to 25 minutes, or until a toothpick inserted into the center comes out clean. Allow the cake to cool completely in the pan on a wire rack.
06 - Soften the gelatin sheets in cold water. In a small saucepan, combine the raspberries, sugar, and water. Heat over medium, stirring occasionally, until the berries break down completely. Puree with a blender and strain through a fine sieve to remove seeds. Gently warm the strained puree and dissolve the softened gelatin into it. Let cool to room temperature, then pour evenly over the cooled cake base. Refrigerate until set, approximately 1 hour.
07 - Melt the chopped dark chocolate over a double boiler or in the microwave in 20-second intervals, stirring between each. Let cool slightly until just warm to the touch.
08 - In a mixing bowl, beat the egg yolks with 2 tablespoons of the sugar and vanilla extract until the mixture turns pale, thick, and creamy. Fold in the melted chocolate until fully incorporated.
09 - In a clean, grease-free bowl, whip the egg whites with a pinch of salt until soft peaks form. Gradually add the remaining 2 tablespoons of sugar and continue beating until stiff, glossy peaks hold their shape.
10 - In a separate chilled bowl, whip the cold heavy cream to soft peaks. Be careful not to overwhip.
11 - Gently fold the whipped cream into the chocolate-yolk mixture until mostly uniform. Then delicately fold in the whipped egg whites in two additions, preserving as much air as possible, until the mousse is smooth and light.
12 - Pour the chocolate mousse over the set raspberry layer, smoothing the top with a spatula. Cover tightly and refrigerate for at least 4 hours, or until the mousse is fully set and firm.
13 - Release the cake from the springform pan and transfer to a serving plate. Arrange fresh raspberries on top, add chocolate curls or shaved chocolate, and dust with powdered sugar if desired. Slice with a warm knife for clean portions.