/* Neutral card surfaces with blue reserved for selected feature cards. */
:root{
 --nhj-card-gradient:linear-gradient(145deg,#fff 0%,#f4f9fe 30%,#d0e3f4 61%,#8cb3d5 84%,#24578b 100%);
 --nhj-card-soft:linear-gradient(155deg,#fff 0%,#edf6fd 36%,#bfd9ee 70%,#648fb9 100%);
}
html body :is(.sv-card,.part-card,.industry-card,.industry-cases,.ins-card,.eq,.mat-grid .mat,.fin,.qs-card,.sg-bento-card,.sg19-next-card,.sg26-card,.sg-wall-feature,.sg-wall-tile,.product-card,.sg23-review-card,.sg23-review,.foot-card,.review-card,.val-card,.mt-panel){
 background:#fff!important;
 border-color:#dce4ea!important;
 box-shadow:0 10px 30px -24px #20384c30;
}
html body :is(.ins-cbody,.industry-card-copy,.qs-card-body,.sg-wall-feature figcaption,.sg-wall-tile figcaption,.eq-txt,.nhj-story-copy){
 background:#fff!important;
}
html body .nhj-story-copy{padding:24px 28px;border-radius:0 0 16px 16px}
html body :is(.mat-chips li,.eq-models li){background:#ffffffa8}
/* Keep links and supporting copy readable over the stronger blue corner. */
html body :is(.ins-cfoot,.industry-card-link,.qs-card-footer){color:#123d70}
html body .ins-cfoot b{background:#f1f7fdbf;border-radius:18px;padding:4px 10px}
/* A restrained enlargement of the header mark, independent of footer logos. */
html body .hdr>.logo{width:150px!important;height:auto!important;flex:0 0 150px}
html body .hdr>.logo img{width:150px!important;height:auto!important}
html body .header>.logo{width:154px!important}
html body .site-header .brand{width:154px!important}
html body .site-header .brand img{width:100%;height:auto}
@media(min-width:1151px){
 html body .header{grid-template-columns:154px minmax(0,1fr) 30px!important}
 html body .site-header .header-inner{grid-template-columns:154px minmax(0,1fr) auto!important}
 /* Large background lettering stays behind the title, with a little more exposure. */
 html body [data-sg-heading-mask]::after,
 html body #sg-precision-story #sg-wall-title[data-sg-heading-mask]::after{
  position:absolute!important;display:block;inset:auto!important;
  left:var(--sg-mask-offset,1.8em)!important;top:-.48em!important;z-index:-1;
  width:var(--sg-mask-width,100%)!important;max-width:none;height:1.18em!important;
  margin:0!important;padding:0!important;overflow:hidden;
  font-size:calc(var(--sg-mask-size,140px) * .95)!important;line-height:1.08!important;
  letter-spacing:-.045em!important;white-space:nowrap;
  background:linear-gradient(180deg,rgba(29,79,143,.19) 0%,rgba(70,128,188,.14) 35%,rgba(133,185,222,.07) 65%,rgba(225,242,253,0) 94%)!important;
  background-clip:text!important;-webkit-background-clip:text!important;
  color:transparent!important;-webkit-text-fill-color:transparent;
  opacity:1!important;transform:none!important;text-shadow:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#0008 25%,#000 55%)!important;mask-image:linear-gradient(90deg,transparent 0%,#0008 25%,#000 55%)!important;
 }
 html body [data-sg-heading-mask][data-sg-mask-center]::after,
 html body #sg-precision-story #sg-wall-title[data-sg-heading-mask][data-sg-mask-center]::after{
  left:50%!important;transform:translateX(-50%)!important;text-align:center;
 }
}
@media(min-width:1601px){html body .header{grid-template-columns:164px minmax(0,1fr) 30px auto!important}html body .header>.logo{width:164px!important}}
@media(max-width:1150px){html body .header>.logo,html body .site-header .brand{width:156px!important}}
html body .ending .foot-card.sg-foot-enhanced{background:#f6f8fa!important}

@media(min-width:1151px){
 /* The opening About block has no foreground title; keep its word below the tag. */
 html body .ab-hero .ab-head h1[data-sg-heading-mask]::after{
  left:0!important;top:.06em!important;
  -webkit-mask-image:none!important;mask-image:none!important;
 }
 html body [data-sg-heading-mask][data-sg-mask-center]::after{
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#0009 38%,transparent 82%)!important;
  mask-image:linear-gradient(180deg,#000 0%,#0009 38%,transparent 82%)!important;
 }
}

/* Customer marks need a uniform white surface so their image edges disappear. */
html body #clients{background:#fff!important}
html body #clients::before,html body #clients::after{background:none!important}
html body #clients .logo-tile,html body #clients .logo-tile:hover{
 background:#fff!important;border-color:transparent!important;box-shadow:none!important;
}

/* Apply one palette to every card in a section, never to a single selected card. */
html body :is(.qs-card,.sg-bento-card){
 background:var(--nhj-card-gradient)!important;border-color:#bcd2e6!important;
}
html body .qs-card .qs-card-body,
html body .nhj-case-stories .nhj-story-copy{
 background:var(--nhj-card-soft)!important;
}
/* Reviews and news remain quiet, with images and text providing variety. */
html body :is(.sg23-review,.sg23-review-card,.review-card,.ins-card){border-color:#dce4ea!important}
