A 29-year-old primigravida at 35 weeks’ gestation presents with a severe frontal headache, visual disturbance, right upper quadrant abdominal pain, and generalised oedema. Her blood pressure is 170/112 mmHg and urine dipstick shows 3+ protein. What is the most appropriate immediate management?