/* Home hero (home.html): the headline on the site's blue band, beside the 3D map of the Gulf
   (includes/gulf_map.html, gulf-map.css). */
.hh {
    position: relative;
    overflow: hidden;
    padding: 7.5rem 0 4.5rem;
    background:
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px) 0 0 / 32px 32px,
        radial-gradient(40% 40% at 78% 40%, rgba(52, 211, 153, 0.1), transparent 70%),
        linear-gradient(180deg, var(--kd-brand) 0%, #354F8A 30%, var(--kd-brand-deep) 100%);
    color: #FFFFFF;
}

@media (min-width: 900px) {
    .hh {
        padding: 9.5rem 0 7.5rem;
    }
}

.hh__inner {
    display: grid;
    gap: 3rem;
    align-items: center;
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hh__inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 900px) {
    .hh__inner {
        grid-template-columns: 1fr 1.1fr;
    }
}

.hh__title {
    margin: 0;
    font-size: clamp(2.4rem, 4.4vw, 3.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.hh__line {
    display: block;
}

.hh__accent {
    color: var(--kd-mint-light);
}

.hh__nowrap {
    white-space: nowrap;
}

.hh__lede {
    max-width: 33rem;
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.65;
}

.hh__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 2rem;
}

.hh__btn {
    padding: 0.9rem 1.4rem;
    border-radius: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hh__btn--primary {
    background: var(--kd-mint-bright);
    color: #0B1B3F;
    box-shadow: 0 10px 30px -10px rgba(52, 211, 153, 0.6);
}

.hh__btn--primary:hover {
    background: var(--kd-mint-light);
    transform: translateY(-2px);
}

.hh__btn--ghost {
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
}

.hh__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hh__btn:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

/* The copy rises in line by line on load. */
.hh__copy > *,
.hh__line {
    animation: hh-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--i, 0) * 70ms);
}

.hh__title {
    animation: none;
}

@keyframes hh-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

/* On phones the map follows the copy at full width; on wider screens it reaches into the gap
   beside the copy, and its soft edges fade out before the screen edge. */
.hh__art .gm {
    width: 100%;
}

@media (min-width: 900px) {
    .hh__art .gm {
        width: calc(100% + 3.5rem);
        margin-left: -2.5rem;
        margin-right: -1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hh__copy > *,
    .hh__line {
        animation: none;
    }
}
