:root {
  --ink: #101820;
  --forest: #0756b7;
  --sage: #d8b74d;
  --cream: #f6f8fc;
  --sand: #e4e9f0;
  --line: rgba(16, 24, 32, .16)
}

.announcement,
.site-footer {
  background: #061b38
}

.brand-mark {
  width: 48px;
  height: 56px;
  border: 0;
  color: transparent;
  background: url("../images/dre-logo.png") center/contain no-repeat
}

.inner-header {
  background: #fff
}

.inner-header .button-small,
.button,
.search-button,
.mls-toolbar button {
  background: #0756b7
}

.inner-header .button-small:hover,
.button:hover {
  background: #064593
}

.section {
  padding-top: 78px;
  padding-bottom: 78px
}

.intro-grid {
  gap: 6vw
}

.intro-grid .lead {
  margin-top: 10px
}

.services {
  padding-top: 0;
  padding-bottom: 78px
}

.service-dark,
.cta-section,
.join-strip,
.placeholder-photo {
  background: #0756b7
}

.search-band {
  padding: 42px 6vw 28px;
  border-top: 4px solid #d8b74d
}

.search-band>div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin-bottom: 22px;
  padding-left: 22px;
  border-left: 3px solid #0756b7
}

.search-band .eyebrow,
.search-band h2 {
  margin: 0
}

.search-band h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.08
}

.property-search {
  border-left: 1px solid var(--line)
}

.section-heading {
  grid-template-columns: 1.45fr .55fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
  padding-left: 22px;
  border-left: 3px solid #d8b74d
}

.section-heading h2,
.section-heading .eyebrow {
  margin-bottom: 0
}

.section-heading h2 {
  font-size: clamp(2.5rem, 4vw, 4.25rem)
}

.area-links {
  border-inline: 1px solid var(--line);
  margin-bottom: 0;
}

.testimonial-section blockquote {
  padding: 6.5vw
}

.faq {
  gap: 5vw
}

.cta-section,
.join-strip {
  padding-top: 72px;
  padding-bottom: 72px
}

.cta-section h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.8rem);
  margin-bottom: 0
}

.site-footer {
  padding-top: 62px
}



.mls-shell {
  padding-top: 48px
}

.agent {
  padding: 44px 0
}

.mls-placeholder {
  min-height: 420px
}


@media(max-width:900px) {
  .section {
    padding-top: 64px;
    padding-bottom: 64px
  }
  .search-band>div,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px
  }
 
}

@media(max-width:600px) {
  .brand-mark {
    height: 44px;
    width: 38px
  }
  .section,
  .search-band {
    padding-top: 52px;
    padding-bottom: 52px
  }
  .search-band>div,
  .section-heading {
    padding-left: 16px
  }
  .search-band h2 {
    font-size: 2rem
  }
  .services {
    padding-top: 0
  }
 
  .cta-section,
  .join-strip {
    padding-top: 56px;
    padding-bottom: 56px
  }
}

/* Contrast, button, footer and heading corrections */

.button {
  gap: 16px;
  padding: 16px 23px;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none
}

.site-header:not(.inner-header) .button-small {
  background: #e3bd46;
  color: #061b38;
  border: 1px solid #e3bd46
}

.site-header:not(.inner-header) .button-small:hover {
  background: #f1cf66;
  border-color: #f1cf66
}

.hero .button-light {
  background: #fff;
  color: #061b38;
  border: 1px solid #fff
}

.hero .button-light:hover {
  background: #eef4fb;
  color: #0756b7;
  border-color: #eef4fb
}

.inner-header .button-small {
  background: #0756b7;
  color: #fff;
  border: 1px solid #0756b7
}

.inner-header .button-small:hover {
  background: #064593;
  border-color: #064593
}

.cta-section .button-light,
.join-strip .button-light {
  background: #fff;
  color: #0756b7;
  border: 1px solid #fff
}

.cta-section .button-light:hover,
.join-strip .button-light:hover {
  background: #eaf1fb;
  color: #064593
}

.hero h1 {
  font-size: clamp(3.6rem, 6.2vw, 6.25rem);
  max-width: 820px;
  line-height: .94
}

.hero-copy {
  max-width: 565px
}
.cta-section h2 {
  font-size: clamp(2.5rem, 3.8vw, 4.25rem);
  line-height: 1.04
}

.team-hero h1 {
  max-width: 760px
}

.footer-bottom {
  align-items: center;
  gap: 24px
}

.site-footer .footer-bottom a {
  display: inline;
  color: rgba(255, 255, 255, .68);
  line-height: 1
}

.footer-bottom>span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: #fff !important;
  line-height: 1.1
}

.site-footer .footer-brand .brand-mark {
  flex: 0 0 48px
}

.site-footer .footer-brand>span:last-child {
  display: block;
  color: #fff;
  font-size: 15px;
  letter-spacing: .16em
}

.site-footer .footer-brand small {
  display: block;
  color: #fff;
  font-size: 8px;
  letter-spacing: .32em;
  margin-top: 5px
}

