Population and Community responses along environmental gradients across spatio-temporal scales