Waverley Beach Shellbed, Photo J.Thomson @ GNS Science
A bit further along the beach from where you first see the shell layer there is striking blue grey muddy sandstone about 1 m below the band of shells. This mud represents a calm environment, some tens of metres beneath the ocean surface.
Just above it the layers become sandier and are riddled with burrows created by animals (such as worms or shellfish) feeding on organic remains in the sediment. They indicate, along with the more sandy colour, that the water depth was getting less.
The very base of the shell bed is marked by a sharp surface, formed by the erosive forces of wave action in very shallow water. Notice that the lowest part of the shellbed consists of broken shells of many species of shallow-water bivalves, and that very few shells are articulated (i.e. both valves rarely occur together). This means that they are likely to have been moved around and damaged by wave action.
However, the top of the shell bed consists of many large intact shells of now-extinct bivalve species such as large clams, scallops and giant oysters. These were not damaged and many have remained articulated (i.e. with both valves present together). When they were alive they must have been below wave depth, perhaps as deep as about 60 m.
Finally, above the shellbed is another layer of sandy mudstone which was deposited later and shows a slightly greater depth of deposition.
You have just observed a change from deep water conditions to a beach environment, and then back to deep water! This represents global sea-level changes caused by ice sheets growing and melting, primarily in Antarctica, over a 40 000-year glacial-interglacial cycle.