Text this: Social roots of religion in ancient India