01 - Preheat oven to 425°F (220°C). Generously butter 4 individual ramekins (6–8 oz) and lightly dust with flour, tapping out any excess to ensure clean release.
02 - In a food processor, grind the shelled pistachios until finely milled. Add the heavy cream and blend until a thick, smooth paste forms. Set aside.
03 - Set a heatproof bowl over a pot of barely simmering water. Add the chopped chocolate and butter, stirring gently until glossy and completely smooth. Remove from heat and let cool slightly.
04 - In a separate mixing bowl, whisk the eggs, egg yolks, and granulated sugar vigorously until the mixture turns pale and falls in thick ribbons from the whisk.
05 - Pour the melted chocolate mixture into the egg mixture, whisking gently to combine. Sift in the flour and salt, then fold with a spatula until just incorporated — do not overmix.
06 - Divide half the batter evenly among the prepared ramekins. Spoon a heaped teaspoon of pistachio paste into the center of each. Cover with the remaining batter, smoothing the tops.
07 - Bake for 11–13 minutes until the tops are set and slightly cracked but the centers still feel soft and jiggly when gently tapped.
08 - Immediately run a thin knife around the edges of each ramekin. Let rest for 1 minute, then invert onto serving plates. Sprinkle with chopped pistachios, dust with powdered sugar, and serve at once with vanilla ice cream if desired.