:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]){--ink:#252d34;--navy:#252b31;--teal:#866438;--teal-dark:#684b26;--mint:#f4ede2;--paper:#f7f5f1;--line:#dedbd4;--muted:#58636c}
html[data-palette="red"]{--ink:#30262a;--navy:#3a2027;--teal:#b80000;--teal-dark:#930000;--mint:#f9eceb;--paper:#faf5f5;--line:#e8dadb;--muted:#645a61}
html[data-palette="navy"]{--ink:#172b43;--navy:#11253d;--teal:#193f68;--teal-dark:#102f52;--mint:#e9f0f7;--paper:#f3f6fa;--line:#d9e2ed;--muted:#52667e}
html[data-palette] .hero{background:var(--paper)}
html[data-palette] .hero-lead,html[data-palette] .hero-index{color:var(--muted)}
html[data-palette] .preview-bar{background:var(--paper);color:var(--muted);border-color:var(--line)}
html[data-palette] .group-section .eyebrow,html[data-palette] .company-code{color:#c7d5df}
html[data-palette] .report-feature{background:var(--mint)}
html[data-palette] .report-feature p{color:var(--muted)}
html[data-palette] .report-cover{background:var(--navy);box-shadow:10px 10px 0 var(--line)}
html[data-palette] .insight-list,html[data-palette] .insight-item{border-color:var(--line)}
:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .button:not(.secondary):not(.light),:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .nav-cta,:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .mobile-cta{background:#30363c;border-color:#30363c}
:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .button:not(.secondary):not(.light):hover,:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .nav-cta:hover{background:#1e2328}
:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .contact-band{background:#30363c}
:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .contact-band p,:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .contact-band .eyebrow{color:#eee4d6}
:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .group-section .eyebrow,:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .company-code{color:#d8c5a3}
:is(html[data-palette="graphite"],html[data-palette="navy-bronze"]) .group-section .arrow{border-color:#7e7463}
html[data-palette="red"] .group-section .eyebrow,html[data-palette="red"] .company-code{color:#efc3c3}
html[data-palette="red"] .contact-band .eyebrow,html[data-palette="red"] .contact-band p{color:#ffe9e8}
html[data-palette="navy"] .contact-band .eyebrow,html[data-palette="navy"] .contact-band p{color:#e2edf9}
.palette-review-link{font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* A+ refinement: midnight navy, champagne gold, and warm ivory. */
html[data-palette="gold"]{--ink:#182b40;--navy:#14283f;--teal:#896b30;--teal-dark:#6d5322;--mint:#f4efdf;--paper:#f8f6f0;--line:#e2dccd;--muted:#586473;--gold:#c6a664;--gold-light:#e6cd95}
html[data-palette="gold"] .button:not(.secondary):not(.light),html[data-palette="gold"] .nav-cta,html[data-palette="gold"] .mobile-cta{background:var(--navy);border-color:var(--gold);color:var(--gold-light)}
html[data-palette="gold"] .button:not(.secondary):not(.light):hover,html[data-palette="gold"] .nav-cta:hover{background:#203b57}
html[data-palette="gold"] .button.secondary{border-color:#b99d60}
html[data-palette="gold"] .button.secondary:hover{background:#f1ead7}
html[data-palette="gold"] .hero-index:before{background:var(--gold)}
html[data-palette="gold"] .hero-visual:after{background:linear-gradient(0deg,rgba(20,40,63,.32),transparent 58%)}
html[data-palette="gold"] .tabs button[aria-pressed=true]{color:var(--gold-light);border-color:#a88d53}
html[data-palette="gold"] .group-section .eyebrow,html[data-palette="gold"] .company-code{color:var(--gold-light)}
html[data-palette="gold"] .group-section .arrow{color:var(--gold-light);border-color:#9a865e}
html[data-palette="gold"] .group-section:before{border-color:#786a4d}
html[data-palette="gold"] .group-list{border-color:#59606a}
html[data-palette="gold"] .group-company+.group-company{border-color:#59606a}
html[data-palette="gold"] .report-cover{border-top:3px solid var(--gold);color:#f4e8cb}
html[data-palette="gold"] .contact-band{background:var(--navy);border-top:1px solid #a88d53}
html[data-palette="gold"] .contact-band .eyebrow{color:var(--gold-light)}
html[data-palette="gold"] .contact-band p{color:#dce2e9}
html[data-palette="gold"] .contact-band .button.light{background:var(--gold-light);border-color:var(--gold-light);color:var(--navy)}
html[data-palette="gold"] .contact-band .button.light:hover{background:#f0ddb3}
html[data-palette="gold"] .site-footer{background:#0d1c2e}
html[data-palette="gold"] .tags span{color:#5e563f}


/* A revision: original bronze, white lettering and light surfaces; navy replaces charcoal fills only. */
html[data-palette="navy-bronze"]{--navy:#14283f}
html[data-palette="navy-bronze"] .button:not(.secondary):not(.light),html[data-palette="navy-bronze"] .nav-cta,html[data-palette="navy-bronze"] .mobile-cta{background:#14283f;border-color:#14283f}
html[data-palette="navy-bronze"] .button:not(.secondary):not(.light):hover,html[data-palette="navy-bronze"] .nav-cta:hover{background:#203b57}
html[data-palette="navy-bronze"] .contact-band{background:#14283f}
