.landing-page {
  --landing-navy: #0b1f3a;
  --landing-blue: #1f64e8;
  --landing-coral: #ff7457;
  --landing-muted: #617087;
  --landing-line: #d8e1ee;
  width: 100%;
  overflow: clip;
  color: var(--landing-navy);
}

.landing-page *,
.landing-page *::before,
.landing-page *::after {
  box-sizing: border-box;
}

.landing-page .landingsearch-body {
  position: relative;
  isolation: isolate;
  min-height: auto;
  overflow: hidden;
  padding: clamp(64px, 8vw, 100px) 20px clamp(72px, 9vw, 112px);
  background:
    radial-gradient(circle at 12% 18%, rgba(102, 126, 234, .4), transparent 27%),
    radial-gradient(circle at 91% 77%, rgba(255, 116, 87, .24), transparent 25%),
    linear-gradient(145deg, #e8eef9 0%, #f7f5ef 52%, #e4ebf6 100%);
}

.landing-page .landingsearch-body::before,
.landing-page .landingsearch-body::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .32);
  content: "";
  transform: rotate(16deg);
}

.landing-page .landingsearch-body::before {
  top: 7%;
  right: -120px;
  width: 360px;
  height: 480px;
  border-radius: 90px 24px 90px 24px;
}

.landing-page .landingsearch-body::after {
  bottom: 8%;
  left: -130px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
}

.landing-page .search-container {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 26px;
  background: rgba(255, 255, 255, .89);
  box-shadow: 0 28px 70px rgba(11, 31, 58, .17);
}

.landing-showcase-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--landing-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.landing-showcase-eyebrow > span {
  width: 25px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.landing-hero-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.landing-page .search-container .landing-hero-title {
  margin: 0;
  color: var(--landing-navy);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.landing-hero-copy {
  max-width: 680px;
  margin: 17px auto 0;
  color: #46566d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.42;
  text-wrap: balance;
}

.landing-hero-copy em {
  font-style: italic;
}

.landing-hero-copy span {
  display: block;
}

.landing-page .search-btn {
  background: linear-gradient(120deg, var(--landing-blue), #7044ba);
  box-shadow: 0 12px 24px rgba(31, 100, 232, .18);
}

.landing-property-showcase {
  padding: clamp(72px, 9vw, 112px) 0;
  background: linear-gradient(180deg, #f9fbff, #eef3fb);
}

.landing-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.landing-showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.landing-showcase-eyebrow {
  justify-content: flex-start;
}

.landing-showcase-heading h2 {
  margin: 14px 0 0;
  color: var(--landing-navy);
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.landing-showcase-heading h2 em {
  color: var(--landing-blue);
  font-style: normal;
}

.landing-showcase-heading > div:first-child > p:last-child {
  max-width: 650px;
  margin: 15px 0 0;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.65;
}

.landing-carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.landing-carousel-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #cad5e5;
  border-radius: 50%;
  background: #fff;
  color: var(--landing-navy);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.landing-carousel-controls button:hover:not(:disabled) {
  border-color: var(--landing-blue);
  color: var(--landing-blue);
  transform: translateY(-2px);
}

.landing-carousel-controls button:disabled {
  cursor: default;
  opacity: .35;
}

.landing-carousel-controls svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-property-viewport {
  overflow-x: auto;
  margin-top: 36px;
  padding: 4px 2px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.landing-property-viewport::-webkit-scrollbar {
  display: none;
}

.landing-property-track {
  display: flex;
  gap: 16px;
}

.landing-property-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(11, 31, 58, .09);
  scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s ease;
}

.landing-property-card:hover {
  box-shadow: 0 22px 46px rgba(11, 31, 58, .15);
  transform: translateY(-5px);
}

.landing-property-card > a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.landing-property-image {
  position: relative;
  display: block;
  height: 235px;
  overflow: hidden;
  background: #dfe6ef;
}

.landing-property-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.landing-property-card:hover .landing-property-image img {
  transform: scale(1.04);
}

.landing-property-image small {
  position: absolute;
  bottom: 13px;
  left: 13px;
  max-width: calc(100% - 26px);
  overflow: hidden;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(11, 31, 58, .8);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.landing-property-body {
  display: flex;
  min-height: 190px;
  padding: 20px;
  flex-direction: column;
}

.landing-property-body > small {
  color: var(--landing-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.landing-property-body > strong {
  display: -webkit-box;
  min-height: 2.7em;
  margin-top: 8px;
  overflow: hidden;
  color: var(--landing-navy);
  font-size: 18px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.landing-property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 15px;
  color: var(--landing-muted);
  font-size: 11px;
}

.landing-property-facts span:not(:last-child)::after {
  margin-left: 12px;
  color: #bac4d2;
  content: "·";
}

.landing-property-body > b {
  margin-top: auto;
  padding-top: 18px;
  color: var(--landing-navy);
  font-size: 17px;
}

.landing-showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 8px;
}

.landing-showcase-footer p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 11px;
  line-height: 1.5;
}

.landing-showcase-footer a {
  flex: 0 0 auto;
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.landing-page button:focus-visible,
.landing-page a:focus-visible,
.landing-property-viewport:focus-visible {
  outline: 3px solid var(--landing-coral);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .landing-property-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 680px) {
  .landing-page .landingsearch-body {
    padding: 45px 14px 72px;
  }

  .landing-page .search-container {
    border-radius: 20px;
  }

  .landing-hero-heading {
    margin-bottom: 28px;
  }

  .landing-page .search-container .landing-hero-title {
    font-size: clamp(32px, 10vw, 42px);
  }

  .landing-hero-copy {
    font-size: 17px;
  }

  .landing-shell {
    width: min(100% - 28px, 1180px);
  }

  .landing-showcase-heading,
  .landing-showcase-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-carousel-controls {
    align-self: flex-end;
  }

  .landing-property-card {
    flex-basis: 88%;
  }

  .landing-property-image {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page *,
  .landing-page *::before,
  .landing-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
