SMS dit: Thermodynamics of surface phenomena