Title: State-dependency and firm-level optimization