/* Signature South Homes — shared styles (luxury real estate theme) */
:root {
  /* ---- BRAND COLORS ----
     Main accent is forest green. To try a red instead, swap the three
     --accent lines for:   #7a2e2e  /  #5e2121  /  #3a1717   (burgundy)  */
  --accent: #2f5a44;       /* forest green: buttons, labels, links */
  --accent-dark: #22432f;  /* hover state */
  --deep: #1f3d2e;         /* dark sections & footer */
  --champagne: #d8c49b;    /* soft highlight on dark backgrounds */
  --gold: #b08d4f;         /* current-page highlight in the menu */

  --ink: #1c1f1d;
  --muted: #6b6a62;
  --ivory: #f8f5ef;
  --stone: #ece7dd;
  --line: #e2ddd1;
  --white: #ffffff;
  --max: 1240px;
  --display: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); font-weight: 400; }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 400; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }
em.accent { font-style: italic; color: var(--accent); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section.alt { background: var(--ivory); }
.section.dark { background: var(--deep); color: var(--ivory); }
.section.dark p { color: #c6cfc8; }
.section.dark .eyebrow { color: var(--champagne); }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section.dark .section-head p { color: #c9c5ba; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  text-transform: uppercase; letter-spacing: .32em; font-size: .7rem;
  color: var(--accent); font-weight: 600; margin-bottom: 1.4em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-block; padding: 17px 34px; border-radius: 0;
  background: var(--accent); color: var(--white); text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .24em;
  border: 1px solid var(--accent); cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.gold { background: var(--accent); border-color: var(--accent); }
.btn.gold:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn.light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.btn.light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.text-link { font-size: .72rem; text-transform: uppercase; letter-spacing: .24em; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: background .4s, border-color .4s; }
.site-header.over-hero { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--white); }
.site-header.over-hero.scrolled { background: var(--white); color: var(--ink); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; transition: height .3s ease; }
/* Smaller bar once you scroll down (js/main.js adds .shrunk) */
.site-header.shrunk .nav { height: 64px; }
.site-header.shrunk .logo-sub { font-size: .52rem; }
.site-header.shrunk .nav-links .btn { padding: 10px 18px; }
.logo-main, .logo-mark, .logo-sub, .nav-links .btn { transition: width .3s ease, height .3s ease, padding .3s ease, font-size .3s ease; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.logo-main { font-family: var(--display); font-size: 1.7rem; letter-spacing: .04em; }
.logo-sub { font-size: .6rem; letter-spacing: .62em; text-transform: uppercase; margin-top: 6px; color: var(--accent); font-weight: 600; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { white-space: nowrap; text-decoration: none; font-size: .68rem; text-transform: uppercase; letter-spacing: .22em; font-weight: 500; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--gold); }
.over-hero:not(.scrolled) .nav-links a.active, .over-hero:not(.scrolled) .nav-links a:not(.btn):hover { color: var(--champagne); }
.nav-links a.active { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.nav-links .btn { padding: 13px 22px; }
.nav-links .nav-login { color: var(--accent); font-weight: 600; }
.over-hero:not(.scrolled) .nav-links .nav-login { color: inherit; }
.over-hero:not(.scrolled) .nav-links .btn { background: transparent; border-color: rgba(255,255,255,.7); }
.over-hero:not(.scrolled) .nav-links .btn:hover { background: var(--white); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: inherit; }

/* Header runs wider than the page so the menu fits beside the logo */
.site-header .container.nav { max-width: 1440px; }

@media (max-width: 1340px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--white); color: var(--ink); padding: 28px; gap: 22px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .over-hero:not(.scrolled) .nav-links .btn { background: var(--ink); border-color: var(--ink); }
}

/* Full-bleed hero */
.hero-full {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  color: var(--white); background: var(--ink) center/cover no-repeat;
}
.hero-full::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,30,23,.85) 0%, rgba(16,30,23,.6) 50%, rgba(16,30,23,.15) 85%), linear-gradient(180deg, rgba(16,30,23,.5) 0%, transparent 25%, transparent 70%, rgba(16,30,23,.5) 100%); }
.hero-full .container { position: relative; width: 100%; padding-bottom: 110px; padding-top: 160px; }
.hero-full h1 { max-width: 11em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-full p.lead { font-size: 1.12rem; max-width: 36em; color: rgba(255,255,255,.88); font-weight: 300; }
.hero-full .eyebrow, .hero-full em.accent { color: var(--champagne); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }
.scroll-cue { position: absolute; bottom: 36px; right: 24px; font-size: .62rem; letter-spacing: .4em; text-transform: uppercase; writing-mode: vertical-rl; opacity: .75; }

/* Page banner (inner pages) */
.page-banner { position: relative; padding: 210px 0 110px; text-align: center; color: var(--white); background: var(--ink) center/cover no-repeat; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(16,30,23,.58); }
.page-banner .container { position: relative; }
.page-banner p { color: rgba(255,255,255,.86); max-width: 680px; margin: 0 auto; font-weight: 300; }
.page-banner .eyebrow { color: var(--champagne); }
.page-banner .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }

