:root {
  --life-blue: #0a86f2;
  --life-blue-dark: #05467e;
  --ink: #06090f;
  --ink-soft: #111821;
  --steel: #5f6c7b;
  --line: #dce4ec;
  --mist: #f3f7f8;
  --white: #ffffff;
  --paper: #fbfcfd;
  --sand: #d7c4a7;
  --shadow: 0 22px 70px rgba(6, 9, 15, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Libre Franklin", Arial, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 82px;
  padding: 10px 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 236, 0.86);
  box-shadow: 0 14px 34px rgba(6, 9, 15, 0.08);
  transition: background 180ms ease, min-height 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header-solid {
  min-height: 78px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 36px rgba(6, 9, 15, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 118px;
  min-height: 44px;
}

.brand img {
  width: 118px;
  height: auto;
  background: var(--white);
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  color: rgba(6, 9, 15, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a,
.nav-group > a,
.header-phone {
  transition: color 160ms ease;
}

.site-nav > a,
.nav-group > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a:hover,
.nav-group:hover > a,
.header-phone:hover {
  color: var(--life-blue);
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
}

.nav-group::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  height: 14px;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  z-index: 50;
  display: grid;
  gap: 0;
  min-width: 210px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 44px rgba(6, 9, 15, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  padding: 10px 12px;
  color: var(--ink);
  border-radius: 6px;
  white-space: nowrap;
}

.nav-menu a:hover {
  background: var(--mist);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone-number {
  color: var(--life-blue);
}

.header-phone-divider {
  color: rgba(6, 9, 15, 0.38);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(6, 9, 15, 0.2);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(132px, 14vh, 190px);
  min-height: 820px;
  padding: 168px 42px 70px;
  overflow: hidden;
  color: var(--ink);
}

.hero-slides,
.hero-slides img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 900ms ease, transform 5000ms ease;
}

.hero-slides img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.66);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 2px 22px rgba(255, 255, 255, 0.82);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--life-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Semi Condensed", "Libre Franklin", Arial, sans-serif;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  margin-right: auto;
  margin-left: auto;
  max-width: 1040px;
  font-size: clamp(4.5rem, 5.2vw, 5.65rem);
}

h2 {
  font-size: 3.25rem;
}

h3 {
  font-size: 1.55rem;
}

.hero-copy {
  max-width: 660px;
  margin: 22px auto 0;
  color: #3d4a59;
  font-size: 1.1rem;
  font-weight: 800;
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.92);
}

.hero-actions,
.team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.team-actions {
  margin-top: 28px;
}

.button,
.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.search-submit:hover {
  transform: translateY(-1px);
}

.button-primary,
.search-submit {
  color: var(--white);
  background: var(--life-blue);
}

.button-primary:hover,
.search-submit:hover {
  background: var(--life-blue-dark);
}

.button-ghost {
  color: var(--ink);
  border-color: rgba(6, 9, 15, 0.28);
  background: rgba(255, 255, 255, 0.76);
}

.button-ghost:hover {
  border-color: var(--life-blue);
  background: rgba(10, 134, 242, 0.08);
}

.search-dock,
.results-search {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) minmax(120px, 150px) minmax(140px, 160px) auto;
  gap: 10px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.results-search {
  grid-template-columns: auto minmax(230px, 1fr) repeat(4, minmax(104px, 132px)) auto;
  width: 100%;
  box-shadow: 0 16px 38px rgba(6, 9, 15, 0.08);
}

.search-type {
  display: grid;
  grid-template-columns: repeat(2, 70px);
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.search-type input {
  position: absolute;
  opacity: 0;
}

.search-type span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 56px;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.search-type input:checked + span {
  color: var(--white);
  background: var(--life-blue);
  border-color: var(--life-blue);
}

.field {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--ink);
}

.field span {
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 36px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.field input:focus,
.field select:focus {
  box-shadow: inset 0 -2px 0 var(--life-blue);
}

.market-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-strip a {
  display: block;
  padding: 30px 34px;
  border-right: 1px solid var(--line);
}

.market-strip strong,
.market-strip span {
  display: block;
}

.market-strip strong {
  font-family: "Barlow Semi Condensed", "Libre Franklin", Arial, sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.market-strip span {
  margin-top: 7px;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-tight {
  padding-top: 28px;
}

.page-hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 390px;
  padding: 130px max(24px, calc((100vw - var(--max)) / 2)) 62px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    var(--page-hero-image, url("https://production-uploads.fastly.propertybase.com/assets/uploads/area_profile/gallery_image/53949/952b6761e1369df609fc621998943788.jpg?width=767&optimize=low&auto=webp&crop=16:9,offset-x50,offset-y50")) center / cover;
  border-bottom: 1px solid var(--line);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.3rem, 4.5vw, 4.7rem);
}

.page-hero > p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--steel);
  font-size: 1.05rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-hero-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero-actions a:hover {
  color: var(--white);
  background: var(--life-blue);
  border-color: var(--life-blue);
}

.page-hero-actions a:first-child {
  color: var(--white);
  background: var(--life-blue);
  border-color: var(--life-blue);
}

.page-hero-actions a:first-child:hover {
  background: var(--life-blue-dark);
  border-color: var(--life-blue-dark);
}

.page-hero-about {
  --page-hero-image: url("https://production-uploads.fastly.propertybase.com/assets/uploads/area_profile/gallery_image/53947/91247765307cfb06949fb65a05f33551.jpg?width=1200&optimize=low&auto=webp&crop=16:9,offset-x50,offset-y50");
}

.page-hero-buyers {
  --page-hero-image: url("https://production-uploads.fastly.propertybase.com/assets/uploads/area_profile/gallery_image/54960/f2c7d6715e390d91e2fbf93a855e3ac7.png?width=767&optimize=low&auto=webp&crop=16:9,offset-x50,offset-y50");
}

.page-hero-sellers {
  --page-hero-image: url("images/las-vegas-valley-sunset.jpg");
}

.page-hero-valuation {
  --page-hero-image: url("https://production-uploads.fastly.propertybase.com/assets/uploads/area_profile/gallery_image/53945/3a27b324a30d3aa906bb03c662ffebfa.JPG?width=1200&optimize=low&auto=webp&crop=16:9,offset-x50,offset-y50");
}

.page-hero-communities {
  --page-hero-image: url("https://production-uploads.fastly.propertybase.com/assets/uploads/area_profile/gallery_image/53949/952b6761e1369df609fc621998943788.jpg?width=767&optimize=low&auto=webp&crop=16:9,offset-x50,offset-y50");
}

.page-hero-market {
  --page-hero-image: url("https://production-uploads.fastly.propertybase.com/assets/uploads/area_profile/gallery_image/53948/c0bf9456aafad75aab92a4e8a3b90745.jpg?width=1200&optimize=low&auto=webp&crop=16:9,offset-x50,offset-y50");
}

.page-hero-contact {
  --page-hero-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/Las_Vegas_Skyline._%2832349545933%29.jpg/1280px-Las_Vegas_Skyline._%2832349545933%29.jpg");
}

.page-hero-mortgage {
  --page-hero-image: url("https://upload.wikimedia.org/wikipedia/commons/3/3c/Green-Valley-Ranch.jpg");
}

.page-hero-open {
  --page-hero-image: url("https://production-uploads.fastly.propertybase.com/assets/uploads/theme_photo/image/343051/01bf6d70c77315739b21e8d396f61e99.jpg?width=1920&optimize=low&auto=webp");
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.content-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-card p {
  margin: 0;
  color: var(--steel);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.split-section p {
  color: var(--steel);
}

.split-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.about-intro-section {
  padding-bottom: 54px;
}

.about-links-section {
  padding-top: 8px;
}

.section-dark {
  width: 100%;
  max-width: none;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background: var(--mist);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 680px) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.featured-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.featured-heading .eyebrow {
  grid-column: 1 / -1;
}

.featured-heading .button {
  align-self: center;
  justify-self: end;
}

.centered-heading {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.centered-heading .eyebrow {
  grid-column: auto;
}

.text-link {
  color: var(--life-blue);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.property-card {
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(220, 228, 236, 0.9);
  border-radius: 8px;
}

.section-dark .property-card {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.property-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dce4ec;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

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

.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--life-blue);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.property-card-body {
  padding: 18px;
}

.property-price {
  margin: 0 0 8px;
  color: var(--life-blue);
  font-family: "Barlow Semi Condensed", "Libre Franklin", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.property-address {
  min-height: 50px;
  margin: 0;
  font-weight: 800;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 700;
}

.section-dark .property-meta {
  color: var(--steel);
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1.22fr);
  gap: 48px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
  background: var(--white);
}

.editorial-copy {
  align-self: center;
  max-width: 540px;
  padding: 0;
}

.editorial-copy p:last-child {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--steel);
  font-size: 1.04rem;
  line-height: 1.75;
}

.editorial-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.editorial-image {
  --editorial-valley-image: url("images/las-vegas-valley-sunset-reflection.jpg");
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--mist);
  background-image: var(--editorial-valley-image);
  background-position: center -43vh;
  background-size: auto 236vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow: 0 20px 48px rgba(6, 9, 15, 0.12);
}

.editorial-image img {
  display: block;
  width: 100%;
  min-height: 460px;
  opacity: 0;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.community-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
}

.community-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 360ms ease, opacity 360ms ease;
}

.community-card:hover img {
  opacity: 0.9;
  transform: scale(1.04);
}

.community-card span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: var(--white);
  font-family: "Barlow Semi Condensed", "Libre Franklin", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.team-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(430px, 0.78fr);
  gap: 34px;
  align-items: center;
  padding: 84px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    url("https://production-uploads.fastly.propertybase.com/assets/uploads/theme_photo/image/343051/01bf6d70c77315739b21e8d396f61e99.jpg?width=1920&optimize=low&auto=webp") center / cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-band h2 {
  max-width: 620px;
}

.team-band p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--steel);
  font-size: 1.02rem;
}

