The design of mineralised hard tissues for their mechanical functions.