A 60-million-year reconstruction links changing shelf area to phosphate availability, ocean oxygen and organic carbon burial, with the strongest feedback appearing at an intermediate sea level.