Text this: Adaptive evolution of complex innovations through stepwise metabolic niche expansion