On a phone, 100vh is taller than what you can see while the address bar is showing.
.hero { min-height: 100vh; /* fallback */ min-height: 100dvh; }
dvh is the dynamic viewport height: it follows the browser toolbars as they slide in and out. svh is the small viewport (toolbars visible) and lvh the large one (toolbars hidden). The older vh unit matches the large one, so full-screen sections get cut off at the bottom. The first line is a fallback for browsers that do not know the new units. Because dvh changes while scrolling, an element sized with it can resize during a swipe, so svh is the calmer choice for a hero.
Further reading: MDN: CSS length units