For anyone that has used a CSS clamp generator, this article is for you. With a not-terribly-complex calc(), you can provide four properties (min and max font size and min and max viewport size) and it'll provide you a preferred value!
https://finley.im/2025/10/29/clamping-with-max-and-min-viewports