* {
  box-sizing: border-box;
}

:root {
  --ink: #171717;
  --muted: #6f6f6f;
  --cream: #f4f0e9;
  --white: #ffffff;
  --line: rgba(23,23,23,.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: .08em;
}

.brand-sub {
  margin-top: 8px;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .26em;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: .89rem;
  font-weight: 600;
}

.nav-links a:hover {
  opacity: .6;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 12px 18px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: #111;
  margin: 7px auto;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: white;
  background: #111;
  padding-top: 82px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.26), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 50px;
  padding-bottom: 70px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 700;
  font-size: .73rem;
  margin: 0 0 20px;
}

.eyebrow.dark {
  color: #7b746d;
}

.hero h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.03em;
}

.hero h1 {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: .95;
  margin: 0;
  max-width: 900px;
}

.hero-copy {
  max-width: 680px;
  margin: 30px 0;
  line-height: 1.75;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-light {
  background: white;
  color: #111;
}

.btn-ghost {
  color: white;
  border-color: rgba(255,255,255,.75);
}

.btn-dark {
  color: white;
  background: #171717;
}

.hero-note {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  font-size: .67rem;
  letter-spacing: .22em;
  font-weight: 700;
}

.section {
  padding: 110px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.7rem);
  line-height: 1.05;
  margin: 0;
}

.intro-copy {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #424242;
}

.text-link,
.service-card a {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  border-bottom: 1px solid #111;
  padding-bottom: 4px;
}

.services {
  background: var(--cream);
}

.section-head {
  margin-bottom: 48px;
}

.section-head.row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.cards.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.service-card {
  background: white;
  padding: 52px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card .number {
  color: #8b8177;
  font-size: .75rem;
  letter-spacing: .2em;
  margin-bottom: 55px;
}

.service-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.7rem;
  margin: 0 0 18px;
  font-weight: 500;
}

.service-card p {
  line-height: 1.75;
  color: #555;
  max-width: 500px;
}

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

.property-image {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
}

.property-image span {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,.92);
  padding: 9px 12px;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}

.img-one {
  background-image: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1200&q=82");
}
.img-two {
  background-image: url("https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?auto=format&fit=crop&w=1200&q=82");
}
.img-three {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=82");
}

.property-meta {
  padding: 19px 0 5px;
}

.property-meta h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  margin: 0 0 6px;
}

.property-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.listing-note {
  margin-top: 25px;
  color: var(--muted);
  font-size: .85rem;
}

.communities {
  background: #171717;
  color: white;
}

.community-grid {
  border-top: 1px solid rgba(255,255,255,.2);
}

.community-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 4px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  transition: padding .2s ease, opacity .2s ease;
}

.community-grid a:hover {
  padding-left: 12px;
  opacity: .75;
}

.community-grid span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.community-grid small {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
}

.contact {
  background: #f8f7f4;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}

.contact-grid > div > p:last-child {
  color: #555;
  line-height: 1.7;
  max-width: 500px;
}

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

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  background: white;
  padding: 15px 14px;
  font: inherit;
  font-size: .95rem;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  min-height: 20px;
  color: #555;
  font-size: .88rem;
}

.site-footer {
  padding: 70px 0 30px;
  background: #0e0e0e;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1.2fr;
  gap: 50px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid p,
.legal {
  color: #aaa;
  font-size: .84rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: .88rem;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 50px;
  padding-top: 25px;
  font-size: .68rem;
  color: #858585;
  line-height: 1.5;
}

@media (max-width: 850px) {
  .nav-links {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    padding: 12px 20px 20px;
    border-bottom: 1px solid #ddd;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
  }

  .nav-cta {
    border: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 82vh;
  }

  .split,
  .cards.two,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .property-image {
    height: 470px;
  }

  .section {
    padding: 80px 0;
  }

  .section-head.row {
    display: block;
  }

  .section-head.row .text-link {
    margin-top: 20px;
  }

  .service-card {
    min-height: 300px;
    padding: 36px;
  }

  .service-card .number {
    margin-bottom: 35px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    font-size: 3.35rem;
  }

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

  .hero-note {
    display: none;
  }

  .property-image {
    height: 360px;
  }

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

  .contact-form label,
  .full {
    grid-column: 1;
  }

  .copyright {
    flex-direction: column;
  }
}


/* Mobile-first enhancements for iPhone + Android */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  padding-bottom: 0;
  overflow-x: hidden;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.btn,
.nav-links a,
.community-grid a {
  touch-action: manipulation;
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 850px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .nav-wrap {
    min-height: 70px;
  }

  .nav-links {
    top: calc(70px + env(safe-area-inset-top));
    max-height: calc(100dvh - 70px - env(safe-area-inset-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links a {
    min-height: 50px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(70px + env(safe-area-inset-top));
  }

  .hero-content {
    padding-top: 36px;
    padding-bottom: 100px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 420px);
  }

  .btn {
    min-height: 54px;
    width: 100%;
    font-size: .95rem;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 80;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(18,18,18,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0,0,0,.25);
    overflow: hidden;
  }

  .mobile-action-bar a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: .86rem;
    border-right: 1px solid rgba(255,255,255,.15);
  }

  .mobile-action-bar a:last-child {
    border-right: 0;
  }

  .property-image {
    height: min(62vh, 470px);
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* prevents unwanted iPhone input zoom */
    min-height: 50px;
  }

  .contact-form textarea {
    min-height: 140px;
  }

  .site-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-sub {
    font-size: .56rem;
    letter-spacing: .19em;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 3.7rem);
  }

  .hero-copy {
    line-height: 1.62;
  }

  h2 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .section {
    padding: 68px 0;
  }

  .service-card {
    padding: 30px 24px;
  }

  .property-image {
    height: 55vh;
    min-height: 330px;
  }

  .community-grid span {
    font-size: 2rem;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero {
    min-height: 620px;
  }
}

@media (max-width: 820px) {
  .contact-direct {
    display: none;
  }
}

.hero {
  overflow: hidden;
  background: #111;
}

.before-after {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.before-image,
.after-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

.after-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.after-image {
  width: 100vw;
  max-width: none;
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,.9);
  transform: translateX(-50%);
  z-index: 2;
}

.compare-slider {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y;
}

.compare-slider::-webkit-slider-runnable-track {
  background: transparent;
  height: 100%;
}

.compare-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid white;
  background: rgba(0,0,0,.40);
  cursor: ew-resize;
}

.compare-slider::-moz-range-track {
  background: transparent;
}

.compare-slider::-moz-range-thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid white;
  background: rgba(0,0,0,.40);
  cursor: ew-resize;
}

.hero h1 {
  transform: translateX(10px);
}

.hero h1 {
  color: #71808A;
}

.hero h1 .home-white {
  color: white;
}

.hero h1 {
  margin-bottom: 70px;
}

.hero-copy {
  margin-top: 0;
}