/* ==========================================================================
   Alcindor Realty Group — design system
   RE/MAX Andrew Realty Services
   ========================================================================== */

:root {
  /* Brand */
  --red:        #E30613;
  --red-dark:   #B8040F;
  --red-tint:   #FDF2F3;
  --blue:       #0033A0;
  --blue-dark:  #002370;
  --blue-tint:  #F0F4FC;

  /* Neutrals */
  --black:      #0A0A0B;
  --gray-900:   #1C1D21;
  --gray-700:   #4A4D57;
  --gray-500:   #8A8E9B;
  --gray-300:   #D6D9E0;
  --gray-100:   #F4F5F8;
  --white:      #FFFFFF;

  --gold:       #C9A227;
  --success:    #1B8A5A;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 3px rgba(10,10,11,.06), 0 1px 2px rgba(10,10,11,.04);
  --shadow:     0 4px 16px rgba(10,10,11,.08);
  --shadow-lg:  0 12px 40px rgba(0,51,160,.12);

  --container:  1240px;
  --header-h:   76px;
  --section-pad: clamp(64px, 10vw, 128px);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--black); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 1.2em; }
a { color: var(--blue); }
ul { margin: 0 0 1.2em; padding-left: 1.2em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--section-pad); }
.section--gray { background: var(--gray-100); }
.section--blue { background: var(--blue-dark); color: rgba(255,255,255,.85); }
.section--blue h2, .section--blue h3 { color: #fff; }

.eyebrow {
  display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.section--blue .eyebrow { color: #FF6B75; }

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }
.lead { font-size: 1.125rem; color: var(--gray-700); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1;
  padding: 18px 32px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--secondary:hover { background: var(--blue); color: #fff; }
.btn--onblue { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--onblue:hover { background: #fff; color: var(--blue-dark); }
.btn--block { width: 100%; }
.btn--lg { padding: 21px 40px; font-size: 1.0625rem; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--blue); text-decoration: none; border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.btn-ghost:hover { color: var(--red); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px;
}
.section--blue :where(a, button):focus-visible,
.hero :where(a, button):focus-visible { outline-color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--gray-300);
  transition: box-shadow .2s ease;
}
.header.is-stuck { box-shadow: var(--shadow); }
.header__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: var(--header-h); max-width: var(--container); margin-inline: auto; padding-inline: 24px;
}
.header__logo { display: block; margin-right: auto; }
.header__logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--gray-900); text-decoration: none; font-weight: 600; font-size: .9375rem;
  padding: 8px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.header__tel { font-weight: 800; color: var(--blue); text-decoration: none; white-space: nowrap; }
.header__tel:hover { color: var(--red); }
.header .btn { padding: 14px 24px; font-size: .9375rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
  color: var(--black);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header__inner { gap: 12px; }
  .header__logo img { height: 38px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    border-bottom: 1px solid var(--gray-300); box-shadow: var(--shadow);
    display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--gray-300); }
  .header > .container > .btn, .header .btn--primary { display: none; }
  .header__tel { font-size: .9375rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: rgba(255,255,255,.88); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px;
  min-height: 82vh; padding-block: clamp(56px, 8vw, 96px);
}
.hero__content { position: relative; z-index: 2; max-width: 620px; }
.hero h1 { color: #fff; font-size: clamp(2.25rem, 5.2vw, 3.9rem); line-height: 1.05; letter-spacing: -.03em; }
.hero .lead { color: rgba(255,255,255,.82); font-size: 1.1875rem; margin-bottom: 32px; }
.hero .eyebrow { color: #FF6B75; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 26px; }
.hero__micro { display: flex; flex-wrap: wrap; gap: 20px; font-size: .9375rem; color: rgba(255,255,255,.72); }
.hero__micro span::before { content: "✓"; color: var(--red); font-weight: 800; margin-right: 8px; }
.hero__media { position: relative; z-index: 1; align-self: stretch; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__media { position: absolute; inset: 0; z-index: 0; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(10,10,11,.94) 30%, rgba(10,10,11,.62) 100%);
  }
  .hero__content { max-width: none; }
}

/* Image slot placeholder. All live slots now carry real photography; this rule
   is kept so any future placeholder still renders sensibly. */
.imgslot {
  position: relative; width: 100%; height: 100%; min-height: 280px;
  border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,51,160,.22), rgba(10,10,11,.55)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px),
    var(--gray-900);
}
.imgslot__label {
  position: absolute; inset: auto 16px 16px 16px; z-index: 2;
  font-size: .75rem; line-height: 1.45; color: rgba(255,255,255,.62);
  letter-spacing: .02em;
}
.imgslot--flat { border-radius: 0; }
.hero__media .imgslot { min-height: 100%; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--gray-100); border-bottom: 1px solid var(--gray-300); }
.trustbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 16px 40px; padding-block: 20px;
  font-size: .875rem; font-weight: 600; color: var(--gray-700);
}
.trustbar__item { display: inline-flex; align-items: center; gap: 10px; }
.trustbar .stars { color: var(--gold); letter-spacing: 2px; }
.trustbar__brokerage { font-weight: 800; color: var(--blue); letter-spacing: .01em; }

