Hagia Sophia in Istanbul’s old city s an architectural phenomenon and one of the largest enclosed spaces in the world.