Title: Demography and environmental adaptation