:root {
  --ink: #10233a;
  --ink-soft: #1c3854;
  --ink-muted: #50606d;
  --stone: #f7f2e9;
  --paper: #fffdfa;
  --gold: #c79848;
  --gold-soft: #e8d3aa;
  --sage: #6f8073;
  --sage-pale: #e7eee7;
  --line: rgba(16, 35, 58, 0.14);
  --shadow: 0 18px 48px rgba(16, 35, 58, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--stone); font-family: Arial, Helvetica, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
img { display: block; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
[hidden] { display: none !important; }
.site-shell { overflow: hidden; }

.hero { position: relative; isolation: isolate; min-height: 760px; color: white; background: #1b2e3f url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90") center/cover no-repeat; }
.hero-scrim { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8,24,39,.94) 0%, rgba(10,31,47,.69) 48%, rgba(9,29,43,.23) 100%); }
.topbar { display: flex; align-items: center; justify-content: space-between; width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; }
.brand-copy { display: grid; min-width: max-content; gap: 1px; }
.brand-mark { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid currentColor; border-radius: 8px; font-family: Georgia, serif; font-size: 23px; line-height: 1; }
.brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 500; letter-spacing: -.05em; line-height: .82; }
.brand small { display: block; margin-top: 7px; font-size: 8px; letter-spacing: .22em; }
.topbar .brand-mark { width: 62px; height: 62px; border-radius: 9px; }
.topbar .brand strong { font-size: 29px; }
.topbar .brand small { margin-top: 8px; font-size: 9px; }
.nav-links { display: flex; align-items: center; gap: 30px; color: rgba(255,255,255,.86); font-size: 13px; }
.nav-links a:hover, .nav-contact:hover { color: #fff; }
.nav-contact { padding: 0; border: 0; color: inherit; background: transparent; font-size: inherit; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.shortlist-link { padding: 7px 2px; border: 0; color: rgba(255,255,255,.92); background: transparent; font-size: 12px; }
.shortlist-link span, .mobile-menu button span { display: inline-grid; min-width: 18px; height: 18px; margin-left: 5px; place-items: center; border-radius: 99px; color: var(--ink); background: var(--gold-soft); font-size: 10px; font-weight: 700; }
.nav-cta { padding: 12px 16px; border: 1px solid rgba(255,255,255,.68); border-radius: 999px; font-size: 12px; transition: background .2s ease, color .2s ease; }
.nav-cta:hover { color: var(--ink); background: white; }
.menu-toggle { display: none; width: 34px; height: 34px; padding: 7px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: transparent; }
.menu-toggle i { display: block; height: 1px; margin: 4px 0; background: white; transition: .2s ease; }
.mobile-menu { position: absolute; z-index: 4; top: 82px; right: 18px; left: 18px; padding: 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(14,37,57,.98); box-shadow: var(--shadow); }
.mobile-menu a, .mobile-menu button { display: block; width: 100%; padding: 12px 9px; border: 0; color: #fff; background: transparent; text-align: left; font-size: 13px; }

.hero-content { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 115px 0 74px; }
.eyebrow { margin: 0 0 15px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.eyebrow.light { color: #e6c889; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 23px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 6.2vw, 88px); font-weight: 400; letter-spacing: -.067em; line-height: .96; }
h1 em, h2 em { color: #e5c07a; font-weight: 400; }
.hero-copy { max-width: 470px; margin-bottom: 34px; color: rgba(255,255,255,.83); font-size: 17px; line-height: 1.62; }
.search-card { max-width: 1040px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.97); box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.intent-switch { display: flex; gap: 24px; padding: 14px 22px 0; border-bottom: 1px solid var(--line); }
.intent-switch button { position: relative; padding: 0 0 13px; border: 0; color: #75808b; background: transparent; font-size: 12px; font-weight: 700; }
.intent-switch button.active { color: var(--ink); }
.intent-switch button.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; background: var(--gold); }
.search-fields { display: grid; min-height: 80px; grid-template-columns: 1.1fr 2.15fr 1.1fr auto; }
.search-fields label { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 0 21px; border-right: 1px solid var(--line); }
.search-fields label span { margin-bottom: 6px; color: #75808b; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.search-fields select, .search-fields input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.search-fields input::placeholder { color: #7c8891; }
.search-button { align-self: center; margin: 0 14px; padding: 15px 21px; border: 0; border-radius: 8px; color: white; background: var(--ink); font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.search-button:hover { background: #254664; transform: translateY(-1px); }
.search-button span { margin-right: 5px; font-size: 18px; vertical-align: -1px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 25px; color: rgba(255,255,255,.83); font-size: 12px; }
.hero-trust i { display: inline-grid; width: 14px; height: 14px; margin-right: 5px; place-items: center; border-radius: 50%; color: #12293d; background: #e7c985; font-size: 9px; font-style: normal; }
.lifestyle-section, .homes-section, .open-homes-section, .guidance-section, footer { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 4vw, 55px); font-weight: 400; letter-spacing: -.055em; line-height: 1; }

.lifestyle-section { display: grid; align-items: center; gap: 30px; padding: 42px 0 44px; grid-template-columns: minmax(0, .83fr) minmax(340px, 1.17fr); }
.lifestyle-copy { max-width: 440px; margin: 14px 0 0; color: var(--ink-muted); font-size: 12px; line-height: 1.65; }
.lifestyle-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.lifestyle-chip { min-height: 42px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); background: var(--paper); font-size: 11px; font-weight: 700; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.lifestyle-chip:hover, .lifestyle-chip.active, .lifestyle-chip[aria-pressed="true"] { border-color: var(--sage); color: white; background: var(--sage); }

.homes-section { width: min(1460px, calc(100% - 40px)); padding-bottom: 95px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 31px; }
.browse-note { max-width: 215px; color: var(--ink-muted); font-size: 11px; line-height: 1.55; }
.verified-dot { display: inline-grid; width: 16px; height: 16px; margin-right: 5px; place-items: center; border-radius: 50%; color: var(--paper); background: var(--sage); font-size: 9px; }
.market-layout { display: grid; align-items: start; gap: 22px; grid-template-columns: 216px minmax(0, 1fr); }
.filter-panel { position: sticky; top: 20px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.filter-title { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-kicker { display: block; margin-bottom: 7px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.filter-title h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 400; letter-spacing: -.04em; }
.icon-only { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 24px; line-height: 1; transition: .2s ease; }
.icon-only:hover { color: var(--paper); background: var(--ink); }
.filter-close { display: none; }
#listing-filters { display: grid; gap: 15px; padding-top: 17px; }
.filter-group legend { margin-bottom: 10px; color: var(--ink); font-size: 11px; font-weight: 700; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-pill { min-width: 45px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-muted); background: transparent; font-size: 10px; font-weight: 700; transition: .2s ease; }
.filter-pill.active, .filter-pill:hover { border-color: var(--ink); color: white; background: var(--ink); }
.field-label { display: grid; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 700; }
.field-label select { width: 100%; padding: 10px 28px 10px 11px; border: 1px solid var(--line); border-radius: 7px; outline: 0; color: var(--ink-muted); background: #fff; font-size: 11px; }
.clear-filters { justify-self: start; padding: 0; border: 0; color: var(--ink-muted); background: transparent; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.clear-filters:hover { color: var(--gold); }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.result-summary { margin-bottom: 5px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 24px; letter-spacing: -.04em; }
.result-help { margin: 0; color: var(--ink-muted); font-size: 11px; }
.results-actions { display: flex; align-items: center; gap: 12px; }
.sort-label { display: flex; align-items: center; gap: 7px; color: var(--ink-muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.sort-label select { padding: 9px 23px 9px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--paper); font-size: 11px; }
.filter-toggle { display: none; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--paper); font-size: 11px; font-weight: 700; }
.filter-toggle span { display: inline-grid; min-width: 16px; height: 16px; margin-left: 5px; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-size: 9px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.listing-card { overflow: hidden; border: 1px solid rgba(16,35,58,.08); border-radius: 14px; background: var(--paper); box-shadow: 0 8px 23px rgba(16,35,58,.06); transition: transform .25s ease, box-shadow .25s ease; }
.listing-card--interactive { cursor: pointer; }
.listing-card--interactive:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,35,58,.13); }
.listing-image { position: relative; height: 205px; overflow: hidden; background: #d5d6cf; }
.listing-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.listing-card:hover .listing-image img { transform: scale(1.04); }
.listing-badges { position: absolute; top: 13px; right: 13px; left: 13px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.listing-badge-stack { display: grid; gap: 6px; justify-items: start; }
.listing-badge, .listing-tag { padding: 7px 9px; border-radius: 99px; color: var(--ink); background: rgba(255,253,250,.93); font-size: 9px; font-weight: 700; }
.open-home-badge { color: #405947; background: rgba(236,244,237,.96); }
.save-button { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255,253,250,.94); font-size: 21px; line-height: 1; transition: .2s ease; }
.save-button.saved { color: #b45b58; background: white; }
.listing-body { padding: 16px; }
.listing-location { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: var(--ink-muted); font-size: 10px; }
.listing-location span:last-child { color: var(--sage); font-weight: 700; white-space: nowrap; }
.listing-title { margin-bottom: 14px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 400; letter-spacing: -.04em; }
.listing-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.listing-price strong { font-size: 14px; }
.listing-price small { color: var(--ink-muted); font-size: 9px; }
.listing-facts { display: flex; flex-wrap: wrap; gap: 6px 11px; margin-bottom: 18px; color: var(--ink-muted); font-size: 10px; }
.listing-facts span { position: relative; }
.listing-facts span + span::before { position: absolute; top: 2px; left: -6px; width: 2px; height: 2px; border-radius: 50%; content: ""; background: var(--gold); }
.listing-tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 16px; }
.discovery-tag { display: inline-flex; margin: 0; color: #43604b; background: var(--sage-pale); }
.listing-actions { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); }
.details-button { padding: 0; border: 0; color: var(--ink); background: transparent; font-size: 11px; font-weight: 700; }
.details-button span { margin-left: 4px; color: var(--gold); font-size: 16px; }
.compare-label { display: flex; align-items: center; gap: 5px; color: var(--ink-muted); font-size: 10px; }
.compare-label input { accent-color: var(--ink); }
.empty-state { padding: 60px 25px; border: 1px dashed var(--line); border-radius: 14px; background: rgba(255,253,250,.6); text-align: center; }
.empty-state > span { color: var(--gold); font-size: 40px; }
.empty-state h3 { margin: 8px 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; }
.empty-state p { max-width: 360px; margin: 0 auto 18px; color: var(--ink-muted); font-size: 12px; line-height: 1.6; }
.empty-state button { padding: 10px 15px; border: 0; border-radius: 7px; color: white; background: var(--ink); font-size: 11px; font-weight: 700; }

.open-homes-section { padding-bottom: 98px; }
.open-homes-heading { align-items: flex-end; }
.open-homes-summary { max-width: 220px; margin: 0; color: var(--ink-muted); font-size: 11px; line-height: 1.55; }
.open-homes-grid { display: grid; gap: 15px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.open-home-card { display: grid; min-height: 202px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 8px 22px rgba(16,35,58,.045); grid-template-columns: 112px minmax(0, 1fr); }
.open-home-card > img { width: 112px; height: 100%; object-fit: cover; background: var(--paper-deep); }
.open-home-body { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 17px 16px; }
.open-home-date { display: inline-flex; padding: 5px 7px; border-radius: 99px; color: #43604b; background: var(--sage-pale); font-size: 9px; font-weight: 700; }
.open-home-body h3 { margin: 11px 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 400; letter-spacing: -.04em; }
.open-home-body p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink-muted); font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.open-home-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 15px; }
.open-home-link, .open-home-reserve { padding: 0; border: 0; color: var(--ink-soft); background: transparent; font-size: 10px; font-weight: 700; }
.open-home-link { text-decoration: underline; text-underline-offset: 3px; }
.open-home-reserve { padding: 8px 9px; border-radius: 6px; color: white; background: var(--ink); }
.open-home-reserve:hover { background: #254664; }

.guidance-section { display: grid; overflow: hidden; margin-bottom: 97px; border-radius: 16px; color: var(--paper); background: var(--ink); grid-template-columns: .96fr 1.04fr; }
.guidance-image { min-height: 590px; background: linear-gradient(0deg, rgba(12,28,43,.12), rgba(12,28,43,.12)), url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat; }
.guidance-copy { padding: 75px clamp(32px, 6vw, 91px); }
.guidance-copy h2 { margin-bottom: 24px; color: white; font-size: clamp(43px, 5vw, 68px); }
.guidance-copy > p:not(.eyebrow) { max-width: 440px; color: rgba(255,255,255,.73); font-size: 14px; line-height: 1.75; }
.guidance-points { display: grid; gap: 12px; margin: 34px 0; }
.guidance-points span { color: rgba(255,255,255,.86); font-size: 13px; }
.guidance-points b { display: inline-block; width: 28px; color: var(--gold-soft); font-size: 10px; letter-spacing: .06em; }
.stakeholder-section { margin: 30px 0 26px; }
.stakeholder-heading { margin: 0 0 14px; color: var(--gold-soft); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.stakeholder-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stakeholder-card { display: grid; min-width: 0; justify-items: center; gap: 10px; text-align: center; }
.stakeholder-avatar { display: grid; width: 92px; height: 92px; overflow: hidden; place-items: center; border: 2px solid rgba(232,211,170,.9); border-radius: 50%; color: var(--ink); background: var(--gold-soft); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.stakeholder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.stakeholder-initials { font-family: Georgia, "Times New Roman", serif; font-size: 34px; }
.stakeholder-card--placeholder .stakeholder-avatar { border-style: dashed; background: linear-gradient(145deg, #f1d77c, #c99534); }
.stakeholder-photo-placeholder { position: relative; display: block; width: 100%; height: 100%; background: radial-gradient(circle at 50% 34%, rgba(13, 37, 58, .93) 0 15%, transparent 16%), radial-gradient(ellipse at 50% 103%, rgba(13, 37, 58, .93) 0 38%, transparent 39%); opacity: .78; }
.stakeholder-card strong { display: block; overflow: hidden; max-width: 100%; color: #fff; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.stakeholder-card > div:last-child > span { display: block; min-height: 1.5em; margin-top: 4px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.35; }
.stakeholder-phone { display: inline-block; margin-top: 5px; color: var(--gold-soft); font-size: 12px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.stakeholder-phone:hover { color: #fff; }
.stakeholder-card.stakeholder-card--placeholder strong { color: rgba(255,255,255,.84); }
.stakeholder-card.stakeholder-card--placeholder > div:last-child > span { color: rgba(255,255,255,.53); }
.advisor-button { padding: 13px 16px; border: 1px solid rgba(255,255,255,.56); border-radius: 99px; color: white; background: transparent; font-size: 11px; font-weight: 700; transition: .2s ease; }
.advisor-button:hover { color: var(--ink); background: white; }
.advisor-button span { margin-left: 5px; color: var(--gold-soft); }

.advisor-strip { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 58px max(32px, calc((100vw - 1240px) / 2)); color: white; background: #1b3d50 url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat; background-blend-mode: multiply; }
.advisor-strip h2 { margin-bottom: 12px; color: white; font-size: clamp(38px, 4vw, 56px); }
.advisor-strip p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.8); font-size: 13px; }
.advisor-strip button { padding: 14px 18px; border: 0; border-radius: 99px; color: var(--ink); background: var(--paper); font-size: 11px; font-weight: 700; white-space: nowrap; }
.advisor-strip button span { margin-left: 5px; color: var(--gold); font-size: 16px; }

footer { display: grid; align-items: center; gap: 25px; padding: 40px 0 48px; grid-template-columns: .72fr 1.35fr auto auto; }
.footer-brand { color: var(--ink); }
footer p, footer > span { margin: 0; color: #78838c; font-size: 12px; }
footer > span { text-align: right; }
.footer-links { display: flex; gap: 15px; color: var(--ink-muted); font-size: 12px; }
.footer-links button { padding: 0; border: 0; color: inherit; background: transparent; font-size: inherit; }
.footer-links a:hover, .footer-links button:hover { color: var(--gold); }

.toast-region { position: fixed; z-index: 100; top: 22px; right: 22px; display: grid; gap: 8px; max-width: min(360px, calc(100vw - 44px)); }
.toast { padding: 13px 16px; border-radius: 9px; color: white; background: var(--ink); box-shadow: var(--shadow); font-size: 12px; animation: toast-in .25s ease both; }
.toast.success { background: #355648; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.compare-tray { position: fixed; z-index: 20; right: 50%; bottom: 22px; display: flex; align-items: center; gap: 18px; width: min(820px, calc(100vw - 40px)); padding: 13px 15px 13px 19px; border: 1px solid rgba(255,255,255,.24); border-radius: 13px; color: white; background: rgba(16,35,58,.98); box-shadow: 0 18px 50px rgba(5,19,31,.28); transform: translateX(50%); }
.compare-copy { min-width: 143px; }
.compare-copy span { display: block; margin-bottom: 3px; color: var(--gold-soft); font-size: 9px; }
.compare-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-weight: 400; }
.compare-chips { display: flex; min-width: 0; flex: 1; gap: 7px; overflow: hidden; }
.compare-chip { overflow: hidden; max-width: 125px; padding: 7px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; color: rgba(255,255,255,.86); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.compare-actions { display: flex; align-items: center; gap: 12px; }
.compare-actions button { border: 0; color: rgba(255,255,255,.74); background: transparent; font-size: 10px; white-space: nowrap; }
.compare-actions button:last-child { padding: 10px 12px; border-radius: 6px; color: var(--ink); background: var(--gold-soft); font-weight: 700; }

.drawer, .modal { position: fixed; z-index: 50; inset: 0; display: grid; }
.drawer[aria-hidden="true"], .modal[aria-hidden="true"] { display: none; }
.drawer { grid-template-columns: 1fr min(520px, 100%); }
.drawer-scrim, .modal-scrim { grid-column: 1 / -1; grid-row: 1; background: rgba(7,20,33,.56); backdrop-filter: blur(3px); }
.drawer-panel { position: relative; z-index: 1; grid-column: 2; grid-row: 1; display: flex; min-height: 0; flex-direction: column; padding: 28px; background: var(--paper); box-shadow: -15px 0 50px rgba(5,19,31,.16); animation: drawer-in .25s ease both; }
@keyframes drawer-in { from { transform: translateX(25px); } to { transform: translateX(0); } }
.drawer-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.drawer-top h2 { font-size: 42px; }
.shortlist-content { flex: 1; overflow: auto; padding: 20px 0; }
.saved-item { display: grid; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); grid-template-columns: 104px 1fr; }
.saved-item img { width: 104px; height: 74px; border-radius: 7px; object-fit: cover; }
.saved-item small { display: block; margin-bottom: 5px; color: var(--ink-muted); font-size: 9px; }
.saved-item h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 400; }
.saved-item strong { font-size: 11px; }
.saved-item button { margin-top: 8px; padding: 0; border: 0; color: #a35d5a; background: transparent; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
.saved-empty { display: grid; min-height: 220px; place-items: center; color: var(--ink-muted); text-align: center; }
.saved-empty > div { max-width: 260px; }
.saved-empty span { color: var(--gold); font-size: 42px; }
.saved-empty h3 { margin: 8px 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 400; }
.saved-empty p { margin: 0; font-size: 12px; line-height: 1.6; }
.drawer-advisor { width: 100%; padding: 14px; border: 0; border-radius: 8px; color: white; background: var(--ink); font-size: 11px; font-weight: 700; }
.drawer-advisor span { margin-left: 4px; color: var(--gold-soft); }

.modal { place-items: center; overflow: auto; padding: 24px; }
.property-dialog, .inquiry-dialog, .compare-dialog, .policy-dialog { position: relative; z-index: 1; width: min(1100px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 15px; background: var(--paper); box-shadow: var(--shadow); animation: modal-in .23s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.property-close { position: absolute; z-index: 3; top: 17px; right: 17px; color: white; border-color: rgba(255,255,255,.45); background: rgba(8,24,39,.38); }
.property-close:hover { color: var(--ink); background: white; }
.property-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) 345px; }
.property-main { min-width: 0; }
.property-gallery { display: grid; height: 365px; grid-template-columns: 1.5fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 5px; background: #d5d6cf; }
.property-gallery img { width: 100%; height: 100%; object-fit: cover; }
.property-gallery img:first-child { grid-row: 1 / 3; }
.property-content { padding: 30px; }
.detail-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: var(--ink-muted); font-size: 10px; }
.detail-verified { color: var(--sage); font-weight: 700; }
.detail-title { margin-bottom: 15px; font-family: Georgia, "Times New Roman", serif; font-size: 43px; font-weight: 400; letter-spacing: -.055em; }
.detail-location { margin-bottom: 23px; color: var(--ink-muted); font-size: 12px; }
.detail-price { margin-bottom: 25px; font-size: 18px; }
.detail-price small { display: block; margin-top: 5px; color: var(--ink-muted); font-size: 10px; font-weight: 400; }
.detail-facts { display: grid; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 9px; grid-template-columns: repeat(4, 1fr); }
.detail-facts div { padding: 12px; border-right: 1px solid var(--line); }
.detail-facts div:last-child { border-right: 0; }
.detail-facts b { display: block; margin-bottom: 5px; font-size: 12px; }
.detail-facts span { color: var(--ink-muted); font-size: 9px; }
.detail-section { margin-top: 28px; }
.detail-section h3 { margin-bottom: 11px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 400; letter-spacing: -.04em; }
.detail-section p { color: var(--ink-muted); font-size: 12px; line-height: 1.7; }
.amenity-list { display: flex; flex-wrap: wrap; gap: 7px; }
.amenity-list span { padding: 8px 9px; border-radius: 99px; color: var(--ink-soft); background: var(--sage-pale); font-size: 10px; }
.nearby-grid { display: grid; gap: 7px; grid-template-columns: repeat(2, 1fr); }
.nearby-grid span { display: flex; justify-content: space-between; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-muted); font-size: 10px; }
.nearby-grid b { color: var(--ink); }
.detail-side { padding: 28px 23px; border-left: 1px solid var(--line); background: #fbf8f3; }
.side-price { margin-bottom: 21px; }
.side-price strong { display: block; margin-bottom: 5px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 400; letter-spacing: -.04em; }
.side-price span { color: var(--ink-muted); font-size: 10px; }
.side-actions { display: grid; gap: 9px; margin-bottom: 25px; }
.open-home-detail { display: grid; gap: 5px; margin: 0 0 13px; padding: 13px; border: 1px solid rgba(111,128,115,.3); border-radius: 8px; background: var(--sage-pale); }
.open-home-detail > span { color: #43604b; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.open-home-detail strong { color: var(--ink); font-size: 11px; }
.open-home-detail p { margin: 0; color: var(--ink-muted); font-size: 10px; line-height: 1.5; }
.primary-action, .secondary-action { padding: 13px 12px; border-radius: 7px; font-size: 11px; font-weight: 700; }
.primary-action { border: 0; color: white; background: var(--ink); }
.secondary-action { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.secondary-action.saved { border-color: #a35d5a; color: #9a4e4c; background: #fff7f6; }
.bhk-configurations { margin: 24px 0 0; overflow: hidden; border: 1px solid rgba(199,152,72,.35); border-radius: 10px; background: #fffaf1; }
.bhk-configuration-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 15px 15px 11px; }
.bhk-configurations h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 400; letter-spacing: -.03em; }
.bhk-configuration-title p { margin: 0; color: var(--ink-muted); font-size: 10px; text-align: right; }
.bhk-configuration-table { display: grid; border-top: 1px solid rgba(199,152,72,.26); }
.bhk-configuration-option { display: grid; width: 100%; min-height: 68px; padding: 0; border: 0; border-bottom: 1px solid rgba(199,152,72,.2); color: var(--ink); background: transparent; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: left; transition: background .18s ease, box-shadow .18s ease; }
.bhk-configuration-option:last-child { border-bottom: 0; }
.bhk-configuration-option:hover, .bhk-configuration-option.selected, .bhk-configuration-option[aria-pressed="true"] { background: #f4ead7; box-shadow: inset 3px 0 0 var(--gold); }
.bhk-configuration-option > span { display: grid; min-width: 0; align-content: center; gap: 4px; padding: 10px 13px; border-right: 1px solid rgba(199,152,72,.2); }
.bhk-configuration-option > span:last-child { border-right: 0; }
.bhk-configuration-option b { overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.bhk-configuration-option small { color: var(--ink-muted); font-size: 9px; font-weight: 400; }
.detail-tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-tag { padding: 8px 9px; border-radius: 99px; color: #43604b; background: var(--sage-pale); font-size: 10px; }
.similar-list { display: grid; gap: 9px; }
.similar-card { display: flex; gap: 9px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; color: inherit; background: white; text-align: left; }
.similar-card img { width: 50px; height: 42px; border-radius: 4px; object-fit: cover; }
.similar-card strong, .similar-card span { display: block; }
.similar-card strong { margin-bottom: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-weight: 400; }
.similar-card span { color: var(--ink-muted); font-size: 9px; }

.inquiry-dialog { width: min(585px, 100%); padding: 35px; }
.inquiry-dialog h2, .compare-dialog h2 { margin-bottom: 12px; font-size: 43px; }
.inquiry-context { margin-bottom: 24px; color: var(--ink-muted); font-size: 12px; line-height: 1.55; }
#inquiry-form { display: grid; gap: 13px; }
#inquiry-form label { display: grid; gap: 6px; color: var(--ink); font-size: 10px; font-weight: 700; }
#inquiry-form label span { color: var(--ink-muted); font-weight: 400; }
#inquiry-form input, #inquiry-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; outline: 0; color: var(--ink); background: #fff; font-size: 12px; }
#inquiry-form textarea { resize: vertical; }
#inquiry-form button, .inquiry-success button { padding: 13px; border: 0; border-radius: 7px; color: white; background: var(--ink); font-size: 11px; font-weight: 700; }
#inquiry-form button span { margin-left: 4px; color: var(--gold-soft); }
#inquiry-form small { color: var(--ink-muted); font-size: 9px; line-height: 1.45; }
.form-error { margin: -2px 0 0; color: #ad4848; font-size: 10px; }
.inquiry-success { padding: 53px 18px 28px; text-align: center; }
.inquiry-success > span { display: grid; width: 44px; height: 44px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: white; background: var(--sage); font-size: 22px; }
.inquiry-success h2 { margin-bottom: 13px; }
.inquiry-success p:not(.eyebrow) { max-width: 350px; margin: 0 auto 25px; color: var(--ink-muted); font-size: 12px; line-height: 1.65; }

.compare-dialog { width: min(980px, 100%); padding: 36px; }
.comparison-table { display: grid; overflow-x: auto; gap: 0; margin-top: 27px; border: 1px solid var(--line); border-radius: 9px; grid-template-columns: 130px repeat(var(--compare-columns, 2), minmax(190px, 1fr)); }
.comparison-table > div { min-width: 0; padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 10px; }
.comparison-table > div:nth-last-child(-n + var(--compare-columns, 2)) { border-bottom: 0; }
.comparison-table .compare-label-cell { color: var(--ink-muted); font-weight: 700; background: #faf6ef; }
.comparison-table .compare-property { padding: 0; }
.compare-property img { width: 100%; height: 115px; object-fit: cover; }
.compare-property div { padding: 11px; }
.compare-property strong, .compare-property span { display: block; }
.compare-property strong { margin-bottom: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 400; }
.compare-property span { color: var(--ink-muted); font-size: 9px; }

@media (max-width: 1280px) {
  .homes-section { width: min(1240px, calc(100% - 48px)); }
  .market-layout { grid-template-columns: 225px minmax(0, 1fr); }
  .listing-image { height: 218px; }
}

@media (max-width: 1024px) {
  .topbar, .hero-content, .lifestyle-section, .homes-section, .open-homes-section, .guidance-section, footer { width: min(100% - 44px, 1240px); }
  .nav-links { gap: 20px; }
  .market-layout { grid-template-columns: 225px minmax(0, 1fr); gap: 20px; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .listing-image { height: 205px; }
  .guidance-copy { padding: 57px 42px; }
  footer { grid-template-columns: .9fr 1.3fr auto; }
  .footer-links { grid-column: 2 / 3; }
  footer > span { grid-column: 3 / 4; grid-row: 1 / 3; }
}

@media (max-width: 900px) {
  .hero { min-height: 760px; background-position: 62% center; }
  .topbar, .hero-content, .lifestyle-section, .homes-section, .open-homes-section, .guidance-section, footer { width: min(100% - 36px, 1240px); }
  .topbar { padding: 20px 0; }
  .topbar .brand-mark { width: 54px; height: 54px; border-radius: 8px; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-content { padding-top: 93px; }
  .hero-copy { max-width: 370px; font-size: 15px; }
  .search-fields { padding: 4px 0 13px; grid-template-columns: 1fr; }
  .search-fields label { min-height: 63px; padding: 13px 18px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .search-fields .budget-field { border-bottom: 0; }
  .search-button { margin: 7px 14px 0; }
  .lifestyle-section { display: block; padding: 36px 0 44px; }
  .lifestyle-section h2 { margin-bottom: 13px; font-size: 39px; }
  .lifestyle-chips { justify-content: flex-start; margin-top: 22px; }
  .section-heading { align-items: flex-start; gap: 18px; }
  .section-heading h2 { font-size: 39px; }
  .browse-note { display: none; }
  .market-layout { display: block; }
  .filter-scrim { position: fixed; z-index: 45; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: rgba(7,20,33,.54); backdrop-filter: blur(3px); }
  .filter-panel { position: fixed; z-index: 46; top: 0; right: 0; bottom: 0; width: min(375px, 92vw); max-width: 100%; padding: max(23px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(23px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 0; box-shadow: -15px 0 50px rgba(5,19,31,.18); transform: translateX(105%); transition: transform .25s ease; }
  .filter-panel.open { transform: translateX(0); }
  .filter-close { display: grid; }
  .filter-toggle { display: inline-block; }
  .results-toolbar { align-items: flex-start; }
  .results-actions { gap: 7px; }
  .sort-label { font-size: 0; }
  .sort-label select { font-size: 10px; }
  .listing-grid { grid-template-columns: 1fr; gap: 17px; }
  .listing-image { height: 230px; }
  .open-homes-section { padding-bottom: 67px; }
  .open-homes-heading { display: block; }
  .open-homes-summary { margin-top: 13px; }
  .open-homes-grid { grid-template-columns: 1fr; }
  .guidance-section { display: block; margin-bottom: 68px; }
  .guidance-image { min-height: 295px; }
  .guidance-copy { padding: 48px 28px; }
  .advisor-strip { display: block; padding: 48px 18px; }
  .advisor-strip > div { margin-bottom: 24px; }
  .advisor-strip button { width: 100%; }
  footer { display: grid; gap: 16px; padding: 34px 0; grid-template-columns: 1fr; }
  .footer-links, footer > span { grid-column: auto; grid-row: auto; }
  footer > span { text-align: left; }
  .compare-tray { bottom: 12px; display: grid; gap: 10px; padding: 13px; grid-template-columns: 1fr auto; }
  .compare-copy { min-width: 0; }
  .compare-chips { display: none; }
  .compare-actions { grid-column: 1 / -1; justify-content: space-between; }
  .drawer { grid-template-columns: 0 1fr; }
  .drawer-panel { grid-column: 2; padding: 22px; }
  .modal { padding: 12px; }
  .property-dialog, .inquiry-dialog, .compare-dialog, .policy-dialog { max-height: calc(100vh - 24px); }
  .property-layout { display: block; }
  .property-gallery { height: 250px; }
  .property-content { padding: 24px 20px; }
  .detail-title { font-size: 35px; }
  .detail-facts { grid-template-columns: repeat(2, 1fr); }
  .detail-facts div:nth-child(2) { border-right: 0; }
  .detail-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .detail-side { padding: 24px 20px; border-top: 1px solid var(--line); border-left: 0; }
  .inquiry-dialog, .compare-dialog { padding: 28px 19px; }
  .inquiry-dialog h2, .compare-dialog h2 { font-size: 36px; }
  .comparison-table { grid-template-columns: 108px repeat(var(--compare-columns, 2), minmax(165px, 1fr)); }
}

@media (max-width: 460px) {
  .nav-actions { gap: 8px; }
  .shortlist-link { font-size: 11px; }
  h1 { font-size: 52px; }
  .hero-trust { gap: 10px 16px; }
  .intent-switch { gap: 16px; }
  .city-picker button { padding: 9px 12px; }
  .results-toolbar { display: block; }
  .results-actions { margin-top: 13px; }
  .property-gallery { height: 220px; }
  .nearby-grid { grid-template-columns: 1fr; }
  .property-close { top: 10px; right: 10px; }
}

/* Brochures are deliberately shown only in the matching home detail. */
.detail-brochure-card { display: grid; gap: 14px; margin: 22px 30px 0; padding: 19px; border: 1px solid rgba(199, 152, 72, .45); border-radius: 12px; background: #fff9ef; }
.detail-brochure-card-head { display: flex; min-width: 0; align-items: center; gap: 12px; }
.brochure-document-mark { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(166, 103, 76, .24); border-radius: 50%; color: #954d35; background: #fff0ea; font-size: 15px; font-weight: 700; }
.detail-brochure-card h3 { margin: 0; overflow: hidden; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 400; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.detail-brochure-card p { margin: 4px 0 0; color: var(--ink-muted); font-size: 12px; line-height: 1.45; }
.detail-brochure-list { display: flex; flex-wrap: wrap; gap: 8px; }
.brochure-detail-action { display: inline-flex; min-height: 42px; width: fit-content; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 8px; color: white; background: var(--ink); font-size: 12px; font-weight: 700; transition: background .18s ease, transform .18s ease; }
.brochure-detail-action > span { color: var(--gold-soft); font-size: 16px; font-weight: 700; }
.brochure-detail-action b { color: white; }
.brochure-detail-action small { color: rgba(255,255,255,.68); font-size: 10px; font-weight: 400; }
.brochure-detail-action:hover { background: #254664; transform: translateY(-1px); }

.brand-logo-frame { position: relative; overflow: hidden; border: 1px solid rgba(240, 197, 80, .88); border-radius: 9px; background: #050505; box-shadow: 0 2px 9px rgba(0, 0, 0, .2); }
/* Use the emblem only: the adjacent HTML wordmark remains crisp at every
   display size, while the raster logo's tiny embedded lettering is omitted. */
.brand-logo { position: absolute; top: -9%; left: -27.5%; display: block; width: 155%; height: auto; max-width: none; }
.footer-brand .brand-logo-frame { width: 72px; height: 72px; border-color: #b78322; }

/* Responsive safeguards for touch screens, notched phones and short viewports. */
body.is-scroll-locked { overscroll-behavior: none; }

.property-gallery { position: relative; }
.property-gallery > img:nth-of-type(n + 4) { display: none; }
.gallery-more { position: absolute; z-index: 2; right: 12px; bottom: 12px; min-height: 36px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.42); border-radius: 7px; color: white; background: rgba(8,24,39,.78); box-shadow: 0 6px 18px rgba(5,19,31,.2); font-size: 10px; font-weight: 700; }
.gallery-more:hover { background: var(--ink); }
.property-gallery.gallery-expanded { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
.property-gallery.gallery-expanded > img { display: block; min-width: 100%; height: 100%; flex: 0 0 100%; object-fit: cover; scroll-snap-align: start; }
.property-gallery.gallery-expanded > img:first-child { grid-row: auto; }

@media (max-width: 900px) {
  .topbar { padding-top: max(20px, env(safe-area-inset-top)); }
  .mobile-menu { top: calc(72px + env(safe-area-inset-top)); max-height: calc(100dvh - 92px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; }
  .hero { min-height: max(700px, 100svh); }
  .toast-region { top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); left: max(14px, env(safe-area-inset-left)); max-width: none; }
  .compare-tray { bottom: max(12px, env(safe-area-inset-bottom)); }
  .drawer-panel { padding: max(22px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
  .modal { min-height: 100dvh; }
  .property-dialog, .inquiry-dialog, .compare-dialog, .policy-dialog { max-height: calc(100dvh - 24px); }
}

@media (max-width: 460px) {
  h1 { font-size: clamp(43px, 14vw, 52px); }
  .hero { min-height: max(680px, 100svh); }
  .hero-content { padding-top: 78px; padding-bottom: 54px; }
  .mobile-menu { right: 12px; left: 12px; }
  .detail-brochure-card { margin: 18px 20px 0; }
  .brochure-detail-action { width: 100%; justify-content: center; }
  .bhk-configuration-title { display: block; }
  .bhk-configuration-title p { margin-top: 5px; text-align: left; }
  .bhk-configuration-option { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhk-configuration-option > span:nth-child(2) { border-right: 0; }
  .bhk-configuration-option > span:nth-child(-n + 2) { border-bottom: 1px solid rgba(199,152,72,.2); }
}

@media (max-width: 360px) {
  .topbar, .hero-content, .lifestyle-section, .homes-section, .open-homes-section, .guidance-section, footer { width: min(100% - 28px, 1240px); }
  .brand-mark, .topbar .brand-mark { width: 48px; height: 48px; }
  .footer-brand .brand-logo-frame { width: 62px; height: 62px; }
  .hero-trust { font-size: 10px; }
  .guidance-copy { padding: 40px 20px; }
}

@media (pointer: coarse) {
  .menu-toggle, .icon-only, .save-button { width: 44px; height: 44px; }
  .shortlist-link, .nav-cta, .filter-toggle, .filter-pill, .city-picker button, .lifestyle-chip, .details-button, .open-home-link, .open-home-reserve, .advisor-button, .advisor-strip button, .gallery-more { min-height: 44px; }
  .brochure-detail-action { min-height: 44px; }
}

/* Branded contact and footer presentation. The square logo remains uncropped;
   the readable company name is intentionally kept beside it. */
.hero { min-height: 790px; }
.hero-contact-bar { width: min(1240px, calc(100% - 64px)); min-height: 38px; margin: 0 auto; padding-top: 13px; }
.hero-contact-bar-inner { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 21px; color: rgba(255,255,255,.86); font-size: 13px; }
.hero-contact-bar-inner > * { display: inline-flex; align-items: center; gap: 7px; }
.hero-contact-bar-inner > *::before { color: var(--gold-soft); font-size: 12px; }
#hero-contact-location::before { content: "⌖"; }
#hero-contact-phone::before { content: "☎"; }
#hero-contact-email::before { content: "✉"; }
.hero-contact-bar a:hover { color: #fff; }
.topbar { position: relative; padding: 18px 0 20px; }
.brand-lockup { gap: 12px; }
.brand-logo-frame { flex: 0 0 auto; aspect-ratio: 1; }
.brand-copy { gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 36px; letter-spacing: -.03em; line-height: .9; white-space: nowrap; }
.brand-copy small { margin-top: 0; font-size: 10px; font-weight: 700; letter-spacing: .22em; line-height: 1; white-space: nowrap; }
.topbar .brand-copy strong { font-size: 36px; }
.topbar .brand-copy small { font-size: 10px; }
.topbar .brand-mark { width: 116px; height: 116px; }
.nav-links { font-size: 15px; }
.shortlist-link, .nav-cta { font-size: 14px; }
.mobile-menu { top: calc(100% + 10px); right: 0; left: auto; width: min(320px, calc(100vw - 36px)); }

/* Give the lifestyle choice a calmer standalone section on wide displays. */
.lifestyle-section { display: block; padding: 66px 0 60px; }
.lifestyle-section h2 { font-size: clamp(46px, 4.3vw, 62px); white-space: nowrap; }
.lifestyle-copy { margin-top: 18px; }
.lifestyle-chips { justify-content: flex-start; margin-top: 28px; }
.homes-section { padding-top: 12px; }

/* Larger, readable stakeholder profiles and clear calls to action. */
.stakeholder-section { margin: 36px 0 30px; }
.stakeholder-grid { gap: 24px; }
.stakeholder-avatar { width: 108px; height: 108px; }
.stakeholder-card { gap: 12px; }
.stakeholder-card-copy { min-width: 0; }
.stakeholder-card strong { overflow: visible; font-size: 16px; line-height: 1.2; text-overflow: clip; white-space: normal; }
.stakeholder-grid .stakeholder-card > .stakeholder-card-copy > span { display: block; min-height: 1.5em; margin-top: 6px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.4; }
.stakeholder-phone { margin-top: 9px; font-size: 13px; line-height: 1.4; }
.advisor-button { min-height: 56px; padding: 16px 28px; font-size: 14px; }
.advisor-strip button { min-width: 280px; min-height: 68px; padding: 20px 34px; font-size: 15px; }

/* The footer is a genuine business-information area, not a row of dead links. */
.site-footer { display: grid; align-items: start; gap: 28px; padding: 52px 0 0; grid-template-columns: minmax(230px, .9fr) minmax(230px, 1fr) minmax(220px, .9fr); }
.footer-brand-area { display: grid; gap: 18px; align-content: start; }
.footer-brand .brand-logo-frame { width: 78px; height: 78px; }
.footer-brand .brand-copy strong { font-size: 28px; }
.footer-brand-area > p { max-width: 255px; margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 1.55; }
.footer-contact-card, .footer-regulatory-card { min-width: 0; padding: 4px 0 0; }
.footer-kicker { margin: 0 0 13px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.footer-location, .footer-address, .footer-regulatory-card > p:last-child { margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 1.55; }
.footer-address { margin-top: 6px; white-space: pre-line; }
.footer-contact-links { display: grid; gap: 7px; margin-top: 13px; }
.footer-contact-links a, .footer-map-link { width: fit-content; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.footer-contact-links a:hover, .footer-map-link:hover { color: var(--gold); }
.footer-map-link { display: inline-flex; gap: 6px; margin-top: 14px; text-decoration: underline; text-underline-offset: 4px; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 9px; }
.footer-social-link { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: transparent; line-height: 1; transition: transform .18s ease, filter .18s ease; }
.footer-social-link span, .footer-social-link svg { display: block; width: 100%; height: 100%; }
.footer-social-link:hover { filter: brightness(1.06) saturate(1.1); transform: translateY(-2px) scale(1.04); }
.footer-contact-hub { display: grid; min-width: 0; grid-column: 1 / -1; justify-items: center; gap: 12px; padding: 26px 18px; border-top: 1px solid var(--line); text-align: center; }
.footer-hub-phone { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; font-weight: 700; }
.footer-hub-phone::before { color: var(--gold); content: "☎"; font-size: 15px; line-height: 1; }
.footer-hub-phone:hover { color: var(--gold); }
.footer-hub-detail { max-width: 720px; margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 1.55; white-space: pre-line; }
.footer-contact-hub .footer-social-links { justify-content: center; }
.footer-bottom { display: flex; grid-column: 1 / -1; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 18px; padding: 22px 0 28px; border-top: 1px solid var(--line); }
.footer-bottom .footer-social-links { align-items: center; }
.footer-bottom .footer-social-link { width: 38px; height: 38px; }
.footer-bottom .footer-social-link svg { width: 19px; height: 19px; }
.footer-bottom > span, .footer-developer-credit { margin: 0; color: #78838c; font-size: 12px; }
.footer-developer-credit:hover { color: var(--gold); }
.footer-developer-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(120,131,140,.45); text-underline-offset: 3px; }
.footer-policy-links { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 7px; order: 4; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 12px; }
.footer-policy-links button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-decoration: underline; text-decoration-color: rgba(120,131,140,.44); text-underline-offset: 3px; }
.footer-policy-links button:hover { color: var(--gold); text-decoration-color: currentColor; }
.policy-dialog { width: min(720px, 100%); padding: clamp(28px, 5vw, 52px); }
.policy-dialog .eyebrow { margin-bottom: 10px; }
.policy-dialog h2 { max-width: 560px; margin: 0 36px 24px 0; color: var(--ink); font-size: clamp(34px, 5vw, 52px); }
.policy-content { display: grid; gap: 22px; }
.policy-image { display: block; width: 100%; max-height: 330px; border-radius: 10px; object-fit: cover; }
.policy-copy { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.78; white-space: pre-wrap; }

@media (max-width: 1049px) {
  .lifestyle-section { padding: 52px 0 50px; }
  .lifestyle-section h2 { font-size: clamp(42px, 5vw, 56px); }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-regulatory-card { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero { min-height: max(700px, 100svh); }
  .hero-contact-bar { display: none; }
  .topbar { gap: 12px; padding: max(20px, env(safe-area-inset-top)) 0 20px; }
  .topbar .brand { flex: 1 1 auto; min-width: 0; }
  .topbar .brand-mark { width: 72px; height: 72px; }
  .topbar .brand-copy strong { font-size: 23px; }
  .topbar .brand-copy small { font-size: 8px; }
  .nav-actions { flex: 0 0 auto; margin-left: auto; }
  .mobile-menu { top: calc(100% + 10px); right: 0; left: auto; }
  .lifestyle-section { padding: 40px 0 44px; }
  .lifestyle-section h2 { font-size: 43px; white-space: normal; }
  .lifestyle-chips { margin-top: 23px; }
  .guidance-section { margin-bottom: 44px; }
  .advisor-button { width: 100%; min-height: 58px; font-size: 14px; }
  .advisor-strip button { min-width: 0; min-height: 72px; padding: 20px 24px; font-size: 16px; }
  .site-footer { display: grid; gap: 26px; padding-top: 42px; grid-template-columns: 1fr; }
  .footer-regulatory-card, .footer-bottom { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 20px 0 32px; }
}

@media (max-width: 620px) {
  .stakeholder-grid { grid-template-columns: 1fr; gap: 16px; }
  .stakeholder-card { display: grid; align-items: center; justify-items: start; gap: 16px; text-align: left; grid-template-columns: 104px minmax(0, 1fr); }
  .stakeholder-avatar { width: 104px; height: 104px; }
  .stakeholder-card strong { font-size: 18px; }
  .stakeholder-phone { margin-top: 10px; font-size: 14px; }
}

@media (max-width: 360px) {
  .topbar .brand-mark { width: 64px; height: 64px; }
  .topbar .brand-copy strong { font-size: 20px; }
  .topbar .brand-copy small { font-size: 7px; }
  .topbar { gap: 8px; }
  .nav-actions { gap: 5px; }
}

/* Keep the desktop landing screen compact enough that the full search panel
   appears together with the hero message, without changing the mobile flow. */
@media (min-width: 901px) {
  .hero { min-height: 730px; }
  .hero-content { padding: 62px 0 48px; }
  .hero-copy { margin-bottom: 26px; }
  .hero-trust { margin-top: 18px; }
}

@media (min-width: 1050px) {
  .lifestyle-section { padding: 50px 0 42px; }
  .lifestyle-chips { margin-top: 22px; }
  .homes-section { padding-top: 0; }
}
