Regime transitions in near-surface temperature inversions