Canada’s strong showing was part of a broader global rotation away from U.S. mega-cap technology stocks and into international “value” markets.