/* PMO & C — land listings */

:root {
  --bg: #faf8f4;
  --bg-raised: #ffffff;
  --bg-sunk: #f2eee6;
  --ink: #1b1d1a;
  --ink-soft: #55594f;
  --ink-faint: #85897c;
  --line: #e0dbd0;
  --green: #24452f;
  --green-bright: #2f6b42;
  --green-soft: #e8f0e8;
  --clay: #9a5b32;
  --shadow: 0 1px 2px rgba(27, 29, 26, .05), 0 8px 24px rgba(27, 29, 26, .06);
  --shadow-lg: 0 2px 6px rgba(27, 29, 26, .07), 0 20px 50px rgba(27, 29, 26, .12);
  --radius: 14px;
  --gutter: 20px;
  --maxw: 1200px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14160f;
    --bg-raised: #1c1f18;
    --bg-sunk: #101208;
    --ink: #eef0e8;
    --ink-soft: #b3b8a8;
    --ink-faint: #868b7b;
    --line: #2e3228;
    --green: #8fc79f;
    --green-bright: #a6d9b4;
    --green-soft: #1f2a20;
    --clay: #d79564;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.5), 0 20px 50px rgba(0,0,0,.45);
  }
}
:root[data-theme="dark"] {
  --bg: #14160f; --bg-raised: #1c1f18; --bg-sunk: #101208;
  --ink: #eef0e8; --ink-soft: #b3b8a8; --ink-faint: #868b7b;
  --line: #2e3228; --green: #8fc79f; --green-bright: #a6d9b4;
  --green-soft: #1f2a20; --clay: #d79564;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.5), 0 20px 50px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-bright); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand b { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .01em; }
.brand span { font-size: .74rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .09em; }
.head-links { display: flex; align-items: center; gap: 18px; }
/* :not(.btn) keeps the call button out of the link colour: `.head-links a` outranks `.btn`,
   which painted the phone number grey on dark green in light mode. */
.head-links a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.head-links a:not(.btn):hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { color: #10140e; } }
:root[data-theme="dark"] .btn { color: #10140e; }
@media (max-width: 720px) { .head-links a.nav-hide { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,9,.92) 0%, rgba(10,14,9,.55) 45%, rgba(10,14,9,.25) 100%);
}
/* keep the horizontal gutter from .wrap; only the vertical padding is set here */
.hero-inner { position: relative; z-index: 2; padding: 60px var(--gutter) 46px; color: #fff; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.14rem; max-width: 52ch; margin-top: 18px; }
.hero .btn { margin-top: 12px; background: #fff; color: var(--green); }
.hero .btn + .btn { margin-left: 10px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.hero .eyebrow { color: rgba(255,255,255,.82); }

/* ---------- stats ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--bg-raised); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding-top: 26px; padding-bottom: 26px; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .07em; }
@media (max-width: 640px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } }

/* ---------- sections ---------- */
section { padding: 68px 0; }
.sec-head { margin-bottom: 30px; max-width: 62ch; }
.sec-head p { color: var(--ink-soft); margin-top: 12px; margin-bottom: 0; }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  border: 1px solid var(--line); background: var(--bg-raised); color: var(--ink-soft);
  padding: 7px 15px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all .12s ease;
  /* the state-page links reuse this as an <a>, so it has to look the same
     whether it is a filter button or a link */
  text-decoration: none; display: inline-block; line-height: 1.4;
}
.chip:hover { border-color: var(--green); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip[aria-pressed="true"] { color: #10140e; } }
:root[data-theme="dark"] .chip[aria-pressed="true"] { color: #10140e; }

/* ---------- property grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; }
.card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-sunk); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-price {
  position: absolute; left: 12px; bottom: 12px; background: rgba(12,16,11,.86); color: #fff;
  padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: 1rem; backdrop-filter: blur(6px);
}
.card-count {
  position: absolute; right: 12px; top: 12px; background: rgba(12,16,11,.72); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; backdrop-filter: blur(6px);
}
/* stand-in for a listing with no published photographs */
.noshot {
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in srgb, var(--green) 6%, transparent) 11px 12px),
    linear-gradient(160deg, var(--green-soft), var(--bg-sunk));
  border-bottom: 1px solid var(--line);
}
.noshot-in { padding: 22px; }
.noshot-in b { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--green); }
.noshot-in span { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 5px; }
.noshot-in em { display: block; font-style: normal; font-size: .88rem; color: var(--ink-soft); margin-top: 13px; max-width: 34ch; }
.noshot-wide { aspect-ratio: 16 / 7; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 8px; }
.noshot-wide .noshot-in b { font-size: 3.4rem; }

.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.18rem; margin-bottom: 5px; }
.card-loc { font-size: .9rem; color: var(--ink-faint); margin-bottom: 12px; }
.card-sum { font-size: .94rem; color: var(--ink-soft); margin: 0 0 16px; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 6px;
  background: var(--bg-sunk); color: var(--ink-soft);
}
.tag-fin { background: var(--green-soft); color: var(--green-bright); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag-fin { color: var(--green); } }

/* ---------- how it works ---------- */
.alt { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 10px; }
.step b { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--green); line-height: 1; margin-bottom: 10px; }
.step h3 { margin-bottom: 7px; }
.step p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- property page ---------- */
.crumbs { font-size: .88rem; color: var(--ink-faint); padding: 22px 0 0; }
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.prop-head { padding: 22px 0 28px; }
.prop-head h1 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); max-width: 22ch; }
.prop-loc { color: var(--ink-soft); margin-top: 10px; font-size: 1.04rem; }
.prop-figs { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 20px; align-items: baseline; }
.prop-figs div b { font-family: var(--serif); font-size: 1.9rem; display: block; line-height: 1.1; }
.prop-figs div span { font-size: .78rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .07em; }

