Dress codes have shifted dramatically since the pandemic, and style consultants say the pendulum now is swinging back.