Calculate the clamp() rule for scaling typography to your desired specifications. All credit for this technique goes to Josh Comeau.
clamp()