Species may swim thousands of kilometers to escape ocean heat waves