/*
 * Canonical glyph/surface ownership for the Obsidian & Gold generated build.
 * Archived templates contain !important text-fill and descendant paper tokens.
 * color alone is insufficient. All rules are scoped to the generated brand marker.
 * Frozen source, content, images, layout contracts and form behavior are untouched.
 */
html:has(body[data-sj-brand="obsidian-gold"]) { background:#0b0b0c !important; color-scheme:dark; }
body[data-sj-brand="obsidian-gold"] {
  --sj-leg-ivory:#efe6d2; --sj-leg-copy:#d8cfbc; --sj-leg-muted:#b9b19f;
  --sj-leg-gold:#ecd393; --sj-leg-line:rgba(198,164,90,.26);
  --sj-leg-surface:linear-gradient(145deg,rgba(42,38,32,.84),rgba(15,14,13,.96));
  --sj-leg-foil:linear-gradient(115deg,#b8923f,#ecd393 34%,#c6a45a 60%,#f3e2b0);
}
/* Local section token definitions must not silently restore the paper theme. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(*, *::before, *::after) {
  --bg:#0b0b0c !important; --dark:#0b0b0c !important;
  --paper:#0b0b0c !important; --paper2:#121110 !important; --paper3:#1c1a17 !important;
  --txt:#d8cfbc !important; --text:#d8cfbc !important; --ink:#efe6d2 !important;
  --ink2:#d8cfbc !important; --body:#d8cfbc !important; --dim:#b9b19f !important;
  --mut:#b9b19f !important; --muted:#b9b19f !important; --line:rgba(198,164,90,.26) !important;
  --line2:rgba(198,164,90,.14) !important; --glass:#1c1a17 !important;
  --cyan:#c6a45a !important; --purple:#9c7a38 !important; --violet:#9c7a38 !important;
  --sjc:#c6a45a !important; --sjp:#9c7a38 !important; --sja:#ecd393 !important;
  --nc:#c6a45a !important; --np:#9c7a38 !important; --na:#ecd393 !important;
  --sj-funnel-cyan:#c6a45a !important; --sj-funnel-violet:#9c7a38 !important;
  --sj-funnel-gold:#ecd393 !important; --sj-funnel-ink:#efe6d2 !important;
  --sj-funnel-muted:#b9b19f !important; --sj-funnel-line:rgba(198,164,90,.26) !important;
  --sj-funnel-glass:rgba(28,26,23,.86) !important;
}
/* Solid glyph paint: explicitly cancel transparent/blue text-fill and clipping. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(div,p,li,dt,dd,td,th,label,legend,span,b,strong,em,i,small,blockquote,cite,summary,a,button,input,select,textarea,figcaption,time,h1,h2,h3,h4,h5,h6) {
  color:var(--sj-leg-copy) !important;
  -webkit-text-fill-color:currentColor !important;
  text-shadow:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(h1,h2,h3,h4,h5,h6,.title,.elementor-heading-title,.grad,.grad-a,.g,.glow,.count,.tl-year,.avTitle,.sjest-big,.sjest-sub,.sj-meta,.kicker,.eyebrow,.kick,.avKick,.scriptTag,.qwho,.pnum,.holo-num) {
  background-image:none !important; -webkit-background-clip:border-box !important;
  background-clip:border-box !important; filter:none !important;
  -webkit-text-fill-color:currentColor !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(h1,h2,h3,h4,h5,h6,.title,.elementor-heading-title) {
  color:var(--sj-leg-ivory) !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(h1,h2,h3,h4,h5,h6) :is(span,b,strong,em,i) {
  color:inherit !important; background:none !important; filter:none !important;
  -webkit-background-clip:border-box !important; background-clip:border-box !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.kicker,.eyebrow,.kick,.avKick,.scriptTag,.qwho,.tl-year,.grad,.grad-a,.glow,.count,.sj-states-total,.holo-num,.sjq-progress,.sjest-big,.sjest-sub) {
  color:var(--sj-leg-gold) !important; background:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(small,.fine,.note,.sub,.lead,.lede,.dim,.mut,.muted,.sj-meta,.disc,.role,.avSub,.tl-txt) { color:var(--sj-leg-muted) !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(a,a:visited) { color:var(--sj-leg-gold) !important; text-decoration-color:rgba(236,211,147,.5) !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(b,strong) { color:var(--sj-leg-ivory) !important; }
/* Uninterrupted chapter canvases; only independent objects own a surface. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) {
  color:var(--sj-leg-copy) !important; background:#0b0b0c !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(body > section,main > section,.kpiBand,.statsband,.carrierBand,.wmBand,.avQuote,.sj-seo-wrap,.sj-seo-in,.sj-aeo,.sj-eeat,.sj-hub,.sj-states,.compareWrap,.compare-wrap,.sj-plan-grid,.sj-process-section,.sj-pain-section,#svGrid,#how,#estimator,#offclock,#mv,#sj-situations,#sjfaq,.sj-final-cta-wrap) {
  background:transparent !important; background-image:none !important;
  border-color:transparent !important; box-shadow:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.avHero,.svHero,.hero,.tdHero,.vignette) { background-color:#0b0b0c !important; background-image:none !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.card,.card > .in,.tile,.qCard,.val,.kpi,.tl-card,.mvCard,.step,.sj-step,.review,.faq details,.sj-aeo .sj-qa,.sj-hub > a,.ctaband,.hopeBand,.inlinecta > .in,.facts > div,.stats > div,.svStat,.holo,.sjest-inner,.formcard,.formshell,.band-in,.sj-plan-type) {
  background:var(--sj-leg-surface) !important;
  border-color:var(--sj-leg-line) !important;
  box-shadow:0 22px 48px rgba(0,0,0,.30),inset 0 1px rgba(243,226,176,.05) !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.card:has(> .in),.formshell:has(> .formcard),.band:has(> .band-in)) {
  background:none !important; border-color:transparent !important; box-shadow:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.qCard blockquote,.kpi b,.kpi b span,.stats b,.facts b,.svStat b,.holo-num,.step .n,.step .n *,.tl-year) {
  background:none !important; color:var(--sj-leg-gold) !important;
  -webkit-text-fill-color:currentColor !important; -webkit-background-clip:border-box !important; background-clip:border-box !important;
}
/* Retire only legacy decorative paint, never photos, video or content. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(#sjbg,#stars,#cursorGlow,#progress) { display:none !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c)::before,
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c)::after,
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(section,.hero,.avHero,.svHero,.avStory,.qCard,.kpi,.tl-card,.mvCard,.hopeBand,.card,.step,.sj-step,.holo,.holo-orb,.sat,.sjest-card,.sj-seo-wrap,.sj-aeo,.sj-qa,.sj-eeat,.sj-hub > a,.sjsit-wrap)::before,
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(section,.hero,.avHero,.svHero,.avStory,.qCard,.kpi,.tl-card,.mvCard,.hopeBand,.card,.step,.sj-step,.holo,.holo-orb,.sat,.sjest-card,.sj-seo-wrap,.sj-aeo,.sj-qa,.sj-eeat,.sj-hub > a,.sjsit-wrap)::after {
  background-image:none !important; background-color:transparent !important;
  border-color:var(--sj-leg-line) !important; box-shadow:none !important; filter:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.sjts,.sjts-in,.sj-cred,.sj-trustbar,.ticker,.track,.compare,.compare .r,.compare .h,.sj-trust-verify) { background:#0b0b0c !important; border-color:var(--sj-leg-line) !important; box-shadow:none !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.sjts-d,.tl-dot,.tl-fill,.sjest-list li::before,.holo-orb,.step .n,.sj-funnel-progress [data-sj-progress-current]) { background:#c6a45a !important; color:#17130e !important; border-color:var(--sj-leg-line) !important; box-shadow:none !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.step,.sj-step,.holo,.kpi,.qCard,.tl-card,.mvCard,.hopeBand) { border-radius:24px !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) #revChip { display:none !important; }
/* Buttons must explicitly own all descendant glyphs, not inherit ivory fills. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.btn-primary,.cta-sm,.bquote,.bcall,.wpforms-submit,button[type="submit"],.sj-primary-cta,.sjq-submit,#rSend,.cmp-btn-primary) {
  background:var(--sj-leg-foil) !important; color:#17130e !important;
  -webkit-text-fill-color:#17130e !important; border-color:rgba(236,211,147,.45) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.3),inset 0 1px rgba(243,226,176,.25) !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.btn-primary,.cta-sm,.bquote,.bcall,.wpforms-submit,button[type="submit"],.sj-primary-cta,.sjq-submit,#rSend,.cmp-btn-primary) * {
  color:#17130e !important; -webkit-text-fill-color:#17130e !important; background-image:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(input,select,textarea) {
  color:var(--sj-leg-ivory) !important; -webkit-text-fill-color:var(--sj-leg-ivory) !important;
  background:#121110 !important; border-color:rgba(198,164,90,.38) !important; box-shadow:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(input,textarea)::placeholder { color:var(--sj-leg-muted) !important; -webkit-text-fill-color:var(--sj-leg-muted) !important; opacity:1 !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(input[type="checkbox"],input[type="radio"],input[type="range"]) { accent-color:#c6a45a !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :focus-visible { outline:2px solid #ecd393 !important; outline-offset:4px !important; box-shadow:0 0 0 5px rgba(198,164,90,.12) !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.error,.err,.wpforms-error,[role="alert"]) { color:#f09c88 !important; -webkit-text-fill-color:currentColor !important; }
@media(max-width:767px) {
  html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.tl-card,.mvCard,.qCard,.step,.kpi,.holo) { padding:24px !important; }
  html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.qCard blockquote,.avTitle,.title) { overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-sj-brand="obsidian-gold"] :is(.card,.step,.holo,.kpi) { animation:none !important; }
}

/* Remaining paint owners identified by the rendered baseline, not guessed colors. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) *::before,
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) *::after {
  background-image:none !important; background-color:transparent !important;
  border-color:rgba(198,164,90,.26) !important; box-shadow:none !important; filter:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.sjq-h em,.qCard blockquote b,.punch,.hopeBand .h,.brandLock .bln i,.reward .amt,.reward .amt small,.val .n,.holo-num) {
  background:none !important; color:#ecd393 !important; -webkit-text-fill-color:currentColor !important;
  -webkit-background-clip:border-box !important; background-clip:border-box !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.sjsit-card,.sj-badge,.fchip,.morb,.sj-funnel-kicker,.fine,.mapTip,.mapStage,.lg.off) {
  background:#1c1a17 !important; border-color:rgba(198,164,90,.3) !important; box-shadow:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.tl-dot i,.holo-orb i,.holo-orb svg,.mapLegend .lg) { color:#ecd393 !important; background:#1c1a17 !important; border-color:rgba(198,164,90,.3) !important; box-shadow:none !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.sjq-go,.flag,.ticker i,.sj-funnel-stage-actions button,.sj-funnel-progress [data-sj-progress-current]) {
  color:#17130e !important; -webkit-text-fill-color:#17130e !important; background:#c6a45a !important;
  border-color:rgba(198,164,90,.38) !important; box-shadow:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.sjest-list li,.sj-hub,.sj-aeo,.sj-eeat) :is(p,li,strong,b,a,span) { background-image:none !important; }

/* Functional icon linework and mobile action contrast remain explicit. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) .holo-orb svg,
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) .holo-orb svg :is(path,circle,rect,line,polyline) {
  color:#ecd393 !important; stroke:#ecd393 !important; stroke-width:1.6px !important;
  fill:none !important; opacity:1 !important; visibility:visible !important; filter:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(#sj-mbar .sj-mbar-cta,#mBar .quote,#sj-cookie-accept,#sj-cookie-reject) {
  color:#17130e !important; -webkit-text-fill-color:#17130e !important;
  background:var(--sj-leg-foil) !important; text-shadow:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(#sj-mbar .sj-mbar-cta,#mBar .quote) * { color:#17130e !important; -webkit-text-fill-color:#17130e !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) .step .n { color:#ecd393 !important; -webkit-text-fill-color:#ecd393 !important; background:rgba(198,164,90,.06) !important; opacity:1 !important; }

html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.holo-orb,.step .orb) {
  opacity:1 !important; color:#ecd393 !important; -webkit-text-fill-color:#ecd393 !important;
  background:rgba(198,164,90,.06) !important; filter:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) .holo-orb .sat { display:none !important; }

/* Full-route sweep: shared reference/checklist/table families and Elementor footer. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(ul.stats > li,ul.checks > li,.sj-lf-qa,.verdict,.warn,.disc,.clock) {
  background:var(--sj-leg-surface) !important; color:#d8cfbc !important;
  border-color:rgba(198,164,90,.26) !important; box-shadow:0 12px 32px rgba(0,0,0,.2) !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.sjw .verified,.qmark,.cmp tr,.cmp td,.cmp th,.sjc tr,.sjc td,.sjc th) {
  background:#121110 !important; background-image:none !important; color:#d8cfbc !important;
  border-color:rgba(198,164,90,.24) !important; box-shadow:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.cmp th,.sjc th) { color:#ecd393 !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(footer,footer .e-con,footer .e-con-inner,.elementor-element-07e3d11,.elementor-element-a9c5d68,.elementor-location-header > .elementor-element > .e-con-inner) {
  background:#0b0b0c !important; background-image:none !important;
  border-color:rgba(198,164,90,.2) !important; box-shadow:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) .sjc-glow { background:radial-gradient(ellipse,rgba(198,164,90,.09),transparent 70%) !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.btn.primary,.elementor-button) {
  background:var(--sj-leg-foil) !important; color:#17130e !important;
  -webkit-text-fill-color:#17130e !important; border-color:rgba(198,164,90,.35) !important; box-shadow:none !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.btn.primary,.elementor-button) * { color:#17130e !important; -webkit-text-fill-color:#17130e !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.btn.ghost,.btn-ghost,.elementor-social-icon) { background:#1c1a17 !important; color:#ecd393 !important; border-color:rgba(198,164,90,.3) !important; box-shadow:none !important; }
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) .elementor-social-icon svg { fill:#ecd393 !important; color:#ecd393 !important; }

/* Final measured badge/citation contrast residuals; preserve citation behavior. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) :is(.sjc-eyebrow,.sj-fn,.sj-star) {
  background:rgba(198,164,90,.08) !important; color:#ecd393 !important;
  -webkit-text-fill-color:#ecd393 !important; border-color:rgba(198,164,90,.26) !important;
}

/* The compact glass header must not retain an old navy base under its gradient. */
html body.sj-brand-sitewide[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) #nav {
  background-color:rgba(11,11,12,.94) !important;
  border-color:rgba(198,164,90,.26) !important;
  transition-property:transform,box-shadow,opacity !important;
}

/* Content must not depend on scroll observers firing in active/background tabs. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) .rv:not([hidden]):not([aria-hidden="true"]) {
  opacity:1 !important;
}

/* Services/mobile audit: utility and table cells must own their actual base paint. */
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) .sj-hmail {
  background:#1c1a17 !important;
  border-color:rgba(198,164,90,.3) !important;
  box-shadow:none !important;
  transition-property:transform,opacity !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) td {
  background:#121110 !important;
  border-color:rgba(198,164,90,.2) !important;
}
html body[data-sj-brand="obsidian-gold"]:not(#sj-legacy-a):not(#sj-legacy-b):not(#sj-legacy-c) th {
  background:#1c1a17 !important;
  border-color:rgba(198,164,90,.2) !important;
}