.team-photo-strip {
  position: relative;
  justify-self: end;
  width: min(660px, 100%);
  min-height: 405px;
}

.team-photo-strip img {
  position: absolute;
  top: 84px;
  width: 42%;
  max-width: 290px;
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
  background: var(--white);
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 24px 52px rgba(6, 9, 15, 0.18);
}

.team-photo-strip img:nth-child(1) {
  left: -2%;
  z-index: 4;
  transform: rotate(-3deg);
}

.team-photo-strip img:nth-child(2) {
  left: 29%;
  top: 20px;
  z-index: 2;
  transform: scale(1.18);
}

.team-photo-strip img:nth-child(3) {
  right: -2%;
  z-index: 5;
  transform: rotate(3deg);
}

.valuation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 48px;
  align-items: start;
}

.valuation-copy-right {
  grid-template-columns: minmax(320px, 1.14fr) minmax(0, 0.86fr);
}

.valuation-copy-right .valuation-copy {
  grid-column: 2;
  text-align: left;
}

.valuation-copy-right .valuation-form {
  grid-column: 1;
  grid-row: 1;
}

.valuation-copy p:last-child {
  color: var(--steel);
}

.valuation-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(6, 9, 15, 0.08);
}

.valuation-form .field:first-child,
.valuation-form button {
  grid-column: 1 / -1;
}