/* gallery */
.gal { display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 1fr; margin-bottom: 8px; }
.gal a { display: block; overflow: hidden; border-radius: 10px; background: var(--bg-sunk); position: relative; }
.gal a:first-child { grid-row: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .35s ease; }
.gal a:first-child img { aspect-ratio: 4/3; height: 100%; }
.gal a:hover img { transform: scale(1.05); }
.gal-more {
  position: absolute; inset: 0; background: rgba(12,16,11,.68); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; backdrop-filter: blur(2px);
}
.gal-single { grid-template-columns: 1fr; }
.gal-single a:first-child { grid-row: auto; }
@media (max-width: 760px) {
  .gal { grid-template-columns: 1fr 1fr; }
  .gal a:first-child { grid-column: span 2; grid-row: auto; }
}

.prop-cols { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr); gap: 46px; padding: 40px 0 70px; align-items: start; }
@media (max-width: 900px) { .prop-cols { grid-template-columns: 1fr; gap: 34px; } }
.prop-body p { font-size: 1.06rem; }
.prop-body h2 { margin: 34px 0 14px; font-size: 1.45rem; }

.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.bullets li { padding-left: 27px; position: relative; color: var(--ink-soft); }
.bullets li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--green); transform: rotate(45deg);
}

/* Survey maps: recorded PDFs, one row each */
.prop-body .docs-lede { color: var(--ink-soft); font-size: .96rem; margin: -4px 0 14px; }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.docs a {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: border-color .15s;
}
.docs a:hover, .docs a:focus-visible { border-color: var(--green); }
.doc-ic {
  flex: none; font: 700 .7rem/1 var(--sans); letter-spacing: .07em; color: var(--clay);
  border: 1.5px solid currentColor; border-radius: 5px; padding: 8px 7px;
}
.doc-tx { display: grid; gap: 3px; min-width: 0; }
.doc-tx b { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.doc-tx span { color: var(--ink-faint); font-size: .85rem; line-height: 1.4; }
.doc-tx .doc-sz { white-space: nowrap; font-size: inherit; }

.facts { width: 100%; border-collapse: collapse; margin-top: 6px; }
.facts th, .facts td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .96rem; }
.facts th { color: var(--ink-faint); font-weight: 500; width: 42%; }
.facts td { color: var(--ink); }

.note {
  border-radius: 12px; padding: 18px 20px; margin: 26px 0 0;
  background: var(--bg-sunk); border: 1px solid var(--line);
}
.note h3 { font-size: 1rem; font-family: var(--sans); font-weight: 700; margin-bottom: 8px; }
.note p, .note li { font-size: .93rem; color: var(--ink-soft); margin: 0 0 .6em; }
.note :last-child { margin-bottom: 0; }
.note-warn { background: color-mix(in srgb, var(--clay) 9%, var(--bg-raised)); border-color: color-mix(in srgb, var(--clay) 32%, transparent); }
.note-warn h3 { color: var(--clay); }
.note ul { margin: 0; padding-left: 18px; }

