@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;1,500&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f1efe9;
  color: #111;
  font-family: "DM Sans", sans-serif;
}

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

.hidden {
  display: none !important;
}


/* ======================================
   HEADER
====================================== */

.area-header {
  height: 90px;
  padding: 0 4vw;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  background: #111;
  color: white;
}

.area-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.area-brand .brokerage-name {
  display: block;

  color: #fff;

  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.area-brand .agent-name {
  display: block;

  margin-top: 4px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 7px;
  font-weight: 500;
  line-height: 1.3;

  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.area-header nav {
  display: flex;
  gap: 28px;
}

.area-header nav a,
.area-account {
  font-size: 9px;
  letter-spacing: 0.13em;

  opacity: 0.7;

  transition: opacity 0.2s ease;
}

.area-header nav a:hover,
.area-account:hover {
  opacity: 1;
}

.area-account {
  justify-self: end;
}


/* ======================================
   STELLAR BROKERAGE DISCLOSURE
====================================== */

.stellar-brokerage-disclosure {
  position: relative;
  z-index: 95;

  width: 100%;

  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 24px;

  padding:
    15px
    4vw;

  border-bottom:
    1px solid
    rgba(
      17,
      17,
      17,
      0.14
    );

  background: #fff;

  color: #111;
}

.stellar-brokerage-logo {
  display: block;

  width: 145px;

  max-width: 100%;

  height: auto;
}

.stellar-brokerage-identity {
  display: flex;

  flex-direction: column;

  gap: 3px;

  min-width: 0;
}

.stellar-brokerage-identity strong {
  font-size: 12px;

  font-weight: 600;

  line-height: 1.35;
}

.stellar-brokerage-identity span {
  color:
    rgba(
      17,
      17,
      17,
      0.68
    );

  font-size: 9px;

  line-height: 1.45;
}

.stellar-brokerage-contact {
  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 3px;

  text-align: right;
}

.stellar-brokerage-contact a,
.stellar-brokerage-contact span {
  color: #111;

  font-size: 9px;

  line-height: 1.45;
}

.stellar-brokerage-contact a {
  text-decoration: underline;

  text-underline-offset: 2px;
}


/* ======================================
   LOADING
====================================== */

.area-loading {
  min-height: 80vh;

  display: grid;
  place-items: center;

  background: #111;
  color: white;

  font-size: 9px;
  letter-spacing: 0.2em;
}


/* ======================================
   HERO
====================================== */

.area-hero {
  position: relative;

  height: 78vh;
  min-height: 620px;

  overflow: hidden;

  color: white;
}

.area-hero img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.area-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.05)
    );
}

.area-hero-content {
  position: absolute;

  left: 6vw;
  right: 6vw;
  bottom: 8vh;
}

.area-hero-content > span,
.eyebrow {
  font-size: 8px;
  letter-spacing: 0.18em;
}

.area-hero-content h1 {
  max-width: 1100px;

  margin: 14px 0 12px;

  font-family: "Playfair Display", serif;
  font-size: clamp(72px, 11vw, 170px);
  font-weight: 500;
  line-height: 0.8;
}

.area-hero-content p {
  max-width: 690px;

  margin: 0;

  font-size: 16px;
  line-height: 1.6;
}


/* ======================================
   INTRO
====================================== */

.area-intro,
.area-market-heading,
.area-homes-heading,
.area-homeowner {
  display: grid;
  grid-template-columns: 1fr 0.75fr;

  gap: 8vw;
}

.area-intro {
  padding: 110px 7vw;
}

