/* Homepage sourcing section: full-bleed composition matched to the approved reference. */
.home-page #roots.home-origin-section {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  padding-block: 0 !important; /* Keep the full-bleed image flush with the section boundary. */
  overflow: hidden;
  background: #f7f5f0;
}

.home-page #roots .home-origin-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: min(calc(100% - 3rem), 1264px);
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  margin-inline: auto;
  padding: 9.5rem 0 6.5rem;
}

.home-page #roots .home-origin-copy,
.home-page #roots .home-origin-highlights {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
}

.home-page #roots .home-origin-title {
  max-width: 500px;
  margin: 0;
  color: #1a3b28;
  font-family: Inter, sans-serif;
  font-size: clamp(3rem, 3.4vw, 3.25rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
}

.home-page #roots .home-origin-divider {
  width: 68px;
  height: 5px;
  margin-top: 1.6rem;
  border-radius: 999px;
  background: #a64b2a;
}

.home-page #roots .home-origin-description {
  max-width: 500px;
  margin-top: 2.15rem;
  color: #59665c;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.45;
}

.home-page #roots .home-origin-description p {
  margin: 0;
}

.home-page #roots .home-origin-description p + p {
  margin-top: 1.45rem;
}

.home-page #roots .home-origin-visual {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 50%;
  width: 100vw;
  height: 100%;
  margin: 0;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
  background: #f7f5f0;
}

.home-page #roots .home-origin-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    #f7f5f0 0%,
    #f7f5f0 27%,
    rgba(247, 245, 240, .98) 35%,
    rgba(247, 245, 240, .84) 42%,
    rgba(247, 245, 240, .46) 50%,
    rgba(247, 245, 240, .12) 58%,
    rgba(247, 245, 240, 0) 64%
  );
}

.home-page #roots .home-origin-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.home-page #roots .home-origin-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.65rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.home-page #roots .home-origin-highlight {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page #roots .home-origin-icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1rem;
  color: #a64b2a;
  line-height: 1;
}

.home-page #roots .home-origin-icon svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.home-page #roots .home-origin-highlight h3 {
  margin: 0;
  color: #1a3b28;
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.3;
}

.home-page #roots .home-origin-highlight p {
  margin: .6rem 0 0;
  color: #687368;
  font-size: 1rem;
  line-height: 1.45;
}

.home-page #roots .home-origin-highlight a {
  display: inline-block;
  margin-top: 1rem;
  color: #a64b2a;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .home-page #roots.home-origin-section {
    min-height: 0;
    padding: 0;
  }

  .home-page #roots .home-origin-layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-height: 0;
    padding: 5rem 0 3rem;
  }

  .home-page #roots .home-origin-copy,
  .home-page #roots .home-origin-highlights {
    width: calc(100% - 2rem);
    max-width: 600px;
    margin-inline: auto;
  }

  .home-page #roots .home-origin-title {
    max-width: 100%;
    font-size: clamp(2.25rem, 9.5vw, 3rem);
    line-height: .99;
  }

  .home-page #roots .home-origin-divider {
    margin-top: 1.15rem;
  }

  .home-page #roots .home-origin-description {
    max-width: 100%;
    margin-top: 1.45rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .home-page #roots .home-origin-description p + p {
    margin-top: 1.15rem;
  }

  .home-page #roots .home-origin-visual {
    position: relative;
    inset: auto;
    order: 2;
    width: 100vw;
    height: auto;
    aspect-ratio: 1586 / 992;
    margin: 1.5rem 0 0 calc(50% - 50vw);
    transform: none;
  }

  .home-page #roots .home-origin-visual::after {
    background: linear-gradient(
      180deg,
      #f7f5f0 0%,
      rgba(247, 245, 240, .88) 9%,
      rgba(247, 245, 240, .48) 22%,
      rgba(247, 245, 240, .08) 38%,
      rgba(247, 245, 240, 0) 60%,
      rgba(247, 245, 240, .08) 82%,
      #f7f5f0 100%
    );
  }

  .home-page #roots .home-origin-image {
    height: 100%;
    object-position: center center;
  }

  .home-page #roots .home-origin-highlights {
    order: 3;
    margin-top: 1.75rem;
    gap: 1.2rem;
  }

  .home-page #roots .home-origin-highlight h3 {
    font-size: 1.1rem;
  }

  .home-page #roots .home-origin-highlight p,
  .home-page #roots .home-origin-highlight a {
    font-size: .9rem;
  }
}

@media (max-width: 480px) {
  .home-page #roots .home-origin-layout {
    padding-top: 4.25rem;
    padding-bottom: 2.5rem;
  }

  .home-page #roots .home-origin-title {
    font-size: clamp(2.2rem, 9.5vw, 2.65rem);
  }

  .home-page #roots .home-origin-description {
    margin-top: 1.2rem;
  }

  .home-page #roots .home-origin-visual {
    margin-top: 1.2rem;
  }

  .home-page #roots .home-origin-highlights {
    gap: 1rem;
    margin-top: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page #roots .home-origin-image {
    transition: none;
  }
}
