/* Original Evolved shared presentation. Enqueue AFTER style.css + integration.css.
 * Commercial content requires BOTH body classes. Editorial bodies stay untouched.
 * Layout ownership: native Elementor containers, studio.js navigation, evolved-home.css.
 */
body.th-evolved {
  --th-ev-ink:#102335;
  --th-ev-muted:#526472;
  --th-ev-edge:transparent;
  --th-ev-outline:transparent;
  --th-ev-fill:linear-gradient(130deg,rgba(255,255,255,.22),rgba(255,255,255,.06) 48%,rgba(214,235,252,.14));
  --th-ev-shadow:0 14px 38px rgba(26,64,96,.075);
  --th-ev-primary-shine:linear-gradient(180deg,rgba(255,255,255,.06),transparent 44%,rgba(0,40,85,.20));
  --th-ev-header-clearance:132px;
  --th-ev-admin-offset:0px;
}
body.th-evolved.admin-bar { --th-ev-admin-offset:32px; }
/* Target margins work without changing html scroll behaviour on editorial pages. */
body.th-evolved :is(main[id],main [id]) { scroll-margin-top:calc(var(--th-ev-header-clearance) + var(--th-ev-admin-offset)); }
body.th-evolved.th-commercial {
  --th-gutter:clamp(20px,5vw,76px);
  --th-ink:var(--th-ev-ink);
  --th-muted:var(--th-ev-muted);
  --th-paper:#fff;
  --th-line:#d4e2ed;
  --th-radius:20px;
  color:var(--th-ev-ink);
  background:#f7fafc;
}
/* Match the header's canvas to the hero without recolouring content sections. */
body.th-evolved.th-commercial main { background:#fff;font-family:"Avenir Next",Avenir,"Segoe UI",Arial,sans-serif;line-height:1.8; }
body.th-evolved.th-commercial main :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title) {
  font-family:inherit;color:inherit;font-weight:700;letter-spacing:-.035em;line-height:1.18;text-wrap:pretty;
}
body.th-evolved.th-commercial main :is(h1,.th-hero h1.elementor-heading-title) { font-size:clamp(2.6875rem,5vw,4.25rem);line-height:1.13;letter-spacing:-.045em; }
body.th-evolved.th-commercial main h2 { font-size:clamp(2.125rem,3.8vw,3.25rem); }
body.th-evolved.th-commercial main h3 { font-size:clamp(1.4rem,2.1vw,1.75rem); }
body.th-evolved.th-commercial main h3.elementor-heading-title { font-weight:650; }
body.th-evolved.th-commercial main :is(.th-eyebrow,.th-eyebrow .elementor-heading-title) {
  font-size:.7rem;font-weight:650;line-height:1.6;letter-spacing:.14em;text-transform:uppercase;color:#48647a;
}
body.th-evolved.th-commercial main :is(.th-lead,.th-lead p) { font-size:clamp(1rem,1.5vw,1.1875rem);line-height:1.85;color:var(--th-ev-muted);max-width:64ch; }
body.th-evolved.th-commercial main :is(.th-muted,.th-small) { color:var(--th-ev-muted); }
body.th-evolved.th-commercial main a:not(.elementor-button):not(.th-primary):not(.th-secondary) { color:#0063a6; }
body.th-evolved.th-commercial main .elementor-widget-text-editor { color:inherit;font-family:inherit; }
body.th-evolved.th-commercial main .elementor-widget-text-editor :is(p,li) { overflow-wrap:break-word; }
body.th-evolved.th-commercial main .elementor-widget-text-editor p:last-child { margin-bottom:0; }
/* Keep e-con-inner and widget widths: only opt-in section dimensions change. */
body.th-evolved.th-commercial main .th-section,
body.th-evolved.th-commercial main .elementor .e-con.th-section {
  --padding-top:clamp(3rem,6vw,6rem);--padding-bottom:clamp(3rem,6vw,6rem);
  padding-block:clamp(3rem,6vw,6rem);
}
body.th-evolved.th-commercial main .th-hero,
body.th-evolved.th-commercial main .elementor .e-con.th-hero {
  --padding-top:clamp(2.5rem,5vw,4rem);--padding-bottom:clamp(2.5rem,5vw,4rem);
  padding-block:clamp(2.5rem,5vw,4rem);
  text-align:center;background:radial-gradient(ellipse at 50% 55%,#d8ecfb9c,transparent 65%),radial-gradient(#9eb7cb52 1px,transparent 1px),#f7fafc;background-size:auto,25px 25px,auto;
}
body.th-evolved.th-commercial main .th-hero h1.elementor-heading-title { max-width:1000px;margin-inline:auto; }
body.th-evolved.th-commercial main .th-hero :is(.th-lead,.th-lead p) { margin-inline:auto; }
body.th-evolved.th-commercial main .th-hero .th-actions { justify-content:center; }
body.th-evolved.th-commercial main .th-hero .th-eyebrow { align-self:center;margin-inline:auto;text-align:center; }
body.th-evolved.th-commercial main .th-section.th-muted { background:#f4f8fb; }
body.th-evolved.th-commercial main .th-section.th-muted :is(h2,h3,.elementor-heading-title) { color:var(--th-ev-ink); }
body.th-evolved.th-commercial main .elementor .e-con.th-wrap { max-width:1280px; }
body.th-evolved.th-commercial main .th-card,
body.th-evolved.th-commercial main .elementor .e-con.th-card {
  position:relative;isolation:isolate;padding:clamp(1.5rem,3vw,2.5rem);
  border:1px solid var(--th-ev-edge);border-radius:20px;
  background-color:transparent;background-image:var(--th-ev-fill);
  outline:1px solid var(--th-ev-outline);box-shadow:var(--th-ev-shadow);
  -webkit-backdrop-filter:blur(14px) saturate(155%);backdrop-filter:blur(14px) saturate(155%);
}
body.th-evolved.th-commercial main .th-card h2 { font-size:clamp(1.5rem,2.2vw,2rem); }
body.th-evolved.th-commercial main .th-project img { aspect-ratio:auto;object-fit:contain;background:#edf4f9;border-radius:18px; }
body.th-evolved.th-commercial main .th-image img { border-radius:18px; }
/* Existing dark CTA sections become the approved pale-blue closing surface. */
body.th-evolved.th-commercial main .th-dark,
body.th-evolved.th-commercial main .elementor .e-con.th-dark { background:#e9f3fa;color:var(--th-ev-ink); }
body.th-evolved.th-commercial main .th-dark :is(.th-eyebrow,.th-eyebrow .elementor-heading-title,.th-lead,.th-lead p,.th-muted) { color:var(--th-ev-muted); }
/* The same button contract works on an anchor or a native widget wrapper. */
:is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-primary:not(.elementor-widget),.th-secondary:not(.elementor-widget),.th-primary .elementor-button,.th-secondary .elementor-button) {
  position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:.65rem;
  min-height:50px;max-width:100%;padding:.875rem 1.4rem;border:1px solid transparent;border-radius:999px;
  font:650 .875rem/1.35 "Avenir Next",Avenir,"Segoe UI",Arial,sans-serif;text-align:center;text-decoration:none;
  background-color:#026ebd;background-image:var(--th-ev-primary-shine);color:#fff;
  outline:1px solid transparent;box-shadow:0 7px 18px rgba(2,110,189,.18);
  -webkit-backdrop-filter:none;backdrop-filter:none;
  transition:background-color .18s,box-shadow .18s;
}
:is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-primary:not(.elementor-widget),.th-primary .elementor-button):hover {
  background-color:#005fa6;color:#fff;border-color:transparent;
  box-shadow:0 9px 23px rgba(2,110,189,.22);
}
:is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-secondary:not(.elementor-widget),.th-secondary .elementor-button) {
  color:#173b55;border-color:var(--th-ev-edge);background-color:transparent;
  background-image:var(--th-ev-fill);
  outline:1px solid transparent;box-shadow:var(--th-ev-shadow);
  -webkit-backdrop-filter:blur(14px) saturate(155%);backdrop-filter:blur(14px) saturate(155%);
}
:is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-secondary:not(.elementor-widget),.th-secondary .elementor-button):hover { background-color:rgba(227,242,253,.26);color:#173b55; }
/* Chrome remains shared on editorial pages, with no editorial typography reset. */
body.th-evolved :is(.th-site-header,.th-site-footer) { --th-gutter:clamp(20px,5vw,76px);font-family:"Avenir Next",Avenir,"Segoe UI",Arial,sans-serif; }
body.th-evolved .th-site-header {
  position:sticky;top:calc(10px + var(--th-ev-admin-offset));z-index:100;
  width:calc(100% - 24px);max-width:1280px;margin:10px auto 0;border:1px solid var(--th-ev-edge);border-radius:24px;
  background:transparent;isolation:isolate;
  outline:1px solid var(--th-ev-outline);box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  color:var(--th-ev-ink);transition:background .2s,box-shadow .2s;
}
/* A sibling material plane lets popovers sample the page, not a parent blur. */
body.th-evolved .th-site-header:before { content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:var(--th-ev-fill);box-shadow:0 10px 34px rgba(24,63,94,.09);-webkit-backdrop-filter:blur(14px) saturate(155%);backdrop-filter:blur(14px) saturate(155%); }
body.th-evolved .th-site-header.is-scrolled:before { background:linear-gradient(130deg,rgba(255,255,255,.36),rgba(237,247,254,.20));box-shadow:0 14px 36px rgba(24,63,94,.12); }
body.th-evolved .th-site-header .elementor .e-con.th-header-shell { padding:0;--padding-top:0;--padding-bottom:0; }
body.th-evolved .th-site-header .th-header,
body.th-evolved .th-site-header .elementor .e-con.th-header,
body.th-evolved .th-site-header .elementor .th-header>.e-con-inner {
  min-height:96px;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:1rem;
  --flex-direction:row;--align-items:center;--justify-content:space-between;--flex-wrap:nowrap;
}
body.th-evolved .th-site-header .th-header .elementor-widget-image img,
body.th-evolved :is(.th-site-header,.th-site-footer) :is(.custom-logo,.th-brand img) { object-fit:contain;aspect-ratio:auto;border-radius:0;background:none; }
body.th-evolved .th-site-header .th-menu { gap:.15rem .35rem;flex-wrap:nowrap; }
body.th-evolved :is(.th-site-header,.th-site-footer) .th-menu a { border-radius:999px;padding:.55rem .7rem;color:#17364d;transition:background .18s; }
body.th-evolved :is(.th-site-header,.th-site-footer) .th-menu a:hover { background:rgba(2,110,189,.09);color:#005d9f; }
body.th-evolved .th-site-header .th-menu>li { white-space:nowrap; }
body.th-evolved :is(.th-site-header,.th-site-footer) .th-menu .sub-menu {
  padding:.6rem;min-width:15rem;max-width:min(24rem,calc(100vw - 3rem));border:1px solid var(--th-ev-edge);border-radius:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.32),rgba(236,247,255,.18));color:#17364d;
  outline:1px solid var(--th-ev-outline);box-shadow:0 16px 36px rgba(22,61,92,.15);
  -webkit-backdrop-filter:blur(24px) saturate(170%);backdrop-filter:blur(24px) saturate(170%);
}
body.th-evolved :is(.th-site-header,.th-site-footer) .sub-menu a { display:block;white-space:normal;border-radius:11px; }
body.th-evolved .th-site-header .th-menu>li:last-child>.sub-menu { left:auto;right:0; }
body.th-evolved :is(.th-site-header,.th-site-footer) .th-submenu-toggle { border-radius:999px;color:#17364d;min-width:36px;min-height:44px; }
body.th-evolved .th-main-toggle { border-radius:999px;border-color:var(--th-ev-edge);background:transparent;color:#17364d;outline:1px solid var(--th-ev-outline);box-shadow:none; }
/* Controls within a material are flat overlays, never another glass surface. */
body.th-evolved .th-site-header .elementor :is(.th-primary .elementor-button,.th-secondary .elementor-button,.th-main-toggle,.th-submenu-toggle),
body.th-evolved.th-commercial main .elementor .th-card :is(.th-secondary .elementor-button,.th-secondary:not(.elementor-widget)) { background-image:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none; }
body.th-evolved .th-site-header .elementor .th-primary .elementor-button { background-color:#026ebd;background-image:var(--th-ev-primary-shine);color:#fff; }
body.th-evolved .th-site-header .elementor .th-primary .elementor-button:hover { background-color:#005fa6; }
body.th-evolved .th-site-header .elementor :is(.th-primary .elementor-button,.th-secondary .elementor-button,.th-main-toggle,.th-submenu-toggle):hover { box-shadow:none; }
body.th-evolved .th-site-header :is(.th-main-toggle,.th-submenu-toggle):hover { background:rgba(2,110,189,.09); }
body.th-evolved.th-commercial main .elementor .e-con.th-card .e-con.th-card { background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none; }
body.th-evolved .th-site-footer { border-top:1px solid #d4e2ed;background:linear-gradient(145deg,#fff,#eff6fb);color:var(--th-ev-ink); }
body.th-evolved .th-site-footer :is(.th-muted,.th-small,.elementor-widget-text-editor) { color:var(--th-ev-muted); }
body.th-evolved .th-site-footer .th-menu { flex-wrap:wrap;gap:.3rem .75rem; }
body.th-evolved .th-site-footer .th-footer-layout,
body.th-evolved .th-site-footer .th-footer-layout>.e-con-inner { align-items:start;gap:clamp(2rem,5vw,5rem); }
body.th-evolved .th-site-footer .th-footer-links { min-width:0; }
body.th-evolved .th-site-footer .th-footer-links .th-nav { display:block;margin:0;font-size:.9rem; }
body.th-evolved .th-site-footer .th-footer-links .th-menu { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.25rem 1.5rem; }
body.th-evolved .th-site-footer .th-footer-links .th-menu a { display:inline-block;padding:.5rem 0;border-radius:0;background:none;line-height:1.6; }
body.th-evolved .th-site-footer .th-footer-links .th-menu a:hover { background:none;text-decoration:underline; }
/* Legacy footer Button widgets are links, not a second wall of pill CTAs. */
body.th-evolved .th-site-footer .th-secondary.elementor-widget .elementor-button,
body.th-evolved .th-site-footer a.th-secondary:not(.elementor-widget) {
  color:#173b55;min-height:44px;padding:.5rem 0;border:0;border-radius:0;
  background:none;outline:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;
  font-size:.875rem;justify-content:flex-start;
}
body.th-evolved .th-site-footer .th-secondary.elementor-widget .elementor-button:hover,
body.th-evolved .th-site-footer a.th-secondary:not(.elementor-widget):hover { background:none;color:#005d9f;text-decoration:underline; }
body.th-evolved .th-site-footer .th-secondary.elementor-widget .elementor-button:focus-visible,
body.th-evolved .th-site-footer a.th-secondary:not(.elementor-widget):focus-visible { outline:3px solid #026ebd;outline-offset:5px; }
:is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(a,button,input,textarea,select,summary):focus-visible { outline:3px solid #026ebd;outline-offset:5px; }
/* Borderless at rest must not suppress a keyboard user's focus indicator. */
body.th-evolved.th-commercial main .elementor .e-con.th-card:focus-visible,
:is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-primary .elementor-button,.th-secondary .elementor-button,.th-primary:not(.elementor-widget),.th-secondary:not(.elementor-widget),.th-main-toggle,.th-submenu-toggle):focus-visible { outline:3px solid #026ebd;outline-offset:5px; }
@media (max-width:1100px) and (min-width:1001px) {
  body.th-evolved .th-site-header .th-nav { font-size:.8rem; }
  body.th-evolved .th-site-header .th-menu a { padding-inline:.4rem; }
  body.th-evolved .th-site-header .th-header .th-primary .elementor-button { padding-inline:1rem;font-size:.8rem; }
}
@media (max-width:1000px) {
  body.th-evolved { --th-ev-header-clearance:108px; }
  body.th-evolved .th-site-header { top:var(--th-ev-admin-offset);width:calc(100% - 12px);margin-top:6px;border-radius:19px; }
  body.th-evolved .th-site-header .elementor .e-con.th-header { min-height:82px;gap:.7rem; }
  /* Let the dropdown use the full-width th-wrap, not its narrow widget column. */
  body.th-evolved .th-site-header .elementor .e-con.th-header,
  body.th-evolved .th-site-header .th-header>.elementor-widget-shortcode { position:static; }
  body.th-evolved .th-site-header .th-nav.is-enhanced .th-menu {
    top:calc(100% + 8px);left:0;right:0;max-height:calc(100dvh - 115px - var(--th-ev-admin-offset));overflow-y:auto;overscroll-behavior:contain;
    padding:12px;border:1px solid var(--th-ev-edge);border-radius:19px;
    background:linear-gradient(135deg,rgba(255,255,255,.32),rgba(236,247,255,.18));
    outline:1px solid var(--th-ev-outline);box-shadow:0 16px 36px rgba(22,61,92,.15);
    -webkit-backdrop-filter:blur(24px) saturate(170%);backdrop-filter:blur(24px) saturate(170%);
  }
  body.th-evolved .th-site-header .th-menu a { padding:.7rem .75rem;border-radius:11px; }
  body.th-evolved .th-site-header .th-menu .sub-menu { position:static;min-width:0;max-width:100%;margin:.25rem .5rem .75rem;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none; }
}
@media (max-width:782px) { body.th-evolved.admin-bar { --th-ev-admin-offset:46px; } }
/* WP's compact admin toolbar scrolls away; don't reserve a permanent empty band. */
@media (max-width:600px) { body.th-evolved.admin-bar { --th-ev-admin-offset:0px; } }
@media (max-width:700px) {
  body.th-evolved.th-commercial main .elementor .e-con.th-section { --padding-top:2.5rem;--padding-bottom:2.5rem;padding-block:2.5rem; }
  body.th-evolved .th-site-header .th-header { padding-block:0; }
  body.th-evolved .th-site-header .th-header .th-primary .elementor-button { min-height:44px;padding:.7rem .8rem;font-size:.75rem; }
}
@media (max-width:360px) {
  body.th-evolved .th-site-header .th-header .elementor-widget-image { width:90px;flex-basis:90px; }
  body.th-evolved .th-site-header .th-header .elementor-widget-image img { width:90px; }
  body.th-evolved .th-site-header .elementor .e-con.th-header { gap:.4rem; }
  body.th-evolved .th-site-header .th-main-toggle { padding-inline:.55rem; }
  body.th-evolved .th-site-header .th-header .th-primary .elementor-button { font-size:.6875rem;padding-inline:.65rem; }
}
/* Opaque fallback is intentional, not an invisible substitute for missing blur. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  body.th-evolved .th-site-header:before,
  body.th-evolved .th-site-header.is-scrolled:before { background:#f7fbfe; }
  body.th-evolved { --th-ev-fill:linear-gradient(135deg,#fff,#edf5fb); }
  body.th-evolved .th-site-header,
  body.th-evolved .th-site-header.is-scrolled,
  body.th-evolved :is(.th-site-header,.th-site-footer) :is(.sub-menu,.th-nav.is-enhanced .th-menu),
  body.th-evolved.th-commercial main .th-card,
  body.th-evolved.th-commercial main .elementor .e-con.th-card { background-color:#f7fbfe;background-image:linear-gradient(135deg,#fff,#edf5fb); }
  :is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-secondary:not(.elementor-widget),.th-secondary .elementor-button) { background-color:#f7fbfe;background-image:linear-gradient(135deg,#fff,#edf5fb); }
}
@media (prefers-reduced-transparency:reduce) {
  body.th-evolved .th-site-header .elementor .th-primary .elementor-button { background:#026ebd;color:#fff; }
  body.th-evolved .th-site-header .elementor .th-primary .elementor-button:hover { background:#005fa6;color:#fff; }
  body.th-evolved .th-site-header:before,
  body.th-evolved .th-site-header.is-scrolled:before { background:#f7fbfe;-webkit-backdrop-filter:none;backdrop-filter:none; }
  body.th-evolved { --th-ev-fill:linear-gradient(135deg,#fff,#edf5fb); }
  body.th-evolved .th-site-header,
  body.th-evolved .th-site-header.is-scrolled,
  body.th-evolved :is(.th-site-header,.th-site-footer) :is(.sub-menu,.th-nav.is-enhanced .th-menu),
  body.th-evolved.th-commercial main .th-card,
  body.th-evolved.th-commercial main .elementor .e-con.th-card { background-color:#f7fbfe;background-image:linear-gradient(135deg,#fff,#edf5fb);-webkit-backdrop-filter:none;backdrop-filter:none; }
  :is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-primary:not(.elementor-widget),.th-secondary:not(.elementor-widget),.th-primary .elementor-button,.th-secondary .elementor-button,.th-main-toggle) { -webkit-backdrop-filter:none;backdrop-filter:none; }
  :is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-primary:not(.elementor-widget),.th-primary .elementor-button) { background-color:#026ebd;color:#fff; }
  :is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-primary:not(.elementor-widget),.th-primary .elementor-button):hover { background-color:#005fa6;color:#fff; }
  :is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-secondary:not(.elementor-widget),.th-secondary .elementor-button) { background-color:#f7fbfe;background-image:linear-gradient(135deg,#fff,#edf5fb); }
}
@media (forced-colors:active) {
  body.th-evolved .th-site-header:before { background:Canvas;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none; }
  body.th-evolved .th-site-header,
  body.th-evolved .th-site-header.is-scrolled,
  body.th-evolved :is(.th-site-header,.th-site-footer) :is(.sub-menu,.th-nav.is-enhanced .th-menu,.th-main-toggle,.th-submenu-toggle),
  body.th-evolved.th-commercial main .th-card,
  body.th-evolved.th-commercial main .elementor .e-con.th-card,
  :is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(.th-primary:not(.elementor-widget),.th-secondary:not(.elementor-widget),.th-primary .elementor-button,.th-secondary .elementor-button) {
    background:Canvas;color:CanvasText;border:1px solid CanvasText;outline-color:CanvasText;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.th-evolved .th-site-header,
  :is(body.th-evolved.th-commercial main,body.th-evolved .th-site-header,body.th-evolved .th-site-footer) :is(a,button) { transition:none; }
}
