static double fontSize(double size) { double scaled = (size / baseWidth) * effectiveWidth; return scaled.clamp(size * 0.9, size * 1.3); }