.area-intro h2,
.area-lifestyle h2,
.area-neighborhoods h2,
.area-homeowner h2,
.area-contact h2 {
  margin: 18px 0 0;

  font-size: clamp(55px, 7vw, 105px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.area-intro h2 em,
.area-lifestyle h2 em,
.area-neighborhoods h2 em,
.area-homeowner h2 em,
.area-contact h2 em {
  display: block;

  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.area-intro-copy {
  align-self: end;
}

.area-intro-copy p,
.area-homeowner p {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  line-height: 1.65;
}

.area-intro-copy a,
.area-market-heading a,
.area-homes-heading a,
.homeowner-button,
.area-contact a {
  display: inline-block;

  margin-top: 28px;
  padding-bottom: 5px;

  border-bottom: 1px solid;

  font-size: 9px;
  letter-spacing: 0.13em;
}


/* ======================================
   MARKET
====================================== */

.area-market {
  padding: 100px 7vw;

  background: #111;
  color: white;
}

.area-market-heading {
  align-items: end;
}

.area-market-heading h2,
.area-homes-heading h2 {
  margin: 15px 0 0;

  font-family: "Playfair Display", serif;
  font-size: clamp(50px, 6vw, 85px);
  font-weight: 500;
}

.area-market-heading > a,
.area-homes-heading > a {
  justify-self: end;
}

.area-stat-grid {
  margin-top: 70px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid #333;
}

.area-stat-grid article {
  min-height: 210px;

  padding: 25px;

  display: flex;
  flex-direction: column;

  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
}

.area-stat-grid article:last-child {
  border-right: 0;
}

.area-stat-grid span {
  color: #777;

  font-size: 8px;
  letter-spacing: 0.15em;
}

.area-stat-grid strong {
  margin-top: auto;

  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 500;
}

.area-stat-grid small {
  margin-top: 8px;

  color: #777;

  font-size: 8px;
}


/* ======================================
   AREA MARKET WATCH
====================================== */

.area-market-watch {
  margin-top: 54px;

  padding:
    34px
    0;

  display: grid;

  grid-template-columns:
    1fr
    auto;

  align-items: end;

  gap: 60px;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.16
    );

  border-bottom:
    1px solid
    rgba(
      255,
      255,
      255,
      0.16
    );
}

.area-market-watch > div:first-child > span {
  display: block;

  margin-bottom: 14px;

  color: #777;

  font-size: 8px;

  font-weight: 600;

  letter-spacing: 0.2em;
}

.area-market-watch h3 {
  margin: 0;

  color: white;

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(
      30px,
      3vw,
      46px
    );

  font-weight: 500;
}

.area-market-watch > div:first-child > p {
  max-width: 580px;

  margin:
    15px
    0
    0;

  color: #999;

  font-size: 12px;

  line-height: 1.7;
}

.area-market-watch-action {
  display: flex;

  flex-direction: column;

  align-items: flex-end;
}

#areaMarketWatchButton {
  padding:
    0
    0
    6px;

  background: transparent;

  border: 0;

  border-bottom:
    1px solid white;

  color: white;

  cursor: pointer;

  font-size: 9px;

  font-weight: 500;

  letter-spacing: 0.14em;

  transition:
    opacity
    0.2s ease;
}

#areaMarketWatchButton:hover {
  opacity: 0.6;
}

#areaMarketWatchButton:disabled {
  cursor: default;

  opacity: 0.5;
}

#areaMarketWatchMessage {
  max-width: 300px;

  margin:
    13px
    0
    0;

  color: #999;

  text-align: right;

  font-size: 8px;

  line-height: 1.5;

  letter-spacing: 0.1em;
}


/* ======================================
   VERIFIED MARKET DATA PENDING
====================================== */

.area-market-pending {
  margin-top: 54px;

  padding:
    62px
    54px;

  border:
    1px solid
    rgba(
      17,
      17,
      17,
      0.13
    );

  background:
    linear-gradient(
      135deg,
      #f7f4ee 0%,
      #ece7de 100%
    );
}

.area-market-pending > span {
  display: block;

  margin-bottom: 24px;

  font-size: 8px;
  font-weight: 600;

  letter-spacing:
    0.22em;

  color:
    rgba(
      17,
      17,
      17,
      0.48
    );
}

.area-market-pending h3 {
  max-width: 760px;

  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(
      36px,
      4vw,
      62px
    );

  line-height: 0.97;

  font-weight: 500;

  letter-spacing:
    -0.035em;

  color: #111;
}

.area-market-pending h3 em {
  display: block;

  margin-top: 5px;

  font-weight: 500;
}

