/* =============================================================
   The Ranch — western theme
   Shared by index.html and homes.html. Loaded after each page's
   own styles, so everything here wins.
   ============================================================= */

:root {
  /* Palette: espresso, saddle, rust, parchment */
  --espresso: #2c221b;
  --saddle: #5a4232;
  --rust: #55654a;   /* accent: muted olive green (variable name kept so every accent updates) */
  --parchment: #fcfbf9;
  --tan: #f3f0ea;
  --sand: #cdbb9e;
  --bone: #ffffff;
  --light-text: #e9dfcf;
  --light-muted: #cbbba3;

  /* Remap the original tokens so every existing rule turns western */
  --sage: #4a3729;
  --sage-deep: #33271f;
  --sage-dark: #241c16;
  --sage-soft: var(--tan);
  --cream: var(--parchment);
  --ink: #2a211b;
  --ink-soft: #5d4e41;
  --line: #e4ded4;
  --white: var(--bone);

  --serif: "Lexend Zetta", "Helvetica Neue", Arial, sans-serif;
  --sans: "Cormorant Garamond", "Times New Roman", serif;
  --caps: "Lexend Zetta", "Helvetica Neue", Arial, sans-serif;
}

body { background: var(--parchment); color: var(--ink); font-weight: 300; }

/* Film grain over everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .025; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
/* Headlines: Lexend Zetta, light and widely spaced, in capitals */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1.35; }
h1 { font-weight: 300; }
.eyebrow, p.eyebrow {
  font-family: var(--caps) !important; font-style: normal; font-weight: 400; text-transform: uppercase;
  font-size: 10px !important; line-height: 1.5; letter-spacing: .22em; color: var(--rust) !important;
  margin-bottom: 18px; max-width: none; display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow.light, p.eyebrow.light { color: var(--sand) !important; }
.kicker, .badge, label, .count, .crumb, .l-info .kicker, .builder .kicker, .f-body .kicker {
  font-family: var(--caps); letter-spacing: .22em; font-weight: 500;
}
.kicker { color: var(--rust); }


/* ---------- Buttons ---------- */
.btn {
  border-radius: 0; font-family: var(--caps); text-transform: uppercase; letter-spacing: .2em;
  font-size: 11px; font-weight: 600; padding: 15px 28px;
}
.btn-dark { background: var(--espresso); color: var(--bone); }
.btn-dark:hover { background: var(--rust); }
.btn-white { background: var(--bone); color: var(--espresso); }
.btn-white:hover { background: var(--tan); }
.btn-outline { border-color: var(--espresso); color: var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--bone); }
.btn-outline-light { border-color: rgba(250,246,239,.7); color: var(--bone); }
.btn-outline-light:hover { background: var(--bone); color: var(--espresso); }

/* ---------- Header ---------- */
header.site { background: var(--espresso); color: var(--light-text); border-bottom: 1px solid rgba(255,255,255,.08); }
header.site.scrolled { border-color: rgba(255,255,255,.12); }
.nav ul { font-family: var(--caps); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 500; }
.nav .btn { background: var(--rust); color: var(--bone); padding: 11px 18px; font-size: 10px; }
.nav .btn:hover { background: var(--bone); color: var(--espresso); }
.menu-toggle { color: var(--light-text); font-family: var(--caps); letter-spacing: .2em; font-size: 11px; text-transform: uppercase; }
@media (max-width: 820px) {
  .nav ul { background: var(--espresso); border-color: rgba(255,255,255,.1); }
}
@media (max-width: 720px) {
  .nav ul { background: var(--espresso); border-color: rgba(255,255,255,.1); }
}