/* sidebar */
.aside { position: sticky; top: 88px; display: grid; gap: 16px; }
.box { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.box-price { font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
.box-per { color: var(--ink-faint); font-size: .9rem; margin-top: 6px; }
.box-note { color: var(--ink-faint); font-size: .82rem; margin-top: 10px; text-align: center; }
/* The call CTA carries two pieces of information, so it is set as two deliberate
   lines. Left to wrap on its own it broke at a hyphen inside the number - "812-241-"
   then "5653" on a line of its own, which left a gaping half-empty second row. */
.box .btn { width: 100%; margin-top: 16px; font-size: 1.02rem; padding: 11px 18px;
            white-space: normal; line-height: 1.25; }
.btn-call { flex-direction: column; gap: 1px; }
.btn-call span:first-child { font-size: .93em; font-weight: 600; }
.btn-num { white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.box-fin { background: var(--green-soft); border-color: transparent; }
.box-fin h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--sans); color: var(--green-bright); margin-bottom: 9px; }
.box-fin p { margin: 0 0 .5em; font-size: .96rem; }
.box-fin p:last-child { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.maplink { display: flex; align-items: center; gap: 9px; font-size: .93rem; color: var(--ink-soft); text-decoration: none; }
.maplink:hover { color: var(--ink); }
.maplink + .maplink { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .aside { position: static; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,10,7,.96); display: none; }
.lb[open], .lb.on { display: grid; grid-template-rows: 1fr auto; }
.lb-stage { display: grid; place-items: center; overflow: hidden; padding: 20px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-bar { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 20px 22px; color: #fff; }
.lb-bar button { background: rgba(255,255,255,.12); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; line-height: 1; }
.lb-bar button:hover { background: rgba(255,255,255,.25); }
.lb-count { font-size: .92rem; color: rgba(255,255,255,.75); min-width: 70px; text-align: center; }
.lb-close { position: absolute; top: 16px; right: 18px; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.lb-close:hover { background: rgba(255,255,255,.25); }

/* ---------- contact ---------- */
.contact-band { background: var(--green); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact-band { background: var(--green-soft); color: var(--ink); } }
:root[data-theme="dark"] .contact-band { background: var(--green-soft); color: var(--ink); }
.contact-band h2 { color: inherit; }
.contact-band p { color: inherit; opacity: .88; max-width: 54ch; }
.contact-band .btn { background: #fff; color: var(--green); font-size: 1.15rem; padding: 15px 28px; }
.phone-big { font-family: var(--serif); font-size: clamp(2rem, 6vw, 3.2rem); color: inherit; text-decoration: none; display: inline-block; margin: 6px 0 14px; letter-spacing: -.01em; }
.phone-big:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: .9rem; color: var(--ink-faint); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-foot a { color: var(--ink-soft); text-decoration: none; display: block; margin-bottom: 7px; }
.site-foot a:hover { color: var(--ink); }
.site-foot h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-faint); margin: 0 0 12px; font-weight: 700; }
.foot-legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.6; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

/* sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg-raised) 94%, transparent);
    backdrop-filter: blur(12px); border-top: 1px solid var(--line); gap: 10px;
  }
  .callbar .btn { flex: 1; white-space: normal; font-size: .9rem; line-height: 1.25; }
  .callbar .btn-num { white-space: nowrap; }
  /* keep the bar from covering the end of the footer */
  body { padding-bottom: 78px; }
}

.center { text-align: center; }
.mt0 { margin-top: 0; }

/* ---------- video tour ---------- */
.video {
  position: relative; margin: 0 0 8px; border-radius: var(--radius); overflow: hidden;
  background: #000; aspect-ratio: 16 / 9;
}
.video img, .video iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(to top, rgba(8,11,7,.62), rgba(8,11,7,.18));
  color: #fff; font: inherit; font-weight: 600; font-size: 1.02rem; letter-spacing: .01em;
  transition: background .18s ease;
}
.video-play:hover { background: linear-gradient(to top, rgba(8,11,7,.72), rgba(8,11,7,.3)); }
.video-play span {
  width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: grid; place-items: center; box-shadow: 0 6px 22px rgba(0,0,0,.35);
  transition: transform .18s ease;
}
.video-play span::before {
  content: ""; width: 0; height: 0; margin-left: 5px;
  border-left: 21px solid var(--green); border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.video-play:hover span { transform: scale(1.07); }
.tag-vid { background: color-mix(in srgb, var(--clay) 14%, transparent); color: var(--clay); }

/* ---------- listing agent ---------- */
.box-agent h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--sans); color: var(--ink-faint); margin-bottom: 10px; }
.ag-name { font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; }
.ag-role { font-size: .88rem; color: var(--ink-soft); margin-top: 2px; }
.ag-agency { font-size: .93rem; color: var(--ink); margin-top: 6px; }
.ag-lic { font-size: .82rem; color: var(--ink-faint); margin-top: 3px; }
.box-agent .maplink { margin-top: 13px; font-weight: 600; color: var(--green-bright); }
.ag-note { font-size: .84rem; color: var(--ink-faint); margin: 12px 0 0; line-height: 1.5; }
