2 sticks unsalted butter, softened
½ c sugar
¼ tsp. salt
1 tsp. pure vanilla extract
2 ½ c all-purpose flour
4Tbsp. unsalted butter
1 Tbsp. light corn syrup
¼ c dark brown sugar, firmly packed
1 (14oz) can sweetened condensed milk
Preheat oven to 350 degrees. For the dough, beat the butter with the sugar and salt in an electric mixer with the paddle attachment on medium speed until soft and light, 2-3 minutes. Add the vanilla. On the lowest speed, beat in 2 ¼ cups of the flour, scraping the bowl and paddle with a rubber spatula and continuing to mix just until the dough is smooth, and the flour has been absorbed. Remove the bowl from the mixer and scrape ¾ of the dough into the prepared pan. Use the palm of your hand to press the dough down evenly, without compressing it too much. Chill the dough-lined pan. Work the remaining ¼ cup flour into the remaining dough with your fingertips, so that it forms ¼ inch crumbs. Set aside at room temperature.
For the filling, in a medium saucepan bring the butter, corn syrup, brown sugar, and condensed milk to a simmer, stirring occasionally. Allow the mixture to boil gently, stirring often, until it starts to thicken and darken slightly, about 10 minutes. Pour into a stainless-steel bowl to cool for 5 minutes.
Remove the dough-lined pan from the refrigerator and scrape the cooled filling onto the dough, using a small offset spatula to spread the filling evenly on the dough. Scatter the crumb mixture on the filling. Bake until the filling is bubbling gently and is a deep caramel color and the dough and crumb topping are baked though, about 30 minutes. Cool the pan on the rack until lukewarm, 15-20 minutes. Lift the slab of baked dough out of the pan and onto a cutting board before it has cooled completely. Cut the slab into 2-inch squares. Store at room temperature if you are serving them within the day or wrap and freeze them and make sure and bring to room temperature before serving.