01 - Preheat the oven to 350°F. Grease and line two 8-inch round cake pans with parchment paper.
02 - In a food processor, finely grind 7 oz pistachios until they reach a fine meal consistency. Set aside.
03 - In a medium bowl, whisk together flour, baking powder, salt, and ground pistachios until well blended.
04 - In a large bowl, beat the butter and sugar until light and fluffy, approximately 3-4 minutes. Add eggs one at a time, beating well after each addition.
05 - Mix in the vanilla extract and lemon zest until incorporated.
06 - Alternately add the flour mixture and milk to the butter mixture, beginning and ending with flour. Mix until just combined, being careful not to overmix.
07 - Gently fold in 7 oz fresh raspberries by hand until evenly distributed throughout the batter.
08 - Divide the batter evenly between the prepared pans. Smooth the tops. Bake for 40-45 minutes, or until a toothpick inserted in the center comes out clean.
09 - Cool in pans for 10 minutes, then turn out onto a wire rack to cool completely before frosting.
10 - Beat cream cheese and butter until smooth. Gradually add powdered sugar and vanilla, beating until fluffy and well combined.
11 - When cakes are completely cool, spread a layer of frosting over one cake layer, top with the second layer, and frost the top and sides evenly.
12 - Sprinkle chopped pistachios over the top and sides of the frosted cake. Arrange fresh raspberries on top for garnish.