How a midcap IT firm rewired itself for AI - and the lessons therein