/* ---------- Form card ---------- */
.formcard {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--red); padding: clamp(28px, 4vw, 44px);
}
.formcard--overlap { margin-top: -84px; position: relative; z-index: 5; }
@media (max-width: 980px) { .formcard--overlap { margin-top: -48px; } }
.formcard h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.formcard__sub { color: var(--gray-700); margin-bottom: 28px; }

.progress { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.progress__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); transition: background .2s; }
.progress__dot.is-active { background: var(--red); }
.progress__dot.is-done { background: var(--blue); }
.progress__label { margin-left: auto; font-size: .8125rem; font-weight: 700; color: var(--gray-500); letter-spacing: .06em; text-transform: uppercase; }

.field { margin-bottom: 20px; }
.field label, .fieldset__legend {
  display: block; font-size: .875rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px;
}
.field .req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--black);
  padding: 15px 16px; border: 2px solid var(--gray-300); border-radius: 8px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,51,160,.12);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }
.field__error { display: none; margin-top: 6px; font-size: .8125rem; font-weight: 600; color: var(--red); }
.field__error.is-visible { display: block; }
.field__hint { margin-top: 6px; font-size: .8125rem; color: var(--gray-500); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

/* Button pills (beds / baths) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; padding: 12px 16px; margin: 0;
  border: 2px solid var(--gray-300); border-radius: 8px;
  font-size: .9375rem; font-weight: 700; color: var(--gray-900);
  cursor: pointer; transition: all .15s ease;
}
.pills label:hover { border-color: var(--blue); }
.pills input:checked + label { background: var(--blue); border-color: var(--blue); color: #fff; }
.pills input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Radio list (timeline / condition) */
.radios { display: grid; gap: 8px; }
.radios label {
  display: flex; align-items: center; gap: 12px; margin: 0;
  padding: 14px 16px; border: 2px solid var(--gray-300); border-radius: 8px;
  font-weight: 600; font-size: .9375rem; color: var(--gray-900); cursor: pointer;
  transition: all .15s ease;
}
.radios label:hover { border-color: var(--blue); background: var(--blue-tint); }
.radios input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.radios input:checked ~ span { color: var(--blue); }
.radios label:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }

.form__actions { display: flex; gap: 12px; margin-top: 28px; }
.form__actions .btn { flex: 1; }
.form__actions .btn--back { flex: 0 0 auto; }

.form__privacy {
  margin-top: 16px; font-size: .8125rem; line-height: 1.6; color: var(--gray-500);
}
.form__privacy strong { color: var(--gray-700); }
.consent {
  margin-top: 18px; font-size: .75rem; line-height: 1.6; color: var(--gray-500);
  border-top: 1px solid var(--gray-300); padding-top: 16px;
}

.step { display: none; }
.step.is-active { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Stat cards ---------- */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards--3, .cards--4 { grid-template-columns: 1fr; } }

