Heat the oven to 350 °F and prepare three 6-inch or two 8-inch cake pans with butter, flour, and parchment circles on the bottoms. The parchment helps release the sticky cake without tearing its tender underside.
Combine the flour, sugar, cocoa, espresso powder, baking soda, baking powder, and salt in a large bowl, or use a stand mixer fitted with its paddle. An evenly colored dry mixture helps distribute the cocoa and leavening throughout the batter.
Add the egg, egg yolk, buttermilk, warm water, olive oil, and vanilla, then mix for about 1 minute. Stop when the batter looks smooth and fluid, without visible pockets of dry ingredients.
Portion the batter evenly among the prepared pans and bake for 27 to 30 minutes, checking the centers with a skewer. A clean skewer signals doneness, while wet batter means the layers need more time.
Leave the baked layers to cool and thoroughly wash and dry the mixing bowl before preparing the frosting. The cake must feel completely cool before filling, and the bowl must have no oily residue.