Dynamical systems-based soil mechanics