/* ---------- Tokens ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --color-bg: #f4f1ea;
  --color-surface: #fbfaf6;
  --color-surface-offset: #ebe6db;
  --color-divider: #ddd6c8;
  --color-border: #cfc7b6;
  --color-text: #1f2421;
  --color-text-muted: #5f5d55;
  --color-text-faint: #9a968a;
  --color-text-inverse: #f6f3ec;
  --color-dark: #1c211e;
  --color-dark-2: #262c28;

  --color-primary: #a14a28;
  --color-primary-hover: #843b1f;
  --color-primary-highlight: #ecd9cd;

  --radius-sm: .25rem; --radius-md: .375rem; --radius-lg: .5rem;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.06);
  --shadow-md: 0 6px 18px oklch(0.2 0.01 80 / 0.09);

  --wide: 1240px;
  --font-display: 'Erode', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: var(--space-20); }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); }
img, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; }
p, li { text-wrap: pretty; max-width: 68ch; }
a { color: inherit; }
button { cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
a, button, input, select, textarea { transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

.wrap { width: min(100% - 2 * clamp(var(--space-4), 4vw, var(--space-10)), var(--wide)); margin-inline: auto; }
.section { padding-block: clamp(var(--space-12), 8vw, var(--space-24)); }
.eyebrow { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); }
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
.muted { color: var(--color-text-muted); }


/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: oklch(from var(--color-bg) l c h / 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.header.scrolled { border-bottom-color: var(--color-divider); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -.01em; }
.brand-sub { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--color-text-muted); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-text); }
.nav a[aria-current='page'] { box-shadow: inset 0 -2px 0 var(--color-primary); }
.header-cta { display: flex; align-items: center; gap: var(--space-4); }
.phone { text-decoration: none; font-weight: 600; font-size: var(--text-sm); white-space: nowrap; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
@media (max-width: 1140px) {
  .nav { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--color-surface); padding: var(--space-20) var(--space-6) var(--space-8); transform: translateY(-110%); visibility: hidden; transition: transform 280ms cubic-bezier(0.16,1,0.3,1), visibility 0s linear 280ms; box-shadow: var(--shadow-md); z-index: -1; }
  .nav.open { transform: none; visibility: visible; transition: transform 280ms cubic-bezier(0.16,1,0.3,1); }
  .nav a { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-divider); font-size: var(--text-base); color: var(--color-text); }
  .nav a[aria-current='page'] { box-shadow: none; color: var(--color-primary); }
  .menu-btn { display: inline-flex; }
  .header-cta .btn { display: none; }
}
@media (max-width: 420px) { .phone { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: .8rem 1.35rem; border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 600; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-ghost { border-color: var(--color-border); background: transparent; }
.btn-ghost:hover { border-color: var(--color-text); }
.btn-light { background: #fff; color: var(--color-text); }
.btn-light:hover { background: var(--color-surface-offset); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.link-arrow { font-weight: 600; font-size: var(--text-sm); text-decoration: none; color: var(--color-primary); display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow:hover { color: var(--color-primary-hover); }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow span { transition: transform var(--transition); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,18,16,.15) 0%, rgba(15,18,16,.25) 40%, rgba(15,18,16,.82) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: var(--space-24) clamp(var(--space-10), 6vw, var(--space-20)); }
.hero h1 { font-size: var(--text-3xl); max-width: 14ch; margin-block: var(--space-4) var(--space-5); }
.hero p { font-size: var(--text-lg); max-width: 46ch; color: rgba(255,255,255,.88); line-height: 1.5; }
.hero .eyebrow { color: #f2c9b3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero-stats { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stats ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stats li { padding: var(--space-5) var(--space-4) var(--space-6) 0; font-size: var(--text-sm); color: rgba(255,255,255,.78); }
.hero-stats strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); color: #fff; line-height: 1.1; margin-bottom: .2rem; }
@media (max-width: 760px) { .hero-stats ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-8); margin-bottom: var(--space-10); flex-wrap: wrap; }
.sec-head h2 { font-size: var(--text-2xl); margin-top: var(--space-3); max-width: 18ch; }
.sec-head p { color: var(--color-text-muted); max-width: 44ch; }

/* ---------- Plan cards ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--space-6); }
.plan-card { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.plan-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-border); }
.plan-card:hover .plan-media img { transform: scale(1.03); }
.plan-media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--color-surface-offset); }
.plan-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.16,1,0.3,1); }
.badge { position: absolute; top: var(--space-3); left: var(--space-3); background: var(--color-dark); color: #fff; font-size: var(--text-xs); font-weight: 600; padding: .25rem .6rem; border-radius: var(--radius-sm); letter-spacing: .02em; }
.badge.rust { background: var(--color-primary); }
.plan-body { padding: var(--space-5) var(--space-6) var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.plan-type { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--color-text-muted); font-weight: 600; }
.plan-name { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; }
.specs { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); }
.specs b { color: var(--color-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.plan-foot { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--color-divider); display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.price { font-size: var(--text-sm); color: var(--color-text-muted); }
.price b { display: block; font-size: var(--text-lg); color: var(--color-text); font-variant-numeric: tabular-nums; }

/* ---------- Split / why ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.split h2 { font-size: var(--text-2xl); margin-block: var(--space-3) var(--space-5); }
.trade-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-6); margin-top: var(--space-8); }
.trade-list li { display: flex; gap: var(--space-3); align-items: baseline; padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-divider); font-weight: 500; }
.trade-list li span { font-size: var(--text-xs); color: var(--color-text-faint); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Dark band ---------- */
.band { background: var(--color-dark); color: var(--color-text-inverse); }
.band .muted { color: #b3ada0; }
.band .eyebrow { color: #e6a989; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); margin-top: var(--space-12); }
.feature-row h3 { font-size: var(--text-lg); margin-block: var(--space-4) var(--space-2); font-weight: 600; }
.feature-row p { color: #b3ada0; font-size: var(--text-sm); }
.feature-row .num { font-family: var(--font-display); font-size: var(--text-xl); color: #e6a989; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feature-row { grid-template-columns: 1fr; } }

/* ---------- Communities ---------- */
.towns { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--color-border); }
.town { padding: var(--space-8) var(--space-6) var(--space-8) 0; border-right: 1px solid var(--color-divider); }
.town + .town { padding-left: var(--space-6); }
.town:last-child { border-right: none; }
.town h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); }
.town p { font-size: var(--text-sm); color: var(--color-text-muted); margin-block: var(--space-2) var(--space-4); }
@media (max-width: 860px) { .towns { grid-template-columns: 1fr 1fr; } .town:nth-child(2) { border-right: none; } .town:nth-child(3) { padding-left: 0; } .town { border-bottom: 1px solid var(--color-divider); } }
@media (max-width: 520px) { .towns { grid-template-columns: 1fr; } .town, .town + .town { padding-left: 0; border-right: none; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg); }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,20,.88) 0%, rgba(20,22,20,.55) 60%, rgba(20,22,20,.3) 100%); }
.cta-inner { position: relative; z-index: 1; padding: clamp(var(--space-10), 7vw, var(--space-20)); }
.cta h2 { font-size: var(--text-2xl); max-width: 16ch; margin-block: var(--space-3) var(--space-4); }
.cta p { color: rgba(255,255,255,.85); max-width: 44ch; }
.cta .eyebrow { color: #f2c9b3; }

/* ---------- Page header ---------- */
.page-head { padding-block: clamp(var(--space-10), 7vw, var(--space-20)) var(--space-8); }
.page-head h1 { font-size: var(--text-2xl); margin-block: var(--space-3) var(--space-4); }
.page-head p { color: var(--color-text-muted); max-width: 56ch; }
.crumbs { font-size: var(--text-xs); color: var(--color-text-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--color-text); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: end; padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); margin-bottom: var(--space-8); }
.field { display: flex; flex-direction: column; gap: var(--space-1); min-width: 150px; flex: 1; }
.field label { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .08em; }
.field select, .field input, .field textarea { padding: .7rem .8rem; border: 1px solid var(--color-border); background: var(--color-bg); border-radius: var(--radius-md); font-size: var(--text-sm); }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-highlight); }
.result-count { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); }
.empty { padding: var(--space-12); text-align: center; border: 1px dashed var(--color-border); border-radius: var(--radius-lg); color: var(--color-text-muted); }

