Jeremy Coca, left, shown with Pamela Langton and Aigner Mathis: “Sondheim will change the mood of the piece in an instant, even in the middle of a song.”