Chill a medium mixing bowl and beaters for 10 minutes. In the chilled bowl, briefly beat the cold mascarpone just to loosen. With the mixer on low, slowly stream in the cold cream, then add powdered sugar, vanilla, and liqueur (if using). Increase to medium and whip to soft–medium peaks, 1–2 minutes. Do not overbeat. Cover and refrigerate while you bake the cookies.
Preheat the oven to 360°F (182°C). Line two baking sheets with parchment paper.
In a small cup, dissolve the instant espresso powder in the hot water and stir in the vanilla; let cool 2–3 minutes.
Whisk together the flour, baking powder, and salt in a medium bowl.
In a large bowl, cream the softened butter with the granulated sugar and brown sugar until light and fluffy, about 2–3 minutes. Beat in the egg, then the espresso-vanilla mixture and almond extract until smooth.
Add the dry ingredients to the butter mixture and mix on low just until no dry streaks remain. Scrape the bowl, cover, and chill the dough for 15 minutes to help control spread.
Scoop the dough into 3-tablespoon mounds (about 55 g each) onto the prepared sheets, spacing 2 inches apart. Lightly flatten the tops with damp fingertips.
Bake one sheet at a time for 9–11 minutes, rotating once halfway, until the edges are set and the centers look slightly puffed. Immediately after removing from the oven, gently press the center of each cookie with the back of a teaspoon to create a shallow well. Cool on the sheet for 10 minutes, then transfer to a rack to cool completely.
When cookies are fully cool, spoon or pipe a swirl of chilled mascarpone cream into the center of each cookie. Dust generously with cocoa powder right before serving.