/* ==========================================================================
   The Andrea Scanlon Team — RE/MAX Elite
   Shared stylesheet. Cream page, Bridge Blue ink, RE/MAX Red accent, Montserrat.
   ========================================================================== */

:root {
  --cream: #f7f5ee;
  --white: #ffffff;
  --ink: #0c2749;          /* Bridge Blue — text and dark bands */
  --ink-deep: #000e35;     /* Dark Blue — footer, photo fallback */
  --red: #c8102e;          /* RE/MAX Red — one CTA per view, active rules */
  --red-hover: #aa1120;
  --hairline: #ddd9ce;
  --border: #cfcabd;
  --wash: #f0ede3;
  --wash-strong: #e9e5d8;
  --focus: #0043ff;
  --ink-80: rgba(12,39,73,.8);
  --ink-60: rgba(12,39,73,.6);
  --cream-90: rgba(247,245,238,.9);
  --cream-85: rgba(247,245,238,.85);
  --cream-72: rgba(247,245,238,.72);
  --cream-line: rgba(247,245,238,.24);
  --cream-border: rgba(247,245,238,.6);
  --shadow-sm: 0 1px 3px rgba(12,39,73,.08);
  --shadow-lg: 0 12px 32px rgba(12,39,73,.18);
  --scrim: linear-gradient(180deg, rgba(0,14,53,.6) 0%, rgba(0,14,53,.25) 40%, rgba(0,14,53,.78) 100%);
  --scrim-tile: linear-gradient(180deg, transparent 40%, rgba(0,14,53,.72) 100%);
  --font: 'Montserrat', system-ui, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 60px);
  --ease: cubic-bezier(.2,.6,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.62; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.022em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; }
