.case-study-hero {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.case-study-hero-grid {
  display: grid;
  gap: 1.5rem;
  border-radius: 2.5rem;
  background:
    radial-gradient(circle at top right, rgba(255, 180, 4, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f4ea 100%);
  padding: 1.5rem;
}

.case-study-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study-eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb404;
}

.case-study-hero-title {
  font-size: 2.75rem;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.case-study-hero-title span {
  display: block;
  margin-top: 0.75rem;
  color: #3d3f42;
}

.case-study-hero-text {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.8rem;
  color: #3d3f42;
}

.case-study-hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.case-study-hero-media {
  display: grid;
  gap: 1rem;
}

.case-study-metric-card {
  border-radius: 1.5rem;
  background-color: #0d0f13;
  padding: 1.25rem;
  color: #fff;
}

.case-study-metric-value {
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
}

.case-study-metric-label {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5rem;
  color: #d9dde2;
}

.case-study-hero-image {
  width: 100%;
  border-radius: 1.75rem;
  background-color: #fff;
  padding: 1rem;
}

.case-study-shell {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.case-study-layout {
  display: grid;
  gap: 1.5rem;
}

.case-study-sidebar {
  display: grid;
  gap: 1rem;
  align-self: start;
}

.case-study-sidebar-card {
  border-radius: 1.5rem;
  background-color: #fff;
  padding: 1.25rem;
}

.case-study-sidebar-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a00;
}

.case-study-sidebar-value {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.7rem;
  color: #0d0f13;
}

.case-study-content {
  display: grid;
  gap: 1.5rem;
}

.case-study-section {
  border-radius: 2rem;
  background-color: #fff;
  padding: 1.5rem;
}

.case-study-section-accent {
  background:
    linear-gradient(180deg, rgba(255, 209, 90, 0.45) 0%, rgba(255, 255, 255, 1) 55%);
}

.case-study-section-dark {
  background-color: #0d0f13;
  color: #fff;
}

.case-study-section-title {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 600;
}

.case-study-section-title-light {
  color: #fff;
}

.case-study-paragraph {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.8rem;
  color: #3d3f42;
}

.case-study-paragraph strong {
  color: #0d0f13;
}

.case-study-paragraph-muted {
  color: #d9dde2;
}

.case-study-paragraph-muted strong {
  color: #fff;
}

.case-study-bullet-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.case-study-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.8rem;
  color: #3d3f42;
}

.case-study-bullet-list li::before {
  position: absolute;
  left: 0;
  top: 0.72rem;
  height: 0.45rem;
  width: 0.45rem;
  border-radius: 9999px;
  background-color: #ffb404;
  content: "";
}

.case-study-bullet-list-light li {
  color: #d9dde2;
}

.case-study-bullet-list-light li::before {
  background-color: #fff;
}

.case-study-chip-grid {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.case-study-chip {
  border-radius: 9999px;
  background-color: #f5f2e8;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0d0f13;
}

.case-study-split {
  display: grid;
  gap: 1.25rem;
}

.case-study-note {
  border-radius: 1.5rem;
  background-color: #f5f2e8;
  padding: 1.25rem;
}

.case-study-note-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a00;
}

.case-study-figure {
  margin-top: 1.5rem;
}

.case-study-figure-image {
  width: 100%;
  max-height: 28rem;
  border-radius: 1.5rem;
  object-fit: cover;
  object-position: center;
}

.case-study-figure-caption {
  margin-top: 0.875rem;
  max-width: 48rem;
  font-size: 0.9375rem;
  line-height: 1.6rem;
  color: #5d6167;
}

.case-study-module-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.case-study-module-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 1.25rem;
}

.case-study-module-title {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  color: #fff;
}

.case-study-team-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.case-study-team-card {
  border-radius: 1.5rem;
  background-color: #f5f2e8;
  padding: 1.25rem;
}

.case-study-team-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0d0f13;
}

.case-study-team-line {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.7rem;
  color: #3d3f42;
}

.case-study-testimonial {
  border-radius: 1.75rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f4ea 100%);
  padding: 1.5rem;
}

.case-study-testimonial-icon {
  width: 2.5rem;
}

.case-study-testimonial-text {
  margin-top: 1rem;
  font-size: 1.375rem;
  line-height: 2.1rem;
  font-weight: 600;
  color: #0d0f13;
}

.case-study-testimonial-author {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.case-study-testimonial-photo {
  height: 4rem;
  width: 4rem;
  border-radius: 9999px;
  object-fit: cover;
}

.case-study-testimonial-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.case-study-testimonial-role {
  margin-top: 0.25rem;
  color: #3d3f42;
}

.case-study-insight-list {
  display: grid;
  gap: 1rem;
}

.case-study-insight {
  border-top: 1px dashed #e5eaed;
  padding-top: 1rem;
}

.case-study-insight:first-child {
  border-top: 0;
  padding-top: 0;
}

.case-study-insight-title {
  font-size: 1.25rem;
  line-height: 1.7rem;
  font-weight: 600;
  color: #0d0f13;
}

.case-study-credits {
  background-color: #fff;
}

.case-study-credit-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.case-study-credit-card {
  border-radius: 1.5rem;
  background-color: #f7f7f7;
  padding: 1.25rem;
}

.case-study-credit-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a00;
}

.case-study-credit-value {
  margin-top: 0.5rem;
  font-size: 1.375rem;
  line-height: 1.8rem;
  font-weight: 600;
}

.case-study-footer-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .case-study-hero {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .case-study-hero-grid,
  .case-study-section {
    padding: 2.25rem;
  }

  .case-study-hero-title {
    font-size: 4.25rem;
  }

  .case-study-shell {
    padding-bottom: 5rem;
  }

  .case-study-team-grid,
  .case-study-credit-grid,
  .case-study-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .case-study-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(21rem, 0.8fr);
    gap: 2rem;
    padding: 3.25rem;
  }

  .case-study-layout {
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: 2rem;
  }

  .case-study-sidebar {
    position: sticky;
    top: 2rem;
  }

  .case-study-content {
    gap: 2rem;
  }

  .case-study-section {
    padding: 3rem;
  }

  .case-study-split {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
    gap: 2rem;
  }

  .case-study-figure-image {
    max-height: 36rem;
  }
}
