Environmentally driven sexual segregation in a marine top predator