A unified perspective on the phase behaviour of petroleum fluids