#crops.crops-garden{--crop-gutter:1rem;--crop-inline:max(var(--crop-gutter),calc((100% - min(80rem,calc(100% - var(--crop-gutter)*2)))/2));position:relative;isolation:isolate;overflow:hidden;border:0;padding:clamp(3.5rem,6vw,5.5rem) 0 3.75rem;background:#21160f url('img/crops/soil-garden.webp') center/cover;color:#fff}
#crops.crops-garden::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(15,11,7,.58),rgba(15,11,7,.12) 43%,rgba(15,11,7,.35))}
#crops.crops-garden::after{content:"";position:absolute;inset:auto 0 -1px;height:1.6rem;background:#e6eee8;clip-path:polygon(0 48%,2% 62%,4% 45%,6% 70%,9% 50%,11% 65%,14% 42%,17% 62%,20% 48%,23% 68%,26% 51%,29% 72%,32% 46%,35% 63%,38% 51%,41% 70%,44% 49%,47% 64%,50% 43%,53% 65%,56% 51%,59% 72%,62% 48%,65% 62%,68% 44%,71% 66%,74% 52%,77% 72%,80% 45%,83% 65%,86% 50%,89% 70%,92% 48%,95% 64%,98% 46%,100% 59%,100% 100%,0 100%)}
#crops .crops-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;max-width:none;margin:0 auto 1.5rem;padding-inline:var(--crop-inline)}
#crops .crops-heading .display-title{max-width:none;margin-inline:0;color:#fff}
#crops .crops-heading .section-copy{max-width:48rem;color:#e6e1d7;font-size:1.05rem;line-height:1.6}
#crops .crop-card .text-link svg{width:1.15rem;height:1.15rem;flex:none}
#crops .crops-viewport{display:flex;align-items:stretch;gap:2rem;overflow-x:auto;overflow-y:hidden;width:100%;max-width:none;margin-inline:0;padding:1.2rem var(--crop-inline) 1.5rem;scroll-padding-inline:var(--crop-inline);scroll-snap-type:none;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;cursor:grab;user-select:none}
#crops .crops-viewport::-webkit-scrollbar{display:none}
#crops .crops-viewport.is-dragging{cursor:grabbing;scroll-snap-type:none}
#crops .crop-card{display:flex;position:relative;flex:0 0 calc((min(100vw,80rem) - 2rem - 8rem)/5);width:auto;min-width:0;flex-direction:column;overflow:visible;border-radius:0;background:none;box-shadow:none;scroll-snap-align:none;transition:none}
#crops .crop-card:hover{transform:none;box-shadow:none}
#crops .crop-card>img{position:relative;z-index:1;align-self:center;width:calc(100% + 1rem);max-width:none;height:clamp(12rem,16vw,16rem);margin-bottom:-3.5rem;object-fit:contain;filter:drop-shadow(0 8px 7px rgba(8,10,4,.24));pointer-events:none;user-select:none;transition:transform .3s ease}
#crops .crop-card:hover>img{transform:translateY(-.3rem) rotate(-1deg)}
#crops .crop-card-body{display:flex;flex:1;min-height:15.25rem;flex-direction:column;padding:3.5rem 1.15rem 1.15rem;border:1px solid rgba(255,255,255,.45);border-radius:1.3rem;background:linear-gradient(145deg,#faf7ee,#eee6d7);box-shadow:0 12px 24px rgba(8,7,4,.2);text-align:left}
#crops .crop-card-body h3{color:#19382a;font-size:clamp(1.35rem,1.55vw,1.7rem);font-weight:800;line-height:1.08}
#crops .crop-card-body p{margin-top:.85rem;color:#62685e;font-size:.9rem;line-height:1.55}
#crops .crop-card .text-link{display:flex;justify-content:space-between;gap:.5rem;width:100%;min-height:2.75rem;margin-top:auto;padding-top:.85rem;color:#245b3f;font-size:.86rem;font-weight:700;text-decoration-color:rgba(36,91,63,.28)}
#crops :focus-visible{outline:2px solid #f5eacb;outline-offset:4px}
#crops .crop-card :focus-visible{outline-color:#2f6b4f}
@media (min-width:768px){#crops.crops-garden{--crop-gutter:2rem}}
@media (min-width:1200px) and (max-width:1439px){#crops .crop-card{flex-basis:calc((100vw - 7.3rem)/4.1)}}
@media (max-width:1199px){
  #crops .crop-card{flex-basis:calc((100vw - 7rem)/3)}
  #crops .crop-card>img{height:14rem}
  #crops .crop-card-body h3{font-size:1.65rem}
}
@media (max-width:899px){
  #crops.crops-garden{--crop-gutter:2rem}
  #crops .crops-heading{padding-inline:var(--crop-inline);gap:1.25rem;align-items:flex-start;flex-direction:column}
  #crops .crops-heading .display-title{max-width:18ch}
  #crops .crops-heading .section-copy{max-width:36rem;font-size:1rem}
  #crops .crop-card{flex-basis:calc((100vw - 5rem)/2.3)}
  #crops .crop-card-body{min-height:14.5rem}
}
@media (max-width:599px){
  #crops.crops-garden{--crop-gutter:1rem;padding-top:3.25rem;padding-bottom:3rem;background-size:auto 100%;background-position:45% center}
  #crops .crops-heading{padding-inline:var(--crop-inline);margin-bottom:.5rem;gap:1.25rem;text-align:left;align-items:flex-start}
  #crops .crops-heading .display-title{max-width:13ch;text-align:left}
  #crops .crops-heading .section-copy{font-size:.95rem;text-align:left}
  #crops .crops-viewport{gap:1.5rem;padding-top:.5rem;padding-bottom:1.25rem}
  #crops .crop-card{flex-basis:80vw;max-width:21rem}
  #crops .crop-card>img{height:13.5rem;margin-bottom:-3rem}
  #crops .crop-card-body{min-height:14rem;padding:3.1rem 1.25rem 1.1rem}
  #crops .crop-card-body h3{font-size:1.7rem}
  #crops .crop-card-body p{font-size:.9rem}
}
@media (prefers-reduced-motion:reduce){#crops .crop-card>img{transition:none}#crops .crop-card:hover>img{transform:none}}

/* Soft shade behind the section copy, and loose soil at the card edges. */
#crops .crops-heading{position:relative;isolation:isolate}
#crops .crops-heading::before{content:"";position:absolute;z-index:-1;inset:-3rem 0 -2.5rem;pointer-events:none;background:radial-gradient(ellipse at 30% 45%,rgba(9,8,5,.85) 0%,rgba(9,8,5,.58) 42%,rgba(9,8,5,.18) 65%,transparent 80%)}
#crops .crops-heading .display-title,#crops .crops-heading .section-copy{text-shadow:0 2px 15px rgba(0,0,0,.4)}
#crops .crop-card-body{position:relative}
#crops .crop-card>img{z-index:2}
#crops .crop-card-body>*{position:relative;z-index:2}
@media (max-width:599px){
  #crops .crops-heading::before{inset:-2.5rem 0 -2rem;background:radial-gradient(ellipse at 40% 45%,rgba(9,8,5,.85),rgba(9,8,5,.6) 48%,transparent 80%)}
}

/* Applications listing: same overflow crop cards, grid, no soil backdrop */
.story-band.apps-crops{
  --apps-gap:1.75rem;
  overflow:visible;
  padding-block:clamp(2.5rem,5vw,4rem) clamp(3.5rem,6vw,5.5rem);
  color:inherit;
}
.apps-crops .story-shell{
  overflow:visible;
}
.apps-crops .apps-crops__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(2.75rem,5vw,3.5rem) var(--apps-gap);
  width:100%;
  margin:0;
  padding:1.25rem 0 0;
  overflow:visible;
}
.apps-crops .crop-card{
  display:flex;
  position:relative;
  width:100%;
  min-width:0;
  flex-direction:column;
  overflow:visible;
  border-radius:0;
  background:none;
  box-shadow:none;
  text-decoration:none;
  color:inherit;
  transition:none;
}
.apps-crops .crop-card:hover{
  transform:none;
  box-shadow:none;
}
.apps-crops .crop-card>img{
  position:relative;
  z-index:2;
  align-self:center;
  width:calc(100% + 1.25rem);
  max-width:none;
  height:clamp(13.5rem,18vw,17.5rem);
  margin-bottom:-3.75rem;
  object-fit:contain;
  filter:drop-shadow(0 8px 7px rgba(8,10,4,.22));
  pointer-events:none;
  user-select:none;
  transition:transform .3s ease;
}
.apps-crops .crop-card:hover>img{
  transform:translateY(-.3rem) rotate(-1deg);
}
.apps-crops .crop-card-body{
  display:flex;
  position:relative;
  flex:1;
  min-height:16.5rem;
  flex-direction:column;
  padding:3.85rem 1.35rem 1.35rem;
  border:1px solid rgba(25,56,42,.14);
  border-radius:1.3rem;
  background:linear-gradient(145deg,#faf7ee,#eee6d7);
  box-shadow:0 12px 24px rgba(8,7,4,.12);
  text-align:left;
}
.apps-crops .crop-card-body>*{position:relative;z-index:2}
.apps-crops .crop-card-body h3{
  color:#19382a;
  font-family:"Sofia Sans Condensed",sans-serif;
  font-size:clamp(1.55rem,2.2vw,1.95rem);
  font-weight:800;
  line-height:1.08;
}
.apps-crops .crop-card-body p{
  margin-top:.85rem;
  color:#62685e;
  font-size:.95rem;
  line-height:1.55;
}
.apps-crops .crop-card .text-link{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.5rem;
  width:100%;
  min-height:2.75rem;
  margin-top:auto;
  padding-top:.85rem;
  color:#245b3f;
  font-size:.9rem;
  font-weight:700;
  text-decoration:underline;
  text-decoration-color:rgba(36,91,63,.28);
  text-underline-offset:.3rem;
}
.apps-crops .crop-card .text-link svg{
  width:1.15rem;
  height:1.15rem;
  flex:none;
}
.apps-crops .crop-card :focus-visible{
  outline:2px solid #2f6b4f;
  outline-offset:4px;
}
@media (min-width:700px){
  .apps-crops .apps-crops__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1100px){
  .apps-crops{
    --apps-gap:2rem;
  }
  .apps-crops .apps-crops__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .apps-crops .crop-card>img{height:clamp(14.5rem,15vw,18rem)}
  .apps-crops .crop-card-body{min-height:17rem;padding:4rem 1.45rem 1.45rem}
}
@media (max-width:699px){
  .apps-crops .crop-card>img{height:14.5rem;margin-bottom:-3.25rem;width:calc(100% + .75rem)}
  .apps-crops .crop-card-body{min-height:15rem;padding:3.35rem 1.3rem 1.25rem}
  .apps-crops .crop-card-body h3{font-size:1.75rem}
}
@media (prefers-reduced-motion:reduce){
  .apps-crops .crop-card>img{transition:none}
  .apps-crops .crop-card:hover>img{transform:none}
}
