Environmental groups have spent decades preparing for the likes of Trump.