Prep your pans and oven: Preheat the oven to 350°F (175°C). Grease and line two 8-inch round cake pans with parchment.
Lightly flour the sides to prevent sticking.
Measure carefully: Use the spoon-and-level method for flour. Too much flour makes a dry cake, so keep it accurate.
Mix the dry ingredients: In a medium bowl, whisk 2 1/2 cups all-purpose flour with 2 1/2 teaspoons baking powder and 1/2 teaspoon fine sea salt. Set aside.
Cream the butter and sugar: In a large bowl, beat 3/4 cup unsalted butter (room temperature) with 1 1/2 cups granulated sugar until pale and fluffy, about 3 minutes with a mixer on medium.
Add the eggs and vanilla: Beat in 3 large eggs, one at a time, scraping the bowl between additions.
Mix in 2 teaspoons vanilla extract until smooth.
Combine wet ingredients: In a small bowl or measuring cup, whisk 1 cup whole milk with 1/2 cup sour cream or plain yogurt until smooth.
Alternate dry and wet: Add one-third of the dry ingredients to the butter mixture, then half the milk mixture. Repeat, ending with the dry ingredients. Mix on low just until combined.
Do not overmix.
Divide and smooth: Split the batter evenly between the two pans. Smooth the tops with a spatula and tap each pan on the counter to pop large air bubbles.
Bake: Bake for 24–28 minutes, or until the centers spring back and a toothpick comes out clean with a few moist crumbs.
Cool completely: Let cakes cool in the pans for 10 minutes. Turn out onto a wire rack, peel away parchment, and cool fully before frosting.
Make the vanilla buttercream: Beat 1 cup unsalted butter (room temperature) until creamy.
Add 3 1/2–4 cups powdered sugar, 1 teaspoon vanilla, a pinch of salt, and 2–4 tablespoons heavy cream or milk. Beat until light and spreadable. Adjust cream for a smoother texture.
Level if needed: If the cake domed, trim the tops gently with a serrated knife to create flat layers.
Save crumbs for snacking or decoration.
Assemble: Place one layer on a serving plate. Spread a generous layer of frosting on top. Set the second layer on, then frost the top and sides.
Decorate: Add sprinkles around the edges or press them gently onto the sides.
Keep it simple or add a border with a piping bag if you like.
Set and serve: Chill the cake for 20–30 minutes to set the frosting, then slice and celebrate.