Prepare either pie crust recipe through step 5, then refrigerate the dough for at least 2 hours before rolling. The dough should feel cold and firm, not soft or greasy, when you begin shaping it.
Combine the cherries, sugar, cornstarch, lemon juice, vanilla, and almond extract in a large bowl, then cover and refrigerate while you work with the dough or for up to 24 hours. The sugar will draw out cherry juices and create a glossy liquid in the bottom of the bowl.
Roll one chilled dough disc on a floured surface into a 12-inch circle, rotating it a quarter turn after every few passes of the rolling pin, and fit it into a 9-inch pie dish. Press the dough gently into the dish so it lies smooth against the bottom and sides without stretching.
Lift the cherries into the crust with a slotted spoon, leaving the accumulated liquid behind, then refrigerate the filled shell uncovered. Keeping the fruit separate from the excess juice protects the raw bottom pastry while you thicken the liquid.
Cook the reserved cherry liquid in a small saucepan over low heat for about 3–4 minutes, stirring until it reduces and thickens, then let it cool for 5 minutes before pouring it over the fruit and adding the cold butter cubes. The syrup should look glossy and coat the back of a spoon; it may firm up when it meets the cold cherries.
Roll the second chilled dough disc into a 12-inch circle, cut it into strips, and weave the strips over the filling to form a lattice. Fold back alternate strips as you weave so the pattern stays even, then press the ends into the bottom crust to seal.
Trim the excess dough, flute or crimp the edge, brush the top and rim lightly with egg wash, and sprinkle with coarse sugar if using. Chill the assembled pie for 20–30 minutes while the oven heats so the lattice and fluted edge hold their shape.
Set the pie on a large baking sheet and bake at 400°F for 20 minutes, then reduce the oven to 375°F and continue baking for 30–40 minutes. After the first 20 minutes, cover the edge with a pie crust shield, and keep baking until the crust is golden and thick bubbles rise through the center lattice for at least 5 minutes.
Transfer the pie to a cooling rack and leave it undisturbed for at least 3–4 hours before cutting. The filling thickens as it cools, changing from loose bubbling fruit to a sliceable, jammy center.