Text this: Micromechanics of failure in granular geomaterials