Make the crust dough: whisk flour, salt and sugar; cut in the cold butter to pea-sized pieces; sprinkle in ice water 1 tablespoon at a time until the dough holds together.
Divide into two disks (one slightly larger), wrap tightly, and chill for at least 1 hour, up to 2 days.
Toss the sliced apples with lemon juice, both sugars, cinnamon, nutmeg, salt and cornstarch; rest 15 minutes.
Heat the oven to 425°F (220°C), rack in the lower third, foil-lined baking sheet on the rack below.
Roll the larger disk into a 12-inch circle and fit it into a 9-inch pie plate without stretching; trim to 1/2-inch overhang.
Lift the apples into the shell (leave most of the liquid in the bowl), mound slightly in the centre, and dot with butter.
Roll the second disk into a 12-inch circle, cut 10 strips about 1 inch wide, and weave a lattice top (or lay the whole circle over the pie and cut 4 slits).
Fold the overhang up over the lattice ends, crimp to seal, brush with egg wash, and sprinkle with coarse sugar.
Bake at 425°F (220°C) for 20 minutes, then at 375°F (190°C) for 40 to 45 minutes, until deep golden and the filling bubbles thickly. Cover the edges with foil if they brown too fast.
Cool on a wire rack for at least 4 hours before slicing.