US-Pakistan relations: a cautionary tale, great-power politics, and deft diplomacy