/* Homepage product hero and capability cards. Kept separate for easy rollback. */
.home-hero--product .home-hero__media { object-position: 65% center; }
.home-hero--product .home-hero__overlay {
  background: linear-gradient(90deg, rgba(6,17,32,.97), rgba(6,17,32,.8) 48%, rgba(6,17,32,.68));
}
.home-hero--product .home-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 30px;
  min-height: 650px;
  padding: 180px 0 90px;
}
.home-hero--product .home-hero__content h1 { font-size: clamp(2.7rem, 4.4vw, 3.65rem); line-height: 1.06; }
.home-hero--product .home-hero__summary { max-width: 450px; }
.home-hero--product .home-hero__actions { gap: 12px; margin-top: 28px; padding-bottom: 0; }
.home-hero--product .home-button { padding: 14px 20px; font-size: .875rem; }
.home-hero__product { position: relative; min-width: 0; }
.home-hero__product img { display: block; width: 100%; height: auto; }
.home-hero__product::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("homepage-refresh/hero-glass-overlay.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.capabilities-refresh { padding: 64px 0 80px; }
.capabilities-refresh .home-section-heading { margin-bottom: 32px; }
.capabilities-refresh .home-section-heading h2 { color: #fff; margin: 10px 0 14px; }
.capabilities-refresh .home-section-heading > p:last-child { color: #bac9d4; max-width: 580px; }
.capabilities-refresh .home-eyebrow { color: #65dc8e; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.capability-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: #fff; color: #0f172a; border: 1px solid #dce5e8; border-radius: 18px;
  text-decoration: none; transition: border-color .2s ease, transform .2s ease;
}
.capability-card:hover { transform: translateY(-4px); border-color: #24bd61; }
.capability-card__visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border-bottom: 1px solid #edf1f3; }
.capability-card__visual img { position: absolute; top: 50%; left: 50%; width: 92%; max-width: none; height: auto; transform: translate(-50%, -50%); }
.capability-card__visual--rmts img { width: 105%; }
.capability-card__visual--tdm img { width: 100%; top: 50%; }
.capability-card__visual--mechanical img { width: 100%; }
.capability-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.capability-card h3 { min-height: 2.6em; margin: 0 0 12px; font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
.capability-card__body > p { margin: 0 0 24px; color: #5b6b7b; font-size: .9375rem; line-height: 1.55; }
.capability-card__link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; min-height: 44px; border-top: 1px solid #e8edf0; padding-top: 16px; color: #147d3c; font-size: .875rem; font-weight: 700; }
.capability-card__link > span { font-size: 1.3rem; line-height: 1; }

@media (max-width: 1050px) {
  .home-hero--product .home-hero__content { gap: 16px; }
  .home-hero--product .home-hero__actions { flex-direction: column; align-items: flex-start; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-card__visual { aspect-ratio: 16 / 10; }
  .capability-card__visual--rmts img { width: 87%; }
}
@media (max-width: 700px) {
  .home-hero--product .home-hero__content { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 64px 0 40px; }
  .home-hero--product .home-hero__content h1 { font-size: clamp(2.4rem, 9.9vw, 3.7rem); }
  .home-hero--product .home-hero__summary { max-width: 500px; }
  .home-hero--product .home-hero__actions { flex-direction: row; flex-wrap: wrap; margin-top: 24px; }
  .home-hero__product { width: min(100%, 500px); justify-self: center; }
  .capabilities-refresh { padding: 48px 0 56px; }
  .capability-grid { gap: 12px; }
  .capability-card { border-radius: 14px; }
  .capability-card__visual { aspect-ratio: 4 / 3; }
  .capability-card__visual--rmts img { width: 105%; }
  .capability-card__body { padding: 16px 14px; }
  .capability-card h3 { font-size: 1.0625rem; }
  .capability-card__body > p { font-size: .8125rem; margin-bottom: 18px; }
}
@media (max-width: 430px) {
  .home-hero--product .home-button { width: 100%; }
}
@media (max-width: 359px) {
  .capability-grid { grid-template-columns: 1fr; }
}
