Title: Resource depletion and terms of trade collapse