Preheat the oven to 380°F (195°C). Grease an 8-inch (20cm) round cake pan that is at least 2 inches deep. Line the bottom and sides with parchment paper. Do not use a springform pan.
Combine 4 tablespoons of butter, the brown sugar, orange juice, grated ginger, and flaky salt in a small saucepan. Cook over medium-low heat, stirring gently, until the mixture is bubbling and glossy.
Pour the caramel into the prepared cake pan and swirl to coat the bottom. Spread the cranberries evenly over the caramel.
Whisk the flour, baking powder, baking soda, and fine sea salt together in a medium bowl.
In a large bowl, beat the remaining 1/2 cup of softened butter, granulated sugar, and orange zest with an electric mixer on medium-high speed until pale and creamy.
Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract.
Turn the mixer to low speed. Add the flour mixture in three parts, alternating with the sour cream in two parts. Scrape down the sides of the bowl with a rubber spatula to ensure the batter is uniform.
Spoon the batter over the cranberries in the pan and smooth the top. Place the cake pan on a baking sheet to catch any drips.
Bake for 50 to 55 minutes, or until a skewer inserted into the center comes out clean. Let the cake cool on a wire rack for 30 minutes before carefully inverting it onto a serving platter and peeling off the parchment paper.