The settings have changed—from intimate relationship songs to blockbuster movie themes—but the gift for melody and sharply observed storytelling have remained.