The default IK stretch that Blender gives you doesn't work how people expect, so here is a method I found, that I try to explain as simply as I can
The perfect IK rig in Blender ? - Pierrick Picaut: https://www.youtube.com/watch?v=JBIdruWylDQ&t=740s
https://linktr.ee/Joeycarlino