01 - Preheat oven to 350°F. Line a baking sheet with parchment paper.
02 - Whisk together flour, baking powder, and salt in a medium bowl until thoroughly blended.
03 - Beat butter and sugar in a large bowl until light and fluffy, approximately 2–3 minutes.
04 - Incorporate eggs one at a time, beating well after each addition. Blend in vanilla and almond extract until smooth.
05 - Gradually mix dry ingredients into wet ingredients until just combined. Avoid overmixing.
06 - Divide dough in half. On a lightly floured surface, shape each portion into a 12-inch by 2-inch log.
07 - Place logs on prepared baking sheet, spaced apart. Flatten slightly and sprinkle with coarse sugar if desired. Bake for 25–28 minutes until lightly golden and set. Cool for 10 minutes.
08 - Reduce oven temperature to 300°F. Using a sharp serrated knife, cut logs diagonally into 3/4-inch slices.
09 - Arrange slices cut side down on baking sheet. Bake for 12–15 minutes, flip, then bake an additional 10–12 minutes until crisp and golden throughout.
10 - Cool completely on wire rack. Drizzle with melted white chocolate if desired. Allow chocolate to set before serving.