/* ---------- Plan detail ---------- */
.detail-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-10); align-items: start; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--space-2); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; }
.gallery button { position: relative; overflow: hidden; padding: 0; background: var(--color-surface-offset); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(0.16,1,0.3,1); }
.gallery button:hover img { transform: scale(1.04); }
.gallery .more { position: absolute; right: var(--space-3); bottom: var(--space-3); background: rgba(255,255,255,.95); font-size: var(--text-xs); font-weight: 600; padding: .35rem .7rem; border-radius: var(--radius-sm); color: var(--color-text); }
.summary { position: sticky; top: 96px; background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-6); }
.summary h1 { font-size: var(--text-2xl); margin-block: var(--space-2) var(--space-2); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--color-divider); border: 1px solid var(--color-divider); border-radius: var(--radius-md); overflow: hidden; margin-block: var(--space-5); }
.spec-grid div { background: var(--color-surface); padding: var(--space-3) var(--space-4); }
.spec-grid dt { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .08em; }
.spec-grid dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.summary .btn { width: 100%; }
.summary .stack { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.note { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-4); }
@media (max-width: 960px) { .detail-top { grid-template-columns: 1fr; gap: var(--space-6); } .summary { position: static; order: -1; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; } .gallery button:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3/2; } .gallery button { aspect-ratio: 4/3; } }

