In the 1980s, tropical ecologist Daniel Janzen faced a problem that seemed to have no simple solution. In northwestern Costa Rica, forests that had once covered much of the landscape had been cleared for cattle ranching, leaving behind vast stretches of pasture.