/* Service Overview module — homepage services grid only. Scoped to .mh-services classes.
   Tokens copied verbatim from the Module 02 locked Design System (same values as hero.css).
   Pattern 1 (Service Cards Grid, full copy in card) — no text is truncated or summarised. */

.mh-services {
  --mh-ink: #101418;
  --mh-paper: #FFFFFF;
  --mh-mist: #F1F3F4;
  --mh-line: #E2E5E7;
  --mh-signal: #E4572E;
  --mh-slate: #53595E;
  --mh-shadow-sm: 0 1px 2px rgba(16,20,24,.06);

  background: var(--mh-mist);
  padding: 48px 20px;
}

.mh-services__inner {
  max-width: 1180px; /* matches the site's standard .bc-container width (--bc-container-w) */
  margin: 0 auto;
}

.mh-services__head {
  max-width: 68ch;
  margin-bottom: 32px;
}

.mh-services__title {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--mh-ink);
  margin: 0 0 14px;
  text-wrap: balance;
}

.mh-services__lede {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--mh-slate);
  margin: 0 0 10px;
}
.mh-services__lede:last-child { margin-bottom: 0; }

.mh-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .mh-services__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .mh-services__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.mh-service-card {
  background: var(--mh-paper);
  border: 1px solid var(--mh-line);
  border-radius: 6px;
  box-shadow: var(--mh-shadow-sm);
  padding: 24px;
  /* no fixed/max height — a card grows to fit its own full text, never clips it */
}

.mh-service-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--mh-mist);
  border: 1px solid var(--mh-line);
  color: var(--mh-signal);
  font-family: 'IBM Plex Mono', 'Inter', monospace;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}

.mh-service-card__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--mh-ink);
  margin: 0 0 10px;
}

.mh-service-card__body {
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--mh-slate);
  margin: 0;
}
