A well-timed pivot led the way to monetary success and critical acclaim.