Fox: Forgotten medieval kingdom's grand castle emerges after decades of research in Scotland