/* Identità BMF: integrazione non distruttiva caricata dopo style.css. */
.site-nav {
    min-height: 112px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.site-nav .brand,
footer .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: clamp(14px, 2vw, 22px);
    text-decoration: none;
}

.site-nav .brand {
    flex: 0 0 auto;
    min-width: clamp(260px, 26vw, 370px);
}

.nav-logo {
    display: block;
    width: clamp(82px, 7vw, 108px);
    height: clamp(82px, 7vw, 108px);
    flex: 0 0 auto;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    filter: brightness(1.14) saturate(1.22) contrast(1.05)
        drop-shadow(0 0 10px rgba(255, 124, 24, .42))
        drop-shadow(0 0 22px rgba(162, 55, 255, .2));
}

.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1;
    text-transform: uppercase;
}

.brand-initials {
    display: block;
    margin: 0 0 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.25vw, 2.35rem);
    font-weight: 900;
    line-height: .86;
    letter-spacing: .08em;
    background: linear-gradient(90deg, #27b7ff 0 31%, #ffd326 38% 68%, #ca4dff 76% 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 8px rgba(255, 125, 25, .22));
}

.brand-name {
    display: block;
    color: #fff7e8;
    font-size: clamp(.72rem, 1vw, 1rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: .14em;
    white-space: nowrap;
    text-shadow: 0 0 14px rgba(255, 146, 34, .25);
}

footer .footer-brand {
    margin-bottom: 18px;
}

footer .footer-brand .nav-logo {
    width: clamp(90px, 8vw, 120px);
    height: clamp(90px, 8vw, 120px);
}

footer .footer-brand .brand-initials {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
}

footer .footer-brand .brand-name {
    font-size: clamp(.78rem, 1.15vw, 1.08rem);
}

.site-copyright {
    color: #c9c9d1;
}

.site-copyright a {
    color: #ffffff;
    font-weight: 800;
    text-decoration-color: #ff9f1c;
    text-underline-offset: 4px;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.site-copyright a:hover,
.site-copyright a:focus-visible {
    color: #ffcf3d;
    text-decoration-color: #c64cff;
}

@media (max-width: 860px) {
    .site-nav {
        min-height: 96px;
    }

    .site-nav .brand {
        min-width: 0;
    }

    .site-nav .nav-logo {
        width: 76px;
        height: 76px;
    }

    .site-nav .brand-initials {
        font-size: 1.55rem;
    }

    .site-nav .brand-name {
        font-size: .7rem;
        letter-spacing: .1em;
    }
}

@media (max-width: 480px) {
    .site-nav .nav-logo {
        width: 68px;
        height: 68px;
    }

    .site-nav .brand-copy {
        max-width: 155px;
    }

    .site-nav .brand-initials {
        font-size: 1.35rem;
    }

    .site-nav .brand-name {
        font-size: .62rem;
        letter-spacing: .08em;
        white-space: normal;
    }
}
