:root {
  --ink: #050505;
  --paper: #ffffff;
  --warm: #e8e4de;
  --olive: #84816c;
  --line: #d5d2ca;
  --red: #ee443c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Lato, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 58px;
  color: var(--paper);
  background: linear-gradient(rgba(0, 0, 0, .34), rgba(0, 0, 0, 0));
  transition: background .25s ease, padding .25s ease;
}

.site-header.scrolled {
  padding: 18px 58px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 46px;
  border: 1px solid currentColor;
  font-size: 22px;
  font-family: Georgia, "Times New Roman", serif;
}

.brand small {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  margin-left: auto;
  margin-right: 36px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.4px;
}

.desktop-nav a {
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
}

.desktop-nav a:hover {
  border-color: currentColor;
}

.menu-button {
  width: 36px;
  height: 28px;
  display: grid;
  gap: 7px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  background: currentColor;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 25;
  width: min(420px, 100%);
  height: 100vh;
  padding: 130px 56px 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(8, 8, 8, .94);
  color: var(--paper);
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 2px;
  transform: translateX(100%);
  transition: transform .35s ease;
}

.menu-panel.open {
  transform: translateX(0);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .28)),
    url("https://media-production.lp-cdn.com/cdn-cgi/image/format=auto,quality=85,fit=scale-down,width=1920/https://media-production.lp-cdn.com/media/d448d603-7c52-4a34-86af-d3c290e347e9") center / cover;
}

.hero-video-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #111;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.4s ease;
}

.hero-video.active {
  opacity: 1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(218, 214, 204, .18);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 92vw);
  padding-top: 70px;
  color: var(--paper);
  text-align: center;
}

.hero h1 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 300;
  font-size: clamp(58px, 9vw, 118px);
  line-height: .95;
}

.hero p {
  margin: 34px 0 0;
  font-size: clamp(16px, 2vw, 21px);
  letter-spacing: 1px;
}

.hero .dre-line {
  margin-top: 14px;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero .social-line {
  margin-top: 24px;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 10px;
  padding: 48px 7vw;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.stats div {
  min-height: 92px;
}

.stats strong {
  display: block;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 300;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 10px;
  font-size: 16px;
}

.quick-links {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  padding: 78px 6vw 20px;
  overflow: hidden;
}

.quick-links::before {
  content: "";
  position: absolute;
  inset: 96px 0 auto;
  height: 192px;
  background: var(--red);
  z-index: 0;
}

.tile {
  position: relative;
  z-index: 1;
  min-height: 315px;
  overflow: hidden;
  background: #111;
}

.tile img {
  height: 100%;
  min-height: 315px;
  object-fit: cover;
  transition: transform .4s ease;
}

.portrait-tile img {
  object-position: center 6%;
}

.tile:hover img {
  transform: scale(1.04);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 34%, rgba(0, 0, 0, .52));
}

.tile span {
  position: absolute;
  left: 20px;
  bottom: 22px;
  z-index: 2;
  color: var(--paper);
  text-transform: uppercase;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.18;
}

.about-band {
  background: var(--warm);
  padding: 44px 0 84px;
}

.about-image {
  width: min(88vw, 1120px);
  height: 570px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center 6%;
}

.about-copy {
  width: min(1120px, 88vw);
  margin: 48px auto 0;
}

h2 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.1;
}

.about-copy p {
  max-width: 980px;
  font-size: 19px;
  line-height: 1.7;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 64px;
  padding: 18px 32px;
  border: 1px solid var(--olive);
  background: var(--olive);
  color: var(--paper);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
}

.button.ghost {
  margin-top: 42px;
  color: var(--ink);
  background: transparent;
}

.button.light {
  border-color: var(--paper);
  color: var(--ink);
  background: var(--paper);
}

.properties {
  padding: 100px 0 90px;
  text-align: center;
}

.mls-search {
  padding: 96px 7vw;
  background: var(--warm);
}

.mls-heading {
  max-width: 980px;
  margin: 0 auto 42px;
  text-align: center;
}

.mls-heading span {
  display: block;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--olive);
}

.mls-heading p {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: 19px;
  line-height: 1.65;
}

.mls-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) 1fr .8fr 190px;
  gap: 18px;
  align-items: end;
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px;
  background: var(--paper);
}

.mls-form label span {
  display: block;
  margin-bottom: 6px;
  color: #777;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #9f9c96;
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
  font: inherit;
  outline: none;
}

.idx-embed {
  max-width: 1160px;
  min-height: 250px;
  margin: 24px auto 0;
  display: grid;
  place-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, .82), rgba(255, 255, 255, .82)),
    url("https://media-production.lp-cdn.com/cdn-cgi/image/format=auto,quality=85,fit=scale-down,width=1280/https://media-production.lp-cdn.com/media/d7e18f0b-a393-403d-98b4-007d4590dd5c") center / cover;
  text-align: center;
}

