/*
 * Independent homepage composition.
 * Load after style.css. Home-specific rules use .home-*; the clarity,
 * purchase and yield sections below are shared, self-contained components.
 * No external fonts, fixed text-box heights, hidden copy, or auto-animation.
 */

:root {
  --home-accent: #826334;
  --home-cta: #dec38a;
  --home-body: #294746;
  --home-muted: #536b67;
  --home-line: #d3ded8;
  --home-soft: #eaf1ec;
  --home-radius: 12px;
}

/* Shared accessibility corrections, including the original mobile controls. */
.button.gold {
  background: var(--home-cta);
  border-color: var(--home-cta);
  color: #142d36;
}
.button.gold:hover { background: #ddc995; border-color: #ddc995; }
/* Readable labels everywhere, not only the homepage's featured cards. */
.pill { background: #cfb780; color: #142d36; }
/* A selected choice is identifiable without comparing colors. */
.choice .choice-selected { display: none; color: #142d36; font-size: 12px; font-weight: 700; margin-top: 6px; }
.choice[aria-pressed=true] { border-color: #765b2c; }
.choice[aria-pressed=true] .choice-selected { display: block; }
.site-header .menu-toggle { min-width: 44px; min-height: 44px; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
.mobile-bar .button { min-height: 44px; font-size: 13px; }
.mobile-bar .whatsapp { background: #186c41; color: #fff; }
.mobile-bar > .button:first-child { min-width: 0; gap: 8px; }
:where(a, button, input, select, summary):focus-visible {
  outline: 3px solid #785b25;
  outline-offset: 4px;
}
.home-hero :where(a, button):focus-visible,
.site-header :where(a, button):focus-visible {
  outline-color: #f3d69c;
}

/* Section rhythm and text: readable at a glance, with room for real depth. */
.home-hero ~ .section { padding-top: 64px; padding-bottom: 28px; }
.home-hero ~ .section .section-head h2 { font-size: clamp(29px, 3.2vw, 42px); line-height: 1.16; }
.home-hero ~ .section .section-head > p { color: var(--home-muted); font-size: 14px; line-height: 1.65; }
.home-hero ~ .section .eyebrow,
.home-team .eyebrow,
.home-living .eyebrow { color: var(--home-accent); font-size: 11px; line-height: 1.55; }
.home-hero ~ .section .section-head { align-items: end; }
.home-hero ~ .section .text-link,
.home-team .text-link,
.home-living .text-link {
  min-height: 44px;
  max-width: 100%;
  color: var(--home-accent);
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  text-underline-offset: 4px;
}
.home-hero ~ .section a:hover .text-link,
.home-hero ~ .section a.text-link:hover,
.home-team .text-link:hover,
.home-living .text-link:hover { text-decoration: underline; }
.section-intro { max-width: 780px; font-size: 16px; line-height: 1.8; color: var(--home-body); margin: 0 0 26px; }
.home-hero ~ .section .small { font-size: 13px; line-height: 1.7; color: var(--home-muted); }
.home-hero ~ section :where(h2, h3, p, a) { overflow-wrap: break-word; }
.home-hero ~ section[id] { scroll-margin-top: 92px; }

/* Hero: visible photography, restrained type, no overlap with later tools. */
.home-hero {
  height: auto;
  min-height: 0;
  background: #102c36;
}
.home-hero .hero-photo { inset: 0; width: 100%; height: 100%; object-position: center 48%; }
.home-hero .hero-shade {
  background: linear-gradient(90deg, #082833f2 0%, #082833de 34%, #08283398 61%, #08283326 100%);
}
.home-hero .hero-copy { padding-top: 40px; padding-bottom: 64px; }
.home-hero .hero-copy > .eyebrow { max-width: 650px; color: #e4d3aa; font-size: 11px; letter-spacing: .12em; margin-bottom: 12px; }
.home-hero .hero-copy h1 {
  max-width: 850px;
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.home-hero .hero-copy > p:not(.eyebrow) { max-width: 635px; margin: 17px 0 0; font-size: 17px; line-height: 1.6; color: #f4f5ee; }
.home-hero .hero-copy .hero-subtitle { max-width: 680px; margin-top: 10px; font-size: clamp(20px, 2vw, 25px); line-height: 1.3; font-weight: 700; }
.home-hero .hero-copy .hero-intro { margin-top: 8px; font-size: 16px; line-height: 1.55; }
.home-hero .hero-copy .hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 17px; }
.home-hero .hero-actions .button { min-height: 48px; border-radius: 7px; gap: 12px; }
.home-hero .hero-actions .outline { background: #092a357a; border-color: #eef2ed8c; }
.home-hero .hero-copy .hero-note { max-width: 650px; margin-top: 9px; font-size: 13px; line-height: 1.5; }
.home-hero .hero-copy .hero-proof {
  max-width: 850px;
  margin-top: 10px;
  padding-top: 0;
  gap: 7px 20px;
  color: #f5f2e9;
  font-size: 13px;
  line-height: 1.5;
  border-top: 0;
}
.home-hero .hero-copy .hero-proof > :is(a, span) { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; }
.home-hero .hero-copy .hero-proof > a { text-decoration: underline; text-decoration-color: #ffffff80; text-underline-offset: 4px; }
.home-hero .hero-copy .hero-proof > a:hover { text-decoration-color: #fff; }
.home-hero .hero-credit {
  bottom: 15px;
  right: max(22px, calc((100% - 1320px) / 2));
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  background: #082833cf;
  color: #fff;
  font-size: 11px;
  line-height: 1.45;
  border-radius: 5px;
}

/* Four assurance cards: factual, quiet, and compact rather than billboard-size. */
.buying-clarity { padding-top: 32px; padding-bottom: 4px; }
.buying-clarity .clarity-intro { grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 20px; }
.buying-clarity .clarity-intro h2 { font-size: clamp(27px, 2.6vw, 32px); line-height: 1.17; }
.buying-clarity .clarity-intro h2 br { display: none; }
.buying-clarity .clarity-intro h2 em::before { content: ' '; }
.buying-clarity .clarity-intro h2 em { color: var(--home-accent); }
.buying-clarity .clarity-intro > p { font-size: 14px; line-height: 1.65; color: var(--home-body); }
.buying-clarity .eyebrow { color: var(--home-accent); }
.buying-clarity .clarity-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.buying-clarity .clarity-card,
.buying-clarity .clarity-grid .clarity-card:last-child {
  grid-column: auto;
  min-height: 0;
  padding: 18px 18px 15px;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  transform: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.buying-clarity .clarity-card:hover { border-color: #a68c59; background: #fafbf7; }
.buying-clarity .clarity-card .value-icon { width: 26px; height: 26px; object-fit: contain; }
.buying-clarity .clarity-card h3 { font-size: 21px; line-height: 1.2; margin: 13px 0 9px; }
.buying-clarity .clarity-card > p { font-size: 14px; line-height: 1.6; color: var(--home-body); margin-bottom: 12px; }
.buying-clarity .clarity-action { font-size: 13px; line-height: 1.5; color: var(--home-accent); }
.buying-clarity .clarity-next { gap: 20px; padding: 16px 20px; margin-top: 14px; background: var(--home-soft); border-radius: 8px; }
.buying-clarity .clarity-next strong { font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; }
.buying-clarity .clarity-next span { font-size: 13px; color: var(--home-body); line-height: 1.65; }
.buying-clarity .clarity-next a { color: var(--home-accent); text-decoration: underline; text-underline-offset: 3px; }
.buying-clarity .clarity-next .button { flex-shrink: 0; }

/* Three clear routes; their text defines the audience, not a visual sales wall. */
.home-intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-intent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px 26px 20px;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: #fff;
}
.home-intent:hover { border-color: #ad9363; background: #fafbf7; }
.intent-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.6; color: var(--home-accent); }
.home-intent h3 { margin-top: 14px; font-size: clamp(25px, 2.4vw, 31px); line-height: 1.2; }
.home-intent p { flex: 1; margin: 13px 0 16px; font-size: 15px; line-height: 1.75; color: var(--home-body); }
.intent-footnote { max-width: 810px; font-size: 14px; line-height: 1.7; color: var(--home-muted); margin-top: 20px; }

/* Real people and real places: keep images distinct from text and disclosures. */
.home-team {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 48px;
  margin: 40px auto 4px;
  color: var(--ink);
  background: transparent;
}
.home-team > * { min-width: 0; }
.home-team .team-photo { height: auto; aspect-ratio: 4 / 3; min-height: 350px; border-radius: 4px; order: initial; }
.home-team .team-photo img { width: 100%; height: 100%; object-position: center 48%; }
.home-team .team-copy { padding: 0; order: initial; }
.home-team .team-copy h2 { font-size: clamp(31px, 3.1vw, 42px); line-height: 1.16; }
.home-team .team-copy p:not(.eyebrow) { max-width: none; font-size: 15px; line-height: 1.8; color: var(--home-body); }
.home-team .team-copy .gold-rule { margin: 21px 0; height: 2px; }
.home-team .team-copy .team-photo-note { margin: 9px 0 5px; font-size: 12px; line-height: 1.55; color: var(--home-muted); }
.home-team-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; list-style: none; margin: 12px 0; padding: 0; }
.home-team-people li { min-width: 0; display: grid; gap: 2px; padding-top: 7px; border-top: 1px solid var(--home-line); overflow-wrap: anywhere; }
.home-team-people strong { font-size: 13px; line-height: 1.4; color: var(--ink); }
.home-team-people span { font-size: 12px; line-height: 1.4; color: var(--home-muted); }
.local-proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0 15px; }
.local-proof span { padding: 6px 10px; border: 1px solid var(--home-line); background: var(--home-soft); border-radius: 5px; font-size: 12px; line-height: 1.6; color: var(--home-body); }
.home-catalog-routes { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.home-catalog-routes a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 15px; border: 1px solid var(--home-line); border-radius: 6px; background: #fff; font-size: 14px; line-height: 1.5; }
.home-catalog-routes a:hover { border-color: #9b885e; background: var(--home-soft); }
.home-featured .property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-featured .property-card { border-color: var(--home-line); border-radius: 10px; }
.home-featured .card-image { height: 225px; }
.home-featured .card-body { padding: 20px; }
.home-featured .card-body h3 { font-size: 28px; line-height: 1.15; }
.home-featured .card-body .eyebrow { font-size: 10px; }
.home-featured .card-body .specs { font-size: 13px; line-height: 1.6; }
.home-featured .price-row { gap: 10px; }
.home-featured .price-row strong { font-size: 16px; line-height: 1.5; }
.home-featured .price-row small { font-size: 12px; line-height: 1.5; }
.home-featured .arrow-link { min-width: 44px; min-height: 44px; display: grid; place-items: center; flex-shrink: 0; }
.home-featured .pill { background: #765b2c; color: #fff; font-size: 11px; }
.home-featured .image-note { font-size: 10px; }
.home-data-note { max-width: 780px; margin-top: 20px; }

/* Four-step path: a lightweight timeline, not four oversized promotional cards. */
.home-hero ~ .buyer-path { padding-top: 64px; padding-bottom: 58px; }
.home-hero ~ .buyer-path h2 { font-size: clamp(30px, 3.3vw, 43px); line-height: 1.18; }
.home-hero ~ .buyer-path h2 em { color: var(--home-accent); }
.home-hero ~ .buyer-path .section-intro { margin: 20px 0 26px; }
.home-hero ~ .buyer-path .buyer-path-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 25px; border-color: var(--home-line); }
.home-hero ~ .buyer-path .buyer-path-grid > div { min-width: 0; padding: 25px 22px; border-color: var(--home-line); }
.home-hero ~ .buyer-path .buyer-path-grid > div:first-child { padding-left: 0; }
.home-hero ~ .buyer-path .buyer-path-grid > div:last-child { padding-right: 0; }
.home-hero ~ .buyer-path .buyer-path-grid span { font-size: 11px; color: var(--home-accent); line-height: 1.6; }
.home-hero ~ .buyer-path .buyer-path-grid h3 { font-size: 24px; line-height: 1.2; margin-top: 16px; }
.home-hero ~ .buyer-path .buyer-path-grid p { font-size: 14px; line-height: 1.75; color: var(--home-body); }
.home-hero ~ .buyer-path .buyer-path-grid a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; line-height: 1.5; color: var(--home-accent); }
.home-living { background: var(--home-soft); padding: 56px 0; }
.home-living-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.home-living-inner > * { min-width: 0; }
.home-living h2 { font-size: clamp(31px, 3.3vw, 43px); line-height: 1.18; }
.home-living p:not(.eyebrow) { font-size: 16px; line-height: 1.8; color: var(--home-body); }
.home-living figure { margin: 0; }
.home-living figure img { aspect-ratio: 4 / 3; height: auto; border-radius: var(--home-radius); }
.home-living figcaption { margin-top: 10px; font-size: 12px; line-height: 1.6; color: var(--home-muted); }

/* The matcher now belongs in the reading flow, not pulled over the hero. */
.home-hero ~ .funnel-wrap { margin-top: 60px; margin-bottom: 60px; }
.home-hero ~ .funnel-wrap .funnel { border-color: var(--home-line); box-shadow: 0 8px 24px #0b2a3508; padding: 30px; }
.home-hero ~ .funnel-wrap .funnel-heading h2 { font-size: clamp(29px, 3.2vw, 39px); }
.home-hero ~ .funnel-wrap .funnel-heading h2 em { color: var(--home-accent); }
.home-hero ~ .funnel-wrap .choice { min-height: 72px; }
.home-hero ~ .funnel-wrap .choice.any { min-height: 44px; }
.home-hero ~ .funnel-wrap .source-note { font-size: 12px; color: var(--home-muted); }
.home-hero ~ .funnel-wrap .field-grid :is(select, input) { min-height: 46px; font-size: 16px; }

/* Cost calculator. Progressive details keep the first view understandable. */
.cost-experience:not(.cost-compact) {
  padding: 58px max(24px, calc((100% - 1190px) / 2));
  background: #edf2ec;
  color: var(--ink);
}
.cost-experience .cost-heading { gap: 30px; margin-bottom: 27px; align-items: center; }
.cost-experience .cost-heading h2 { font-size: clamp(31px, 3.4vw, 44px); line-height: 1.17; }
.cost-experience .cost-heading h2 em { color: var(--home-accent); }
.cost-experience .cost-heading p:not(.eyebrow) { color: var(--home-body); font-size: 16px; line-height: 1.75; }
.cost-experience:not(.cost-compact) .eyebrow { color: var(--home-accent); }
.cost-experience .cost-example-label { background: #fff; border: 1px solid #c7d0c4; border-radius: 7px; padding: 12px 15px; }
.cost-experience .cost-example-label strong { color: var(--home-accent); font-size: 10px; line-height: 1.6; letter-spacing: .1em; }
.cost-experience .cost-example-label span { color: var(--home-body); font-size: 12px; line-height: 1.6; }
.cost-experience .cost-card { grid-template-columns: 1fr 1fr; border: 1px solid #d0dace; border-radius: var(--home-radius); box-shadow: 0 9px 28px #16332908; overflow: clip; }
.cost-experience .cost-card > * { min-width: 0; }
.cost-experience .cost-form { padding: 29px; }
.cost-experience .cost-form fieldset { margin: 0 0 20px; padding: 0 0 20px; border-color: var(--home-line); }
.cost-experience .cost-form legend { font-size: 24px; line-height: 1.3; margin-bottom: 18px; }
.cost-experience .cost-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.cost-experience .cost-field,
.investment-experience .cost-field { display: block; min-width: 0; font-size: 13px; line-height: 1.5; color: #344c44; }
.cost-experience .cost-field > span,
.investment-experience .cost-field > span { min-height: 0; display: block; font-size: 13px; margin: 0 0 7px; }
.cost-experience .cost-input-wrap,
.investment-experience .cost-input-wrap { min-height: 46px; background: #fafbf8; border: 1px solid #b2beb2; border-radius: 5px; }
.cost-experience .cost-input-wrap input,
.investment-experience .cost-input-wrap input { min-height: 46px; height: 46px; font-size: 16px; line-height: 1.4; padding: 10px; color: #15352e; }
.cost-experience .cost-input-wrap small,
.investment-experience .cost-input-wrap small { color: #536850; font-size: 12px; padding-right: 10px; }
.cost-experience .cost-field select,
.investment-experience .cost-field select { min-height: 46px; width: 100%; font-size: 16px; padding: 9px; color: #15352e; border: 1px solid #b2beb2; border-radius: 5px; background: #fafbf8; }
.cost-experience .cost-input-wrap:focus-within,
.investment-experience .cost-input-wrap:focus-within { outline: 3px solid #785b25; outline-offset: 3px; }
.cost-experience .cost-help,
.investment-experience .cost-help { font-size: 13px; line-height: 1.75; color: var(--home-muted); }
.cost-options { padding: 0; margin-top: 4px; border-top: 1px solid var(--home-line); border-bottom: 0; }
.cost-options > summary { min-height: 56px; align-items: center; padding: 14px 0; font-size: 15px; line-height: 1.5; color: #274d40; }
.cost-options > summary > span { flex-shrink: 0; width: 20px; text-align: center; color: var(--home-accent); }
.cost-options > :not(summary) { margin-top: 8px; }
.cost-options > .cost-fields { margin-bottom: 20px; }
.cost-options[open] { padding-bottom: 12px; }
.cost-experience .cost-report { background: #f3f6f0; padding: 29px; border-color: var(--home-line); }
.cost-experience .cost-total-label { font-size: 14px; line-height: 1.6; color: var(--home-body); }
.cost-experience .cost-total { font-size: clamp(32px, 3.7vw, 47px); line-height: 1.15; overflow-wrap: anywhere; }
.cost-experience .cost-caution { font-size: 13px; line-height: 1.7; color: var(--home-muted); margin-bottom: 22px; }
.cost-experience .cost-stack { height: 14px; border-radius: 4px; }
.cost-experience .cost-legend { gap: 9px 15px; color: var(--home-body); font-size: 12px; line-height: 1.5; margin-bottom: 22px; }
.cost-experience .cost-breakdown > div { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(95px, .85fr); gap: 14px; padding: 11px 0; font-size: 13px; line-height: 1.55; }
.cost-experience .cost-breakdown dt { color: var(--home-body); overflow-wrap: break-word; }
.cost-experience .cost-breakdown dd { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.cost-experience .cost-breakdown .cost-included { padding-left: 10px; }
.cost-experience .cost-warning { background: #fffdf6; border: 1px solid #d1c79d; padding: 15px; border-radius: 6px; color: var(--home-body); font-size: 13px; line-height: 1.75; }
.cost-experience .cost-readmore { display: inline-flex; align-items: center; min-height: 44px; color: var(--home-accent); font-size: 13px; line-height: 1.6; margin-top: 16px; }
.cost-experience .cost-source-line { font-size: 12px; line-height: 1.8; color: #4c6355; max-width: 1000px; margin-top: 20px; }
.cost-experience.cost-compact .cost-card { grid-template-columns: 1fr; }
.cost-experience.cost-compact .cost-report { border-left: 0; border-top: 1px solid var(--home-line); }

/* Reusable yield module: not a homepage positioning decision. */
.investment-experience { padding-top: 58px; padding-bottom: 48px; }
.investment-experience .investment-head { gap: 38px; grid-template-columns: 1.1fr 1fr; }
.investment-experience .investment-head h2 { font-size: clamp(31px, 3.3vw, 43px); line-height: 1.18; }
.investment-experience .investment-head h2 em { color: var(--home-accent); }
.investment-experience .investment-head p:not(.eyebrow) { font-size: 15px; line-height: 1.8; color: var(--home-body); }
.investment-experience .yield-summary { gap: 14px; }
.investment-experience .yield-summary > div { padding: 24px 21px; border-color: var(--home-line); border-radius: 9px; }
.investment-experience .yield-summary span { font-size: 11px; letter-spacing: .08em; line-height: 1.7; color: var(--home-muted); }
.investment-experience .yield-summary strong { font-size: clamp(30px, 3.5vw, 43px); line-height: 1.2; overflow-wrap: anywhere; }
.investment-experience .yield-summary > div:last-child strong { color: var(--home-accent); }
.investment-experience .yield-caption,
.investment-experience .yield-source { font-size: 13px; color: var(--home-muted); line-height: 1.75; }
.investment-experience .yield-details { padding: 0; border-color: var(--home-line); border-radius: 9px; }
.investment-experience .yield-details summary { min-height: 56px; align-items: center; font-size: 15px; padding: 17px 22px; }
.investment-experience .yield-details summary span { float: none; flex-shrink: 0; }
.investment-experience .yield-inner { grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 0 23px 25px; }
.investment-experience .yield-inner > * { min-width: 0; }
.investment-experience .yield-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; align-content: start; }
.investment-experience .yield-form [data-rental-fields] { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.investment-experience .yield-form .cost-field:has(select[name="rentalMode"]) { grid-column: 1 / -1; }
.investment-experience [data-rental-fields][hidden] { display: none !important; }
.investment-experience .yield-results { min-width: 0; border-color: var(--home-line); padding-left: 23px; }
.investment-experience .yield-results > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, .8fr); gap: 14px; font-size: 13px; line-height: 1.6; padding: 12px 0; }
.investment-experience .yield-results dt { color: var(--home-body); }
.investment-experience .yield-results dd { text-align: right; white-space: normal; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.investment-experience .yield-results .yield-final { font-size: 14px; }

/* Compact practical support. Three columns match bank / mobility / residence. */
.aftercare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.aftercare-grid > a { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 23px 24px 17px; border: 1px solid var(--home-line); border-radius: 10px; background: #fff; }
.aftercare-grid > a:hover { border-color: #ad9363; background: #fafbf7; }
.service-mark { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #c8d2c3; border-radius: 50%; color: var(--home-accent); background: var(--home-soft); font-size: 11px; font-weight: 700; }
.aftercare-grid h3 { font-size: 25px; line-height: 1.22; margin-top: 17px; }
.aftercare-grid p { flex: 1; color: var(--home-body); font-size: 14px; line-height: 1.8; margin: 13px 0; }
.aftercare-close { max-width: 800px; color: var(--home-muted); font-size: 14px; line-height: 1.8; margin-top: 22px; }
.home-videos .video-card { min-height: 260px; }
.home-videos .video-card h3 { font-size: 28px; line-height: 1.2; }
.home-videos .video-card p { font-size: 13px; line-height: 1.6; }
.home-videos .video-card .eyebrow { color: #ecdbb3; }
.home-videos .video-card > div { padding: 145px 24px 24px; }
.home-regions .region-card { border-radius: 10px; }
.home-regions .region-card p { font-size: 14px; line-height: 1.7; }
.home-hero ~ .guide-section .guide-card { min-width: 0; padding: 24px; border-color: var(--home-line); border-radius: 10px; }
.guide-card > .guide-card-image { align-self: stretch; width: 100%; aspect-ratio: 16 / 9; height: auto; margin: 0 0 18px; border-radius: 5px; object-fit: cover; }
.guide-card h3,
.guide-card p,
.guide-card .text-link {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}
.guide-grid + p > .text-link { white-space: normal; }
.home-hero ~ .guide-section .guide-card p { font-size: 14px; line-height: 1.8; }
.home-hero ~ .guide-section .guide-card h3 { line-height: 1.2; }
@media (forced-colors: active) {
  .guide-card {
    color: CanvasText;
    background: Canvas;
    border: 1px solid CanvasText;
  }
  .guide-card :where(h3, p) { color: CanvasText; }
  .guide-card .text-link {
    color: LinkText;
    text-decoration: underline;
    text-underline-offset: .15em;
  }
  .guide-card:focus-visible {
    outline: 3px solid Highlight;
    outline-offset: 3px;
  }
}
.home-hero ~ .section .buyer-grid figcaption { font-size: 14px; line-height: 1.7; color: var(--home-body); }
.home-faq { grid-template-columns: .8fr 1.3fr; gap: 64px; }
.home-faq > div { min-width: 0; }
.home-faq h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.18; }
.home-faq > div > p:not(.eyebrow) { font-size: 15px; line-height: 1.8; color: var(--home-body); }
.home-faq details { padding: 0; border-color: var(--home-line); }
.home-faq summary { min-height: 60px; align-items: center; padding: 18px 0; font-size: 15px; line-height: 1.6; }
.home-faq summary > span { flex: 0 0 20px; text-align: center; color: var(--home-accent); }
.home-faq details p { font-size: 15px; line-height: 1.8; color: var(--home-body); margin: 0 0 10px; }
.home-faq details > a { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 9px; font-size: 13px; color: var(--home-accent); text-decoration: underline; text-underline-offset: 4px; }

/* Long-form tables remain readable without forcing the page wider on phones. */
.article-layout > *, .article-layout article { min-width: 0; }
.article-layout article table,
.custom-page table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; border: 1px solid var(--home-line); margin: 24px 0; font-size: 14px; line-height: 1.65; }
.article-layout article :is(th, td),
.custom-page :is(th, td) { min-width: 130px; padding: 13px 16px; text-align: left; vertical-align: top; border: 1px solid var(--home-line); }
.article-layout article th, .custom-page th { background: var(--home-soft); color: #234639; font-weight: 700; }
.article-layout article tr:nth-child(even) td, .custom-page tr:nth-child(even) td { background: #f8faf6; }

/* Article navigation must not inherit the global mobile header-nav hiding. */
nav.article-toc,
nav.related-reading {
  display: block;
  position: static;
  top: auto;
  left: auto;
  right: auto;
  max-width: 100%;
  margin: 27px 0 35px;
  padding: 24px 27px;
  background: var(--home-soft);
  border: 1px solid var(--home-line);
  border-radius: 9px;
  box-shadow: none;
  font-size: 15px;
  line-height: 1.65;
}
nav.article-toc .eyebrow,
nav.related-reading .eyebrow { font-size: 11px; color: var(--home-accent); }
.article-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; padding-left: 22px; margin: 12px 0 0; }
.article-toc li { margin: 0; padding: 0 0 0 3px; color: var(--home-accent); }
.article-layout article .article-toc a,
nav.article-toc a { display: block; min-height: 44px; padding: 9px 0; font-size: 14px; line-height: 1.65; color: #294c3e; text-decoration: none; border: 0; }
.article-layout article .article-toc a:hover,
nav.article-toc a:hover { color: var(--home-accent); text-decoration: underline; text-underline-offset: 4px; }
.article-topic { scroll-margin-top: 96px; }
.article-layout article .article-topic p { font-size: 16px; line-height: 1.85; }
.article-layout article .article-inline-link a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.6; }
.article-table-wrap { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; margin: 24px 0; border: 1px solid var(--home-line); border-radius: 6px; }
.article-table-wrap:focus-visible { outline: 3px solid #785b25; outline-offset: 4px; }
.article-layout article .article-table-wrap table { display: table; width: 100%; min-width: 520px; max-width: none; overflow: visible; margin: 0; border: 0; }
.article-table-wrap th[scope="row"] { background: transparent; color: var(--home-body); font-weight: 600; }
.article-table-wrap tr:nth-child(even) th[scope="row"] { background: #f8faf6; }
nav.related-reading { padding: 0; margin-top: 44px; background: transparent; border: 0; }
.article-layout article .related-reading h2,
nav.related-reading h2 { font-size: clamp(28px, 3vw, 35px); line-height: 1.2; margin: 9px 0 23px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.article-layout article .related-grid > a,
.related-grid > a { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 44px; padding: 20px; border: 1px solid var(--home-line); border-radius: 8px; background: #fff; color: var(--ink); text-decoration: none; }
.related-grid > a:hover { border-color: #a68c59; background: #fafbf7; }
.related-grid strong { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; line-height: 1.6; color: #294c3e; }
.related-grid strong > span { color: var(--home-accent); flex-shrink: 0; }
.related-grid > a > span { font-size: 14px; line-height: 1.7; color: var(--home-body); }
.article-layout article .guide-lead-image {
  margin: 20px 0 30px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--home-soft);
}
.guide-lead-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 810;
  object-fit: cover;
}
.article-layout article .region-lead-image {
  margin: 20px 0 30px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--home-soft);
}
.region-lead-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}
.region-lead-image figcaption {
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.7;
}
.region-lead-image figcaption span { display: block; }

@media (max-width: 1050px) {
  .buying-clarity .clarity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buying-clarity .clarity-intro { gap: 25px; }
  .home-team { gap: 30px; }
  .home-team .team-photo { min-height: 320px; }
  .home-intent { padding: 23px 20px 17px; }
  .home-intent h3 { font-size: 26px; }
  .home-hero ~ .buyer-path .buyer-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero ~ .buyer-path .buyer-path-grid > div,
  .home-hero ~ .buyer-path .buyer-path-grid > div:first-child,
  .home-hero ~ .buyer-path .buyer-path-grid > div:last-child { padding: 24px; }
  .home-hero ~ .buyer-path .buyer-path-grid > div:nth-child(2n) { border-right: 0; }
  .home-hero ~ .buyer-path .buyer-path-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--home-line); }
  .home-living-inner { gap: 32px; }
  .cost-experience .cost-card { grid-template-columns: 1fr 1fr; }
  .cost-experience .cost-form, .cost-experience .cost-report { padding: 24px; }
  .cost-experience .cost-fields { grid-template-columns: 1fr; }
  .investment-experience .investment-head { grid-template-columns: 1fr; gap: 20px; }
  .investment-experience .yield-summary { max-width: 600px; }
  .home-faq { gap: 34px; }
}

@media (max-width: 760px) {
  .home-hero .hero-copy { padding-top: 32px; padding-bottom: 62px; }
  .home-hero .hero-copy h1 { font-size: clamp(35px, 6.4vw, 48px); }
  .home-hero .hero-copy > p:not(.eyebrow) { font-size: 16px; max-width: 560px; }
  .home-hero .hero-shade { background: linear-gradient(90deg, #082833e8 0%, #082833c9 53%, #08283366 100%); }
  .buying-clarity .clarity-intro { grid-template-columns: 1fr; gap: 13px; }
  .buying-clarity .clarity-next { align-items: flex-start; flex-direction: column; gap: 14px; }
  .home-intent-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-intent { padding: 24px; }
  .home-intent h3 { font-size: 29px; margin-top: 10px; }
  .home-intent p { max-width: 610px; margin-bottom: 5px; }
  .home-team { grid-template-columns: 1fr; gap: 27px; margin-top: 30px; }
  .home-team .team-photo { min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
  .home-featured .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-featured .card-image { height: 200px; }
  .home-living-inner { grid-template-columns: 1fr; gap: 25px; }
  .home-living figure img { aspect-ratio: 16 / 10; }
  .cost-experience .cost-card { grid-template-columns: 1fr; }
  .cost-experience .cost-heading { display: block; }
  .cost-experience .cost-example-label { display: inline-block; margin-top: 8px; }
  .cost-experience .cost-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost-experience .cost-report { border-left: 0; border-top: 1px solid var(--home-line); }
  .investment-experience .yield-inner { grid-template-columns: 1fr; }
  .investment-experience .yield-results { padding-left: 0; padding-top: 14px; border-left: 0; border-top: 1px solid var(--home-line); }
  .aftercare-grid { grid-template-columns: 1fr; gap: 13px; }
  .aftercare-grid > a { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 0 17px; padding: 22px; }
  .aftercare-grid .service-mark { grid-column: 1; grid-row: 1 / 4; }
  .aftercare-grid h3, .aftercare-grid p, .aftercare-grid .text-link { grid-column: 2; }
  .aftercare-grid h3 { margin-top: 2px; font-size: 25px; }
  .aftercare-grid p { margin: 10px 0 4px; }
  .home-faq { display: grid; grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 600px) {
  .site-header .nav-shell { min-height: 64px; }
  .site-header nav { top: 64px; }
  .site-header nav a { display: flex; }
  .site-header .brand { font-size: 15px; }
  .home-hero ~ .section { padding-top: 43px; padding-bottom: 15px; }
  .home-hero ~ .section .section-head { flex-direction: column; align-items: flex-start; gap: 9px; margin-bottom: 22px; }
  .home-hero ~ .section .section-head h2 { font-size: 31px; line-height: 1.17; }
  .home-hero ~ .section .section-head > p { margin: 0; font-size: 14px; }
  .home-hero ~ .section .section-head > .text-link { max-width: none; font-size: 14px; }
  .home-hero ~ .section .eyebrow { font-size: 10px; }
  .home-hero ~ section[id] { scroll-margin-top: 78px; }
  .section-intro { font-size: 15px; line-height: 1.8; margin-bottom: 23px; }
  .home-hero { min-height: 0; }
  .home-hero .hero-copy { padding-top: 16px; padding-bottom: 45px; }
  .home-hero .hero-copy > .eyebrow { font-size: 10px; max-width: none; letter-spacing: .1em; margin-bottom: 7px; }
  .home-hero .hero-copy h1 { font-size: clamp(30px, 8vw, 37px); line-height: 1.08; letter-spacing: -.03em; }
  .home-hero .hero-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.42; margin: 7px 0 0; max-width: none; }
  .home-hero .hero-copy .hero-subtitle { font-size: 17px; line-height: 1.3; margin-top: 7px; }
  .home-hero .hero-copy .hero-intro { font-size: 14px; line-height: 1.42; margin-top: 7px; }
  .home-hero .hero-actions { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 12px; }
  .home-hero .hero-actions .button { padding: 10px 12px; min-height: 44px; font-size: 13px; gap: 8px; }
  .home-hero .hero-copy .hero-note { font-size: 11.5px; line-height: 1.4; margin-top: 7px; }
  .home-hero .hero-copy .hero-proof { display: grid; grid-template-columns: 1fr; gap: 2px; font-size: 11px; line-height: 1.4; margin-top: 8px; padding-top: 0; }
  .home-hero .hero-credit { right: 14px; bottom: 10px; font-size: 10px; }
  .buying-clarity { padding-top: 26px; padding-bottom: 4px; }
  .buying-clarity .clarity-intro { gap: 10px; margin-bottom: 17px; }
  .buying-clarity .clarity-intro h2 { font-size: 28px; }
  .buying-clarity .clarity-intro > p { font-size: 14px; }
  .buying-clarity .clarity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .buying-clarity .clarity-card,
  .buying-clarity .clarity-grid .clarity-card:last-child { padding: 18px 15px 16px; }
  .buying-clarity .clarity-card .value-icon { width: 24px; height: 24px; }
  .buying-clarity .clarity-card h3 { font-size: 20px; margin: 11px 0 9px; line-height: 1.2; }
  .buying-clarity .clarity-card > p { font-size: 13px; line-height: 1.6; }
  .buying-clarity .clarity-card .clarity-action { font-size: 12px; line-height: 1.55; }
  .buying-clarity .clarity-next { padding: 16px 18px; }
  .buying-clarity .clarity-next strong { font-size: 14px; }
  .buying-clarity .clarity-next .button { width: 100%; font-size: 13px; }
  .home-intent { padding: 23px; }
  .home-intent h3 { font-size: 28px; }
  .home-team { width: calc(100% - 32px); margin: 26px auto 0; display: grid; background: transparent; color: var(--ink); }
  .home-team .team-copy { padding: 0; }
  .home-team .team-copy h2 { font-size: 32px; }
  .home-team .team-copy p:not(.eyebrow) { font-size: 15px; color: var(--home-body); }
  .home-team .team-copy .eyebrow { font-size: 10px; color: var(--home-accent); }
  .home-team .team-photo { height: auto; width: 100%; aspect-ratio: 4 / 3; order: initial; border-radius: 4px; }
  .home-team .team-copy { order: initial; }
  .home-team-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .home-team-people strong { font-size: 12px; }
  .home-featured .property-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-featured .property-card:last-child:nth-child(odd) { grid-column: auto; }
  .home-featured .card-image,
  .home-featured .property-card:last-child:nth-child(odd) .card-image { height: auto; aspect-ratio: 1.85 / 1; }
  .home-featured .card-body { padding: 18px 20px; }
  .home-featured .card-body h3 { font-size: 28px; }
  .home-featured .card-body .specs { font-size: 13px; }
  .home-featured .price-row strong { font-size: 16px; }
  .home-featured .price-row small { font-size: 12px; }
  .home-hero ~ .buyer-path { padding-top: 44px; padding-bottom: 40px; }
  .home-hero ~ .buyer-path h2 { font-size: 32px; }
  .home-hero ~ .buyer-path .buyer-path-grid { grid-template-columns: 1fr; }
  .home-hero ~ .buyer-path .buyer-path-grid > div,
  .home-hero ~ .buyer-path .buyer-path-grid > div:first-child,
  .home-hero ~ .buyer-path .buyer-path-grid > div:last-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--home-line); }
  .home-hero ~ .buyer-path .buyer-path-grid > div:last-child { border-bottom: 0; }
  .home-hero ~ .buyer-path .buyer-path-grid h3 { font-size: 25px; margin-top: 11px; }
  .home-hero ~ .buyer-path .buyer-path-grid p { font-size: 15px; }
  .home-living { padding: 38px 0; }
  .home-living h2 { font-size: 32px; }
  .home-living p:not(.eyebrow) { font-size: 15px; }
  .home-hero ~ .funnel-wrap { margin-top: 40px; margin-bottom: 40px; }
  .home-hero ~ .funnel-wrap .funnel { padding: 25px 19px 20px; }
  .home-hero ~ .funnel-wrap .funnel-heading { text-align: left; }
  .home-hero ~ .funnel-wrap .funnel-heading h2 { max-width: none; font-size: 29px; margin: 0; }
  .home-hero ~ .funnel-wrap .funnel-heading p { font-size: 14px; line-height: 1.7; }
  .home-hero ~ .funnel-wrap .step-status { font-size: 12px; margin-left: 0; }
  .home-hero ~ .funnel-wrap .funnel-content h3 { font-size: 25px; }
  .home-hero ~ .funnel-wrap .choice { font-size: 14px; min-height: 66px; }
  .home-hero ~ .funnel-wrap .choice.any { min-height: 44px; font-size: 13px; }
  .home-hero ~ .funnel-wrap .choice small { font-size: 12px; }
  .home-hero ~ .funnel-wrap .field-grid { grid-template-columns: 1fr; gap: 17px; }
  .home-hero ~ .funnel-wrap .field-grid label { font-size: 13px; }
  .home-hero ~ .funnel-wrap .funnel-nav .button { font-size: 13px; min-height: 46px; }
  .home-hero ~ .funnel-wrap .funnel-steps span { font-size: 10px; line-height: 1.45; }
  .cost-experience:not(.cost-compact) { padding: 40px 16px; }
  .cost-experience .cost-heading h2 { font-size: 32px; }
  .cost-experience .cost-heading p:not(.eyebrow) { font-size: 15px; }
  .cost-experience .cost-form,
  .cost-experience .cost-report,
  .cost-experience.cost-compact .cost-form,
  .cost-experience.cost-compact .cost-report { padding: 22px 18px; }
  .cost-experience .cost-fields,
  .cost-experience.cost-compact .cost-fields { grid-template-columns: 1fr; gap: 17px; }
  .cost-experience .cost-form legend { font-size: 24px; }
  .cost-experience .cost-total { font-size: clamp(31px, 9vw, 42px); }
  .cost-experience .cost-breakdown > div { gap: 12px; grid-template-columns: minmax(0, 1.2fr) minmax(87px, .8fr); }
  .cost-experience .cost-source-line { font-size: 12px; }
  .investment-experience { padding-top: 40px; padding-bottom: 35px; }
  .investment-experience .investment-head h2 { font-size: 32px; }
  .investment-experience .yield-summary > div { padding: 18px 16px; }
  .investment-experience .yield-summary strong { font-size: 33px; }
  .investment-experience .yield-details summary { padding: 16px; }
  .investment-experience .yield-inner { padding: 0 17px 21px; gap: 20px; }
  .investment-experience .yield-form,
  .investment-experience .yield-form [data-rental-fields] { grid-template-columns: 1fr; gap: 17px; }
  .aftercare-grid > a { padding: 20px 17px; gap: 0 12px; }
  .aftercare-grid h3 { font-size: 24px; }
  .aftercare-grid p { font-size: 14px; }
  .home-videos .video-grid { grid-template-columns: 1fr; gap: 17px; }
  .home-videos .video-card { min-height: 240px; }
  .home-videos .video-card > div { padding: 135px 22px 22px; }
  .home-videos .video-card h3 { font-size: 28px; }
  .home-videos .video-card p { font-size: 13px; }
  .home-videos .play { width: 44px; height: 44px; }
  .home-regions .region-card { padding: 22px; }
  .home-regions .region-card p { font-size: 14px; }
  .home-regions .region-card > span:last-child { font-size: 12px; line-height: 1.5; }
  .home-hero ~ .guide-section .guide-card h3 { font-size: 26px; }
  .home-hero ~ .guide-section .guide-card p { font-size: 14px; }
  .home-faq h2 { font-size: 32px; }
  .home-faq summary { font-size: 15px; }
  .home-faq details p { font-size: 15px; }
  .article-layout article :is(th, td), .custom-page :is(th, td) { padding: 11px 13px; }
  nav.article-toc { padding: 21px 20px; margin: 24px 0 30px; }
  .article-toc ol { grid-template-columns: 1fr; gap: 0; }
  .article-layout article .article-toc a, nav.article-toc a { padding: 10px 0; font-size: 14px; }
  .related-grid { grid-template-columns: 1fr; gap: 12px; }
  .article-layout article .related-grid > a, .related-grid > a { padding: 20px; }
  .article-topic { scroll-margin-top: 78px; }
}

@media (max-width: 380px) {
  .home-hero .hero-actions { display: grid; grid-template-columns: 1fr; }
  .home-hero .hero-actions .button { font-size: 13px; }
  .buying-clarity .clarity-card,
  .buying-clarity .clarity-grid .clarity-card:last-child { padding: 16px 12px; }
  .buying-clarity .clarity-card h3 { font-size: 19px; }
  .cost-experience .cost-breakdown > div { grid-template-columns: minmax(0, 1fr) minmax(80px, .8fr); gap: 8px; }
  .aftercare-grid > a { grid-template-columns: 1fr; }
  .aftercare-grid .service-mark { grid-column: 1; grid-row: auto; margin-bottom: 12px; }
  .aftercare-grid h3, .aftercare-grid p, .aftercare-grid .text-link { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero ~ section *, .home-hero *, .cost-experience *, .investment-experience * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Content navigation must not inherit the mobile main-menu hiding rule. */
nav.faq-jump { position: static; display: flex; flex-wrap: wrap; gap: 8px; width: auto; padding: 0; margin: 0 0 28px; box-shadow: none; background: transparent; }
nav.faq-jump a { display: inline-flex; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
nav.breadcrumb-nav { display: flex; align-items: center; flex-wrap: wrap; position: static; gap: 9px; width: auto; padding: 0; margin: 0 0 24px; background: transparent; box-shadow: none; font-size: 11px; line-height: 1.6; color: var(--muted); }
nav.breadcrumb-nav a { padding: 0; font-size: inherit; }
nav.breadcrumb-nav [aria-current] { max-width: 100%; overflow-wrap: anywhere; }
.buyer-plan-resume { display: flex; justify-content: space-between; align-items: center; gap: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); padding: 24px; margin: 0 0 32px; }
.buyer-plan-resume[hidden], .buyer-plan-resume [hidden] { display: none; }
.buyer-plan-resume p { margin: 6px 0; font-size: 15px; }
.buyer-plan-resume .eyebrow { font-size: 10px; }
.buyer-plan-actions { display: grid; gap: 9px; flex-shrink: 0; }
.buyer-plan-actions a, .buyer-plan-actions button { font-size: 13px; }
.buyer-plan-actions button { color: var(--muted); border: 0; background: transparent; padding: 6px 0; text-align: left; text-decoration: underline; cursor: pointer; }
.payment-planner { grid-column: 1 / -1; border: 0; border-top: 1px solid var(--line); padding: 24px 28px; background: #fff; }
.payment-planner p { font-size: 13px; line-height: 1.75; max-width: 75ch; }
.payment-planner summary { font-size: 16px; }
.payment-fields { margin: 20px 0; }
.payment-stages { height: 12px; display: flex; overflow: hidden; border-radius: 4px; background: var(--soft); margin: 24px 0; }
.payment-stages span:nth-child(1) { background: var(--navy); }
.payment-stages span:nth-child(2) { background: #477b7b; }
.payment-stages span:nth-child(3) { background: var(--gold); }
.payment-breakdown { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.payment-breakdown div { border-top: 1px solid var(--line); padding-top: 12px; }
.payment-breakdown dt { font-size: 12px; color: var(--muted); }
.payment-breakdown dd { margin: 5px 0 0; font-size: 18px; font-weight: 600; color: var(--navy); }
.payment-error { color: #8c361e; }
.cost-project-context { grid-column: 1 / -1; padding: 24px 28px; background: #f1f5f3; border-bottom: 1px solid var(--line); }
.cost-project-context[hidden] { display: none; }
.cost-project-context strong { color: var(--navy); font-size: 20px; }
.cost-project-context p { max-width: 78ch; margin: 8px 0; }
.cost-context-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.cost-context-actions button { color: var(--navy); background: none; border: 1px solid var(--line); border-radius: 5px; padding: 10px 14px; font: inherit; cursor: pointer; }
.project-budget-link { border-left: 2px solid var(--gold); padding: 6px 18px; margin: 20px 0; }
.project-budget-link p { margin: 7px 0 0; }
.payment-planner [hidden] { display: none; }
@media (max-width: 650px) { .payment-planner { padding: 20px; } .payment-breakdown { grid-template-columns: 1fr 1fr; } .payment-breakdown dd { font-size: 16px; } }
@media (max-width: 650px) { .buyer-plan-resume { align-items: start; flex-direction: column; gap: 14px; padding: 20px; } }

/* A coastal palette with more depth: lagoon teal, limestone and quiet brass. */
.home-hero {
  background: #103b3a;
  isolation: isolate;
}
.home-hero .hero-shade {
  background: linear-gradient(90deg, #0c302ff2 0%, #103b3ae0 38%, #103b3a9c 66%, #103b3a29 100%);
}
.home-hero .hero-copy h1 { max-width: 780px; }
.home-hero .hero-copy .hero-proof { color: #f6f3e9; }
.home-hero .proof-mark {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--home-cta);
  box-shadow: 0 0 0 3px #dec38a2a;
}
.home-hero .hero-credit { background: #103b3ad9; }
.home-hero .hero-actions .gold {
  background: var(--home-cta);
  border-color: var(--home-cta);
  color: #173b39;
}
.home-hero .hero-actions .gold:hover { background: #ead5a5; border-color: #ead5a5; }
.home-hero .hero-actions .outline { border-color: #e7e9ddad; background: #103b3a72; }
.home-team .team-photo {
  overflow: hidden;
  background: transparent;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  min-height: 0;
  align-self: center;
}
.home-team .team-photo img { object-fit: cover; }
.home-team .team-copy .gold-rule { width: 48px; background: var(--home-cta); }
.home-featured,
.home-faq,
.home-videos { color: #203f3e; }
.home-featured .property-card,
.home-faq details,
.home-videos .video-card {
  background-color: #fbfaf5;
}
.home-featured .property-card { overflow: clip; }
.home-featured .pill { background: #846538; }
.home-hero ~ .section:not(.soft) { background-color: transparent; }
.home-videos { background: #eaf1ec; }
.home-faq { padding-top: 68px; padding-bottom: 68px; }
.home-faq details { padding-inline: 18px; }
.home-faq details:first-child { border-top: 1px solid var(--home-line); }
.home-faq summary { gap: 16px; }
.home-faq summary > span { font-size: 20px; }
.cost-experience:not(.cost-compact) { background: #eaf1ec; }
.cost-experience .cost-card { background: #fbfaf5; }
.cost-experience .cost-report { background: #f3f4eb; }
.home-hero ~ .funnel-wrap .funnel { background: #fbfaf5; }
.home-hero ~ .buyer-path { border-top: 1px solid var(--home-line); }
.home-intent,
.buying-clarity .clarity-card,
.aftercare-grid > a,
.home-hero ~ .guide-section .guide-card { background: #fbfaf5; }
.home-intent,
.home-featured .property-card,
.buying-clarity .clarity-card,
.aftercare-grid > a,
.home-team .team-photo img,
.home-hero .button {
  transition: transform .24s cubic-bezier(.2, .75, .25, 1), opacity .24s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-intent:hover,
  .home-featured .property-card:hover,
  .buying-clarity .clarity-card:hover,
  .aftercare-grid > a:hover { transform: translateY(-3px); }
  .home-team .team-photo:hover img { transform: scale(1.025); }
  .home-hero .button:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-hero .hero-copy > * { animation: home-arrive .55s both; }
  .home-hero .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .home-hero .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .home-hero .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .home-hero .hero-copy > :nth-child(5) { animation-delay: .24s; }
  @keyframes home-arrive {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (max-width: 760px) {
  .home-team { margin-top: 30px; }
  .home-team .team-photo { border-radius: 4px; }
  .home-faq { padding-top: 46px; padding-bottom: 46px; }
}
@media (max-width: 600px) {
  .home-hero .hero-shade {
    background: linear-gradient(90deg, #0c302ff0 0%, #103b3ad9 62%, #103b3a8c 100%);
  }
  .home-hero .hero-copy { padding-top: 16px; padding-bottom: 48px; }
  .home-hero .hero-copy > .eyebrow { margin-bottom: 8px; }
  .home-hero .hero-copy h1 {
    max-width: 340px;
    font-size: clamp(30px, 8vw, 36px);
    line-height: 1.08;
  }
  .home-hero .hero-copy > p:not(.eyebrow) {
    max-width: 39ch;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.43;
  }
  .home-hero .hero-copy .hero-proof {
    margin-top: 12px;
    gap: 2px;
    font-size: 11px;
    line-height: 1.4;
  }
  .home-hero .hero-proof > :is(a, span) { min-height: 19px; gap: 8px; }
  .home-hero .proof-mark { width: 6px; height: 6px; flex-basis: 6px; }
  .home-hero .hero-actions { margin-top: 13px; gap: 7px; }
  .home-hero .hero-actions .button {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.35;
  }
  .home-hero .hero-credit { right: 10px; bottom: 7px; min-height: 32px; padding: 6px 9px; }
  .home-team { margin-top: 25px; }
  .home-team .team-photo { aspect-ratio: 4 / 3; }
  .home-faq details { padding-inline: 13px; }
  .home-featured .property-card { border-radius: 9px; }
}
@media (max-width: 380px) {
  .home-hero .hero-copy { padding-top: 10px; padding-bottom: 41px; }
  .home-hero .hero-copy > .eyebrow { margin-bottom: 6px; }
  .home-hero .hero-copy h1 { font-size: 29px; }
  .home-hero .hero-copy > p:not(.eyebrow) { margin-top: 8px; font-size: 13px; }
  .home-hero .hero-copy .hero-intro { margin-top: 6px; }
  .home-hero .hero-copy .hero-proof { margin-top: 8px; gap: 1px; }
  .home-hero .hero-proof > :is(a, span) { min-height: 18px; }
  .home-hero .hero-actions { margin-top: 10px; gap: 6px; }
  .home-hero .hero-actions .button { min-height: 44px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .hero-copy > * { animation: none !important; }
  .home-intent,
  .home-featured .property-card,
  .buying-clarity .clarity-card,
  .aftercare-grid > a,
  .home-team .team-photo img,
  .home-hero .button { transition: none !important; }
}
