/* Homepage closing invitation — stable responsive hero composition. */

.fg-home-redesign > .fg-home-final {
  position: relative !important;
  display: flex !important;
  min-height: clamp(38rem, 78svh, 54rem) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(5rem, 10vw, 9rem) max(1.25rem, calc((100vw - 1240px) / 2)) !important;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #26372d !important;
  color: #faf9f3 !important;
}

.fg-home-redesign > .fg-home-final::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(17 24 19 / .98) 0%, rgb(17 24 19 / .86) 45%, rgb(17 24 19 / .28) 100%), linear-gradient(0deg, rgb(17 24 19 / .65), transparent 60%);
  content: "";
}

.fg-home-redesign > .fg-home-final > .fg-home-final__image {
  position: absolute !important;
  inset: 0 0 0 42% !important;
  z-index: -2;
  width: auto !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) contrast(1.04) brightness(.82);
}

.fg-home-redesign > .fg-home-final > div {
  width: min(100%, 760px) !important;
  max-width: none !important;
  margin: 0 !important;
}

.fg-home-redesign > .fg-home-final .fg-home-kicker {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  color: #b8c9b2 !important;
}

.fg-home-redesign > .fg-home-final h2 {
  max-width: 18ch !important;
  margin: 0;
  color: #faf9f3 !important;
  font-size: clamp(2.8rem, 5.7vw, 6.5rem) !important;
  line-height: .92 !important;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.fg-home-redesign > .fg-home-final > div > p:not(.fg-home-kicker) {
  max-width: 50ch !important;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0 !important;
  color: rgb(250 249 243 / .76) !important;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7 !important;
}

.fg-home-redesign > .fg-home-final .fg-home-final__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.fg-home-redesign > .fg-home-final .fg-home-final__actions .fg-home-text-link {
  color: #b8c9b2 !important;
}

.fg-home-redesign > .fg-home-final > small {
  position: absolute;
  right: max(1.25rem, calc((100vw - 1240px) / 2));
  bottom: 2rem;
  left: max(1.25rem, calc((100vw - 1240px) / 2));
  color: rgb(250 249 243 / .62) !important;
  font: 500 .68rem/1.5 var(--mono);
  letter-spacing: .02em;
}

.fg-home-redesign > .fg-home-final > small a {
  color: #f0c2a8 !important;
}

@media (max-width: 1050px) {
  .fg-home-redesign > .fg-home-final {
    min-height: 44rem !important;
    padding-inline: clamp(1.5rem, 7vw, 5rem) !important;
  }

  .fg-home-redesign > .fg-home-final > .fg-home-final__image {
    inset: 0 !important;
    opacity: .72;
  }

  .fg-home-redesign > .fg-home-final > div {
    width: min(100%, 720px) !important;
    margin-inline: auto !important;
    text-align: center;
  }

  .fg-home-redesign > .fg-home-final h2,
  .fg-home-redesign > .fg-home-final > div > p:not(.fg-home-kicker) {
    margin-inline: auto !important;
  }

  .fg-home-redesign > .fg-home-final .fg-home-final__actions {
    justify-content: center;
  }

  .fg-home-redesign > .fg-home-final > small {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .fg-home-redesign > .fg-home-final {
    min-height: 42rem !important;
    padding: 4.5rem 1.25rem 7rem !important;
  }

  .fg-home-redesign > .fg-home-final > div {
    text-align: left;
  }

  .fg-home-redesign > .fg-home-final h2,
  .fg-home-redesign > .fg-home-final > div > p:not(.fg-home-kicker) {
    margin-inline: 0 !important;
  }

  .fg-home-redesign > .fg-home-final .fg-home-final__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .fg-home-redesign > .fg-home-final > small {
    right: 1.25rem;
    bottom: 1.5rem;
    left: 1.25rem;
    text-align: left;
  }
}
