/* Engagement Intelligence, option A. Scoped so the solutions neighbours stay put.
   Padding lives on .ei-a, not the section: mobile.js rewrites section padding. */
#engagement-intelligence{
  --ei-cream:#EEEDE9;
  --ei-ink:#1A1510;
  --ei-ink2:#4A4742;
  --ei-paper:#FBF9F5;
  --ei-night:#241e0f;
  margin:0;
  padding:0 !important;
  background:var(--ei-cream);
  color:var(--ei-ink);
  font-family:"Bricolage Grotesque","Bricolage Fallback",system-ui,sans-serif;
  scroll-margin-top:88px;
  overflow-x:clip;
}
#engagement-intelligence *{box-sizing:border-box}
#engagement-intelligence img{max-width:100%;border:0}
.ei-a{
  padding:clamp(12px,1.6vw,24px) clamp(12px,1.6vw,24px) calc(44px + clamp(28px,3vw,48px));
}
.ei-card{
  position:relative;
  display:flex;
  flex-direction:column;
  border-radius:24px;
  overflow:hidden;
  background:var(--ei-night);
  color:var(--ei-paper);
}
.ei-mark{
  position:absolute;
  z-index:3;
  top:clamp(18px,2.4vw,36px);
  right:clamp(18px,2.4vw,36px);
  display:block;
  width:31px;
  height:28px;
  object-fit:contain;
}
.ei-photo{
  position:relative;
  order:2;
  aspect-ratio:1600/896;
}
.ei-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.ei-photo::before{
  content:"";
  position:absolute;
  z-index:1;
  left:0;right:0;top:0;
  height:9%;
  background:linear-gradient(180deg,var(--ei-night),rgba(36,30,15,0));
  pointer-events:none;
}
.ei-col{
  position:relative;
  z-index:2;
  order:1;
  padding:clamp(24px,6vw,40px) clamp(22px,5vw,36px) 8px;
}
.ei-h{
  margin:0 0 18px;
  padding-right:56px;
  color:var(--ei-paper);
  font-weight:500;
  font-size:clamp(40px,11vw,56px);
  letter-spacing:-.035em;
  line-height:.98;
  text-wrap:wrap;
}
@media(max-width:719px){
  .ei-h{font-size:clamp(26px,6.7vw,48px)}
}
.ei-sub{
  margin:0;
  max-width:36rem;
  color:rgba(251,249,245,.92);
  font-weight:400;
  font-size:clamp(16px,4.6vw,20px);
  line-height:1.45;
  letter-spacing:-.015em;
  text-wrap:wrap;
}
.ei-seq{
  list-style:none;
  margin:32px 0 18px;
  padding:0;
  max-width:16.5rem;
}
.ei-seq li{
  position:relative;
  padding:0 0 22px 34px;
}
.ei-seq li::before{
  content:"";
  position:absolute;
  left:5px;
  top:6px;
  bottom:-6px;
  border-left:1px solid rgba(251,249,245,.4);
}
.ei-seq li.ei-done::before{display:none}
.ei-seq li::after{
  content:"";
  position:absolute;
  left:0;
  top:1px;
  width:11px;
  height:11px;
  border-radius:50%;
  border:1px solid var(--ei-paper);
  background:var(--ei-night);
  box-sizing:border-box;
}
.ei-seq li.ei-done{padding-bottom:0}
.ei-seq li.ei-done::after{
  border:0;
  background:var(--ei-paper);
}
.ei-k{
  display:block;
  margin:1px 0 7px;
  color:rgba(251,249,245,.62);
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  line-height:1;
  text-transform:uppercase;
}
.ei-t{
  display:block;
  color:var(--ei-paper);
  font-weight:500;
  font-size:clamp(18px,4.8vw,21px);
  line-height:1.2;
  letter-spacing:-.015em;
}
.ei-done .ei-t{
  font-size:clamp(28px,7vw,34px);
  line-height:1;
}
.ei-s{
  display:block;
  margin-top:6px;
  color:rgba(251,249,245,.8);
  font-size:15px;
  font-weight:400;
  line-height:1.35;
}
.ei-body{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  padding:clamp(24px,4vw,40px) clamp(4px,1.5vw,12px) 0;
}
.ei-sub2{
  margin:0;
  max-width:16ch;
  color:var(--ei-ink);
  font-weight:500;
  font-size:clamp(22px,3.2vw,32px);
  line-height:1.15;
  letter-spacing:-.02em;
}
.ei-copy{
  margin:16px 0 0;
  max-width:58ch;
  color:var(--ei-ink2);
  font-size:clamp(16px,1.2vw,19px);
  font-weight:400;
  line-height:1.55;
}
@media(min-width:820px){
  .ei-body{
    grid-template-columns:minmax(0,5fr) minmax(0,6fr);
    align-items:start;
    gap:48px;
  }
}
@media(max-width:1024px){
  .ei-a{padding-bottom:calc(28px + 36px)}
}
@media(min-width:1100px){
  .ei-card{
    display:block;
    aspect-ratio:1600/896;
  }
  .ei-photo{
    position:absolute;
    inset:0;
    aspect-ratio:auto;
    z-index:0;
  }
  .ei-photo::before{display:none}
  .ei-col{
    width:min(46%,560px);
    min-width:min(100%,400px);
    height:100%;
    padding:4.2% 0 2.8% 4.2%;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }
  .ei-h{
    max-width:none;
    padding-right:0;
    font-size:clamp(52px,5.2vw,80px);
  }
  /* Locked at 21px from 1280 up so the subline stays two lines. The box is
     wider than the first clause; the break is the line, not a smaller size. */
  .ei-sub{
    font-size:21px;
    line-height:1.4;
    max-width:28rem;
  }
  .ei-seq{margin:24px 0 0;max-width:15.5rem}
  .ei-t{font-size:21px}
  .ei-done .ei-t{font-size:clamp(28px,2.4vw,36px)}
}
