/* V13: ONLY theme coverage, historical ancestry inside the existing hero, and signup status. */
/* Original V12 Dark appearance is intentionally untouched. */
/* Hero artwork itself remains the original file; figures occupy the background sky layer. */
.v10-hero-art{position:relative;isolation:isolate;}
.v13-ancestor-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1;}
.v10-hero-art .v13-ancestor-portrait{position:absolute;top:1.5%;width:5.0%;height:27%;object-fit:cover;object-position:50% 12%;opacity:.96;
 border:2px solid rgba(234,178,85,.7);border-radius:50%;box-shadow:0 5px 22px rgba(0,0,0,.65);filter:sepia(.12) saturate(.86);}
.v10-hero-art .v13-ancestor-portrait.elder-male{left:19.2%;}
.v10-hero-art .v13-ancestor-portrait.elder-female{right:.15%;}
/* Keep the original hero and all model faces visible; portraits fade before garment prints. */
.v13-mobile-ancestry{display:none;}
@media(max-width:560px){
 .v13-mobile-ancestry{display:flex;justify-content:center;gap:1rem;background:color-mix(in srgb,var(--panel) 82%,#7c5a33);padding:.45rem 0;}
 .v10-mobile-feature .v13-mobile-ancestry img{display:block;width:62px!important;height:62px!important;max-width:62px!important;flex:0 0 62px;object-fit:cover;object-position:50% 12%;border-radius:50%;border:1px solid #b98952;}
}
.first-wave-live-state{border-left:3px solid #e7a940;padding:.5rem .65rem!important;font-size:.86rem;color:var(--muted)!important;background:color-mix(in srgb,var(--panel) 86%,transparent);line-height:1.45;}
.first-wave-live-state.is-ready{border-color:#5dac93}.first-wave-live-state.is-error{border-color:#e73755;color:var(--text)!important;}

/* LIGHT: full cream/white retail environment, not dark cards on a white background. */
html[data-theme="light"]{--bg:#f7f3ee;--panel:#fffefa;--panel-2:#eee6dc;--text:#211711;--muted:#56493e;--soft:#77695f;--line:rgba(62,39,20,.21);--accent:#b87917;--accent-2:#e73554;--shadow:0 14px 28px rgba(54,38,23,.09);}
html[data-theme="light"] body{background:#f7f3ee;color:var(--text);}
html[data-theme="light"] .topline{background:#ede2d2;color:#332b24;}
html[data-theme="light"] .site-header{background:#fffaf5;border-bottom:1px solid #c7b7a5;}
html[data-theme="light"] .section,html[data-theme="light"] .story-band,html[data-theme="light"] .signal-feature,html[data-theme="light"] .participate,html[data-theme="light"] .first-wave,html[data-theme="light"] .mic-hero,html[data-theme="light"] .subhero,html[data-theme="light"] .faq-section,html[data-theme="light"] .contact-section,html[data-theme="light"] .retail-feature{background:#fffaf5;color:#251913;border-color:var(--line);}
html[data-theme="light"] .section:nth-of-type(even),html[data-theme="light"] .story-band,html[data-theme="light"] .first-wave,html[data-theme="light"] .sq-heritage-section,html[data-theme="light"] .sq-editorial-section,html[data-theme="light"] .sq-story-ancestry{background:#f1e8dd;color:#251913;}
html[data-theme="light"] .sq-heritage-copy h2,html[data-theme="light"] .sq-editorial-heading h2,html[data-theme="light"] .sq-story-ancestry h2{color:#211711;}
html[data-theme="light"] .sq-heritage-copy p:not(.kicker),html[data-theme="light"] .sq-heritage-copy .sq-concept-note,html[data-theme="light"] .sq-editorial-heading>p,html[data-theme="light"] .sq-story-ancestry p,html[data-theme="light"] .sq-story-ancestry figcaption{color:#594b3d!important;}
html[data-theme="light"] .sq-editorial-panel,html[data-theme="light"] .sq-heritage-photo,html[data-theme="light"] .wave-form,html[data-theme="light"] .mini-product,html[data-theme="light"] .basic-card,html[data-theme="light"] .retail-window,html[data-theme="light"] .duo,html[data-theme="light"] .mic-card,html[data-theme="light"] .contact-card,html[data-theme="light"] .faq-item{background:#fffefa;border-color:#b5a594;color:#211711;}
html[data-theme="light"] .v10-product-card{background:#fffefa;color:#231710;border-color:#c2b2a0;box-shadow:var(--shadow);}
html[data-theme="light"] .v10-product-body h3,html[data-theme="light"] .v10-store-header h3,html[data-theme="light"] .headwear-note h3{color:#231710;}
html[data-theme="light"] .v10-product-body p,html[data-theme="light"] .v10-disclaimer,html[data-theme="light"] .v10-store-header p{color:#56483d;}
html[data-theme="light"] .v10-product-art,html[data-theme="light"] .sq-editorial-panel img,html[data-theme="light"] #shop-categories .category-card{background:#eee6dc;}
html[data-theme="light"] .v10-store-feature{background:#fffefa;border-color:#b9a998;color:#241a14;}
html[data-theme="light"] .v10-details{background:#fffefa;border-color:#a58f79;color:#241a14;}
html[data-theme="light"] .v10-details:hover{background:#e9dfd5;}
html[data-theme="light"] .v10-quickview-panel{background:#fffefa;color:#241a14;}
html[data-theme="light"] .v10-quickview-panel p{color:#5d5147;}
html[data-theme="light"] .headwear-note,html[data-theme="light"] .request-line{background:#fffefa;border-color:#d0c1b3;}
html[data-theme="light"] .option-pills span{background:#f3e9dd;color:#463729;border-color:#b9a89a;}
html[data-theme="light"] .footer{background:#f0e7dc;color:#281e18;border-top:1px solid var(--line);}
html[data-theme="light"] .footer h3,html[data-theme="light"] .footer a,html[data-theme="light"] .footer p,html[data-theme="light"] .footer-bottom{color:#372a20;}
html[data-theme="light"] .mode-dock{border-color:#d4c6b7;}
html[data-theme="light"] .marquee{background:#fff0dc;color:#201611;}
html[data-theme="light"] .wave-form select,html[data-theme="light"] .wave-form input:not([type="checkbox"]),html[data-theme="light"] .wave-form textarea{background:#fffefa;color:#211711;}
/* Hero is an embedded photographic image and is not recolored under any theme. */
html[data-theme="light"] .v10-hero,html[data-theme="light"] .v10-drop-top{background:#fffaf5;color:#251913;}
html[data-theme="light"] .v10-hero-controls,html[data-theme="light"] .v10-drop-top .v10-hero-controls{color:#251913;}
html[data-theme="light"] .v10-hero-controls p:not(.kicker),html[data-theme="light"] .v10-drop-top .v10-hero-controls p:not(.kicker){color:#251913;}
/* Preserve the high-contrast text over actual photo pixels. */
html[data-theme="light"] #shop-categories .category-body{background:rgba(27,19,15,.88);color:white;}
html[data-theme="light"] #shop-categories .category-body strong{color:white;}

/* COSMIC: luminous lavender/violet interface; not a dark mode with purple text. */
html[data-theme="cosmic"]{--bg:#f0ebff;--panel:#fcfaff;--panel-2:#e9dfff;--text:#2d1a55;--muted:#4f3882;--soft:#674fa0;--line:rgba(104,59,174,.27);--accent:#7740c7;--accent-2:#e53e7a;--shadow:0 15px 35px rgba(93,57,176,.18);}
html[data-theme="cosmic"] body{background:radial-gradient(circle at 8% 10%,#d4c0ff 0,transparent 35%),radial-gradient(circle at 92% 34%,#ead9fb 0,transparent 45%),#f0ebff;color:var(--text);}
html[data-theme="cosmic"] .topline{background:#dccbf9;color:#341959;}
html[data-theme="cosmic"] .site-header{background:#f7f1ff;border-bottom:1px solid #b18ce6;}
html[data-theme="cosmic"] .section,html[data-theme="cosmic"] .story-band,html[data-theme="cosmic"] .signal-feature,html[data-theme="cosmic"] .participate,html[data-theme="cosmic"] .first-wave,html[data-theme="cosmic"] .mic-hero,html[data-theme="cosmic"] .subhero,html[data-theme="cosmic"] .faq-section,html[data-theme="cosmic"] .contact-section,html[data-theme="cosmic"] .retail-feature{background:linear-gradient(115deg,#f7f1ff,#e9ddff);color:#311c56;border-color:var(--line);}
html[data-theme="cosmic"] .section:nth-of-type(even),html[data-theme="cosmic"] .sq-heritage-section,html[data-theme="cosmic"] .sq-editorial-section,html[data-theme="cosmic"] .sq-story-ancestry{background:radial-gradient(circle at 88% 15%,#d5c4ff,transparent 45%),linear-gradient(135deg,#e5d8ff,#f4ebff);color:#2d1954;}
html[data-theme="cosmic"] .sq-heritage-copy h2,html[data-theme="cosmic"] .sq-editorial-heading h2,html[data-theme="cosmic"] .sq-story-ancestry h2{color:#32175d;}
html[data-theme="cosmic"] .sq-heritage-copy p:not(.kicker),html[data-theme="cosmic"] .sq-heritage-copy .sq-concept-note,html[data-theme="cosmic"] .sq-editorial-heading>p,html[data-theme="cosmic"] .sq-story-ancestry p,html[data-theme="cosmic"] .sq-story-ancestry figcaption{color:#604a91!important;}
html[data-theme="cosmic"] .sq-editorial-panel,html[data-theme="cosmic"] .sq-heritage-photo,html[data-theme="cosmic"] .wave-form,html[data-theme="cosmic"] .mini-product,html[data-theme="cosmic"] .basic-card,html[data-theme="cosmic"] .retail-window,html[data-theme="cosmic"] .duo,html[data-theme="cosmic"] .mic-card,html[data-theme="cosmic"] .contact-card,html[data-theme="cosmic"] .faq-item{background:#fcfaff;border-color:#bcabe3;color:#321b54;}
html[data-theme="cosmic"] .v10-product-card{background:#fcfaff;color:#321b54;border-color:#ba9fe9;box-shadow:0 10px 28px rgba(109,75,187,.13);}
html[data-theme="cosmic"] .v10-product-body h3,html[data-theme="cosmic"] .v10-store-header h3,html[data-theme="cosmic"] .headwear-note h3{color:#321b54;}
html[data-theme="cosmic"] .v10-product-body p,html[data-theme="cosmic"] .v10-disclaimer,html[data-theme="cosmic"] .v10-store-header p{color:#604a8b;}
html[data-theme="cosmic"] .v10-product-art,html[data-theme="cosmic"] .sq-editorial-panel img,html[data-theme="cosmic"] #shop-categories .category-card{background:#e7ddfb;}
html[data-theme="cosmic"] .v10-store-feature{background:linear-gradient(135deg,#fffaff,#f0e6ff);border-color:#b499e3;color:#321b54;}
html[data-theme="cosmic"] .v10-details{background:#fcfaff;border-color:#ab92d8;color:#321b54;}
html[data-theme="cosmic"] .v10-quickview-panel{background:#fcfaff;color:#321b54;}
html[data-theme="cosmic"] .v10-quickview-panel p{color:#644b8f;}
html[data-theme="cosmic"] .headwear-note,html[data-theme="cosmic"] .request-line{background:#fcfaff;border-color:#c5ace8;}
html[data-theme="cosmic"] .option-pills span{background:#ede2ff;color:#4c2b7d;border-color:#baa2df;}
html[data-theme="cosmic"] .footer{background:#e6d9fd;color:#331c52;border-top:1px solid #ba9cdd;}
html[data-theme="cosmic"] .footer h3,html[data-theme="cosmic"] .footer a,html[data-theme="cosmic"] .footer p,html[data-theme="cosmic"] .footer-bottom{color:#492969;}
html[data-theme="cosmic"] .marquee{background:#d3bcff;color:#2b1552;}
html[data-theme="cosmic"] .wave-form select,html[data-theme="cosmic"] .wave-form input:not([type="checkbox"]),html[data-theme="cosmic"] .wave-form textarea{background:#fcfaff;color:#321b54;}
html[data-theme="cosmic"] .v10-hero,html[data-theme="cosmic"] .v10-drop-top{background:#f5eefe;color:#321b54;}
html[data-theme="cosmic"] .v10-hero-controls,html[data-theme="cosmic"] .v10-drop-top .v10-hero-controls{color:#321b54;}
html[data-theme="cosmic"] .v10-hero-controls p:not(.kicker),html[data-theme="cosmic"] .v10-drop-top .v10-hero-controls p:not(.kicker){color:#321b54;}
html[data-theme="cosmic"] #shop-categories .category-body{background:rgba(40,25,68,.9);color:white;}
html[data-theme="cosmic"] #shop-categories .category-body strong{color:white;}
/* V11 intentionally retained the full desktop hero on phones. Keep it intact on mobile
   rather than overlaying ancestry circles onto the reduced-width photograph. */
@media (max-width:560px){.v13-ancestor-layer{display:none!important;}}
