:root {
  --ink: #1d2a24;
  --muted: #5f6b65;
  --bg: #faf8f4;
  --card: #ffffff;
  --accent: #2f6b4f;      /* Beltline green */
  --accent-2: #e8a33d;    /* warm highlight */
  --line: #e6e1d8;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; }
.muted { color: var(--muted); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(250, 248, 244, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: Fraunces, serif; font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.nav nav { display: flex; gap: 22px; align-items: center; }
.nav nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
@media (max-width: 640px) { .nav nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; border: 2px solid var(--accent); transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); background: #255840; }
.btn-small { padding: 8px 16px; font-size: .9rem; color: #fff !important; }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-ghost-dark { background: transparent; color: var(--accent); }
.btn-ghost-dark:hover { background: rgba(47,107,79,.08); }

/* Hero */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  padding: 120px clamp(16px, 6vw, 80px) 72px; color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; background: center/cover no-repeat; }
.hero-placeholder {
  background:
    radial-gradient(circle at 80% 20%, rgba(232,163,61,.45), transparent 45%),
    linear-gradient(135deg, #2f6b4f 0%, #1d3a2e 60%, #142a21 100%);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.1) 60%); }
.hero-content { position: relative; max-width: 760px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: .1em; }
.sub { font-size: 1.25rem; margin: 0 0 18px; opacity: .92; }
.tag {
  display: inline-block; background: var(--accent-2); color: #1d2a24;
  padding: 5px 12px; border-radius: 6px; font-weight: 600; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px;
}
.beltline-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; margin: 0 0 26px;
}
.beltline-badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #7fd6a4; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Facts */
.facts-bar { padding: 0 clamp(16px, 6vw, 80px); margin-top: -36px; position: relative; z-index: 2; }
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0,0,0,.08); max-width: 1100px; margin: 0 auto;
}
.fact { padding: 22px; text-align: center; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact-v { display: block; font-family: Fraunces, serif; font-size: 1.5rem; font-weight: 700; }
.fact-k { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: 88px clamp(16px, 4vw, 24px) 0; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.highlights { list-style: none; padding: 0; margin: 0; }
.highlights li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; }
.highlights li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.thumb { padding: 0; border: 0; cursor: zoom-in; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #ddd; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.thumb:hover img { transform: scale(1.04); }
.thumb:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 560px) { .thumb:first-child { grid-column: auto; grid-row: auto; } }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .location { grid-template-columns: 1fr; } }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Contact */
.contact {
  text-align: center; margin-top: 88px; padding: 64px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact p { max-width: 560px; margin: 0 auto 24px; color: var(--muted); }
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { text-align: center; padding: 48px 16px; color: var(--muted); font-size: .9rem; }
.fine { font-size: .8rem; opacity: .8; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(10,14,12,.94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 6px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0;
  width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; cursor: pointer; line-height: 1;
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; color: #fff; opacity: .7; font-size: .9rem; }

.hero-price { font-family: Fraunces, serif; font-size: 1.6rem; font-weight: 700; margin: -6px 0 18px; }
.hero-price:empty { display: none; }
.contact-email a { font-weight: 600; color: var(--accent); }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav { padding: 10px 16px; }
  .brand { font-size: 1.1rem; }

  .hero { min-height: 0; height: 74svh; padding: 80px 20px 52px; }
  .hero h1 { font-size: 2.05rem; white-space: nowrap; margin-bottom: 2px; }
  .sub { font-size: 1rem; margin-bottom: 14px; }
  .tag { font-size: .72rem; padding: 4px 10px; margin-bottom: 12px; }
  .beltline-badge { font-size: .85rem; padding: 6px 12px; margin-bottom: 18px; }
  .hero-content { width: 100%; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; text-align: center; padding: 12px 6px; font-size: .88rem; white-space: nowrap; }

  .facts-bar { margin-top: -24px; padding: 0 16px; }
  .facts { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); overflow: hidden; }
  .fact { flex: 1 1 auto; min-width: 0; background: var(--card); border: 0; padding: 12px 6px; }
  .fact-v { font-size: .98rem; white-space: nowrap; }
  .fact-k { font-size: .56rem; letter-spacing: .03em; white-space: nowrap; }

  .section { padding-top: 56px; }
  .contact { margin-top: 56px; padding: 44px 20px; }
}

/* Gallery: show a preview, expand on request */
.gallery.collapsed .thumb:nth-child(n+10) { display: none; }
.show-all { display: block; margin: 20px auto 0; cursor: pointer; font: inherit; font-weight: 600; }
.show-all[hidden] { display: none; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .thumb { border-radius: 8px; }
  .thumb:first-child { grid-column: span 2; grid-row: auto; }
  .gallery.collapsed .thumb:nth-child(n+8) { display: none; }
}

.map-link { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--accent); }

/* Lease terms */
.terms-h { margin-top: 28px; }
.terms { margin: 0; }
.terms div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.terms dt { color: var(--muted); }
.terms dd { margin: 0; font-weight: 600; text-align: right; }

/* Contact form */
.contact-form { max-width: 620px; margin: 8px auto 0; text-align: left; display: grid; gap: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.contact-form .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0 !important; font-weight: 600; }
.form-status.ok { color: var(--accent) !important; }
.form-status.err { color: #b3261e !important; }
.contact .contact-email { margin-top: 22px; font-size: .95rem; }
@media (max-width: 640px) {
  .contact-form .row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
}

/* Cleaner line breaks */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.contact p, .hero p { text-wrap: balance; }

/* Email, shown in several places */
.hero-email { margin: 18px 0 0; font-size: 1.05rem; opacity: .95; }
.hero-email a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.ask-box {
  margin-top: 24px; padding: 18px 20px; border-radius: var(--radius);
  background: #eef4f0; border: 1px solid #d5e5db; color: var(--muted);
  display: grid; gap: 4px;
}
.ask-box a { font-family: Fraunces, serif; font-weight: 700; font-size: 1.35rem; color: var(--accent); text-decoration: none; }
.ask-box a:hover { text-decoration: underline; }
.email-big { display: grid; gap: 4px; justify-items: center; margin: 4px 0 30px; color: var(--muted); }
.email-big a {
  font-family: Fraunces, serif; font-weight: 700; font-size: clamp(1.6rem, 5vw, 2.3rem);
  color: var(--accent); text-decoration: none; word-break: break-all;
}
.email-big a:hover { text-decoration: underline; }
.email-big .or { font-size: .9rem; margin-top: 6px; }
.footer a { color: var(--accent); font-weight: 600; }
@media (max-width: 640px) { .hero-email { font-size: .95rem; margin-top: 14px; } }
