To reduce carbon dioxide (CO2) emissions, architects are looking beyond their own projects to make a greater difference in a new way—with building codes.