/* Intro statement */
.statement { max-width: 900px; margin: 0 auto; text-align: center; }
.statement p.big { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.4; color: var(--ink); font-weight: 400; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 70px; }
.stat { padding: 34px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 400; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.stat span { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Grids */
.grid { display: grid; gap: 34px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

/* Services — editorial numbered list */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.service { padding: 44px 30px 44px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.service + .service { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.14); }
.service:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.service .num { font-family: var(--display); font-style: italic; color: var(--champagne); font-size: 1.3rem; display: block; margin-bottom: 18px; }
.service h3 { font-size: 1.5rem; color: var(--white); }
.service p { font-size: .9rem; margin: 0; }
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service, .service + .service { padding: 36px 24px; border-left: 0; }
  .service:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service:nth-child(even) { border-left: 0; } .service, .service + .service { padding: 32px 0; } }

/* Listing cards */
.card { background: var(--white); display: flex; flex-direction: column; text-decoration: none; }
.card-media { aspect-ratio: 4/3; background: var(--stone); position: relative; overflow: hidden; }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img, .card:hover .card-media svg { transform: scale(1.05); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,30,23,.6)); }
/* Floor plan drawings: show the whole drawing on white, above the price */
.card-media.is-plan { background: var(--white); border-bottom: 1px solid var(--line); }
.card-media.is-plan img { object-fit: contain; padding: 44px 8px 44px; }
.card-media.is-plan::after { display: none; }
.card-media.is-plan .badge { border: 1px solid var(--line); }
.card-media.is-plan .card-price { color: var(--deep); font-size: 1.3rem; bottom: 14px; }
.card-price { position: absolute; left: 22px; bottom: 18px; z-index: 1; color: var(--white); font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.card-price small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 6px; opacity: .85; }
.badge { position: absolute; top: 18px; left: 18px; z-index: 1; background: rgba(255,255,255,.94); padding: 7px 14px; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.badge.status-pending { background: #b0915a; color: var(--white); }
.badge.status-sold { background: var(--ink); color: var(--white); }
.badge.badge-special { background: var(--gold); color: var(--white); }
.modular-mark { display: flex; justify-content: center; gap: 12px; margin: -6px 0 20px; }
.modular-mark__dot { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--deep); color: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.18); cursor: help; outline: none; transition: transform .15s; }
.modular-mark__dot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modular-mark__dot:hover, .modular-mark__dot:focus-visible { transform: scale(1.08); }
.modular-mark__tip { position: absolute; z-index: 3; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); white-space: nowrap; background: var(--deep); color: var(--white); padding: 6px 11px; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.modular-mark__tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--deep); }
.modular-mark__dot:hover .modular-mark__tip, .modular-mark__dot:focus .modular-mark__tip { opacity: 1; transform: translate(-50%, 0); }
.specials .card-media { aspect-ratio: 16/10; }
.specials .card-body { color: var(--ink); padding: 26px 26px 28px; }
.specials .card-body p { color: var(--muted); }
.card-body { padding: 26px 0 0; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .2em; font-size: 1.75rem; }
/* Name with the modular and roof pitch icons beside it (they used to sit under the specs) */
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title h3 { margin-bottom: .2em; }
.card-title .modular-mark { margin: 0 0 .2em; gap: 8px; flex-shrink: 0; }
.card-title .modular-mark__dot { width: 34px; height: 34px; }
.card-title .modular-mark__dot svg { width: 18px; height: 18px; }
.card-sub { color: var(--accent); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.specs { display: flex; gap: 0; font-size: .82rem; margin: 0 0 20px; padding: 14px 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.specs li { flex: 1; text-align: center; border-right: 1px solid var(--line); }
.specs li:last-child { border-right: 0; }
.specs strong { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--ink); font-weight: 500; line-height: 1.2; }
.card-desc { font-size: .9rem; color: var(--muted); }
.card .card-actions { margin-top: auto; }
.card .btn { width: 100%; text-align: center; }
/* Learn More takes two thirds, Build (to the home's Build & Price page) one third */
.card .card-actions.has-build { display: flex; gap: 8px; width: 100%; }
.card .card-actions.has-build .btn { padding-left: 0; padding-right: 0; }
.card .card-actions.has-build .btn.outline { flex: 2; }
.card .card-actions.has-build .btn.gold { flex: 1; }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 42px 36px 42px 0; border-bottom: 1px solid var(--line); }
.step:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-size: 2.6rem; color: var(--accent); display: block; line-height: 1; margin-bottom: 18px; font-weight: 400; }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step, .step:not(:nth-child(3n+1)) { padding: 34px 24px; border-left: 0; }
  .step:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step:nth-child(even) { border-left: 0; } .step, .step:not(:nth-child(3n+1)) { padding: 30px 0; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img { position: relative; }
.split-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split-img::after { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--accent); z-index: -1; }
.split-img { z-index: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 56px; } .split.reverse > :first-child { order: 0; } .split-img::after { inset: 16px -12px -12px 16px; } }

