:root {
  /* Brand Board v1 palette (final) */
  --navy: #0B2D5B;   /* Heritage Navy: primary */
  --blue: #2C588F;   /* Coastal Blue: secondary, hover states */
  --orange: #E85B2A; /* Signature Orange: accent only (CTAs, rules) */
  --ivory: #F5F2EC;  /* Warm Ivory: background */
  --slate: #788596;  /* Slate: dividers, captions, large secondary text */
  --white: #ffffff;
  /* Small secondary text: a navy tint, because Slate on Ivory is only 3.4:1 (large text only per the board) */
  --text-muted: rgba(11, 45, 91, 0.78);
  --orange-dark: #C94A1F; /* hover shade of Signature Orange */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--ivory);
  line-height: 1.6;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(11,45,91,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px; /* keep the .container side gutters (was 16px 0, which put the logo and menu button on the screen edges) */
}
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.nav a:hover { color: var(--orange); }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--blue); color: var(--white) !important; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,45,91,0.75) 0%, rgba(11,45,91,0.35) 60%, rgba(11,45,91,0.15) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 80px 24px; } /* keep side gutters on mobile */
.eyebrow { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.9; margin-bottom: 12px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-sub { font-size: 18px; max-width: 480px; margin-bottom: 28px; opacity: 0.95; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: transparent; color: var(--white); border: 1.5px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--navy); }

/* Sections */
section { padding: 80px 0; }
h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--navy);
}
.section-intro { font-size: 18px; color: var(--text-muted); max-width: 640px; margin-bottom: 40px; }

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.market-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  border-top: 4px solid var(--orange);
}
.market-card h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 12px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.value-list { list-style: none; }
.value-list li { margin-bottom: 16px; padding-left: 8px; border-left: 3px solid var(--orange); }
.value-image img { width: 100%; border-radius: 8px; }

.reviews { background: var(--white); }
.reviews .market-card { font-style: italic; }

.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { margin-bottom: 24px; font-size: 18px; }

/* Footer */
.footer { background: var(--navy); color: var(--ivory); padding: 60px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; display: block; }
.footer a { color: var(--ivory); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.fair-housing, .license { font-size: 13px; opacity: 0.8; margin-top: 16px; max-width: 480px; }
.copyright { text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(241,238,232,0.2); font-size: 13px; opacity: 0.7; }

/* Page specific */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 60px;
}
.page-hero h1 { font-family: var(--serif); font-size: 48px; font-weight: 500; }
.content { padding: 60px 0; }
.content p { margin-bottom: 16px; max-width: 720px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 15px;
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 20px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .menu-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
}

