/* Customer Care case study. Scoped to this page. */

.cc .study-hero h1 {
  max-width: 10em;
  font-size: clamp(3.05rem, 6.6vw, 5.75rem);
}

.cc .study-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--pink-deep);
}

.cc .study-section h2 {
  max-width: 16ch;
}

.cc-cold {
  background:
    linear-gradient(180deg, var(--teal-soft) 0%, rgba(228, 243, 241, 0) 18rem),
    var(--cream);
}

.cc .cc-before__ask {
  max-width: none;
  margin: 0;
  font-size: clamp(3.5rem, 8.6vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.cc-before__call {
  margin: 0.02em 0 0;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(3.5rem, 8.6vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.cc-before__or {
  max-width: 22ch;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1.45;
}

.cc-cold .study-copy {
  margin-top: clamp(2.8rem, 6vw, 4.2rem);
}

.cc-warm {
  background:
    linear-gradient(180deg, rgba(248, 197, 194, 0.42), rgba(251, 247, 241, 0) 16rem),
    var(--cream);
}

.cc .cc-warm h2 {
  max-width: none;
}

.cc-question {
  max-width: 18ch;
  margin: 1.8rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.cc-after {
  margin-top: 1.8rem;
}

.cc-frame {
  width: min(1120px, calc(100% - 2rem));
  margin: clamp(1.4rem, 3vw, 2.2rem) auto 0;
}

.cc-frame .shot {
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.cc-people {
  padding-top: clamp(1.5rem, 4vw, 2.75rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.cc-people .cc-frame {
  margin-top: 0;
}

.cc-resources {
  background:
    linear-gradient(180deg, rgba(184, 201, 163, 0.34), rgba(251, 247, 241, 0) 18rem),
    var(--cream);
  padding-top: clamp(2.2rem, 5vw, 3.5rem);
}

.cc-resources .cc-frame:first-child {
  margin-top: 0;
}

.cc-shift {
  list-style: none;
  max-width: 36rem;
  margin: 0.4rem 0 0;
  padding: 0;
}

.cc-shift li {
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.cc-shift li span:first-child {
  color: var(--ink-soft);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.cc-shift li span:last-child {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.cc-aftercare h2 {
  max-width: 16ch;
}

.cc-end {
  padding-bottom: 0;
}

.cc-else {
  margin: 2.5rem 0 0;
}

.cc-else a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--blush);
}

.cc-else a:hover {
  color: var(--pink-deep);
  border-bottom-color: var(--pink);
}

@media (max-width: 719px) {
  .cc .study-hero h1,
  .cc .study-section h2,
  .cc-warm h2,
  .cc-cold .cc-before__ask {
    max-width: none;
  }

  .cc-shift li span:last-child {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc .shot img {
    transition: none;
  }
}
