/* ── TOKENS ───────────────────────────────────────── */
:root {
  --green:       #2c5f3a;
  --green-light: #3d7a4f;
  --green-pale:  #eef4f0;
  --cream:       #f8f5ef;
  --charcoal:    #1e1e1e;
  --mid:         #5a5a5a;
  --border:      #d8d0c4;
  --white:       #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --max-w: 1100px;
  --section-pad: 100px 24px;
}

/* ── RESET ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
}
.nav__links {
  list-style: none;
  display: flex;
  gap: 36px;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--green); }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 80px 80px;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.hero__headline em {
  font-style: italic;
  color: var(--green);
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 420px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  max-width: 380px;
  background: var(--green-pale);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--mid);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__image-main {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3/4;
    object-fit: cover;
    borde-radius: 4px;
}

/* ── BUTTON ───────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border-radius: 2px;
}
.btn:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

/* ── SECTION LABELS ───────────────────────────────── */
.about__label,
.listings__label,
.contact__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

/* ── ABOUT ────────────────────────────────────────── */
.about {
  background: var(--white);
  padding: var(--section-pad);
}
.about__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.about__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--charcoal);
}
.about__body p {
  color: var(--mid);
  margin-bottom: 16px;
  max-width: 600px;
}
.about__stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ── LISTINGS ─────────────────────────────────────── */
.listings {
  padding: var(--section-pad);
  background: var(--cream);
}
.listings__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.listings__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 48px;
  color: var(--charcoal);
}
.listings__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.listings__loading {
  color: var(--mid);
  font-size: 0.9rem;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.listing-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--green-pale);
}
.listing-card__image--placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.listing-card__body {
  padding: 20px 24px 24px;
}
.listing-card__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 4px;
}
.listing-card__address {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.listing-card__details {
  font-size: 0.8rem;
  color: var(--mid);
  letter-spacing: 0.05em;
}
.listings__empty {
  color: var(--mid);
  font-size: 0.9rem;
  grid-column: 1/-1;
}

/* ── CONTACT ──────────────────────────────────────── */
.contact {
  background: var(--green);
  padding: var(--section-pad);
}
.contact__inner {
  max-width: 680px;
  margin: 0 auto;
}
.contact__label { color: rgba(255,255,255,0.6); }
.contact__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
}
.contact__sub {
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  font-size: 1rem;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}
.contact__form input:focus,
.contact__form textarea:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
}
.contact__form .btn {
  align-self: flex-start;
  background: var(--white);
  color: var(--green);
}
.contact__form .btn:hover {
  background: var(--cream);
}

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.footer a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer a:hover { color: var(--white); }
.footer__disclosures {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.footer__disclosures a {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    transition: color 0.2s;
}
.footer__disclosures a:hover { color: var(--white); }
.footer__logos {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}
.footer__logos img {
    height: 40px;
    width: auto;
}
.footer__copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav__links { gap: 20px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    text-align: center;
  }
  .hero__sub { margin: 0 auto 40px; }
  .hero__image-block { order: -1; }
  .hero__image-placeholder { max-width: 260px; aspect-ratio: 1/1; margin: 0 auto; }
  .about__inner { grid-template-columns: 1fr; gap: 8px; }
  .about__stats { flex-wrap: wrap; gap: 28px; }
  .form__row { grid-template-columns: 1fr; }
}
