Preheat Oven and Prep:
CHOCOLATE CUPCAKES: Preheat the oven to 350°F (180°C / 160°C fan) and line muffin tins with paper liners.Sift Dry Ingredients:
In a bowl, sift together the flour, cocoa powder, baking powder, baking soda, and salt. Whisk to combine thoroughly.Cream Butter and Sugars:
In a separate bowl, using a balloon whisk or a stand mixer fitted with the paddle attachment, beat the melted butter with both sugars until well combined.Add Eggs and Vanilla:
Add the eggs one at a time, scraping down the sides of the bowl after each addition, and beat until fully incorporated. Add the vanilla and beat to combine.Add Flour Mixture:
Add one-third of the flour mixture to the wet ingredients and stir gently until just combined.Alternate Buttermilk and Flour:
Add half of the buttermilk and mix gently again. Continue alternating additions, ending with flour, until all flour and buttermilk are just combined. Avoid overmixing or using heavy-handed techniques, as this will result in dense, tough cupcakes.Fill and Bake Cupcakes:
Fill the cupcake liners to about two-thirds full. Bake for 18-23 minutes (see note 5), rotating the pan halfway through for even baking. The cupcakes are done when a toothpick inserted into the center emerges with just a few crumbs attached.Cool Cupcakes:
Let the cupcakes cool in the pan for 5 minutes, then transfer them to a wire rack to cool completely before frosting.