/* Caleb Northcutt — Cromwell Home Group
   Palette follows Caleb's brand: black, white, warm gold accent. */
:root {
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --paper: #ffffff;
  --mist: #f5f3ef;
  --line: #e2ded6;
  --text: #1c1c1c;
  --muted: #6a665f;
  --gold: #b8935a;
  --gold-deep: #8f6d3a;
  --gold-soft: #d9c19a;
  --head: "Belleza", "Cormorant Garamond", Georgia, serif;
  --body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--paper); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; }
p { margin: 0 0 1.1em; }
.center { text-align: center; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; padding: 10px 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.lede { font-family: var(--head); font-size: 18px; letter-spacing: .03em; color: var(--muted); margin-top: -6px; }
.fine { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.small-caps { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 8vw, 104px) 24px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--head); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 15px 28px; border: 1.5px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; background: none; line-height: 1.2; text-align: center; }
.btn-solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-gold { background: var(--gold); color: #111; border-color: var(--gold); }
.btn-gold:hover { background: #fff; border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; padding-left: 12px; padding-right: 12px; }
.text-link { font-family: var(--head); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 4px; }
.text-link:hover { color: var(--gold-deep); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 3vw, 40px); color: #fff; transition: background .3s, padding .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(10,10,10,.96); padding-top: 8px; padding-bottom: 8px; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 56px; height: 56px; transition: width .3s, height .3s; }
.scrolled .brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--head); font-weight: 400; font-size: 19px; letter-spacing: .1em; text-transform: uppercase; }
.brand-text em { font-style: normal; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); }
.main-nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.main-nav a { font-family: var(--head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.main-nav a:hover, .main-nav a.current { border-color: var(--gold); }
.header-cta { background: var(--gold); border-color: var(--gold); color: #111; padding: 12px 20px; }
.header-cta:hover { background: #fff; border-color: #fff; }
.menu-toggle { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: none; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: #fff; }
.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--ink); color: #fff; padding: 28px clamp(24px, 6vw, 80px); overflow: auto; display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.menu-close { align-self: flex-end; background: none; border: 0; color: #fff; font-family: var(--head); letter-spacing: .16em; text-transform: uppercase; font-size: 13px; cursor: pointer; padding: 12px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin: 20px 0 32px; }
.mobile-menu nav a { font-family: var(--head); font-size: clamp(24px, 4vw, 36px); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: 8px 0; }
.mobile-menu nav a:hover { color: var(--gold-soft); }
.mobile-menu-contact a { color: var(--gold-soft); text-decoration: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; background: var(--ink); }
.hero-slides, .hero-shade { position: absolute; inset: 0; }
.hero-slides div { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; }
.hero-slides div.on { opacity: 1; }
.hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,.7) 100%); }
.hero-inner { position: relative; padding: 120px 24px 90px; max-width: 900px; }
.eyebrow { font-family: var(--head); letter-spacing: .3em; text-transform: uppercase; font-size: clamp(12px, 1.5vw, 16px); margin-bottom: 26px; }
.hero-logo { width: clamp(110px, 14vw, 150px); height: auto; margin: 0 auto 22px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 84px); letter-spacing: .08em; margin-bottom: 14px; }
.hero-sub { font-size: clamp(12px, 1.4vw, 15px); letter-spacing: .18em; text-transform: uppercase; }
.hero-links { display: flex; justify-content: center; gap: clamp(22px, 5vw, 56px); margin-top: 34px; }
.hero-links a { font-family: var(--head); font-size: clamp(16px, 2vw, 21px); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 6px; }
.hero-links a:hover { color: var(--gold-soft); }
.hero-caption { position: absolute; left: clamp(16px, 3vw, 40px); bottom: 22px; margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; text-align: left; }
.hero-scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); display: grid; place-items: center; text-decoration: none; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tile { position: relative; aspect-ratio: 4/5; display: grid; place-items: center; color: #fff; text-decoration: none; overflow: hidden; background: var(--ink); }
.tile::before { content: ""; position: absolute; inset: 0; background: var(--img) center/cover; transition: transform .8s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); transition: background .4s; }
.tile:hover::before { transform: scale(1.06); }
.tile:hover::after { background: rgba(0,0,0,.6); }
.tile span { position: relative; z-index: 1; font-family: var(--head); font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .2em; text-transform: uppercase; border-bottom: 1.5px solid var(--gold); padding-bottom: 8px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-photo { position: relative; }
.about-photo { align-self: start; }
.about-photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid var(--gold); z-index: 0; }
.about-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.kicker { font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-size: 15px; }
.about-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: background .25s; }
.socials a:hover { background: var(--gold-deep); }
.socials svg, .ig-cta svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill, .ig-cta svg .fill { fill: #fff; stroke: none; }

/* Business */
.business { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: 0; }
.business-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { padding: 14px 0 14px 30px; border-top: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 12px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.business .btn { margin: 0 8px 8px 0; }

/* Stats */
.stats { background: var(--ink); color: #fff; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 80px) 30px; text-align: center; }
.stats b { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(40px, 6vw, 68px); line-height: 1; color: var(--gold-soft); font-variant-numeric: lining-nums; }
.stats b small { font-size: .5em; margin-left: 4px; }
.stats span { display: block; margin-top: 12px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.stats .footnote { grid-column: 1/-1; font-size: 11.5px; color: #a9a59c; margin: 14px 0 0; }

/* Reviews */
.reviews-body { max-width: 860px; margin: 28px auto 0; text-align: center; }
.rating-card { border: 1px solid var(--line); padding: clamp(28px, 5vw, 52px); background: var(--mist); }
.rating-card .stars { color: var(--gold); font-size: 30px; letter-spacing: 6px; }
.rating-card .big { font-family: var(--head); font-size: 54px; line-height: 1.1; margin: 6px 0; }
.quote { font-family: var(--head); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.6; }
.quote-by { letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; margin-top: 18px; }
.rev-nav { margin-top: 22px; display: flex; justify-content: center; gap: 12px; align-items: center; }
.rev-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; cursor: pointer; font-size: 18px; }

/* Portfolio */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.section-head h2 { margin-bottom: .3em; }
.section-head .lede { margin: 0; }
.filters { display: flex; gap: 8px; }
.chip { font-family: var(--head); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; padding: 12px 18px; border: 1.5px solid var(--ink); background: none; color: var(--ink); cursor: pointer; min-height: 44px; }
.chip.is-on { background: var(--ink); color: #fff; }
.carousel { position: relative; }
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.card { flex: 0 0 min(400px, 84vw); scroll-snap-align: start; position: relative; aspect-ratio: 4/5; color: #fff; overflow: hidden; background: var(--ink); cursor: pointer; border: 0; padding: 0; text-align: left; font: inherit; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover img, .card:focus-visible img { transform: scale(1.05); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 30%, rgba(0,0,0,.86) 100%); }
.badge { position: absolute; top: 18px; left: 18px; z-index: 2; font-family: var(--head); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 7px 14px; background: var(--ink); color: #fff; }
.badge.active { background: var(--gold); color: #111; }
.card-info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.card-price { font-family: var(--head); font-size: 32px; line-height: 1.1; font-variant-numeric: lining-nums; }
.card-addr { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 12px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border-top: 1px solid rgba(255,255,255,.35); padding-top: 12px; }
.car-btn { position: absolute; top: 45%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.car-btn.prev { left: -14px; } .car-btn.next { right: -14px; }
.portfolio > p.center { margin-top: 30px; }

a.card { display: block; color: #fff; text-decoration: none; }
a.article { display: block; color: inherit; text-decoration: none; }
/* Map */
.mapsec { padding-top: 0; }
.map-wrap { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line); margin-top: 34px; min-height: 600px; }
.map-side { display: flex; flex-direction: column; border-right: 1px solid var(--line); max-height: 600px; }
.legend { display: flex; gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--mist); font-size: 13.5px; }
.legend label { white-space: nowrap; display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 32px; }
.legend b { color: var(--muted); font-weight: 400; }
.dot { width: 15px; height: 15px; border-radius: 50%; display: inline-block; flex: none; }
.dot-active { background: var(--gold); border: 2.5px solid #111; }
.dot-sold { background: #111; border: 2.5px solid #fff; box-shadow: 0 0 0 1px #111; }
.map-list { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; }
.map-list button { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 14px 18px; cursor: pointer; font: inherit; color: inherit; }
.map-list button:hover, .map-list button.on { background: var(--mist); }
.map-list .dot { margin-top: 5px; }
.map-list strong { display: block; font-family: var(--head); font-weight: 400; font-size: 19px; font-variant-numeric: lining-nums; }
.map-list span { font-size: 13px; color: var(--muted); display: block; line-height: 1.4; }
#leaflet-map { min-height: 600px; background: #e9e6df; z-index: 1; }
#leaflet-map .leaflet-tile-pane { filter: grayscale(.85) contrast(1.05) brightness(1.03); }
.pin { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.45); }
.pin.active { background: var(--gold); border: 3px solid #111; }
.pin.sold { background: #111; border: 3px solid #fff; }
.leaflet-popup-content-wrapper { border-radius: 0; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 240px !important; font-family: var(--body); }
.pop img { width: 100%; height: 140px; object-fit: cover; }
.pop-body { padding: 12px 14px 14px; }
.pop-body .st { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.pop-body .st.sold { color: #111; }
.pop-body strong { display: block; font-family: var(--head); font-weight: 400; font-size: 22px; }
.pop-body span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.pop-body .pop-link { display: block; text-align: center; text-decoration: none; color: #fff !important; }
.pop-body button, .pop-body .pop-link { margin-top: 10px; background: var(--ink); color: #fff; border: 0; padding: 10px 14px; font-family: var(--head); letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; cursor: pointer; width: 100%; }

/* Valuation + contact banners */
.valuation, .contact { position: relative; color: #fff; background: var(--ink); isolation: isolate; }
.valuation::before, .contact::before { content: ""; position: absolute; inset: 0; background: var(--img) center/cover; z-index: -2; }
.valuation::after, .contact::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); z-index: -1; }
.valuation-inner { max-width: 980px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) 24px; text-align: center; }
.val-points { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 34px; padding: 0; margin: 0 0 30px; font-family: var(--head); letter-spacing: .16em; text-transform: uppercase; font-size: 14px; color: var(--gold-soft); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.inline-form input { flex: 1 1 200px; min-width: 0; }
.inline-form #val-address { flex: 2 1 300px; }
.inline-form .form-msg { flex-basis: 100%; }
input, select, textarea { font: inherit; font-size: 16px; padding: 14px 16px; border: 1.5px solid #cfcac0; background: #fff; color: #111; border-radius: 0; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form-msg { margin: 6px 0 0; font-size: 14px; min-height: 1.4em; }
.form-msg.err { color: #ffb4a8; }
.form-msg.ok { color: var(--gold-soft); }
.valuation .fine, .contact .fine { color: #c9c5bc; margin-top: 14px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.calc-form label, .contact-form label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; display: block; }
.calc-form input, .calc-form select, .contact-form input, .contact-form select, .contact-form textarea { margin-top: 6px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.calc-out { background: var(--mist); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.calc-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin: 0; }
.calc-total { font-family: var(--head); font-size: clamp(44px, 6vw, 68px); line-height: 1.1; margin: 4px 0 16px; font-variant-numeric: lining-nums; }
.calc-out dl { margin: 0 0 18px; }
.calc-out dl div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.calc-out dt { color: var(--muted); } .calc-out dd { margin: 0; font-variant-numeric: tabular-nums; }


/* Instagram */
.social { padding-top: 0; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ig-grid a { position: relative; aspect-ratio: 1; overflow: hidden; display: block; background: var(--ink); color: #fff; text-decoration: none; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.ig-grid a:hover img { transform: scale(1.05); opacity: .55; }
.ig-grid span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 14px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.ig-grid a:hover span, .ig-grid a:focus-visible span { opacity: 1; }
.ig-grid a:hover img, .ig-grid a:focus-visible img { opacity: .3; }
.ig-cta { display: grid !important; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 16px; }
.ig-cta svg { width: 34px; height: 34px; }
.ig-cta b { font-family: var(--head); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: 16px; }
.ig-cta em { font-style: normal; color: var(--gold-soft); font-size: 14px; }
.ig-cta:hover { background: var(--gold-deep); }

/* Newsletter */
.newsletter { background: var(--mist); text-align: center; padding: clamp(56px, 8vw, 96px) 24px; }
.newsletter > * { max-width: 680px; margin-left: auto; margin-right: auto; }
.newsletter .inline-form { margin-top: 22px; margin-bottom: 14px; }
.newsletter .form-msg.err { color: #a3261a; } .newsletter .form-msg.ok { color: var(--gold-deep); }

/* Insights */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.article { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.article img { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 16px; transition: opacity .3s; }
.article:hover img { opacity: .85; }
.article .tag { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.article h3 { font-size: 20px; margin: 8px 0; line-height: 1.3; letter-spacing: .03em; }
.article .more { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1.5px solid var(--gold); padding-bottom: 3px; }

/* FAQ */
.faq { padding-top: 0; max-width: 880px; }
.faq-list { margin-top: 26px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 20px 40px 20px 0; font-family: var(--head); font-size: 19px; letter-spacing: .04em; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; color: var(--gold-deep); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 40px 20px 0; color: #3a3833; }

/* Contact */
.contact-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 9vw, 120px) 24px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; }
.contact-lines a { padding: 6px 0; font-family: var(--head); font-size: clamp(19px, 2.2vw, 26px); letter-spacing: .06em; text-decoration: none; color: var(--gold-soft); width: fit-content; overflow-wrap: anywhere; }
.contact-lines a:hover { color: #fff; }
.contact-form { display: grid; gap: 16px; background: rgba(10,10,10,.6); border: 1px solid rgba(255,255,255,.18); padding: clamp(20px, 3vw, 36px); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Footer */
.site-footer { background: var(--ink); color: #d6d2c9; padding: 64px clamp(20px, 5vw, 80px) 110px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: auto 1.2fr 1fr auto; gap: 40px; max-width: var(--wrap); margin: 0 auto 36px; align-items: start; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.site-footer h3 { color: #fff; font-size: 20px; letter-spacing: .1em; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer nav a, .site-footer p a { display: inline-block; padding: 9px 0; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; font-family: var(--head); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.foot-socials a { background: #222; }
.legal { max-width: var(--wrap); margin: 0 auto 10px; font-size: 12px; line-height: 1.6; color: #a9a59c; }
.legal strong { color: #fff; font-weight: 400; letter-spacing: .06em; }

/* Mobile quick bar */
.quickbar { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.78); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { background: #fff; width: min(1020px, 100%); max-height: calc(100svh - 32px); overflow: auto; position: relative; }
.modal-close { position: sticky; top: 10px; margin: 10px 10px -54px auto; display: grid; place-items: center; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #111; color: #fff; font-size: 16px; cursor: pointer; }
.gallery-main { width: 100%; aspect-ratio: 3/2; max-height: 58svh; object-fit: cover; background: #111; }
.thumbs { display: flex; gap: 6px; padding: 6px; overflow-x: auto; background: #111; }
.thumbs button { flex: 0 0 92px; height: 62px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .6; }
.thumbs button.on { border-color: var(--gold); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail { padding: clamp(20px, 4vw, 40px); }
.detail .badge { position: static; display: inline-block; margin-bottom: 12px; }
.detail h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 4px; font-variant-numeric: lining-nums; }
.detail .addr { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; margin: 22px 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts div { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: var(--head); font-size: 19px; font-variant-numeric: lining-nums; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.over { color: var(--gold-deep); font-weight: 700; }
.article-body { padding: clamp(24px, 5vw, 56px); max-width: 760px; margin: 0 auto; }
.article-body img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 24px; }
.article-body h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .03em; }
.byline { display: flex; align-items: center; gap: 12px; margin: 14px 0 24px; font-size: 13px; color: var(--muted); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; margin: 0; aspect-ratio: 1; }

/* Roadmap */
.process { padding-top: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.steps[hidden] { display: none; }
.steps li { padding: 26px 24px 8px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps b { font-family: var(--head); font-weight: 400; font-size: 40px; color: var(--gold); line-height: 1; font-variant-numeric: lining-nums; }
.steps h3 { margin: 12px 0 8px; }
.steps p { color: #3a3833; font-size: 15px; }
.process-cta { margin: 34px 0 0; }

/* Home search */
.search { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.search-form { display: grid; gap: 16px; background: var(--mist); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.search-form h3 { margin: 0; }
.search-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.search-form label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; display: block; }
.search-form input, .search-form select { margin-top: 6px; }
.search-form .form-msg.err { color: #a3261a; } .search-form .form-msg.ok { color: var(--gold-deep); }

/* Card ribbon */
.ribbon { position: absolute; top: 18px; right: 18px; z-index: 2; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 7px 12px; background: rgba(255,255,255,.94); color: #111; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
.main-nav a, .brand-text, .header-cta { white-space: nowrap; }
@media (max-width: 1240px) {
  .main-nav, .header-cta { display: none; }
  .map-wrap { grid-template-columns: 1fr; }
  .map-side { border-right: 0; border-bottom: 1px solid var(--line); max-height: 300px; order: 2; border-top: 1px solid var(--line); }
  #leaflet-map { min-height: 460px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .business, .calc, .contact-inner, .search { grid-template-columns: 1fr; }
  .about { display: block; }
  .about::after { content: ""; display: block; clear: both; }
  .about-photo { float: left; width: 40%; max-width: 220px; margin: 6px 22px 12px 0; }
  .about-photo::before { inset: 9px -9px -9px 9px; }
  .about-copy h2 { font-size: clamp(26px, 7vw, 34px); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; margin-right: 0; }
  .hero-links a, .text-link { padding-top: 10px; padding-bottom: 10px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16/9; }
  .stats { grid-template-columns: 1fr 1fr; gap: 34px 16px; }
  .ig-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .car-btn { display: none; }
  .quickbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 1px solid #333; padding-bottom: env(safe-area-inset-bottom); }
  .quickbar a { color: #fff; text-decoration: none; text-align: center; padding: 16px 6px; font-family: var(--head); letter-spacing: .18em; text-transform: uppercase; font-size: 13px; border-right: 1px solid #333; }
  .quickbar a:last-child { background: var(--gold); color: #111; border: 0; }
  .hero-caption { bottom: 74px; left: 16px; right: 16px; text-align: center; font-size: 10.5px; letter-spacing: .1em; }
  .hero-scroll { display: none; }
  .brand-text em { display: none; }
}
@media (max-width: 520px) {
  .calc-form, .contact-form .row, .foot-grid, .search-form .row, .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .brand-text strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===================== Sub-pages (listings, areas, articles, about, portfolio) ===================== */
.sub-main { padding-top: 96px; }
.subpage .site-header { background: rgba(10,10,10,.97); }
.subpage .header-cta { display: inline-block; }
.crumbs { font-size: 12.5px; letter-spacing: .08em; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { border-color: var(--gold); }
.listing-page, .article-page, .area-page, .portfolio-page, .about-page { max-width: var(--wrap); margin: 0 auto; padding: 32px max(24px, env(safe-area-inset-right, 0px)) 40px max(24px, env(safe-area-inset-left, 0px)); }
.article-page { max-width: 780px; }
.subpage h1 { font-size: clamp(32px, 4.6vw, 54px); }
.subpage .listing-page h2, .area-page h2, .portfolio-page h2, .about-page h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 44px; }
.tag-line { color: var(--gold-deep); margin-bottom: 8px; }
.lp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-head .badge { position: static; display: inline-block; margin-bottom: 12px; }
.lp-head h1 { margin: 0; }
.lp-head h1 span { display: block; font-family: var(--body); font-size: 14px; letter-spacing: .16em; margin-top: 10px; color: var(--muted); }
.lp-price { font-family: var(--head); font-size: clamp(32px, 4vw, 48px); margin: 0; font-variant-numeric: lining-nums; }
.lp-gallery { margin: 0; background: #111; }
.lp-gallery > img { width: 100%; height: auto; max-height: 72svh; aspect-ratio: 3/2; object-fit: cover; }
.lp-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; margin-top: 32px; align-items: start; }
.lp-body h2 { margin-top: 0 !important; }
.lp-body .facts { margin: 0; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.related { padding-top: 24px; }
.related h2 { font-size: clamp(22px, 2.6vw, 30px); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 22px 0 26px; }
.related-grid .card { flex: none; width: 100%; }
.related-grid .card-price { font-size: 26px; }
.related .article-grid { margin-top: 22px; }
.sub-cta-band { background: var(--ink); color: #fff; text-align: center; padding: clamp(48px, 7vw, 80px) max(24px, env(safe-area-inset-right, 0px)) clamp(48px, 7vw, 80px) max(24px, env(safe-area-inset-left, 0px)); }
.sub-cta-band p { max-width: 620px; margin-left: auto; margin-right: auto; color: #d6d2c9; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: #111; }
.article-page h1 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: .03em; }
.article-hero { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; margin: 8px 0 28px; }
.article-page > p { font-size: 17px; }
.byline a { color: inherit; }
.area-intro { max-width: 760px; font-size: 17px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.sales-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.sales-table th, .sales-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sales-table th { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; background: var(--mist); }
.sales-table td:nth-child(3) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.about-page-grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.about-page-photo { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.quick-facts { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }
.area-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-links a { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--ink); text-decoration: none; font-family: var(--head); letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.area-links a:hover { background: var(--ink); color: #fff; }
.foot-links { display: grid; gap: 22px; }
.foot-areas { display: flex !important; flex-wrap: wrap; gap: 0 18px !important; }
.foot-areas span { flex-basis: 100%; color: var(--gold-soft); font-size: 11.5px; letter-spacing: .18em; }
@media (max-width: 1240px) { .subpage .header-cta { padding: 10px 14px; font-size: 11.5px; } }
@media (max-width: 820px) {
  .lp-body, .about-page-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .about-page-photo { max-width: 240px; }
  .sub-main { padding-top: 76px; }
}
@media (max-width: 520px) { .subpage .brand-text strong { font-size: 14px; } .subpage .brand img { width: 40px; height: 40px; } }

.badge.pending { background: #fff; color: #111; }
.pop-body .st.active { color: var(--gold-deep); }

/* ===================== Map v2 ===================== */
.mapsec { max-width: 1480px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right, 0px)) clamp(56px, 8vw, 104px) max(16px, env(safe-area-inset-left, 0px)); }
.map-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.map-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.map-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-family: var(--head); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.map-chip b { font-family: var(--body); font-weight: 700; font-size: 12px; opacity: .8; }
.map-chip[aria-pressed="false"] { background: #fff; color: var(--muted); border-color: var(--line); }
.map-chip[aria-pressed="false"] .dot { opacity: .35; }
.map-reset { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-family: var(--head); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.map-reset:hover { background: var(--ink); color: #fff; }
.map-wrap { grid-template-columns: 330px 1fr; min-height: 0; height: min(78svh, 760px); margin-top: 14px; }
.map-side { max-height: none; min-height: 0; }
#leaflet-map { min-height: 0; height: 100%; }
.dot-pending { background: #fff; border: 2.5px solid var(--gold-deep); }
.map-list button.on { background: var(--mist); box-shadow: inset 4px 0 0 var(--gold); }
.pin-wrap { overflow: visible; }
.pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.45); transition: transform .15s; }
.pin span { display: none; }
.pin.active { background: var(--gold); border: 3px solid #111; width: 22px; height: 22px; }
.pin.pending { background: #fff; border: 4px solid var(--gold-deep); width: 22px; height: 22px; }
.pin.sold { background: #111; border: 2.5px solid #fff; }
.leaflet-marker-icon:hover .pin { transform: translate(-50%, -50%) scale(1.25); }
.show-prices .pin { width: auto; height: auto; border-radius: 3px; padding: 4px 8px; font: 700 12px/1.2 Lato, system-ui, sans-serif; white-space: nowrap; border-width: 2px; }
.show-prices .pin span { display: inline; }
.show-prices .pin.sold { color: #fff; }
.show-prices .pin.active, .show-prices .pin.pending { color: #111; }
.show-prices .pin::after { content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); border: 5px solid transparent; border-bottom: 0; border-top-color: #111; }
.show-prices .pin.pending::after { border-top-color: var(--gold-deep); }
@media (max-width: 1240px) {
  .map-wrap { grid-template-columns: 1fr; height: auto; }
  #leaflet-map { height: 62svh; min-height: 380px; }
  .map-side { max-height: 320px; }
}

/* Phones: service tiles read Buy, Sell, then Let's Connect */
@media (max-width: 820px) { .tiles .tile:nth-child(2) { order: 3; } }
