Fresh Coconut Layer Cake

Ingredients:
2 (1 1/2-pound) coconuts
1/4 cup sugar
3 1/3 cups sifted cake flour (not self-rising; sift before measuring)
1 tablespoon baking powder
1 teaspoon salt
1 1/2 cups whole milk
1 1/2 teaspoons pure vanilla extract
1/8 teaspoon pure almond extract
2 1/2 sticks unsalted butter, softened
1 3/4 cups sugar, divided
7 large egg whites, at room temperature 30 minutes
3 large egg whites, at room temperature 30 minutes
2 1/4 cups sugar
3/4 cup water
1 1/2 tablespoons light corn syrup
1/2 teaspoon cream of tartar
1/8 teaspoon salt
1 teaspoon pure vanilla extract
Equipment: 3 (9- by 2-inch) round cake pans

Instructions:
Preheat oven to 350°F with racks in upper and lower thirds.
Pierce softest eye of each coconut with a small screwdriver and collect liquid in 2 separate bowls to sample. If either tastes rancid, discard that coconut and liquid and Start over with another. Strain liquid from 2 coconuts through a dampened-paper-towel-lined sieve into a 1-cup measure and set coconuts aside. (You should have about 3/4 cup liquid. If not, add water.) Bring to a simmer with sugar and a pinch of salt in a small saucepan, stirring until sugar has dissolved. Cool and reserve.
Bake coconuts on lower rack 15 minutes. Leave oven on. Break shells with a hammer, then remove flesh with screwdriver, prying it out carefully. Peel brown membrane from flesh with a vegetable peeler. Coarsely grate enough coconut on large holes of a box grater to measure 5 cups.
Butter cake pans, then line bottom of each with a round of parchment paper and butter parchment. Flour pans, knocking out excess.
Sift together flour (3 1/3 cups), baking powder, and salt.
Stir together milk and extracts.
Beat butter and 1 1/2 cups sugar in a large bowl with an electric mixer at medium speed until pale and fluffy, 2 to 3 minutes. At low speed, add flour mixture in 3 batches alternately with milk mixture, beginning and ending with flour mixture and mixing until each addition is just incorporated.
Beat egg whites in another large bowl with cleaned beaters at medium speed until they just hold soft peaks. Beat in remaining 1/4 cup sugar, 1 tablespoon at a time, then beat until whites just hold stiff, glossy peaks. Stir one third of whites into batter, then fold in remaining whites gently but thoroughly.
Spread batter evenly in pans and rap pans on counter several times to eliminate air bubbles.
Place 2 pans on upper rack and 1 pan on lower rack and bake 20 minutes. Switch position of pans and bake until golden and a wooden pick inserted in center of each cake comes out clean, 10 to 15 minutes more. Cool cakes in pans on racks 5 minutes, then run a knife around edges of pans and invert cakes onto racks. Discard parchment and cool completely, about 1 hour.
Beat together egg whites, sugar, water, corn syrup, cream of tartar, and salt in a large deep bowl with a handheld mixer (clean beaters if necessary) until combined. Set bowl over a pot of simmering water and beat mixture at high speed until it holds stiff, glossy peaks, 5 to 7 minutes. (Humid weather may necessitate additional beating time.) Remove bowl from heat, then add vanilla and beat until frosting is cooled and very thick, 6 to 10 minutes. Transfer 2 1/3 cups frosting to another bowl and stir in 2 cups coconut to make filling.
Put 1 cake layer on a cake stand or large plate. Brush top with one third of reserved coconut syrup, then spread with half of filling. Repeat with another layer, more syrup, and remaining coconut filling, then top with third layer. Brush top with remaining syrup, then cover cake with remaining frosting and coat with remaining coconut, gently pressing to help it adhere.