Pulse the almonds and sugar together in a food processor until finely ground. Add flours, butter and salt, and process until consistency of wet sand. Add egg and as much water as needed, little by little, until dough comes together into a ball. Divide into two balls, flatten into 4-inch discs, wrap with plastic wrap, and refrigerate for 30 minutes or longer.