/* ==========================================================================
   Ease — Shared Style System
   Brand: future-focused urban living. Simplicity, thoughtful design,
   mobility, access. Palette pulled from the real Ease property renderings
   (warm brick/terracotta, cream, charcoal, soft greenery).
   ========================================================================== */

:root {
  /* Palette */
  --cream:        #F4EEE3;
  --cream-dark:   #E9DFCC;
  --paper:        #FBF8F2;
  --charcoal:     #211D1A;
  --charcoal-soft:#33302C;
  --brick:        #A8512F;
  --brick-dark:   #7E3B22;
  --brick-light:  #C97A52;
  --sage:         #6E7A5E;
  --sage-dark:    #545E47;
  --muted:        #7A736A;
  --white:        #FFFFFF;
  --line:         rgba(33, 29, 26, 0.12);
  --line-light:   rgba(255, 255, 255, 0.18);

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1180px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-weight: 400; }

p { margin: 0 0 1em; color: var(--charcoal-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }

.section--charcoal {
  background: var(--charcoal);
  color: var(--cream);
}
.section--charcoal p { color: rgba(244, 238, 227, 0.78); }
.section--charcoal h2, .section--charcoal h3 { color: var(--paper); }

.section--cream { background: var(--cream); }
.section--dark-cream { background: var(--cream-dark); }

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.9em 1.7em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--charcoal);
  color: var(--paper);
  border-color: var(--charcoal);
}
.btn-primary:hover { background: var(--brick); border-color: var(--brick); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--paper); }

.btn-on-dark {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 238, 227, 0.5);
}
.btn-on-dark:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }

.btn-on-dark.filled {
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}
.btn-on-dark.filled:hover { background: var(--brick-light); border-color: var(--brick-light); color: var(--charcoal); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}
.logo span { color: var(--brick); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.main-nav .nav-links {
  display: flex;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
  color: var(--charcoal);
  border-color: var(--brick);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4.5rem, 12vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 1.4rem;
  display: block;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  max-width: 15ch;
  margin-bottom: 0.4em;
}

.hero .lede {
  max-width: 46ch;
  font-size: 1.25rem;
  margin-bottom: 1.6rem;
}

.hero .tagline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brick-dark);
  margin-bottom: 2.4rem;
}

.hero-media {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.hero-media img { width: 100%; height: clamp(280px, 46vw, 560px); object-fit: cover; }

/* ---------- Feature / content blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.split-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }

.checklist {
  list-style: none;
  margin: 1.6rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--charcoal-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brick);
}

.negative-list {
  list-style: none;
  margin: 1.6rem 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.negative-list li { padding-left: 1.4rem; position: relative; }
.negative-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* ---------- Placeholder art (used where no real photo exists yet) ---------- */
.art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(155deg, var(--cream-dark) 0%, var(--cream) 55%, var(--brick-light) 140%);
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
}
.art::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
}
.art-label {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  background: rgba(251, 248, 242, 0.85);
  padding: 0.4em 0.8em;
  border-radius: 2px;
}
.art--charcoal {
  background: linear-gradient(155deg, #2b2621 0%, #211d1a 60%, #3d2a20 140%);
}
.art--charcoal::before { opacity: 0.08; background-image: linear-gradient(var(--cream) 1px, transparent 1px), linear-gradient(90deg, var(--cream) 1px, transparent 1px); }
.art--charcoal .art-label { background: rgba(33, 29, 26, 0.7); color: var(--cream); }

/* ---------- Stat / value grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.feature-card h3 {
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.98rem; }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--brick);
}
.section--charcoal .icon-badge {
  background: rgba(244, 238, 227, 0.1);
  color: var(--cream);
}

/* ---------- Numbers row ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  margin-top: 3rem;
}
.section--charcoal .stat-row { border-color: var(--line-light); }
.stat-row .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--brick);
  display: block;
}
.section--charcoal .stat-row .stat-num { color: var(--brick-light); }
.stat-row .stat-label { font-size: 0.88rem; color: var(--muted); }

/* ---------- Property cards ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
}
.property-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.property-card:hover { box-shadow: 0 18px 40px rgba(33, 29, 26, 0.1); transform: translateY(-2px); }
.property-card .prop-media { height: 240px; overflow: hidden; }
.property-card .prop-media img { width: 100%; height: 100%; object-fit: cover; }
.property-card .prop-body { padding: 1.6rem 1.8rem 1.9rem; }
.property-card .prop-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: rgba(110, 122, 94, 0.14);
  padding: 0.3em 0.7em;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}
.property-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.15em; }
.property-card .prop-address { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.9rem; letter-spacing: 0.02em; }

/* ---------- Shared-features bullet list ---------- */
.tick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tick-grid li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.98rem;
  color: var(--charcoal-soft);
}
.tick-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.4px solid var(--brick);
}
.tick-grid li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brick);
}

/* ---------- Lifestyle category sections ---------- */
.category-block {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.category-block:first-of-type { border-top: none; }
.category-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.9rem;
  display: inline-block;
}

/* ---------- Closing CTA ---------- */
.cta-band {
  text-align: center;
}
.cta-band h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 16ch; margin-left: auto; margin-right: auto; }
.cta-band .lede { max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(244, 238, 227, 0.72);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 0.8rem;
  display: block;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Interest list form ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--charcoal-soft);
}
.form-field input, .form-field select {
  width: 100%;
  padding: 0.8em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--charcoal);
}
.form-field input:focus, .form-field select:focus {
  outline: none;
  border-color: var(--brick);
}
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.8rem; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .main-nav .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .main-nav.nav-open .nav-links {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 1; }
  .split.reverse .split-text { order: 2; }
  .grid-3, .grid-2, .property-grid, .tick-grid, .form-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { justify-content: center; }
}
