The Architecture of Overthinking