.statcard {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--red);
}
.statcard h3 { font-size: 1.125rem; margin-bottom: 20px; }
.statrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-300); }
.statrow:last-of-type { border-bottom: 0; }
.statrow dt { font-size: .8125rem; color: var(--gray-500); font-weight: 600; }
.statrow dd {
  margin: 0; font-size: 1.0625rem; font-weight: 800; color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.statcard dl { margin: 0 0 20px; }

.placeholder {
  display: inline-block; background: var(--red-tint); color: var(--red);
  border: 1px dashed var(--red); border-radius: 4px; padding: 0 6px;
  font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums;
}

/* ---------- Feature cards ---------- */
.feature { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.feature .imgslot { min-height: 168px; border-radius: 0; }
.feature__body { padding: 26px; }
.feature h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.feature p { font-size: .9375rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step-item { counter-increment: step; position: relative; padding-top: 68px; }
.step-item::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 1.25rem; font-weight: 800;
}
.step-item h3 { font-size: 1.125rem; }
.step-item p { font-size: .9375rem; margin: 0; }

/* ---------- Area cards ---------- */
.areacard {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: #fff; min-height: 340px; box-shadow: var(--shadow-sm);
}
.areacard .imgslot { position: absolute; inset: 0; border-radius: 0; min-height: 0; }
.areacard__body {
  position: relative; z-index: 2; height: 100%; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  background: linear-gradient(to top, rgba(10,10,11,.9) 0%, rgba(10,10,11,.35) 55%, rgba(10,10,11,.15) 100%);
}
.areacard h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.areacard p { font-size: .9375rem; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.areacard__cta { font-weight: 700; color: #fff; font-size: .9375rem; }
.areacard:hover .areacard__cta { color: #FF6B75; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 18px; font-size: 1.0625rem; line-height: 1.65; color: var(--gray-900); }
.quote cite { font-style: normal; font-weight: 700; color: var(--black); font-size: .9375rem; }
.quote .quote__meta { display: block; font-size: .8125rem; color: var(--gray-500); font-weight: 600; margin-top: 2px; }

.notice {
  border: 1px dashed var(--red); background: var(--red-tint); color: var(--gray-900);
  border-radius: var(--radius); padding: 20px 24px; font-size: .9375rem;
}
.notice strong { color: var(--red); }
.notice :last-child { margin-bottom: 0; }

/* ---------- Comparison table ---------- */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--gray-300); font-size: .9375rem; }
.compare thead th { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); }
.compare thead th:last-child { color: var(--blue); }
.compare tbody th { font-weight: 700; color: var(--gray-900); }
.compare .no { color: var(--gray-500); }
.compare .yes { color: var(--gray-900); font-weight: 600; }
.compare .no::before  { content: "✕"; color: var(--gray-500); font-weight: 800; margin-right: 10px; }
.compare .yes::before { content: "✓"; color: var(--success); font-weight: 800; margin-right: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--gray-300); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-weight: 700; font-size: 1.0625rem; color: var(--black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--red); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > *:not(summary) { padding-bottom: 8px; }
.faq p { font-size: .9375rem; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; background: var(--blue-dark); overflow: hidden; text-align: center; }
.ctaband .container { position: relative; z-index: 2; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.82); max-width: 60ch; margin-inline: auto; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255,255,255,.7); font-size: .9375rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px;
  padding-block: 72px 48px;
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer__grid { grid-template-columns: 1fr; } }
.footer img.footer__logo { height: 62px; width: auto; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__nap { font-style: normal; line-height: 1.9; }

.miniform { display: grid; gap: 14px; }
/* These inputs sit on the dark footer but inherit the site's white field styling
   from `.field input`. Match that deliberately rather than fighting it — the
   previous white-on-white placeholder was invisible until focus. */
.miniform .field input[type="text"],
.miniform .field input[type="email"] {
  width: 100%; font: inherit; font-size: .9375rem; padding: 13px 14px;
  border: 1px solid var(--gray-300); border-radius: 8px;
  background: #fff; color: var(--black);
}
.miniform .field input::placeholder { color: var(--gray-500); opacity: 1; }
.miniform .field input:focus {
  outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35);
}
.miniform label {
  display: block; font-size: .8125rem; font-weight: 600;
  color: rgba(255,255,255,.75); margin-bottom: 6px;
}
.miniform .field { margin: 0; }
.miniform .field__error { color: #FF8A93; font-weight: 600; }
.miniform .btn { padding: 14px 20px; font-size: .9375rem; margin-top: 2px; }

/* Compliance strip */
.compliance { border-top: 1px solid rgba(255,255,255,.14); padding-block: 32px 40px; font-size: .8125rem; line-height: 1.75; color: rgba(255,255,255,.55); }
.compliance__marks { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 20px; }
.compliance__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 6px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.compliance__links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.compliance a { text-decoration: underline; }

/* ---------- Mobile sticky CTA ---------- */
.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--gray-300);
}
.stickycta .btn { width: 100%; padding: 16px; }
@media (max-width: 780px) { .stickycta { display: block; } body { padding-bottom: 84px; } }

