Text this: Foundations of physical mesomechanics of structurally inhomogeneous media