I'm a few months away from being 40, and the common trait amongst the 40+ crowd is people and leadership skills. Management is the common track that people take, but you can be a technical leader if the company needs it (I'd argue most companies need them, but many companies don't manage tech itself).