Quick prep– Preheat oven to 350˚F with the rack in the center of the oven. Fill a 12-count muffin tin with cupcake liners.: The first scent that hits you is warm air as the oven reaches temperature, and placing the rack in the center ensures even heat so the cupcakes rise uniformly. Preheating matters because batter that goes into a hot oven gets an immediate lift; skipping this will give you flatter tops. A common mistake is not lining the tin, which makes removal harder and can cause cupcakes to stick.
Mix dry ingredients– In a large mixing bowl, thoroughly whisk together dry ingredients: flour, sugar, cocoa powder, baking soda, and salt. Break up any larger cocoa clumps with your whisk.: You will notice the cocoa powder giving the bowl a rich color and a dry chocolate aroma, and whisking eliminates lumps so the batter bakes evenly. This step builds the base texture, and thorough mixing of the dry ingredients ensures even distribution of leavening. Avoid using a spoon that does not incorporate air, and watch out for undissolved cocoa clumps that create pockets of bitter flavor.
Mix wet ingredients– In a second mixing bowl, add the wet ingredients: coffee, vinegar, oil, egg, and vanilla, and whisk until well blended.: As you whisk the warm coffee with oil and egg , the mixture will steam slightly and smell roasted and fragrant due to the coffee and vanilla. Whisking creates a velvety, slightly glossy liquid that will blend smoothly with the dry mix. The warmth helps dissolve sugar and bloom the vanilla, which improves flavor. If you under whisk, the oil may not integrate fully, leaving pockets of oil in the batter.
Combine batter– Pour wet ingredients over dry ingredients and whisk just until the ingredients come together and no dry streaks remain. The batter will be a little loose and lumpy.: When you pour the wet into the dry, you will see the batter transform from dusty to shiny, and small lumps are normal. The slightly loose texture is intentional, resulting in a tender crumb once baked. Overmixing develops gluten and yields dense cupcakes, so stop when dry streaks vanish. A frequent error is continuing to beat until perfectly smooth, which compromises tenderness.
Fill and bake– Use an ice cream scoop to portion batter, filling each cup 2/3 full (do not over-fill). Bake 18-22 min (20 minutes was perfect), until a toothpick inserted in the center comes out clean. Don't overbake. Cool 5 minutes in the pan, then transfer to a rack to cool completely to room temperature before frosting.: Scooping creates uniformly sized cupcakes that bake evenly, and the 2 to 3 full visual cue helps avoid overflow. While baking you will smell the chocolate intensifying and notice the tops spring back slightly when touched. The toothpick test is a reliable cue for doneness, and pulling them at the right moment keeps them moist. A common pitfall is leaving cupcakes in the pan too long which can cause residual heat to overcook them; move them to a rack after 5 minutes to finish cooling.