A brown and black dog walks along a rocky beach .