Pātuhitia tēnei: Non-equilibrium thermodynamics of heterogeneous systems