/* ═══════════════════════════════════════════════════
   WTB dark-roll continuity skin — 2026-09-30 (Ace)
   Carries the new dark homepage's nav/footer treatment
   through the non-funnel pages (Pricing / Work / Work With Me).
   Loads ONLY when body.wtb-darkroll is set (toggle in functions.php).
   Palette = homepage: near-black ground, dimmed cream, gold #c9a87c.
═══════════════════════════════════════════════════ */

/* ── Header wordmark — match homepage lockup ── */
body.wtb-darkroll .wp-block-site-title,
body.wtb-darkroll .wp-block-site-title a {
    font-family: 'Fraunces', Georgia, serif !important;
    font-weight: 400 !important;
    font-size: 1.25rem !important;
    letter-spacing: .005em !important;
    color: #faf8f5 !important;
    text-decoration: none !important;
}
body.wtb-darkroll .wp-block-site-title .wtb-gold-b {
    color: #c9a87c;
    text-shadow: 0 0 34px rgba(201, 168, 124, .45);
}

/* ── Header nav — homepage hover treatment ──
   Name brightens + gold glow, gold underline grows from centre. */
body.wtb-darkroll .wp-block-navigation a {
    position: relative !important;
    overflow: visible !important;
}
body.wtb-darkroll .wp-block-navigation a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 2px;
    background: #c9a87c;
    border-radius: 2px;
    transition: left .34s cubic-bezier(.2, .8, .2, 1), right .34s cubic-bezier(.2, .8, .2, 1);
}
body.wtb-darkroll .wp-block-navigation a:hover::after,
body.wtb-darkroll .wp-block-navigation a:focus-visible::after {
    left: 12%;
    right: 12%;
}
body.wtb-darkroll .wp-block-navigation a:hover,
body.wtb-darkroll .wp-block-navigation a:focus-visible {
    color: #faf8f5 !important;
    text-shadow: 0 0 22px rgba(201, 168, 124, .55);
}
/* No underline animation inside the full-screen mobile overlay */
body.wtb-darkroll .wp-block-navigation__responsive-container.is-menu-open a::after,
body.wtb-darkroll #wtb-mobile-overlay a::after {
    display: none;
}

/* ── Old block footer off, homepage banner on ── */
body.wtb-darkroll footer.wp-block-template-part {
    display: none !important;
}

.wtb-hbanner {
    background: linear-gradient(0deg, #090a09, #0e110e);
    border-top: 1px solid rgba(201, 168, 124, .18);
    padding: 16px clamp(18px, 4vw, 40px) 14px;
}
.wtb-hbanner-inner {
    width: min(1080px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.wtb-hb-left {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 15px;
    color: rgba(250, 248, 245, .82);
    letter-spacing: .02em;
}
.wtb-hb-left .b { color: #c9a87c; }
.wtb-hb-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.wtb-hb-social {
    display: inline-flex;
    color: #c9a87c;
    opacity: .82;
    transition: opacity .25s, transform .25s;
}
.wtb-hb-social:hover,
.wtb-hb-social:focus-visible {
    opacity: 1;
    transform: translateY(-2px);
    outline: none;
}
.wtb-hb-social svg { width: 22px; height: 22px; display: block; }
.wtb-hb-email {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #e6c99a !important;
    text-decoration: none;
    padding: 11px 22px;
    border: 1px solid rgba(201, 168, 124, .5);
    border-radius: 40px;
    background: linear-gradient(120deg, #e6c99a, #c9a87c) no-repeat;
    background-size: 0% 100%;
    transition: background-size .38s cubic-bezier(.2, .8, .2, 1), color .3s, border-color .3s;
}
.wtb-hb-email:hover,
.wtb-hb-email:focus-visible {
    color: #141210 !important;
    border-color: transparent;
    background-size: 100% 100%;
    outline: none;
}

/* Secondary row — keeps every link the old footer carried */
.wtb-hbanner-links {
    width: min(1080px, 100%);
    margin: 12px auto 0;
    padding-top: 10px;
    border-top: 1px solid rgba(250, 248, 245, .07);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
}
.wtb-hbanner-links a {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(250, 248, 245, .35);
    text-decoration: none;
    transition: color .2s;
}
.wtb-hbanner-links a:hover,
.wtb-hbanner-links a:focus-visible {
    color: #c9a87c;
    outline: none;
}

@media (max-width: 720px) {
    .wtb-hbanner-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
    .wtb-hbanner-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    body.wtb-darkroll .wp-block-navigation a::after,
    .wtb-hb-email,
    .wtb-hb-social { transition: none !important; }
}
