Thermodynamics of hydrogels for applications in atmospheric water harvesting, evaporation, and desalination | Synapse