The LEF-1 high-mobility group domain undergoes a disorder-to-order transition upon formation of a complex with cognate DNA.