I believe the AS website says the flight exceeding 2,100 miles must be operated by AS. It may not *say* that, but that is the implication. Moreover, it is called the Alaska Lounge, as your title indicates. I see no reason why you shouldn’t earn AS miles for both legs.