Fresh fossil finds in Africa shed light on the era before Earth’s largest mass extinction