/* Cresgate light commercial hero — experimental preview only, 24 Nov 2026.
   Preview 30's site content, remaining sections and production remain unchanged. */
:root{--cx-ink:#101a2d;--cx-indigo:#354df2;--cx-mist:#f3f5fc;--cx-line:#dce1ed}
body .site-nav{
  color:var(--cx-ink)!important;
  background:#f8f9ff!important;
  border-bottom:1px solid rgba(47,58,98,.08)!important
}
body .site-nav__inner{border-color:rgba(46,58,100,.12)!important}
body .site-nav .logo__type strong{color:#16233c!important}
body .site-nav .logo__type small{color:#63708b!important}
body .site-nav .cg-logo-mark path{stroke:#4c4ed9!important}
body .site-nav .cg-logo-mark circle{fill:#4c4ed9!important}
body .site-nav__links a:not(.nav-rfq){
  color:#27364e!important;
  font-weight:600!important
}
body .site-nav__links a:not(.nav-rfq):hover{color:#4151db!important}
body .site-nav__links .nav-rfq{
  background:#151f36!important;border-color:#151f36!important;
  color:white!important;border-radius:8px!important
}
body .site-nav__links .nav-rfq:hover{
  background:#3a4ce2!important;border-color:#3a4ce2!important
}
body .menu-button{border-color:#bfc8df!important;color:#17233b!important}
body:not(.solutions-v2) .hero{
  background:linear-gradient(116deg,#f8faff 0%,#f1f3fd 60%,#e5eafa 100%)!important;
  color:var(--cx-ink)!important;
  min-height:clamp(650px,88svh,785px)!important;
  display:flex!important;flex-direction:column!important;
  overflow:hidden!important;isolation:isolate!important
}
body:not(.solutions-v2) .hero::before{display:none!important;content:none!important}
body:not(.solutions-v2) .hero__art{display:none!important}
body:not(.solutions-v2) .hero__center{
  position:relative!important;z-index:4!important;top:0!important;left:auto!important;
  transform:none!important;
  width:min(1240px,calc(100% - 112px))!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:136px 0 70px!important;
  flex:1 1 auto!important;
  align-items:flex-start!important;justify-content:center!important
}
body:not(.solutions-v2) .hero .eyebrow{
  color:#4254c9!important;font-size:11px!important;
  letter-spacing:.115em!important;margin-bottom:20px!important
}
body:not(.solutions-v2) .hero h1{
  color:#0f1c31!important;
  font-family:'Inter',Arial,sans-serif!important;
  font-size:clamp(44px,4.7vw,69px)!important;
  line-height:1.06!important;
  letter-spacing:-.063em!important;
  font-weight:680!important;
  max-width:680px!important;
  text-wrap:balance!important;
  display:block!important
}
body:not(.solutions-v2) .hero h1 br{display:none!important}
body:not(.solutions-v2) .hero h1 em{
  display:block!important;
  font-size:.75em!important;font-weight:600!important;
  font-style:normal!important;line-height:1.16!important;
  letter-spacing:-.052em!important;
  color:#3c4fec!important;
  margin-top:7px!important
}
body:not(.solutions-v2) .hero .hero__intro{
  max-width:465px!important;
  font-size:15px!important;
  line-height:1.7!important;
  color:#56647f!important;
  font-weight:400!important;
  margin-top:22px!important
}
body:not(.solutions-v2) .hero__actions{
  margin-top:27px!important;gap:12px!important;
  position:relative!important;z-index:5!important
}
body:not(.solutions-v2) .hero__actions .button{
  min-height:52px!important;padding:13px 23px!important;
  border-radius:8px!important
}
body:not(.solutions-v2) .hero__actions .button--light{
  background:#354df2!important;color:white!important;
  border:1px solid #354df2!important;
  box-shadow:0 7px 17px rgba(53,77,242,.13)!important
}
body:not(.solutions-v2) .hero__actions .button--light:hover{
  background:#223bd0!important;border-color:#223bd0!important
}
body:not(.solutions-v2) .hero__actions .button--outline{
  color:#23345e!important;background:rgba(255,255,255,.54)!important;
  border:1px solid #b7c2db!important;
  box-shadow:none!important
}
body:not(.solutions-v2) .hero__actions .button--outline:hover{
  background:#e5eafb!important;border-color:#4d5ee8!important
}
/* The full-width dark band is intentionally the same in both options. */
body:not(.solutions-v2) .hero__bottom{
  position:relative!important;z-index:6!important;
  align-self:stretch!important;
  flex:0 0 85px!important;
  min-height:85px!important;
  width:100%!important;max-width:none!important;
  margin:0!important;
  padding:0 max(30px,calc((100% - 1240px)/2))!important;
  border:0!important;
  background:#101b2a!important;
  color:#dfe5f4!important;
  box-sizing:border-box!important
}
body:not(.solutions-v2) .hero__ticker{border-left:0!important}
body:not(.solutions-v2) .hero__ticker-item{color:#d3dcf0!important}
body:not(.solutions-v2) .hero__ticker-item strong{color:#ffffff!important}
body:not(.solutions-v2) .hero__ticker-item::after{background:rgba(183,192,245,.33)!important}
/* Alternative hero content should never intercept navigation or CTA clicks. */
body:not(.solutions-v2) .hero__photo,
.hero-composition{pointer-events:none!important}
@media(max-width:980px){
  body .site-nav__links{background:#ffffff!important;border:1px solid #e0e5f1!important}
  body:not(.solutions-v2) .hero__center{
    width:calc(100% - 64px)!important;
    padding:142px 0 70px!important
  }
  body:not(.solutions-v2) .hero h1{font-size:clamp(43px,6.1vw,62px)!important;max-width:590px!important}
  body:not(.solutions-v2) .hero .hero__intro{max-width:420px!important}
}
@media(max-width:700px){
  body:not(.solutions-v2) .hero{
    min-height:760px!important;
    background:linear-gradient(180deg,#f7f9ff 0%,#eef2fd 57%,#e0e7f7 100%)!important
  }
  body:not(.solutions-v2) .hero__center{
    width:calc(100% - 44px)!important;
    padding:139px 0 267px!important;
    justify-content:flex-start!important
  }
  body:not(.solutions-v2) .hero h1{
    font-size:clamp(37px,8.7vw,54px)!important;
    line-height:1.09!important
  }
  body:not(.solutions-v2) .hero h1 em{font-size:.77em!important}
  body:not(.solutions-v2) .hero .hero__intro{font-size:14px!important;line-height:1.58!important;max-width:450px!important}
  body:not(.solutions-v2) .hero__actions{margin-top:22px!important}
  body:not(.solutions-v2) .hero__bottom{
    flex-basis:67px!important;min-height:67px!important;padding-inline:22px!important
  }
}
@media(max-width:380px){
  body:not(.solutions-v2) .hero__center{padding-bottom:230px!important}
  body:not(.solutions-v2) .hero h1{font-size:35px!important}
  body:not(.solutions-v2) .hero__actions .button{width:100%!important}
}
@media(prefers-reduced-motion:reduce){body:not(.solutions-v2) .hero__photo,.hero-composition{transition:none!important;animation:none!important}}

/* Concept A — an unframed, curved photographic field that grows out of the page. */
body:not(.solutions-v2) .hero__photo{
  display:block!important;
  position:absolute!important;
  inset:91px 0 85px 39%!important;
  z-index:1!important;
  opacity:1!important;mix-blend-mode:normal!important;
  background-image:none!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  filter:none!important;
  border-radius:28% 0 0 32% / 45% 0 0 49%!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.22) 12%,rgba(0,0,0,.82) 27%,#000 39%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.22) 12%,rgba(0,0,0,.82) 27%,#000 39%)!important;
  clip-path:none!important
}
body:not(.solutions-v2) .hero__photo::before,
body:not(.solutions-v2) .hero__photo::after{content:none!important;display:none!important}
body:not(.solutions-v2) .hero__center::after{
  content:"";pointer-events:none;position:absolute;
  right:0;top:16%;height:54%;width:1px;
  background:linear-gradient(180deg,transparent,#dce2f9,transparent);
  opacity:.55
}
@media(max-width:980px){
  body:not(.solutions-v2) .hero__photo{inset:89px -16% 85px 41%!important;filter:none!important}
}
@media(max-width:700px){
  body:not(.solutions-v2) .hero__photo{
    inset:auto -3% 67px 5%!important;height:39%!important;
    border-radius:25% 0 0 0 / 36% 0 0 0!important;
    background-position:center 45%!important;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.82) 24%,#000 45%)!important;
    mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.82) 24%,#000 45%)!important
  }
  body:not(.solutions-v2) .hero__center::after{display:none!important}
}

/* Preview 31: explicit hero image layer, robust to CSS background loading.
   The parent retains the approved curved edge and soft left-hand fade. */
body:not(.solutions-v2) .hero__photo > img {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  opacity:1!important;
  visibility:visible!important;
  border-radius:inherit!important;
  filter:none!important;
}
@media(max-width:700px){
  body:not(.solutions-v2) .hero__photo > img{
    object-position:center 45%!important;
  }
}


/* Preview 31 hero visibility correction: native JPEG with reliable CSS fallback.
   Avoid the masked stacking layer, retain the curved edge and light-side fade. */
body:not(.solutions-v2) .hero__photo {
  background-image:url('assets/cresgate-hero-latest-20261124.webp')!important;
  background-position:center center!important;
  background-size:cover!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  overflow:hidden!important;
  opacity:1!important;
  visibility:visible!important;
}
body:not(.solutions-v2) .hero__photo > img {
  z-index:1!important;
  object-fit:cover!important;
  object-position:center center!important;
}
body:not(.solutions-v2) .hero__photo::before {
  display:none!important;content:none!important;
}
body:not(.solutions-v2) .hero__photo::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,rgba(243,245,252,.98) 0%,rgba(243,245,252,.73) 13%,rgba(243,245,252,.25) 27%,rgba(243,245,252,0) 40%)!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
@media(max-width:700px){
  body:not(.solutions-v2) .hero__photo{
    background-position:center 45%!important;
  }
  body:not(.solutions-v2) .hero__photo::after{
    background:linear-gradient(180deg,rgba(241,244,253,.98) 0%,rgba(241,244,253,.64) 16%,rgba(241,244,253,0) 42%)!important;
  }
}

/* Preview 31 final hero media: a new independent layer.
   The old .hero__photo and its many legacy masks no longer affect this element.
   The image bytes are embedded in HTML, so no remote or local request is needed. */
body:not(.solutions-v2) .hero > .cresgate-hero-photography {
  display:block!important;
  position:absolute!important;
  z-index:2!important;
  inset:91px 0 85px auto!important;
  width:61%!important;
  height:auto!important;
  overflow:hidden!important;
  border-radius:28% 0 0 32% / 45% 0 0 49%!important;
  opacity:1!important;
  visibility:visible!important;
  isolation:isolate!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  pointer-events:none!important;
  background:#e5eafa url("assets/cresgate-hero-latest-20261124.webp") center / cover no-repeat;
}
body:not(.solutions-v2) .hero > .cresgate-hero-photography > img {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  z-index:0!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
  transform:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
body:not(.solutions-v2) .hero > .cresgate-hero-photography::after {
  content:"";
  display:block;
  position:absolute;
  z-index:1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(243,245,252,.98) 0%,rgba(243,245,252,.70) 13%,rgba(243,245,252,.19) 27%,transparent 42%);
}
@media(max-width:980px) {
  body:not(.solutions-v2) .hero > .cresgate-hero-photography {
    inset:89px -16% 85px auto!important;
    width:75%!important;
  }
}
@media(max-width:700px) {
  body:not(.solutions-v2) .hero > .cresgate-hero-photography {
    inset:auto -3% 67px 5%!important;
    width:98%!important;
    height:39%!important;
    border-radius:25% 0 0 0 / 36% 0 0 0!important;
  }
  body:not(.solutions-v2) .hero > .cresgate-hero-photography > img {
    object-position:center 45%!important;
  }
  body:not(.solutions-v2) .hero > .cresgate-hero-photography::after {
    background:linear-gradient(180deg,rgba(241,244,253,.98),rgba(241,244,253,.62) 16%,transparent 42%);
  }
}

/* Preview 35 — Mobile hero CTAs: side-by-side in one row.
   Keep desktop hero untouched; preserve both labels, targets, and button colors. */
@media(max-width:700px) {
  body:not(.solutions-v2) .hero__actions {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    gap:9px!important;
    width:100%!important;
    max-width:440px!important;
  }
  body:not(.solutions-v2) .hero__actions .button {
    display:inline-flex!important;
    min-width:0!important;
    width:100%!important;
    min-height:46px!important;
    box-sizing:border-box!important;
    padding:11px clamp(7px,2.2vw,13px)!important;
    font-family:'Inter',Arial,sans-serif!important;
    font-size:clamp(10.5px,2.85vw,12px)!important;
    line-height:1.25!important;
    font-weight:600!important;
    white-space:normal!important;
    text-align:center!important;
    justify-content:center!important;
    align-items:center!important;
  }
}
