/* Final home-page card treatment */
.hero h1 {
  font-size: clamp(2.7rem, 4.9vw, 4.62rem);
}

.outcomes .service-grid .card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #f7f8f3 !important;
  background-position: center;
  background-size: cover;
}

.outcomes .service-grid .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(248, 250, 246, .80);
}

.outcomes .service-grid .card > * {
  position: relative;
  z-index: 1;
}

.outcomes .service-grid .card:nth-child(1) { background-image: url("assets/cards/aquaponics-consulting.jpg") !important; }
.outcomes .service-grid .card:nth-child(2) { background-image: url("assets/cards/green-campus.webp") !important; }
.outcomes .service-grid .card:nth-child(3) { background-image: url("assets/cards/urban-rooftop.webp") !important; }
.outcomes .service-grid .card:nth-child(4) { background-image: url("assets/cards/sustainable-organic-farming.jpg") !important; }
.outcomes .service-grid .card:nth-child(5) { background-image: url("assets/cards/regenerative-farm.webp") !important; }
.outcomes .service-grid .card:nth-child(6) { background-image: url("assets/cards/institutional.webp") !important; }

.action-video-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 48px;
}

.action-video .button {
  display: inline-flex;
  margin-top: 20px;
}

.action-video-image { display: block; }
.action-video-image img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }

@media (max-width: 700px) {
  .hero h1 { font-size: clamp(2.45rem, 11vw, 3.3rem); }
  .action-video-inner { grid-template-columns: 1fr; gap: 26px; }
}

/* Accommodate the larger header logo without clipping it. */
.nav { height: 100px; }

@media (max-width: 850px) {
  .nav.open .nav-links { top: 100px; }
}
