/*
  Copy and proof-architecture variant based on the sage color version.
  The earlier blue and sage variants remain untouched.
*/

.proof-chip {
  min-width: 260px;
}

.proof-chip--local svg {
  fill: none;
  stroke: var(--blue-deep);
}

.logo-proof {
  padding-block: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.logo-proof__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 42px;
}

.logo-proof__inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.logo-proof__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  align-items: center;
  gap: 26px;
}

.logo-wordmark {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #687064;
  filter: grayscale(1);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.logo-wordmark--real {
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.logo-wordmark--placeholder {
  flex-direction: column;
  border: 1px dashed #c7cec3;
  border-radius: 12px;
  color: #7a8276;
  font-size: 0.78rem;
  font-weight: 600;
}

.logo-wordmark small {
  margin-top: 4px;
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.turning-point h2 {
  max-width: 18ch;
}

#ki-services .section-heading > p:last-child {
  max-width: 52ch;
}

.case-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.case-study {
  --case-accent: #c1cbbb;
  --case-copy: #d0d7cd;
  --case-line: rgba(255, 255, 255, 0.16);
  display: grid;
  min-width: 0;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(42px, 7vw, 100px);
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(91, 101, 83, 0.28), rgba(117, 129, 109, 0.15));
}

.case-study__header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--case-line);
  color: var(--case-copy);
  font-size: 0.78rem;
}

.case-study__brand {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.case-study__brand--placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.case-study__brand--placeholder small {
  padding: 5px 8px;
  border: 1px solid var(--case-line);
  border-radius: 999px;
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-study__metric {
  align-self: start;
  min-width: 0;
}

.case-study__metric strong,
.case-study__metric span {
  display: block;
}

.case-study__metric strong {
  color: var(--case-accent);
  font-family: var(--display);
  font-size: clamp(5.2rem, 9vw, 8.4rem);
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.04em;
  line-height: 0.82;
}

.case-study--shipping .case-study__metric strong {
  font-size: clamp(3.6rem, 6vw, 6.2rem);
  line-height: 0.9;
}

.case-study__metric span {
  max-width: 20ch;
  margin-top: 24px;
  color: var(--case-copy);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.case-study__story h3 {
  max-width: 18ch;
  margin-bottom: 34px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.case-study__story {
  min-width: 0;
}

.case-study__change {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: start;
  gap: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--case-line);
}

.case-study__change > div > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--case-accent);
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-study__change p {
  margin: 0;
  color: var(--case-copy);
  font-size: 0.95rem;
}

.case-study__change svg {
  width: 48px;
  margin-top: 9px;
  fill: none;
  stroke: var(--case-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-study__link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--case-line);
  color: var(--case-accent);
  font-family: var(--display);
  font-weight: 700;
}

.case-study__link--placeholder {
  opacity: 0.8;
}

.case-study--shipping {
  --case-accent: var(--blue-deep);
  --case-copy: #4f574d;
  --case-line: #cfd6cc;
  border-color: transparent;
  background: var(--mist);
  color: var(--ink);
}

.case-study--shipping .case-study__brand {
  color: var(--ink);
}

.testimonials {
  background: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(54px, 9vw, 130px);
}

.testimonials__intro h2 {
  max-width: 10ch;
}

.testimonials__intro p {
  max-width: 43ch;
  color: var(--muted);
}

.testimonial-placeholders {
  display: grid;
  gap: 18px;
}

.testimonial-placeholder {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 16px;
  background: var(--mist);
}

.testimonial-placeholder > span {
  display: inline-block;
  margin-bottom: 28px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.testimonial-placeholder h3 {
  margin-bottom: 12px;
  font-size: 1.75rem;
}

.testimonial-placeholder p {
  margin: 0;
  color: var(--muted);
}

.about__copy h2 {
  max-width: 15ch;
}

.about__copy > p:not(.lead) + p:not(.lead) {
  margin-top: 18px;
}

.contact__intro > p {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .logo-proof__inner {
    grid-template-columns: 180px 1fr;
    gap: 24px;
  }

  .logo-proof__row {
    gap: 12px;
  }

  .proof-chip {
    min-width: 224px;
  }
}

@media (max-width: 860px) {
  .logo-proof__inner,
  .case-study,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .logo-proof__inner {
    gap: 20px;
  }

  .logo-proof__row {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .case-study__metric span {
    max-width: 28ch;
  }

  .testimonials__intro h2 {
    max-width: 13ch;
  }
}

@media (max-width: 640px) {
  .logo-proof {
    padding-block: 28px;
  }

  .logo-proof__inner > p {
    max-width: 26ch;
  }

  .logo-wordmark {
    min-height: 56px;
  }

  .turning-point h2 {
    max-width: none;
  }

  .case-study {
    gap: 34px;
    padding: 30px;
    border-radius: 18px;
  }

  .case-study__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .case-study__metric strong {
    font-size: clamp(5rem, 27vw, 7rem);
  }

  .case-study--shipping .case-study__metric strong {
    font-size: clamp(3.15rem, 15vw, 4.7rem);
  }

  .case-study__story h3 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .case-study__change {
    grid-template-columns: 1fr;
  }

  .case-study__change svg {
    transform: rotate(90deg);
  }

  .testimonials__intro h2,
  .about__copy h2 {
    max-width: none;
  }
}
