Understanding hammerhead sharks’ food preferences could aid efforts to protect the critically endangered fish.