Explaining religion from the inside out