h2 { font-size: clamp(36px, 4vw, 52px); }
h3 { font-size: 32px; line-height: 1.06; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--ink); }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--cream); padding: 12px 20px; text-decoration: none; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }
.band--white { background: var(--white); }
.band--cream { background: var(--cream); }
.band--ink { background: var(--ink); color: var(--cream); }
.band--ink h2, .band--ink h3, .band--ink a { color: var(--cream); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 44px; }
.measure { max-width: 720px; }
.measure--lead { max-width: 560px; }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.center { text-align: center; align-items: center; }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow--center::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.band--ink .eyebrow, .hero .eyebrow { color: var(--cream); }
.lead { font-size: 18px; line-height: 1.62; font-weight: 300; }
.lead--lg { font-size: 20px; line-height: 1.6; }
.body-muted { color: var(--ink-80); }
.small { font-size: 14px; line-height: 1.55; }
.micro { font-size: 12px; line-height: 1.5; color: var(--ink-60); }
.band--ink .lead, .hero .lead { color: var(--cream-90); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 28px; border-radius: 3px; border: 1px solid transparent; font: 700 12px/1.25 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color 140ms var(--ease), color 140ms var(--ease); cursor: pointer; }
.btn--lg { padding: 18px 34px; font-size: 13px; }
.btn--primary { background: var(--red); color: var(--cream); }
.btn--primary:hover { background: var(--red-hover); color: var(--cream); }
.btn--secondary { background: var(--ink); color: var(--cream); }
.btn--secondary:hover { background: var(--ink-deep); color: var(--cream); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--wash-strong); color: var(--ink); }
.btn--inverse { border-color: var(--cream-border); color: var(--cream); background: transparent; }
.btn--inverse:hover { background: rgba(247,245,238,.12); color: var(--cream); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-rule { display: inline-block; font: 700 12px var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 4px; }

/* Pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill { white-space: nowrap; padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; font: 500 14px var(--font); color: var(--ink); text-decoration: none; background: var(--cream); transition: background-color 140ms var(--ease); }
.pill:hover { background: var(--wash-strong); color: var(--ink); }
.pill--sm { padding: 9px 16px; font-size: 13px; background: var(--white); }
.pill--sm:hover { background: var(--wash); }
.pill--strong { border-color: var(--ink); font: 700 12px var(--font); letter-spacing: .1em; text-transform: uppercase; background: var(--white); }
.pill--active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Header (sits over the hero) */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 40px; padding: 26px var(--gutter); flex-wrap: wrap; }
.site-header__logo img { height: 44px; width: auto; }
.site-nav { display: flex; gap: 34px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.site-nav > a, .nav-dd > a { font: 700 12px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav > a:hover, .nav-dd > a:hover { color: var(--cream); }
.site-nav a[aria-current="page"], .nav-dd[aria-current="page"] > a { border-bottom-color: var(--red); }
.site-nav .btn { padding: 12px 20px; border-bottom: 1px solid var(--cream-border); }
.site-nav .btn[aria-current="page"] { background: rgba(247,245,238,.12); }
.nav-dd { position: relative; }
.nav-dd > a span { font-weight: 400; opacity: .8; }
.nav-dd__menu { display: none; position: absolute; top: 100%; left: -20px; padding-top: 14px; z-index: 30; }
.nav-dd:hover .nav-dd__menu, .nav-dd:focus-within .nav-dd__menu { display: block; }
.nav-dd__panel { background: var(--white); border: 1px solid var(--hairline); border-radius: 4px; box-shadow: var(--shadow-lg); padding: 10px; display: flex; flex-direction: column; min-width: 220px; }
.nav-dd__panel a { padding: 12px 14px; font: 700 12px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-radius: 3px; white-space: nowrap; }
.nav-dd__panel a:hover { background: var(--wash); color: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; background-color: var(--ink-deep); background-size: cover; background-position: center; background-repeat: no-repeat; color: var(--cream); }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--scrim); z-index: 1; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; transform-origin: 55% 50%; animation: hero-settle 30s cubic-bezier(.16,1,.3,1) both; }
.hero > .hero__copy, .hero > .hero__grid, .hero > .crumbs { position: relative; z-index: 2; }
.hero__copy { animation: rise-in 900ms cubic-bezier(.16,1,.3,1) 120ms both; }
@keyframes hero-settle { from { transform: scale(1.06) translateX(1.5%); } to { transform: scale(1) translateX(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 620ms cubic-bezier(.16,1,.3,1), transform 620ms cubic-bezier(.16,1,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero__bg, .hero__copy { animation: none; } .reveal { opacity: 1; transform: none; transition: none; } }
.hero--home { min-height: 820px; }
.hero--short { min-height: 420px; }
.hero--mid { min-height: 480px; }
.hero--solid { background-image: none !important; background-color: var(--ink); }
.hero--solid .hero__bg { display: none; }
.hero--solid::before { display: none; }
.hero__copy { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 160px var(--gutter) 80px; max-width: 880px; }
@media (max-width: 1180px) { .hero__copy, .hero--short .hero__copy, .hero--mid .hero__copy { padding-top: 220px; } .hero--home .hero__copy { padding-top: 240px; } .hero__grid, .hero--split .hero__copy { padding-top: 200px; } .site-header__inner { gap: 20px 32px; } .site-nav { gap: 22px; } }
.hero--short .hero__copy, .hero--mid .hero__copy { padding-bottom: 60px; }
.hero__copy h1, .hero__copy h2 { color: var(--cream); }
.hero--home .hero__copy { max-width: none; align-items: center; text-align: center; padding: 200px var(--gutter) 140px; }
.hero--home h1 { font-size: clamp(44px, 5.5vw, 76px); max-width: 900px; }
.hero--home .lead { max-width: 560px; }
.hero__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 64px; align-items: center; padding: 140px var(--gutter) 72px; max-width: var(--container); margin-inline: auto; width: 100%; }
.hero__grid .hero__copy { padding: 0; }
.hero__photo { position: relative; min-height: 520px; background-size: cover; background-position: 70% 30%; }
.hero__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,14,53,.82) 0%, rgba(0,14,53,.35) 40%, rgba(0,14,53,0) 70%); }
.hero--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.hero--split .hero__copy { padding: 140px var(--gutter) 80px; justify-content: center; }
.hero .crumbs { display: flex; gap: 8px; font: 700 12px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); }
.hero .crumbs a { color: rgba(247,245,238,.75); text-decoration: none; }
.hero .crumbs span { opacity: .5; }

/* Proof line */
.proof { display: flex; justify-content: center; gap: 32px; align-items: center; flex-wrap: wrap; padding: 26px var(--gutter); background: var(--ink); color: var(--cream); font-weight: 300; font-size: 16px; }
.proof strong { font-weight: 700; }
.proof span { white-space: nowrap; }
.proof i { width: 1px; height: 20px; background: var(--cream-line); }

/* Tabs */
.tabs { display: flex; border-bottom: 1px solid var(--hairline); flex-wrap: wrap; }
.tabs a, .tabs span { white-space: nowrap; padding: 14px 24px; font: 700 12px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-60); text-decoration: none; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.tabs .is-active { color: var(--ink); border-bottom-color: var(--red); }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid--6 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 80px; align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.sticky { position: sticky; top: 24px; }

