From Edinburgh Castle's volcanic rock above the capital to Dunnottar's clifftop ruins reachable only by 200 steps down and back up