.mhb-site-footer {
    background: var(--mhb-bg);
    border-top: 1px solid var(--mhb-border);
    color: var(--mhb-text);
    font-family: var(--mhb-font-display);
}

.mhb-site-footer__cta,
.mhb-site-footer__bar {
    margin: 0 auto;
    max-width: 1280px;
    padding-left: 40px;
    padding-right: 40px;
}

.mhb-site-footer__cta {
    padding-bottom: 128px;
    padding-top: 112px;
}

.mhb-site-footer__cta p {
    color: var(--mhb-green, #22c55e);
    font-family: var(--mhb-font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.mhb-site-footer__headline {
    color: var(--mhb-text);
    display: block;
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.22s ease;
}

.mhb-site-footer__headline span {
    background: linear-gradient(135deg, var(--mhb-green, #22c55e), var(--mhb-teal, #14b8a6));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mhb-site-footer__headline:hover,
.mhb-site-footer__headline:focus-visible {
    color: var(--mhb-text);
    transform: translateX(8px);
}

.mhb-site-footer__cta-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin-top: 36px;
}

.mhb-site-footer__btn {
    align-items: center;
    border: 1px solid var(--mhb-border-strong);
    border-radius: 999px;
    color: var(--mhb-text);
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    min-height: 50px;
    padding: 0 24px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.mhb-site-footer__btn:hover,
.mhb-site-footer__btn:focus-visible {
    background: var(--mhb-brand-soft, rgba(34, 197, 94, 0.16));
    border-color: var(--mhb-green, #22c55e);
    color: var(--mhb-text);
    transform: translateY(-2px);
}

.mhb-site-footer__btn.is-primary {
    background: linear-gradient(135deg, var(--mhb-green, #22c55e), var(--mhb-teal, #14b8a6));
    border-color: transparent;
    color: #04130a;
}

.mhb-site-footer__btn.is-primary:hover,
.mhb-site-footer__btn.is-primary:focus-visible {
    box-shadow: 0 14px 34px -12px rgba(34, 197, 94, 0.7);
    color: #04130a;
    filter: brightness(1.08) saturate(1.1);
}

.mhb-site-footer__email {
    color: var(--mhb-text-muted);
    font-size: 1.05rem;
    margin-left: 6px;
    text-decoration: underline;
    text-decoration-color: var(--mhb-border-strong);
    text-underline-offset: 5px;
}

.mhb-site-footer__email:hover,
.mhb-site-footer__email:focus-visible {
    color: var(--mhb-green, #22c55e);
    text-decoration-color: currentColor;
}

@media (prefers-reduced-motion: reduce) {
    .mhb-site-footer__headline:hover,
    .mhb-site-footer__btn:hover {
        transform: none;
    }
}

.mhb-site-footer__bar {
    align-items: center;
    border-top: 1px solid var(--mhb-border);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding-bottom: 24px;
    padding-top: 24px;
}

.mhb-site-footer__bar p,
.mhb-site-footer__bar a {
    color: var(--mhb-text-dim);
    font-family: var(--mhb-font-mono);
    font-size: 0.8rem;
    margin: 0;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mhb-site-footer__bar nav {
    display: flex;
    gap: 24px;
}

.mhb-site-footer__bar a:hover {
    color: var(--mhb-text-muted);
    transform: translateY(-2px);
}

@media (max-width: 782px) {
    .mhb-site-footer__cta,
    .mhb-site-footer__bar {
        padding-left: 24px;
        padding-right: 24px;
    }

    .mhb-site-footer__bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .mhb-site-footer__bar nav {
        flex-wrap: wrap;
    }
}

/* ---------- v2: link columns, channels, status ---------- */
.mhb-site-footer__grid {
    border-top: 1px solid var(--mhb-border, rgba(255, 255, 255, 0.08));
    display: grid;
    gap: clamp(28px, 4vw, 48px);
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 1fr));
    margin-inline: auto;
    max-width: 1240px;
    padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px);
}

.mhb-site-footer__brand {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.mhb-site-footer__about p {
    color: var(--mhb-text-muted, rgba(255, 255, 255, 0.6));
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 0 16px;
}

.mhb-site-footer__status {
    align-items: center;
    border: 1px solid var(--mhb-border-strong, rgba(255, 255, 255, 0.14));
    border-radius: 999px;
    color: var(--mhb-text, #fff);
    display: inline-flex;
    font-size: 0.8rem;
    gap: 8px;
    padding: 6px 12px;
}

.mhb-site-footer__status span {
    background: var(--mhb-brand, #22c55e);
    border-radius: 50%;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--mhb-brand, #22c55e) 25%, transparent);
    height: 7px;
    width: 7px;
}

.mhb-site-footer__col h2 {
    color: var(--mhb-text, #fff);
    font-family: var(--mhb-font-mono, monospace);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.mhb-site-footer__col ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mhb-site-footer__col a {
    align-items: center;
    color: var(--mhb-text-muted, rgba(255, 255, 255, 0.6));
    display: inline-flex;
    font-size: 0.92rem;
    gap: 8px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mhb-site-footer__col a:hover {
    color: var(--mhb-text, #fff);
    transform: translateX(3px);
}

.mhb-site-footer__col .mhb-icon {
    height: 16px;
    width: 16px;
}

.mhb-site-footer__scan {
    background: var(--mhb-text, #fff);
    border-radius: 999px;
    color: var(--mhb-bg, #050505) !important;
    font-weight: 700;
    margin-top: 18px;
    padding: 9px 16px;
}

@media (max-width: 1000px) {
    .mhb-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mhb-site-footer__about {
        grid-column: 1 / -1;
    }
}

/* The saved footer pattern sets a green link colour; keep column links muted. */
.wp-block-mhb-site-footer .mhb-site-footer__col a:not(.mhb-site-footer__scan),
.wp-block-mhb-site-footer .mhb-site-footer__bar a {
    color: var(--mhb-text-muted, rgba(255, 255, 255, 0.6)) !important;
}

.wp-block-mhb-site-footer .mhb-site-footer__col a:not(.mhb-site-footer__scan):hover,
.wp-block-mhb-site-footer .mhb-site-footer__bar a:hover {
    color: var(--mhb-text, #fff) !important;
}

