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 - Beat butter and granulated sugar until light and fluffy, about 3 to 4 minutes.
04 - Add eggs one at a time, beating well after each. Stir in lemon zest and vanilla extract.
05 - Mix in fresh lemon juice; batter may appear curdled, which is expected.
06 - Alternately add dry ingredients and milk in three parts, beginning and ending with flour. Mix until just combined.
07 - Evenly distribute batter into prepared pans, smooth tops, and bake 25 to 30 minutes or until a toothpick inserted in center comes out clean. Cool 10 minutes in pans, then transfer to wire racks to cool completely.
08 - In a small saucepan over medium heat, combine raspberries, sugar, and lemon juice. Cook while stirring until raspberries break down, about 5 to 7 minutes. Stir in cornstarch slurry, cook 1 to 2 minutes until thickened. Cool completely.
09 - Beat butter until creamy. Gradually add powdered sugar, lemon juice, lemon zest, salt, and milk or cream until smooth and spreadable.
10 - Place one cake layer on serving plate. Spread half the raspberry filling evenly, avoiding edges, then a thin layer of buttercream. Repeat with second cake layer and remaining filling. Top with final layer.
11 - Frost sides and top with lemon buttercream. Garnish with fresh raspberries and lemon zest curls as desired.