Marine electrolysis for building materials and environmental restoration