/* ---------- Photos: warm, slightly faded film look ---------- */
.img > img, .band img { filter: sepia(.18) saturate(.88) contrast(1.04) brightness(.98); }
.img, .media, .f-media, .thumbs button { background: linear-gradient(150deg, #6d5442 0%, #3a2c22 100%); }
.img .ph, .media .ph, .f-media .ph { color: rgba(250,246,239,.75); font-family: var(--caps); letter-spacing: .2em; }


/* ---------- Light text on dark sections ---------- */
.hero p, .hero p.lead, .contact p, .facts span, .stat .lbl, .contact-info small, label { color: var(--light-muted); }
.hero p, .hero p.lead, .contact p { color: var(--light-text); }
input, textarea, select { border-bottom-color: rgba(233,223,207,.45); }
input:focus, textarea:focus, select:focus { border-color: var(--bone); }
input::placeholder, textarea::placeholder { color: rgba(233,223,207,.45); }

/* ---------- Cards & badges ---------- */
.badge { border-radius: 0; font-size: 9px; padding: 7px 11px; background: var(--bone); color: var(--espresso); }
.badge.pending, .badge.soon { background: var(--espresso); color: var(--bone); }
.badge.available { background: var(--rust); color: var(--bone); }
.card, .lot-card { background: var(--bone); border: 1px solid var(--line); }
.card .ac, .lot-card .ac { color: var(--rust); font-family: var(--serif); font-style: normal; font-size: 15px; letter-spacing: .04em; }
.card h3, .lot-card h3 { font-size: 19px; }
.card .more, .lot-card .more { font-family: var(--caps); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 600; }
.count { border-radius: 0; font-size: 9px; }

/* ============================================================
   HOME PAGE (index.html)
   ============================================================ */
.hero-full { align-items: center; text-align: center; }
.hero-full .wrap { padding-top: 60px; padding-bottom: 60px; display: flex; flex-direction: column; align-items: center; }
.hero-full .img > img { filter: none; }
.hero-full h1 { font-size: clamp(12px, 3.1vw, 30px); max-width: none; line-height: 1.6; letter-spacing: .06em; margin-bottom: 26px; }
.hero-full h1 span { display: block; white-space: nowrap; }
.hero-full .brandmark { width: 64px; height: auto; margin-bottom: 0; }
.hero-full p { margin-left: auto; margin-right: auto; }
.hero-full .actions { justify-content: center; }
.hero-full::after { background: rgba(28,22,16,.5); }

body > .stats { background: var(--espresso); color: var(--bone); border: 0; }
body > .stats .stat + .stat { border-color: rgba(233,223,207,.2); }
body > .stats .stat .lbl, .hero .stat .lbl { color: var(--light-muted); font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: 10px; }
body > .stats .stat .num { color: var(--bone); }

.about { background: var(--parchment); }
.about h2, .faq h2 { font-size: clamp(28px, 3.6vw, 44px); }
.final { background: var(--tan); }

.split.sage { background: var(--espresso); }
.facts { border-color: rgba(233,223,207,.2); }

.amenities { background: var(--parchment); }
.am .img { aspect-ratio: 4 / 5; }
.am h3 { font-size: 15px; }

.harmony { background: var(--tan); }
.numbers { border-color: var(--espresso); }
.numbers div { border-color: rgba(42,33,27,.18); }
.numbers b { color: var(--rust); }

.faq { background: var(--parchment); }
details, details:first-of-type { border-color: var(--line); }
summary { font-family: var(--serif); font-size: 13px; font-weight: 400; letter-spacing: .02em; line-height: 1.5; }
summary::after { color: var(--rust); }

.contact { background: var(--espresso); }
.contact-info a { font-family: var(--serif); }
footer { background: #1f1813; color: var(--light-muted); }
.foot-top { border-color: rgba(233,223,207,.15); }
.foot-grid h4 { font-family: var(--caps); letter-spacing: .2em; }

/* ============================================================
   HOMES PAGE (homes.html)
   ============================================================ */
.homesites { background: var(--parchment); }
.specs, .specs div + div { border-color: var(--line); }
.customs { background: var(--tan); }
.feature { background: var(--bone); border: 1px solid var(--line); }
.f-specs div { border-color: var(--line); }
.process { background: var(--parchment); }
.step .n { color: var(--rust); font-style: normal; font-family: var(--serif); }

/* Listing detail */
.listing { background: var(--parchment); }
.l-bar { background: var(--parchment); border-color: var(--line); }
.icon-btn { border-color: var(--line); background: var(--bone); }
.icon-btn:hover { background: var(--espresso); border-color: var(--espresso); color: var(--bone); }
.l-info .acres { font-family: var(--serif); font-style: normal; color: var(--rust); font-size: 18px; letter-spacing: .04em; }
.l-info ul { border-color: var(--espresso); }
.gallery .stage .cap { border-radius: 0; font-family: var(--caps); letter-spacing: .14em; font-size: 10px; text-transform: uppercase; background: rgba(250,246,239,.92); }
.builder { background: var(--bone); border-color: var(--line); }
.builder a.b-link { font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 600; }
.lot-view .ring { border-color: var(--rust); box-shadow: 0 0 0 9999px rgba(44,34,27,.32); }
.lot-view .tag { background: var(--espresso); border-radius: 0; font-family: var(--caps); }
.lot-view .inset i { background: var(--rust); }

@media (max-width: 720px) {
}


/* Section headings sized for the expanded face */
h2 { font-size: clamp(20px, 2.6vw, 32px) !important; }
.hero h1 { font-size: clamp(24px, 3.6vw, 46px); }
.contact h2, .foot-top h2 { font-size: clamp(22px, 3vw, 36px) !important; }
.l-info h2 { font-size: clamp(22px, 3vw, 34px) !important; }
.f-body h3 { font-size: 21px; }
.step h3 { font-size: 17px; }
.stat .num { font-weight: 400; font-size: clamp(22px, 2.6vw, 32px) !important; }
.numbers b, .facts b { font-weight: 400; font-size: 26px; }
.l-info h2 { margin-bottom: 16px; }
.l-info h2 + .acres { margin-top: -8px; }

/* Phones: the wide headline face cannot fit two lines, so let it wrap */
@media (max-width: 720px) {
  .hero-full h1 { font-size: 15px; letter-spacing: .04em; padding: 0 8px; }
  .hero-full h1 span { display: inline; white-space: normal; }
}

/* Email and phone read better in the body face */
.contact-info a { font-family: var(--sans); font-size: 20px; font-weight: 300; letter-spacing: 0; text-transform: none; }
@media (max-width: 720px) {
  h2 { font-size: 18px !important; overflow-wrap: break-word; }
  .contact h2, .foot-top h2 { font-size: 20px !important; }
  .contact-info a { font-size: 17px; overflow-wrap: anywhere; }
}

/* Wordmark logo (wide, no frame) */
.logo img, .foot-grid .logo img, footer .logo img { height: 28px; width: auto; }
@media (max-width: 720px) { .logo img { height: 22px; } }

/* About: subtitle sits under the heading, no lines */
.about h2 { margin-bottom: 14px; }
.about .eyebrow { margin-bottom: 30px; }

/* ---------- Body text: Cormorant Garamond, sized up for its smaller letters ---------- */
body { font-weight: 400; font-size: 18px; line-height: 1.6; }
.lead, .about p, .hero p, .hero p.lead, .intro p, .split p, .harmony p, .contact p, .section-head p,
.customs .section-head p, .f-body p, .l-info > p, details .answer, .faq .sub { font-size: 19px; line-height: 1.6; }
.am p, .lot-card p, .card p, .step p, .l-lot p, .builder .b-text, .numbers span { font-size: 17px; line-height: 1.55; }
.specs div, .f-specs div, .facts span, .l-info li, .note, .l-note, .form-msg, footer, .copy { font-size: 16px; }
.l-info li b { font-weight: 600; }
input, textarea, select { font-family: var(--sans); font-size: 18px; font-weight: 400; }
.contact-info a { font-size: 23px; font-weight: 500; }
@media (max-width: 720px) {
  body { font-size: 17px; }
  .lead, .about p, .hero p, .intro p, .split p, .harmony p, .contact p, .section-head p, details .answer { font-size: 18px; }
  .contact-info a { font-size: 19px; }
}
body, input, textarea, select { font-variant-numeric: lining-nums; }

/* Harmony: centered text, then a single row of four figures */
.harmony .wrap { display: block; max-width: 1080px; text-align: center; }
.harmony .wrap > .reveal:first-child { max-width: 820px; margin: 0 auto; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers div { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; padding: 36px 16px; border: 0; text-align: center; }
.numbers div + div { border-left: 1px solid var(--line); }
.numbers b { font-size: clamp(20px, 2.2vw, 28px); font-weight: 400; color: var(--espresso); white-space: nowrap; line-height: 1; }
.numbers span { font-family: var(--caps); font-size: 9px !important; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); text-align: center; line-height: 1.7; max-width: 170px; }
@media (max-width: 720px) {
  .numbers { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .numbers div:nth-child(3) { border-left: 0; }
  .numbers div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .numbers div { padding: 28px 10px; }
}

/* Section headers: centered and stacked (heading, label, then intro) */
.section-head { flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 0; margin-bottom: 56px; }
.section-head > div:first-child { display: flex; flex-direction: column; align-items: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head > p { max-width: 620px; margin: 26px auto 0; text-align: center; }

/* FAQ questions in the body serif to match the answers */
summary { font-family: var(--sans); font-size: 22px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.35; }
@media (max-width: 720px) { summary { font-size: 19px; } }

/* =============================================================
   Interactions (paired with site.js)
   ============================================================= */

/* Header: transparent over the home hero, solid + slimmer once scrolling */
header.site { transition: background-color .4s ease, border-color .4s ease; }
.nav { transition: height .35s ease; }
header.site.scrolled .nav { height: 64px; }
body.has-hero header.site { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-color: transparent; }
body.has-hero header.site.solid { background: var(--espresso); border-color: rgba(255,255,255,.08); }
body.has-hero .hero-full { min-height: 100vh; max-height: 1000px; }
body.has-hero .hero-full .wrap { padding-top: 96px; }
@media (max-width: 820px) { header.site.scrolled .nav ul { top: 64px; } }

/* Scroll progress line under the header */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rust); transform: scaleX(0); transform-origin: left center; pointer-events: none; }

/* Current section in the menu */
.nav ul a.current::after { width: 100%; }

/* Hero: slow cinematic drift + scroll cue */
.hero-full .img > img { animation: heroDrift 16s cubic-bezier(.2,.6,.3,1) both; transform-origin: 50% 45%; }
@keyframes heroDrift { from { transform: scale(1.14); } to { transform: scale(1); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(250,246,239,.8); font-family: var(--caps); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: rgba(250,246,239,.25); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: var(--bone); animation: cueDrop 2.2s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes cueDrop { 0% { top: -46px; } 60%, 100% { top: 46px; } }
.scroll-cue:hover { color: var(--bone); }

/* Gentle parallax on feature photos (transform set by site.js) */
.has-parallax img { will-change: transform; transform: scale(1.12); }

/* Hover polish */
.am .img img { transition: transform 1.2s cubic-bezier(.2,.6,.3,1); }
.am:hover .img img { transform: scale(1.05); }
.btn { transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; }
.btn:hover { transform: translateY(-1px); }
.reveal { transition: opacity .9s cubic-bezier(.2,.6,.3,1), transform .9s cubic-bezier(.2,.6,.3,1); }

/* FAQ answers ease open */
details[open] .answer { animation: faqIn .4s ease both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
summary { transition: color .25s ease; }
summary:hover { color: var(--rust); }

/* Back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 46px; height: 46px; border: 1px solid rgba(250,246,239,.2); background: var(--espresso); color: var(--bone); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .35s ease, transform .35s ease, background-color .3s ease; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--rust); }

/* Phone action bar */
.action-bar { display: none; }
@media (max-width: 720px) {
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: grid; grid-template-columns: 1fr 1.6fr; padding-bottom: env(safe-area-inset-bottom); background: var(--espresso); transform: translateY(110%); transition: transform .4s cubic-bezier(.2,.6,.3,1); box-shadow: 0 -8px 24px rgba(0,0,0,.12); }
  .action-bar.show { transform: none; }
  .action-bar a { display: flex; align-items: center; justify-content: center; height: 58px; font-family: var(--caps); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone); }
  .action-bar .ab-tour { background: var(--rust); }
  .to-top { bottom: 74px; right: 16px; width: 42px; height: 42px; }
  footer { padding-bottom: 110px; }
  .scroll-cue { bottom: 18px; }
}

/* Keyboard focus */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .hero-full .img > img, .scroll-cue i::after, details[open] .answer { animation: none; }
  .btn:hover { transform: none; }
}

/* Site plan section with a slot for the plat widget embed */
.siteplan { background: var(--parchment); padding: 110px 0; }
.plat-embed { position: relative; width: 100%; min-height: 560px; background: var(--bone); border: 1px solid var(--line); overflow: hidden; }
.plat-embed > iframe, .plat-embed > div:not(.plat-placeholder) { display: block; width: 100%; min-height: 560px; border: 0; }
.plat-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px; }
.plat-placeholder img { width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: .35; filter: grayscale(.4); }
.plat-placeholder span { position: absolute; font-family: var(--caps); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--espresso); background: var(--bone); border: 1px solid var(--line); padding: 14px 22px; }
@media (max-width: 720px) {
  .siteplan { padding: 80px 0; }
  .plat-embed, .plat-embed > iframe, .plat-embed > div:not(.plat-placeholder) { min-height: 420px; }
  .plat-placeholder span { font-size: 9px; padding: 10px 14px; text-align: center; }
}

/* Menu: one line per item; dropdown menu below 1000px */
.nav ul { gap: 26px; font-size: 10px; }
.nav ul li { white-space: nowrap; }
@media (max-width: 1000px) {
  .nav ul { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 32px 20px; background: var(--espresso); border-bottom: 1px solid rgba(255,255,255,.1); font-size: 11px; }
  header.site.scrolled .nav ul { top: 64px; }
  .nav ul.open { display: flex; }
  .nav ul li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav ul li .btn { margin-top: 14px; width: 100%; }
  .menu-toggle { display: block; }
  body.has-hero header.site:has(.nav ul.open) { background: var(--espresso); }
}
@media (max-width: 720px) { .nav ul { padding: 8px 16px 18px; } }

/* Live plat widget: let it size itself, keep a calm frame */
.plat-embed.has-widget { min-height: 0; overflow: visible; padding: 0; background: transparent; border: 0; }
.plat-embed.has-widget > div, .plat-embed.has-widget > iframe { min-height: 0; }

/* Harmony: heading, label, then paragraph */
.harmony h2 { margin-bottom: 14px; }
.harmony .eyebrow { margin-bottom: 28px; }

/* Home page homesite cards: just the lot and the link */
.lot-card .row { align-items: center; margin-bottom: 0; gap: 16px; }
.lot-card .body { padding: 22px 24px; }

/* Spacing after headings that no longer have a label under them */
.harmony h2 { margin-bottom: 28px; }
.faq h2 { margin-bottom: 44px; }
.split.sage h2 { margin-bottom: 24px; }

/* Amenities: text-only tiles */
.am-grid { gap: 0 48px; }
.am { border-top: 1px solid var(--line); padding: 30px 0 34px; }
.am h3 { margin-bottom: 12px; }
@media (max-width: 720px) { .am { padding: 24px 0 26px; } }

/* Full-width photo band between sections */
.photo-band { width: 100%; height: 72vh; min-height: 420px; max-height: 720px; }
.photo-band > img { filter: none; }
@media (max-width: 720px) { .photo-band { height: 52vh; min-height: 300px; } }

/* Slim footer: logo and copyright only */
footer.footer-slim { padding: 36px 0; }
footer.footer-slim .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer.footer-slim .copy { margin: 0; font-size: 15px; color: var(--light-muted); }
@media (max-width: 720px) { footer.footer-slim { padding: 30px 0 100px; } footer.footer-slim .wrap { justify-content: center; text-align: center; } }

/* Contact: heading, label, then contact details */
.contact h2 { margin-bottom: 14px; }
.contact .eyebrow { margin-bottom: 0; }

/* Lifestyle section on deep olive */
.split.olive { background: #3c4636; color: var(--bone); }
.split.olive h2 { color: var(--bone); }
.split.olive p { color: #e6e4d8; }
.split.olive .eyebrow { color: #c9cfb6 !important; }

/* Homes page hero: full-bleed photo, title set high in the sky */
.hero-top { position: relative; padding: 0; min-height: 100vh; max-height: 1000px; display: flex; align-items: flex-start; justify-content: center; text-align: center; color: var(--bone); background: #8fa3b3; overflow: hidden; }
.hero-top .img { position: absolute; inset: 0; background: #8fa3b3; }
.hero-top .img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; filter: none; }
.hero-top::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(24,30,36,.32) 0%, rgba(24,30,36,.12) 38%, rgba(24,30,36,0) 60%); }
body .hero-top .wrap, body.has-hero .hero-top .wrap { position: relative; z-index: 1; width: 100%; padding-top: clamp(130px, 17vh, 190px); padding-bottom: 60px; display: flex; flex-direction: column; align-items: center; }
.hero-top .brandmark { width: 56px; height: auto; margin-bottom: 26px; }
.hero-full.hero-top h1 { font-size: clamp(20px, 3vw, 38px); letter-spacing: .14em; line-height: 1.3; margin-bottom: 18px; font-weight: 300; }
.hero-top .hero-sub { font-family: var(--caps); font-size: 11px !important; letter-spacing: .3em; text-transform: uppercase; color: var(--espresso) !important; margin: 0; }
@media (max-width: 720px) {
  .hero-top { min-height: 86vh; }
  .hero-top .img > img { object-position: 47% 75%; }
  .hero-full.hero-top h1 { font-size: 18px; letter-spacing: .1em; }
  .hero-top .hero-sub { font-size: 9px !important; letter-spacing: .24em; }
  body .hero-top .wrap, body.has-hero .hero-top .wrap { padding-top: 120px; }
}

/* Photo bands work on any page */
.photo-band { position: relative; overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Header spans the full window: logo pinned left, menu pinned right */
header.site .wrap.nav { max-width: none; padding-left: clamp(24px, 4vw, 72px); padding-right: clamp(24px, 4vw, 72px); }
@media (max-width: 720px) { header.site .wrap.nav { padding-left: 16px; padding-right: 16px; } }

/* Final Homesites: minimal — just the rendering and the lot name */
.final .lot-grid { gap: 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 420px)); }
.final .lot-card { background: none; border: 0; box-shadow: none; }
.final .lot-card:hover { transform: none; box-shadow: none; }
.final .lot-card .img img { transition: transform 1.4s cubic-bezier(.2,.6,.3,1); }
.final .lot-card:hover .img img { transform: scale(1.04); }
.final .lot-card .body { padding: 18px 0 0; text-align: center; }
.final .lot-card h3 { font-size: 13px; letter-spacing: .26em; font-weight: 400; }
.final .section-head { margin-bottom: 48px; }
.final .cta-row { margin-top: 52px; }
.text-link { font-family: var(--caps); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--espresso); padding-bottom: 6px; border-bottom: 1px solid var(--espresso); transition: color .3s, border-color .3s; }
.text-link span { display: inline-block; transition: transform .3s; }
.text-link:hover { color: var(--rust); border-color: var(--rust); }
.text-link:hover span { transform: translateX(4px); }

/* Spam trap field for the inquiry form (hidden from people) */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Homes page cards: lot name and "View Homesite" only */
.grid .card .row { align-items: center; margin-bottom: 0; gap: 16px; }
.grid .card .body { padding: 22px 24px; }
.grid .card .more { margin-top: 0; }

/* Homes page cards: picture only; details fade in on hover */
.grid .card.hover-card { background: none; border: 0; padding: 0; overflow: hidden; }
.grid .card.hover-card:hover, .grid .card.hover-card:focus-visible { transform: none; box-shadow: none; }
.hover-card .media { aspect-ratio: 5 / 3; }
.hover-card .media img { transition: transform 1.4s cubic-bezier(.2,.6,.3,1); }
.hover-card:hover .media img, .hover-card:focus-visible .media img { transform: scale(1.05); }
.hover-card .ov { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; padding: clamp(16px, 2vw, 26px); background: rgba(30,28,22,.6); opacity: 0; transition: opacity .45s ease; text-align: left; }
.hover-card:hover .ov, .hover-card:focus-visible .ov { opacity: 1; }
.hover-card .ov .badge { position: static; align-self: flex-start; background: rgba(60,70,54,.92); color: var(--bone); }
.hover-card .ov-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; transform: translateY(8px); transition: transform .45s ease; }
.hover-card:hover .ov-row, .hover-card:focus-visible .ov-row { transform: none; }
.hover-card .ov h3 { color: var(--bone); font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .12em; font-weight: 300; margin: 0; line-height: 1; }
.hover-card .ov .more { color: var(--bone); border-bottom: 1px solid var(--bone); padding-bottom: 4px; font-size: 10px; letter-spacing: .2em; white-space: nowrap; margin: 0; }
.hover-card .ph { color: rgba(250,246,239,.75); }
/* Touch screens can't hover: keep the lot and link visible over a soft shade */
@media (hover: none) {
  .hover-card .ov { opacity: 1; background: linear-gradient(180deg, rgba(30,28,22,.35) 0%, rgba(30,28,22,0) 30%, rgba(30,28,22,0) 55%, rgba(30,28,22,.72) 100%); }
  .hover-card .ov-row { transform: none; }
}
.hover-card .ov-row { flex-wrap: wrap; row-gap: 12px; }
.hover-card .ov h3 { white-space: nowrap; font-size: clamp(16px, 1.7vw, 26px); letter-spacing: .1em; }
.hover-card .ov .more { font-size: 9px; letter-spacing: .18em; }
/* Side by side on wide cards, stacked on narrower ones */
.hover-card { container-type: inline-size; }
@container (max-width: 460px) {
  .hover-card .ov-row { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; }
}

