/* ==========================================================================
   Beauty & Jewels — logo (see brand_logo() in includes/functions.php)
   ========================================================================== */
.bj-logo {
    --logo-size: 56px;
    --logo-ink: #0f2a26;
    --logo-gold: #c8a24c;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    line-height: 1;
    color: var(--logo-ink);
    text-decoration: none;
}

/* ---------- Emblem ---------- */
.bj-logo__emblem {
    flex-shrink: 0;
    width: var(--logo-size);
    height: var(--logo-size);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(15, 42, 38, .28), 0 0 0 3px rgba(200, 162, 76, .18);
}
.bj-logo__svg { display: block; width: 100%; height: 100%; }

/* ---------- Wordmark ---------- */
.bj-logo__text { display: flex; flex-direction: column; gap: .32rem; }
.bj-logo__name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.85rem;
    letter-spacing: .01em;
    white-space: nowrap;
}
.bj-logo__name em { font-style: italic; font-weight: 500; color: var(--logo-gold); padding: 0 .06em; }
.bj-logo__tag {
    font-family: 'Lato', system-ui, sans-serif;
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--logo-gold);
    white-space: nowrap;
}

a:focus-visible > .bj-logo { outline: 2px solid var(--logo-gold); outline-offset: 6px; border-radius: 999px; }

/* ---------- Variants ---------- */
.bj-logo--footer { --logo-size: 52px; color: #fff; }
.bj-logo--footer .bj-logo__name { font-size: 1.6rem; }
.bj-logo--compact { --logo-size: 42px; gap: .6rem; }
.bj-logo--compact .bj-logo__name { font-size: 1.35rem; }
.bj-logo--compact .bj-logo__tag { font-size: .55rem; }
.bj-logo--admin { --logo-size: 44px; gap: .65rem; color: #fff; }
.bj-logo--admin .bj-logo__name { font-size: 1.2rem; }
.bj-logo--admin .bj-logo__tag { font-size: .58rem; letter-spacing: .2em; }
.bj-logo--mark { --logo-size: 76px; }

/* Header: large at the top of the page, compact once scrolled */
.site-header .bj-logo--header { --logo-size: 60px; }
.site-header.scrolled .bj-logo--header { --logo-size: 46px; }
.site-header.scrolled .bj-logo--header .bj-logo__name { font-size: 1.5rem; }
.site-header.scrolled .bj-logo--header .bj-logo__tag { display: none; }

@media (max-width: 991.98px) {
    .site-header .bj-logo--header { --logo-size: 48px; gap: .55rem; }
    .bj-logo--header .bj-logo__name { font-size: 1.45rem; }
    .bj-logo--header .bj-logo__tag { font-size: .54rem; letter-spacing: .26em; }
}
@media (max-width: 575.98px) {
    .site-header .bj-logo--header, .site-header.scrolled .bj-logo--header { --logo-size: 40px; gap: .45rem; }
    .bj-logo--header .bj-logo__name, .site-header.scrolled .bj-logo--header .bj-logo__name { font-size: 1.12rem; }
    .bj-logo--header .bj-logo__tag { display: none; }
}
