.hero {
    padding: 36px 0 52px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

/* Prevent grid items from expanding beyond their track */
.hero-grid > * { min-width: 0; }

.hero-title {
    font-size: clamp(40px, 6vw, 52px);
    line-height: 1.04;
    letter-spacing: -2px;
    color: var(--graphite);
    font-weight: 900;
    margin-bottom: 22px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(46px) rotate(2deg);
    filter: blur(7px);
    animation: wordReveal 0.85s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hero-title .gold  { color: var(--gold); }
.hero-title .green { color: var(--green); }

.hero-title .word:nth-child(1) { animation-delay: 0.06s; }
.hero-title .word:nth-child(2) { animation-delay: 0.12s; }
.hero-title .word:nth-child(3) { animation-delay: 0.18s; }
.hero-title .word:nth-child(4) { animation-delay: 0.24s; }
.hero-title .word:nth-child(5) { animation-delay: 0.30s; }
.hero-title .word:nth-child(6) { animation-delay: 0.36s; }
.hero-title .word:nth-child(7) { animation-delay: 0.42s; }
.hero-title .word:nth-child(8) { animation-delay: 0.48s; }

.hero-subtitle {
    max-width: 640px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0.62s;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0.74s;
}

.hero-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0.84s;
}

.hero-regions a {
    color: var(--green);
    transition: color 0.15s ease;
}
.hero-regions a:hover { color: var(--gold); }

/* Media card */
.hero-media-card {
    width: 100%;
    max-width: 420px;
    min-height: 600px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-frame {
    position: relative;
    width: min(100%, 348px);
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 8px;
    background: #101820;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.18);
}

.hero-video,
.hero-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-video { z-index: 1; }

.hero-video-poster {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
}

.hero-video-poster.show {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.video-brand-mask {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38%;
    height: 13%;
    background: linear-gradient(135deg, rgba(16, 24, 32, 0.90), rgba(16, 24, 32, 1));
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 10px 12px;
    z-index: 3;
}

.video-brand-mask span {
    color: rgba(211, 154, 44, 0.88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

@media (max-width: 1100px) {
    .hero-grid { gap: 36px; }
    .hero-title { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -1.2px; }
}

@media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero { padding: 24px 0 16px; }

    /* Remove line clip-mask — on small screens it cuts wrapped text */
    .hero-title .line { overflow: visible; }

    .hero-title {
        font-size: clamp(28px, 8vw, 46px);
        letter-spacing: -0.8px;
    }

    .hero-subtitle {
        font-size: 15.5px;
        margin-bottom: 22px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 10px;
        margin-bottom: 20px;
    }

    .hero-regions {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
        mask-image: linear-gradient(to right, black 80%, transparent 100%);
    }

    .hero-regions::-webkit-scrollbar { display: none; }

    /* Hide video card on mobile — CTAs are the focus */
    .hero-media-card { display: none; }
}
