Hagia Sophia's dual visiting system continues: worshippers enter the main hall free as in any mosque, while tourists follow the ticketed upper-gallery route — preserving sanctity while staying open to the world. The gallery gives the best Byzantine mosaic and dome angles; online booking skips long seasonal queues.