Preheat your oven to 350°F (175°C). Prepare two 9-inch round cake pans by greasing them and lightly dusting with cocoa powder. Line the bottoms with parchment paper for easier release.
In a stand mixer fitted with a paddle attachment, combine the flour, sugar, cocoa powder, baking soda, baking powder, and salt. Stir on low speed until the dry ingredients are thoroughly mixed.
In a separate medium-sized bowl, whisk together the buttermilk, oil, eggs, and vanilla extract until well incorporated.
Gradually add the very hot coffee (or water) to the wet mixture, stirring continuously to avoid scrambling the eggs. The mixture will be thin but that's expected.
Slowly combine the wet ingredients with the dry mixture. Beat on medium speed for about 2-3 minutes until the batter becomes smooth and uniform.
Evenly divide the batter between the two prepared cake pans. For precise results, use a kitchen scale to ensure equal distribution.
Place both pans on the center rack of your preheated oven and bake for 35-40 minutes. You’ll know they’re done when a toothpick inserted into the center comes out clean.
Let the cakes rest in the pans for 10 minutes before carefully turning them out onto a wire rack to cool completely.