/* Headline and action on the photograph, with an open view of the animals. */
#top.hero {
  height: min(90svh, 920px);
  min-height: 580px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

#top.hero .slide {
  inset: 68px 0 0;
  height: auto;
}

#top.hero::before {
  display: block;
  background: linear-gradient(to bottom, transparent 45%, rgba(17, 20, 14, .18) 65%, rgba(17, 20, 14, .76) 100%);
}

#top.hero .curve { display: none; }

#top.hero .hero-text {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  transform: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
  margin: 0;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  text-align: left;
  color: #fffaf2;
}

#top.hero .hero-text h1 {
  margin: 0;
  max-width: 20em;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.12;
  color: #fffaf2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

/* Keep the descriptive introduction available to assistive technology. */
#top.hero .hero-text > p {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#top.hero .hero-text .btn {
  flex: 0 0 auto;
  margin: 0;
  align-self: flex-end;
}

@media (min-width: 701px) {
  #top.hero .slide[data-img$="hero-broilers.jpg"] {
    width: 130%;
    right: auto;
    background-position: left 65% !important;
  }
}

@media (max-width: 700px) {
  #top.hero { height: 82svh; min-height: 540px; max-height: 760px; }
  #top.hero .hero-text { flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 2rem 1.25rem; }
  #top.hero .hero-text h1 { max-width: 18em; font-size: clamp(1.8rem, 7.3vw, 2.2rem); }
  #top.hero .hero-text .btn { align-self: flex-start; }
  #top.hero .slide[data-img$="hero-broilers.jpg"] { background-position: 42% center !important; }
}
