This, this, this.
Set up situations for the characters to engage with based on the narrative, and then let the encounters grow organically out of it. Encounters, like the rest of the adventure, should respond to the character's decisions.
For instance, recently my players caught a pair of...