.valuation-form input {
  min-height: 44px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--line);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #167a3c;
}

.form-status.is-error {
  color: #b42318;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button:disabled,
.search-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.testimonial-band {
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/Las_Vegas_Skyline._%2832349545933%29.jpg/1280px-Las_Vegas_Skyline._%2832349545933%29.jpg") center / cover;
  border-top: 1px solid var(--line);
}

.testimonial-shell {
  display: grid;
  gap: 34px;
  justify-items: center;
  align-items: center;
}

.testimonial-heading {
  max-width: 720px;
  text-align: center;
}

.testimonial-heading h2 {
  max-width: none;
}

.testimonial-rotator {
  position: relative;
  width: min(760px, 100%);
  min-height: 270px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  margin: 0;
  padding: 34px 44px 34px 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(220, 228, 236, 0.92);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(6, 9, 15, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.testimonial-card::after {
  content: "\201c";
  position: absolute;
  top: 8px;
  right: 22px;
  color: rgba(10, 134, 242, 0.16);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-family: "Barlow Semi Condensed", "Libre Franklin", Arial, sans-serif;
  font-size: clamp(1.35rem, 1.85vw, 1.92rem);
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.testimonial-card figcaption {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  color: var(--life-blue);
  font-weight: 800;
}

.social-band {
  display: grid;
  grid-template-columns: minmax(440px, 0.8fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: center;
  min-height: 430px;
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.social-copy {
  max-width: 680px;
  justify-self: end;
  text-align: right;
}

.social-copy h2 {
  max-width: none;
}

.social-copy p:last-child {
  max-width: 580px;
  margin: 16px 0 0 auto;
  color: var(--steel);
}

.social-actions {
  position: relative;
  justify-self: center;
  width: 450px;
  min-height: 280px;
}

.social-card {
  position: absolute;
  display: grid;
  gap: 7px;
  justify-items: center;
  text-align: center;
  min-width: 0;
  width: 225px;
  min-height: 225px;
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(6, 9, 15, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.social-card:hover {
  box-shadow: 0 22px 48px rgba(6, 9, 15, 0.12);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  color: var(--white);
  border-radius: 8px;
}

.social-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-card-facebook .social-icon svg {
  fill: currentColor;
  stroke: none;
}

.social-card strong {
  font-family: "Barlow Semi Condensed", "Libre Franklin", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.social-card span:last-child {
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 800;
}

.social-card-instagram {
  left: 18px;
  top: 34px;
  border-color: rgba(214, 41, 118, 0.26);
  transform: rotate(-7deg);
}

.social-card-instagram:hover {
  transform: translateY(-3px) rotate(-7deg);
}

.social-card-instagram .social-icon {
  background: linear-gradient(135deg, #feda75, #d62976 48%, #4f5bd5);
}

.social-card-facebook {
  left: 205px;
  top: 8px;
  border-color: rgba(24, 119, 242, 0.26);
  transform: rotate(6deg);
}

.social-card-facebook:hover {
  transform: translateY(-3px) rotate(6deg);
}

.social-card-facebook .social-icon {
  background: #1877f2;
}

.contact-intro-section {
  padding-bottom: 56px;
}

.office-media-section {
  padding-top: 0;
}

.office-media-section .section-heading {
  grid-template-columns: minmax(0, 680px);
  margin-bottom: 22px;
}

.office-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 18px;
}

.office-map-wrap {
  position: relative;
  min-width: 0;
}

.office-directions-link {
  position: absolute;
  top: -34px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

.office-photo-card,
.office-map-card {
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(6, 9, 15, 0.08);
}

.office-photo-card {
  position: relative;
  margin: 0;
}

.office-photo-card img,
.office-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.office-photo-card img {
  object-fit: cover;
}

.office-photo-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(6, 9, 15, 0.68);
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  column-gap: 36px;
  row-gap: 22px;
  align-items: center;
  padding: 38px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--steel);
  background: #f5f8fb;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 170px;
  background: transparent;
  mix-blend-mode: multiply;
}

.footer-brand img.is-transparent-logo {
  mix-blend-mode: normal;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
}

.site-footer > div:nth-child(3) {
  display: grid;
  gap: 8px;
  justify-items: end;
  font-weight: 700;
}

.site-footer a {
  color: var(--ink);
}

.site-footer a:hover {
  color: var(--life-blue);
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--life-blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(6, 9, 15, 0.06);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.footer-social a:first-child {
  color: #d62976;
}

.footer-social a:last-child {
  color: #1877f2;
}

.footer-social a:hover {
  background: var(--life-blue);
  border-color: var(--life-blue);
  color: var(--white);
  transform: translateY(-1px);
}

.footer-social svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social a:last-child svg {
  fill: currentColor;
  stroke: none;
}

.footer-social span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-footer > .footer-copyright {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  margin-top: 2px;
  padding-top: 18px;
  color: var(--steel);
  border-top: 1px solid rgba(220, 228, 236, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.search-page {
  background: var(--white);
}

.search-hero {
  padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 54px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.68)),
    url("https://production-uploads.fastly.propertybase.com/assets/uploads/area_profile/gallery_image/53946/73bfcb2ad0dda1237970bafbfd2b381b.jpg?width=1200&optimize=low&auto=webp&crop=16:9,offset-x50,offset-y50") center / cover;
  border-bottom: 1px solid var(--line);
}

.search-hero h1 {
  font-size: 4.2rem;
}

.search-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: -28px auto 80px;
}

.results-layout {
  display: block;
  margin-top: 26px;
}

.search-note {
  align-self: start;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-note strong {
  color: var(--life-blue-dark);
}

.search-note p {
  margin: 10px 0 18px;
  color: var(--steel);
  font-size: 0.9rem;
}

.results-main {
  min-width: 0;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.results-toolbar h2 {
  font-size: 2.35rem;
}

.results-toolbar span {
  color: var(--steel);
  font-weight: 800;
}

.idx-widget-shell,
.idx-quick-search {
  position: relative;
}

.idx-widget-shell {
  min-width: 0;
}

.idx-widget-shell script,
.idx-quick-search script {
  display: none;
}

.idx-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 88px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.is-loading > .idx-loading,
.has-error > .idx-loading {
  display: flex;
}

.idx-spinner {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 3px solid rgba(10, 134, 242, 0.18);
  border-top-color: var(--life-blue);
  border-radius: 999px;
  animation: idx-spin 800ms linear infinite;
}

.has-error .idx-spinner {
  display: none;
}

.idx-showcase-shell > .idx-loading,
.idx-carousel-shell > .idx-loading {
  min-height: 360px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(220, 228, 236, 0.9);
  border-radius: 8px;
}

.idx-map-shell > .idx-loading {
  min-height: 100%;
}

@keyframes idx-spin {
  to {
    transform: rotate(360deg);
  }
}

.idx-showcase-shell,
.idx-carousel-shell {
  width: 100%;
  overflow: visible;
}

.idx-showcase-shell idx-listings-showcase,
.idx-carousel-shell idx-listings-carousel {
  display: block;
  width: 100%;
}

.idx-quick-search-main {
  position: relative;
  z-index: 3;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(6, 9, 15, 0.08);
}

.idx-quick-search-dock.search-dock {
  display: block;
}

.idx-quick-search #IDX-quicksearch-36272 {
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.idx-quick-search #IDX-quicksearchForm-36272 {
  display: grid !important;
  grid-template-columns: minmax(135px, 1.05fr) repeat(4, minmax(104px, 0.74fr)) minmax(145px, 1fr) auto;
  gap: 10px;
  align-items: end;
  width: 100%;
}

.idx-quick-search .IDX-qsFieldWrap {
  display: grid !important;
  gap: 4px;
  min-width: 0;
  padding: 0 !important;
  text-align: left !important;
}

.idx-quick-search .IDX-qsLabel {
  display: block !important;
  float: none !important;
  margin: 0 !important;
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.idx-quick-search #IDX-qsPtLabel-36272,
.idx-quick-search #IDX-qsCityListLabel-36272 {
  display: block !important;
}

.idx-quick-search .IDX-qsInput {
  width: 100% !important;
  min-width: 0;
  color: var(--ink);
  font-family: "Libre Franklin", Arial, sans-serif;
}

.idx-quick-search .IDX-qsTextInput,
.idx-quick-search .IDX-qsSelectInput {
  min-height: 38px;
  padding: 0 0 6px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(220, 228, 236, 0.95);
  border-radius: 0;
  outline: 0;
  font-size: 0.94rem;
  font-weight: 700;
}

.idx-quick-search .IDX-qsTextInput:focus,
.idx-quick-search .IDX-qsSelectInput:focus {
  box-shadow: inset 0 -2px 0 var(--life-blue);
}

.idx-quick-search #IDX-qsSubmitWrap-36272 {
  align-self: stretch;
  display: flex !important;
}

.idx-quick-search #IDX-qsSubmit-36272 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  color: var(--white);
  background: var(--life-blue);
  border: 1px solid var(--life-blue);
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.idx-quick-search #IDX-qsSubmit-36272:hover {
  background: var(--life-blue-dark);
  border-color: var(--life-blue-dark);
}

.idx-map-layout {
  margin-top: 26px;
}

.idx-map-shell {
  height: 842px;
  min-height: 842px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(6, 9, 15, 0.08);
}

.idx-map-shell idx-prime-map-search {
  display: block;
  width: 100%;
  height: 100%;
}

.idx-frame-shell {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(6, 9, 15, 0.08);
}

.idx-frame-shell iframe {
  display: block;
  width: 100%;
  border: 0;
}

.idx-mortgage-frame iframe {
  height: 760px;
}

.idx-results-hero {
  padding-bottom: 46px;
}

.idx-results-section {
  padding-top: 58px;
}

.idx-results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.idx-results-frame iframe {
  height: 2200px;
}

.idx-generic-frame iframe {
  height: 2600px;
}

.empty-state {
  padding: 42px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.empty-state p {
  margin: 8px 0 0;
  color: var(--steel);
}

.agent-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 48px;
  align-items: center;
  padding: 126px max(24px, calc((100vw - var(--max)) / 2)) 58px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84)),
    url("https://production-uploads.fastly.propertybase.com/assets/uploads/area_profile/gallery_image/53950/ec5c676a6ed1653c6cece487870f96bb.jpg?width=1200&optimize=low&auto=webp&crop=16:9,offset-x50,offset-y50") center / cover;
  border-bottom: 1px solid var(--line);
}

.agent-hero-copy {
  max-width: 760px;
}

.agent-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.5rem, 4.6vw, 4.85rem);
}

.agent-hero p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--steel);
  font-size: 1.05rem;
}

.agent-hero-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.agent-hero-photos img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(6, 9, 15, 0.1);
}

