Area dynamics, demand structure, and headquarter functions