:root {
  --green: #15241e;
  --green-dark: #101b16;
  --green-light: #25392e;
  --gold: #bda47b;
  --cream: #f7f6f2;
  --cream-dark: #eeede7;
  --white: #fff;
  --text: #263029;
  --muted: #777d77;
  --border: #e4e5df;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --heading: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; }
body.modal-open, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(1320px, calc(100% - 100px)); margin-inline: auto; }
.section-padding { padding: 120px 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h2 { font-family: var(--heading); font-size: clamp(38px, 4.2vw, 64px); font-weight: 500; letter-spacing: -.065em; line-height: 1.13; }
h2 em, h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
::selection { background: var(--gold); color: var(--green-dark); }

.site-header {
  height: 92px; padding: 0 4.5%; position: absolute; z-index: 100;
  inset: 0 0 auto; display: flex; align-items: center;
  justify-content: space-between; color: white;
  border-bottom: 1px solid rgba(255,255,255,.22);
  transition: background .3s, height .3s, box-shadow .3s;
}
.site-header.scrolled {
  position: fixed; height: 76px; background: rgba(17,30,24,.97);
  box-shadow: 0 8px 35px rgba(0,0,0,.12);
  border-bottom-color: rgba(255,255,255,.09);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  font-family: var(--serif); font-size: 44px; line-height: 1;
  position: relative; font-weight: 500; letter-spacing: -.08em;
}
.brand-mark span {
  color: var(--gold); font-size: 12px; position: absolute;
  right: -9px; top: 1px; letter-spacing: 0;
}
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-family: var(--heading); font-size: 20px; letter-spacing: .19em; font-weight: 600; }
.brand-copy small { font-size: 9px; letter-spacing: .47em; font-weight: 600; }
.desktop-nav { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 12px; font-weight: 600; opacity: .8; transition: opacity .2s; }
.nav-link:hover, .nav-link.active { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-cta {
  border: 1px solid rgba(255,255,255,.55); padding: 13px 19px;
  font-size: 12px; font-weight: 600; transition: .25s;
}
.header-cta span { margin-left: 22px; }
.header-cta:hover { background: white; color: var(--green); }
.menu-toggle { display: none; border: 0; background: transparent; width: 38px; padding: 10px 4px; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: white; margin: 6px 0; transition: .25s; }
.mobile-nav { display: none; }

.hero {
  height: min(880px, 100svh); min-height: 680px;
  position: relative; display: flex; align-items: center;
  color: white; overflow: hidden;
}
.hero-bg, .hero-overlay, .editorial-bg, .editorial-overlay { position: absolute; inset: 0; }
.hero-bg {
  background: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=90") center 52%/cover no-repeat;
  animation: heroZoom 12s ease-out both;
}
.hero-overlay { background: linear-gradient(90deg, rgba(10,24,18,.76) 0%, rgba(10,24,18,.38) 60%, rgba(10,24,18,.2)), linear-gradient(0deg, rgba(8,20,15,.42), transparent 32%); }
.hero-content { position: relative; z-index: 2; padding-top: 78px; }
.eyebrow { display: flex; align-items: center; gap: 15px; font-size: 10px; font-weight: 700; letter-spacing: .23em; }
.eyebrow-line { width: 34px; height: 1px; background: currentColor; display: inline-block; flex-shrink: 0; }
.hero-eyebrow { color: #eee6d8; }
.hero h1 {
  font-family: var(--heading); font-size: clamp(64px, 8.2vw, 125px);
  font-weight: 500; line-height: 1.02; letter-spacing: -.085em;
  margin: 29px 0 26px; max-width: 1000px;
}
.hero h1 em { color: #e4d4b7; }
.hero-content > p { max-width: 470px; font-size: 16px; line-height: 1.85; color: rgba(255,255,255,.82); }
.hero-buttons { display: flex; align-items: center; gap: 40px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 45px; padding: 19px 25px; min-height: 58px;
  border: 1px solid transparent; font-size: 12px; font-weight: 700;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn-light { background: var(--cream); color: var(--green); }
.btn-light:hover { background: #e5d6bd; }
.btn-dark { background: var(--green); color: white; }
.btn-dark:hover { background: var(--green-light); }
.hero-text-link { font-size: 12px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 8px; }
.hero-text-link span { margin-left: 15px; }
.hero-bottom {
  position: absolute; z-index: 2; bottom: 42px; left: 50%;
  transform: translateX(-50%); display: flex;
  align-items: center; justify-content: space-between;
  font-size: 10px; font-weight: 700; letter-spacing: .15em;
}
.hero-location { display: flex; align-items: center; gap: 10px; }
.location-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-scroll span { margin-left: 16px; font-size: 17px; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }

.search-wrap { position: relative; z-index: 5; margin-top: -1px; background: var(--cream); }
.search-panel {
  background: white; box-shadow: 0 20px 65px rgba(25,38,30,.08);
  display: grid; grid-template-columns: repeat(3, 1fr) 230px;
  align-items: stretch; padding: 15px; transform: translateY(-45%);
  margin-bottom: -65px;
}
.search-field { padding: 15px 25px; border-right: 1px solid var(--border); }
.search-field label, .form-field label {
  display: block; font-size: 10px; letter-spacing: .14em;
  font-weight: 700; color: var(--muted); margin-bottom: 13px;
}
.search-field select {
  width: 100%; background: transparent; border: 0; outline: none;
  color: var(--green); font-size: 14px; font-weight: 600; cursor: pointer;
}
.search-submit {
  background: var(--green); border: 0; color: white;
  padding: 0 18px; display: flex; justify-content: center;
  align-items: center; gap: 13px; font-size: 12px; font-weight: 700;
  transition: background .2s;
}
.search-submit:hover { background: var(--green-light); }
.search-icon { font-size: 28px; font-weight: 400; }

.intro { padding-top: 145px; padding-bottom: 115px; }
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12%; }
.dark-eyebrow { color: #857356; }
.intro h2 { margin: 28px 0 0; }
.intro-copy { padding-top: 40px; }
.intro-copy p { font-size: 15px; line-height: 1.95; color: #6f756f; margin-bottom: 20px; }
.text-link {
  display: inline-flex; gap: 55px; align-items: center;
  margin-top: 18px; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; border-bottom: 1px solid var(--green);
  padding-bottom: 12px;
}
.text-link:hover { color: #9c8056; border-color: #9c8056; }

.properties-section { background: #fff; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 42px; }
.section-top h2 { margin: 23px 0 0; }
.section-top > p { max-width: 350px; color: #777d77; font-size: 14px; line-height: 1.9; margin-bottom: 7px; }
.property-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.filter-btn {
  padding: 12px 22px; background: transparent; border: 1px solid var(--border);
  color: #6b736d; font-size: 12px; font-weight: 600; transition: .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--green); border-color: var(--green); color: white; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 25px; }
.property-card { background: white; min-width: 0; }
.property-card[hidden] { display: none !important; }
.property-image { aspect-ratio: 1.25; position: relative; overflow: hidden; background: #e7e9e4; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.property-card:hover .property-image img { transform: scale(1.06); }
.property-badge {
  position: absolute; top: 20px; left: 20px; background: white;
  padding: 10px 13px; font-size: 9px; font-weight: 800; letter-spacing: .1em;
}
.favorite-btn {
  position: absolute; right: 17px; top: 17px; width: 37px; height: 37px;
  border: 0; background: rgba(255,255,255,.94); border-radius: 50%;
  font-size: 24px; line-height: 1; color: var(--green);
}
.favorite-btn.saved { color: #b96e66; }
.property-info { padding: 24px 2px 0; }
.property-location { font-size: 10px; font-weight: 800; letter-spacing: .13em; color: #9b8868; }
.property-info h3 { font-family: var(--heading); font-size: 22px; font-weight: 600; letter-spacing: -.04em; margin: 11px 0 17px; }
.property-specs { display: flex; flex-wrap: wrap; gap: 12px; color: #838982; font-size: 12px; }
.property-specs span:not(:last-child)::after { content: "·"; margin-left: 12px; color: #b4b7b0; }
.property-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 25px; padding-top: 17px; border-top: 1px solid var(--border); }
.property-footer strong { font-family: var(--heading); font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.property-arrow { border: 1px solid var(--border); background: transparent; width: 39px; height: 39px; font-size: 19px; transition: .2s; }
.property-arrow:hover { background: var(--green); color: white; }
.empty-state { text-align: center; padding: 65px 20px; }
.empty-state[hidden] { display: none; }
.empty-state h3 { font-size: 25px; }
.empty-state p { color: var(--muted); }
.properties-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 65px; gap: 20px; }
.properties-bottom > span { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: #939a92; }
.outline-btn { border: 1px solid var(--green); padding: 17px 21px; font-size: 10px; letter-spacing: .1em; font-weight: 800; transition: .2s; }
.outline-btn span { margin-left: 30px; }
.outline-btn:hover { background: var(--green); color: white; }

.feature-story { min-height: 700px; display: grid; grid-template-columns: 1fr 1fr; }
.feature-photo { min-height: 700px; overflow: hidden; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { background: var(--green); color: white; padding: 100px clamp(45px, 6vw, 115px); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.light-eyebrow { color: #d5c1a1; }
.feature-copy h2 { margin: 32px 0; position: relative; z-index: 1; }
.feature-copy h2 em { color: #d9c5a7; }
.feature-copy p { max-width: 440px; font-size: 14px; line-height: 2; color: #c6d0c7; position: relative; z-index: 1; }
.feature-copy .btn { margin-top: 24px; position: relative; z-index: 1; }
.feature-decoration { position: absolute; right: -50px; bottom: -110px; font-family: var(--serif); font-size: 400px; line-height: 1; opacity: .035; pointer-events: none; }

.expertise-section { background: var(--cream); }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.expertise-card { padding: 42px 37px 34px; border: 1px solid #dfe2d9; background: #fff; min-height: 350px; position: relative; transition: transform .3s, box-shadow .3s; }
.expertise-card:hover { transform: translateY(-7px); box-shadow: 0 22px 45px rgba(15,35,22,.08); }
.expertise-number { font-size: 11px; color: #a0a49b; letter-spacing: .1em; }
.expertise-symbol { font-family: var(--serif); font-size: 52px; color: #9f8c6c; margin: 27px 0 25px; line-height: 1; }
.expertise-card h3 { font-family: var(--heading); font-size: 23px; font-weight: 600; letter-spacing: -.045em; }
.expertise-card p { color: #7b827a; font-size: 13px; line-height: 1.9; max-width: 290px; }
.expertise-card > a { position: absolute; right: 30px; bottom: 27px; font-size: 22px; }

.editorial-section { height: 620px; position: relative; display: flex; align-items: center; color: white; overflow: hidden; }
.editorial-bg { background: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=90") center/cover no-repeat; }
.editorial-overlay { background: linear-gradient(90deg, rgba(10,23,16,.75), rgba(10,23,16,.15)); }
.editorial-content { position: relative; z-index: 1; }
.editorial-content h2 { font-size: clamp(52px, 6vw, 90px); margin: 25px 0; }
.editorial-content h2 em { color: #e6d2b3; }
.editorial-content p { max-width: 430px; color: #e0e4dc; line-height: 1.9; }
.editorial-content .btn { margin-top: 20px; }

.contact-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }
.contact-intro h2 { margin: 27px 0; }
.contact-intro > p { color: #777f77; font-size: 15px; line-height: 1.95; max-width: 410px; }
.contact-note { display: flex; gap: 18px; align-items: center; margin-top: 65px; max-width: 320px; color: #828981; font-size: 12px; line-height: 1.8; }
.contact-note-icon { width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--border); font-size: 22px; color: #b29a72; }
.contact-form { padding-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { margin-bottom: 26px; }
.form-field label { color: #59645a; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #dce0d9;
  padding: 12px 0 16px; background: transparent; outline: none;
  color: var(--green); border-radius: 0; font-size: 14px;
  transition: border-color .2s;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a0a6a0; }
.form-submit { margin-top: 10px; }
.form-feedback { font-size: 13px; margin-top: 16px; line-height: 1.7; }

.site-footer { background: var(--green-dark); color: white; padding: 85px 0 30px; }
.footer-main { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 50px; padding-bottom: 90px; }
.footer-brand p { color: #aebbb0; line-height: 1.8; font-size: 14px; margin: 26px 0 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-links > div { display: flex; flex-direction: column; gap: 15px; }
.footer-links h4 { font-size: 10px; letter-spacing: .2em; color: #bda47b; margin-bottom: 14px; }
.footer-links a { font-size: 13px; color: #b6c0b7; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-cta > span { font-size: 10px; color: #bda47b; letter-spacing: .16em; }
.footer-cta > a { display: block; font-family: var(--serif); font-size: 32px; margin-top: 19px; border-bottom: 1px solid #66776a; padding-bottom: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; color: #9daaa0; font-size: 10px; letter-spacing: .08em; }
.footer-bottom a { color: #e2cda8; }
.demo-disclaimer { font-size: 10px; line-height: 1.7; color: #718477; margin-top: 24px; }

.property-modal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 24px; }
.property-modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,15,9,.8); backdrop-filter: blur(7px); }
.modal-panel { position: relative; width: min(920px, 100%); max-height: 90vh; overflow-y: auto; background: white; display: grid; grid-template-columns: 1fr 1fr; }
.modal-panel > img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.modal-close { position: absolute; right: 15px; top: 15px; z-index: 2; width: 40px; height: 40px; border: 0; background: var(--green); color: white; font-size: 26px; }
.modal-content { padding: 65px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.modal-content > span { font-size: 10px; font-weight: 800; letter-spacing: .15em; color: #9b8868; }
.modal-content h2 { font-size: 37px; margin: 18px 0; }
.modal-content > p { font-size: 13px; color: #777d77; line-height: 1.9; }
.modal-content > strong { font-size: 25px; margin: 10px 0 22px; }
.modal-content .btn { margin-top: 15px; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1150px) {
  .desktop-nav { gap: 18px; }
  .container { width: min(100% - 64px, 1320px); }
  .search-panel { grid-template-columns: repeat(3, 1fr) 190px; }
  .search-field { padding-inline: 14px; }
  .property-grid { gap: 28px 18px; }
  .feature-copy { padding: 70px 45px; }
  .contact-grid { gap: 7%; }
}

@media (max-width: 900px) {
  .section-padding { padding: 85px 0; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header { height: 80px; }
  .mobile-nav {
    display: flex; flex-direction: column; position: fixed; z-index: 90;
    inset: 0; padding: 115px 8% 40px; background: var(--green-dark);
    color: white; gap: 26px; transform: translateX(100%); transition: transform .3s;
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav a { font-family: var(--heading); font-size: 29px; font-weight: 500; }
  .menu-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .search-panel { grid-template-columns: repeat(2, 1fr); transform: translateY(-25%); margin-bottom: -35px; }
  .search-field:nth-child(2) { border-right: 0; }
  .search-field:nth-child(3) { border-top: 1px solid var(--border); }
  .search-submit { min-height: 65px; }
  .intro { padding-top: 100px; }
  .intro-grid { gap: 40px; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-story { grid-template-columns: 1fr; }
  .feature-photo { min-height: 440px; height: 440px; }
  .feature-copy { min-height: 500px; }
  .expertise-grid { gap: 12px; }
  .expertise-card { padding: 30px 24px; }
  .contact-grid { gap: 50px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-cta { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .section-padding { padding: 70px 0; }
  h2 { font-size: clamp(35px, 9vw, 49px); }
  .site-header { padding-inline: 18px; height: 72px; }
  .brand-mark { font-size: 36px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 8px; }
  .hero { min-height: 690px; height: 92svh; }
  .hero-bg { background-position: 59% center; }
  .hero-content { padding-top: 50px; }
  .hero h1 { font-size: clamp(54px, 12vw, 76px); margin-top: 25px; }
  .hero-content > p { font-size: 14px; }
  .hero-buttons { gap: 22px; flex-wrap: wrap; }
  .hero-text-link { font-size: 11px; }
  .hero-bottom { bottom: 25px; }
  .hero-location { font-size: 8px; }
  .hero-scroll { display: none; }
  .search-panel { grid-template-columns: 1fr; transform: translateY(-30px); margin-bottom: -30px; padding: 12px; }
  .search-field { padding: 14px; border-right: 0; border-bottom: 1px solid var(--border); }
  .search-field:nth-child(3) { border-top: 0; }
  .search-submit { min-height: 56px; }
  .intro { padding-top: 85px; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .intro-copy { padding-top: 0; }
  .section-top { display: block; margin-bottom: 30px; }
  .section-top > p { margin-top: 23px; }
  .property-filters { gap: 7px; }
  .filter-btn { padding: 10px 13px; font-size: 11px; }
  .property-grid { grid-template-columns: 1fr; gap: 35px; }
  .property-image { aspect-ratio: 1.35; }
  .properties-bottom { flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 45px; }
  .feature-photo { height: 330px; min-height: 330px; }
  .feature-copy { min-height: 520px; padding: 65px 25px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 40px; }
  .expertise-card { min-height: 300px; }
  .editorial-section { height: 560px; }
  .editorial-content h2 { font-size: 55px; }
  .contact-note { margin-top: 35px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 45px; padding-bottom: 60px; }
  .footer-cta { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-panel > img { height: 230px; min-height: 230px; }
  .modal-content { padding: 30px 25px; }
  .modal-content h2 { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
