.hero {
  min-height: 60vh;
}

.hero::before {
  background-position: center;
}


.hero-ft {  
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  background-image: url('hero-forest-640.webp');  
}

/* Larger tablets and small laptops */
@media (min-width: 768px) {
  .hero-ft {    
    background-image: url('hero-forest-1024.webp');
  }
}

@media (min-width:640px) {
  .hero {
    min-height: 70vh; 
    align-items: flex-end;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .hero-ft {    
    background-image: url('hero-forest-1440.webp');
  }
}

/* Large and hi-res displays */
@media (min-width: 1600px) {
  .hero-ft {
    background-image: url('hero-forest-1920.webp');
  }
}

.hero::before {
  background-image: url('hero-forest-640.webp');  
}

@media (min-width: 768px) {
  .hero::before {
    background-image: url('hero-forest-1024.webp');
  }
  }
  
  /* Desktop */
  @media (min-width: 1200px) {
  .hero::before {
    background-image: url('hero-forest-1440.webp');
  }
  }
  
  /* Large and hi-res displays */
  @media (min-width: 1600px) {
  .hero::before {
    background-image: url('hero-forest-1920.webp');
  }
  }

  .hero::after {
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.0),
    rgba(96, 59, 42, 0.22)
  );
  }


  .hero.hero--parallax {
    position: relative;
    overflow: hidden;
  }
  
  /* Background image lives on a pseudo-element so we can move it */
  .hero.hero--parallax::before {
    content: "";
    position: absolute;
    inset: -10%; /* oversize so we don’t show edges when it moves */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate3d(0, var(--parallax-y, 0), 0);
    will-change: transform;
    z-index: -1;
  }
  
  /* Put the actual content above */
  .hero__inner {
    position: relative;
    z-index: 1;
  }
  
  /* Respect reduced motion and mobile: disable the effect */
  @media (prefers-reduced-motion: reduce) {
    .hero.hero--parallax::before {
      transform: none !important;
    }
  }
  
  @media (max-width: 768px) {
    .hero.hero--parallax::before {
      transform: none !important;
    }
  }

  .conditions {
    padding: 3rem 0;
  }
  
  .conditions .container {
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .conditions__heading {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .conditions__intro {
    margin-bottom: 2rem;
  }
  
  /* Individual condition blocks */
  
  .condition {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  /* 4:3 image container */
  .condition__image {
    flex: 0 0 11rem;            /* width on larger screens */
    aspect-ratio: 7 / 5;
    border-radius: 0.75rem;
    overflow: hidden;
  }
  
  .condition__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .condition__content {
    flex: 1 1 auto;
  }
  
  .condition__title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
  }

  .condition__image .zoomed {
    transform: scale(1.5); /* 1.0 = normal; 1.2 = 20% zoom */
    transform-origin: center;
  }
  
  /* Responsive: stack into a single column on smaller screens */
  
  @media (max-width: 768px) {
    .condition {
      flex-direction: column;
      align-items: stretch;
    }
  
    .condition__image {
      flex-basis: auto;
      width: 100%;
      max-width: 18rem;       /* optional: cap width */
    }
  }