Text this: Basics of thermodynamics and phase transitions in complex intermetallics