01 - Preheat oven to 325°F (160°C). Grease and line a 9-inch (23 cm) springform pan.
02 - Process ladyfingers into fine crumbs using a food processor. Combine crumbs with melted butter and espresso powder until mixture is evenly moistened. Press firmly into the bottom of the prepared pan. Bake for 10 minutes, then allow to cool.
03 - In a small bowl, dissolve granulated sugar in hot espresso and coffee liqueur (if using). Stir thoroughly and set aside to cool.
04 - In a large bowl, beat cream cheese, mascarpone, and sugar until completely smooth. Add eggs one by one, mixing well after each addition. Incorporate brewed espresso, vanilla extract, flour, and a pinch of salt; mix just until combined.
05 - Brush or drizzle half the coffee soak evenly over the cooled crust.
06 - Gently pour cheesecake filling over the soaked crust. Smooth the surface and tap the pan on the counter to release air bubbles.
07 - Place the springform pan in a larger pan and add hot water to reach halfway up the sides. Bake for 60 minutes, or until center is just set with a slight wobble. Turn off oven, crack door, and let cheesecake rest 1 hour inside.
08 - Remove cheesecake from oven and water bath. Cool to room temperature, then refrigerate at least 4 hours or overnight until thoroughly chilled.
09 - Whip heavy cream with powdered sugar and vanilla extract using an electric mixer until stiff peaks form.
10 - Release cheesecake from pan. Optionally brush or drizzle remaining coffee soak on top for deeper flavor.
11 - Spread whipped cream across the top, dust generously with cocoa powder, and garnish with chocolate shavings. Slice and serve chilled.