.agent-hero-photos img:nth-child(2),
.agent-hero-photos img:nth-child(3) {
  transform: translateY(18px);
}

.agent-directory-section {
  padding-top: 52px;
}

.agent-tools {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 190px auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(6, 9, 15, 0.06);
}

.agent-tools input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  font-weight: 700;
}

.agent-tools select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  font-weight: 800;
}

.agent-count {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  color: var(--steel);
  background: var(--mist);
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.agent-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 154px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(6, 9, 15, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.agent-card:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 134, 242, 0.34);
  box-shadow: 0 16px 30px rgba(6, 9, 15, 0.08);
}

.agent-card-image {
  height: 100%;
  min-height: 154px;
  background: var(--mist);
}

.agent-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-card-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-width: 0;
  padding: 16px;
}

.agent-card h3 {
  font-size: 1.32rem;
  line-height: 1;
}

.agent-title {
  min-height: 0;
  margin-top: 5px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.agent-meta {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 0;
  color: var(--steel);
  font-size: 0.8rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.agent-meta a {
  color: var(--steel);
}

.agent-meta a:hover {
  color: var(--life-blue);
}

.agent-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
}

.agent-card-actions a {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.agent-card-actions a:hover {
  color: var(--white);
  background: var(--life-blue);
  border-color: var(--life-blue);
}

.agent-modal[hidden] {
  display: none;
}

.agent-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 9, 15, 0.44);
}

