From carbonate margin to ocean by