Text this: A theory of the firm in economic space