S&P 500 rally narrows as 6-month headwind outlook builds