/* Homes with Vera — site styles */
:root {
  --navy: #16324F;
  --navy-dark: #0B1D30;
  --ivory: #FBFAF7;
  --stone: #F4F1EB;
  --line: #E2DCD0;
  --line-2: #D8D0C1;
  --gold: #B08D57;
  --gold-text: #8A6A3B;
  --gold-light: #D9C29A;
  --muted: #56606D;
  --light: #C9D3DC;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--navy); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
input, select, textarea, button { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
h2 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.08; margin-bottom: 16px; }
p { margin: 0; }
.sr-only, .hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -10000px; top: 8px; background: var(--navy); color: var(--ivory); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 880px; }
.section { padding: 112px 0; background: var(--ivory); }
.section.stone, .stone { background: var(--stone); }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.light { color: var(--light); }
.light-gold { color: var(--gold-light) !important; }
.gold { color: var(--gold-text); }
.normal { font-weight: 400; letter-spacing: .02em; text-transform: none; }
.small { font-size: 14px; }
.tiny { font-size: 12px; line-height: 1.6; }
.caps { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.body-lg { font-size: 18px; line-height: 1.75; }
.intro { font-size: 18px; color: var(--muted); max-width: 620px; margin-bottom: 56px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rule { display: inline-block; width: 40px; height: 1px; background: var(--gold); }
.gold-rule { width: 48px; height: 1px; background: var(--gold); margin: 22px 0 16px; }

/* Buttons */
.btn, .btn-outline, .btn-light, .btn-outline-light { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 16px 30px; border-radius: 2px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid var(--navy); transition: background .15s, color .15s; }
.btn { background: var(--navy); color: var(--ivory); }
.btn:hover { background: var(--navy-dark); color: var(--ivory); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn-outline-light:hover { background: var(--ivory); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-caps { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.link-caps.sm { font-size: 11px; }
.text-btn { border: none; background: none; color: var(--navy); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; min-height: 44px; cursor: pointer; padding: 0 4px; }
.icon-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(251,250,247,.5); background: transparent; color: var(--ivory); border-radius: 2px; cursor: pointer; flex-shrink: 0; }
.icon-btn.dark { border: none; color: var(--navy); width: 44px; height: 44px; }

/* Header */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 16px; padding-bottom: 16px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.nav a:not(.btn-outline) { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:not(.btn-outline):hover { text-decoration: underline; }

/* Hero */
.hero { padding: 96px 0 104px; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-size: clamp(52px, 7vw, 88px); line-height: 1; letter-spacing: -.01em; margin-bottom: 28px; }
.lead { font-size: 19px; line-height: 1.7; color: var(--muted); max-width: 520px; margin-bottom: 40px; }
.rating { margin-top: 32px; text-decoration: none; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-height: 44px; font-size: 14px; font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.hero .small { margin-top: 10px; }
.hero-photo { flex: 1 1 420px; max-width: 560px; min-width: 0; position: relative; padding: 0 0 24px 24px; }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }
.frame { position: absolute; width: 82%; height: 82%; border: 1px solid var(--gold); }
.frame-bl { left: 0; bottom: 0; }
.frame-tr { right: 0; top: 0; }
.hero-tag { position: absolute; right: 20px; bottom: 48px; background: var(--ivory); border: 1px solid var(--line); padding: 16px 20px; max-width: 250px; }
.hero-tag .serif { font-size: 22px; font-weight: 600; line-height: 1.1; margin-bottom: 4px; }
.hero-tag p:last-child { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Dealer strip */
.dealer-strip { background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; padding-top: 26px; padding-bottom: 26px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.strip-inner a { font-weight: 600; }

/* About */
.about { padding-bottom: 0; }
.about-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.about-photo { flex: 1 1 320px; max-width: 440px; min-width: 0; position: relative; padding: 24px 24px 0 0; }
.about-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.about-copy { flex: 1 1 440px; min-width: 0; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy .body-lg { color: var(--muted); margin-bottom: 18px; }
.signature { font-family: var(--serif); font-size: 34px; font-style: italic; line-height: 1; margin: 10px 0 6px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 40px; }
.steps li { flex: 1 1 220px; min-width: 0; border-top: 1px solid var(--line-2); padding-top: 28px; }
.steps .num { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold-text); margin-bottom: 14px; }
.steps h3 { font-size: 27px; font-weight: 600; line-height: 1.15; margin-bottom: 10px; }
.steps p { color: var(--muted); }

/* Homes */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head .intro { margin-bottom: 0; }
.filters { background: #fff; border: 1px solid var(--line); padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.filter-label { width: 110px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 10px 18px; border-radius: 2px; min-height: 44px; border: 1px solid #C9C1B2; background: transparent; color: var(--navy); }
.pill:hover { border-color: var(--navy); }
.pill[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; min-height: 44px; }
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.home-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.home-photo { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: none; background: #ECE7DD; cursor: pointer; }
.home-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-count { position: absolute; right: 12px; bottom: 12px; background: rgba(251,250,247,.95); color: var(--navy); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; display: inline-flex; align-items: center; gap: 8px; }
.home-body { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.home-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; min-height: 24px; }
.badge { padding: 3px 10px; border: 1px solid #C9C1B2; color: var(--muted); }
.badge.display { border-color: var(--gold); color: var(--gold-text); }
.home-body h3 { font-size: 29px; font-weight: 600; line-height: 1.1; margin-top: 2px; }
.specs { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.typeline { font-size: 14px; color: var(--muted); }
.home-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid #ECE7DD; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.home-foot a { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; }
.no-results { background: #fff; border: 1px solid var(--line); padding: 48px 32px; text-align: center; }
.no-results .serif { font-size: 30px; margin-bottom: 10px; }
.no-results .muted { margin-bottom: 24px; }
.fine { margin-top: 36px; font-size: 15px; color: var(--muted); }
.fine a { font-weight: 600; }

/* Payments */
.note-banner { display: flex; align-items: center; gap: 16px; border: 1px solid var(--gold); background: var(--stone); padding: 16px 22px; margin: -24px 0 48px; }
.note-banner svg { flex-shrink: 0; }
.note-banner strong { font-weight: 600; }
.calc { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.calc-inputs { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.range-head label, .label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.label { display: block; margin-bottom: 8px; }
.range-head output { font-size: 26px; font-weight: 600; }
input[type="range"] { width: 100%; accent-color: var(--navy); height: 28px; }
select, input[type="text"], input[type="tel"], textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #7A8590; border-radius: 2px; background: #fff; color: var(--navy); font-size: 16px; }
textarea { resize: vertical; min-height: 90px; }
.calc-result { flex: 1 1 340px; min-width: 0; background: var(--navy); color: var(--ivory); padding: 44px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.big-number { font-family: var(--serif); font-size: clamp(52px, 6.4vw, 72px); line-height: 1; margin-top: 10px; }
.breakdown { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--light); }
.breakdown div { display: flex; justify-content: space-between; gap: 16px; }
.breakdown dd { margin: 0; color: var(--ivory); }

/* Reviews */
.reviews { display: flex; flex-wrap: wrap; gap: 24px; }
.review { flex: 1 1 240px; min-width: 0; margin: 0; background: #fff; border: 1px solid var(--line); padding: 34px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.review .stars { font-size: 14px; letter-spacing: 5px; margin-bottom: 18px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 25px; font-style: italic; line-height: 1.3; }
.review figcaption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.review figcaption strong { color: var(--navy); font-weight: 600; }
.center-btn { margin: 32px 0 96px; }
.subhead { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 32px; }
.keys { display: flex; flex-wrap: wrap; gap: 24px; }
.keys figure { flex: 1 1 260px; min-width: 0; margin: 0; }
.keys img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.keys figcaption { margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

/* Referral */
.referral { background: var(--navy); color: var(--ivory); }
.referral-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-top: 72px; padding-bottom: 72px; }
.referral-inner > div { flex: 1 1 460px; min-width: 0; }
.referral .gold-rule { margin: 0 0 22px; }
.referral h2 { font-size: clamp(32px, 3.8vw, 44px); line-height: 1.1; margin-bottom: 10px; color: var(--ivory); }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.2; min-height: 44px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.plus { font-family: var(--sans); font-size: 26px; font-weight: 300; color: var(--gold-text); transition: transform .2s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { margin: 0 0 28px; color: var(--muted); max-width: 720px; }

/* Contact */
.contact { background: var(--navy); color: var(--ivory); }
.contact-inner { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 112px; padding-bottom: 112px; }
.contact-copy { flex: 1 1 340px; min-width: 0; }
.contact-copy h2 { color: var(--ivory); margin-bottom: 20px; }
.contact-copy .body-lg { margin-bottom: 44px; }
.contact-copy .caps { margin-bottom: 8px; }
.phone { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--ivory); font-family: var(--serif); font-size: 36px; border-bottom: 1px solid var(--gold); margin-bottom: 40px; }
.phone:hover { color: #fff; }
.address { font-size: 18px; }
.form-card { flex: 1 1 500px; min-width: 0; background: var(--ivory); color: var(--navy); padding: 44px 40px; }
#lead-form { display: flex; flex-direction: column; gap: 22px; }
.two { display: flex; flex-wrap: wrap; gap: 20px; }
.two > div { flex: 1 1 200px; min-width: 0; }
.form-error { color: #9B2C2C; background: #FDF2F2; border: 1px solid #F0C9C9; padding: 12px 14px; font-size: 15px; }
.thanks { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 0; }
.thanks h3 { font-size: 36px; }
.check { width: 60px; height: 60px; border-radius: 999px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.videos a { text-decoration: none; color: var(--navy); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vthumb { position: relative; display: block; margin-bottom: 10px; }
.vthumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.play { position: absolute; left: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 999px; background: rgba(251,250,247,.94); display: flex; align-items: center; justify-content: center; }
.vtitle { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.2; }

/* Footer */
.site-footer { background: var(--ivory); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 104px; font-size: 13px; color: var(--muted); }
.footer-inner img { height: 44px; width: auto; }
.footer-inner a { color: var(--muted); }
.langs { flex-basis: 100%; padding-top: 16px; border-top: 1px solid #ECE7DD; }

/* Gallery */
.gallery { position: fixed; inset: 0; z-index: 100; background: rgba(10,20,32,.95); display: flex; align-items: flex-start; justify-content: center; padding: 20px; overflow-y: auto; }
.gallery[hidden] { display: none; }
.g-inner { width: 100%; max-width: 880px; margin: auto; display: flex; flex-direction: column; gap: 14px; color: var(--ivory); }
.g-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.g-head h3 { font-size: clamp(30px, 4vw, 42px); line-height: 1.05; color: var(--ivory); margin: 6px 0 8px; }
.g-tools { display: flex; align-items: center; gap: 18px; }
.g-stage { position: relative; width: 100%; aspect-ratio: 3 / 2; max-height: calc(100vh - 290px); min-height: 220px; background: #0B1622; overflow: hidden; }
.g-stage img { width: 100%; height: 100%; object-fit: contain; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: none; border-radius: 999px; background: rgba(251,250,247,.92); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.g-thumbs button { width: 88px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; border-radius: 2px; background: #0B1622; cursor: pointer; opacity: .65; overflow: hidden; }
.g-thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.g-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 4px; }
.g-price { font-size: 30px; }

/* Chat */
.chat-toggle { position: fixed; right: 24px; bottom: 24px; z-index: 96; display: inline-flex; align-items: center; gap: 12px; background: var(--navy); color: var(--ivory); border: none; border-radius: 999px; padding: 7px 22px 7px 7px; min-height: 60px; box-shadow: 0 12px 32px rgba(22,50,79,.3); cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.chat-toggle img { width: 46px; height: 46px; border-radius: 999px; object-fit: cover; border: 2px solid var(--gold); }
.chat-toggle[hidden] { display: none; }
.chat-panel { position: fixed; right: 24px; bottom: 100px; z-index: 95; width: 380px; max-width: calc(100vw - 32px); max-height: calc(100vh - 130px); background: var(--ivory); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(22,50,79,.22); display: flex; flex-direction: column; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 10px 14px 18px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.chat-head > div { flex-grow: 1; min-width: 0; }
.chat-head .serif { font-size: 22px; font-weight: 600; line-height: 1.1; }
.chat-log { padding: 18px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; flex: 1; min-height: 160px; }
.bubble { max-width: 92%; padding: 11px 14px; font-size: 15px; line-height: 1.5; }
.bubble p { margin: 0 0 6px; } .bubble p:last-child { margin: 0; }
.bubble ul { margin: 4px 0 6px; padding-left: 18px; }
.bubble.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); }
.bubble.me { align-self: flex-end; background: var(--navy); color: var(--ivory); }
.bubble.thinking { color: var(--muted); font-style: italic; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-chips button { font-size: 13px; color: var(--navy); background: transparent; border: 1px solid #C9C1B2; padding: 8px 12px; min-height: 40px; border-radius: 2px; cursor: pointer; text-align: left; }
.chat-chips button:hover { border-color: var(--navy); }
.chat-form { display: flex; gap: 8px; padding: 14px 18px 16px; border-top: 1px solid var(--line); }
.chat-form input { min-height: 46px; font-size: 15px; }
.chat-form .btn { min-height: 46px; padding: 0 16px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-inner, .about-inner, .contact-inner { gap: 44px; }
  .hero-tag { right: 10px; bottom: 34px; max-width: 220px; padding: 12px 14px; }
  .nav { gap: 0 18px; font-size: 12px; }
  .filters { padding: 20px 16px; }
  .filter-label { width: 100%; }
  .calc-result, .form-card { padding: 32px 22px; }
  .contact-inner { padding-top: 80px; padding-bottom: 80px; }
  .chat-toggle span { display: none; }
  .chat-toggle { padding: 7px; }
  .chat-panel { right: 16px; bottom: 92px; }
  .g-thumbs button { width: 72px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