/* Floor Plans search: one box for a plan or collection, then small filter buttons that open Min / Max pickers */
.psearch { margin-bottom: 34px; }
.psearch__box { position: relative; display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0 22px; box-shadow: 0 2px 10px rgba(28,31,29,.05); transition: border-color .15s, box-shadow .15s; }
.psearch__box:focus-within { border-color: var(--accent); box-shadow: 0 4px 18px rgba(47,90,68,.12); }
.psearch__box > svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.psearch__box input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 17px 0; font-family: var(--display); font-size: 1.3rem; color: var(--ink); outline: none; }
.psearch__box input::placeholder { color: var(--muted); }
.psearch__clear { border: 0; background: var(--stone); color: var(--ink); width: 28px; height: 28px; border-radius: 50%; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.psearch__list { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(28,31,29,.14); padding: 8px; max-height: 360px; overflow: auto; }
.psearch__h { font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); padding: 10px 12px 4px; }
.psearch__opt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: .95rem; }
.psearch__opt small { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.psearch__opt:hover, .psearch__opt.is-on { background: var(--ivory); }
.psearch__none { padding: 12px; color: var(--muted); font-size: .9rem; }
.pfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.pill { position: relative; }
.pill > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .82rem; color: var(--ink); user-select: none; transition: border-color .15s, background .15s; }
.pill > summary::-webkit-details-marker { display: none; }
.pill > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 4px; opacity: .6; }
.pill[open] > summary, .pill > summary:hover { border-color: var(--accent); }
.pill.is-set > summary { background: var(--accent); border-color: var(--accent); color: var(--white); }
.pill > summary b { font-weight: 600; }
.pill__pop { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; display: flex; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(28,31,29,.14); padding: 16px; }
.pill__pop--wide { flex-wrap: wrap; width: min(560px, 86vw); }
.pill__pop--wide label { flex: 1 1 200px; }
.pill__pop label { display: flex; flex-direction: column; gap: 6px; min-width: 120px; font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.pill__pop select, .pill__pop input { border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font: inherit; font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--white); width: 100%; }
.pill__pop select:focus, .pill__pop input:focus { outline: none; border-color: var(--accent); }
.pill--more { margin-left: auto; }
.pfilters__reset { border: 0; background: none; color: var(--accent); font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }
@media (max-width: 640px) {
  .psearch__box input { font-size: 1.1rem; padding: 14px 0; }
  .pill--more { margin-left: 0; }
  .pill__pop { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; flex-wrap: wrap; }
  .pill__pop label { flex: 1 1 120px; }
}

