/* Homepage-only refinements for the real Wichita home photo and tour actions. */
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;1,500&display=swap");

.homepage-hero {
  position: relative;
  min-height: clamp(510px, 56vw, 690px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.homepage-hero .hero__bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #b9bdaf;
}

.homepage-hero .hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}

.homepage-hero .hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 78% 88% at 0% 50%, rgba(22, 29, 36, 0.56) 0%, rgba(22, 29, 36, 0.42) 43%, rgba(22, 29, 36, 0.12) 76%, transparent 100%),
    linear-gradient(90deg, rgba(22, 29, 36, 0.15) 0%, transparent 74%);
}

.homepage-hero .hero__content {
  position: relative;
  z-index: 1;
  width: calc(100% - clamp(48px, 14vw, 208px));
  max-width: 1240px;
  min-height: clamp(510px, 56vw, 690px);
  margin-inline: auto;
  padding-block: clamp(88px, 13vw, 168px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.homepage-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(17, 25, 35, 0.16);
}

.homepage-hero .hero__title-line,
.homepage-hero .hero__title-em {
  display: block;
}

.homepage-hero h1 em {
  color: #f3e5cf;
  font-style: italic;
  font-weight: 500;
}

.homepage-hero .hero__sub {
  max-width: 660px;
  margin-top: 22px;
  margin-bottom: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(18px, 1.55vw, 20px);
  font-weight: 500;
  color: #fff;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}

.homepage-hero .hero__sub-location,
.homepage-hero .hero__sub-care {
  display: block;
}

.homepage-hero .hero__sub-separator {
  display: none;
}

.homepage-hero .btn,
.site-header .nav-cta,
.site-header .nav-cta-mobile {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
}

.homepage-hero .hero__sub-city,
.homepage-hero .hero__sub-oversight {
  white-space: nowrap;
}

.homepage-hero .hero__btns {
  gap: 14px;
  margin-top: 28px;
}

.homepage-hero .btn {
  min-height: 54px;
  height: 54px;
  justify-content: center;
  padding-inline: 1.45rem;
  box-sizing: border-box;
}

.homepage-hero .btn,
.site-header .nav-cta,
.site-header .nav-cta-mobile {
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.homepage-hero .btn:hover,
.site-header .nav-cta:hover,
.site-header .nav-cta-mobile:hover {
  transform: translateY(-2px);
}

.homepage-hero a:focus-visible,
.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 2px solid #e5b18f;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .homepage-hero { min-height: 540px; }
  .homepage-hero .hero__content {
    width: calc(100% - 48px);
    min-height: 540px;
    padding-block: 68px 58px;
    box-sizing: border-box;
  }
  .homepage-hero .hero__bg img { object-position: 56% center; }
  .homepage-hero .hero__overlay {
    background:
      radial-gradient(ellipse 100% 96% at 0% 48%, rgba(22, 29, 36, 0.59) 0%, rgba(22, 29, 36, 0.43) 48%, rgba(22, 29, 36, 0.16) 79%, transparent 100%),
      linear-gradient(90deg, rgba(22, 29, 36, 0.14) 0%, transparent 84%);
  }
  .homepage-hero h1 {
    max-width: 560px;
    font-size: clamp(36px, 8.8vw, 58px);
    line-height: 1.1;
  }
  .homepage-hero .hero__title-line,
  .homepage-hero .hero__title-em { display: inline; }
  .homepage-hero .hero__sub {
    max-width: 410px;
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.55;
  }
  .homepage-hero .hero__sub-location,
  .homepage-hero .hero__sub-care { display: block; }
  .homepage-hero .hero__sub-separator { display: none; }
  .homepage-hero .hero__btns {
    flex-wrap: wrap;
    margin-top: 21px;
  }
  .homepage-hero .btn {
    padding-inline: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .homepage-hero { min-height: 550px; }
  .homepage-hero .hero__content {
    min-height: 550px;
    width: calc(100% - 40px);
    padding-block: 58px 48px;
  }
  .homepage-hero h1 { font-size: clamp(34px, 9.7vw, 41px); }
  .homepage-hero .hero__btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: min(100%, 290px);
  }
  .homepage-hero .btn {
    width: 100%;
    min-height: 54px;
    height: 54px;
  }
}

@media (max-width: 360px) {
  .homepage-hero { min-height: 560px; }
  .homepage-hero .hero__content {
    min-height: 560px;
    width: calc(100% - 36px);
    padding-block: 52px 44px;
  }
  .homepage-hero h1 { font-size: 34px; }
  .homepage-hero .hero__sub { font-size: 18px; }
  .homepage-hero .hero__btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .homepage-hero .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-hero .btn,
  .site-header .nav-cta,
  .site-header .nav-cta-mobile { transition: none; }
}