.compact-home .hero-grid {
  gap: clamp(20px, 4vw, 44px);
  padding-block: clamp(24px, 3.3vw, 42px);
}

.compact-home h1 {
  font-size: clamp(2rem, 4.1vw, 3.65rem);
  margin-block: 10px 14px;
}

.compact-home .hero-copy .actions { margin-top: 18px; }
.compact-home .section, body:has(#cast-iron-450) .section {
  padding-block: clamp(27px, 4vw, 48px);
}
.compact-home h2, body:has(#cast-iron-450) h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-block: 8px 16px;
}
.compact-home .cards, .compact-home .service-grid { gap: 16px; }
.compact-home .cards { align-items: stretch; }
.compact-home .card-body { padding: 15px 17px; }
.compact-home .card-body > p:not(.tag) { min-height: 0; }
.compact-home .contact-grid { padding-block: 28px; }

.home-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 18px;
  justify-content: space-between;
  margin-bottom: 14px;
}
.compact-home .home-section-heading h2,
.home-section-heading .text-link { margin: 0; }
.home-projects .card, .home-solutions .card { background: #fff; }
.home-projects .card:hover, .home-solutions .card:hover { border-color: var(--red); }
.home-projects .card-image { display: block; aspect-ratio: 16 / 10; }
.home-projects .card-image img {
  object-fit: contain;
  padding: 6px;
  filter: none;
}
.home-projects h3 { margin-bottom: 0; }

.compact-home .hero-slide img {
  aspect-ratio: 16 / 10;
  padding: 0;
  filter: none;
  mix-blend-mode: normal;
}
.compact-home .hero-slide figcaption {
  display: flex;
  align-items: center;
  min-height: 3.6rem;
  padding: 8px 13px;
  font-weight: 700;
  color: var(--ink);
}
.carousel-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
  padding: 0 8px;
  background: #f2f5f8;
}
.carousel-controls[hidden] { display: none; }
.carousel-controls button {
  min-height: 44px;
  padding-inline: 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
.carousel-controls button:hover { color: var(--red); text-decoration: underline; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .compact-home .wrap { width: calc(100% - 32px); }
  .home-projects .card-image { aspect-ratio: 16 / 9; }
}
