/* Main hero: stronger contrast without hiding the photography. */
.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.66) 34%, rgba(0,0,0,.36) 61%, rgba(0,0,0,.12) 82%, rgba(0,0,0,.04) 100%) !important;
}

.hero-content {
  z-index: 3;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content p {
  text-shadow: 0 3px 20px rgba(0,0,0,.98), 0 1px 3px #000;
}

.hero-content h1 {
  max-width: 820px;
}

.hero-content p {
  color: #fff;
  font-weight: 500;
}

/* Feature slider below the hero: one stable, laptop-friendly frame. */
.about.section {
  padding-block: 62px;
}

.about-grid {
  height: 540px;
  min-height: 540px;
  align-items: stretch !important;
}

.feature-visual {
  height: 540px;
}

.feature-image-shell {
  height: 500px !important;
  min-height: 500px !important;
}

.feature-copy {
  display: flex;
  height: 510px;
  min-height: 510px;
  padding-block: 6px;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

.feature-copy h2 {
  min-height: 0;
  margin-block: 8px 12px;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.04;
}

.feature-copy > p {
  min-height: 0;
  margin-block: 0;
  font-size: 14px;
  line-height: 1.58;
}

.feature-copy .about-list {
  min-height: 0;
  margin-block: 14px 10px;
  gap: 7px 12px;
  font-size: 13px;
}

.feature-copy .about-actions {
  min-height: 48px;
  margin-top: 0;
  flex-shrink: 0;
}

.feature-copy .feature-dots {
  min-height: 10px;
  margin-top: auto;
  padding-top: 12px;
  flex-shrink: 0;
}

@media (max-width: 1050px) and (min-width: 901px) {
  .about-grid {
    grid-template-columns: minmax(0,1.18fr) minmax(310px,.82fr) !important;
    gap: 38px !important;
  }

  .feature-copy h2 {
    font-size: 38px;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .feature-visual,
  .feature-copy {
    height: auto;
    min-height: 0;
  }

  .feature-image-shell {
    height: auto !important;
    min-height: 0 !important;
  }

  .feature-copy {
    overflow: visible;
  }

  .feature-copy h2,
  .feature-copy > p,
  .feature-copy .about-list,
  .feature-copy .about-actions,
  .feature-copy .feature-dots {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.54)) !important;
  }

  .about.section {
    padding-block: 54px;
  }
}
