About two years after 13 children and teens sued Hawaii over the threat posed by climate change, both sides reached a settlement that includes an ambitious requirement to decarbonize the state’s transportation system over the next 21 years.