Scientists build a ‘virtual lab’ to predict the useful properties of clay-polymer composites from their atomic make-up.