Regional climate modulates the canopy mosaic of favourable and risky microclimates for insects.