A 32-year-old woman presents with a 3-year history of episodic unilateral throbbing headaches associated with nausea and photophobia, relieved by sleep. Neurological examination is normal. Which of the following is the most appropriate first-line acute treatment for her migraine attacks?