/* Homepage hero: copy on the left, enquiry card overlaid on the right. */

#header1-ea.cid-rILqVBK0TJ {
  position: relative;
  padding-top: 6.75rem;
  padding-bottom: 2.75rem;
  background-color: transparent !important;
  background-image: url("/assets/images/fowey-header-sharpen-sharpen-1674x836.jpg");
  background-size: cover;
  background-position: center;
}

/* Jarallax places the photo at z-index:-100. Keep it above the section
   canvas and below the copy/form — never clip it with overflow:hidden. */
#header1-ea .jarallax-container {
  z-index: 0 !important;
}

#header1-ea .syxty-hero {
  position: relative;
  z-index: 1;
  max-width: 1240px;
}

.syxty-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 400px);
  gap: clamp(1.5rem, 3vw, 3.25rem);
  align-items: center;
}

.syxty-hero__copy {
  max-width: 38rem;
  text-align: left;
}

.syxty-hero__copy .display-2 {
  margin: 0 0 .75rem 0;
  line-height: 1.15;
  text-align: left;
}

.syxty-hero__copy .display-5 {
  margin: 0 0 1.6rem 0;
  line-height: 1.45;
  text-align: left;
  max-width: 34rem;
}

.syxty-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem .85rem;
  justify-content: flex-start;
  text-align: left;
}

.syxty-hero__ctas .btn {
  margin: 0;
}

.syxty-hero__form {
  width: 100%;
}

/* Parallax theme rules would otherwise stamp a text-shadow onto the form. */
#header1-ea .syxty-lead h2,
#header1-ea .syxty-lead p,
#header1-ea .syxty-lead label {
  text-shadow: none !important;
}

@media (max-width: 1199.98px) {
  .syxty-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    min-height: 0;
  }
  .syxty-hero__copy .display-2 {
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  }
}

@media (max-width: 991.98px) {
  #header1-ea.cid-rILqVBK0TJ {
    padding-top: 6.25rem;
    padding-bottom: 2rem;
  }
  .syxty-hero__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.75rem;
  }
  .syxty-hero__copy {
    max-width: 40rem;
    text-align: center;
  }
  .syxty-hero__copy .display-2,
  .syxty-hero__copy .display-5 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .syxty-hero__ctas {
    justify-content: center;
  }
  .syxty-hero__form {
    max-width: 420px;
  }
}

@media (max-width: 575.98px) {
  .syxty-hero__ctas .btn {
    width: 100%;
  }
  .syxty-lead--hero .syxty-lead__grid {
    grid-template-columns: 1fr;
  }
}
