Reproduction in a changing world