From the rock shelters of southern Africa to the royal courts of Buganda, fluidity shaped ritual, healing, and community.