Heat-treat the flour: Preheat the oven to 300°F. Spread 3 1/4 cups all-purpose flour on a rimmed baking sheet and bake for 8–10 minutes, stirring once halfway. Cool completely, then measure out 2/3 cup for the base and 2 1/2 cups for the cookie dough.
Line an 8-inch square pan with a parchment sling, leaving overhang on two sides. Lightly grease the parchment for easier release.
Make the cookie dough first: In a mixing bowl, beat the softened butter with the brown sugar and granulated sugar on medium speed for 2 minutes until light and creamy. Beat in the vanilla and 2 tablespoons milk. Add the cooled heat-treated flour (2 1/2 cups) and salt; mix on low just until a soft dough forms. If crumbly, add up to 1 more tablespoon milk, a teaspoon at a time. Fold in the mini chocolate chips. Scrape the dough onto a plate and chill 15 minutes to firm slightly.
Prepare the brownie base: In a medium bowl, whisk the hot melted butter with the cocoa and espresso powder until glossy and smooth. Whisk in the sugars and vanilla. Stir in the cooled heat-treated flour (2/3 cup) until thick and evenly combined.
Pack the base: Transfer the brownie mixture to the lined pan and press it into an even layer with an offset spatula or the flat bottom of a measuring cup. Chill 15 minutes, until set but still slightly tacky on top.
Top with cookie dough: Crumble the chilled cookie dough evenly over the base, then press it firmly from the center outward to eliminate gaps. Cover the surface with a piece of parchment and use a flat-bottomed glass to smooth the top.
Quick set: Freeze for 20–25 minutes (or refrigerate 2 hours) until the slab is firm enough to cut cleanly.
Finish and slice: Sprinkle a pinch of flaky sea salt over the top. Lift the slab from the pan using the sling. For neat edges, warm a chef’s knife under hot water, wipe dry, trim edges, then cut a 6×6 grid to make 36 bites, wiping the blade between cuts.