/* R4: one finishing layer for the shared shell; the homepage owns its own surface. */
html {scroll-behavior:smooth}
html[data-theme] body[data-wdg-polish="r4"]{--r4-ink:var(--studio-on-dark);--r4-copy:var(--studio-on-dark-muted);--r4-line:var(--studio-border-dark);--r4-accent:var(--studio-accent-soft);--r4-gutter:clamp(22px,4.4vw,64px);--r4-width:1328px}
html[data-theme="light"] body[data-wdg-polish="r4"]{--r4-ink:var(--studio-ink);--r4-copy:var(--studio-copy);--r4-line:var(--studio-border);--r4-accent:var(--studio-accent)}
html[data-theme] body[data-wdg-polish="r4"] :is(.v245-reveal-section,.v245-reveal-section:not(.v245-in-view)){opacity:1!important;transform:none!important;visibility:visible!important;transition:none!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header{position:sticky!important;top:0!important;z-index:100!important;margin:0!important;padding:0!important;background:var(--studio-header)!important;border:0!important;border-bottom:1px solid var(--r4-line)!important;box-shadow:none!important;color:var(--studio-header-text)!important;backdrop-filter:blur(18px);font-family:'WDG Open Sans',sans-serif}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .container.nav-wrap{display:grid!important;grid-template-columns:auto 1fr auto!important;grid-template-rows:auto!important;align-items:center!important;gap:24px!important;max-width:var(--r4-width)!important;width:100%!important;min-height:84px!important;margin:auto!important;padding:14px var(--r4-gutter)!important;box-sizing:border-box!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .brand{grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:9px!important;font:750 16px/1.2 'WDG Manrope',sans-serif!important;letter-spacing:-.025em!important;color:var(--studio-header-text)!important;text-decoration:none!important;max-width:220px!important;min-width:0!important;opacity:1!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .brand::before{content:''!important;display:block!important;flex:none!important;width:30px!important;height:30px!important;background:#fff url('/assets/img/wdg-prism-r1.png') center/contain no-repeat!important;border:0!important;border-radius:6px!important;transform:none!important;filter:none!important;box-shadow:none!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .brand span{font:inherit!important;color:inherit!important;-webkit-text-fill-color:currentColor!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .site-nav{display:flex!important;grid-column:2!important;grid-row:1!important;align-items:center!important;justify-content:flex-end!important;gap:2px!important;flex-wrap:nowrap!important;position:static!important;width:auto!important;max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;opacity:1!important;visibility:visible!important;transform:none!important;overflow:visible!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .site-nav>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:10px 9px!important;margin:0!important;width:auto!important;flex:none!important;white-space:nowrap!important;font:600 13px/1.25 'WDG Open Sans',sans-serif!important;letter-spacing:0!important;color:var(--studio-header-muted)!important;-webkit-text-fill-color:currentColor!important;text-decoration:none!important;text-shadow:none!important;background:none!important;border:1px solid transparent!important;border-radius:5px!important;box-shadow:none!important;transform:none!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .site-nav>a:is(:hover,[aria-current=page]){color:var(--studio-header-text)!important;background:var(--studio-header-alt)!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .site-nav>a[aria-current=page]{text-decoration:underline!important;text-decoration-color:var(--r4-accent)!important;text-underline-offset:7px!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .site-nav>a.nav-cta{background:var(--studio-accent)!important;color:#fff!important;border-color:transparent!important;padding-inline:15px!important;margin-left:7px!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .r4-appearance{grid-column:3!important;grid-row:1!important;position:relative;margin:0;padding:0;border:0;background:none;color:var(--studio-header-text)}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .r4-appearance>summary,html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .r4-menu{font:600 12px/1.2 'WDG Open Sans',sans-serif!important;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;padding:9px 10px;box-sizing:border-box;color:var(--studio-header-text)!important;background:var(--studio-header-alt)!important;border:1px solid var(--r4-line)!important;border-radius:5px;list-style:none}
.r4-appearance>summary::-webkit-details-marker{display:none}.r4-appearance>summary::after{content:'+';font-size:17px}.r4-appearance[open]>summary::after{content:'−'}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .wdg-appearance{position:absolute!important;right:0!important;top:calc(100% + 12px)!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;min-width:260px!important;max-width:calc(100vw - 44px)!important;padding:18px!important;background:var(--studio-header)!important;border:1px solid var(--r4-line)!important;border-radius:8px!important;box-shadow:0 18px 50px #0003!important;box-sizing:border-box!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .wdg-appearance label{grid-column:1/-1!important;font:600 12px/1.4 'WDG Open Sans',sans-serif!important;color:var(--studio-header-muted)!important;margin:0!important;padding:0!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header :is(#wdg-palette,.wdg-mode-toggle){font:500 13px/1.4 'WDG Open Sans',sans-serif!important;min-height:44px!important;padding:8px 10px!important;width:100%!important;min-width:0!important;color:var(--studio-header-text)!important;background:var(--studio-control)!important;border:1px solid var(--r4-line)!important;border-radius:4px!important;box-shadow:none!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .r4-menu{display:none!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header :is(a,summary,button,select):focus-visible{outline:3px solid var(--r4-accent)!important;outline-offset:3px!important}
html[data-theme] body[data-wdg-polish="r4"] main [id]{scroll-margin-top:calc(var(--wdg-header-height,84px) + 24px)!important}
html[data-theme] body[data-wdg-polish="r4"] :is(.footer,.site-footer){font-family:'WDG Open Sans',sans-serif}
html[data-theme] body[data-wdg-polish="r4"] .footer{margin:0!important;padding:64px 0 24px!important;background:var(--studio-header)!important;color:var(--studio-header-muted)!important;border-top:1px solid var(--r4-line)!important}
html[data-theme] body[data-wdg-polish="r4"] .footer .container{width:100%!important;max-width:var(--r4-width)!important;margin-inline:auto!important;padding-inline:var(--r4-gutter)!important;box-sizing:border-box!important}
html[data-theme] body[data-wdg-polish="r4"] .expanded-footer-grid{display:grid!important;grid-template-columns:1.4fr .8fr .9fr 1fr!important;gap:36px!important;margin-bottom:42px!important}
html[data-theme] body[data-wdg-polish="r4"] .expanded-footer-grid a{display:block!important;min-height:38px;padding:8px 0;font-size:13px!important;font-weight:500!important;color:var(--studio-header-muted)!important;text-decoration:none!important;line-height:1.5}
html[data-theme] body[data-wdg-polish="r4"] .footer :is(p,.ai-disclosure,.copyright){font-size:12px!important;line-height:1.8!important;color:var(--studio-header-muted)!important;max-width:none!important}
html[data-theme] body[data-wdg-polish="r4"] .footer .footer-brand{font:700 17px/1.4 'WDG Manrope',sans-serif!important;color:var(--studio-header-text)!important}
html[data-theme] body[data-wdg-polish="r4"] .footer .footer-brand::before{display:none!important}
html[data-theme] body[data-wdg-polish="r4"] .footer .footer-heading{font:700 13px/1.4 'WDG Open Sans',sans-serif!important;margin:0 0 12px!important;color:var(--studio-header-text)!important}
html[data-theme] body[data-wdg-polish="r4"] .footer a{color:var(--r4-accent)!important;text-underline-offset:4px}
html[data-theme] body[data-wdg-polish="r4"] .footer a:hover{text-decoration:underline!important}
html[data-theme] body[data-wdg-polish="r4"] .footer .trust-footer-bar{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border:0!important;padding-block:22px!important;font-size:12px!important}
html[data-theme] body[data-wdg-polish="r4"] .trust-footer-bar nav{display:flex;gap:18px;flex-wrap:wrap}
html[data-theme] body[data-wdg-polish="r4"] .trust-footer-bar a{min-height:32px;display:inline-flex;align-items:center}
html[data-theme] body[data-wdg-polish="r4"] .site-creator-credit{display:block;padding-top:7px;font-size:11px}
@media(max-width:1199px){
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .container.nav-wrap{grid-template-columns:1fr auto!important;gap:10px 16px!important;min-height:74px!important;padding-block:14px!important;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .brand{max-width:240px!important}
html[data-theme] body[data-wdg-polish="r4"].r4-nav-ready #wdg-shared-header.wdg-shell-header .r4-menu{display:flex!important;grid-column:2;grid-row:1;font-size:13px!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .site-nav{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding-top:10px!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .site-nav>a{font-size:14px!important;justify-content:flex-start!important;padding:12px!important;min-height:48px!important;white-space:normal!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .site-nav>a.nav-cta{margin:0!important;justify-content:center!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .r4-appearance{grid-column:1/-1!important;grid-row:3!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .r4-appearance>summary{justify-content:space-between;padding-inline:12px;font-size:13px!important}
html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header.wdg-shell-header .wdg-appearance{position:static!important;margin-top:8px!important;min-width:0!important;max-width:none!important;width:100%!important;box-shadow:none!important}
html[data-theme] body[data-wdg-polish="r4"].r4-nav-ready:not(.r4-nav-open) #wdg-shared-header.wdg-shell-header :is(.site-nav,.r4-appearance){display:none!important}
}
@media(max-width:760px){html[data-theme] body[data-wdg-polish="r4"] .expanded-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px!important}html[data-theme] body[data-wdg-polish="r4"] .expanded-footer-grid>div:first-child{grid-column:1/-1}html[data-theme] body[data-wdg-polish="r4"] .expanded-footer-grid>div:last-child{grid-column:1/-1}html[data-theme] body[data-wdg-polish="r4"] .footer{padding-top:44px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}html[data-theme] body[data-wdg-polish="r4"] *,html[data-theme] body[data-wdg-polish="r4"] *::before,html[data-theme] body[data-wdg-polish="r4"] *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{html[data-theme] body[data-wdg-polish="r4"] #wdg-shared-header{position:static!important}.r4-menu,.r4-appearance{display:none!important}}

html[data-theme="light"][data-wdg-palette="galaxy"]{--studio-accent:#2f767b;--studio-accent-hover:#235b60;--studio-accent-soft:#2f767b;--studio-focus:#2f767b;--studio-metal:#2f767b;--theme-accent:#2f767b;--theme-aqua:#2f767b;--theme-link:#2f767b;--theme-button:#2f767b;--readable-accent:#2f767b;}
html[data-theme="light"][data-wdg-palette="solar"]{--studio-accent:#8e5d2b;--studio-accent-hover:#6e461e;--studio-accent-soft:#8e5d2b;--studio-focus:#8e5d2b;--studio-metal:#8e5d2b;--theme-accent:#8e5d2b;--theme-aqua:#8e5d2b;--theme-link:#8e5d2b;--theme-button:#8e5d2b;--readable-accent:#8e5d2b;}
html[data-theme="light"][data-wdg-palette="midnight"]{--studio-accent:#3c6080;--studio-accent-hover:#2c4a64;--studio-accent-soft:#3c6080;--studio-focus:#3c6080;--studio-metal:#3c6080;--theme-accent:#3c6080;--theme-aqua:#3c6080;--theme-link:#3c6080;--theme-button:#3c6080;--readable-accent:#3c6080;}
html[data-theme="light"][data-wdg-palette="nebula"]{--studio-accent:#604a67;--studio-accent-hover:#49374f;--studio-accent-soft:#604a67;--studio-focus:#604a67;--studio-metal:#604a67;--theme-accent:#604a67;--theme-aqua:#604a67;--theme-link:#604a67;--theme-button:#604a67;--readable-accent:#604a67;}
html[data-theme="light"][data-wdg-palette="emerald"]{--studio-accent:#315f49;--studio-accent-hover:#254838;--studio-accent-soft:#315f49;--studio-focus:#315f49;--studio-metal:#315f49;--theme-accent:#315f49;--theme-aqua:#315f49;--theme-link:#315f49;--theme-button:#315f49;--readable-accent:#315f49;}
html[data-theme="light"][data-wdg-palette="crimson"]{--studio-accent:#6f343b;--studio-accent-hover:#54272d;--studio-accent-soft:#6f343b;--studio-focus:#6f343b;--studio-metal:#6f343b;--theme-accent:#6f343b;--theme-aqua:#6f343b;--theme-link:#6f343b;--theme-button:#6f343b;--readable-accent:#6f343b;}

/* The Services light surface owns the background as well as the foreground. */
html[data-theme="light"] body[data-wdg-polish="r4"] main .services-v177-hero-shell{background:var(--studio-surface)!important;background-image:none!important;border:1px solid var(--studio-border)!important;border-radius:10px!important;box-shadow:none!important}
html[data-theme="light"] body[data-wdg-polish="r4"] main .services-v177-hero-shell h1{background:none!important;color:var(--studio-ink)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
html[data-theme="light"] body[data-wdg-polish="r4"] main .services-v177-hero-shell :is(p,.services-v177-hero-note){color:var(--studio-copy)!important;-webkit-text-fill-color:currentColor!important}
/* Older compact hero shells used a fixed purple wash even in light mode. */
html[data-theme="light"] body[data-wdg-polish="r4"][data-wdg-shell="r5"] main :is(.container.pricing-hero-grid,.container.service-detail-grid){background:var(--studio-surface)!important;background-image:none!important;border:1px solid var(--studio-border)!important;border-radius:10px!important;box-shadow:none!important}
html[data-theme="light"] body[data-wdg-polish="r4"][data-wdg-shell="r5"] main :is(.pricing-hero-grid,.service-detail-grid) h1{color:var(--studio-ink)!important;-webkit-text-fill-color:currentColor!important;background:none!important;text-shadow:none!important}
html[data-theme="light"] body[data-wdg-polish="r4"][data-wdg-shell="r5"] main :is(.pricing-hero-grid,.service-detail-grid) .lead{color:var(--studio-copy)!important;-webkit-text-fill-color:currentColor!important}
html[data-theme] body[data-wdg-polish="r4"] #main-content.selected-work-page .sr1-eyebrow{color:var(--r4-copy)!important;-webkit-text-fill-color:currentColor!important}
/* Consistent title measure and breathing room on the established inner-page heroes. */
html[data-theme] body[data-wdg-polish="r4"] main :is(.page-hero,.service-detail-hero,.services-redo-hero,.galaxy-intake-hero) h1,
html[data-theme] body#services-v177-page[data-wdg-polish="r4"] main #services-page-title{font-family:'WDG Manrope',sans-serif!important;font-size:clamp(34px,4.1vw,58px)!important;line-height:1.12!important;letter-spacing:-.045em!important;font-weight:650!important}
html[data-theme="light"] body[data-wdg-polish="r4"][data-wdg-shell="r5"] main :is(.container.pricing-hero-grid,.container.service-detail-grid,.container.services-v177-hero-shell){padding:clamp(22px,3vw,40px)!important;box-sizing:border-box!important;gap:clamp(28px,4vw,54px)!important}
html[data-theme="light"] body[data-wdg-polish="r4"][data-wdg-shell="r5"] main :is(.pricing-hero-grid,.service-detail-grid,.services-v177-hero-shell) .btn.primary{background:var(--studio-accent)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid var(--studio-accent)!important;border-radius:5px!important;box-shadow:none!important}
html[data-theme="light"] body[data-wdg-polish="r4"][data-wdg-shell="r5"] main :is(.pricing-hero-grid,.service-detail-grid,.services-v177-hero-shell) .btn.secondary{background:transparent!important;color:var(--studio-ink)!important;-webkit-text-fill-color:currentColor!important;border:1px solid var(--studio-border)!important;border-radius:5px!important;box-shadow:none!important}
