Chocolate filling: whisk the sugar, cornstarch, cocoa and salt in a heavy saucepan, whisk in the egg, then the cream, milk and vanilla seeds. Cook over medium heat, stirring constantly, 8 to 10 minutes, until thick like loose pudding. Off the heat, stir in the chocolate and butter, press through a sieve, cover the surface with plastic wrap and chill at least 4 hours.
Lemon curd: whisk the sugar, salt, eggs and yolks until smooth, then the zest and juice. Cook over medium heat, stirring, about 5 minutes, until thick. Stir in the butter, sieve, cover the surface and chill at least 4 hours.
Buttercream base: whisk the sugar, cornstarch, egg, yolk and vanilla seeds, then the milk. Cook over medium heat, stirring, 6 to 8 minutes, until thick. Sieve, cover the surface and chill at least 2 hours.
Beat the chilled base in a stand mixer with the paddle on medium speed, adding the softened butter a tablespoon at a time, until pale and fluffy, about 8 minutes. It will look curdled at first and come together as the butter goes in.
Cake: heat the oven to 375°F (190°C) and line three 9-inch pans with parchment, greasing the sides. Sift the flour and whisk in the baking powder. Mix the buttermilk, sour cream and vanilla. Cream 2 cups sugar, the butter and 3/4 teaspoon salt until fluffy, about 3 minutes, then beat in the lemon zest and the yolks one at a time. On low speed add the dry ingredients in three parts, alternating with the buttermilk in two. Whip the whites to soft peaks in a clean bowl and fold them in.
Divide among the pans and bake 20 to 22 minutes, rotating halfway, until a toothpick comes out clean. Cool completely, then split each cake horizontally into 2 layers. Boil 1 cup sugar with 1 cup water for 5 minutes and let the syrup cool.
Brush every layer with syrup. Spread 3 layers with chocolate filling and 2 with lemon curd, and stack them, alternating flavors, finishing with the plain layer. Chill 30 minutes, cover the top and sides with buttercream and freeze 30 minutes.
Ganache: heat the cream and salt until bubbles form at the edge, pour over the chocolate, wait 1 minute and whisk from the center until glossy. Pour slowly over the cold cake, guiding it down the sides with a spatula, and let it set 10 minutes before slicing.