/*
Theme Name: Sovereign OS
Theme URI: https://freedomspurchase.com/
Author: Freedom's Purchase Ranch
Description: Modular public-front theme for Freedom's Purchase Ranch, FPRMerch, Sovereign OS deployments, farming modules, and mission-driven local-first sites.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: sovereign-os
*/

.sovereign-os-commerce,
.sovereign-os-inner {
    margin: 0;
    background: #0a0f0c;
    color: #f2efe7;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sovereign-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    padding: 0.95rem clamp(1rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(215, 178, 106, 0.24);
    background:
        linear-gradient(135deg, rgba(10, 15, 12, 0.92), rgba(19, 30, 22, 0.86)),
        radial-gradient(circle at 20% 0%, rgba(232, 168, 192, 0.12), transparent 35%);
    backdrop-filter: blur(18px) saturate(1.25);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.sovereign-site-brand {
    color: #f2efe7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.95rem, 1.6vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.sovereign-site-brand span {
    color: #d7b26a;
}

.sovereign-site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.sovereign-site-nav a {
    color: rgba(242, 239, 231, 0.78);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.sovereign-site-nav a:hover,
.sovereign-site-nav a:focus {
    color: #ffe3a2;
    border-color: rgba(215, 178, 106, 0.36);
    background: rgba(215, 178, 106, 0.08);
}

.sovereign-site-status {
    color: #d7b26a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sovereign-commerce-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(215, 178, 106, 0.22);
    background: rgba(10, 15, 12, 0.95);
}

.sovereign-commerce-brand,
.sovereign-commerce-header a,
.sovereign-inner-card a {
    color: #d7b26a;
}

.sovereign-commerce-brand {
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.sovereign-commerce-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.sovereign-commerce-header nav a {
    text-decoration: none;
}

.sovereign-commerce-shell,
.sovereign-inner-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.sovereign-inner-card,
.sovereign-commerce-shell .product,
.sovereign-commerce-shell .woocommerce {
    background: rgba(20, 29, 24, 0.86);
    border: 1px solid rgba(215, 178, 106, 0.2);
    border-radius: 1.25rem;
    padding: clamp(1rem, 3vw, 2rem);
}

.sovereign-commerce-shell h1,
.sovereign-inner-card h1,
.sovereign-commerce-shell .product_title {
    color: #f2efe7;
}

.sovereign-commerce-shell .price,
.sovereign-commerce-shell .stock {
    color: #d7b26a;
}

.sovereign-commerce-shell button,
.sovereign-commerce-shell .button {
    background: #d7b26a;
    border: 0;
    border-radius: 999px;
    color: #111711;
    font-weight: 800;
    padding: 0.75rem 1.2rem;
    text-decoration: none;
}

.sovereign-commerce-shell input,
.sovereign-commerce-shell select,
.sovereign-commerce-shell textarea {
    background: #101811;
    border: 1px solid rgba(215, 178, 106, 0.25);
    border-radius: 0.6rem;
    color: #f2efe7;
    padding: 0.65rem;
}

.sovereign-commerce-shell img {
    border-radius: 1rem;
}

.sovereign-content {
    color: rgba(242, 239, 231, 0.9);
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.8;
}

.sovereign-content h2,
.sovereign-content h3,
.sovereign-content h4 {
    color: #f7f0dc;
}

img[src*="Axl" i],
img[src*="axolotl" i],
img[src*="pig" i],
img[src*="mascot" i],
img[alt*="Axl" i],
img[alt*="axolotl" i],
img[alt*="pig" i],
img[alt*="mascot" i],
[id*="axolotl" i],
[id*="mascot" i],
[class*="axolotl" i],
[class*="mascot" i] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 860px) {
    .sovereign-site-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .sovereign-site-nav {
        justify-content: flex-start;
    }

    .sovereign-site-status {
        display: none;
    }
}

/* 2026-07-08 contrast repair: force readable public content on dark Sovereign OS backgrounds. */
html body.sovereign-os-inner,
html body.sovereign-os-inner main,
html body.sovereign-os-inner article,
html body.sovereign-os-inner .sovereign-inner-shell,
html body.sovereign-os-inner .sovereign-inner-card,
html body.sovereign-os-inner .sovereign-content,
html body.sovereign-os-inner .sovereign-content p,
html body.sovereign-os-inner .sovereign-content li,
html body.sovereign-os-inner .sovereign-content div,
html body.sovereign-os-inner .sovereign-content span,
html body.sovereign-os-inner .sovereign-content strong,
html body.sovereign-os-inner .sovereign-content em,
html body.sovereign-os-inner .entry-content,
html body.sovereign-os-inner .entry-content p,
html body.sovereign-os-inner .wp-block-post-content,
html body.sovereign-os-inner .wp-block-post-content p {
    color: rgba(247, 240, 220, 0.94) !important;
}

html body.sovereign-os-inner h1,
html body.sovereign-os-inner h2,
html body.sovereign-os-inner h3,
html body.sovereign-os-inner h4,
html body.sovereign-os-inner h5,
html body.sovereign-os-inner h6,
html body.sovereign-os-inner .sovereign-inner-card h1,
html body.sovereign-os-inner .sovereign-content h2,
html body.sovereign-os-inner .sovereign-content h3,
html body.sovereign-os-inner .entry-title {
    color: #fff4d8 !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

html body.sovereign-os-inner a,
html body.sovereign-os-inner .sovereign-content a,
html body.sovereign-os-inner .entry-content a {
    color: #f0c978 !important;
    text-decoration-color: rgba(240, 201, 120, 0.55) !important;
}

html body.sovereign-os-inner .sovereign-inner-card {
    background: linear-gradient(145deg, rgba(14, 24, 17, 0.94), rgba(20, 29, 24, 0.9)) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

/* 2026-07-10 Monster v1 theme alignment: override legacy light inline page CSS. */
html body.sovereign-os-inner .fpr-monster-page,
html body.sovereign-os-inner .fpr-monster-page .page-shell {
    background: radial-gradient(circle at 15% 0%, rgba(215, 178, 106, 0.14), transparent 30%), linear-gradient(145deg, #07110d 0%, #101812 52%, #1a211a 100%) !important;
    color: rgba(247, 240, 220, 0.94) !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

html body.sovereign-os-inner .fpr-monster-page .hero,
html body.sovereign-os-inner .fpr-monster-page .section {
    background: transparent !important;
    border-bottom: 1px solid rgba(215, 178, 106, 0.18) !important;
    color: rgba(247, 240, 220, 0.94) !important;
}

html body.sovereign-os-inner .fpr-monster-page .page-shell h1,
html body.sovereign-os-inner .fpr-monster-page .page-shell h2,
html body.sovereign-os-inner .fpr-monster-page .page-shell h3,
html body.sovereign-os-inner .fpr-monster-page .section-title,
html body.sovereign-os-inner .fpr-monster-page .metric-card strong,
html body.sovereign-os-inner .fpr-monster-page .trust-boundary-card h3 {
    color: #fff4d8 !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38) !important;
}

html body.sovereign-os-inner .fpr-monster-page .page-shell p,
html body.sovereign-os-inner .fpr-monster-page .page-shell li,
html body.sovereign-os-inner .fpr-monster-page .hero .hero-sub,
html body.sovereign-os-inner .fpr-monster-page .metric-card span,
html body.sovereign-os-inner .fpr-monster-page .small-note,
html body.sovereign-os-inner .fpr-monster-page .trust-boundary-card p {
    color: rgba(247, 240, 220, 0.88) !important;
}

html body.sovereign-os-inner .fpr-monster-page .page-shell a,
html body.sovereign-os-inner .fpr-monster-page .section a,
html body.sovereign-os-inner .fpr-monster-page .trust-boundary-card a {
    color: #f0c978 !important;
    text-decoration-color: rgba(240, 201, 120, 0.62) !important;
    text-underline-offset: 0.16em;
}

html body.sovereign-os-inner .fpr-monster-page .roadmap-column,
html body.sovereign-os-inner .fpr-monster-page .metric-card,
html body.sovereign-os-inner .fpr-monster-page .trust-boundary-card {
    background: linear-gradient(145deg, rgba(14, 24, 17, 0.94), rgba(20, 29, 24, 0.88)) !important;
    border-color: rgba(215, 178, 106, 0.26) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32) !important;
    color: rgba(247, 240, 220, 0.92) !important;
}

html body.sovereign-os-inner .fpr-monster-page .trust-boundary-card {
    border-left: 6px solid #d7b26a !important;
}

html body.sovereign-os-inner .fpr-monster-page .review-label,
html body.sovereign-os-inner .fpr-monster-page .status-badge {
    background: rgba(215, 178, 106, 0.13) !important;
    border-color: rgba(215, 178, 106, 0.35) !important;
    color: #f7f0dc !important;
}

html body.sovereign-os-inner .fpr-monster-page .status-now,
html body.sovereign-os-inner .fpr-monster-page .status-next,
html body.sovereign-os-inner .fpr-monster-page .status-later,
html body.sovereign-os-inner .fpr-monster-page .status-blocked {
    background: rgba(215, 178, 106, 0.16) !important;
    color: #fff4d8 !important;
    border-color: rgba(215, 178, 106, 0.42) !important;
}