/* The current light theme remains the unmodified default. Every rule in this file is dark-skin scoped. */
html[data-samal-theme="dark"]{color-scheme:dark;--forest:#19120c;--forest-2:#382616;--leaf:#c28a22;--lime:#e2b447;--sand:#20170f;--cream:#100d09;--ink:#f5ead4;--muted:#cbbda7;--gold:#d9a12a;--white:#fff9ed;--shadow:0 18px 45px rgba(0,0,0,.42)}
html[data-samal-theme="dark"] body{background:#100d09;color:#f5ead4}
html[data-samal-theme="dark"] ::selection{background:#d9a12a;color:#100d09}
html[data-samal-theme="dark"] a{color:#e7bd61}
html[data-samal-theme="dark"] .site-header{background:rgba(16,13,9,.95);border-bottom-color:rgba(226,180,71,.2);box-shadow:0 10px 32px rgba(0,0,0,.18)}
html[data-samal-theme="dark"] .brand,html[data-samal-theme="dark"] .main-nav a{color:#fff9ed}
html[data-samal-theme="dark"] .brand small{color:#cbbda7}
html[data-samal-theme="dark"] .brand-mark{background:#d9a12a;color:#100d09}
html[data-samal-theme="dark"] .custom-logo{border-radius:9px;background:#fff;padding:3px}
.samal-logo-switch,.samal-logo-fallback{display:inline-flex;align-items:center;gap:12px}.samal-logo-dark{display:none}html[data-samal-theme="dark"] .samal-logo-switch.has-dark-logo>.samal-logo-light{display:none}html[data-samal-theme="dark"] .samal-logo-switch.has-dark-logo>.samal-logo-dark{display:block;background:transparent!important}
html[data-samal-theme="dark"] .menu-toggle{color:#fff9ed}
html[data-samal-theme="dark"] .main-nav.open{background:#17110c;border-bottom:1px solid rgba(226,180,71,.2)}
html[data-samal-theme="dark"] .header-cta,html[data-samal-theme="dark"] .button,html[data-samal-theme="dark"] .wp-block-button__link{background:#d9a12a;color:#130f0a!important;box-shadow:none}
html[data-samal-theme="dark"] .header-cta:hover,html[data-samal-theme="dark"] .button:hover,html[data-samal-theme="dark"] .wp-block-button__link:hover{background:#edc260;box-shadow:0 10px 28px rgba(217,161,42,.2)}
.skin-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 13px;border:1px solid rgba(18,60,45,.2);border-radius:999px;background:transparent;color:var(--forest);font:750 12px/1.1 inherit;white-space:nowrap;cursor:pointer;transition:.2s}
.skin-toggle:hover,.skin-toggle:focus-visible{border-color:var(--leaf);background:rgba(119,165,69,.08);transform:translateY(-1px)}
.skin-toggle-icon{font-size:17px;line-height:1}
html[data-samal-theme="dark"] .skin-toggle{border-color:rgba(226,180,71,.42);color:#f7d98f;background:#20170f}
html[data-samal-theme="dark"] .skin-toggle:hover,html[data-samal-theme="dark"] .skin-toggle:focus-visible{border-color:#e2b447;background:#2a1e13}
html[data-samal-theme="dark"] .hero,html[data-samal-theme="dark"] .page-hero{background-color:#100d09;background-blend-mode:multiply}
html[data-samal-theme="dark"] .hero:before,html[data-samal-theme="dark"] .page-hero-shade{background:linear-gradient(90deg,rgba(12,9,6,.97),rgba(35,24,14,.88) 55%,rgba(12,9,6,.64))}
html[data-samal-theme="dark"] .hero h1,html[data-samal-theme="dark"] .page-hero h1{color:#fff9ed}
html[data-samal-theme="dark"] .hero p{color:#eadfcb}
html[data-samal-theme="dark"] .eyebrow,html[data-samal-theme="dark"] .hero .eyebrow,html[data-samal-theme="dark"] .page-hero .eyebrow,html[data-samal-theme="dark"] .card .eyebrow,html[data-samal-theme="dark"] .section .eyebrow{color:#e2b447!important}
html[data-samal-theme="dark"] .page-hero-line{background:linear-gradient(90deg,#e2b447,rgba(226,180,71,.35) 68%,transparent)}
html[data-samal-theme="dark"] .page-hero-leaf{border-color:rgba(226,180,71,.8)}
html[data-samal-theme="dark"] .page-hero-seed{background:#e2b447;box-shadow:0 0 0 7px rgba(226,180,71,.12)}
html[data-samal-theme="dark"] .section-sand,html[data-samal-theme="dark"] .section-light,html[data-samal-theme="dark"] .page-content,html[data-samal-theme="dark"] .content{background-color:#100d09;color:#f5ead4}
html[data-samal-theme="dark"] .section-forest,html[data-samal-theme="dark"] .agartrace-section,html[data-samal-theme="dark"] .model-evidence-section,html[data-samal-theme="dark"] .model-cta-section{background-color:#17110c!important;color:#f5ead4}
html[data-samal-theme="dark"] .card,html[data-samal-theme="dark"] .team-card,html[data-samal-theme="dark"] .esg-card,html[data-samal-theme="dark"] .mission-card,html[data-samal-theme="dark"] .vision-card,html[data-samal-theme="dark"] .model-stage-card,html[data-samal-theme="dark"] .model-principle-card,html[data-samal-theme="dark"] .samal-archive-card,html[data-samal-theme="dark"] .comment-list .comment{background:#20170f;color:#f5ead4;border-color:rgba(226,180,71,.16);box-shadow:0 12px 34px rgba(0,0,0,.28)}
html[data-samal-theme="dark"] .card h2,html[data-samal-theme="dark"] .card h3,html[data-samal-theme="dark"] .content h1,html[data-samal-theme="dark"] .content h2,html[data-samal-theme="dark"] .content h3,html[data-samal-theme="dark"] .samal-card-body h2 a,html[data-samal-theme="dark"] .comments-title,html[data-samal-theme="dark"] .comment-reply-title{color:#fff9ed}
html[data-samal-theme="dark"] .card p,html[data-samal-theme="dark"] .section-head p,html[data-samal-theme="dark"] .samal-card-body p,html[data-samal-theme="dark"] .samal-card-meta,html[data-samal-theme="dark"] .samal-post-meta,html[data-samal-theme="dark"] .samal-like-status{color:#cbbda7}
html[data-samal-theme="dark"] .tag,html[data-samal-theme="dark"] .samal-post-tags a{background:#382616;color:#f2cb73}
html[data-samal-theme="dark"] .stat-strip .stats{background:#20170f;box-shadow:0 18px 45px rgba(0,0,0,.4)}
html[data-samal-theme="dark"] .stat{border-color:rgba(226,180,71,.14)}
html[data-samal-theme="dark"] .stat strong{color:#e2b447}
html[data-samal-theme="dark"] .stat span{color:#cbbda7}
html[data-samal-theme="dark"] .purpose-card,html[data-samal-theme="dark"] .model-signature,html[data-samal-theme="dark"] .model-record-panel,html[data-samal-theme="dark"] .model-cta,html[data-samal-theme="dark"] .agartrace-proof,html[data-samal-theme="dark"] .trace-card,html[data-samal-theme="dark"] .ethics-panel{background:linear-gradient(135deg,#21170f,#332315)!important;color:#f5ead4;border-color:rgba(226,180,71,.2)}
html[data-samal-theme="dark"] .about-purpose-section{background:#100d09!important;color:#f5ead4}
html[data-samal-theme="dark"] .page-hero-about+.page-content>.wp-block-uagb-container.uagb-is-root-container:first-child{background:#100d09!important}
html[data-samal-theme="dark"] .about-principles-head,html[data-samal-theme="dark"] .about-principle-grid{background:#17110c!important;box-shadow:0 0 0 100vmax #17110c}
html[data-samal-theme="dark"] .about-purpose-lead,html[data-samal-theme="dark"] .about-principles-head>p:last-child{color:#ded0ba!important}
html[data-samal-theme="dark"] .about-commitment-strip p{background:#21170f;color:#f1d89b!important;border-color:rgba(226,180,71,.25)}
html[data-samal-theme="dark"] .about-purpose-visual:before{background:linear-gradient(145deg,#21170f,#3a2818)}
html[data-samal-theme="dark"] .about-purpose-badge{background:#21170f;border-color:rgba(226,180,71,.42)}
html[data-samal-theme="dark"] .about-purpose-badge p{color:#ded0ba!important}html[data-samal-theme="dark"] .about-purpose-badge strong{color:#fff9ed!important}
html[data-samal-theme="dark"] .about-principle-card{background:linear-gradient(145deg,#21170f,#2b1e12);color:#f5ead4;border-color:rgba(226,180,71,.2);box-shadow:0 15px 38px rgba(0,0,0,.3)}
html[data-samal-theme="dark"] .about-principle-card h3{color:#fff9ed!important}html[data-samal-theme="dark"] .about-principle-card>p:last-child{color:#cbbda7!important}html[data-samal-theme="dark"] .about-principle-number{color:#e2b447!important}
html[data-samal-theme="dark"] .about-principle-featured{background:linear-gradient(145deg,#173d2e,#275943)}
html[data-samal-theme="dark"] .model-stage-number,html[data-samal-theme="dark"] .model-signature-number,html[data-samal-theme="dark"] .purpose-number,html[data-samal-theme="dark"] .esg-letter,html[data-samal-theme="dark"] .trace-mark{color:#e2b447}
html[data-samal-theme="dark"] .model-stage-output,html[data-samal-theme="dark"] .model-risk-note,html[data-samal-theme="dark"] .agartrace-note,html[data-samal-theme="dark"] .ethics-note{background:#2a1e13;color:#eadfcb;border-color:rgba(226,180,71,.18)}
html[data-samal-theme="dark"] .wp-block-cover,html[data-samal-theme="dark"] .wp-block-group.has-background{color:#f5ead4}
html[data-samal-theme="dark"] input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),html[data-samal-theme="dark"] select,html[data-samal-theme="dark"] textarea{background:#17110c;color:#fff9ed;border-color:#665033}
html[data-samal-theme="dark"] input::placeholder,html[data-samal-theme="dark"] textarea::placeholder{color:#9f927f}
html[data-samal-theme="dark"] input:focus,html[data-samal-theme="dark"] select:focus,html[data-samal-theme="dark"] textarea:focus{outline:2px solid #e2b447;outline-offset:1px;border-color:#e2b447}
html[data-samal-theme="dark"] .notice{background:#332315;color:#f7d98f}
html[data-samal-theme="dark"] .samal-post-meta,html[data-samal-theme="dark"] .samal-post-tags,html[data-samal-theme="dark"] .samal-comments,html[data-samal-theme="dark"] .samal-share{border-color:rgba(226,180,71,.2)}
html[data-samal-theme="dark"] .samal-post-meta strong,html[data-samal-theme="dark"] .samal-post-tags strong,html[data-samal-theme="dark"] .samal-like-count,html[data-samal-theme="dark"] .samal-share h2{color:#f7d98f}
html[data-samal-theme="dark"] .samal-share-button{background:#20170f;color:#f5ead4!important;border-color:rgba(226,180,71,.3)}
html[data-samal-theme="dark"] .samal-share-button span{background:#d9a12a;color:#100d09}
html[data-samal-theme="dark"] .samal-share-button:hover,html[data-samal-theme="dark"] .samal-share-button:focus-visible{background:#332315;border-color:#e2b447}
html[data-samal-theme="dark"] .samal-like-button{background:#d9a12a;color:#100d09;border-color:#d9a12a}
html[data-samal-theme="dark"] .samal-like-button span:first-child{color:#100d09}
html[data-samal-theme="dark"] .samal-like-button:disabled{background:#6e4f1e;color:#fff9ed}
html[data-samal-theme="dark"] .samal-entry-placeholder{background:radial-gradient(circle at 85% 10%,rgba(226,180,71,.22),transparent 34%),linear-gradient(135deg,#100d09,#382616)}
html[data-samal-theme="dark"] .page-numbers{background:#20170f;color:#f5ead4}
html[data-samal-theme="dark"] .page-numbers.current{background:#d9a12a;color:#100d09}
html[data-samal-theme="dark"] .site-footer{background:#080604;color:#d8c9b3;border-top:1px solid rgba(226,180,71,.16)}
html[data-samal-theme="dark"] .site-footer h2,html[data-samal-theme="dark"] .site-footer h3,html[data-samal-theme="dark"] .footer-column-title,html[data-samal-theme="dark"] .footer-social-heading{color:#e2b447!important}
html[data-samal-theme="dark"] .site-footer a{color:#e8d7ba}
html[data-samal-theme="dark"] .footer-bottom{color:#aa9a84;border-color:rgba(226,180,71,.16)}
/* Target rendered Gutenberg elements as well as legacy inline markup. */
html[data-samal-theme="dark"] .stat-strip .stat h3,html[data-samal-theme="dark"] .stat-strip .stat strong{color:#f7d98f!important;background:transparent!important}
html[data-samal-theme="dark"] .stat-strip .stat p,html[data-samal-theme="dark"] .stat-strip .stat span{color:#d8c9b3!important}
html[data-samal-theme="dark"] .site-footer .footer-description{color:#d8c9b3!important}
html[data-samal-theme="dark"] .samal-article-body>p:first-child,html[data-samal-theme="dark"] body.single-samal_project .samal-article-body p,html[data-samal-theme="dark"] body.single-samal_project .content p{color:#eadfcb!important}
/* Gutenberg and Custom HTML blocks: dark mode must change the surface and its text together.
   These rules intentionally stay under the theme attribute so Lights On remains unchanged. */
html[data-samal-theme="dark"]{--samal-dark-canvas:#100d09;--samal-dark-surface:#17110c;--samal-dark-card:#21170f;--samal-dark-card-strong:#2b1e12;--samal-dark-heading:#fff9ed;--samal-dark-copy:#ded0ba;--samal-dark-muted:#c5b59e;--samal-dark-accent:#e2b447;--samal-dark-border:rgba(226,180,71,.2)}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content)>.wp-block-group.alignfull,
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) .section,
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) .wp-block-group.has-background,
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) .has-white-background-color,
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) .has-base-background-color,
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) [style*="background-color: white"],
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) [style*="background-color:#fff"],
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) [style*="background-color: #fff"]{background-color:var(--samal-dark-canvas)!important;color:var(--samal-dark-copy)!important}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) .section-sand,
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) .has-cream-background-color,
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) .has-sand-background-color{background-color:var(--samal-dark-surface)!important}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(h1,h2,h3,h4,h5,h6,.wp-block-heading){color:var(--samal-dark-heading)!important}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(p,li,blockquote,figcaption,dt,dd){color:var(--samal-dark-copy)!important}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(.eyebrow,.section-kicker,.block-kicker,.overline){color:var(--samal-dark-accent)!important}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(.card,.wp-block-column.card,.purpose-card,.why-card,.trust-card,.compliance-card,.faq-item,.value-card,.feature-card){background:linear-gradient(145deg,var(--samal-dark-card),var(--samal-dark-card-strong))!important;color:var(--samal-dark-copy)!important;border-color:var(--samal-dark-border)!important;box-shadow:0 15px 38px rgba(0,0,0,.3)}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(.card,.wp-block-column.card,.purpose-card,.why-card,.trust-card,.compliance-card,.faq-item,.value-card,.feature-card) :where(h2,h3,h4,strong){color:var(--samal-dark-heading)!important}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(.card,.wp-block-column.card,.purpose-card,.why-card,.trust-card,.compliance-card,.faq-item,.value-card,.feature-card) :where(p,li,small){color:var(--samal-dark-muted)!important}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(.card-number,.purpose-number,.step-number,.feature-number){color:var(--samal-dark-accent)!important}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(.wp-block-separator,hr){border-color:var(--samal-dark-border)!important;color:var(--samal-dark-border)!important}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(.wp-block-table table,table){color:var(--samal-dark-copy);border-color:var(--samal-dark-border)}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(.wp-block-table td,.wp-block-table th,td,th){border-color:var(--samal-dark-border)}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(.wp-block-button__link,.button){color:#130f0a!important}
html[data-samal-theme="dark"] :where(.samal-home-blocks,.page-content,.entry-content,.content) :where(.section-forest,.agartrace-section,.model-evidence-section,.model-cta-section){background-color:var(--samal-dark-surface)!important;color:var(--samal-dark-copy)!important}
/* Custom HTML homepage sections do not receive Gutenberg's .wp-block-group wrapper.
   Cover their semantic section wrappers and interactive FAQ labels explicitly. */
html[data-samal-theme="dark"] .samal-home-blocks section:not(.hero):not(.section-forest):not(.agartrace-section),
html[data-samal-theme="dark"] .samal-home-blocks :is([class*="why-samal"],[class*="why_samal"],[class*="why-section"],[class*="samal-why"],[class*="faq-section"],[class*="faq_wrap"],[class*="faq-wrap"],[id*="why-samal"],[id*="faq"]){background-color:var(--samal-dark-canvas)!important;color:var(--samal-dark-copy)!important}
html[data-samal-theme="dark"] .samal-home-blocks :is([class*="why-samal"],[class*="why_samal"],[class*="why-section"],[class*="samal-why"],[class*="faq-section"],[class*="faq_wrap"],[class*="faq-wrap"],[id*="why-samal"],[id*="faq"]) :is(h1,h2,h3,h4,h5,h6,strong,summary,button){color:var(--samal-dark-heading)!important}
html[data-samal-theme="dark"] .samal-home-blocks :is([class*="why-samal"],[class*="why_samal"],[class*="why-section"],[class*="samal-why"],[class*="faq-section"],[class*="faq_wrap"],[class*="faq-wrap"],[id*="why-samal"],[id*="faq"]) :is(p,li,small,dd){color:var(--samal-dark-copy)!important}
html[data-samal-theme="dark"] .samal-home-blocks :is([class*="faq"],[id*="faq"]) :is(details,.faq-item,.faq-row,.faq-card){background:var(--samal-dark-card)!important;border-color:var(--samal-dark-border)!important;color:var(--samal-dark-copy)!important}
html[data-samal-theme="dark"] .samal-home-blocks :is([class*="faq"],[id*="faq"]) :is(summary,button,.faq-question,.faq-title){background:transparent!important;color:var(--samal-dark-heading)!important;border-color:var(--samal-dark-border)!important}
html[data-samal-theme="dark"] .samal-home-blocks :is([class*="faq"],[id*="faq"]) :is(.faq-answer,.faq-content,details>div){color:var(--samal-dark-copy)!important}
html[data-samal-theme="dark"] .samal-home-blocks :is([class*="why-samal"],[class*="why-section"],[class*="samal-why"]) :is(.why-card,.feature-card,.capability-card,[class*="card"]){background:linear-gradient(145deg,var(--samal-dark-card),var(--samal-dark-card-strong))!important;border-color:var(--samal-dark-border)!important}
html[data-samal-theme="dark"] .samal-home-blocks :is([class*="why-samal"],[class*="why-section"],[class*="samal-why"],[class*="faq"],[id*="faq"]) :is(.eyebrow,.kicker,.overline,[class*="eyebrow"]){color:var(--samal-dark-accent)!important}
/* FAQ default-state specificity: Custom HTML supplies a dark-green color on a child
   inside the clickable row. Override the child as well as the interactive parent. */
html[data-samal-theme="dark"] body .samal-home-blocks :is([class*="faq"],[id*="faq"]) :is(button,summary,[role="button"],.faq-question,.faq-title,[class*="question"],[class*="accordion-head"],[class*="accordion-title"]),
html[data-samal-theme="dark"] body .samal-home-blocks :is([class*="faq"],[id*="faq"]) :is(button,summary,[role="button"],.faq-question,.faq-title,[class*="question"],[class*="accordion-head"],[class*="accordion-title"]) :is(span,strong,b,i,em,h2,h3,h4){color:var(--samal-dark-heading)!important}
html[data-samal-theme="dark"] body .samal-home-blocks :is([class*="faq"],[id*="faq"]) :is([class*="number"],[class*="index"],[class*="count"],[class*="plus"],[class*="icon"],[aria-hidden="true"]){color:var(--samal-dark-accent)!important;border-color:var(--samal-dark-border)!important}
html[data-samal-theme="dark"] body .samal-home-blocks :is([class*="faq"],[id*="faq"]) :is(button,summary,[role="button"]):focus-visible{outline:2px solid var(--samal-dark-accent)!important;outline-offset:4px}
@media(max-width:1100px){.skin-toggle-label{display:none}.skin-toggle{width:42px;padding:8px}}
@media(max-width:900px){.skin-toggle{order:3}.menu-toggle{order:2}.main-nav{order:4}.header-inner{gap:12px}}
@media(max-width:420px){.skin-toggle{min-width:40px;width:40px}.skin-toggle-icon{font-size:16px}}
