Preheat the oven to 350°F (175°C). Grease an 8-inch square metal baking pan and line it with parchment paper, leaving extra overhang on two sides for easy lifting. This ensures your raspberry lemon bars come out cleanly after cooling, plus, it makes cutting neat squares a breeze.
In a mixing bowl, combine the cold cubed butter, 60g sugar, 1/4 teaspoon salt, 180g flour, and lemon zest. Use your fingertips or a pastry blender to cut the butter in until the mixture looks sandy and holds a clump when pinched. Press firmly and evenly into the bottom of the prepared pan. Aim for a level layer with no thin spots.
Bake the crust for 21-24 minutes, until just set and pale golden around the edges. Rotate the pan halfway through for even baking. When ready, the crust should look dry on top and pale with faint golden edges. Remove and keep oven on for the next step.
While the crust bakes, whisk together the eggs, 225g sugar, fresh lemon juice, 25g flour, and 1/4 teaspoon salt in a clean bowl until smooth and glossy. Avoid whisking too vigorously, minimal air means a silkier set. Gently fold in the raspberries last, being careful not to crush them.
Immediately pour the lemon-raspberry filling over the hot crust and gently tilt or spread so the raspberries are evenly distributed. Return to the oven and bake for 22-27 minutes. The center should jiggle just slightly when the pan is gently shaken; overbaking leads to a rubbery set.
Transfer the pan to a wire rack and cool to room temperature, about 90 minutes. Then cover and chill in the fridge for at least 2 hours before slicing. Chilling is crucial: the lemon layer finishes setting and allows for razor-sharp, bakery-style bars once cut.
Lift the whole bar slab from the pan using the parchment. Dust with powdered sugar if desired. Use a large sharp knife, rinsing and drying between cuts for the cleanest edges. Serve chilled or at cool room temperature to keep the layers intact and bright.