Forecasting the response to global warming in a heat-sensitive species