01 - Preheat oven to 350°F. Grease and line three 8-inch round cake pans with parchment paper.
02 - Whisk together flour, baking powder, baking soda, and salt in a bowl; set aside.
03 - Using an electric mixer, beat butter and granulated sugar until light and fluffy, about 3 to 4 minutes.
04 - Add eggs one at a time to the butter mixture, beating well after each. Stir in lemon zest and vanilla extract.
05 - Mix in fresh lemon juice; batter may appear curdled, which is normal.
06 - Add dry ingredients in three additions, alternating with milk, starting and ending with flour mixture; mix just until combined.
07 - Distribute batter evenly into prepared pans and smooth the tops. Bake for 25 to 30 minutes or until a toothpick inserted in the center comes out clean.
08 - Cool cakes in pans for 10 minutes, then turn out onto wire racks and cool completely.
09 - In a small saucepan, combine raspberries, sugar, and lemon juice. Cook over medium heat, stirring, until raspberries break down, about 5 to 7 minutes. Stir in cornstarch slurry and cook until thickened, 1 to 2 minutes. Cool completely.
10 - Beat butter until creamy. Gradually add powdered sugar, lemon juice, lemon zest, salt, and enough milk or cream to reach a smooth, spreadable consistency.
11 - Place one cake layer on serving plate. Spread half of the raspberry filling over the top, avoiding edges. Add a thin layer of buttercream. Repeat with second cake layer and remaining filling. Top with final cake layer.
12 - Cover top and sides of cake with buttercream. Decorate with fresh raspberries and lemon zest curls as desired.