.area-market-pending p {
  max-width: 650px;

  margin:
    28px
    0
    0;

  font-size: 13px;

  line-height: 1.8;

  color:
    rgba(
      17,
      17,
      17,
      0.65
    );
}

.area-market-pending p + p {
  margin-top: 8px;
}

.area-market-pending > a {
  display: inline-flex;

  margin-top: 34px;

  min-height: 50px;

  padding:
    0
    20px;

  align-items: center;
  justify-content: center;

  background: #111;

  border:
    1px solid #111;

  color: #fff;

  text-decoration: none;

  font-size: 8px;

  font-weight: 600;

  letter-spacing:
    0.15em;

  transition:
    background
    0.2s ease;
}

.area-market-pending > a:hover {
  background: #2c2c2c;
}


/* ======================================
   LIFESTYLE
====================================== */

.area-lifestyle,
.area-neighborhoods,
.area-homes {
  padding: 110px 7vw;
}

.lifestyle-grid {
  margin-top: 70px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid #cbc7bf;
}

.lifestyle-grid article {
  min-height: 270px;

  padding: 28px;

  border-right: 1px solid #cbc7bf;
  border-bottom: 1px solid #cbc7bf;
}

.lifestyle-grid article:last-child {
  border-right: 0;
}

.lifestyle-grid span {
  color: #777;

  font-size: 8px;
  letter-spacing: 0.14em;
}

.lifestyle-grid p {
  margin-top: 90px;

  color: #444;

  font-size: 13px;
  line-height: 1.7;
}


/* ======================================
   NEIGHBORHOODS
====================================== */

.area-neighborhoods {
  background: #dedbd4;
}

.neighborhood-grid {
  margin-top: 70px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 8px;
}

.neighborhood-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #111;
  color: white;
}

.neighborhood-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neighborhood-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.15));
}

.neighborhood-card > span,
.neighborhood-card strong,
.neighborhood-card small {
  position: relative;
  z-index: 1;
}

.neighborhood-card > span {
  color: #777;

  font-size: 8px;
  letter-spacing: 0.14em;
}

.neighborhood-card strong {
  margin-top: auto;

  font-family: "Playfair Display", serif;
  font-size: 35px;
  font-weight: 500;
}

.neighborhood-card small {
  margin-top: 15px;

  font-size: 8px;
  letter-spacing: 0.13em;
}


/* ======================================
   HOMES
====================================== */

.area-homes {
  background: #f1efe9;
}

.area-listing-placeholder {
  min-height: 400px;

  margin-top: 65px;
  padding: 50px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background: #d5d1c8;
}

.area-listing-placeholder span {
  font-size: 8px;
  letter-spacing: 0.16em;
}

.area-listing-placeholder h3 {
  max-width: 700px;

  margin: 18px 0 10px;

  font-family: "Playfair Display", serif;
  font-size: 45px;
  font-weight: 500;
}

.area-listing-placeholder p {
  max-width: 700px;

  color: #555;

  line-height: 1.6;
}

.area-listing-placeholder > a {
  display: inline-flex;

  margin-top: 28px;

  min-height: 48px;

  width: fit-content;

  padding:
    0
    18px;

  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(
      17,
      17,
      17,
      0.25
    );

  color: #111;

  text-decoration: none;

  font-size: 8px;

  font-weight: 600;

  letter-spacing:
    0.15em;
}


/* ======================================
   HOMEOWNER
====================================== */

.area-homeowner {
  padding: 110px 7vw;

  background: #c9c5bc;

  align-items: end;
}


/* ======================================
   CONTACT CTA
====================================== */

.area-contact {
  padding: 120px 7vw;

  background: #111;
  color: white;
}

.area-contact h2 {
  max-width: 1100px;
}


/* ======================================
   DISCLAIMER
====================================== */

.area-disclaimer {
  padding: 35px 7vw;

  background: #070707;
  color: #777;
}

.area-disclaimer p {
  max-width: 1000px;

  margin: 0;

  font-size: 9px;
  line-height: 1.6;
}


