:root {
  --accent: #65c8be;
  --accent-2: #235950;
}

.home-hero {
  min-height: 320px;
  background:
    linear-gradient(0deg, rgba(255,255,255,.18), rgba(255,255,255,.18)),
    linear-gradient(135deg, rgba(101,200,190,.18), transparent 40%),
    var(--window);
}

/* home hero layout */
.hero-split {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hero-copy {
  flex: 1 1 0;
  min-width: 0;
}

.hero-image {
  flex: 0 0 auto;
  max-width: 800px;
}

.hero-image img {
  display: block;
  width: 100%;
  max-width: 380px;
  max-height: 300px;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.22);
}

/* optional: keep text from getting too wide if the image is small */
.hero-text {
  margin: 0;
}

/* existing marker blocks */
.home-markers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.home-markers div {
  border: 1px solid rgba(0,0,0,.16);
  padding: 10px;
  background: rgba(255,255,255,.28);
}

@media (max-width: 780px) {
  .home-markers {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-image {
    max-width: 780px;
  }

  .hero-image img {
    max-width: 380px;
    max-height: 340px;
  }
}

@media (max-width: 560px) {
  .hero-split {
    flex-direction: column;
  }

  .hero-image {
    max-width: 360px;
  }

  .hero-image img {
    max-width: 360px;
    max-height: 380px;
  }
}
