Matrix-induced pre-strain and mineralization-dependent interfibrillar shear transfer enable 3D fibrillar deformation in a biogenic armour.