/* Syndio Governed AI */
/* 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) .syn-gov{--gov-dur:7000ms;position:relative;min-height:100svh;display:flex;align-items:center;color:#fff;overflow:hidden;background:var(--syn-black)}
html:not(#syn#syn) .syn-gov__bgs,html:not(#syn#syn) .syn-gov__scrim{position:absolute;inset:0}
html:not(#syn#syn) .syn-gov__bg{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;opacity:0;transition:opacity .8s var(--syn-ease)}
html:not(#syn#syn) .syn-gov__bg.is-on{opacity:1}
html:not(#syn#syn) .syn-gov__scrim{background:rgba(14,13,12,.58)}
html:not(#syn#syn) .syn-gov__in{position:relative;z-index:1;padding-block:clamp(104px,12vh,128px)}

html:not(#syn#syn) .syn-gov .syn-eyebrow{margin:0 0 16px;color:rgba(255,255,255,.72)}
html:not(#syn#syn) .syn-gov .syn-gov__title{margin:0;max-width:100%;font-size:clamp(38.4px,4vw,57.6px);line-height:1;letter-spacing:-.03em;color:#fff}
html:not(#syn#syn) .syn-gov__sub{margin:12px 0 0;max-width:704px;font-size:15.7px;line-height:1.45;color:rgba(255,255,255,.72)}

/* ---------- tabs with a progress bar ---------- */
html:not(#syn#syn) .syn-gov__tabs{position:relative;display:grid;grid-template-columns:repeat(var(--gov-n),minmax(0,1fr));align-items:end;gap:24px;width:100%;margin:clamp(30px,4.2vh,43px) 0 0;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.32)}
html:not(#syn#syn) .syn-gov .syn-gov__tab{position:relative;display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:rgba(255,255,255,.5);font-family:var(--syn-sans);font-size:15.2px;font-weight:400;line-height:1.35;letter-spacing:-.014em;text-align:left;cursor:pointer;transition:color .3s var(--syn-ease)}
html:not(#syn#syn) .syn-gov .syn-gov__tab:hover{color:rgba(255,255,255,.8)}
html:not(#syn#syn) .syn-gov .syn-gov__tab.is-on{color:#fff}
html:not(#syn#syn) .syn-gov__bar{position:absolute;left:0;bottom:-13px;width:100%;height:2px;margin:0;background:#fff;transform:scaleX(0);transform-origin:left center;pointer-events:none}
html:not(#syn#syn) .syn-gov__tabs.is-run .is-on .syn-gov__bar{animation:syn-gov-fill var(--gov-dur) linear}
html:not(#syn#syn) .syn-gov__tabs.is-paused .is-on .syn-gov__bar{animation-play-state:paused}
/* Without autoplay (or after the visitor stopped it) the current tab simply shows a full bar. */
html:not(#syn#syn) .syn-gov__tabs.is-static .is-on .syn-gov__bar{transform:none}

/* ---------- the large line: rises in line by line ---------- */
html:not(#syn#syn) .syn-gov__line{display:grid;margin:clamp(23px,3.2vh,32px) 0 0;max-width:22.4em;font-family:var(--syn-serif);font-size:clamp(29.6px,2.7vw,39.2px);line-height:1.16;letter-spacing:-.024em;color:#fff}
html:not(#syn#syn) .syn-gov__line>span{grid-area:1/1}
html:not(#syn#syn) .syn-gov__size{visibility:hidden}
html:not(#syn#syn) .syn-gov__ln{display:block;overflow:hidden}
html:not(#syn#syn) .syn-gov__ln>span{display:block;animation:syn-gov-rise .62s var(--syn-ease) both}

/* ---------- button ---------- */
html:not(#syn#syn) .syn-gov__cta-wrap{margin-top:clamp(32px,4.2vh,44px)}
html:not(#syn#syn) .syn-gov .syn-btn.syn-gov__cta{width:auto;height:auto;padding:12.8px 23.2px;border:0;border-radius:999px;background:rgba(232,232,228,.88);color:#2c2b28;font-size:13.1px;font-weight:500;letter-spacing:-.01em}
html:not(#syn#syn) .syn-gov .syn-btn.syn-gov__cta:hover{background:#fff;color:#161513}

/* ---------- mobile ---------- */
@media (max-width:760px){
  /* Centred vertically on the screen (below the header). */
  html:not(#syn#syn) .syn-gov{align-items:center}
  html:not(#syn#syn) .syn-gov__in{padding:calc(var(--syn-header-h) + 32px) var(--syn-gutter) 40px}
  html:not(#syn#syn) .syn-gov .syn-gov__title{font-size:clamp(32px,8vw,41.6px)}
  html:not(#syn#syn) .syn-gov__line{font-size:23.2px;max-width:none}
  /* Tabs side by side (each column as wide as its label needs; labels wrap onto 2 lines), each with its progress bar.
     If there are too many to fit, the row scrolls sideways and the current tab is kept in view. */
  html:not(#syn#syn) .syn-gov__tabs{grid-template-columns:repeat(var(--gov-n),minmax(min-content,auto));gap:14px;overflow-x:auto;overflow-y:hidden;padding-bottom:14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html:not(#syn#syn) .syn-gov__tabs::-webkit-scrollbar{display:none}
  html:not(#syn#syn) .syn-gov .syn-gov__tab{font-size:13.6px;line-height:1.3;letter-spacing:-.01em;text-wrap:balance;padding-right:10px}
  html:not(#syn#syn) .syn-gov__bar{bottom:-14px}
}

@media (prefers-reduced-motion:reduce){
  html:not(#syn#syn) .syn-gov__bg{transition:none}
  html:not(#syn#syn) .syn-gov__ln>span{animation:none;transform:none}
  html:not(#syn#syn) .syn-gov__tabs .is-on .syn-gov__bar{animation:none;transform:scaleX(1)}
}

@keyframes syn-gov-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes syn-gov-rise{from{transform:translateY(115%)}to{transform:none}}