/* Floor Plans: the search sits in the hero, and the homes use the full width of the screen */
.page-banner--search { padding: 190px 0 70px; }
.page-banner--search .psearch { max-width: 880px; margin: 36px auto 0; text-align: left; position: relative; z-index: 5; }
.page-banner--search .psearch__box { border-color: transparent; box-shadow: 0 10px 34px rgba(0,0,0,.28); }
.page-banner--search .pfilters { justify-content: center; }
.page-banner--search .pill > summary { border-color: transparent; }
.page-banner--search .pill--more { margin-left: 0; }
.page-banner--search .pfilters__reset { color: var(--champagne); }
.page-banner--search .psearch__list, .page-banner--search .pill__pop { color: var(--ink); }
.page-banner--search { overflow-x: clip; }
.pill--more .pill__pop { left: auto; right: 0; }
.card-title .modular-mark__tip { left: auto; right: -4px; transform: translate(0, 4px); }
.card-title .modular-mark__dot:hover .modular-mark__tip, .card-title .modular-mark__dot:focus .modular-mark__tip { transform: translate(0, 0); }
.card-title .modular-mark__tip::after { left: auto; right: 16px; margin-left: 0; }
.page-banner--search .hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transform: scale(1.04); transition: opacity 1.6s ease, transform 7s ease-out; }
.hero-slide.is-on { opacity: 1; transform: scale(1); }
.page-banner--search::before { z-index: 1; }
.page-banner--search > .container { z-index: 2; }
.plans-wide .container { max-width: none; padding: 0 clamp(16px, 3vw, 48px); }
.plans-wide #plans-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 0; background: var(--white); border: 1px solid var(--line); margin-bottom: 40px; }
.filters label { flex: 1; min-width: 160px; display: flex; flex-direction: column; font-size: .6rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); gap: 4px; padding: 16px 22px; border-right: 1px solid var(--line); }
.filters label:last-child { border-right: 0; }
.filter-price { flex: 1.3; min-width: 200px; display: flex; flex-direction: column; gap: 4px; padding: 16px 22px; border-right: 1px solid var(--line); }
.filter-price > span { font-size: .6rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.filter-price > div { display: flex; align-items: baseline; gap: 8px; }
.filter-price em { font-style: normal; font-size: .8rem; color: var(--muted); }
.filters .filter-price input { width: 100%; min-width: 0; }
.filters select { border: 0; padding: 4px 0; font: inherit; font-family: var(--display); font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: transparent; cursor: pointer; }
.filters select:focus { outline: none; }
.filters input { border: 0; padding: 4px 0; font: inherit; font-family: var(--display); font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: transparent; width: 100%; }
.filters input:focus { outline: none; }
.filters input::placeholder { color: var(--muted); }
.adv-search { margin: -28px 0 40px; }
.adv-search summary { cursor: pointer; display: inline-block; font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); padding: 6px 0; list-style: none; }
.adv-search summary::-webkit-details-marker { display: none; }
.adv-search summary::after { content: " +"; }
.adv-search[open] summary::after { content: " –"; }
.adv-search .filters { margin: 10px 0 0; }
.card-tier { display: block; font-family: var(--sans); font-size: 1.35rem; font-weight: 600; letter-spacing: .12em; color: rgba(255,255,255,.4); }
.card-tier b { color: var(--champagne, #d8c49b); font-weight: 700; }
.card-media.is-plan .card-tier { color: rgba(31,61,46,.25); }
.card-media.is-plan .card-tier b { color: var(--gold); }
.spec-table .card-tier { display: inline; margin: 0; font-size: 1rem; color: rgba(31,61,46,.25); }
.spec-table .card-tier b { color: var(--gold); }
.result-count { color: var(--muted); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 26px; }
.empty { text-align: center; padding: 60px; color: var(--muted); grid-column: 1 / -1; font-family: var(--display); font-size: 1.3rem; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(16,30,23,.78); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100; }
.modal.open { display: flex; }
.modal-box { background: var(--white); max-width: 960px; width: 100%; max-height: 92vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--white); border: 0; font-size: 1.6rem; cursor: pointer; line-height: 1; width: 44px; height: 44px; z-index: 2; }
.modal-media { aspect-ratio: 16/8; background: var(--stone); }
/* Home pop-up: a slideshow of the home's other photos under the hero, floor plan first */
.pslides { position: relative; background: var(--deep); padding: 10px; }
.pslides__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pslides__track::-webkit-scrollbar { display: none; }
.modal-media[data-hero-box] { position: relative; }
/* Home pop-up heading: collection and name, with beds, baths, sq ft and price beside it */
.pm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.pm-title h2 { margin: 6px 0 0; }
.pm-stats { display: flex; margin: 0; }
.pm-stats > div { padding: 0 18px; border-left: 1px solid var(--line); text-align: center; }
.pm-stats > div:first-child { border-left: 0; padding-left: 0; }
.pm-stats > div:last-child { padding-right: 0; }
.pm-stats dt { font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pm-stats dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--ink); }
.pm-stats__price dd { color: var(--accent); }
.pm-stats .pm-call { font-size: 1.1rem; }
.pm-note { font-size: .8rem; color: var(--muted); margin: 0 0 14px; }
.pm-stats .pm-foot { font-size: 1.25rem; white-space: nowrap; }
.pm-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 26px; margin-top: 10px; }
.pm-specs h4 { font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 12px 0 4px; }
.pm-specs ul { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.pm-specs li { padding: 2px 0; }
.pm-specs li::before { content: "\2713"; color: var(--accent); margin-right: 8px; }
.pm-h3row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 28px; }
.pm-h3row h3 { margin: 0 0 .4em; }
.pm-h3row span { font-size: .78rem; color: var(--muted); }
.pm-h3row a { color: var(--accent); font-weight: 600; }
.pm-fine { font-size: .76rem; color: var(--muted); margin: 22px 0 0; }
.pm-desc { font-size: 1.02rem; margin: 0 0 22px; }
@media (max-width: 640px) { .pm-stats { width: 100%; justify-content: space-between; } .pm-stats > div { padding: 0 8px; } .pm-stats dd { font-size: 1.35rem; } }
.hero-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.9rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.25); opacity: .85; transition: opacity .15s; }
.hero-nav:hover { opacity: 1; }
.hero-nav--prev { left: 16px; }
.hero-nav--next { right: 16px; }
@media (max-width: 560px) { .hero-nav { width: 36px; height: 36px; font-size: 1.5rem; } }
.modal-media.is-plan { background: var(--white); }
.modal-media.is-plan img { object-fit: contain; padding: 14px; }
.pslides__slide { padding: 0; border: 0; background: none; cursor: pointer; opacity: .72; transition: opacity .15s; outline: 2px solid transparent; outline-offset: -2px; }
.pslides__slide:hover { opacity: .92; }
.pslides__slide.is-on { opacity: 1; outline-color: var(--champagne); }
.pslides__slide img { width: 100%; height: 100%; display: block; }
.pslides__slide { position: relative; flex: 0 0 calc((100% - 20px) / 3); aspect-ratio: 4/3; scroll-snap-align: start; overflow: hidden; }
.pslides__slide img { object-fit: cover; }
.pslides__slide.is-plan { background: var(--white); }
.pslides__slide.is-plan img { object-fit: contain; padding: 6px; }
.pslides__tag { position: absolute; left: 8px; bottom: 8px; background: var(--deep); color: var(--white); font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: 5px 9px; }
.pslides__nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.pslides__nav--prev { left: 18px; }
.pslides__nav--next { right: 18px; }
@media (max-width: 560px) { .pslides__slide { flex-basis: calc((100% - 10px) / 2); } .pslides__nav { width: 32px; height: 32px; } }
.modal-media img, .modal-media svg { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 44px 52px 52px; }
.modal-content h2 { margin-bottom: .3em; }
.spec-table { width: 100%; border-collapse: collapse; margin: 26px 0 34px; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; color: var(--accent); font-weight: 600; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; padding-top: 16px; }
/* "How We Quote" options */
.quote-options { background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 22px 26px; margin: 30px 0 6px; }
.quote-options h3 { margin-bottom: .3em; }
.quote-options p { margin: 0 0 10px; font-size: .92rem; color: var(--muted); }
.quote-options ol { margin: 0 0 12px; padding-left: 1.3em; font-size: .92rem; line-height: 1.55; }
.quote-options ol li { margin-bottom: 6px; }
.quote-options strong { color: var(--deep); font-weight: 600; }
.quote-options .quote-note { margin: 0; font-style: italic; }
#plans-quote .quote-options { max-width: 760px; margin: 60px auto 0; }
.feature-list { columns: 2; padding-left: 0; list-style: none; font-size: .92rem; }
.feature-list li { padding: 6px 0 6px 22px; position: relative; break-inside: avoid; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 1px; background: var(--accent); }
.upgrade-note { background: #f6f1e6; border-left: 3px solid var(--accent); padding: 10px 14px; font-size: .9rem; margin: 0 0 10px; }
.upgrade-group { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 16px 0 4px; }
.upgrade-group img { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line, rgba(0,0,0,.12)); }
.share-row__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
/* PDF brochure downloads (brochureRow / renderDownloads in main.js) */
.pdf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line, rgba(0,0,0,.12)); }
.pdf-row--page { justify-content: center; border-top: 0; margin-top: 28px; padding-top: 0; }
.pdf-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-size: .82rem; font-weight: 500; color: var(--ink); transition: border-color .2s, color .2s; }
.pdf-link:hover { border-color: var(--accent); color: var(--accent); }
.pdf-link svg, .card-pdf svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.pdf-link small { font-size: .62rem; letter-spacing: .14em; font-weight: 600; color: var(--gold); }
.card-pdf { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: .78rem; font-weight: 500; color: var(--accent); text-decoration: none; }
.card-pdf:hover { text-decoration: underline; text-underline-offset: 3px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line, rgba(0,0,0,.18)); background: none; color: var(--ink); font: inherit; font-size: .85rem; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); }
.share-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
/* Home pop-up optional upgrades: the first three groups, four items each, until See all opens the sheet */
.upsheet:not(.is-open) .upsheet__cat:nth-child(n+4) { display: none; }
.upsheet:not(.is-open) .upsheet__cat li:nth-child(n+5) { display: none; }
.upsheet__toggle { margin-top: 14px; background: none; border: 1px solid var(--accent); color: var(--accent); padding: 10px 18px; font: inherit; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.upsheet__toggle:hover { background: var(--accent); color: var(--white); }
.upgrade-list.is-collapsed li:nth-child(n+5) { display: none; }
.upgrade-more { background: none; border: 0; padding: 2px 0; color: var(--accent); font: inherit; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.upgrade-more--phone { display: none; }
@media (max-width: 560px) { .upgrade-list.is-collapsed li:nth-child(n+3) { display: none; } .upgrade-more--phone { display: inline; } }
.upgrade-included { border: 1px solid var(--accent); padding: 4px 18px 8px; margin: 12px 0 8px; }
.upgrade-included p { color: var(--muted); font-size: .88rem; margin: 0 0 4px; }
@media (max-width: 560px) { .feature-list { columns: 1; } .modal-content { padding: 28px 22px; } }

/* Loan programs */
.loan { padding: 40px 34px; background: var(--white); border-top: 2px solid var(--accent); }
.loan h3 { font-size: 1.55rem; }
.loan p { color: var(--muted); font-size: .9rem; margin: 0; }

.lender { display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: center; }
.lender img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 800px) { .lender { grid-template-columns: 1fr; gap: 40px; } .lender img { max-width: 320px; } }

/* CTA band */
.cta-band { position: relative; color: var(--white); text-align: center; padding: 150px 0; background: var(--ink) center/cover no-repeat; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(16,30,23,.62); }
.cta-band .container { position: relative; }
.cta-band p { max-width: 620px; margin: 0 auto 36px; color: rgba(255,255,255,.88); font-weight: 300; }
.cta-band .eyebrow { color: var(--champagne); }
.cta-band .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }

