Climate-induced tree senescence leads to a transient increase in reproductive success of a large woodpecker species.