The sequence is: enter the Sacred Mosque, respond on seeing the Kaaba with remembrance, and begin the circuit at the Black Stone.
Entering the city is not the start of the first round. The circuit begins at its designated starting point, aligned with the Black Stone.