Thank you for sharing your code, it is my first time seeing clamp( ) and inline-size, it is very impressive to see the card and fonts can be changed without using multimedia queries.
Can you share the logic on how you determine on the preferred value of the font-size: clamp(1.2rem, 0.2vw + 1.125rem, 1.4rem); How did you decide to use 0.2vw + 1.125rem?
With regard to the what size of header. I think the choice of <h2> as used in your HTML is appropriate.
Marked as helpful