/* Syndio Header */
/* Selectors are prefixed with html:not(#syn#syn) (always matches <html>) to outrank
   the theme's ID-based rules like "#container .entry-content p". Sizes are in px
   because the theme sets html{font-size:10px}, which would shrink rem values. */
html:not(#syn#syn) .fl-module-content:has(> .syn-header-wrap){margin:0}
html:not(#syn#syn) .syn-header-wrap{--hd-h:68px;--hd-top:0px}
html:not(#syn#syn) .admin-bar .syn-header-wrap{--hd-top:32px}
@media (max-width:782px){html:not(#syn#syn) .admin-bar .syn-header-wrap{--hd-top:46px}}

/* ---------- bar ---------- */
html:not(#syn#syn) .syn-header{position:fixed;top:calc(var(--hd-top) + var(--hd-banner,0px) + env(safe-area-inset-top,0px));left:0;right:0;z-index:1000;overflow:visible;color:var(--syn-ink);background:rgba(243,240,232,.86);backdrop-filter:saturate(1.2) blur(16px);-webkit-backdrop-filter:saturate(1.2) blur(16px);border-bottom:1px solid transparent;transition:background .3s,border-color .3s}
/* Scrolling down hides the header (slides up out of the screen); scrolling up brings it back. */
html:not(#syn#syn) .syn-header{transition:background .3s,border-color .3s,transform .45s var(--syn-ease)}
/* While the page loads (until the script has set the header's state): no background and no
   transitions, so it never flashes the light background before turning transparent. */
html:not(#syn#syn) .syn-header.is-loading{background:transparent !important;border-bottom-color:transparent !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important}
html:not(#syn#syn) .syn-header.is-loading,html:not(#syn#syn) .syn-header.is-loading *{transition:none !important}
html:not(#syn#syn) .syn-header.is-hidden{transform:translateY(calc(-100% - var(--hd-top) - var(--hd-banner,0px) - env(safe-area-inset-top,0px)));pointer-events:none}
html:not(#syn#syn) .syn-header.is-solid{border-bottom-color:var(--syn-line);background:rgba(243,240,232,.85)}
html:not(#syn#syn) .syn-header.is-open{background:var(--syn-paper);border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
/* Spacer = header height + its 1px bottom border. */
html:not(#syn#syn) .syn-header-spacer{height:calc(var(--hd-h) + 1px)}
/* The Themer header that holds this module must stay in the page flow (not fixed/absolute):
   - otherwise the spacer can't push the content down;
   - and when the Syndio header sits lower than the Themer box (HubSpot banner open, or the
     WordPress admin bar), Chrome clips the header's background blur at the Themer box's bottom
     edge, which shows up as a line across the header while scrolling.
   The site has "body > header{position:fixed}" and the Themer "Overlay" option makes it
   absolute; .syn-header is already fixed by itself. */
html:not(#syn#syn) header.fl-builder-content:has(.syn-header-wrap){position:static !important;top:auto !important}

html:not(#syn#syn) .syn-header__bar{display:flex;align-items:center;justify-content:space-between;height:var(--hd-h);gap:32px}
html:not(#syn#syn) .syn-header__logo{display:inline-flex;align-items:center;height:20px;color:var(--syn-ink);transition:color .3s;flex:none}
html:not(#syn#syn) .syn-header__logo svg,html:not(#syn#syn) .syn-header__logo img{height:100%;width:auto;max-width:none}
html:not(#syn#syn) .syn-header__nav{display:flex;gap:2.4px;margin-left:44px;flex:1}
html:not(#syn#syn) .syn-header__right{display:flex;align-items:center;gap:5.6px}

html:not(#syn#syn) .syn-header .syn-header__item{display:inline-flex;gap:5.6px;align-items:center;padding:7.2px 12px;font-size:14.72px;line-height:1.55;letter-spacing:-.012em;color:rgba(22,21,19,.72);border-radius:999px;white-space:nowrap;transition:color .2s,background .2s}
html:not(#syn#syn) .syn-header .syn-header__item:hover,html:not(#syn#syn) .syn-header .syn-header__item[aria-expanded="true"]{color:var(--syn-ink);background:rgba(22,21,19,.05)}
html:not(#syn#syn) .syn-header__chev{width:10px;height:10px;transition:transform .35s var(--syn-ease)}
html:not(#syn#syn) .syn-header__item[aria-expanded="true"] .syn-header__chev{transform:rotate(180deg)}

html:not(#syn#syn) .syn-header .syn-header__demo{height:39.2px;padding:0 16.8px;font-size:13.44px;background:var(--syn-ink);color:var(--syn-paper);border-color:var(--syn-ink)}
html:not(#syn#syn) .syn-header .syn-header__demo:hover{background:var(--syn-volt);color:var(--syn-ink);border-color:var(--syn-volt)}

/* burger: two lines that turn into an X */
html:not(#syn#syn) .syn-header__burger{display:none;position:relative;width:44px;height:44px;margin-right:-10px;color:var(--syn-ink)}
html:not(#syn#syn) .syn-header__burger span{position:absolute;left:11px;width:22px;height:1.6px;border-radius:2px;background:currentColor;transition:transform .4s var(--syn-ease),top .4s var(--syn-ease)}
html:not(#syn#syn) .syn-header__burger span:first-child{top:17px}
html:not(#syn#syn) .syn-header__burger span:last-child{top:25px}
html:not(#syn#syn) .syn-header__burger[aria-expanded="true"] span:first-child{top:21px;transform:rotate(45deg)}
html:not(#syn#syn) .syn-header__burger[aria-expanded="true"] span:last-child{top:21px;transform:rotate(-45deg)}

/* Transparent modes (set by the marker modules, see syndio-header-transparent*):
   - #syn-header-transparent       white text/logo over a dark top section
   - #syn-header-transparent-dark  dark text/logo over a light top section
   Both get the background once the page has scrolled to the point where the header starts hiding
   (JS adds .is-past); above that point they stay without one. */
html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header:not(.is-past):not(.is-open),html:not(#syn#syn) .syn-header.is-mobile-open{background:transparent;color:#fff;border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header:not(.is-past):not(.is-open) .syn-header__logo,html:not(#syn#syn) .syn-header.is-mobile-open .syn-header__logo{color:#fff}
html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header:not(.is-past):not(.is-open) .syn-header__item{color:rgba(255,255,255,.82)}
html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header:not(.is-past):not(.is-open) .syn-header__item:hover,html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header:not(.is-past):not(.is-open) .syn-header__item[aria-expanded="true"]{color:#fff;background:rgba(255,255,255,.1)}
html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header:not(.is-past):not(.is-open) .syn-header__demo{background:#fff;color:var(--syn-ink);border-color:#fff}
html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header:not(.is-past):not(.is-open) .syn-header__demo:hover{background:var(--syn-volt);color:var(--syn-ink);border-color:var(--syn-volt)}
html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header:not(.is-past):not(.is-open) .syn-header__burger,html:not(#syn#syn) .syn-header.is-mobile-open .syn-header__burger{color:#fff}

html:not(#syn#syn) body:has(#syn-header-transparent-dark) .syn-header:not(.is-past):not(.is-open):not(.is-mobile-open){background:transparent;border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}

/* Space below the header (default). Removed when the page has an overlap or transparent marker. */
html:not(#syn#syn) body:has(#syn-header-overlap, #syn-header-transparent, #syn-header-transparent-dark) .syn-header-spacer{display:none}

/* The theme adds padding-top:56px !important to the page wrapper on mobile for the old header. */
@media (max-width:991px){
  html:not(#syn#syn) body:has(.syn-header-wrap) #container #page #smooth-content > .row,html:not(#syn#syn) body:has(.syn-header-wrap) #container-26 #page #smooth-content > .row{padding-top:0 !important}
}

/* ---------- desktop dropdown ---------- */
html:not(#syn#syn) .syn-header__mega{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s var(--syn-ease);background:var(--syn-paper);color:var(--syn-ink)}
html:not(#syn#syn) .syn-header__mega.is-open{grid-template-rows:1fr}
html:not(#syn#syn) .syn-header__mega-clip{overflow:hidden;min-height:0}
html:not(#syn#syn) .syn-header__mega-in{display:grid;grid-template-columns:1.45fr .8fr;gap:clamp(32px,5vw,80px);padding:20px var(--syn-gutter) 44px;max-width:1440px;margin-inline:auto;border-top:1px solid var(--syn-line)}
html:not(#syn#syn) .syn-header__mega-cols{display:grid;grid-template-columns:1fr 1fr;gap:0 48px;counter-reset:syn-dd;align-content:start}
html:not(#syn#syn) .syn-header__mega-cols a{display:block;padding:16.8px 0 15.2px;border-bottom:1px solid var(--syn-line);counter-increment:syn-dd}
html:not(#syn#syn) .syn-header__mega-cols a:hover b{opacity:.55}
html:not(#syn#syn) .syn-header__mega-cols b{display:block;font-family:var(--syn-sans);font-weight:500;font-size:20.8px;letter-spacing:-.015em;line-height:1.15;transition:opacity .2s}
html:not(#syn#syn) .syn-header__mega-cols b::before{content:counter(syn-dd,decimal-leading-zero);display:block;font-family:var(--syn-mono);font-size:9.92px;letter-spacing:.14em;color:var(--syn-muted);font-weight:400;margin-bottom:6.4px}
html:not(#syn#syn) .syn-header__mega-cols span{display:block;font-size:13.76px;color:var(--syn-muted);margin-top:5.6px;line-height:1.4}
html:not(#syn#syn) .syn-header .syn-header__card{position:relative;border-radius:16px;overflow:hidden;min-height:240px;display:flex;align-items:flex-end;padding:21.6px;background-size:cover;background-position:center;color:#fff}
html:not(#syn#syn) .syn-header__card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,13,12,.05),rgba(14,13,12,.62)),linear-gradient(rgba(14,13,12,.48),rgba(14,13,12,.48));transition:opacity .4s}
html:not(#syn#syn) .syn-header__card:hover::before{opacity:.8}
html:not(#syn#syn) .syn-header__card>span{position:relative;display:block}
html:not(#syn#syn) .syn-header__card .syn-eyebrow{display:block;color:var(--syn-paper)}
html:not(#syn#syn) .syn-header__card .syn-h3{display:block;font-size:27.2px;max-width:12ch;margin-top:6.4px}

html:not(#syn#syn) .syn-header__backdrop{position:fixed;inset:0;background:rgba(22,21,19,.28);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:999;opacity:0;pointer-events:none;transition:opacity .35s}
html:not(#syn#syn) .syn-header__backdrop.is-on{opacity:1;pointer-events:auto}

/* ---------- mobile menu ---------- */
html:not(#syn#syn) .syn-header__mobile{display:none}

@media (min-width:1001px){
  html:not(#syn#syn) .syn-header__bar{display:grid;grid-template-columns:1fr auto 1fr}
  html:not(#syn#syn) .syn-header__nav{margin-left:0;flex:none;justify-self:center}
  html:not(#syn#syn) .syn-header__right{justify-self:end}
}

@media (max-width:1000px){
  html:not(#syn#syn) .syn-header__nav,html:not(#syn#syn) .syn-header .syn-header__login,html:not(#syn#syn) .syn-header .syn-header__demo,html:not(#syn#syn) .syn-header__mega,html:not(#syn#syn) .syn-header__backdrop{display:none}
  html:not(#syn#syn) .syn-header__burger{display:inline-block}

  html:not(#syn#syn) .syn-header__mobile{position:fixed;inset:0;z-index:999;display:flex;flex-direction:column;padding:calc(var(--hd-top) + var(--hd-banner,0px) + env(safe-area-inset-top,0px) + var(--hd-h) + 8px) var(--syn-gutter) calc(24px + env(safe-area-inset-bottom,0px));overflow:hidden;transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .35s,transform .45s var(--syn-ease),visibility 0s .35s}
  html:not(#syn#syn) .syn-header__mobile.is-open{opacity:1;transform:none;visibility:visible;transition-delay:0s}

  /* The menu list takes the free space; an open dropdown shrinks and scrolls so every main item stays visible. */
  html:not(#syn#syn) .syn-header__mnav{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain}
  html:not(#syn#syn) .syn-header__mobile .syn-header__row{flex:none;display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;font-family:var(--syn-serif);font-weight:400;font-size:clamp(33.6px,7vw,48px);line-height:1.1;letter-spacing:-.03em;padding:13.6px 0;border-bottom:1px solid rgba(255,255,255,.14);color:#fff}
  /* + that turns into − : the vertical bar rotates 90deg to lie on the horizontal one */
  html:not(#syn#syn) .syn-header__plus{position:relative;flex:none;width:18px;height:18px;margin-right:2px}
  html:not(#syn#syn) .syn-header__plus::before,html:not(#syn#syn) .syn-header__plus::after{content:"";position:absolute;left:0;top:50%;width:100%;height:1.5px;margin-top:-.75px;border-radius:2px;background:currentColor;transition:transform .4s var(--syn-ease)}
  html:not(#syn#syn) .syn-header__plus::after{transform:rotate(90deg)}
  html:not(#syn#syn) .syn-header__row[aria-expanded="true"] .syn-header__plus::after{transform:rotate(180deg)}
  html:not(#syn#syn) .syn-header__sub{flex:0 1 auto;min-height:0;display:grid;grid-template-rows:minmax(0,0fr);transition:grid-template-rows .4s var(--syn-ease)}
  html:not(#syn#syn) .syn-header__sub.is-open{grid-template-rows:minmax(0,1fr)}
  html:not(#syn#syn) .syn-header__sub-in{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:13.6px}
  html:not(#syn#syn) .syn-header__sub.is-open .syn-header__sub-in{overflow-y:auto;overscroll-behavior:contain;padding:12.8px 0 19.2px}
  html:not(#syn#syn) .syn-header__sub-in a{flex:none;color:rgba(255,255,255,.72);font-size:16.8px}
  html:not(#syn#syn) .syn-header__sub-in a:hover{color:#fff}

  html:not(#syn#syn) .syn-header__mcta{flex:none;display:flex;gap:9.6px;padding-top:24px}
  html:not(#syn#syn) .syn-header__mcta .syn-header__mlogin{width:auto;flex:none}
  html:not(#syn#syn) .syn-header__mcta .syn-header__mdemo{width:auto;flex:1 1 auto;justify-content:space-between}
}

/* Inside the Beaver Builder editor keep it in the page so it's easy to edit. */
html:not(#syn#syn) .fl-builder-edit .syn-header{position:relative;top:0}
html:not(#syn#syn) .fl-builder-edit .syn-header__mobile,html:not(#syn#syn) .fl-builder-edit .syn-header__backdrop{display:none}

/* ---------- link colours on hover ----------
   The site has "body > header a:not(.fl-button):hover{color:#fff !important}", which
   turns every link inside the Themer header white on hover. These restore the right colours. */
html:not(#syn#syn) .syn-header-wrap .syn-header__logo:hover{color:inherit !important}
html:not(#syn#syn) .syn-header-wrap .syn-header .syn-header__item:hover{color:var(--syn-ink) !important}
html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header-wrap .syn-header:not(.is-past):not(.is-open) .syn-header__item:hover{color:#fff !important}
html:not(#syn#syn) .syn-header-wrap .syn-header .syn-header__demo:hover{color:var(--syn-ink) !important}
html:not(#syn#syn) .syn-header-wrap .syn-header__mega-cols a:hover{color:var(--syn-ink) !important}
html:not(#syn#syn) .syn-header-wrap .syn-header .syn-header__card:hover{color:#fff !important}
html:not(#syn#syn) .syn-header-wrap .syn-header__mobile .syn-header__row:hover,html:not(#syn#syn) .syn-header-wrap .syn-header__sub-in a:hover{color:#fff !important}
html:not(#syn#syn) .syn-header-wrap .syn-header__mobile .syn-btn:hover{color:var(--syn-ink) !important}

/* ---------- keyboard focus ----------
   The ring follows the header's colours (--hd-focus): dark by default, white over a dark
   top section (transparent mode) and in the open mobile menu. Items also get their hover
   look while focused, so the current item is easy to spot. */
html:not(#syn#syn) .syn-header{--hd-focus:var(--syn-ink)}
html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header:not(.is-past):not(.is-open),html:not(#syn#syn) .syn-header.is-mobile-open{--hd-focus:#fff}
html:not(#syn#syn) .syn-header-wrap :focus-visible{outline:2px solid var(--hd-focus) !important;outline-offset:2px}
html:not(#syn#syn) .syn-header-wrap .syn-header__mega :focus-visible{outline-color:var(--syn-ink) !important}
html:not(#syn#syn) .syn-header-wrap .syn-header__mobile :focus-visible{outline-color:#fff !important}
html:not(#syn#syn) .syn-header .syn-header__item:focus-visible{color:var(--syn-ink) !important;background:rgba(22,21,19,.05)}
html:not(#syn#syn) body:has(#syn-header-transparent) .syn-header-wrap .syn-header:not(.is-past):not(.is-open) .syn-header__item:focus-visible{color:#fff !important;background:rgba(255,255,255,.14)}
html:not(#syn#syn) .syn-header-wrap .syn-header__mega-cols a:focus-visible{color:var(--syn-ink) !important}
html:not(#syn#syn) .syn-header__mega-cols a:focus-visible b{opacity:.55}
/* The panel clips its content (open/close animation), so its rings sit inside the links. */
html:not(#syn#syn) .syn-header__mega-cols a:focus-visible,html:not(#syn#syn) .syn-header__card:focus-visible{outline-offset:-2px}

/* ---------- over a dark section (modules marked with [data-syn-header-dark]) ----------
   White content on a dark translucent background (the blur stays). An open dropdown or mobile
   menu keeps its own look, so these rules don't apply while .is-open / .is-mobile-open. */
html:not(#syn#syn) .syn-header.is-dark:not(.is-open):not(.is-mobile-open){background:rgb(0 0 0 / 14%);backdrop-filter:saturate(1.2) blur(16px) brightness(.9);-webkit-backdrop-filter:saturate(1.2) blur(16px) brightness(.9);border-bottom-color:#9191913b;color:#fff;--hd-focus:#fff}
html:not(#syn#syn) .syn-header.is-dark:not(.is-open):not(.is-mobile-open) .syn-header__logo{color:#fff}
html:not(#syn#syn) .syn-header.is-dark:not(.is-open):not(.is-mobile-open) .syn-header__item{color:rgba(255,255,255,.82)}
html:not(#syn#syn) .syn-header.is-dark:not(.is-open):not(.is-mobile-open) .syn-header__item:hover,html:not(#syn#syn) .syn-header.is-dark:not(.is-open):not(.is-mobile-open) .syn-header__item[aria-expanded="true"]{color:#fff;background:rgba(255,255,255,.1)}
html:not(#syn#syn) .syn-header-wrap .syn-header.is-dark:not(.is-open):not(.is-mobile-open) .syn-header__item:hover{color:#fff !important}
html:not(#syn#syn) .syn-header-wrap .syn-header.is-dark:not(.is-open):not(.is-mobile-open) .syn-header__item:focus-visible{color:#fff !important;background:rgba(255,255,255,.14)}
html:not(#syn#syn) .syn-header.is-dark:not(.is-open):not(.is-mobile-open) .syn-header__demo{background:#fff;color:var(--syn-ink);border-color:#fff}
html:not(#syn#syn) .syn-header.is-dark:not(.is-open):not(.is-mobile-open) .syn-header__demo:hover{background:var(--syn-volt);color:var(--syn-ink);border-color:var(--syn-volt)}
html:not(#syn#syn) .syn-header.is-dark:not(.is-open):not(.is-mobile-open) .syn-header__burger{color:#fff}