/* ---------- Landing page (stripped chrome) ---------- */
.header--minimal .nav, .header--minimal .nav-toggle { display: none; }
.lp-hero { background: var(--blue-dark); color: rgba(255,255,255,.86); position: relative; overflow: hidden; }
.lp-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1100px 620px at 15% 12%, rgba(0,51,160,.55), transparent 65%),
              radial-gradient(900px 520px at 92% 88%, rgba(227,6,19,.22), transparent 62%);
}
.lp-hero .container { position: relative; z-index: 2; }
.lp-hero__grid {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 20px 56px; align-items: start;
  grid-template-areas: "intro form" "support form";
  align-content: start; padding-block: clamp(44px, 6vw, 76px);
}
.lp-intro   { grid-area: intro; }
.lp-support { grid-area: support; }
.lp-hero__grid .formcard { grid-area: form; }

/* Mobile: headline, then the form, then the supporting copy. The first input
   must be reachable without scrolling — that is the whole point of this page. */
@media (max-width: 980px) {
  .lp-hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "form" "support";
    gap: 28px; padding-block: 28px 44px;
  }
  .lp-support { margin-top: 4px; }
}
.lp-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.06; margin-bottom: 0; }
.lp-hero .lead { color: rgba(255,255,255,.84); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; font-size: .9375rem; color: rgba(255,255,255,.86); line-height: 1.55; }
.checklist li::before { content: "✓"; color: var(--red); font-weight: 800; flex: none; }

.lp-trust { background: var(--gray-100); }

/* ---------- Breadcrumbs ---------- */
.crumbs { background: var(--gray-100); border-bottom: 1px solid var(--gray-300); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 14px 0; font-size: .8125rem; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--gray-500); }
.crumbs a { color: var(--gray-700); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--gray-500); }

/* ---------- Interior page hero ---------- */
.pagehero { position: relative; background: var(--black); color: rgba(255,255,255,.86); overflow: hidden; }
.pagehero__media { position: absolute; inset: 0; z-index: 0; }
.pagehero__media picture, .pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,10,11,.93) 25%, rgba(10,10,11,.68) 65%, rgba(10,10,11,.5) 100%);
}
.pagehero .container { position: relative; z-index: 2; }
.pagehero__content { max-width: 640px; padding-block: clamp(64px, 9vw, 116px); }
.pagehero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.pagehero .lead { color: rgba(255,255,255,.84); margin-bottom: 30px; }
.pagehero .eyebrow { color: #FF6B75; }

/* ---------- Long-form prose ---------- */
.prose { font-size: 1.0625rem; line-height: 1.75; }
.prose > h2 { margin-top: 2em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 1.6em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .6em; }
/* Buttons must keep their own colour. Without :not(), `.prose a` (0,1,1) beats
   `.btn--primary` (0,1,0) and turns the in-article CTA's text blue on red. */
.prose a:not(.btn):not(.btn-ghost) { color: var(--blue); text-underline-offset: 3px; }
.prose a:not(.btn):not(.btn-ghost):hover { color: var(--red); }
.prose a.btn--primary { color: #fff; }
.prose a.btn--secondary { color: var(--blue); }
.prose a.btn--secondary:hover { color: #fff; }
.prose .notice { margin: 2em 0; }
.prose code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-size: .9em; }

.posthead { margin-bottom: 32px; }
.posthero { border-radius: var(--radius); margin-bottom: 44px; width: 100%; height: auto; }
.postcard__meta { font-size: .8125rem; color: var(--gray-500); font-weight: 600; margin-bottom: 10px; }

/* ---------- Inline article CTA ---------- */
.inlinecta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--blue-tint); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 28px 32px; margin: 44px 0;
}
.inlinecta h3 { font-size: 1.15rem; margin-bottom: 6px; }
.inlinecta p { margin: 0; font-size: .9375rem; }
.inlinecta .btn { flex: none; }

/* ---------- Blog listing ---------- */
.postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .postgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .postgrid { grid-template-columns: 1fr; } }
.postcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.postcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.postcard__link { text-decoration: none; color: inherit; display: block; height: 100%; }
.postcard__img { width: 100%; height: 200px; object-fit: cover; }
.postcard__body { padding: 24px; }
.postcard h2, .postcard h3 { font-size: 1.0625rem; line-height: 1.35; margin-bottom: 10px; }
.postcard p { font-size: .9375rem; color: var(--gray-700); }

