On the edge of the cliff, the view was breathtaking, a vast expanse of ocean and sky.