/* ======================================
   AREA FOOTER
====================================== */

.area-footer {
  padding:
    46px
    5vw
    34px;

  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: start;

  gap: 35px;

  background: #090909;

  color: white;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.1
    );
}

.area-footer > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.area-footer > div:first-child strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.area-footer > div:first-child span {
  color: #777;

  font-size: 8px;
  letter-spacing: 0.12em;
}

.area-footer > div:nth-child(2) {
  min-width: 120px;
}

.area-footer > div:nth-child(2) a {
  color: #aaa;

  font-size: 9px;
  letter-spacing: 0.08em;

  transition: color 0.2s ease;
}

.area-footer > div:nth-child(2) a:hover {
  color: white;
}

.area-footer-brokerage {
  justify-self: end;

  align-items: flex-end;

  text-align: right;
}

.area-footer-brokerage strong {
  color: white;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 0.04em;
}

.area-footer-brokerage span,
.area-footer-brokerage a {
  color: #777;

  font-size: 8px;

  line-height: 1.45;
}

.area-footer-brokerage a:hover {
  color: white;
}


/* ======================================
   ERROR
====================================== */

.area-error {
  min-height: 80vh;

  padding: 8vw;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: #111;
  color: white;
}

.area-error h1 {
  margin: 20px 0;

  font-size: clamp(60px, 8vw, 120px);
  font-weight: 300;
}

.area-error h1 em {
  display: block;

  font-family: "Playfair Display", serif;
}


/* ======================================
   TABLET
====================================== */

@media (max-width: 900px) {

  .area-header {
    grid-template-columns:
      1fr
      auto;
  }

  .area-header nav {
    display: none;
  }


  .stellar-brokerage-disclosure {
    grid-template-columns:
      auto
      1fr;

    gap: 16px;
  }

  .stellar-brokerage-contact {
    grid-column:
      1
      /
      -1;

    align-items: flex-start;

    text-align: left;

    flex-direction: row;

    flex-wrap: wrap;

    gap:
      6px
      18px;
  }


  .area-intro,
  .area-market-heading,
  .area-homes-heading,
  .area-homeowner {
    grid-template-columns: 1fr;
  }

  .area-market-heading > a,
  .area-homes-heading > a {
    justify-self: start;
  }

  .area-stat-grid,
  .lifestyle-grid {
    grid-template-columns:
      1fr
      1fr;
  }

  .neighborhood-grid {
    grid-template-columns: 1fr;
  }


  .area-footer {
    grid-template-columns:
      1fr
      1fr;

    align-items: start;
  }

  .area-footer-brokerage {
    grid-column:
      1
      /
      -1;

    justify-self: start;

    align-items: flex-start;

    text-align: left;
  }

}


/* ======================================
   MOBILE
====================================== */

@media (max-width: 700px) {

  .area-market-pending {
    margin-top: 36px;

    padding:
      42px
      24px;
  }

  .area-market-pending h3 {
    font-size: 38px;
  }

  .area-market-pending > a {
    width: 100%;
  }


  .area-market-watch {
    margin-top: 40px;

    grid-template-columns: 1fr;

    align-items: start;

    gap: 30px;
  }

  .area-market-watch-action {
    align-items: flex-start;
  }

  #areaMarketWatchMessage {
    text-align: left;
  }

}


