/* SGF v17 — cropped square emblem + lockups */

.gose-brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.gose-brand-lockup__emblem,
.gose-brand__logo,
.gose-about__badge img,
.gose-footer__brand img {
    display: block;
    flex-shrink: 0;
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
}

.gose-brand-lockup__emblem {
    width: 2.75rem;
    height: 2.75rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.gose-brand__logo {
    width: 2.5rem;
    height: 2.5rem;
}

.gose-brand-lockup__text {
    min-width: 0;
    flex: 1;
}

.gose-brand-lockup__text strong {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(0.92rem, 2.4vw, 1.02rem);
    font-weight: 700;
    line-height: 1.22;
    color: #152033;
    text-wrap: balance;
}

.gose-brand-lockup__text span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.76rem;
    line-height: 1.3;
    color: #5a6b7d;
    letter-spacing: 0.02em;
}

.gose-hero__logo-card.gose-brand-lockup {
    max-width: min(100%, 19rem);
    padding: 0.6rem 0.8rem;
    width: fit-content;
}

.gose-hero__logo-card .gose-brand-lockup__emblem {
    width: 2.65rem;
    height: 2.65rem;
}

.gose-brand-lockup--card {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(21, 32, 51, 0.08);
}

.gose-malaysia__card {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.15rem 1.1rem;
}

.gose-malaysia__card .gose-brand-lockup__emblem {
    width: 2.5rem;
    height: 2.5rem;
}

.gose-malaysia__card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gose-about__badge {
    left: 0.85rem;
    bottom: 0.85rem;
    right: auto;
    max-width: calc(100% - 1.7rem);
    padding: 0.45rem 0.65rem 0.45rem 0.5rem;
    gap: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.gose-about__badge img {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
}

.gose-about__badge > div {
    min-width: 0;
}

.gose-about__badge strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 0.88rem;
    line-height: 1.2;
}

.gose-about__badge span {
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gose-footer__brand img {
    width: 2.25rem;
    height: 2.25rem;
}

html[data-theme='light'] .gose-about__badge {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(21, 32, 51, 0.08);
}

html[data-theme='light'] .gose-about__badge strong {
    color: #152033;
}

html[data-theme='light'] .gose-about__badge span {
    color: #5a6b7d;
}

/* Light theme: readable nav over dark hero before scroll */
@media (min-width: 920px) {
    html[data-theme='light'] .gose-nav:not(.is-scrolled) .gose-brand__text strong,
    html[data-theme='light'] .gose-nav:not(.is-scrolled) .gose-brand__text small {
        color: rgba(244, 247, 251, 0.95);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    }

    html[data-theme='light'] .gose-nav:not(.is-scrolled) .gose-nav__links a:not(.gose-nav__cta) {
        color: rgba(236, 242, 248, 0.9);
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    }

    html[data-theme='light'] .gose-nav:not(.is-scrolled) .gose-nav__links a:not(.gose-nav__cta):hover,
    html[data-theme='light'] .gose-nav:not(.is-scrolled) .gose-nav__links a:not(.gose-nav__cta).is-active {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
    }

    html[data-theme='light'] .gose-nav:not(.is-scrolled) .gose-pref-btn {
        color: rgba(244, 247, 251, 0.95);
        border-color: rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.1);
    }
}