@media(max-width:900px) {
  .hero h1 {
    font-size: clamp(3.5rem, 9vw, 5rem)
  }
  .page-hero {
      grid-template-columns: 1fr;
  }
}
@media(max-width:600px) {
  .button {
    gap: 10px;
  }
}
@media(max-width:600px) {
  .button {
    padding: 15px 19px;
    gap: 12px
  }
  .hero h1 {
    font-size: 3.35rem
  }

  .area-links a,
  .area-links a:nth-child(n+2) {
    padding-left: 18px;
    padding-right: 18px
  }
  .footer-bottom {
    align-items: flex-start
  }
  .footer-bottom>span:last-child {
    white-space: normal
  }
   
   
}

.agent-photo.placeholder-photo {
  background: transparent;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.agent-photo.placeholder-photo span {
  color: #fff;
  text-shadow: 0 2px 18px rgba(6, 27, 56, .12)
}

.agent-photo.placeholder-photo small {
  color: #f4d777
}

/* Responsive spacing cleanup */




.site-footer .footer-brand small {
  white-space: nowrap
}

@media(max-width:600px) {
  .site-footer {
    gap: 24px;
    padding: 42px 24px 24px
  }
  .site-footer .footer-main p {
    margin: 14px 0 0;
    line-height: 1.65
  }
  .site-footer h3 {
    margin: 0 0 8px
  }
  .site-footer a,
  .site-footer p {
    line-height: 1.7
  }
  .site-footer .footer-brand {
    gap: 10px
  }
  .site-footer .footer-brand .brand-mark {
    flex-basis: 38px
  }
  .site-footer .footer-brand>span:last-child {
    white-space: nowrap
  }
  .site-footer .footer-brand small {
    white-space: nowrap;
    margin-top: 4px
  }
  .footer-bottom {
    margin-top: 6px;
    padding-top: 18px;
    gap: 8px
  }
  
 
}

/* Facebook footer icon */

.site-footer a[href*="facebook.com"] {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content
}

.site-footer a[href*="facebook.com"]::before {
  content: "f";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font: 700 13px/1 Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0
}

/* Live Matrix IDX */

.idx-section {
  padding-top: 48px
}

.idx-frame-wrap {
  height: 820px;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 55px rgba(6, 27, 56, .08)
}

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

.idx-note {
  margin: 12px 0 0;
  color: #6d7782;
  font-size: 12px
}

/* Luxury collection / filtered IDX-ready carousel */

.luxury-section {
  overflow: hidden;
  background: #061b38;
  color: #fff
}

.luxury-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 6vw;
  margin-bottom: 38px
}

.luxury-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.045em
}

.luxury-heading h2 em {
  font-family: Georgia, serif;
  font-weight: 400
}

.luxury-heading>div:last-child p {
  max-width: 470px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .76);
  line-height: 1.7
}

.luxury-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 6vw 8px;
  margin: 0 -6vw;
  scroll-snap-type: x mandatory;
  scrollbar-width: none
}

.luxury-rail::-webkit-scrollbar {
  display: none
}

.luxury-card {
  position: relative;
  flex: 0 0:min(58vw, 700px);
  height: 430px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #0d315f;
}

.luxury-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 18, 38, .78))
}

.luxury-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease
}

.luxury-card:hover img {
  transform: scale(1.035)
}

.luxury-card div {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 25px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px
}

.luxury-card span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #f4d777
}

.luxury-card strong {
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff
}

.luxury-feed-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  letter-spacing: .02em
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8b74d;
  box-shadow: 0 0 0 4px rgba(216, 183, 77, .13)
}

/* Expandable About / agent directory */

.team-intro {
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  grid-template-rows: auto auto;
  column-gap: 6vw;
  row-gap: 18px;
  align-items: start;
  margin-top: 0px;
  padding: 34px 26px 34px 22px;
  border-left: 3px solid #d8b74d;
}

.team-intro .eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0
}

.team-intro h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: clamp(2.8rem, 4.4vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.04em
}

.team-intro .team-intro-copy {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  max-width: 470px;
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  color: #5b6962;
  line-height: 1.7
}



@media(max-width:900px) {
  .luxury-heading {
    grid-template-columns: 1fr;
    gap: 18px
  }
  .idx-frame-wrap {
    height: 760px;
    min-height: 620px
  }
  .luxury-card {
    flex-basis: 74vw;
    height: 390px
  }
  .team-intro {
    grid-template-columns: 1fr 1fr;
    column-gap: 34px
  }
  
}

@media(max-width:600px) {
  .idx-section {
    padding-top: 34px
  }
  .idx-frame-wrap {
    height: 680px;
    min-height: 560px;
    margin-left: -8px;
    margin-right: -8px
  }
  .luxury-heading {
    margin-bottom: 26px
  }
  .luxury-heading h2 {
    font-size: 3rem
  }
  .luxury-card {
    flex-basis: 86vw;
    height: 330px
  }
  .luxury-card div {
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: block
  }
  .luxury-card strong {
    display: block;
    margin-top: 5px;
    font-size: 1.15rem
  }
  .luxury-feed-note {
    align-items: flex-start;
    line-height: 1.5
  }
  .team-intro {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 12px;
    margin-top: 14px;
    padding: 24px 18px 24px 16px
  }
  .team-intro .eyebrow,
  .team-intro h2,
  .team-intro .team-intro-copy {
    grid-column: 1;
    grid-row: auto
  }
  .team-intro h2 {
    font-size: 2.65rem
  }
  .team-intro .team-intro-copy {
    margin-top: 6px;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line)
  }
  
}