Preheat the oven to 350°F and line a 9x13-inch baking pan with parchment paper so the bars release easily after baking. Mixing the crust ingredients thoroughly helps create an even crumb texture that bakes consistently.
Press two-thirds of the crumb mixture into the pan and bake for 12 minutes until lightly golden around the edges. Pre-baking the crust keeps the raspberry filling from soaking into the bottom layer.
Combine raspberries, sugar, lemon juice, lemon zest, and cornstarch in a bowl until evenly coated. The cornstarch thickens the fruit juices during baking so the bars hold together cleanly.
Spread the raspberry mixture evenly over the warm crust, then sprinkle the remaining crumble mixture across the top. Keeping the layers even helps the bars bake uniformly.
Bake for 28 to 32 minutes until the crumble topping turns golden and the filling bubbles slightly. These visual cues help you avoid overbaking and drying out the crust.
Cool completely before slicing into bars so the filling can firm up properly. Dust with powdered sugar before serving if desired.