A 27-year-old woman reports recurrent unilateral, pulsating headaches lasting 8-12 hours, associated with nausea and photophobia. They are relieved by sleep. Over-the-counter paracetamol provides inadequate relief. Neurological examination is normal. What is the most appropriate acute treatment?