:root {
  --ink: #1f2420;
  --muted: #5d655e;
  --sand: #f4efe6;
  --stone: #e7e0d3;
  --forest: #2f3d33;
  --leaf: #6b7f5e;
  --gold: #b08d57;
  --white: #fff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 300; color: var(--ink); background: var(--sand); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .75rem; font-weight: 500; color: var(--stone); margin: 0 0 1rem; }
.eyebrow.dark { color: var(--gold); }
.lead { font-size: 1.2rem; max-width: 760px; color: var(--muted); }

.btn { display: inline-block; padding: 14px 28px; background: var(--gold); color: var(--white); text-decoration: none; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; font-weight: 500; border: 1px solid var(--gold); cursor: pointer; transition: all .2s; font-family: var(--sans); }
.btn:hover { background: #9a7a47; border-color: #9a7a47; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--white); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; transition: background .3s, padding .3s; }
.nav.solid { background: rgba(31,36,32,.94); padding: 12px 32px; backdrop-filter: blur(6px); }
.brand { font-family: var(--serif); font-size: 1.6rem; color: var(--white); text-decoration: none; letter-spacing: .05em; }
.nav nav { display: flex; gap: 26px; align-items: center; }
.nav nav a { color: var(--white); text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.nav nav a:hover { opacity: 1; }
.nav-cta { border: 1px solid rgba(255,255,255,.6); padding: 8px 16px; }
.menu { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; }

/* hero */
.hero { position: relative; min-height: 100vh; background-size: cover; background-position: center; display: flex; align-items: flex-end; color: var(--white); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.65) 100%); }
.hero-inner { position: relative; padding: 0 32px 10vh; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-weight: 400; }
.address { font-size: 1.05rem; letter-spacing: .08em; margin: 0; }
.price { font-family: var(--serif); font-size: 2.2rem; margin: .2em 0 1.2em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--forest); color: var(--white); text-align: center; }
.stats div { padding: 34px 10px; border-right: 1px solid rgba(255,255,255,.12); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; }
.stats span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }

/* overview */
.overview { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; padding-top: 110px; padding-bottom: 110px; align-items: center; }
.col-text p { color: var(--muted); font-size: 1.05rem; }
.col-img { display: grid; gap: 16px; }
.col-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; cursor: zoom-in; }

/* gallery */
.gallery-section { padding: 40px 0 100px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 6px; margin-bottom: 40px; }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; cursor: zoom-in; transition: opacity .2s; }
.gallery img:hover { opacity: .85; }
.gallery img.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
.gallery .hidden { display: none; }

/* video */
.video-section { background: var(--forest); color: var(--white); padding: 100px 0; }
.video-frame { position: relative; aspect-ratio: 16/9; background: #000; margin-top: 20px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* off-grid */
.offgrid { padding-top: 110px; padding-bottom: 110px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { background: var(--white); padding: 34px; border-top: 3px solid var(--leaf); }
.card ul, .feature-cols ul { list-style: none; padding: 0; margin: 0; }
.card li, .feature-cols li { padding: 9px 0; border-bottom: 1px solid var(--stone); color: var(--muted); font-size: .95rem; }
.card li:last-child, .feature-cols li:last-child { border-bottom: 0; }

/* features */
.features { background: var(--white); padding: 110px 0; }
.feature-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 30px; }

/* location */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; padding-top: 110px; padding-bottom: 110px; align-items: center; }
.distances { list-style: none; padding: 0; margin: 24px 0 0; }
.distances li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--stone); }
.distances li span:last-child { color: var(--gold); font-weight: 500; }
.map { aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* calculator */
.calc-section { background: var(--stone); padding: 100px 0; }
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 30px; }
.calc form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc label { display: flex; flex-direction: column; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); gap: 6px; }
.calc input, .calc select { font: inherit; font-size: 1rem; padding: 12px; border: 1px solid #cfc6b5; background: var(--white); color: var(--ink); letter-spacing: 0; text-transform: none; }
.calc-out { background: var(--forest); color: var(--white); padding: 34px; }
.calc-out > span { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.calc-out strong { display: block; font-family: var(--serif); font-size: 3rem; font-weight: 500; margin: 6px 0 16px; }
.calc-out ul { list-style: none; padding: 0; margin: 0 0 16px; }
.calc-out li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .95rem; }
.calc-out small { opacity: .7; }

/* contact */
.contact { background: linear-gradient(rgba(31,36,32,.82), rgba(31,36,32,.88)), url('/img/full/04.jpg') center/cover; color: var(--white); padding: 120px 0; }
.contact-inner { max-width: 760px; text-align: center; }
.agent { display: flex; justify-content: center; margin: 30px 0; }
.agent strong { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.agent span { display: block; opacity: .85; font-size: .95rem; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

footer { background: #171b18; color: rgba(255,255,255,.6); text-align: center; padding: 34px 24px; font-size: .8rem; }
footer p { margin: 4px auto; max-width: 900px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,12,10,.96); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font-size: 3rem; cursor: pointer; padding: 10px 18px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 16px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; color: rgba(255,255,255,.7); font-size: .85rem; letter-spacing: .1em; }

@media (max-width: 980px) {
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(31,36,32,.97); flex-direction: column; padding: 20px; gap: 18px; }
  .nav.open nav { display: flex; }
  .nav.open { background: rgba(31,36,32,.97); }
  .menu { display: block; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(3) { border-right: 0; }
  .stats div:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .overview, .location, .calc { grid-template-columns: 1fr; gap: 40px; }
  .cards, .feature-cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img.wide { grid-column: span 2; grid-row: auto; aspect-ratio: 3/2; }
}
@media (max-width: 560px) {
  .calc form { grid-template-columns: 1fr; }
  .nav, .nav.solid { padding: 12px 18px; }
  .hero-inner { padding: 0 20px 8vh; }
}
.house-name { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .4em; letter-spacing: .04em; }
.house-name em { font-style: italic; opacity: .85; }
.video-frame iframe { filter: contrast(1.15); }