/* =============================================================
   Listing view — minimal editorial layout
   ============================================================= */
.listing .l-body { padding: 36px 0 110px; }
.lx { max-width: 1040px; margin: 0 auto; }

/* Gallery: one large image, quiet controls */
.lx-gallery { margin: 0; }
.lx-gallery .stage { aspect-ratio: 5 / 3; }
.lx-gallery .icon-btn.arrow { width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.82); color: var(--espresso); opacity: 0; transition: opacity .3s ease, background-color .3s ease; }
.lx-gallery .stage:hover .icon-btn.arrow, .lx-gallery .icon-btn.arrow:focus-visible { opacity: 1; }
.lx-gallery .icon-btn.arrow:hover { background: var(--bone); color: var(--espresso); }
@media (hover: none) { .lx-gallery .icon-btn.arrow { opacity: 1; } }
.lx-cap { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-family: var(--caps); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.lx .thumbs { display: flex; gap: 10px; margin-top: 18px; overflow-x: auto; grid-template-columns: none; }
.lx .thumbs button { flex: 0 0 88px; aspect-ratio: 5 / 3; opacity: .45; box-shadow: none; transition: opacity .3s ease; }
.lx .thumbs button.on { opacity: 1; box-shadow: none; outline: 1px solid var(--espresso); outline-offset: 3px; }
.lx .thumbs button:hover { opacity: .85; }

/* Title block */
.lx-head { text-align: center; padding: 72px 16px 56px; }
.lx-head .kicker { color: var(--rust); font-size: 9px; letter-spacing: .3em; margin-bottom: 18px; }
.lx-head h2 { font-size: clamp(26px, 3.4vw, 40px) !important; letter-spacing: .14em; margin: 0 0 16px; }
.lx-acres { font-family: var(--caps); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }

/* Details + builder: two quiet columns */
.lx-details { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lx-details > * { padding: 44px 48px; margin: 0; }
.lx-details > * + * { border-left: 1px solid var(--line); }
.lx-details > :only-child { grid-column: 1 / -1; text-align: center; }
.lx-specs { display: grid; gap: 0; align-content: start; }
.lx-specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lx-specs div:first-child { padding-top: 0; }
.lx-specs div:last-child { border-bottom: 0; padding-bottom: 0; }
.lx-specs dt { font-family: var(--caps); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.lx-specs dd { margin: 0; font-family: var(--sans); font-size: 20px; color: var(--ink); text-align: right; }
.lx-builder { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.lx-builder .kicker { font-size: 9px; letter-spacing: .3em; color: var(--ink-soft); }
.lx-builder img { width: 200px; height: auto; display: block; }
.lx-tagline, .lx-blurb { margin: 0; font-size: 18px; color: var(--ink-soft); }

/* Actions */
.lx-actions { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; padding: 52px 0 0; }

/* Lot map */
.lx-map { text-align: center; padding: 110px 0 0; }
.lx-map h3 { font-size: clamp(18px, 2.2vw, 26px); letter-spacing: .14em; margin: 0 0 14px; }
.lx-map .eyebrow { margin-bottom: 24px; }
.lx-map-text { max-width: 560px; margin: 0 auto 44px; font-size: 18px; color: var(--ink-soft); }
.lx-map .lot-view { border: 0; }
.lx-note { text-align: center; margin: 64px 0 0; font-style: italic; color: var(--ink-soft); font-size: 17px; }

@media (max-width: 720px) {
  .listing .l-body { padding: 16px 0 80px; }
  .lx-head { padding: 48px 8px 40px; }
  .lx-details { grid-template-columns: 1fr; }
  .lx-details > * { padding: 32px 4px; }
  .lx-details > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .lx-actions { flex-direction: column; gap: 26px; }
  .lx-map { padding-top: 72px; }
}
.lx-details > .lx-builder:only-child { align-items: center; }

/* =============================================================
   Phones: show photos at their natural shape instead of cropping
   a wide photo into a tall, narrow frame
   ============================================================= */
@media (max-width: 720px) {
  .photo-band { height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: 3 / 2; }
  .split-media, .split.sage .split-media, .split.olive .split-media { aspect-ratio: 4 / 3 !important; }
  body.has-hero .hero-full { min-height: 72svh; max-height: 640px; }
  .hero-top { min-height: 72svh !important; }
  .has-parallax img { transform: none !important; }
}
