/* V3.a.7 — team strengths: one clay story with the original proof copy. */
.team-strengths {
  background:
    radial-gradient(ellipse 34% 32% at 4% 92%, rgba(185, 229, 217, .3), transparent 72%),
    linear-gradient(135deg, #fffdf6, var(--cis-cream));
  padding-block: clamp(62px, 5vw, 88px);
}

.team-strengths__frame {
  background: #fffaf1;
  border: 1px solid rgba(39, 52, 71, .12);
  border-radius: clamp(24px, 2.5vw, 38px);
  box-shadow: 0 20px 46px rgba(39, 52, 71, .07);
  overflow: hidden;
}

.team-strengths__heading {
  padding: clamp(44px, 4.5vw, 72px) clamp(24px, 4vw, 64px) clamp(24px, 2.7vw, 42px);
  text-align: center;
}

.team-strengths__heading p {
  align-items: center;
  color: var(--cis-green-deep);
  display: inline-flex;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 800;
  gap: 10px;
  letter-spacing: .06em;
  margin: 0 0 18px;
}

.team-strengths__heading p::before {
  background: var(--cis-yellow);
  border: 2px solid var(--cis-navy);
  border-radius: 50%;
  content: "";
  height: 11px;
  width: 11px;
}

.team-strengths__heading h2 {
  color: var(--cis-navy);
  font-size: clamp(42px, 4.25vw, 68px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: 1.16;
  margin: 0;
}

.team-strengths__heading h2 span { color: var(--cis-green-deep); }

.team-strengths__visual {
  background: #fffaf1;
  margin: 0;
  overflow-x: auto;
  scrollbar-color: var(--cis-mint) transparent;
  scrollbar-width: thin;
}

.team-strengths__visual img {
  display: block;
  height: auto;
  width: 100%;
}

.team-strengths__details {
  background: rgba(255, 249, 235, .88);
  border-top: 1px solid rgba(39, 52, 71, .12);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-strengths__details article {
  min-width: 0;
  padding: clamp(24px, 2.2vw, 36px) clamp(20px, 2vw, 32px) clamp(28px, 2.5vw, 40px);
  position: relative;
}

.team-strengths__details article + article { border-left: 1px solid rgba(39, 52, 71, .12); }

.team-strengths__details article::before {
  background: var(--cis-yellow);
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: -1px;
}

.team-strengths__details article:nth-child(2)::before { background: var(--cis-mint); }
.team-strengths__details article:nth-child(3)::before { background: var(--cis-green); }
.team-strengths__details article:nth-child(4)::before { background: var(--cis-navy); }

.team-strengths__details span {
  align-items: center;
  background: var(--cis-yellow);
  border-radius: 999px;
  color: var(--cis-navy);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  letter-spacing: .04em;
  margin-bottom: 15px;
  min-width: 43px;
  padding-inline: 10px;
}

.team-strengths__details article:nth-child(2) span { background: var(--cis-mint); }
.team-strengths__details article:nth-child(3) span { background: var(--cis-green); }
.team-strengths__details article:nth-child(4) span { background: var(--cis-navy); color: var(--cis-yellow); }

.team-strengths__details h3 {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.team-strengths__details p {
  color: var(--cis-copy);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 850px) {
  .team-strengths { padding-block: 64px; }
  .team-strengths__heading { padding-inline: 24px; }
  .team-strengths__visual img { min-width: 900px; }
  .team-strengths__details { grid-template-columns: 1fr; }
  .team-strengths__details article {
    display: grid;
    gap: 0 14px;
    grid-template-columns: auto 1fr;
    padding: 24px;
  }
  .team-strengths__details article + article {
    border-left: 0;
    border-top: 1px solid rgba(39, 52, 71, .12);
  }
  .team-strengths__details article::before {
    bottom: 0;
    height: auto;
    right: auto;
    top: 0;
    width: 4px;
  }
  .team-strengths__details span { grid-column: 1; grid-row: 1; margin: 0; }
  .team-strengths__details h3 {
    align-self: center;
    clip: auto;
    clip-path: none;
    color: var(--cis-navy);
    font-size: 21px;
    grid-column: 2;
    grid-row: 1;
    height: auto;
    line-height: 1.35;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: normal;
    width: auto;
  }
  .team-strengths__details p { grid-column: 1 / -1; grid-row: 2; margin-top: 15px; }
}

@media (max-width: 560px) {
  .team-strengths__frame { border-radius: 20px; }
  .team-strengths__heading { padding: 34px 20px 24px; text-align: left; }
  .team-strengths__heading p { font-size: 15px; margin-bottom: 14px; }
  .team-strengths__heading h2 { font-size: clamp(34px, 10.2vw, 45px); line-height: 1.2; }
  .team-strengths__visual img { min-width: 760px; }
  .team-strengths__details article { padding: 22px 20px 24px; }
  .team-strengths__details p { font-size: 18px; }
}
