Set the oven to 350°F (180°C), mist a 9×13-inch metal baking pan with nonstick baking spray, and lay parchment across the bottom. Leave enough paper extending past the sides to grasp once the cake is cool.
Use a hand whisk to distribute the baking powder, baking soda, kosher salt, ginger, cinnamon, nutmeg, cloves, and allspice through the flour in a large bowl. Once the spices are evenly speckled through the flour, set the bowl aside.
In a second large bowl, whisk the molasses with the hot brewed coffee. The heat loosens the syrup, making it easier to blend until no thick ribbons remain.
Add the sunflower oil and dark brown sugar to the loosened molasses and whisk them in. Continue until you can no longer see pools of oil or clumps of sugar.
Stir the eggs, vanilla, and room-temperature buttermilk into the molasses mixture. The wet mixture should look uniform, with no streaks of egg or buttermilk.
Stir the flour mixture into the wet ingredients just until the last streak of flour disappears, then pour the batter into the prepared pan and gently shake it level. The batter will look silky and dotted with small bubbles, which don’t need to be mixed out.
Bake on the middle rack for 30 to 35 minutes, checking at the early end of the range. When the middle has set, a toothpick poked there should come out bare or carry a couple of moist crumbs rather than a smear of batter.
Move the pan onto a wire rack and leave the cake in it until completely cool. Wait until there’s no warmth left in the cake before lifting it out so the tender crumb is less likely to tear.