/* ---------- Neighbourhood grid ---------- */
.hoodgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .hoodgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hoodgrid { grid-template-columns: 1fr; } }
.hood { background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 26px; }
.hood h3 { font-size: 1.0625rem; margin-bottom: 8px; color: var(--blue); }
.hood p { font-size: .9375rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr; } }
.gallery__img, .gallery picture { border-radius: var(--radius); overflow: hidden; }
.gallery__img { width: 100%; height: 300px; object-fit: cover; display: block; }

/* ---------- Timeline (selling process) ---------- */
.timeline { list-style: none; counter-reset: tl; padding: 0; margin: 0; max-width: 780px; margin-inline: auto; }
.timeline li { counter-increment: tl; position: relative; padding: 0 0 40px 78px; }
.timeline li::before {
  content: counter(tl); position: absolute; left: 0; top: 0;
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; z-index: 2;
}
.timeline li::after {
  content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: var(--gray-300);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.125rem; margin-bottom: 6px; }
.timeline p { font-size: .9375rem; margin: 0; }

/* ---------- Big stat number ---------- */
.bignum { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--blue); margin: 0; font-variant-numeric: tabular-nums; }

/* ---------- Team ---------- */
.teamcard { text-align: center; }
.teamcard__photo {
  width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--gray-100); border: 2px dashed var(--gray-300);
  display: grid; place-items: center; color: var(--gray-500); font-size: .8125rem; font-weight: 700;
}
.teamcard__role { font-size: .8125rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Contact ---------- */
.contactgrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .contactgrid { grid-template-columns: 1fr; } }
.contactaside { background: var(--gray-100); border-radius: var(--radius); padding: 34px; }
.contactaside h2 { font-size: 1.3rem; margin-bottom: 2px; }
.contactaside__brokerage { color: var(--blue); font-weight: 800; font-size: .9375rem; margin-bottom: 24px; }
.contactlist { margin: 0 0 24px; }
.contactlist dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); font-weight: 700; margin-top: 16px; }
.contactlist dd { margin: 4px 0 0; font-weight: 600; color: var(--gray-900); }
.mapslot {
  margin-top: 24px; border: 2px dashed var(--gray-300); border-radius: var(--radius);
  padding: 24px; font-size: .8125rem; color: var(--gray-500); background: #fff;
}
.mapslot p { margin: 0; }

/* ---------- Market data table ---------- */
.datatable { width: 100%; border-collapse: collapse; background: #fff; min-width: 420px; }
.datatable caption {
  text-align: left; font-size: .8125rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gray-500); padding-bottom: 14px;
}
.datatable th, .datatable td { padding: 13px 18px; border-bottom: 1px solid var(--gray-300); font-size: .9375rem; }
.datatable th { text-align: left; font-weight: 600; color: var(--gray-700); }
.datatable td { text-align: right; font-weight: 700; color: var(--black); font-variant-numeric: tabular-nums; }
.datatable tr:last-child th, .datatable tr:last-child td { border-bottom: 0; }
.datatable tbody tr:nth-child(even) { background: var(--gray-100); }

/* Wide town-comparison table */
.datatable--wide { min-width: 940px; }
.datatable--wide thead th {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--gray-500); text-align: right; border-bottom: 2px solid var(--gray-300);
  white-space: nowrap;
}
.datatable--wide thead th:first-child { text-align: left; }
.datatable--wide tbody th { white-space: nowrap; }
.datatable--wide tbody th a { color: var(--blue); text-decoration: none; }
.datatable--wide tbody th a:hover { color: var(--red); text-decoration: underline; }
.datatable__focus th a { color: var(--red) !important; }
.datatable__total { background: var(--blue-tint) !important; border-top: 2px solid var(--blue); }
.datatable__total th, .datatable__total td { color: var(--blue); font-weight: 800; }

.datanote { font-size: .8125rem; line-height: 1.7; color: var(--gray-500); margin-top: 18px; }
.datanote strong { color: var(--gray-700); }
.datanote-wrap { margin-top: 28px; }

/* ---------- Map embed ---------- */
.mapembed {
  position: relative; width: 100%; padding-top: 42%; min-height: 320px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
}
.mapembed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .mapembed { padding-top: 75%; } }

/* ---------- Area card images (replacing the placeholder slots) ---------- */
.areacard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.areacard picture { position: absolute; inset: 0; z-index: 0; }
/* Fill the card regardless of whether the img carries .areacard__img — without
   this the image renders at its natural aspect and the gradient washes the rest. */
.areacard picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature picture img { width: 100%; height: 176px; object-fit: cover; display: block; }
