Text this: A Category-Theoretic Framework from Biological Mechanics to Engineered Stimulus-Response Systems