Preheat your oven to 350°F (175°C) and line a 12-cup muffin tin with cupcake liners.
In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
In a large mixing bowl, cream the softened butter and granulated sugar together until light and fluffy, about 3-4 minutes.
Beat in the eggs one at a time, then stir in the vanilla extract, lemon juice, and lemon zest.
Gradually add the dry ingredients to the wet mixture, alternating with the buttermilk. Begin and end with the dry ingredients. Mix until just combined.
Gently fold in the fresh raspberries, being careful not to break them apart too much.
Divide the batter evenly among the cupcake liners, filling each about two-thirds full. Bake in the preheated oven for 18-20 minutes, or until a toothpick inserted in the center comes out clean.
Once baked, remove from the oven and let the cupcakes cool in the tin for 5 minutes before transferring them to a wire rack to cool completely.
In a medium bowl, beat together the softened cream cheese and powdered sugar until smooth. Add the lemon juice, lemon zest, and a pinch of salt, then mix until well combined and creamy.
Once the cupcakes have cooled completely, frost them generously with the cream cheese frosting. Top with additional raspberries for garnish.
Notes
For best results, use fresh raspberries and allow cupcakes to cool completely before frosting.