.panel--hero {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-strong);
    align-items: stretch;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-overlay {
    background: linear-gradient(105deg, rgba(6, 19, 13, 0.84) 12%, rgba(6, 19, 13, 0.55) 46%, rgba(6, 19, 13, 0.24) 100%);
}

.content--hero {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: var(--space-4);
    left: var(--gutter-x);
    bottom: clamp(28px, 8vh, 92px);
    width: min(760px, calc(100% - (var(--gutter-x) * 2)));
    margin: 0;
}

.hero-eyebrow {
    display: inline-block;
    color: var(--color-white-90);
}

.hero-title {
    color: var(--color-white);
    font-size: var(--section-title-size);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    max-width: 720px;
    text-wrap: balance;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.panel--hero .btn--primary {
    background: var(--color-accent);
}

.panel--hero .btn--primary:hover {
    background: #d66d13;
}

.hero-profile-btn {
    border-color: rgba(255, 255, 255, 0.74);
    background: transparent;
    color: var(--color-white);
}

.hero-profile-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 840px) {
    .hero-overlay {
        background: linear-gradient(180deg, rgba(6, 19, 13, 0.78) 0%, rgba(6, 19, 13, 0.62) 52%, rgba(6, 19, 13, 0.58) 100%);
    }

    .content--hero {
        left: var(--gutter-x-mobile);
        right: var(--gutter-x-mobile);
        bottom: max(20px, env(safe-area-inset-bottom));
        width: auto;
        gap: var(--space-3);
    }
}
