Heat the oven to 350°F (175°C) and grease a 9x13-inch pan. Whisk together 2 1/2 cups of flour (315 g), 1 teaspoon of baking soda, 2 teaspoons of ground ginger, 1 teaspoon of cinnamon, 1/2 teaspoon of nutmeg, 1/4 teaspoon of cloves and 1/2 teaspoon of salt. Cream 1/2 cup of softened butter with 1/2 cup of brown sugar until light, then beat in 3/4 cup of molasses and 1 large egg. Stir in the dry mixture in two parts, alternating with 3/4 cup of hot water, until just combined. Pour into the pan and bake 30 to 35 minutes, until a toothpick in the center comes out clean. Cool completely, then cut into 1-inch cubes.
While the cake bakes, whisk 4 egg yolks, 1/2 cup of granulated sugar and 3 tablespoons of cornstarch in a saucepan until smooth and pale. Whisk in 2 cups of cold eggnog and 1 cup of whole milk. Cook over medium heat, whisking constantly, for 6 to 8 minutes, until the custard thickens enough to coat the back of a spoon — do not let it boil. Remove from the heat, stir in 1 teaspoon of vanilla extract, and press plastic wrap directly onto the surface. Chill until completely cold, at least 1 hour.
Combine 2 cups of cranberries, 1/2 cup of granulated sugar, 1/2 cup of water and 1 teaspoon of orange zest in a small saucepan. Bring to a simmer over medium heat, then cook for 8 to 10 minutes, stirring now and then, until most of the berries have burst and the sauce has thickened enough to coat a spoon. Transfer to a bowl and cool completely.
Beat 2 cups of cold heavy cream with 1/4 cup of powdered sugar and 1 teaspoon of vanilla extract on medium-high speed until stiff peaks form. Do not overbeat. Keep cold in the fridge until assembly.
In a 3- to 4-quart trifle bowl or a large clear glass bowl, scatter half of the gingerbread cubes across the bottom. Spoon half of the cold eggnog custard over the cake and spread it to the edges. Spoon half of the cranberry compote over the custard, then spread half of the whipped cream on top. Repeat with the remaining cake, custard, compote and cream, finishing with a generous layer of whipped cream. Use the back of a spoon to make soft swirls in the top.
Cover the trifle loosely with plastic wrap and refrigerate for at least 4 hours, or overnight. Just before serving, sprinkle 1/4 cup of gingersnap crumbs over the top with a dusting of nutmeg, and add a few sugared cranberries if you like. Serve with a large spoon, digging all the way to the bottom so every serving gets all four layers.