Mechanical properties of the superficial biofilm layer determine the architecture of biofilms.