Waves and beaches: The dynamics of the ocean surface