.hero {
    --focus: #fff4dc;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    min-block-size: clamp(22rem, 63vh, 38rem);
    min-block-size: clamp(22rem, 63svh, 38rem);
    overflow: hidden;
    padding-block: 5.75rem 4.5rem;
    background: #24211e url("../images/image-33-first-frame.jpg") center / cover no-repeat;
    color: white;
    text-align: center;
}

.hero--home {
    min-block-size: min(86vh, 920px);
    min-block-size: min(86svh, 920px);
    padding-block: clamp(5.75rem, 10vh, 8rem) clamp(5rem, 10vh, 7rem);
}

.hero-video,
.hero::after {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    pointer-events: none;
}

.hero-video {
    object-fit: cover;
    z-index: -2;
}

.hero::after {
    content: "";
    z-index: -1;
    background: linear-gradient(180deg, rgb(17 15 13 / 38%), rgb(17 15 13 / 64%) 55%, rgb(17 15 13 / 76%));
}

.hero-content {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    text-shadow: 0 3px 24px #14120f;
}

.hero-content h1 {
    max-inline-size: 18ch;
    font-size: clamp(2rem, 6vw, 4.5rem);
}

.hero-logo {
    inline-size: clamp(5rem, 9vw, 7.5rem);
}

.hero--home .hero-logo {
    inline-size: clamp(10rem, 23vw, 18rem);
    margin-block-end: clamp(-1.3rem, -1.15vw, -0.75rem);
}

.hero-content p {
    max-inline-size: 40ch;
    font-size: clamp(1rem, 1rem + 0.6vw, 1.4rem);
    font-weight: 480;
    text-wrap: balance;
}

.hero-actions {
    position: absolute;
    inset-block-end: clamp(0.9rem, 3vh, 1.8rem);
    inset-inline: 0;
    display: flex;
    justify-content: center;
}

.hero-down {
    display: grid;
    place-items: center;
    inline-size: 44px;
    min-block-size: 44px;
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 50%;
    background: rgb(22 20 18 / 56%);
    color: white;
    text-decoration: none;
}

.hero-down::before {
    content: "";
    inline-size: 0.65rem;
    block-size: 0.65rem;
    border-inline-end: 1px solid currentColor;
    border-block-end: 1px solid currentColor;
    transform: translateY(-0.12rem) rotate(45deg);
}

.hero-down:hover {
    background: rgb(22 20 18 / 88%);
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        visibility: hidden;
    }
}

@media (max-width: 639px) {
    .hero--home {
        min-block-size: min(80vh, 42rem);
        min-block-size: min(80svh, 42rem);
    }
}
