/* Full-width, media-led homepage hero. The poster is also the no-JS, mobile and reduced-motion fallback. */
.ff-site .ff-home-hero {
  position:relative;
  display:grid;
  align-items:center;
  min-height:clamp(540px, calc(100vh - 112px), 850px);
  min-height:clamp(540px, calc(100svh - 112px), 850px);
  overflow:hidden;
  isolation:isolate;
  background:#14261c url('../video/flexfarm-home-hero.webp') center / cover no-repeat;
  color:#fff;
}
.ff-site .ff-home-hero::before,
.ff-site .ff-home-hero::after {
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}
.ff-site .ff-home-hero::before {
  background:linear-gradient(90deg,rgba(5,18,12,.80) 0%,rgba(5,18,12,.63) 35%,rgba(5,18,12,.34) 68%,rgba(5,18,12,.62) 100%);
}
.ff-site .ff-home-hero::after {
  background:linear-gradient(0deg,rgba(5,18,12,.53) 0%,rgba(5,18,12,0) 42%);
}
.ff-site .ff-home-video {
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 53%;
  pointer-events:none;
}
.ff-site .ff-home-content {
  position:relative;
  z-index:2;
  width:min(1180px,calc(100% - 48px));
  margin-inline:auto;
  padding-block:clamp(72px,9vh,140px);
}
.ff-site .ff-home-copy {
  max-width:760px;
}
.ff-site .ff-home-hero .ff-eyebrow {
  color:#afe294;
}
.ff-site .ff-home-hero .ff-eyebrow::before {
  background:currentColor;
}
.ff-site .ff-home-hero h1 {
  max-width:760px;
  color:#fff;
  font-size:clamp(50px,6.8vw,86px);
  line-height:1.02;
  text-wrap:balance;
}
.ff-site .ff-home-hero .ff-lede {
  max-width:660px;
  margin:20px 0 30px;
  color:rgba(255,255,255,.93);
  font-size:clamp(17px,1.6vw,21px);
  line-height:1.6;
}
.ff-site .ff-home-hero .ff-actions {
  align-items:center;
  gap:12px;
}
.ff-site .ff-home-hero .ff-btn-light {
  border-color:#fff;
  background:#fff;
  color:var(--forest)!important;
}
.ff-site .ff-home-video-note {
  position:absolute;
  z-index:2;
  inset-inline-end:18px;
  bottom:16px;
  max-width:min(480px,calc(100% - 36px));
  margin:0;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  background:rgba(8,22,15,.62);
  color:rgba(255,255,255,.94);
  font-size:11px;
  line-height:1.45;
  text-align:center;
  backdrop-filter:blur(8px);
}
@media(max-width:850px) {
  .ff-site .ff-home-hero {
    min-height:clamp(560px,74vh,790px);
    min-height:clamp(560px,74svh,790px);
  }
  .ff-site .ff-home-hero h1 {
    font-size:clamp(48px,8.4vw,72px);
  }
}
@media(max-width:650px) {
  .ff-site .ff-home-hero {
    min-height:clamp(620px,84vh,800px);
    min-height:clamp(620px,84svh,800px);
    background-position:56% center;
  }
  .ff-site .ff-home-content {
    width:calc(100% - 36px);
    padding:68px 0 108px;
  }
  .ff-site .ff-home-copy {
    max-width:100%;
  }
  .ff-site .ff-home-hero h1 {
    max-width:14ch;
    font-size:clamp(42px,12vw,58px);
    line-height:1.05;
  }
  .ff-site .ff-home-hero .ff-lede {
    max-width:36rem;
    margin:18px 0 24px;
    font-size:17px;
    line-height:1.65;
  }
  .ff-site .ff-home-hero .ff-actions {
    align-items:stretch;
  }
  .ff-site .ff-home-hero .ff-btn {
    min-height:48px;
  }
  .ff-site .ff-home-video-note {
    inset-inline:18px;
    bottom:12px;
    max-width:none;
    border-radius:10px;
    font-size:10px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .ff-site .ff-home-video {
    display:none!important;
  }
}