/* Forms */
.form { display: grid; gap: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.form input, .form select, .form textarea { padding: 12px 0; border: 0; border-bottom: 1px solid #cfc9bb; border-radius: 0; font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: transparent; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 120px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.checks label { flex-direction: row; align-items: center; gap: 10px; font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; }
.checks input { accent-color: var(--accent); width: 16px; height: 16px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.form .btn { justify-self: start; }
@media (max-width: 560px) { .form .row, .checks { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 90px; }
.contact-info { background: var(--deep); color: var(--ivory); padding: 50px 44px; align-self: start; }
.contact-info h3 { color: var(--white); }
.contact-info p { color: #c9c5ba; }
.contact-info a { color: var(--champagne); text-decoration: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }

/* Footer */
.site-footer { background: #16271e; color: #a9a59b; padding: 90px 0 34px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.site-footer .logo { color: var(--white); margin-bottom: 22px; }
.site-footer h4 { color: var(--champagne); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #2c4436; margin-top: 70px; padding-top: 26px; font-size: .7rem; letter-spacing: .12em; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Subtle reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Plan gallery & floor plan */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.floorplan-img { width: 100%; background: var(--white); border: 1px solid var(--line); padding: 10px; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* "Photos Coming Soon" placeholder */
.coming-soon { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: radial-gradient(circle at 50% 40%, #2a4a39 0%, var(--deep) 70%); color: var(--ivory); text-align: center; padding: 62px 20px 79px; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover .coming-soon { transform: scale(1.05); }
/* Sized to the card so the collection tag (top) and price (bottom) never cover it */
.card-media:has(.coming-soon) { container-type: inline-size; }
.cs-mark { display: grid; place-items: center; margin-bottom: 2px; }
.cs-mark img { width: clamp(24px, 10cqw, 40px); height: auto; }
.cs-title { font-family: var(--display); font-size: clamp(1rem, 5.4cqw, 1.35rem); line-height: 1.1; }
.cs-sub { font-size: clamp(.48rem, 2.2cqw, .56rem); letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); }
@container (max-width: 320px) { .card-media .coming-soon { padding: 60px 16px 77px; } .card-media .cs-mark { display: none; } }
.card-media:has(.coming-soon)::after { display: none; }
.modal-media .coming-soon { padding: 20px; gap: 8px; }
.modal-media .coming-soon .cs-mark img { width: 58px; }
.modal-media .coming-soon .cs-title { font-size: 2.2rem; }
.modal-media .coming-soon .cs-sub { font-size: .6rem; }

/* Clickable photos */
.zoomable { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoomable img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.zoomable:hover img { opacity: .88; }
.zoomable .floorplan-img { height: auto; object-fit: contain; }
.gallery .zoomable { aspect-ratio: 4/3; }

/* Photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,16,12,.94); display: none; align-items: center; justify-content: center; padding: 70px 80px; }
.lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-img.is-plan { background: #fff; padding: 14px; }
.lb-caption { color: var(--ivory); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; margin-top: 16px; white-space: pre; text-align: center; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 56px; height: 76px; font-size: 2.6rem; line-height: 1; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-nav[hidden] { display: none; }
@media (max-width: 640px) {
  .lightbox { padding: 70px 10px 90px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; width: 64px; height: 52px; }
  .lb-prev { left: calc(50% - 72px); }
  .lb-next { right: calc(50% - 72px); }
}

.over-hero:not(.scrolled) .logo-sub { color: var(--champagne); }

/* Shown when there are no land listings yet */
.land-empty { grid-column: 1 / -1; max-width: 640px; margin: 0 auto; text-align: center; padding: 50px 30px; border: 1px solid var(--line); background: var(--white); }
.land-empty p { color: var(--muted); }

.form-status { margin: 0; padding: 14px 16px; background: #f6ecec; color: #6b2a2a; font-size: .92rem; }
.form .btn:disabled { opacity: .6; cursor: wait; }

/* Signature Collections (home page) */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 1100px) { .collections { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .collections { grid-template-columns: 1fr; } }
.collections .collection-body { padding: 26px 24px 30px; }
.collections .collection-body h3 { font-size: 1.7rem; }
.collection { display: flex; flex-direction: column; background: var(--white); text-decoration: none; color: inherit; }
.collection-media { aspect-ratio: 4/3; overflow: hidden; background: var(--stone); }
.collection-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.collection:hover .collection-media img { transform: scale(1.04); }
.collection-body { padding: 34px 36px 38px; display: flex; flex-direction: column; flex: 1; }
.collection-body h3 { font-size: 2.1rem; margin-bottom: .3em; }
.collection-body p { color: var(--muted); font-size: .95rem; }
.collection-body .specs { margin: 8px 0 26px; }
.collection-body .text-link { align-self: flex-start; margin-top: auto; }
.collection:hover .text-link { color: var(--accent); }
@media (max-width: 800px) { .collections { grid-template-columns: 1fr; } .collection-body { padding: 26px 22px 30px; } }

/* Home Collections dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub-menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -22px; min-width: 250px; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16,30,23,.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.has-sub::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }  /* hover bridge */
.sub-menu { margin-top: 14px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 11px 22px; color: var(--ink); }
.sub-menu a:hover { color: var(--gold); background: var(--ivory); }
.sub-menu li:last-child a { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
@media (max-width: 1180px) {
  .has-sub > a::after { display: none; }
  .has-sub::before { display: none; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 1px solid var(--line);
    margin: 12px 0 0 4px; padding: 0 0 0 14px; min-width: 0; background: transparent; display: grid; gap: 12px; }
  .sub-menu a { padding: 0; font-size: .64rem; color: var(--muted); }
  .sub-menu a:hover { background: none; }
  .sub-menu li:last-child a { border: 0; margin: 0; padding: 0; }
}

.specs-pending li { text-align: center; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }

/* County Resources (county-resources.html, js/county.js) */
.cr-counties { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.cr-county { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); padding: 20px 22px; transition: border-color .2s; }
.cr-county:hover { border-color: var(--accent); }
.cr-county strong { font-family: var(--display); font-size: 1.45rem; font-weight: 500; }
.cr-county span { color: var(--muted); font-size: .88rem; }
.cr-back { margin: 0 0 28px; }
.cr-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; }
.cr-jump a { text-decoration: none; border: 1px solid var(--line); padding: 7px 12px; font-size: .74rem; letter-spacing: .06em; }
.cr-jump a:hover { border-color: var(--accent); color: var(--accent); }
.cr-section { margin-bottom: 64px; scroll-margin-top: 100px; }
.cr-intro { color: var(--muted); max-width: 860px; }
.cr-items { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.cr-item { border: 1px solid var(--line); padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.cr-name { font-weight: 600; color: var(--accent); text-decoration: none; }
.cr-name:hover { text-decoration: underline; }
.cr-phone { text-decoration: none; }
.cr-addr { color: var(--muted); font-size: .9rem; }
.cr-item p { margin: 8px 0 0; font-size: .92rem; color: #4a4a44; line-height: 1.65; }
.cr-fine { color: var(--muted); font-size: .85rem; }
@media (max-width: 560px) { .cr-items { grid-template-columns: 1fr; } }

/* Pheasant brand mark beside the logo; takes the logo's color (white over photos, dark on white) */
.logo { flex-direction: row; align-items: center; gap: 12px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
/* Logo: green pheasant beside the "Signature" script / SOUTH / HOMES lettering. Both are image masks so they recolor:
   green bird + ink lettering on white, champagne bird + white lettering over photos and in the footer */
.logo { flex-direction: row; align-items: center; gap: 10px; }
.logo-text { display: block; }
.logo-main { display: block; width: 240px; aspect-ratio: 1040 / 270; font-size: 0; letter-spacing: 0; background: currentColor;
  -webkit-mask: url("/images/brand/logo-wordmark.png") center / contain no-repeat; mask: url("/images/brand/logo-wordmark.png") center / contain no-repeat; }
.logo-main + .logo-sub { display: none; }
.logo-mark { width: 85px; height: 56px; flex: none; background: var(--accent);
  -webkit-mask: url("/images/brand/logo-bird.png?v=2") center / contain no-repeat; mask: url("/images/brand/logo-bird.png?v=2") center / contain no-repeat; }
.over-hero:not(.scrolled) .logo-mark, .site-footer .logo-mark { background: var(--champagne); }
.site-header.shrunk .logo-main { width: 186px; }
.site-header.shrunk .logo-mark { width: 64px; height: 42px; }
@media (max-width: 560px) { .logo-mark { width: 64px; height: 42px; } .logo { gap: 7px; } .logo-main { width: 178px; }
  .site-header.shrunk .logo-main { width: 146px; } .site-header.shrunk .logo-mark { width: 52px; height: 34px; } }

/* Log In sits at the far right, after the consultation button */
@media (min-width: 1181px) { .nav-login-item { margin-left: -6px; } }

/* Preferred lender (Financing page) */
.lender-co { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-top: -6px; }
.lender-contact { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 6px; font-size: .95rem; }
.lender-contact a { color: var(--ink); text-decoration-color: var(--line); }
.lender-contact a:hover { color: var(--accent); }

/* The photo on a home or land card opens its details, like the button below it */
.card-media[data-land], .card-media[data-plan] { cursor: pointer; }
.card-media[data-land]:focus-visible, .card-media[data-plan]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Land: which kinds of homes a lot allows */
.land-types { border: 1px solid var(--line); background: var(--ivory); padding: 12px 14px; margin: 0 0 16px; }
.land-types__h { display: block; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.land-types ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; }
.land-types li { display: inline-flex; align-items: center; gap: 6px; }
.land-types li > span[aria-hidden] { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: .7rem; font-weight: 700; }
.land-types .is-yes > span[aria-hidden] { background: var(--accent); color: #fff; }
.land-types .is-no { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.land-types .is-no > span[aria-hidden] { background: var(--stone); color: var(--muted); }
.land-types .is-ask > span[aria-hidden] { background: var(--stone); color: var(--ink); }
.land-types small { color: var(--muted); font-size: .75rem; }
.spec-table .land-types { margin: 0; }
.pt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lender img.lender-logo { aspect-ratio: auto; object-fit: contain; height: auto; }

/* Finish selections (finishPicker in main.js): tap a sample to pick it */
.fin-key { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--muted); margin: 8px 0 4px; }
.fin-note { font-size: .8rem; color: var(--muted); margin: 0 0 8px; }
.fin-chosen { float: right; font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: .82rem; font-weight: 600; color: var(--ink); }
.fin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 6px 0 4px; }
.fin-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 6px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: .8rem; line-height: 1.25; text-align: left; color: var(--ink); cursor: pointer; }
.fin-opt i { display: block; width: 100%; height: 48px; border: 1px solid var(--line); margin-bottom: 3px; }
.fin-opt:hover { border-color: var(--accent); }
.fin-opt.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.fin-opt.is-on span::before { content: "\2713  "; color: var(--accent); font-weight: 600; }
.fin-tag { display: inline-block; font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 2px 5px; border: 1px solid var(--line); color: var(--muted); font-style: normal; }
.fin-tag.up { background: none; border: 0; padding: 2px 0; color: var(--accent); }

/* Finish picker: categories grouped by area (Kitchen & Bath, Interior Walls & Floors, Exterior) */
.fin-area { font-family: var(--display); font-size: 1.25rem; font-weight: 500; color: var(--ink); margin: 26px 0 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.fin-area:first-of-type { border-top: 0; padding-top: 0; margin-top: 14px; }
.fin-bird { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
/* Cabinet doors: door photo and color, then MDF or hardwood construction */
.fin-door { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--line); background: var(--white); font-size: .78rem; text-align: left; }
.fin-door.is-on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fin-door > i { display: block; aspect-ratio: 1; border: 1px solid var(--line); }
.fin-door > span { font-weight: 500; line-height: 1.25; }
.fin-opt.fin-mat { display: block; line-height: 1.35; gap: 4px; padding: 6px 8px; border: 1px solid var(--line); background: var(--ivory); font: inherit; font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); cursor: pointer; text-align: left; }
.fin-opt.fin-mat:hover { border-color: var(--accent); }
.fin-opt.fin-mat.is-on { background: var(--accent); border-color: var(--accent); color: var(--white); }
.fin-opt.fin-mat .fin-bird { width: 12px; height: 12px; margin: 0 4px 0 0; vertical-align: -2px; }
.fin-grid:has(.fin-door) { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.fin-opt i { height: 64px; }
/* Finish sample, larger: the photo in a pop-up over everything */
.fin-opt > i, .fin-door > i { cursor: zoom-in; }
.fin-lb { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; background: rgba(16,22,18,.82); padding: 20px; }
.fin-lb.open { display: flex; }
.fin-lb__box { position: relative; background: var(--white); width: min(620px, 100%); padding: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.fin-lb__img { width: 100%; aspect-ratio: 4/3; background-size: cover !important; background-position: center !important; border: 1px solid var(--line); }
.fin-lb__cap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; }
.fin-lb__cap strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 500; }
.fin-lb__cap span { font-size: .72rem; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.fin-lb__cap span .fin-bird { width: 13px; height: 13px; }
.fin-lb__x { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--white); font-size: 1.4rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.fin-lb__nav { position: absolute; top: calc(16px + (100% - 90px) / 2); transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.fin-lb__nav--prev { left: 26px; }
.fin-lb__nav--next { right: 26px; }
.fin-lb__picks { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.fin-lb__picks .btn { padding: 10px 14px; font-size: .66rem; }
.fin-lb__picks .fin-bird { width: 12px; height: 12px; vertical-align: -2px; margin-right: 4px; }
@media (max-width: 560px) { .fin-lb__cap { flex-direction: column; align-items: flex-start; } .fin-lb__picks { justify-content: flex-start; } }
/* Home pop-up: upgrades and finishes live on Build & Price; this panel points there */
.pm-build { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin: 30px 0 6px; padding: 22px 24px; background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.pm-build h3 { margin: 4px 0 6px; }
.pm-build p { margin: 0; font-size: .92rem; color: var(--muted); max-width: 520px; }
.pm-build .btn { flex-shrink: 0; }