/* Photos */
.photo { border-radius: 2px; object-fit: cover; width: 100%; }
.photo--2x3 { aspect-ratio: 2 / 3; max-width: 520px; justify-self: center; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--4x5 { aspect-ratio: 4 / 5; max-width: 420px; }
.photo--square { aspect-ratio: 1; }
.photo--top { object-position: 50% 20%; }

/* Photo tiles (communities, journey doors) */
.tile { position: relative; display: block; height: 300px; border-radius: 2px; overflow: hidden; text-decoration: none; background-color: var(--ink); background-size: cover; background-position: center; color: var(--cream); }
.tile::before { content: ""; position: absolute; inset: 0; background: var(--scrim-tile); z-index: 1; }
.tile__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 620ms cubic-bezier(.16,1,.3,1); }
.tile:hover .tile__img { transform: scale(1.04); }
.tile__label { z-index: 2; }
.tile__body { z-index: 2; }
/* journey doors: scrim lightens and the link rule extends */
.tile--door .tile__body { transition: transform 420ms cubic-bezier(.16,1,.3,1); }
.tile--door:hover .tile__body { transform: translateY(-6px); }
.tile--door .link-rule { position: relative; border-bottom-color: transparent; }
.tile--door .link-rule::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 28px; background: var(--red); transition: width 420ms cubic-bezier(.16,1,.3,1); }
.tile--door:hover .link-rule::after { width: 100%; }
.tile__label { position: absolute; left: 22px; bottom: 20px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--cream); }
.tile--door { height: 560px; }
.tile--door::before { background: linear-gradient(180deg, transparent 45%, rgba(0,14,53,.78) 100%); }
.tile__body { position: absolute; left: 28px; right: 28px; bottom: 28px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tile__body h3 { color: var(--cream); }
.tile__body p { font-weight: 300; color: var(--cream-85); }
.tile__body .link-rule { color: var(--cream); margin-top: 8px; }
.tile:hover .link-rule, .tile:hover { color: var(--cream); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--hairline); border-radius: 4px; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.band--white .card { background: var(--cream); }
.card:hover { color: var(--ink); }
a.card { transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card__img { width: 100%; height: 200px; object-fit: cover; }
.card__img--tall { height: 240px; }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card__body--lg { padding: 32px 32px 36px; gap: 22px; }
.card__title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.card .link-rule { margin-top: 6px; }
.card--pad { padding: 36px; gap: 14px; }
.card--pad .bar { width: 56px; height: 3px; background: var(--red); }
.card--pad h3 { font-size: 24px; line-height: 1.1; letter-spacing: -.01em; }
.note { padding: 16px 20px; background: var(--white); border: 1px solid var(--hairline); border-radius: 3px; font-weight: 300; font-size: 14px; line-height: 1.55; }
.note strong { font-weight: 700; }

/* Community list cards */
.place { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.place:hover { color: var(--ink); }
.place__img { height: 240px; border-radius: 2px; background-size: cover; background-position: center; background-color: var(--ink); }
.place__body { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.place__body p { font-weight: 300; font-size: 15px; line-height: 1.55; color: var(--ink-80); }

/* Pros / cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.pros-cons > div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.55; }
.pros-cons h4 { margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.pros-cons .cons { color: var(--ink-80); }
.pros-cons .cons h4 { color: var(--ink-60); }

/* Journey steps */
.journey { display: flex; flex-direction: column; }
.journey__step { display: flex; gap: 22px; }
.journey__rail { display: flex; flex-direction: column; align-items: center; }
.journey__rail::after { content: ""; flex: 1; width: 1px; background: var(--border); margin: 6px 0; }
.journey__step:last-child .journey__rail::after { display: none; }
.num { flex: none; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.num--active { background: var(--red); border-color: var(--red); color: var(--cream); }
.journey__body { display: flex; flex-direction: column; gap: 6px; padding-bottom: 32px; }
.journey__step:last-child .journey__body { padding-bottom: 0; }
.journey__body h3 { font-size: 20px; letter-spacing: 0; }
.journey__body p { font-weight: 300; color: var(--ink-80); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 40px; }
.step { display: flex; gap: 18px; }
.step h3 { font-size: 18px; letter-spacing: 0; }
.step p { font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--ink-80); margin-top: 6px; }

/* Hairline lists & FAQ */
.rows { display: flex; flex-direction: column; }
.rows > * { padding: 20px 0; border-top: 1px solid var(--hairline); }
.rows > *:last-child { border-bottom: 1px solid var(--hairline); }
.rows--split > * { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rows h3 { font-size: 16px; letter-spacing: 0; }
.rows p { font-weight: 300; font-size: 15px; line-height: 1.55; color: var(--ink-80); }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; color: var(--ink-60); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding-bottom: 24px; font-weight: 300; color: var(--ink-80); max-width: 64ch; }
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.cells > div { background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.cells h3 { font-size: 18px; letter-spacing: 0; }
.cells p { font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--ink-80); }

/* Quotes */
.quote { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 4px; }
.quote::before { content: ""; width: 56px; height: 3px; background: var(--red); }
.quote p { font-weight: 300; font-size: 17px; line-height: 1.6; }
.quote cite { font-style: normal; font: 700 12px var(--font); letter-spacing: .14em; text-transform: uppercase; }
.quote cite span { display: block; font-weight: 400; color: var(--ink-60); }
.band--ink .quote { border: 1px solid var(--cream-line); }
.band--ink .quote p { font-size: 18px; }
.band--ink .quote cite span { color: var(--cream-72); }
.band--white .quote, .band--cream .quote { background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm); }
.quote--feature { max-width: 880px; margin-inline: auto; text-align: center; align-items: center; background: none !important; border: 0 !important; box-shadow: none !important; gap: 28px; padding: 0; }
.quote--feature p { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; letter-spacing: -.01em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.stats--tight { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--cream-line); padding-left: 24px; }
.stat b { font-size: 56px; line-height: 1; letter-spacing: -.022em; }
.stats--tight .stat b { font-size: 36px; letter-spacing: -.02em; }
.stat span { font-weight: 300; color: var(--cream-85); }
.stats--tight .stat span { font: 700 11px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-72); }

/* Forms */
.form { background: var(--cream); border: 1px solid var(--hairline); border-radius: 4px; box-shadow: var(--shadow-sm); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.form h3 { font-size: 24px; letter-spacing: -.01em; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field > span { font: 700 11px var(--font); letter-spacing: .14em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: 3px; background: var(--white); font: 400 15px var(--font); color: var(--ink); }
.field textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(0,67,255,.18); }
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.seg label { flex: 1; min-width: 100px; height: 44px; border: 1px solid var(--border); background: var(--white); border-radius: 3px; display: flex; align-items: center; justify-content: center; font: 700 12px var(--font); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Filter bar */
.filter-bar { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--hairline); padding: 16px var(--gutter); }
.filter-bar__inner { max-width: var(--container); margin-inline: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.filter-bar input, .filter-bar select { height: 48px; border: 1px solid var(--border); border-radius: 3px; padding: 0 16px; font: 500 14px var(--font); color: var(--ink); background: var(--white); }
.filter-bar input { flex: 2; min-width: 220px; font-weight: 400; }
.filter-bar select { flex: 1; min-width: 120px; }
.filter-bar .btn { height: 48px; padding: 0 24px; }

/* IDX embed wrapper */
.idx { min-height: 480px; }
.idx__placeholder { border: 1px dashed var(--border); border-radius: 4px; background: var(--cream); padding: 48px 32px; text-align: center; color: var(--ink-60); }

/* CTA band */
.cta { padding: 96px var(--gutter); background: var(--ink); color: var(--cream); text-align: center; }
.cta__inner { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta h2 { color: var(--cream); }
.cta p { font-weight: 300; font-size: 18px; color: var(--cream-85); max-width: 560px; }
.cta--split { text-align: left; padding-block: 80px; }
.cta--split .cta__inner { max-width: var(--container); flex-direction: row; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta--split h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.06; }
.cta--cream { background: var(--cream); color: var(--ink); }
.cta--cream h2 { color: var(--ink); }
.cta--cream p { color: var(--ink); }

/* Footer */
.site-footer { padding: 72px var(--gutter) 40px; background: var(--ink-deep); color: var(--cream); }
.site-footer__grid { max-width: var(--container); margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__brand img { height: 48px; width: auto; align-self: flex-start; }
.site-footer__brand p { font-weight: 300; font-size: 15px; color: var(--cream-85); }
.site-footer__brand p.small { font-size: 13px; color: var(--cream-72); }
.site-footer h2 { font: 700 11px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer li a { font-size: 14px; color: var(--cream-85); text-decoration: none; }
.site-footer li a:hover { color: var(--cream); }
.site-footer__legal { max-width: var(--container); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--cream-line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12px; line-height: 1.6; color: var(--cream-72); }

@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .split { gap: 40px; }
  .form-grid, .pros-cons { grid-template-columns: 1fr; }
  .hero__copy { padding-top: 200px; }
  .tile--door { height: 420px; }
  .site-nav { gap: 18px 24px; }
}
