.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  margin-block: clamp(1rem, 3.35vw, 2.75rem) clamp(2rem, 4.4vw, 4rem);
  overflow: hidden;
  border-radius: .85rem clamp(3rem, 7vw, 6rem) .85rem .85rem;
  background: radial-gradient(ellipse at 0 100%, #2c4c37, var(--ink) 72%);
  color: var(--paper);
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.65rem, 4.1vw, 4rem);
  animation: home-intro-in 520ms cubic-bezier(.2, .7, .3, 1) both;
}

.home-origin {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--sprout);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .145em;
  text-transform: uppercase;
}

.home-origin::before {
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.home-hero h1 {
  margin-block: 1.05rem 1.1rem;
  font-size: clamp(3rem, 6.05vw, 6.15rem);
  line-height: .98;
  letter-spacing: -.057em;
}

.home-hero h1 em {
  display: block;
  color: var(--sprout);
  font-weight: 500;
}

.home-hero-description {
  max-width: 22rem;
  color: #edf2e6;
  font-size: clamp(1.0625rem, 1.6vw, 1.2rem);
}

.home-delivery {
  max-width: 28rem;
  margin-top: 1.45rem;
  padding-top: .85rem;
  border-top: 1px solid #d8e8d55e;
  color: #e2eade;
  font-size: .94rem;
}

.home-delivery strong { color: var(--paper); }

.home-hero-media {
  display: grid;
  min-height: clamp(27rem, 41vw, 35rem);
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: .27rem;
  padding: .35rem;
}

.home-photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: .35rem;
  background: #304f35;
}

.home-photo--basket { grid-row: span 2; }
.home-photo--basil { border-top-right-radius: clamp(2.65rem, 6.6vw, 5.65rem); }

.home-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-photo--basket img { object-position: 50% 72%; }
.home-photo--basil img { object-position: 50% 46%; }
.home-photo--tomatoes img { object-position: 53% 56%; }

.home-produce {
  border-block: 1px solid #dfe5d6;
  background: var(--produce);
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.25rem, 3.5vw, 2.5rem);
}

.home-section-heading p, .home-farm-copy p {
  max-width: 27rem;
  margin-top: .6rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.home-section-heading .filters { margin-bottom: .1rem; }

.home-catalogue .produce-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(.85rem, 2vw, 1.5rem);
}

.home-catalogue:has([data-filter][aria-pressed="true"]:not([data-filter="all"])) .produce-groups {
  grid-template-columns: minmax(0, 1fr);
}

.home-catalogue .produce-group {
  padding: clamp(1rem, 2.6vw, 1.95rem);
  border: 1px solid #cdd7c7;
  border-radius: .72rem;
  background: #fbfcf6;
}

.home-catalogue .produce-group h3 {
  margin-bottom: .52rem;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.home-catalogue .produce-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-catalogue .produce-group li + li { border-top: 1px solid #dce3d5; }

.crop-detail summary {
  display: flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding-block: .48rem;
  cursor: pointer;
  font-size: .99rem;
  font-weight: 600;
  list-style: none;
}

.crop-detail summary::-webkit-details-marker { display: none; }

.crop-detail-label {
  flex-shrink: 0;
  color: var(--leaf);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .19em;
}

.crop-detail summary:hover .crop-detail-label,
.crop-detail[open] .crop-detail-label { color: var(--green); text-decoration-thickness: 2px; }

.crop-detail p {
  max-width: 26rem;
  padding-bottom: .72rem;
  color: var(--muted);
  font-size: .94rem;
}

.home-farm {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.3rem, 5.7vw, 5.1rem);
}

.home-farm-photo {
  overflow: hidden;
  border-radius: .75rem .75rem clamp(2.5rem, 6vw, 4.5rem) .75rem;
  background: #d8e4d2;
}

.home-farm-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.68;
  object-fit: cover;
}

.home-farm-copy p { margin-block: .95rem 1.25rem; }

@keyframes home-intro-in {
  from { opacity: .78; transform: translateY(.6rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 48rem) {
  .home-hero, .home-farm { grid-template-columns: 1fr; }
  .home-hero { border-top-right-radius: clamp(2.45rem, 8.4vw, 4rem); }
  .home-hero-copy { padding: clamp(1.32rem, 4.8vw, 2.2rem); }
  .home-hero h1 { font-size: clamp(2.9rem, 10.6vw, 4.85rem); }
  .home-hero-media { min-height: clamp(13rem, 60vw, 24rem); }
  .home-photo--basil { border-top-right-radius: .35rem; }
  .home-farm-copy { grid-row: 1; }
}

@media (max-width: 39rem) {
  .home-catalogue .produce-groups { grid-template-columns: 1fr; }
  .home-hero h1 { margin-block: .75rem .7rem; }
  .home-delivery { margin-top: .95rem; padding-top: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-copy { animation: none; }
}
