:root {
  --charcoal: #1b1e22;
  --charcoal-soft: #2a2e33;
  --cream: #f8f5ef;
  --cream-dark: #efe9de;
  --oak: #a17c4e;
  --oak-light: #c9a877;
  --text-body: #3a3d42;
  --text-muted: #767a80;
  --border: #e2ddd2;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--charcoal); margin: 0; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(27, 30, 34, 0);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(27, 30, 34, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  color: #f1efe9;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.main-nav a:hover { opacity: 1; }
.nav-cta {
  border: 1px solid var(--oak-light);
  padding: 8px 18px;
  border-radius: 2px;
  opacity: 1 !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: #fff; display: block;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,22,25,0.35) 0%, rgba(20,22,25,0.25) 40%, rgba(15,17,19,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
  width: 100%;
  color: #fff;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--oak-light);
  margin: 0 0 14px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero-sub {
  max-width: 560px;
  font-size: 1.05rem;
  color: #e7e4dd;
  margin: 0 0 32px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cfcac0;
}
.hero-stats span {
  font-family: var(--serif);
  font-size: 2rem;
  color: #fff;
  line-height: 1.1;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (min-width: 900px) {
  .hero-content { text-align: right; }
  .hero-sub { margin-left: auto; margin-right: 0; }
  .hero-stats { justify-content: flex-end; }
  .hero-stats div { align-items: flex-end; }
  .hero-actions { justify-content: flex-end; }
}
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
}
.btn-primary {
  background: var(--oak);
  color: #fff;
}
.btn-primary:hover { background: var(--oak-light); }
.btn-ghost {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-block { display: block; text-align: center; margin-top: 24px; }
.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.4rem;
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Price bar */
.price-bar {
  background: var(--charcoal);
  color: #fff;
  padding: 22px 24px;
}
.price-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}
.price-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--oak-light);
}
.price-value {
  font-family: var(--serif);
  font-size: 1.9rem;
}
.price-address {
  margin-left: auto;
  color: #cfcac0;
  font-size: 0.9rem;
}

/* Sections */
.section { padding: 100px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-inner-wide { max-width: 1320px; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--oak);
  margin: 0 0 10px;
  font-weight: 600;
}
.section h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 24px;
}
.lede {
  max-width: 780px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.overview-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px 26px;
  border-radius: 4px;
}
.overview-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.overview-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Gallery */
.gallery-section { background: var(--charcoal); }
.gallery-section .section-eyebrow { color: var(--oak-light); }
.gallery-section h2 { color: #fff; }
.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease;
  border-radius: 2px;
}
.gallery-grid img:hover { transform: scale(1.02); opacity: 0.92; }
.gallery-more {
  text-align: center;
  margin-top: 36px;
}

/* Accordion / Features */
.accordion { margin-top: 32px; border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--charcoal);
}
.accordion-header .plus {
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--oak);
  transition: transform 0.25s ease;
}
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-panel ul {
  padding: 0 4px 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 32px;
}
.accordion-panel li {
  color: var(--text-muted);
  font-size: 0.96rem;
  padding-left: 16px;
  position: relative;
}
.accordion-panel li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 1px;
  background: var(--oak);
}

/* Grounds split section */
.grounds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  align-items: stretch;
}
.grounds-media { position: relative; min-height: 480px; }
.grounds-media img { width: 100%; height: 100%; object-fit: cover; }
.grounds-content {
  background: var(--cream-dark);
  padding: 90px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.grounds-list li {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.grounds-list strong { color: var(--charcoal); }

/* Floor Plans */
.floorplan-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.floorplan-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 4px;
}
.floorplan-grid img {
  width: 100%;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.25s ease;
}
.floorplan-grid img:hover { opacity: 0.85; }
.floorplan-grid figcaption {
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Location */
.map-frame {
  margin-top: 36px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.map-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Contact */
.contact { background: var(--charcoal); }
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.contact h2, .contact .lede { color: #fff; }
.contact .lede { color: #cfcac0; }
.brokerage-logo {
  width: 200px;
  margin-bottom: 28px;
}
.agent-card {
  background: #fff;
  padding: 44px 40px;
  border-radius: 6px;
}
.agent-card h3 { font-size: 1.9rem; margin-bottom: 6px; }
.agent-brokerage {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 24px;
}
.agent-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.agent-links a {
  font-size: 1rem;
  color: var(--charcoal);
}
.agent-links a:hover { color: var(--oak); }

/* Footer */
.site-footer {
  background: var(--charcoal-soft);
  color: #b7b3aa;
  text-align: center;
  padding: 40px 24px;
  font-size: 0.85rem;
}
.site-footer p { margin: 4px 0; }
.footer-logo {
  width: 140px;
  margin: 0 auto 20px;
}
.disclaimer { color: #7d7a72; font-size: 0.78rem; margin-top: 14px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover, .lightbox-nav:hover { opacity: 1; }
.lightbox-close { top: 24px; right: 32px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute;
  bottom: 24px;
  color: #cfcac0;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .grounds { grid-template-columns: 1fr; }
  .grounds-media { min-height: 320px; }
  .grounds-content { padding: 60px 28px; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .price-address { margin-left: 0; }
  .floorplan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 160px; }
  .section { padding: 70px 20px; }
}
