01 - Preheat oven to 350°F. Line an 8-inch springform pan with parchment paper, pressing it flat against the bottom.
02 - In a medium bowl, whisk together the flour, cocoa powder, baking powder, sugar, and salt until evenly combined and no lumps remain.
03 - In a separate bowl, whisk the eggs, melted butter, and vanilla extract until smooth. Pour the wet mixture into the dry ingredients and fold gently just until combined — do not overmix.
04 - Spread the batter evenly into the prepared springform pan. Bake for 20 to 25 minutes, or until a toothpick inserted into the center comes out clean. Let the cake cool completely in the pan.
05 - Soften the gelatin sheets in a bowl of cold water. In a small saucepan, combine the raspberries, sugar, and water. Cook over medium heat, stirring occasionally, until the berries break down and release their juices, about 5 minutes.
06 - Puree the raspberry mixture with a blender, then press through a fine-mesh sieve to remove all 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, about 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 - Beat the egg yolks with 2 tablespoons of sugar and the vanilla extract until the mixture turns pale yellow and becomes thick and creamy, about 3 minutes. Fold in the melted chocolate until fully incorporated.
09 - In a spotlessly clean bowl, whip the egg whites with a pinch of salt using an electric mixer until soft peaks form. Gradually sprinkle in the remaining 2 tablespoons of sugar and continue beating until stiff, glossy peaks hold their shape.
10 - In a chilled bowl, whip the cold heavy cream to soft peaks — the cream should hold its shape gently when the whisk is lifted but still have a slight droop.
11 - Gently fold the whipped cream into the chocolate-yolk mixture using a rubber spatula. Then carefully fold in the whipped egg whites in two additions, using light sweeping motions to preserve the airy volume. The mousse should be smooth, light, and uniform in color.
12 - Pour the chocolate mousse over the set raspberry layer in the springform pan. Smooth the top with an offset spatula. Cover tightly with plastic wrap and refrigerate for at least 4 hours, or preferably overnight, until fully set and firm.
13 - Release the cake from the springform pan and transfer to a serving plate. Arrange fresh raspberries on top, scatter chocolate curls or shaved chocolate over the surface, and dust lightly with confectioners' sugar if desired. Slice with a warm knife for clean portions.