Mechanics of coastal sediment transport