Obama shifts from grit to glitz in election-year contrast