.tabs { display: flex; gap: var(--space-2); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-6); }
.tab { padding: var(--space-3) var(--space-4); font-weight: 600; font-size: var(--text-sm); color: var(--color-text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected='true'] { color: var(--color-text); border-bottom-color: var(--color-primary); }
.tab:hover { color: var(--color-text); }
.fp-wrap { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: clamp(var(--space-4), 3vw, var(--space-8)); }
.fp-wrap svg { width: 100%; max-width: 760px; margin-inline: auto; }
.fp-legend { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4) var(--space-8); }
.features li { padding-left: var(--space-6); position: relative; font-size: var(--text-sm); }
.features li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; background: var(--color-primary); }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* ---------- Table (available homes) ---------- */
.table-wrap { overflow-x: auto; background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); }
table { border-collapse: collapse; width: 100%; font-size: var(--text-sm); }
th, td { text-align: left; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-divider); white-space: nowrap; }
th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); font-weight: 600; background: var(--color-bg); }
td.num { font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: none; }
.status { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: var(--text-xs); font-weight: 600; }
.status.avail { background: #dce7d6; color: #2c5221; }
.status.soon { background: #efe3c8; color: #6b4d10; }
.status.pending { background: var(--color-primary-highlight); color: var(--color-primary-hover); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-12); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: clamp(var(--space-5), 3vw, var(--space-8)); }
.form .full { grid-column: 1 / -1; }
.form .field { min-width: 0; }
.form-msg { grid-column: 1/-1; padding: var(--space-4); border-radius: var(--radius-md); font-size: var(--text-sm); display: none; }
.form-msg.ok { background: #dce7d6; color: #2c5221; }
.form-msg.err { background: var(--color-primary-highlight); color: var(--color-primary-hover); }
.form-msg.show { display: block; }
.info-block { padding-block: var(--space-5); border-bottom: 1px solid var(--color-divider); }
.info-block:first-child { padding-top: 0; }
.info-block h3 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--color-text-muted); margin-bottom: var(--space-2); }
.info-block a { text-decoration: none; font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--color-dark); color: #b3ada0; font-size: var(--text-sm); padding-block: var(--space-16) var(--space-8); margin-top: var(--space-16); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-10); }
.footer h4 { color: #fff; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; margin-bottom: var(--space-4); }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer li { margin-bottom: var(--space-2); }
.footer .brand-name { color: #fff; }
.footer-bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid #343a36; display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(12,14,13,.94); z-index: 100; display: none; align-items: center; justify-content: center; padding: var(--space-10) var(--space-4); }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--radius-md); }
.lb-btn { position: absolute; color: #fff; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,.08); }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-close { top: var(--space-4); right: var(--space-4); }
.lb-prev { left: var(--space-4); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--space-4); top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: var(--space-4); left: 0; right: 0; text-align: center; color: #cfcabe; font-size: var(--text-sm); }

[hidden] { display: none !important; }

.photo-count { position: absolute; right: var(--space-3); bottom: var(--space-3); background: rgba(255,255,255,.92); color: var(--color-text); font-size: var(--text-xs); font-weight: 600; padding: .2rem .55rem; border-radius: var(--radius-sm); }
.past-card { text-decoration: none; }

/* ---------- Rebuild additions ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--color-dark); color: #fff; padding: var(--space-2) var(--space-4); z-index: 200; }
.skip:focus { left: var(--space-4); top: var(--space-4); }
.small { font-size: var(--text-sm); }
.section-tight { padding-block: var(--space-8) var(--space-4); }
.band-light { background: var(--color-surface-offset); }
.plan-grid.four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
.value { border-top: 2px solid var(--color-text); padding-top: var(--space-5); }
.value .num { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-primary); }
.value h3 { font-size: var(--text-lg); margin-block: var(--space-2) var(--space-3); font-weight: 600; }
.value p { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 960px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.who { display: grid; gap: var(--space-6); margin-block: var(--space-6); }
.who h3 { font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-1); }
.split.rev > :first-child { order: 0; }
.split.top { align-items: start; }
.band .split img { border-radius: var(--radius-lg); }
.band p { color: #cfc9bc; }
.give-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-12); margin-top: var(--space-10); }
.give-grid h3 { color: #fff; font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-3); }
.give-grid p { font-size: var(--text-sm); margin-bottom: var(--space-3); }
.give-grid a { color: #e6a989; font-weight: 600; font-size: var(--text-sm); text-decoration: none; }
.give-grid a:hover { color: #fff; }
@media (max-width: 760px) { .give-grid { grid-template-columns: 1fr; } }
.block { margin-top: var(--space-16); }
.h2 { font-size: var(--text-xl); margin-block: var(--space-3) var(--space-4); }
.h3 { font-size: var(--text-base); font-weight: 600; margin-block: var(--space-8) var(--space-3); }
.page-head.tight { padding-bottom: var(--space-4); }
.page-head .eyebrow { display: block; margin-top: var(--space-4); }
.page-head p a, .muted a, .note a, .faq-a a { color: var(--color-primary); }
.price.big b { font-size: var(--text-xl); }
.btn-sm { padding: .5rem .85rem; font-size: var(--text-xs); }
.gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; position: relative; }
.gallery .g-item { position: relative; overflow: hidden; padding: 0; background: var(--color-surface-offset); }
.gallery .g-item:first-child { grid-row: span 2; }
.gallery .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(0.16,1,0.3,1); }
.gallery .g-item:hover img { transform: scale(1.04); }
.gallery .more { position: absolute; right: var(--space-3); bottom: var(--space-3); pointer-events: none; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; } .gallery .g-item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3/2; } .gallery .g-item { aspect-ratio: 4/3; } .gallery .g-item:nth-child(n+4) { display: none; } }
.features.one { grid-template-columns: 1fr; }
.near { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.near li { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-1); }
.near span { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 860px) { .near { grid-template-columns: 1fr 1fr; } }
.listing-links { margin-top: var(--space-4); display: grid; gap: var(--space-2); }
.listing-links li { padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-divider); font-size: var(--text-sm); }
.listing-links a { color: var(--color-text); font-weight: 600; text-decoration-color: var(--color-border); }
.listing-links a:hover { color: var(--color-primary); }
.filters.narrow { max-width: 420px; }
.faq-wrap { max-width: 860px; display: grid; gap: var(--space-3); }
.faq { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-5) var(--space-6); display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); line-height: 1; }
.faq[open] summary::after { content: '−'; }
.faq summary h2 { font-size: var(--text-base); font-weight: 600; font-family: var(--font-body); }
.faq-a { padding: 0 var(--space-6) var(--space-6); color: var(--color-text-muted); }
.info-block h2 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--color-text-muted); margin-bottom: var(--space-2); font-family: var(--font-body); }
.big-link { font-size: var(--text-lg); }
.foot-h { color: #fff; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; margin-bottom: var(--space-4); font-family: var(--font-body); }
th[scope=row] { text-transform: none; letter-spacing: 0; font-size: var(--text-sm); color: var(--color-text-muted); width: 34%; background: var(--color-bg); }
td { white-space: normal; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); max-width: 92vw; }
.lightbox .lb-cap { position: static; }
.past-card .plan-foot { flex-wrap: wrap; }
.detail-top > *, .split > *, .contact-grid > * { min-width: 0; }
.hero::after { background: linear-gradient(90deg, rgba(15,18,16,.78) 0%, rgba(15,18,16,.45) 45%, rgba(15,18,16,.1) 75%), linear-gradient(180deg, rgba(15,18,16,0) 55%, rgba(15,18,16,.75) 100%); }
.plan-foot .price b, .plan-foot .link-arrow { white-space: nowrap; }
.plan-foot .price b { font-size: var(--text-base); }
.split p + p { margin-top: var(--space-4); }
.block.split + .band, .split + .band { margin-top: var(--space-16); }

/* ---------- 2026-11 rebuild ---------- */
.hero h1 { font: inherit; max-width: none; margin: 0; }
.hero h1 .eyebrow { display: block; line-height: 1.6; text-shadow: 0 1px 8px rgba(15,18,16,.65); }
.hero-title { display: block; font-size: var(--text-3xl); line-height: 1.12; max-width: 14ch; margin-block: var(--space-4) var(--space-5); text-wrap: balance; }
.form-msg a { color: inherit; font-weight: 600; }
.form-msg .btn { margin-top: var(--space-3); color: #fff; }
.notice-page { padding-bottom: clamp(var(--space-16), 12vw, var(--space-32)); }
.notice-page p a { color: var(--color-primary); font-weight: 600; }
.notice-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.brand { flex-direction: row; align-items: center; gap: .7rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1; flex: none; }
.brand-sub { white-space: nowrap; }
@media (max-width: 420px) { .brand { gap: .55rem; } .brand-mark { height: 34px; } .brand-sub { letter-spacing: .14em; } }
@media (max-width: 350px) { .brand-mark { height: 28px; } .brand-name { font-size: 1.2rem; } .brand-sub { letter-spacing: .06em; font-size: .625rem; } }
.brand-mark { height: 40px; width: auto; flex: none; }
.status { white-space: nowrap; }
@media (max-width: 350px) { .footer-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Single-photo gallery (plan pages with one photo, e.g. The Jameson) */
.gallery.single { display: block; aspect-ratio: auto; }
.gallery.single .g-item { display: block; width: 100%; aspect-ratio: 2/1; }

/* ==========================================================================
   FRONT PAGE HERO — LOCKED: ALL HERO INFO SITS ON THE RIGHT SIDE.
   Owner request (2026-11-24): the headline, text, buttons and stats on the
   home page must stay on the right side of the photo. Keep this block LAST
   in the file so nothing above it can override it. Do not move or remove.
   ========================================================================== */
.hero { justify-items: stretch; }
.hero::after {
  background:
    linear-gradient(270deg, rgba(15,18,16,.82) 0%, rgba(15,18,16,.5) 45%, rgba(15,18,16,.1) 75%),
    linear-gradient(180deg, rgba(15,18,16,0) 55%, rgba(15,18,16,.7) 100%) !important;
}
.hero .hero-content,
.hero .hero-stats .wrap {
  display: flex !important; flex-direction: column !important; align-items: flex-end !important;
  text-align: right !important;
}
.hero .hero-content > *,
.hero .hero-stats ul { margin-left: auto !important; margin-right: 0 !important; }
.hero .hero-title { margin-left: auto !important; margin-right: 0 !important; }
.hero .hero-content p { max-width: 42ch; }
.hero .hero-actions { justify-content: flex-end !important; }
.hero .hero-stats { border-top: 0 !important; }
.hero .hero-stats ul {
  width: min(100%, 36rem); grid-template-columns: repeat(2, 1fr) !important;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero .hero-stats li { padding: var(--space-4) 0 var(--space-5) var(--space-4) !important; text-align: right !important; }
.hero .hero-stats li, .hero h1 .eyebrow, .hero .hero-title, .hero .hero-content p { text-shadow: 0 1px 10px rgba(15,18,16,.6); }
.hero .hero-content { padding-block: var(--space-16) var(--space-8) !important; }
.hero .hero-stats li { padding-block: var(--space-3) var(--space-4) !important; }
/* ---------- end locked hero block ---------- */

/* SOLD BADGE (owner request): sold homes under "Other Monument homes" get a red box on a white background. */
.sold-badge { display: inline-block; padding: .1rem .5rem; border: 2px solid #c62828; border-radius: 4px; background: #fff; color: #c62828; font-weight: 700; font-size: var(--text-xs); letter-spacing: .02em; line-height: 1.4; white-space: nowrap; }
.listing-links .sold-badge { margin-left: .15rem; }
