.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden; /* optional, keeps things tight */
}

.hero div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;

    width: 100vw;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero > img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(-120px);
}

.hero h2 {
    font-size: 54px;
    font-weight: bold;
    white-space: nowrap;
}

@media (max-width: 500px) {
    .hero {
        height: 48vh;
    }

    .hero > img {
        transform: scale(150%) translateY(50px);
    }

    .hero h2 {
        font-size: 5vw;
    }
}