/**
 * Kiva Brand Assets
 * Logo component + shared brand styles used on all subdomains
 */

/* ─── Navbar Logo Component ─── */
a.navbar-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
}

a.navbar-logo:hover {
    opacity: 0.85;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-block;
    flex-shrink: 0;
    background-color: var(--logo-color, #3498db);
    -webkit-mask-image: url('../images/logos/logo-k-black.png');
    mask-image: url('../images/logos/logo-k-black.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color var(--transition-fast);
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-brand {
    font-family: 'Code Next', var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.logo-badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
}

@media (max-width: 480px) {
    .logo-brand {
        font-size: 0.95rem;
    }
    .logo-badge {
        font-size: 0.52rem;
    }
    .logo-mark {
        width: 32px;
        height: 32px;
    }
}

/* ─── Footer Brand ─── */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-brand .logo-mark {
    width: 44px;
    height: 44px;
}

.footer-brand .logo-brand {
    font-size: 1.3rem;
}

.footer-brand .logo-badge {
    font-size: 0.65rem;
}
