:root {
  --bg: #f7f2eb;
  --bg-alt: #efe7dc;
  --surface: #ffffff;
  --ink: #1e2a2f;
  --muted: #5a6670;
  --line: #e2d8cb;
  --accent: #b4532a;
  --accent-ink: #8e3d1c;
  --sage: #5f7a5a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(30, 42, 47, .06), 0 8px 24px rgba(30, 42, 47, .06);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; padding: .85em 1.4em;
  background: var(--accent); color: #fff;
  border: 2px solid var(--accent); border-radius: 999px;
  font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-small { padding: .5em 1em; font-size: .9rem; white-space: nowrap; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 242, 235, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font: 600 1.1rem var(--serif); color: var(--ink); text-decoration: none; margin-right: auto; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); }

/* Hero: falls back to a desert gradient until photos/hero.jpg exists */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20, 28, 32, .25) 0%, rgba(20, 28, 32, .72) 100%),
    url("photos/hero.jpg") center / cover no-repeat,
    linear-gradient(135deg, #c9845c 0%, #a2583a 45%, #4d5d5a 100%);
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
}
.hero-inner { padding: 120px 0 56px; max-width: 820px; margin-left: max(16px, calc((100% - 1120px) / 2)); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; opacity: .9; margin-bottom: .75em; }
.hero h1 { text-wrap: balance; }
.hero-price { font-family: var(--serif); font-size: 1.1rem; margin: .25em 0 1em; }
.hero-price strong { font-size: 2.4rem; font-weight: 600; }
.hero-price span { opacity: .85; margin-left: 4px; }
.facts { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li {
  padding: .4em .9em; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  font-size: .92rem; font-weight: 500;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.availability { margin: 22px 0 0; font-size: .95rem; opacity: .92; display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9fd69a; box-shadow: 0 0 0 4px rgba(159,214,154,.25); flex: none; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.note { color: var(--muted); font-size: .95rem; }

.highlights, .criteria {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 28px;
}
.highlights article, .criteria article {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 8px;
  box-shadow: var(--shadow);
}
.highlights article h3::before {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 2px;
  background: var(--accent); margin-bottom: 14px;
}
.highlights p, .criteria p { color: var(--muted); }

.owner-note {
  margin-top: 28px; padding: 24px 26px; border-radius: var(--radius);
  background: var(--bg-alt); border-left: 5px solid var(--sage);
}
.owner-note h3 { margin-bottom: .35em; }
.owner-note p { margin: 0; color: var(--muted); max-width: 70ch; }

/* Gallery */
.gallery {
  display: grid; gap: 10px; margin-top: 24px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
}
.tile {
  padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in;
  background: var(--line); position: relative;
}
.tile-wide { grid-column: span 2; grid-row: span 2; }
.tile-tall { grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tile:hover img { transform: scale(1.03); }
.tile.missing {
  cursor: default;
  background: repeating-linear-gradient(135deg, #e7ddd0 0 12px, #e1d5c6 12px 24px);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem; font-weight: 500; text-align: center; padding: 12px;
}

.video { margin-top: 40px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Details */
.two-col { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; }
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-weight: 500; }
.spec dd { margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 8px 0 8px 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* Process + alert */
.process { margin-top: 40px; }
.process ol { padding-left: 1.25em; display: grid; gap: 6px; }
.alert {
  margin-top: 32px; padding: 18px 20px; border-radius: var(--radius);
  background: #fff6e6; border: 1px solid #f0d49a; color: #5b4313;
}

/* Form */
.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); margin-top: 24px;
  display: grid; gap: 18px;
}
.form .grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea {
  width: 100%; padding: .7em .8em; font: inherit; font-weight: 400; color: var(--ink);
  background: #fdfbf8; border: 1px solid #d6cbbd; border-radius: 10px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180, 83, 42, .18); }
.form small { color: var(--muted); font-weight: 400; font-size: .82rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.form legend { font-weight: 500; font-size: .95rem; margin-bottom: 6px; width: 100%; }
.form .inline { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .inline input { margin-top: .3em; accent-color: var(--accent); }
.consent { color: var(--muted); font-size: .9rem; }
.optional { color: var(--muted); font-weight: 400; }
.hp { position: absolute !important; left: -9999px; }
.form-error { color: #a12a1a; font-weight: 500; margin: 0; }
.invalid { border-color: #c4422c !important; }

.result {
  margin-top: 24px; background: var(--surface); border: 1px solid var(--line);
  border-left: 5px solid var(--sage); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.result.review { border-left-color: #c79a3a; }
.result h3 { margin-bottom: .4em; }
.result p { color: var(--muted); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #d9dee0; padding: 40px 0; }
.footer-inner { display: grid; gap: 12px; }
.eho { display: flex; gap: 14px; align-items: flex-start; }
.eho svg { flex: none; color: #fff; }
.eho p { margin: 0; max-width: 70ch; }
.fine { font-size: .85rem; opacity: .7; margin: 0; }
.fine a { color: inherit; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgba(10, 14, 16, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1200px, 90vw); }
.lightbox img { max-height: 82vh; width: auto; margin: auto; border-radius: 8px; }
.lightbox figcaption { color: #e6e9ea; text-align: center; margin-top: 12px; font-size: .95rem; }
.lb-close, .lb-nav {
  position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
}
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.24); }

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}
@media (max-width: 560px) {
  .brand { font-size: 1rem; }
  .brand span { display: none; }
  .form .grid { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .gallery { grid-auto-rows: 120px; }
  .lb-nav { top: auto; bottom: 20px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img { transition: none; }
}
