The Dual Mechanisms of Spatial Reasoning in Vision-Language Models — ThinkLLM