/* Contact form: honeypot + status messages */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form button[disabled] { opacity: 0.6; cursor: wait; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 4px; font-size: 15px; line-height: 1.5; }
.form-status.is-success { background: #e8f5ec; border: 1px solid #9fd3ae; color: #1d5b2f; }
.form-status.is-error { background: #fdecec; border: 1px solid #f0a8a8; color: #8a1f1f; }
.form-status a { color: inherit; text-decoration: underline; }
.form-note { font-size: 13px; margin-top: 16px; color: var(--text-muted); }

/* Guides */
.nav a.is-active { color: var(--orange); }
.page-hero .eyebrow a.crumb { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 40px; }
.guide-card { background: var(--white); border-radius: 8px; border-top: 4px solid var(--orange); overflow: hidden; display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 24px; align-items: start; }
.guide-card-cover img, .guide-cover { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 8px 24px rgba(11,45,91,0.18); }
.guide-card h2 { font-size: 28px; margin-bottom: 8px; }
.guide-card p { font-size: 15px; color: var(--text-muted); }
.guide-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.guide-cover { max-width: 260px; margin-bottom: 24px; }
.guide-info h2 { font-size: 28px; margin-top: 8px; }
.gate-box { background: var(--white); border-radius: 8px; border-top: 4px solid var(--orange); padding: 32px; position: sticky; top: 100px; scroll-margin-top: 100px; }
.gate-box h2 { font-size: 28px; margin-bottom: 4px; }
.gate-intro { color: var(--text-muted); margin-bottom: 20px !important; }
.guide-unlocked .btn { margin: 8px 0; }
.guide-promo { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; background: var(--white); border-radius: 8px; border-top: 4px solid var(--orange); padding: 24px; margin: 40px 0; max-width: 720px; }
.guide-promo img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 6px 18px rgba(11,45,91,0.18); }
.guide-promo h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.guide-promo p { font-size: 15px; color: var(--text-muted); margin-bottom: 12px !important; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); padding: 10px 20px; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
@media (max-width: 768px) {
  .guide-layout { grid-template-columns: 1fr; gap: 32px; }
  .gate-box { position: static; }
  .guide-gate { order: -1; }
  .guide-cover { max-width: 160px; }
  .guide-card { grid-template-columns: 110px 1fr; gap: 16px; }
  .guide-promo { grid-template-columns: 90px 1fr; }
}

/* ===== Hampton Roads bucket list ===== */
.crumb { color: inherit; text-decoration: underline; }
.bl-page .container { max-width: 980px; }
.bl-lede { font-size: 18px; line-height: 1.7; margin-bottom: 24px; }
.bl-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.bl-jump a { padding: 8px 14px; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600; }
.bl-jump a:hover { background: var(--navy); color: var(--white); }
.bl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.bl-chip { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid #d8d3c9; background: var(--white); color: var(--text-muted); cursor: pointer; }
.bl-chip.is-on { background: var(--orange); border-color: var(--orange); color: var(--white); }
.bl-note { font-size: 14px; color: var(--text-muted); margin: 10px 0 24px; }
.bl-section { margin: 40px 0; scroll-margin-top: 90px; }
.bl-section h2 { color: var(--navy); border-bottom: 2px solid var(--orange); padding-bottom: 8px; margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.bl-count { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--text-muted); }
.bl-intro { color: var(--text-muted); margin-bottom: 16px; }
.bl-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bl-item { display: flex; gap: 14px; background: var(--white); border: 1px solid #e6e1d8; border-radius: 6px; padding: 16px; }
.bl-item[hidden], .bl-section[hidden] { display: none; }
.bl-time { flex: 0 0 auto; min-width: 64px; height: fit-content; text-align: center; background: var(--ivory); color: var(--navy); font-weight: 700; font-size: 13px; padding: 6px 8px; border-radius: 4px; }
.bl-body h3 { font-family: var(--serif); font-size: 18px; color: var(--navy); margin: 0 0 4px; }
.bl-body p { margin: 0 0 6px; font-size: 15px; line-height: 1.5; }
.bl-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px !important; }
.bl-tag { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; font-weight: 600; color: var(--blue); }
.bl-meta a { color: var(--orange); font-weight: 600; text-decoration: none; }
.bl-meta a:hover { text-decoration: underline; }
.bl-cta-inline { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--navy); color: var(--white); padding: 24px 28px; border-radius: 6px; margin: 32px 0; }
.bl-cta-inline h3 { font-family: var(--serif); margin: 0 0 4px; color: var(--white); }
.bl-cta-inline p { margin: 0; opacity: .9; }
.bl-tourism { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.bl-tourism li { display: flex; flex-direction: column; background: var(--white); border: 1px solid #e6e1d8; border-radius: 6px; padding: 12px 14px; }
.bl-tourism a { color: var(--orange); text-decoration: none; font-size: 14px; }
.bl-gate { position: static; max-width: 720px; margin: 40px auto 0; scroll-margin-top: 90px; }
.bl-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.optional { font-weight: 400; color: var(--text-muted); font-size: 13px; }
.home-teaser { background: var(--ivory); padding: 56px 0; }
.home-teaser .container { display: flex; align-items: center; gap: 32px; }
.home-teaser img { width: 160px; height: auto; display: block; flex: 0 0 auto; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.home-teaser h2 { color: var(--navy); margin: 0 0 8px; }
.home-teaser p { margin: 0 0 16px; }
@media (max-width: 760px) {
  .bl-list, .bl-form-grid { grid-template-columns: 1fr; }
  .bl-cta-inline { flex-direction: column; align-items: flex-start; }
  .home-teaser .container { flex-direction: column; text-align: center; }
  .home-teaser img { width: 120px; }
}
/* Guides landing with three cards: stack cover above text on wide screens */
.guide-card { grid-template-columns: 1fr; }
.guide-card-cover { max-width: 170px; }
.guide-card-body { display: flex; flex-direction: column; align-items: flex-start; }
@media (max-width: 640px) {
  .guide-card { grid-template-columns: 110px 1fr; }
  .guide-card-cover { max-width: none; }
}

/* ===== Brand update ===== */
.footer a[href^="tel"], .footer a[href^="mailto"] { text-decoration: underline; text-underline-offset: 2px; }
.fine-print { font-size: 12.5px; line-height: 1.55; color: var(--text-muted); border-top: 1px solid var(--slate); padding-top: 14px; margin-top: 28px; }
.fine-print p { margin: 0 0 6px !important; }
.claims { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.claims li { background: var(--white); border-left: 3px solid var(--orange); padding: 12px 14px; border-radius: 4px; font-size: 15px; }
.claims strong { display: block; font-family: var(--serif); font-size: 20px; color: var(--navy); }
.agent-card { background: var(--white); border-top: 4px solid var(--orange); border-radius: 6px; padding: 20px 24px; margin: 8px 0 24px; }
.agent-card .agent-name { font-family: var(--serif); font-size: 24px; margin: 0 0 2px !important; }
.agent-card .agent-title { letter-spacing: .08em; text-transform: uppercase; font-size: 13px; font-weight: 600; color: var(--blue); margin: 0 0 10px !important; }
.value-prop .claim-note { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }

/* ===== Bucket list: top download banner + activity icons ===== */
.bl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.bl-svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bl-print-banner { display: flex; align-items: center; gap: 18px; background: var(--white); border: 1px solid #e6e1d8; border-left: 5px solid var(--orange); border-radius: 8px; padding: 18px 22px; margin: 0 0 28px; box-shadow: 0 6px 18px rgba(11,45,91,.08); }
.bl-print-ico { flex: 0 0 auto; width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--navy); color: var(--white); }
.bl-print-text { flex: 1 1 auto; min-width: 0; }
.bl-print-text h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); margin: 0 0 2px; }
.bl-print-text p { margin: 0; font-size: 15px; color: var(--text-muted); }
.bl-print-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.bl-print-btn .bl-svg { width: 18px; height: 18px; stroke-width: 2.2; }
.bl-h { display: flex; align-items: flex-start; gap: 10px; }
.bl-ico { flex: 0 0 auto; width: 32px; height: 32px; padding: 6px; margin-top: -3px; border-radius: 50%; background: var(--ivory); color: var(--blue); border: 1px solid #e6e1d8; }
.bl-item:hover .bl-ico { color: var(--orange); }
@media (max-width: 760px) {
  .bl-print-banner { flex-wrap: wrap; gap: 12px 14px; padding: 16px; margin-top: -8px; }
  .bl-print-ico { width: 44px; height: 44px; padding: 10px; }
  .bl-print-text { flex-basis: calc(100% - 60px); }
  .bl-print-text h2 { font-size: 20px; }
  .bl-print-btn { width: 100%; justify-content: center; padding: 14px 16px; }
}
@media print { .bl-print-banner { display: none; } }

/* Mobile header: side gutters + comfortable tap target for the menu button */
@media (max-width: 768px) {
  .header-inner { padding: 12px 20px; }
  .logo img { height: 40px; }
  .menu-toggle { width: 44px; height: 44px; margin-right: -8px; display: flex; align-items: center; justify-content: center; color: var(--navy); line-height: 1; }
}

/* ===== Buyer Information Sheet (multi-step intake form) ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bis-page .container { max-width: 820px; }
.bis-intro { background: var(--white); border-left: 4px solid var(--orange); border-radius: 6px; padding: 20px 24px; margin-bottom: 28px; }
.bis-intro p { font-size: 16px; line-height: 1.65; margin-bottom: 8px; }
.bis-intro a { color: var(--blue); font-weight: 600; }
.bis-sig { font-family: var(--serif); font-style: italic; font-size: 18px !important; margin: 0 !important; }
.bis-card { background: var(--white); border-radius: 8px; border-top: 4px solid var(--orange); padding: 28px 32px 32px; box-shadow: 0 6px 18px rgba(11,45,91,.06); }
.bis-stepnav[hidden], .bis-bar[hidden] { display: none; }
.bis-progress { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.bis-stepbtn { width: 100%; min-height: 44px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 4px; background: none; border: 0; border-radius: 6px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--slate); text-align: center; }
.bis-stepbtn:hover { color: var(--navy); background: var(--ivory); }
.bis-stepbtn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.bis-stepnum { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #d8d3c9; background: var(--white); color: var(--slate); font-size: 13px; font-weight: 700; }
.bis-stepbtn.is-done .bis-stepnum { border-color: var(--navy); color: var(--navy); }
.bis-stepbtn.is-done .bis-stepnum::after { content: "✓"; position: absolute; right: -6px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 10px; line-height: 16px; text-align: center; }
.bis-stepbtn.is-current { color: var(--navy); }
.bis-stepbtn.is-current .bis-stepnum { border-color: var(--orange); background: var(--orange); color: var(--white); }
.bis-bar { height: 4px; background: #ece7de; border-radius: 4px; overflow: hidden; margin-bottom: 24px; }
.bis-bar span { display: block; height: 100%; width: 20%; background: var(--orange); transition: width .3s ease; }
.bis-stepnow { display: none; }
.bis-legend { font-size: 13px; color: var(--text-muted); margin-bottom: 12px !important; }
.bis-req { color: var(--orange-dark); font-weight: 700; }
.bis-step { border: 0; margin: 0 0 32px; padding: 0; } /* override the global section padding */
.bis-form.is-stepped .bis-step { margin-bottom: 8px; }
.bis-step[hidden] { display: none; }
.bis-step h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--navy); margin: 0 0 6px; outline: none; }
.bis-step-num { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.bis-form:not(.is-stepped) .bis-step + .bis-step { border-top: 1px solid #e6e1d8; padding-top: 28px; }
.bis-desc { color: var(--text-muted); margin-bottom: 20px !important; }
.bis-choices { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.bis-choices legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.form-group .bis-opt { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; margin: 0 0 8px; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; font-weight: 400 !important; line-height: 1.4; background: var(--white); transition: border-color .15s, background .15s; }
.bis-opt:hover { border-color: var(--blue); }
.form-group .bis-opt input { flex: 0 0 auto; width: 18px; height: 18px; padding: 0; margin: 1px 0 0; border: 0; accent-color: var(--orange); }
.bis-opt:has(input:checked) { border-color: var(--orange); background: #fdf3ee; }
.bis-opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.bis-other { margin: 0 0 8px; }
.bis-choices .bis-other { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 4px; font-family: var(--sans); font-size: 15px; }
.bis-nav { display: flex; gap: 12px; justify-content: flex-end; align-items: center; margin-top: 8px; padding-top: 20px; border-top: 1px solid #ece7de; }
.bis-nav .bis-back { margin-right: auto; }
.bis-nav [hidden] { display: none; }
.bis-nav .btn { font-family: var(--sans); cursor: pointer; border: 1.5px solid transparent; }
.bis-nav .btn-outline { border-color: var(--navy); }
/* Privacy note: one flowing paragraph (lock icon hangs to the left), set above the Back/Next row, well clear of the buttons. */
.bis-form .bis-privacy { display: block; position: relative; padding-left: 24px; margin: 22px 0 18px; line-height: 1.55; max-width: 640px; }
.bis-privacy::before { content: "🔒"; content: "🔒" / ""; position: absolute; left: 0; top: 0; }
.bis-privacy a { white-space: nowrap; }
/* Saved-progress notice */
.bis-restore[hidden], .bis-autosave[hidden] { display: none; }
.bis-restore { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; background: #eef4fb; border: 1px solid #c9dcf0; border-left: 4px solid var(--blue); border-radius: 4px; padding: 12px 16px; margin: 0 0 18px; font-size: 14.5px; line-height: 1.5; color: var(--navy); }
.bis-restore p { margin: 0 !important; flex: 1 1 280px; max-width: none !important; }
.bis-startover { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--navy); background: var(--white); border: 1.5px solid var(--navy); border-radius: 4px; padding: 8px 14px; min-height: 40px; cursor: pointer; }
.bis-startover:hover { background: var(--navy); color: var(--white); }
.bis-startover:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.bis-thanks { text-align: center; padding: 20px 0; outline: none; }
.bis-thanks h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--navy); margin-bottom: 10px; }
.bis-thanks p { max-width: 520px; margin: 0 auto 14px !important; }
.bis-cta { background: var(--white); border-radius: 8px; border-top: 4px solid var(--orange); padding: 24px 28px; margin: 32px 0 8px; max-width: 720px; }
.bis-cta h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 6px; }
.bis-cta p { color: var(--text-muted); margin-bottom: 14px !important; }
@media (max-width: 640px) {
  .page-hero h1 { font-size: 36px; line-height: 1.15; }
  .bis-card { padding: 20px 16px 24px; border-radius: 6px; }
  .bis-intro { padding: 16px 18px; }
  .bis-step h2 { font-size: 24px; }
  .bis-progress { gap: 2px; }
  .bis-stepbtn { min-height: 48px; padding: 6px 0; gap: 4px; }
  .bis-stepbtn .bis-steplabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bis-form.is-stepped .bis-step-num { display: none; }
  .bis-stepnow { display: block; text-align: center; font-size: 13px; font-weight: 600; color: var(--navy); margin: -4px 0 10px; }
  .bis-nav { position: sticky; bottom: 0; background: var(--white); margin: 8px -16px 0; padding: 12px 16px; box-shadow: 0 -6px 12px rgba(11,45,91,.06); z-index: 5; }
  .bis-nav .btn { flex: 1 1 0; text-align: center; padding: 14px 12px; }
  .bis-nav .bis-back { flex: 0 0 auto; margin-right: 0; }
  .bis-form .bis-privacy { margin: 20px 0 14px; font-size: 12.5px; }
  .bis-restore .bis-startover { flex: 0 0 auto; }
}
@media print {
  .header, .footer, .page-hero, .bis-bar, .bis-nav, .form-status, .bis-restore, .bis-stepnav, .bis-stepnow, .bis-legend, .hp-field { display: none !important; }
  .bis-step[hidden] { display: block !important; }
  .bis-card { box-shadow: none; border: 0; padding: 0; }
  .bis-opt { padding: 4px 0; border: 0; }
  .bis-step { break-inside: auto; margin-bottom: 18px; }
  body { background: #fff; }
}

/* ----- Buyer Information Sheet v2 additions ----- */
.bis-progress li[hidden], .bis-cond[hidden], .bis-agreement[hidden] { display: none; }
.bis-help { font-size: 13.5px; color: var(--text-muted); margin: -2px 0 8px !important; }
.bis-cond { margin-left: 14px; padding-left: 14px; border-left: 3px solid #ece7de; }
.bis-cond-note { background: var(--ivory); border-radius: 4px; padding: 8px 12px; margin-bottom: 18px !important; }
.form-group .bis-opt.is-disabled { opacity: .5; cursor: not-allowed; }
.bis-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.bis-inline legend { width: 100%; }
.form-group.bis-inline .bis-opt { flex: 1 1 64px; justify-content: center; margin: 0; min-height: 44px; align-items: center; }
.bis-consent { margin-top: -6px; }
.form-group .bis-consent-opt { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); background: var(--ivory); }
.bis-consent-opt a { color: var(--blue); font-weight: 600; }
.bis-cobuyer { border: 1px dashed #cfc8bb; border-radius: 6px; padding: 0; margin: 4px 0 22px; background: #fcfbf8; }
.bis-cobuyer summary { cursor: pointer; list-style: none; padding: 14px 16px; min-height: 44px; font-weight: 600; color: var(--navy); }
.bis-cobuyer summary::-webkit-details-marker { display: none; }
.bis-cobuyer summary::before { content: "+"; display: inline-block; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: var(--navy); color: var(--white); text-align: center; line-height: 22px; font-weight: 700; }
.bis-cobuyer[open] summary::before { content: "–"; }
.bis-cobuyer-body { padding: 4px 16px 4px; }
.bis-agreement { font-size: 14px; line-height: 1.55; background: var(--ivory); border-left: 3px solid var(--blue); border-radius: 4px; padding: 12px 14px; margin: 8px 0 4px !important; max-width: none !important; }
.bis-privacy a, .form-note a.privacy-link { color: var(--blue); font-weight: 600; }
@media (max-width: 640px) {
  .bis-cond { margin-left: 4px; padding-left: 10px; }
}
@media print {
  .bis-cond[hidden], .bis-step.is-skipped, .bis-agreement[hidden] { display: block !important; }
  .bis-cobuyer-body { display: block !important; }
  .bis-cobuyer summary::before { display: none; }
}

/* ===== Privacy policy ===== */
.policy-page .container { max-width: 820px; }
.policy-page h2 { font-size: 28px; margin: 36px 0 10px; scroll-margin-top: 90px; }
.policy-page p, .policy-list { max-width: 760px; line-height: 1.7; }
.policy-list { padding-left: 22px; margin: 0 0 16px; }
.policy-list li { margin-bottom: 8px; }
.policy-page a { color: var(--blue); }
.policy-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.policy-toc a { padding: 6px 12px; border: 1px solid #d8d3c9; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 600; text-decoration: none; color: var(--navy); }
.policy-toc a:hover { border-color: var(--navy); }

/* Buyer sheet v3: greyed-out (locked) conditional step in the nav */
.bis-stepbtn.is-locked, .bis-stepbtn.is-locked:hover { cursor: not-allowed; background: none; color: #a9a299; }
.bis-stepbtn.is-locked .bis-stepnum { border-style: dashed; border-color: #cfc8bb; background: #f1eee8; color: #b3aca2; }
.bis-steplock { display: block; font-size: 10.5px; font-weight: 500; font-style: italic; color: #a9a299; margin-top: 2px; }
.bis-steplock:empty { display: none; }
@media (max-width: 640px) {
  .bis-stepbtn.is-locked .bis-stepnum { opacity: .65; text-decoration: line-through; }
  .bis-stepbtn.is-locked .bis-stepnum::after { content: "🔒"; position: absolute; right: -7px; top: -8px; font-size: 11px; text-decoration: none; }
}

/* Buyer sheet v4: answered choice questions fold into a one-line summary with Edit */
.bis-choices.is-collapsed { margin-bottom: 16px; }
.bis-choices.is-collapsed legend { margin-bottom: 6px; }
.bis-opts[hidden], .bis-sum[hidden], .bis-sum-val[hidden] { display: none; }
.bis-inline { display: block; }
.bis-inline .bis-opts, .bis-form:not(.is-stepped) .bis-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.bis-sum { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 4px 6px 4px 14px; border: 1px solid #e3ddd2; border-left: 3px solid var(--orange); border-radius: 6px; background: var(--ivory); }
.bis-sum-val { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy); font-weight: 600; font-size: 15px; cursor: pointer; }
.bis-sum-val::before { content: "✓"; color: var(--orange); font-weight: 700; margin-right: 8px; }
.bis-edit { flex: 0 0 auto; min-height: 38px; padding: 6px 12px; border: 1px solid transparent; border-radius: 4px; background: none; color: var(--blue); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bis-edit:hover { color: var(--navy); background: var(--white); border-color: #d8d3c9; }
.bis-edit:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* While editing an answered question, a small "Done" sits under the answers (nothing above them moves) */
.bis-sum.is-editing { justify-content: flex-end; min-height: 0; margin-top: -2px; padding: 0; border: 0; background: none; }
.bis-sum.is-editing .bis-edit { padding: 6px 4px; }
.bis-cond-other { margin: 0; padding: 0; border: 0; }
.bis-cobuyer-remove { margin: 0 0 14px; padding: 8px 0; border: 0; background: none; color: var(--orange-dark); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bis-cobuyer-remove:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 640px) {
  .bis-sum-val { font-size: 14.5px; }
}
@media print {
  .bis-sum, .bis-cobuyer-remove { display: none !important; }
  .bis-opts[hidden] { display: block !important; }
  .bis-inline .bis-opts[hidden] { display: flex !important; }
  .bis-cond[data-note]::before { content: attr(data-note) ":"; display: block; font-size: 12px; font-style: italic; color: #555; margin-bottom: 4px; }
}

/* ===== Schedule a Consult ===== */
.nav-book { background: var(--orange); }
.nav-book:hover { background: var(--orange-dark); }
.header-book { display: none; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.consult-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap; background: var(--navy); color: var(--white); border-radius: 8px; padding: 24px 28px; margin: 32px 0 16px; max-width: 720px; }
.consult-cta > div { flex: 1 1 320px; }
.consult-cta h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 6px; color: var(--white); }
.consult-cta p { margin: 0 !important; opacity: .92; font-size: 15px; }
.consult-page .container { max-width: 1040px; }
.consult-intro { max-width: 760px; }
.consult-h { margin-top: 12px; margin-bottom: 6px; }
.consult-page .section-intro { margin-bottom: 24px; }
.consult-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.consult-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 8px; border-top: 4px solid var(--blue); padding: 26px 24px 24px; box-shadow: 0 6px 18px rgba(11,45,91,.06); scroll-margin-top: 96px; }
.consult-card.is-featured { border-top-color: var(--orange); box-shadow: 0 10px 26px rgba(11,45,91,.12); }
.consult-card:target { outline: 2px solid var(--orange); outline-offset: 3px; }
.consult-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.25; margin-bottom: 10px; }
.consult-card > p { font-size: 15px; color: var(--text-muted); margin-bottom: 12px !important; }
.consult-badge { display: inline-block; align-self: flex-start; font-size: 11.5px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white) !important; background: var(--orange); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px !important; }
.consult-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.consult-meta li { font-size: 12.5px; font-weight: 600; color: var(--navy); background: var(--ivory); border: 1px solid #e6e1d8; border-radius: 999px; padding: 3px 10px; }
.consult-list { list-style: none; margin: 0 0 20px; flex: 1 1 auto; }
.consult-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15px; line-height: 1.5; }
.consult-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.consult-go { text-align: center; align-self: stretch; padding: 12px 18px; }
.consult-book { padding: 0; margin: 48px 0 0; scroll-margin-top: 90px; }
.consult-book h2 { margin-bottom: 14px; }
.consult-embed { background: var(--white); border-radius: 8px; border-top: 4px solid var(--orange); box-shadow: 0 6px 18px rgba(11,45,91,.06); }
.consult-fallback { padding: 28px 32px; max-width: 760px; }
.consult-fallback h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 8px; }
.consult-fallback a:not(.btn), .consult-next a, .consult-open a:not(.btn) { color: var(--blue); font-weight: 600; }
.consult-fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.consult-fallback-actions .btn { padding: 12px 20px; }
.consult-fallback-note { font-size: 14.5px; color: var(--text-muted); background: var(--ivory); border-radius: 6px; padding: 12px 14px; margin: 0 !important; }
.consult-live { padding: 8px; }
.consult-frame { display: block; width: 100%; height: 860px; border: 0; border-radius: 4px; background: var(--white); }
/* Google's page can't tell us its height (cross-origin), so fixed heights per view, measured 2026-10-22:
   all-booking-pages list ~825px wide / ~1165px phone; one schedule's calendar ~1180px wide / ~1715-1755px phone. */
.consult-embed.view-list .consult-frame { height: 860px; }
.consult-embed.view-schedule .consult-frame { height: 1230px; }
.consult-back { margin: 4px 8px 6px !important; }
.consult-back[hidden] { display: none; }
.consult-back-btn { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 15px; font-weight: 600; color: var(--blue); cursor: pointer; }
.consult-back-btn:hover { text-decoration: underline; }
.consult-open { font-size: 14.5px; color: var(--text-muted); text-align: center; margin: 10px auto 6px !important; padding: 0 8px; }
.consult-open .btn { margin: 16px 0 8px; }
.consult-open span { display: block; margin-top: 4px; }
.consult-next { margin-top: 48px; max-width: 760px; }
.consult-next h2 { font-size: 30px; }
.consult-steps { list-style: none; counter-reset: cs; margin: 8px 0 18px; }
.consult-steps li { counter-increment: cs; position: relative; padding-left: 46px; margin-bottom: 14px; min-height: 32px; }
.consult-steps li::before { content: counter(cs); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
@media (max-width: 960px) {
  .consult-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-book { display: inline-flex; align-items: center; min-height: 40px; margin-left: auto; margin-right: 10px; padding: 8px 12px; border-radius: 4px; background: var(--orange); color: var(--white); text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
  .header-book:hover { background: var(--orange-dark); }
  .consult-fallback { padding: 22px 18px; }
  .consult-fallback-actions .btn { flex: 1 1 100%; text-align: center; }
  .consult-cta { padding: 20px; }
  .consult-cta .btn { width: 100%; text-align: center; }
}
@media (max-width: 663px) { /* Google switches to its stacked phone layout when the frame is under ~600px wide */
  .consult-embed.view-list .consult-frame, .consult-frame { height: 1200px; }
  .consult-embed.view-schedule .consult-frame { height: 1790px; }
}
@media (max-width: 360px) {
  .header-book { font-size: 12px; padding: 8px 9px; margin-right: 6px; }
  .logo img { height: 34px; }
}
@media (min-width: 769px) and (max-width: 1040px) {
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .nav-cta { padding: 9px 14px; white-space: nowrap; }
  .logo img { height: 42px; }
}

/* ----- Sara photos (2026-10-22): intro photo slot (consult + buyer sheet) and About hero ----- */
.bis-intro.has-photo { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; }
.consult-intro.has-photo { max-width: 920px; grid-template-columns: 220px minmax(0, 1fr); }
.intro-media { display: grid; gap: 12px; align-self: start; } /* more .intro-photo figures (couple photos) stack here */
.intro-photo { margin: 0; }
.intro-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--ivory); }
.intro-text > p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .bis-intro.has-photo { display: flow-root; }
  .intro-media { float: left; width: 104px; margin: 4px 16px 8px 0; }
}
@media print { .intro-media { display: none; } .bis-intro.has-photo { display: block; } }

.about-hero { position: relative; overflow: hidden; padding: 0; min-height: clamp(400px, 40vw, 600px); display: flex; align-items: center; background: var(--navy); }
.about-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: min(62%, 900px); }
.about-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.about-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0B2D5B 0%, rgba(11,45,91,.85) 14%, rgba(11,45,91,0) 46%); pointer-events: none; } /* navy fade over the photo's dark left edge only */
.about-hero-text { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 72px; color: var(--ivory); }
.about-hero-text h1, .about-hero-text p { color: var(--ivory); max-width: 480px; }
@media (max-width: 700px) {
  .about-hero { display: block; min-height: 0; }
  .about-hero-photo { position: relative; display: block; width: 100%; }
  .about-hero-photo img { height: auto; aspect-ratio: 4 / 5; max-height: 68vh; object-position: center 20%; }
  .about-hero-photo::after { background: linear-gradient(0deg, #0B2D5B 0%, rgba(11,45,91,0) 22%); }
  .about-hero-text { padding-top: 8px; padding-bottom: 40px; }
}

/* ===== Listings (2026-10-22): /listings/ index + /listings/<slug>/ pages, generated by tools/build-listings.py ===== */
.lp-sample { background: #FFF1EA; border: 1px solid var(--orange); border-left-width: 5px; color: var(--navy); padding: 12px 16px; font-size: 15px; }
body > .lp-sample { text-align: center; border-width: 0 0 1px; }
.lp-index .lp-sample { border-radius: 4px; margin-bottom: 24px; }
/* gallery */
.lp-gallery { padding: 0; background: var(--navy); }
.lg-wrap { position: relative; padding: 0; }
.lg-track { list-style: none; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.lg-track::-webkit-scrollbar { display: none; }
.lg-track:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.lg-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; }
.lg-open { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.lg-wrap .lg-slide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: min(56vh, 600px); object-fit: cover; }
.lg-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.lg-nav:hover { background: var(--white); }
.lg-prev { left: 12px; } .lg-next { right: 12px; }
.lg-count { position: absolute; left: 12px; bottom: 12px; margin: 0; background: rgba(11,45,91,.85); color: var(--white); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.lg-all { position: absolute; right: 12px; bottom: 12px; border: 0; background: var(--white); color: var(--navy); font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 4px; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.lg-all:hover { background: var(--ivory); }
.lg-full { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: #071a36; color: var(--white); }
.lg-full::backdrop { background: rgba(0,0,0,.9); }
.lg-full[open] { display: flex; flex-direction: column; }
.lg-full-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; }
.lg-full .lg-count { position: static; }
.lg-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font-size: 20px; cursor: pointer; }
.lg-full .lg-track { flex: 1 1 auto; height: 100%; }
.lg-full .lg-slide { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lg-full .lg-slide img { max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }
.lg-cap { font-size: 14px; opacity: .85; margin-top: 8px; }
body.lg-locked { overflow: hidden; }
/* summary */
.lp-summary { padding: 24px 0 8px; background: var(--white); }
.lp-summary .eyebrow { color: var(--text-muted); font-size: 12px; margin-bottom: 8px; }
.lp-summary-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.lp-badges { display: flex; gap: 6px; margin-bottom: 6px; }
.lp-badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: #1F7A4D; border-radius: 999px; padding: 4px 10px; }
.lp-badge.is-coming-soon { background: var(--blue); }
.lp-badge.is-pending { background: var(--orange-dark); }
.lp-badge.is-sold { background: var(--navy); }
.lp-badge.is-sample { background: var(--white); color: var(--orange-dark); border: 1px solid var(--orange); }
.lp-price { font-family: var(--serif); font-size: clamp(32px, 7vw, 44px); font-weight: 600; line-height: 1.1; margin: 0; }
.lp-addr { font-family: var(--sans); font-size: 20px; font-weight: 600; line-height: 1.3; margin: 6px 0 2px; }
.lp-addr span { display: block; font-weight: 400; font-size: 16px; color: var(--text-muted); }
.lp-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.lp-stats li { background: var(--ivory); border: 1px solid #e6e1d8; border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.lp-firm { font-size: 14px; color: var(--text-muted); margin: 0; }
.lp-summary-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-pending-note { margin: 14px 0 6px; background: #FFF1EA; border-left: 4px solid var(--orange); padding: 12px 16px; border-radius: 4px; font-size: 15px; }
.lp-pending-note a { color: var(--blue); font-weight: 600; }
/* body */
.lp-body { padding-top: 40px; }
.lp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.lp-main h2 { font-size: 28px; margin: 32px 0 12px; }
.lp-main h2.lp-headline { margin-top: 0; }
.lp-features { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 20px; }
.lp-features li { position: relative; padding-left: 20px; }
.lp-features li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.lp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; background: var(--white); border-radius: 6px; padding: 8px 20px; }
.lp-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee8de; }
.lp-facts dt { color: var(--text-muted); font-size: 14px; }
.lp-facts dd { font-weight: 600; font-size: 14.5px; text-align: right; }
.lp-openhouse { margin-top: 32px; background: var(--white); border-top: 4px solid var(--orange); border-radius: 6px; padding: 4px 20px 16px; }
.lp-openhouse h2 { margin-top: 16px !important; }
.lp-openhouse ul { list-style: none; }
.lp-openhouse li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 8px 0; border-bottom: 1px solid #eee8de; }
.lp-openhouse li[hidden] { display: none; }
.lp-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lp-side { position: sticky; top: 100px; display: grid; gap: 20px; }
.lp-agent { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: var(--white); border-top: 4px solid var(--orange); border-radius: 6px; padding: 16px; }
.lp-agent img { display: block; width: 96px; height: 120px; object-fit: cover; border-radius: 4px; }
.lp-agent p { margin: 0 !important; font-size: 14.5px; }
.lp-agent .agent-name { font-family: var(--serif); font-size: 22px; }
.lp-agent .agent-title { letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; font-weight: 600; color: var(--blue); margin-bottom: 4px !important; }
.lp-agent-firm { font-weight: 600; margin-bottom: 4px !important; }
.lp-agent a { color: var(--blue); font-weight: 600; }
.lp-form-box, .lp-sold-cta { background: var(--white); border-radius: 6px; border-top: 4px solid var(--navy); padding: 24px; scroll-margin-top: 90px; }
.lp-form-box h2, .lp-sold-cta h2 { font-size: 24px; margin-bottom: 4px; }
.lp-sold-cta .btn { width: 100%; text-align: center; margin: 8px 0; }
.lp-sold-cta a:not(.btn), .lp-openhouse a, .lp-form-box .form-note a { color: var(--blue); font-weight: 600; }
.lp-form .btn { width: 100%; }
/* cards (index + similar) */
.lp-similar { padding: 48px 0 56px; background: var(--white); }
.lp-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin: 8px 0 28px; }
.lp-card a { display: block; height: 100%; background: var(--white); border-radius: 8px; overflow: hidden; color: var(--navy); text-decoration: none; box-shadow: 0 6px 18px rgba(11,45,91,.08); border: 1px solid #ece7de; transition: box-shadow .2s, transform .2s; }
.lp-card a:hover { box-shadow: 0 10px 26px rgba(11,45,91,.16); transform: translateY(-2px); }
.lp-card-media { position: relative; }
.lp-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.lp-card-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.lp-card-body { padding: 14px 18px 18px; }
.lp-card-price { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0 !important; }
.lp-card-addr { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 2px 0 0; color: var(--navy); }
.lp-card-city { font-size: 14px; color: var(--text-muted); margin: 0 0 6px !important; }
.lp-card-stats { font-size: 14px; font-weight: 600; margin: 0 !important; }
.lp-sim-empty { max-width: 720px; color: var(--text-muted); margin-bottom: 20px; }
.lp-buyer-links { display: flex; flex-wrap: wrap; gap: 10px; }
/* required ad wording */
.lp-legal { display: flex; gap: 14px; align-items: flex-start; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--slate); font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.lp-legal p { margin: 0 0 6px !important; max-width: none; }
.lp-legal a { color: inherit; }
.eho-logo { flex: 0 0 auto; color: var(--navy); }
/* sticky contact bar (phones) */
.lp-bar { display: none; }
@media (max-width: 960px) {
  .lp-layout { grid-template-columns: 1fr; gap: 28px; }
  .lp-side { position: static; }
}
@media (max-width: 768px) {
  .lg-nav { display: none; }
  .lg-full .lg-nav { display: none; }
  .lg-wrap .lg-slide img { max-height: 62vh; }
  .lp-summary-actions { display: none; } /* the sticky bar below does this job on phones */
  .lp-main h2 { font-size: 24px; }
  .lp-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -4px 18px rgba(11,45,91,.15); }
  .lp-bar a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 6px 8px; border-radius: 4px; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; }
  .lp-bar-call { flex-direction: column; background: var(--navy); color: var(--white); }
  .lp-bar-call span { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
  .lp-bar-go { background: var(--orange); color: var(--white); }
  body.lp-page:not(.lp-index) { padding-bottom: 76px; }
}
@media print { .lp-bar, .lg-nav, .lg-all, .lg-full { display: none !important; } }

/* Equal Housing + REALTOR(R) pair (brand board 10/28/26): EHO left, REALTOR(R) right, house = block height (H = --w),
   captions on one shared line, gap and clear space >= 1/2 block width. R = official NAR white file, unmodified. */
.marks-pair { --w: 44px; display: flex; align-items: flex-start; gap: calc(var(--w) * .5); margin: calc(var(--w) * .5) 0; color: #fff; }
.marks-pair .mp-eho { display: block; flex: 0 0 auto; width: calc(var(--w) * 1.1662); height: calc(var(--w) * 1.2187); font-family: var(--sans); overflow: visible; }
.marks-pair .mp-r { display: block; flex: 0 0 auto; width: calc(var(--w) * 1.0472); height: calc(var(--w) * 1.2187); }

/* Client Login header button (10/30/26, Mike approved): outlined secondary so the orange Schedule CTA stays primary */
.nav a.nav-login { border: 1.5px solid var(--navy); border-radius: 4px; padding: 8.5px 18px; font-weight: 600; white-space: nowrap; }
.nav a.nav-login:hover, .nav a.nav-login[aria-current="page"] { background: var(--navy); color: var(--white); }
@media (min-width: 769px) and (max-width: 1040px) { .nav a.nav-login { padding: 7.5px 12px; } }
@media (max-width: 768px) { .nav.open a.nav-login { align-self: flex-start; } }
