Critical horizons