.hero {
  background: #102e23;
}

.hero::before,
.hero::after {
  position: absolute;
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: -1rem;
  z-index: -2;
  background: url("assets/marau/jardim-640.webp") center 48% / cover no-repeat;
  filter: blur(8px) saturate(.78);
}

.hero::after {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(97deg, #102e23 0%, rgb(16 46 35 / .98) 24%, rgb(16 46 35 / .94) 39%, rgb(16 46 35 / .57) 72%, rgb(13 37 31 / .70) 100%),
    linear-gradient(to top, rgb(10 32 24 / .72), transparent 68%),
    radial-gradient(ellipse at 76% 89%, rgb(157 125 67 / .34), transparent 58%);
  mask-image: none;
}

.hero > .hero-grid {
  width: min(96rem, calc(100% - 2 * clamp(1.25rem, 4.65vw, 5rem)));
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: clamp(2rem, 4.2vw, 5.75rem);
  padding-block: clamp(2.9rem, 5.1vw, 5.4rem) clamp(2.7rem, 4.25vw, 4.8rem);
}

.hero .hero-copy h1 {
  font-size: clamp(3.5rem, 6.35vw, 7.15rem);
  line-height: .91;
  text-wrap: initial;
}

.hero .hero-intro {
  max-width: 31rem;
}

.hero .hero-collage {
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  height: clamp(29.5rem, 38vw, 42rem);
  gap: clamp(.5rem, 1.05vw, 1rem);
}

.hero .hero-collage img {
  min-width: 0;
  min-height: 0;
  outline: 1px solid rgb(245 223 183 / .22);
  outline-offset: -1px;
  box-shadow: 0 .95rem 2.75rem rgb(5 20 14 / .31);
  filter: none;
}

.hero .hero-photo-main {
  border-radius: 29% 29% .55rem .55rem / 25% 25% .55rem .55rem;
  object-position: 50% 46%;
}

.hero .hero-photo-top {
  border-radius: .55rem clamp(1.8rem, 5vw, 5.75rem) .55rem .55rem;
  object-position: 52% 52%;
}

.hero .hero-photo-bottom {
  height: auto;
  aspect-ratio: 2 / 1;
  border-radius: .55rem .55rem clamp(1.8rem, 5vw, 5.75rem) .55rem;
  object-position: 51% 58%;
}

.hero .hero-stage figcaption {
  padding-top: .52rem;
}

@media (max-width: 1160px) {
  .hero .hero-copy h1 {
    font-size: clamp(3.35rem, 6.5vw, 5.6rem);
  }

  .hero .hero-collage {
    height: clamp(25rem, 42vw, 34rem);
  }
}

@media (max-width: 900px) {
  .hero > .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.7rem;
    padding-block: clamp(2.5rem, 6vw, 3.75rem) 1.5rem;
  }

  .hero .hero-copy h1 {
    font-size: clamp(3.6rem, 11vw, 6.15rem);
    text-wrap: balance;
  }

  .hero .hero-collage {
    height: clamp(15.75rem, 63vw, 32rem);
  }

  .hero::after {
    background:
      linear-gradient(176deg, #102e23 0%, rgb(16 46 35 / .98) 31%, rgb(16 46 35 / .84) 52%, rgb(13 37 31 / .62) 100%),
      radial-gradient(ellipse at 80% 95%, rgb(157 125 67 / .3), transparent 65%);
  }
}

@media (max-width: 370px) {
  .hero .hero-copy h1 {
    font-size: clamp(3.05rem, 16vw, 3.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-stage {
    transform: none;
  }
}
