01 - Melt butter in a medium saucepan over medium heat. Cook, swirling occasionally, until butter foams and turns golden brown with a nutty aroma, about 5-7 minutes. Remove from heat and pour into a large mixing bowl. Cool for 10 minutes.
02 - Add brown sugar and granulated sugar to the browned butter. Whisk until fully blended and smooth.
03 - Whisk in eggs one at a time, followed by vanilla extract, almond extract if using, and milk. Mix until smooth and fully incorporated.
04 - In a separate bowl, whisk together flour, baking soda, baking powder, and salt until evenly distributed.
05 - Add dry ingredients to the wet ingredients. Stir until just combined, being careful not to overmix.
06 - Fold in chocolate chips or chunks until evenly distributed throughout the dough.
07 - Cover dough and refrigerate for at least 30 minutes, or up to 24 hours for enhanced flavor development.
08 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
09 - Scoop dough, about 2 tablespoons per cookie, onto prepared baking sheets, spacing at least 2 inches apart.
10 - Bake for 10-12 minutes, until edges are golden brown and centers are just set. Avoid overbaking for chewy texture.
11 - Let cookies cool on baking sheet for 5 minutes, then transfer to wire rack to cool completely.