Individual- and population-level drivers of consistent foraging success across environments