Genetic architecture and selective sweeps after polygenic adaptation to distant trait optima