/* ===================== Tokens ===================== */
:root {
  --green: #2f4a3c;
  --green-deep: #243a2f;
  --green-soft: #5b7363;
  --sand: #f6f3ec;
  --sand-2: #efe9df;
  --ink: #222420;
  --muted: #6b6f68;
  --line: #e2ddd2;
  --gold: #b08a4f;
  --white: #ffffff;
  --max: 1200px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

/* ===================== Base ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .4em; letter-spacing: .2px; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 .9em;
}
.eyebrow.light { color: #d8c39a; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }

.placeholder-note {
  margin-top: 1.2rem;
  padding: .7rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(176,138,79,.07);
  color: var(--muted);
  font-size: .9rem;
  font-style: italic;
}
.center .placeholder-note { text-align: left; display: inline-block; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--green-deep); color: #eef0ec; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.8rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: all .25s ease;
}
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

/* ===================== Header ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { text-decoration: none; line-height: 1; }
.brand-mark { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: #fff; }
.brand-sub { display: block; font-size: .62rem; letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: 3px; text-align: center; }
.scrolled .brand-mark { color: var(--green); }
.scrolled .brand-sub { color: var(--muted); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: .82rem; letter-spacing: .08em; color: rgba(255,255,255,.92); transition: color .2s; }
.nav a:hover { color: #fff; }
.scrolled .nav a { color: var(--ink); }
.scrolled .nav a:hover { color: var(--green); }
.nav-cta { padding: .55rem 1.1rem; border: 1px solid rgba(255,255,255,.6); border-radius: 2px; }
.scrolled .nav-cta { border-color: var(--green); color: var(--green); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .3s; }
.scrolled .nav-toggle span { background: var(--ink); }

/* ===================== Hero ===================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,24,.45) 0%, rgba(20,30,24,.25) 40%, rgba(20,30,24,.7) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; max-width: 760px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .78rem; color: #e9ddc4; margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 6rem); font-weight: 500; margin: 0 0 .25em; }
.hero-lede { font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 300; max-width: 38ch; color: #f3f1ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 1.6rem; }
.hero-price { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .04em; color: #fff; margin: 0; }
.hero-price::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; text-decoration: none; font-size: 1.5rem; opacity: .8; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ===================== Facts ===================== */
.facts {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.facts li { background: #fff; padding: 28px 14px; text-align: center; }
.fact-num { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--green); line-height: 1; }
.fact-label { display: block; margin-top: 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

/* ===================== Features ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--sand); padding: 34px 30px; }
.feature h3 { color: var(--green); margin-bottom: .35em; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ===================== Gallery ===================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { padding: 0; border: 0; margin: 0; cursor: pointer; background: var(--sand-2); overflow: hidden; aspect-ratio: 3 / 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ===================== Location ===================== */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.location-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.location-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--line); }
.location-list li::before { content: "›"; position: absolute; left: 4px; color: var(--gold); font-size: 1.1rem; }
.location-map { aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.location-map iframe { width: 100%; height: 100%; border: 0; }

/* ===================== Details ===================== */
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.spec { margin: 1.2rem 0 0; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); margin: 0; }
.spec dd { margin: 0; font-weight: 400; text-align: right; }

/* ===================== Contact ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-details { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-details li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: #b9c4ba; margin-bottom: 4px; }
.contact-details a { font-family: var(--serif); font-size: 1.5rem; color: #fff; text-decoration: none; }
.contact-details a:hover { color: var(--gold); }
.placeholder-inline { display: inline-block; margin-left: 10px; font-size: .72rem; font-style: italic; color: #93a397; }

.contact-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); padding: 32px; border-radius: 4px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .78rem; letter-spacing: .06em; color: #cdd6cd; margin-bottom: 7px; }
.field .optional { color: #8a9a8d; text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--sans); font-size: .95rem; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 3px;
  transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #8a9a8d; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.field textarea { resize: vertical; }
.form-note { font-size: .78rem; color: #93a397; margin: 14px 0 0; text-align: center; }

/* ===================== Footer ===================== */
.site-footer { background: var(--ink); color: #cbccc7; padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.brand-footer .brand-mark { color: #fff; }
.brand-footer .brand-sub { color: #9a9c95; letter-spacing: .22em; }
.footer-disclaimer { font-size: .8rem; color: #8c8e88; max-width: 70ch; margin: 0; }

/* ===================== Lightbox ===================== */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(16,20,17,.94); padding: 4vh 5vw; }
.lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 100%; max-height: 84vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-caption { color: #d7d9d3; font-size: .85rem; margin-top: 14px; letter-spacing: .04em; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; transition: background .2s; }
.lb-close { top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lb-prev { left: 24px; } .lb-next { right: 24px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }

/* ===================== Responsive ===================== */
@media (max-width: 960px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .location-grid, .details-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .nav { position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(8px); box-shadow: 0 8px 20px rgba(0,0,0,.1); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav.open { max-height: 360px; }
  .nav a { color: var(--ink); padding: 16px 24px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-cta { border: 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 1.5rem; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
}
