/* SGF — light theme (data-theme="light" on <html>) */

html[data-theme='light'] {
    color-scheme: light;
}

html[data-theme='light'] body.gose-body {
    color: #152033;
    background:
        radial-gradient(circle at 12% 0%, rgba(43, 99, 198, 0.08), transparent 28rem),
        radial-gradient(circle at 88% 8%, rgba(227, 30, 38, 0.05), transparent 24rem),
        linear-gradient(180deg, #f6f8fc 0%, #eef2f8 50%, #f6f8fc 100%);
}

html[data-theme='light'] {
    --gose-bg: #f6f8fc;
    --gose-bg-2: #eef2f8;
    --gose-panel: rgba(255, 255, 255, 0.88);
    --gose-panel-strong: rgba(255, 255, 255, 0.96);
    --gose-line: rgba(21, 32, 51, 0.1);
    --gose-line-hot: rgba(43, 99, 198, 0.35);
    --gose-text: #152033;
    --gose-muted: #5a6b7d;
    --gose-jade: #1a6fb5;
    --gose-jade-soft: rgba(43, 99, 198, 0.1);
    --gose-shadow: 0 20px 50px rgba(21, 32, 51, 0.1);
}

html[data-theme='light'] .gose-board-veil {
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(43, 99, 198, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 99, 198, 0.12) 1px, transparent 1px);
}

html[data-theme='light'] .gose-grain {
    opacity: 0.025;
}

html[data-theme='light'] .gose-cursor-glow {
    opacity: 0.45;
    mix-blend-mode: multiply;
}

html[data-theme='light'] .gose-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(21, 32, 51, 0.08);
}

html[data-theme='light'] .gose-kicker {
    color: #2b63c6;
}

html[data-theme='light'] .gose-lead,
html[data-theme='light'] .gose-about__copy p,
html[data-theme='light'] .gose-roadmap__phase li,
html[data-theme='light'] .gose-stack-list p {
    color: #4a5c6e;
}

html[data-theme='light'] .gose-section--alt {
    background: rgba(255, 255, 255, 0.55);
}

html[data-theme='light'] .gose-section--vision {
    background:
        radial-gradient(circle at 50% 0%, rgba(43, 99, 198, 0.06), transparent 42%),
        rgba(255, 255, 255, 0.4);
}

html[data-theme='light'] .gose-section--malaysia {
    background: linear-gradient(135deg, rgba(43, 99, 198, 0.06), rgba(244, 196, 48, 0.08));
}

html[data-theme='light'] .gose-marquee {
    background: rgba(255, 255, 255, 0.65);
}

html[data-theme='light'] .gose-marquee__track span {
    color: #3d4f63;
}

html[data-theme='light'] .gose-malaysia__card {
    background: #fff;
    color: #152033;
    border-color: rgba(21, 32, 51, 0.1);
}

html[data-theme='light'] .gose-footer {
    background: rgba(255, 255, 255, 0.7);
}

/* Nav drawer background: gose-contrast.css (mobile only) */

html[data-theme='light'] .gose-nav__toggle {
    background: rgba(255, 255, 255, 0.9);
}

html[data-theme='light'] .gose-nav__toggle span {
    background: #152033;
}

html[data-theme='light'] .gose-form input,
html[data-theme='light'] .gose-form select,
html[data-theme='light'] .gose-form textarea {
    background: #fff;
    color: #152033;
}

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

html[data-theme='light'] .gose-contact-meta__plain {
    color: #3d4f63 !important;
}

/* Nav preference toggles */
.gose-nav__prefs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.gose-pref-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.25rem;
    padding: 0 0.65rem;
    border: 1px solid var(--gose-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--gose-text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.gose-pref-btn:hover {
    border-color: var(--gose-line-hot);
}

.gose-pref-btn__icon {
    font-size: 0.95rem;
    line-height: 1;
}

html[data-theme='light'] .gose-pref-btn {
    background: rgba(255, 255, 255, 0.85);
}

@media (min-width: 920px) {
    .gose-nav__prefs {
        margin-left: 0.25rem;
    }
}

@media (max-width: 919px) {
    .gose-nav__prefs {
        display: none;
    }
}

/* Nation chips with flags */
.gose-nation-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 3.25rem;
}

.gose-nation-chip__flag {
    width: 1.75rem;
    height: 1.15rem;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.gose-nation-chip__name {
    font-weight: 600;
    text-align: left;
}

.gose-flags-ribbon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--gose-gap-lg, 2rem);
    padding: 1rem 1.25rem;
    border: 1px solid var(--gose-line);
    border-radius: var(--gose-radius-md, 22px);
    background: var(--gose-panel);
}

.gose-flags-ribbon img {
    width: 2rem;
    height: 1.3rem;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.gose-flags-ribbon img:hover {
    transform: translateY(-2px) scale(1.05);
}

.gose-asean-map {
    position: relative;
    margin-bottom: var(--gose-gap-lg, 2rem);
    padding: 1.25rem;
    border: 1px solid var(--gose-line);
    border-radius: var(--gose-radius-md, 22px);
    background:
        radial-gradient(circle at 55% 45%, rgba(43, 99, 198, 0.12), transparent 55%),
        var(--gose-panel);
    overflow: hidden;
}

.gose-asean-map__svg {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
    display: block;
    opacity: 0.35;
}

.gose-asean-map__caption {
    margin: 0.75rem 0 0;
    text-align: center;
    color: var(--gose-muted);
    font-size: 0.82rem;
}
