01 - Preheat the oven to 350°F (175°C) and line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together the all-purpose flour, baking soda, and fine sea salt until evenly blended.
03 - In a large bowl, beat the softened butter, granulated sugar, and light brown sugar on medium speed until light and creamy, approximately two minutes.
04 - Add the eggs one at a time, beating well after each addition, then mix in the pure vanilla extract until fully combined.
05 - Gradually add the dry ingredient mixture to the wet ingredients, mixing on low speed just until combined to avoid overmixing.
06 - Fold in the dark chocolate chips and optional chopped nuts gently using a spatula to evenly distribute without overworking the dough.
07 - Scoop heaping tablespoons of dough onto the prepared baking sheets, spacing each about 2 inches apart to allow for spreading.
08 - Sprinkle each portioned dough mound with a pinch of flaky sea salt to enhance flavor contrast.
09 - Bake in the preheated oven for 11 to 13 minutes, or until edges are golden while centers remain soft and slightly underbaked for chewiness.
10 - Allow cookies to cool on the baking sheets for five minutes, then transfer to a wire rack to cool completely.