Prep the pan: Heat the oven to 350°F (175°C).
Grease a 24-cup mini muffin pan and lightly flour it, or use mini paper liners.
Mix dry ingredients: In a bowl, whisk flour, almond flour, baking powder, and salt. Set aside.
Cream butter and sugar: In a large bowl, beat butter and sugar until light and fluffy, about 2–3 minutes. This builds structure and a tender crumb.
Add eggs and flavor: Beat in eggs one at a time.
Mix in lemon zest and vanilla until combined.
Combine wet and dry: Add half the dry mixture, then the milk, then the rest of the dry mix. Stir gently until just combined. Do not overmix.
Fold in berries: Gently fold in raspberries. If berries are very juicy, toss them with 1 tsp flour first to help prevent sinking.
Fill and bake: Divide batter among cups, filling each about 3/4 full.
Bake 12–15 minutes, until the tops spring back and a toothpick comes out clean.
Cool: Let cakes cool in the pan 5 minutes, then transfer to a rack to cool completely.
Make the glaze: Whisk powdered sugar with 2 tbsp lemon juice. Add more juice a few drops at a time until thick but pourable. Stir in zest if using.
Glaze neatly: Dip the cooled tops into the glaze or spoon it over for a smooth cap.
Let set 15–20 minutes until slightly firm and shiny.
Garnish (optional): Add a tiny raspberry piece, edible flower petal, or a pinch of lemon zest on each cake for a polished finish.