
.digital-foundation {
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: stretch;
  padding-top: clamp(6.5rem, 9vw, 9rem);
  padding-bottom: clamp(6.5rem, 9vw, 9rem);
}

.domain-count {
  min-height: 580px;
  padding: clamp(4rem, 6vw, 6.25rem) 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #fff 0%, #fffaf0 100%);
  border-width: 3px;
  box-shadow: 0 24px 55px rgba(5, 42, 95, .10);
}

.domain-count strong {
  font-size: clamp(7rem, 10vw, 10.5rem) !important;
  line-height: .76 !important;
  margin-bottom: 2.25rem !important;
}

.domain-count span {
  max-width: 280px;
  font-size: .93rem;
  font-weight: 800;
}

.domain-count b {
  margin-top: 1.35rem !important;
  font-size: 1rem;
}

.domain-count em {
  max-width: 260px;
  margin-top: 2.35rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2d3b8;
  color: #596170;
  font-size: .82rem;
  font-style: normal;
  line-height: 1.5;
  text-align: center;
}

.digital-foundation-copy {
  align-self: center;
}

.digital-foundation-copy > .eyebrow {
  color: var(--wm-orange);
}

.digital-foundation-copy h2 {
  max-width: 820px;
  margin: .55rem 0 1.75rem !important;
  font-weight: 700 !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em;
}

.digital-foundation-copy > p:not(.eyebrow) {
  max-width: 850px;
  margin-bottom: 2.25rem;
}

.domain-portfolio-intro strong {
  display: block;
  margin-bottom: .8rem;
  color: var(--wm-deep);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 900;
  line-height: 1.25;
}

.domain-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 0;
}

.domain-groups span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: .8rem 1rem .8rem 1.35rem;
  border: 1px solid #d8cbb5;
  border-left: 4px solid var(--wm-gold);
  background: rgba(255, 255, 255, .82);
  color: var(--wm-deep);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 5px 13px rgba(5, 42, 95, .045);
}

.domain-groups span:nth-child(3n + 2) {
  border-left-color: var(--wm-orange);
}

.domain-groups span:nth-child(3n) {
  border-left-color: var(--wm-blue);
}

@media (max-width: 980px) {
  .digital-foundation {
    grid-template-columns: 1fr;
  }

  .domain-count {
    min-height: 440px;
  }
}

@media (max-width: 620px) {
  .digital-foundation {
    padding: 5rem 1.25rem;
  }

  .domain-count {
    min-height: 390px;
    padding: 4rem 1.5rem;
  }

  .domain-count strong {
    font-size: clamp(6.5rem, 29vw, 8.5rem) !important;
  }

  .digital-foundation-copy h2 {
    margin-bottom: 1.35rem !important;
  }

  .domain-groups {
    grid-template-columns: 1fr;
  }
}
