Seol mar théacs é seo: Non-equilibrium thermodynamics of heterogeneous systems