Since Costa Rica announced four years ago that it would become “carbon-neutral” by 2021, the country has become a laboratory for reducing the climate impact of agriculture.