.idx-embed strong {
  display: block;
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 1px;
}

.idx-embed p {
  max-width: 640px;
  margin: 14px auto 0;
  line-height: 1.6;
}

.properties h2 {
  color: #3d3d3d;
}

.property-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(420px, 58vw);
  gap: 64px;
  margin-top: 58px;
  padding: 0 9vw 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.property-card {
  position: relative;
  min-height: 570px;
  text-align: left;
  scroll-snap-align: center;
}

.property-card img {
  height: 570px;
  object-fit: cover;
}

.status {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 9px 15px;
  background: rgba(66, 66, 66, .68);
  color: var(--paper);
  font-size: 18px;
}

.status.sold {
  left: 24px;
  right: auto;
}

.property-info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(78%, 560px);
  padding: 24px 32px;
  background: rgba(244, 243, 239, .82);
}

.property-info h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 34px;
}

.property-info p {
  margin: 0 0 20px;
  font-size: 17px;
}

.property-info strong {
  font-size: 18px;
}

.neighborhoods {
  padding: 88px 7vw;
}

.neighborhoods h2 {
  text-align: center;
  margin-bottom: 52px;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.neighborhood-grid a {
  display: block;
  min-height: 360px;
  border-left: 1px solid var(--olive);
  padding-left: 28px;
}

.neighborhood-grid img {
  height: 238px;
  object-fit: cover;
  margin-bottom: 42px;
}

.neighborhood-grid span,
.neighborhood-grid strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.neighborhood-grid span {
  margin-bottom: 12px;
  font-size: 13px;
}

.neighborhood-grid strong {
  font-size: 17px;
}

.newsletter {
  padding: 76px 7vw 58px;
  background: var(--warm);
  text-align: center;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr 1fr 200px;
  align-items: end;
  gap: 16px;
  max-width: 1080px;
  margin: 44px auto 0;
  text-align: left;
}

.newsletter label span {
  display: block;
  color: #777;
  font-size: 17px;
}

input,
textarea,
select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #9f9c96;
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
  font: inherit;
  outline: none;
}

.consent {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.consent input,
.contact-form p input {
  width: auto;
  margin-right: 8px;
}

.work-with {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 80px 7vw;
  color: var(--paper);
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, .42), rgba(0, 0, 0, .38)),
    url("https://media-production.lp-cdn.com/cdn-cgi/image/format=auto,quality=85,fit=scale-down,width=1920/https://media-production.lp-cdn.com/media/g9vc1vxxwgz3u2emszv2") center / cover;
}

.work-with p {
  max-width: 720px;
  margin: 22px auto 34px;
  font-size: 20px;
  line-height: 1.6;
}

.footer {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  padding: 78px 7vw 46px;
  background: #111;
  color: var(--paper);
}

.footer h2 {
  font-size: clamp(32px, 4vw, 50px);
}

.footer p {
  line-height: 1.7;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

.contact-form textarea,
.contact-form p,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  color: var(--paper);
  border-color: rgba(255, 255, 255, .48);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.disclaimer {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px;
  opacity: .75;
}

@media (max-width: 980px) {
  .site-header,
  .site-header.scrolled {
    padding: 22px 24px;
  }

  .desktop-nav {
    gap: 13px;
    margin-right: 22px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .brand {
    gap: 10px;
    font-size: 15px;
  }

  .brand-mark {
    width: 52px;
    height: 40px;
  }

  .brand small {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

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

  .quick-links {
    grid-template-columns: 1fr 1fr;
  }

  .about-image {
    height: 430px;
  }

  .newsletter form {
    grid-template-columns: 1fr;
  }

  .mls-form {
    grid-template-columns: 1fr 1fr;
  }

  .mls-form label:first-child,
  .mls-form button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .brand-copy {
    display: none;
  }

  .desktop-nav {
    display: flex;
    flex: 1;
    max-width: calc(100vw - 146px);
    gap: 10px;
    margin-right: 12px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    font-size: 10px;
  }

  .desktop-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .stats,
  .quick-links,
  .neighborhood-grid,
  .footer,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .quick-links::before {
    height: 70%;
  }

  .property-row {
    grid-auto-columns: 86vw;
    gap: 26px;
    padding: 0 7vw 18px;
  }

  .property-card,
  .property-card img {
    min-height: 500px;
    height: 500px;
  }

  .property-info {
    width: 92%;
    padding: 20px;
  }

  .property-info h3 {
    font-size: 26px;
  }

  .mls-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}
