/* Framehouse — Gallery White site skin.
   Loaded last on every page. Re-maps the old cream/dark inline colours to white, ink and a hint of amber.
   Remove the <link> to brand-white.css to return to the previous look. */
html body{background:#FFFFFF!important;color:#1a1916!important}
:root{--gw-ink:#1a1916;--gw-mute:#5E594F;--gw-soft:#F7F5F0;--gw-line:rgba(26,25,22,.12);--gw-accent:#8A5516}

/* ── Surfaces ─────────────────────────────────────────── */
:is(body,section,div,header,footer,article,aside,main,nav,details,figure,form,li,ul,ol,table,td,th,tr,p):is([style*="background:#F5F2E8"],[style*="background: #F5F2E8"],[style*="background:#FCFAF3"],[style*="background:#FBFAF6"],[style*="background:#FCFAF3"],[style*="background:#F2EDE2"],[style*="background:#F0EBDF"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *){background:#FFFFFF!important}
:is(section,div,header,footer,article,aside,main,details,figure,form,li,ul,ol,table,td,th,tr):is([style*="background:#EDE7D9"],[style*="background:#EDE4D3"],[style*="background:#E9E3D6"],[style*="background:#EEE9DD"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *){background:var(--gw-soft)!important}
:is(section,div,header,footer,article,aside,main,details,figure,form,li,ul,ol,table,td,th,tr):is([style*="background:#1a1916"],[style*="background:#1A1916"],[style*="background: #1a1916"],[style*="background:#2C2925"],[style*="background:#2c2925"],[style*="background:#0e0d0b"],[style*="background:#14130f"],[style*="background:#262A1E"],[style*="background:#262a1e"],[style*="background:#2A2824"],[style*="background:#3F4A2E"],[style*="background:rgba(26,25,22,.96)"],[style*="background:rgba(14,13,11"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *):not(.hero):not(#fh-lightbox):not([data-slot]):not(.gw-keep):not(#nl-overlay){background:var(--gw-soft)!important}
:is(section,div,article,aside,details,li,a,label):is([style*="background:rgba(245,242,232"],[style*="background:rgba(255,255,255,.0"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *){background:rgba(26,25,22,.03)!important}
/* Home "Visit" and footer sit on soft grey so the page keeps rhythm */
#visit,footer{background:var(--gw-soft)!important}
#meet-us{background:#FFFFFF!important}

/* ── Text ─────────────────────────────────────────────── */
:is([style*="color:#F5F2E8"],[style*="color: #F5F2E8"],[style*="color:#FCFAF3"],[style*="color:#FFFFFF"],[style*="color:#ffffff"],[style*="color:#fff;"],[style*="color:#fff\""],[style*="color:#EDE7D9"],[style*="color:#F5F2E8;"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *){color:var(--gw-ink)!important;text-shadow:none!important}
:is([style*="color:rgba(245,242,232"],[style*="color:rgba(255,255,255"],[style*="color:#CFC6B5"],[style*="color:#CFC7B8"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *){color:var(--gw-mute)!important;text-shadow:none!important}
:is([style*="color:#E7C58F"],[style*="color:#C07A2B"],[style*="color: #C07A2B"],[style*="color:#c07a2b"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *){color:var(--gw-accent)!important}
::selection{background:#1a1916!important;color:#FFFFFF!important}

/* ── Lines ────────────────────────────────────────────── */
:is([style*="border:1px solid rgba(245,242,232"],[style*="border-top:1px solid rgba(245,242,232"],[style*="border-bottom:1px solid rgba(245,242,232"],[style*="border:1px solid rgba(255,255,255"],[style*="border-top:1px solid rgba(255,255,255"],[style*="border-bottom:1px solid rgba(255,255,255"],[style*="border:1.5px solid rgba(245,242,232"],[style*="border-bottom:1px solid rgba(192,122,43"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *){border-color:var(--gw-line)!important}
[style*="border-left:3px solid #C07A2B"]{border-left-color:#1a1916!important;background:var(--gw-soft)!important}

/* ── Buttons: amber and cream fills become ink ────────── */
:is(a,button,span,input[type="submit"]):is([style*="background:#C07A2B"],[style*="background: #C07A2B"],[style*="background:#c07a2b"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *),
:is(a,button,span,input[type="submit"]):is([style*="background:#C07A2B"],[style*="background:#c07a2b"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *) *{background-color:#1a1916!important;background-image:none!important;color:#FFFFFF!important;border-color:#1a1916!important}
:is(a,button,span):is([style*="background:#1a1916"],[style*="background:#1A1916"],[style*="background:#262A1E"],[style*="background:#4A5A38"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *)[style],
:is(a,button,span):is([style*="background:#1a1916"],[style*="background:#1A1916"],[style*="background:#262A1E"],[style*="background:#4A5A38"]):not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *)[style] *{background-color:#1a1916!important;color:#FFFFFF!important}
/* Explore grid feature tile (dark olive) keeps an ink fill */
.explore-grid>a[style*="#262A1E"]{background:#1a1916!important}
.explore-grid>a[style*="#262A1E"] *{color:#FFFFFF!important}
.explore-grid>a[style*="#262A1E"] span[style*="background:#C07A2B"]{background:#FFFFFF!important;color:#1a1916!important}
/* Ghost buttons on light ground */
:is(a,button)[style*="border:1px solid rgba(245,242,232"]:not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *){border-color:#1a1916!important;color:#1a1916!important}
:is(a,button)[style*="border:1px solid #C07A2B"]:not(:is(.hero,#fh-lightbox,[data-slot],.gw-keep) *){border-color:#1a1916!important;color:#1a1916!important}
input:not([type="checkbox"]):not([type="radio"]):is([style*="rgba(245,242,232"]){background:#FFFFFF!important;color:#1a1916!important;border-color:rgba(26,25,22,.25)!important}

/* ── Logo: original black artwork, no inversion ───────── */
img[src*="Framehouse%20Logo"]:not(:is(.hero,.gw-keep) *),img[src*="Framehouse Logo"]:not(:is(.hero,.gw-keep) *){filter:none!important}

/* ── Navigation bar: white, hairline, ink controls ────── */
html body #fh-nav,html body #fh-nav.scrolled,html body nav[style*="position:fixed"][style*="top:0"]{background:rgba(255,255,255,.97)!important;border-bottom:1px solid var(--gw-line)!important;backdrop-filter:blur(8px)}
html body #fh-nav #nav-logo-img,html body #fh-nav.scrolled #nav-logo-img{filter:none!important}
html body #fh-nav .nav-link,html body #fh-nav .nav-phone,html body #fh-nav .menu-btn-label{color:#1a1916!important;text-shadow:none!important}
html body #fh-nav .nav-book,html body a.nav-book,html body nav[style*="position:fixed"] a[href*="#visit"]{background:#1a1916!important;color:#FFFFFF!important;border:1px solid #1a1916!important}
html body #fh-nav .menu-btn,html body button.menu-btn,html body nav[style*="position:fixed"] .menu-btn{background:#FFFFFF!important;border:1px solid #1a1916!important}
html body #fh-nav .menu-btn span,html body .menu-btn span,html body .menu-btn-label{color:#1a1916!important}

/* ── Full-screen menu: white ──────────────────────────── */
html body #fh-overlay{background:rgba(255,255,255,.985)!important}
html body #fh-overlay a,html body #fh-overlay .overlay-link{color:#1a1916!important}
html body #fh-overlay a[href*="areas-we-serve"]{color:var(--gw-accent)!important}
html body #fh-overlay span[style*="height:1.5px"]{background:#1a1916!important}
html body #fh-overlay span{color:var(--gw-mute)!important}
html body #fh-overlay a[href^="sms:"],html body #fh-overlay a[href^="tel:"]{color:#1a1916!important}

/* ── Mobile sticky bar ────────────────────────────────── */
html body #fh-sticky-cta{background:rgba(255,255,255,.97)!important;border-top:1px solid var(--gw-line)!important}
html body #fh-sticky-cta a[href^="tel:"]{color:#1a1916!important;border-color:#1a1916!important}

/* ── Reels on light ground ────────────────────────────── */
[data-fh-reels] section{background:#FFFFFF!important}
.fhr-float{background:#FFFFFF!important;box-shadow:0 16px 40px rgba(26,25,22,.18)!important}
.fhr-float [data-size]{background:#FFFFFF!important;color:#1a1916!important}

html body #fh-nav .menu-btn span,html body .menu-btn span{background:transparent!important}
/* Home hero keeps its photo; its buttons go white/ink */
.hero a[style*="background:#C07A2B"],.hero a[style*="background:#C07A2B"] *{background:#FFFFFF!important;color:#1a1916!important;border-color:#FFFFFF!important}
/* Dark gradient panels (e.g. Contact) become soft white */
:is(div,section,header)[style*="background:linear-gradient(135deg, rgba(14,13,11"]:not(:is(.hero,.gw-keep) *),:is(div,section,header)[style*="background:linear-gradient(135deg,rgba(14,13,11"]:not(:is(.hero,.gw-keep) *){background:var(--gw-soft)!important}
/* Olive accents from the suburb pages */
:is(section,div,header,footer,article,aside):is([style*="background:#5C6543"],[style*="background:#8C9272"],[style*="background:#454C32"],[style*="background:#201e1a"],[style*="background:linear-gradient(135deg,#2a2820"]):not(:is(.hero,.gw-keep) *){background:var(--gw-soft)!important;color:var(--gw-ink)!important}
:is([style*="color:#5C6543"],[style*="color:#8C9272"]):not(:is(.hero,.gw-keep) *){color:var(--gw-accent)!important}
[style*="color:#262A1E"]:not(:is(.hero,.gw-keep) *){color:var(--gw-ink)!important}
:is(a,button,span):is([style*="background:#5C6543"],[style*="background:#8C9272"]):not(:is(.hero,.gw-keep) *),:is(a,button,span):is([style*="background:#5C6543"],[style*="background:#8C9272"]):not(:is(.hero,.gw-keep) *) *{background:#1a1916!important;color:#FFFFFF!important;border-color:#1a1916!important}
[style*="border-top:1.5px solid #262A1E"]{border-top-color:#1a1916!important}
