/* Static hero banner — header gutters; equal pad; cap height to viewport (cover + center). */
.hero-static-banner-wrap{
  --hero-static-pad:1.25rem;
  --hero-static-max-h:calc(100svh - 4.5rem - (2 * var(--hero-static-pad)));
  width:min(80rem,100%);
  margin-inline:auto;
  padding:var(--hero-static-pad) 1rem;
  box-sizing:border-box;
}
.hero-static-banner{
  display:block;
  width:100%;
  max-height:var(--hero-static-max-h);
  overflow:hidden;
  border-radius:1.125rem;
  background:transparent;
  line-height:0;
  text-decoration:none !important;
  color:inherit;
}
.hero-static-banner picture{
  display:block;
  width:100%;
  max-height:inherit;
  line-height:0;
}
.hero-static-banner__img{
  display:block;
  width:100%;
  height:auto;
  max-height:var(--hero-static-max-h);
  object-fit:cover;
  object-position:center center;
}
.hero-static-banner:focus-visible{
  outline:3px solid var(--accent,#2f6b3a);
  outline-offset:3px;
}
@media (max-width:767px){
  .hero-static-banner-wrap{
    --hero-static-pad:1rem;
  }
  .hero-static-banner{
    border-radius:1rem;
  }
}

/* Finished garden photograph includes the product, lighting, soil and leaves. */
.hero-slide--product>.hero-overlay{background:linear-gradient(90deg,rgba(5,17,10,.35),rgba(5,17,10,.12) 44%,transparent 66%),linear-gradient(0deg,rgba(5,17,10,.18),transparent 28%)}
@media (min-width:900px){
  .hero-slide--product .hero-copy{max-width:min(46rem,54%)}
  .hero-slide--product .hero-title{max-width:none;font-size:clamp(2.6rem,4.7vw,4.35rem);text-wrap:initial}
}

/* Keep the centre of the mobile photograph free for the product. */
@media (max-width:767px){
  .hero-slide--product{min-height:max(100svh,55rem);padding:6rem 1.25rem 5rem}
  .hero-slide--product>.hero-overlay{background:linear-gradient(180deg,rgba(3,15,8,.62) 0%,rgba(3,15,8,.68) 30%,rgba(3,15,8,.12) 42%,rgba(3,15,8,.08) 60%,rgba(3,15,8,.72) 72%,rgba(3,15,8,.86) 100%)}
  .hero-slide--product .hero-copy{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(15rem,1fr) auto auto;align-content:stretch;min-height:calc(max(100svh,55rem) - 11rem);width:100%}
  .hero-slide--product .hero-title{grid-row:1;margin:0;font-size:clamp(1.9rem,7.4vw,2.35rem);line-height:1.02}
  .hero-slide--product .hero-support{grid-row:2;margin:1rem 0 0;font-size:.95rem;line-height:1.45;color:rgba(255,255,255,.94);text-shadow:0 2px 12px rgba(0,0,0,.35)}
  .hero-slide--product .hero-crops{grid-row:4;margin:0 auto;padding:.8rem .65rem;column-gap:.7rem;row-gap:.55rem;background:rgba(5,20,11,.46);border-color:rgba(255,255,255,.25)}
  .hero-slide--product .hero-crops li{font-size:.69rem;gap:.3rem}
  .hero-slide--product .hero-actions{grid-row:5;margin:1.1rem 0 0;padding:0;align-self:end}
}
@media (max-width:359px){
  .hero-slide--product{padding-inline:1rem}
  .hero-slide--product .hero-crops{column-gap:.45rem}
  .hero-slide--product .hero-crops li{font-size:.62rem}
}

.hero-crops-copy{display:none}
@media (max-width:767px){
  .hero-slide--product{height:100svh;min-height:100svh;padding:clamp(5rem,10svh,6rem) 1.25rem 4.5rem}
  .hero-slide--product .hero-copy{height:100%;min-height:0;grid-template-rows:auto auto minmax(0,1fr) auto auto}
  .hero-crop-strip{
    grid-row:4;
    min-width:0;
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    overflow:hidden;
    border:0;
    border-block:1px solid rgba(255,255,255,.24);
    border-radius:0;
    background:rgba(5,20,11,.48);
    cursor:grab;
    user-select:none;
    -webkit-user-select:none;
    touch-action:pan-y;
    overscroll-behavior-x:contain;
    mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  }
  .hero-crop-strip.is-dragging{cursor:grabbing}
  .hero-crop-track{
    display:flex;
    width:max-content;
    will-change:transform;
  }
  .hero-slide--product .hero-crop-track .hero-crops,
  .hero-slide--product .hero-crop-track .hero-crops-copy{
    display:flex;
    flex:none;
    gap:1.5rem;
    width:max-content;
    max-width:none;
    margin:0;
    padding:.85rem 1.25rem;
    border:0;
    border-radius:0;
    background:none;
  }
  .hero-slide--product .hero-crop-track .hero-crops li{flex:none;font-size:.75rem;white-space:nowrap;gap:.4rem}
  .hero-slide--product .hero-actions{margin-top:.85rem}
}
@media (max-width:767px) and (max-height:740px){
  .hero-slide--product{padding-top:5rem}
  .hero-slide--product .hero-title{font-size:clamp(1.7rem,7vw,2.1rem)}
  .hero-slide--product .hero-support{font-size:.875rem;line-height:1.4;margin-top:.75rem}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){
  .hero-crop-strip{overflow-x:auto;-webkit-overflow-scrolling:touch;mask-image:none;cursor:auto}
  .hero-crop-track{transform:none !important}
  .hero-slide--product .hero-crop-track .hero-crops-copy{display:none}
}
