the lh unit is great for maintaining a consistent rhythm, but it can get messy when u have nested containers with different viewport heights. i've been using
clamp()
alongside it to prevent the scaling from breaking on mobile viewports. if u move that logic into an
astro component, just make sure ur global styles are loaded early enough to avoid any layout shifts during hydration