Preheat the oven to 425°F (220°C) and grease four 6-ounce ceramic ramekins thoroughly with butter, then dust interiors with cocoa powder, tapping out excess.
Place chopped dark chocolate and cubed butter in a heatproof bowl set over a saucepan of gently simmering water, stirring until melted and glossy, then cool for 5 minutes.
Whisk powdered sugar, whole eggs, egg yolks, vanilla extract, and espresso powder in a medium bowl until blended.
Pour the melted chocolate mixture into the egg mixture, whisking gently until combined.
Fold in flour with a spatula just until no dry flour pockets remain.
Divide the batter evenly among the four prepared ramekins, placing ramekins on a sturdy baking sheet.
Bake for 12 to 14 minutes until the edges are firm and cake tops are puffed but centers remain soft to the touch.
Remove from the oven and let rest in ramekins for precisely 1 minute.
Run a thin paring knife gently around the edges, invert each cake onto an individual serving plate, and rest for 10 seconds before lifting ramekins off.
Dust with powdered sugar, garnish with fresh raspberries, and serve warm immediately.