Line an 8-inch square pan with parchment, leaving overhang on two sides for lifting. Heat oven to 325°F (165°C).
Make the crust: In a mixing bowl, mash the softened vegan butter with powdered sugar and vanilla until creamy. Add flour and salt and stir until a soft, slightly crumbly dough forms with no dry pockets.
Press the dough firmly and evenly into the lined pan. Dock the surface a few times with a fork, then chill the pan for 10 minutes to help the crust hold its shape.
Bake the shortbread for 18–22 minutes, until the edges are lightly golden and the center looks set. Cool on a rack for 15 minutes before adding the next layer.
While the crust bakes, prepare the caramel: In a small saucepan over low heat, whisk together nut butter, maple syrup, and melted coconut oil until glossy and fully combined, 2–3 minutes. Remove from heat and whisk in coconut cream, vanilla, and salt. Let cool 5 minutes; it should be thick but spreadable.
Spread the warm caramel evenly over the cooled shortbread. Refrigerate until the surface is firm to the touch, 30–40 minutes.
For the chocolate cap, set a heatproof bowl over a small pot of barely simmering water (do not let the bowl touch the water). Add chocolate, coconut cream, and coconut oil; stir until melted and smooth. Off heat, mix in espresso powder if using.
Pour the chocolate over the chilled caramel and tilt the pan to level. Tap the pan gently on the counter to pop any air bubbles, then sprinkle with a pinch of flaky sea salt.
Chill 20–30 minutes, just until the chocolate sets but is still soft enough to cut without shattering. Lift out by the parchment. For clean edges, score the chocolate layer first, then press a warm chef’s knife through to cut 16 bars.