01 - Preheat oven to 350°F (175°C). Line an 8-inch square baking pan with parchment paper, leaving an overhang for easy lifting.
02 - In a large mixing bowl, beat butter and sugar together with a mixer until light and fluffy. Add salt, vanilla extract, and almond extract, mixing thoroughly.
03 - Gradually add all-purpose flour, mixing until dough becomes crumbly and holds together when pressed.
04 - Press two-thirds of the dough evenly into the bottom of the prepared pan to create a firm base.
05 - Spread raspberry jam evenly over the dough, leaving a small border around the edges.
06 - Crumble the remaining dough evenly over the jam layer and sprinkle with sliced almonds.
07 - Bake for 28 to 32 minutes until the top is golden and the almonds are lightly toasted.
08 - Allow bars to cool completely in the pan. Lift out using the parchment overhang and cut into squares for serving.