:root {
  --bg: #222;
  --bg-2: #2c2c2c;
  --bg-3: #333;
  --text: #eee;
  --muted: #bbb;
  --line: #444;
  --accent: #7bdcb5;
  --accent-ink: #0f2a20;
  --font: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: #ddd; }
a:hover, a:focus { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: min(100% - 32px, 1000px); margin-inline: auto; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 300px; display: grid; place-items: center; overflow: hidden; background: #111; }
.hero-home { min-height: min(78vh, 720px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.45)); }
.hero-text { position: relative; text-align: center; padding: 32px 16px; color: #fff; }
.hero-logo { width: min(240px, 55vw); height: auto; display: block; margin: 0 auto 8px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); }
.site-title { margin: 0; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: clamp(1.6rem, 5vw, 2.8rem); line-height: 1.2; }
.site-title a { color: #fff; text-decoration: none; }
.site-title.small { font-size: .8rem; font-weight: 600; letter-spacing: .2em; opacity: .9; margin-bottom: 6px; }
.tagline { margin: 6px 0 0; font-size: 1rem; letter-spacing: .06em; color: #f1f1f1; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hero-heading { margin: 0; font-weight: 300; font-size: clamp(1.8rem, 5.5vw, 3.2rem); line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,.55); }

/* ---------- nav ---------- */
.main-nav { background: #262626; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.main-nav a { display: block; padding: 14px 18px; color: #ccc; text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.nav-toggle { display: none; width: 100%; background: none; border: 0; color: #eee; font: 600 .85rem var(--font); letter-spacing: .1em; text-transform: uppercase; padding: 14px; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav ul { display: none; flex-direction: column; }
  .main-nav.open ul { display: flex; }
  .main-nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
}

/* ---------- content ---------- */
main.wrap { padding: 40px 0 56px; min-height: 40vh; }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-weight: 300; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.25; margin: 0 0 .8em; color: #f3f3f3; }
.prose h3 { font-weight: 600; font-size: 1.25rem; margin: 1.4em 0 .5em; }
.prose h4 { font-weight: 600; margin: 1.2em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .3em; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1.2em 0; padding: .2em 1.2em; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose img { border-radius: 4px; }
.prose .columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 2em; }
.prose .column > p { margin-bottom: .8em; }
.has-text-align-center, .aligncenter { text-align: center; }
.has-text-align-right, .alignright { text-align: right; }
.accent { color: var(--accent); font-size: .95rem; }
img.aligncenter { display: block; margin-inline: auto; }
.home-prose { max-width: 700px; }
.btn, .prose a.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; padding: 10px 20px; border-radius: 3px; letter-spacing: .03em; }
.btn:hover, .btn:focus { background: #fff; color: #000; }
.btn-alt { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

/* ---------- listings ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; margin-top: 32px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card-link { display: block; color: inherit; text-decoration: none; padding-bottom: 14px; }
.card-link:hover { color: inherit; }
.card-link:hover h3 { color: var(--accent); }
.card-img { position: relative; aspect-ratio: 4 / 3; background: #1a1a1a; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-noimg { height: 100%; display: grid; place-items: center; color: #777; font-size: .9rem; }
.card h3 { margin: 12px 16px 0; font-size: 1.15rem; font-weight: 600; }
.card-meta { margin: 2px 16px 0; color: var(--muted); font-size: .9rem; }
.card-price { margin: 4px 16px 0; color: var(--accent); font-weight: 600; }
.is-sold .card-img img { filter: grayscale(.8) brightness(.7); }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; vertical-align: middle; }
.card-img .badge { position: absolute; top: 10px; left: 10px; }
.badge-available { background: var(--accent); color: var(--accent-ink); }
.badge-reserved { background: #f2c14e; color: #3a2a00; }
.badge-sold { background: #777; color: #fff; }
.empty { text-align: center; color: var(--muted); margin-top: 40px; }
.crumbs { margin: 0 0 20px; font-size: .9rem; }
.listing { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 820px) { .listing { grid-template-columns: 1fr; } }
.listing h2 { margin-top: 0; font-weight: 600; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 1.2em; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 28px; }
.listing-photos .gallery { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.listing-photos .gallery a:first-child { grid-column: 1 / -1; }
.gallery a { display: block; background: #1a1a1a; border-radius: 4px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .25s; }
.listing-photos .gallery a:first-child img { aspect-ratio: 4 / 3; }
.gallery a:hover img { transform: scale(1.04); }

/* ---------- testimonials ---------- */
.testimonials { display: grid; gap: 24px; max-width: 760px; margin: 36px auto 0; }
.testimonial { margin: 0; padding: 22px 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; }
.testimonial img { float: right; width: 110px; height: 110px; object-fit: cover; border-radius: 50%; margin: 0 0 8px 16px; }
.testimonial p { margin: 0 0 .8em; }
.testimonial footer { color: var(--accent); font-weight: 600; }
.stars { color: #f2c14e; letter-spacing: 2px; margin: 0 0 6px !important; }

/* ---------- footer ---------- */
.site-footer { background: #1a1a1a; border-top: 1px solid var(--line); padding: 36px 0 20px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.site-footer h2 { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 10px; color: #fff; }
.site-footer p { margin: 0 0 6px; color: var(--muted); }
.copy { text-align: center; color: #777; font-size: .8rem; margin: 28px 0 0; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1000; display: grid; place-items: center; }
.lb img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lb button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb .lb-close { top: 16px; right: 16px; }
.lb .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
