A 28-year-old woman presents with recurrent unilateral heada…

A 28-year-old woman presents with recurrent unilateral headaches lasting 12–24 hours associated with nausea, photophobia, and visual disturbances described as “flashing lights.” Neurologic examination is normal. Which of the following best explains the underlying pathophysiology of this patient’s headache?