foreshadowing
noun
°A literary device in which an author drops subtle hints about plot developments to come later in the story.