Preheat your oven to 350°F (175°C) and line a cupcake pan with paper liners.
In a mixing bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
In a large bowl, cream the softened butter and sugar together using an electric mixer until light and fluffy, about 3-4 minutes.
Beat in the eggs one at a time, then add the lemon zest and vanilla extract, mixing until just combined.
Gradually add the dry ingredients to the wet mixture, alternating with the buttermilk and lemon juice, starting and ending with the flour mixture. Mix until just combined to avoid overmixing.
Gently fold in the fresh raspberries, being careful not to break them up 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 into the center comes out clean.
Once done, remove from the oven and let the cupcakes cool in the pan for 5 minutes before transferring them to a wire rack to cool completely.
Notes
Frost with lemon-flavored buttercream and garnish with fresh raspberries.