.agent-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(6, 9, 15, 0.28);
}

.agent-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.agent-modal-profile {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 0;
}

.agent-modal-photo {
  background: var(--mist);
}

.agent-modal-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.agent-modal-details {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 44px;
}

.agent-modal-details h2 {
  font-size: 3.2rem;
}

.agent-modal-details > p:not(.eyebrow) {
  margin: 0;
  color: var(--steel);
  font-weight: 700;
}

.agent-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-profile {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.agent-profile-photo {
  overflow: hidden;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.agent-profile-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
}

.agent-profile-panel {
  display: grid;
  gap: 18px;
}

.agent-profile-panel h1 {
  font-size: 4rem;
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-list a,
.contact-list span {
  color: var(--steel);
  overflow-wrap: anywhere;
}

@media (max-width: 1220px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-content: stretch;
    gap: 14px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .header-phone {
    order: 2;
    justify-self: end;
    font-size: 0.78rem;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 24px 24px;
    background: rgba(255, 255, 255, 0.99);
    color: var(--ink);
    box-shadow: 0 22px 44px rgba(6, 9, 15, 0.12);
  }

  .nav-group {
    display: grid;
    min-height: 0;
  }

  .nav-group::after {
    display: none;
  }

  .nav-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 8px 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu a {
    padding: 10px 0;
    color: var(--steel);
  }

  .search-dock,
  .results-search {
    grid-template-columns: 1fr 1fr;
  }

  .idx-quick-search #IDX-quicksearchForm-36272 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .idx-quick-search #IDX-qsSubmitWrap-36272 {
    grid-column: 1 / -1;
  }

  .field-location,
  .search-submit {
    grid-column: 1 / -1;
  }

  .property-grid,
  .community-grid,
  .content-grid,
  .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-band,
  .valuation-section,
  .valuation-copy-right,
  .testimonial-shell,
  .social-band,
  .results-layout,
  .split-section,
  .office-media-grid,
  .agent-profile,
  .agent-hero {
    grid-template-columns: 1fr;
  }

  .valuation-copy-right .valuation-copy,
  .valuation-copy-right .valuation-form {
    grid-column: auto;
    grid-row: auto;
  }

  .team-photo-strip {
    justify-self: start;
    width: min(620px, 100%);
    min-height: 350px;
  }

  .editorial-image {
    --editorial-valley-image: url("images/las-vegas-valley-sunset.jpg");
    min-height: 360px;
    background-position: center 86%;
    background-size: cover;
    background-attachment: scroll;
  }

  .editorial-image img {
    min-height: 360px;
  }

  .team-band {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
    padding: 14px 18px;
  }

  .brand,
  .brand img {
    width: 122px;
  }

  .header-phone {
    font-size: 0.66rem;
  }

  .hero {
    min-height: auto;
    gap: 54px;
    padding: 118px 18px 28px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2,
  .search-hero h1 {
    font-size: 2.45rem;
  }

  .page-hero h1,
  .agent-profile-panel h1 {
    font-size: 2.8rem;
  }

  .page-hero {
    min-height: 330px;
    padding: 112px 18px 42px;
  }

  .page-hero-actions {
    margin-top: 22px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .search-dock,
  .results-search {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .idx-quick-search #IDX-quicksearchForm-36272 {
    grid-template-columns: 1fr;
  }

  .idx-quick-search-main,
  .idx-quick-search-dock.search-dock {
    padding: 10px;
  }

  .idx-map-shell {
    height: 842px;
    min-height: 842px;
  }

  .idx-mortgage-frame iframe {
    height: 980px;
  }

  .idx-results-section {
    padding-top: 44px;
  }

  .idx-results-actions {
    justify-content: flex-start;
  }

  .idx-results-frame iframe {
    height: 2800px;
  }

  .idx-generic-frame iframe {
    height: 3200px;
  }

  .search-type {
    grid-template-columns: 1fr 1fr;
  }

  .market-strip {
    grid-template-columns: 1fr 1fr;
  }

  .market-strip a {
    padding: 22px 18px;
  }

  .section,
  .search-shell {
    width: min(100% - 32px, var(--max));
  }

  .section,
  .section-dark,
  .testimonial-band,
  .social-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-tight {
    padding-top: 18px;
  }

  .social-band {
    min-height: auto;
  }

  .section-heading,
  .property-grid,
  .community-grid,
  .content-grid,
  .agent-grid,
  .valuation-form,
  .office-media-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .featured-heading .button {
    justify-self: start;
  }

  .site-footer > div:nth-child(3),
  .footer-social {
    justify-content: flex-start;
    justify-items: start;
  }

  .office-photo-card,
  .office-map-card,
  .office-photo-card img,
  .office-map-card iframe {
    min-height: 300px;
  }

  .agent-card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 136px;
  }

  .agent-card-image {
    min-height: 136px;
  }

  .agent-card-body {
    padding: 14px;
  }

  .agent-tools {
    grid-template-columns: 1fr;
  }

  .agent-hero {
    padding: 106px 18px 44px;
  }

  .agent-hero h1 {
    font-size: 3rem;
  }

  .agent-hero-photos {
    display: none;
  }

  .agent-modal {
    padding: 14px;
  }

  .agent-modal-profile {
    grid-template-columns: 1fr;
  }

  .agent-modal-photo img {
    min-height: 260px;
    max-height: 360px;
  }

  .agent-modal-details {
    padding: 28px 20px 22px;
  }

  .agent-modal-details h2 {
    font-size: 2.4rem;
  }

  .section-heading .eyebrow {
    margin-bottom: -6px;
  }

  .editorial-copy {
    padding: 0;
  }

  .team-band {
    padding: 64px 18px;
  }

  .team-photo-strip {
    min-height: 250px;
  }

  .team-photo-strip img {
    top: 54px;
    width: 39%;
  }

  .team-photo-strip img:nth-child(2) {
    top: 12px;
    transform: scale(1.12);
  }

  .testimonial-shell {
    gap: 28px;
  }

  .testimonial-rotator {
    min-height: 330px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .social-actions {
    width: min(100%, 430px);
    min-height: 250px;
  }

  .social-card {
    width: 190px;
    min-height: 190px;
    padding: 20px;
  }

  .social-card-facebook {
    left: 160px;
  }

  .social-copy {
    justify-self: start;
    text-align: left;
  }

  .social-copy p:last-child {
    margin-left: 0;
  }

  .site-footer > div:nth-child(3) {
    justify-items: start;
  }

  .search-hero {
    padding: 124px 18px 48px;
  }

  .results-toolbar {
    display: grid;
  }
}
