/* Case-study hero and cover band */

.cs-hero { padding-block-start: clamp(2.5rem, 7vw, 5rem); }

.cs-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 1.25rem;
}

.cs-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.cs-hero__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
}

.cs-hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.028em;
  margin-block-end: 1.25rem;
  text-wrap: balance;
}

.cs-hero__lede {
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--text-2);
}

/* A fixed 480px band on desktop that shrinks with the viewport */
.cs-cover {
  width: 100%;
  height: clamp(220px, 42vw, 480px);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.cs-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-cover--top img { object-position: top center; }
.cs-cover--low img { object-position: center 78%; }

/* Covers meant to be shown whole rather than cropped */
.cs-cover--full,
.cs-cover--full img { height: auto; }
