Text this: Variational Mechanics for Mining Infrastructure Design