@media (max-width: 600px) {

  .area-header {
    height: 75px;

    padding:
      0
      22px;
  }

  .area-brand .brokerage-name {
    font-size: 7px;

    letter-spacing: 0.055em;
  }

  .area-brand .agent-name {
    font-size: 6px;

    letter-spacing: 0.045em;
  }

  .area-account {
    font-size: 8px;
  }


  .stellar-brokerage-disclosure {
    grid-template-columns: 1fr;

    gap: 10px;

    padding:
      14px
      22px;
  }

  .stellar-brokerage-logo {
    width: 125px;
  }

  .stellar-brokerage-contact {
    grid-column: auto;

    flex-direction: column;

    align-items: flex-start;

    gap: 3px;

    text-align: left;
  }

  .stellar-brokerage-identity strong {
    font-size: 11px;
  }

  .stellar-brokerage-identity span,
  .stellar-brokerage-contact a,
  .stellar-brokerage-contact span {
    font-size: 8px;
  }


  .area-hero {
    min-height: 540px;
  }

  .area-intro,
  .area-market,
  .area-lifestyle,
  .area-neighborhoods,
  .area-homes,
  .area-homeowner,
  .area-contact {
    padding-left: 24px;
    padding-right: 24px;
  }

  .area-stat-grid,
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }

  .area-stat-grid article,
  .lifestyle-grid article {
    border-right: 0;
  }


  .area-footer {
    grid-template-columns: 1fr;

    padding:
      36px
      24px
      30px;
  }

  .area-footer-brokerage {
    grid-column: auto;

    justify-self: start;

    align-items: flex-start;

    text-align: left;
  }

}
.area-photo-credit { position:absolute; right:14px; bottom:10px; z-index:4; color:rgba(255,255,255,.72); font-size:10px; letter-spacing:.06em; text-transform:uppercase; text-decoration:none; text-shadow:0 1px 3px rgba(0,0,0,.7); }
.area-photo-credit:hover { color:#fff; }

/* =========================================================
   LIVE AREA MARKET + MAP
========================================================= */
.area-live-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:rgba(17,17,17,.12);margin:26px 0 18px;border:1px solid rgba(17,17,17,.12)}
.area-live-stats>div{background:#fff;padding:20px;display:flex;flex-direction:column;gap:8px}.area-live-stats small{font-size:8px;letter-spacing:.13em;color:rgba(17,17,17,.55)}.area-live-stats strong{font-family:"Playfair Display",serif;font-size:25px;font-weight:500}.area-live-note{font-size:9px!important;color:rgba(17,17,17,.56)!important}
.area-live-marketplace{margin-top:28px}.area-live-map-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;background:#111;color:#fff}.area-live-map-head div{display:flex;flex-direction:column;gap:4px}.area-live-map-head span{font-size:8px;letter-spacing:.15em;color:#e2bd72}.area-live-map-head strong{font-size:12px}.area-live-map-head a{font-size:8px;letter-spacing:.12em;color:#fff}.area-listing-map{height:510px;background:#e7e3dc}.area-price-pin{background:#111;color:#fff;border:2px solid #fff;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.25);padding:6px 8px;font-size:9px;font-weight:600;white-space:nowrap}.area-map-empty{height:100%;display:grid;place-items:center;font-size:10px;letter-spacing:.1em}.area-live-listings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}.area-live-card{background:#fff;border:1px solid rgba(17,17,17,.12)}.area-live-photo{height:170px;display:block;position:relative;overflow:hidden;background:#ddd}.area-live-photo img{width:100%;height:100%;object-fit:cover;display:block}.area-live-photo>span{position:absolute;left:10px;top:10px;background:#fff;padding:6px 8px;font-size:7px;letter-spacing:.1em}.area-live-card>div{padding:14px}.area-live-card strong{font-family:"Playfair Display",serif;font-size:20px}.area-live-card p{font-size:10px;line-height:1.4;margin:7px 0}.area-live-card small{font-size:8px;color:rgba(17,17,17,.6)}.area-live-photo-empty{height:100%;display:grid;place-items:center;background:#222;color:#fff;font-size:8px;letter-spacing:.12em}
@media(max-width:1000px){.area-live-listings{grid-template-columns:repeat(2,minmax(0,1fr))}.area-live-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.area-listing-map{height:390px}.area-live-listings,.area-live-stats{grid-template-columns:1fr}.area-live-map-head{align-items:flex-start;flex-direction:column}}

/* V5: long area names must always fit on mobile */
@media (max-width: 650px) {
  .area-hero-content { left: 20px !important; right: 20px !important; bottom: 52px !important; }
  .area-hero-content h1 {
    max-width: 100% !important;
    font-size: clamp(44px, 14.5vw, 66px) !important;
    line-height: .88 !important;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}
