/* ============================================================
   Honest Mortgage — Homepage rebuild (Section 13 vision)
   Layered on the design-system tokens in colors_and_type.css.
   "Navy hero, one promise, one primary action. Real value for
    all three targets, each with its own clear door."
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--fg2);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.section { padding: clamp(56px, 6.5vw, 88px) 0; }
.section--tight { padding: clamp(40px, 5vw, 60px) 0; }
.section--sand { background: var(--surface-sand); }

/* ---- shared accents ---- */
.eyebrow {
  font-weight: 700; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--terracotta);
  margin: 0 0 18px;
}
.eyebrow--sky { color: var(--sky); }
.eyebrow--muted { color: var(--muted); }
.lede { max-width: 60ch; }

.stars { display: inline-flex; gap: 3px; color: var(--terracotta); }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.stars--sky { color: var(--sky); }

/* ============================================================
   HEADER styles now live in site.css (shared injected chrome).
   ============================================================ */

/* ============================================================
   HERO — navy field, faint sky glow, one promise, one CTA.
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: var(--cream);
  padding: clamp(52px, 7vw, 92px) 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 14% 24%, rgba(126,181,227,0.20), transparent 44%),
    radial-gradient(circle at 92% 8%, rgba(201,107,76,0.12), transparent 40%);
}
.hero .wrap { position: relative; }
.hero__eyebrow { color: var(--sky); margin-bottom: 22px; }
.hero h1 {
  font-weight: 900; letter-spacing: -0.035em; line-height: 1.02;
  font-size: clamp(48px, 8.2vw, 112px); margin: 0; color: #fff; max-width: 14ch;
}
.hero h1 .soft { color: var(--sky); display: block; }
.hero__actions {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.hero__proof { display: flex; align-items: center; gap: 12px; }
/* hero trust signals — proof pill above the CTAs, licensing line below */
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin: clamp(28px, 3.4vw, 44px) 0; padding: 10px 18px;
  background: rgba(126,181,227,0.13); border: 1px solid rgba(126,181,227,0.30);
  border-radius: var(--radius-pill);
  font-size: 15px; line-height: 1.4; color: var(--fg-on-dark-2);
}
/* the pill owns the spacing on both sides, so the CTA row drops its own top margin */
.hero__pill + .hero__actions { margin-top: 0; }
.hero__pill b { color: var(--sky); font-weight: 800; }
.hero__pill-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--terracotta); }
.hero__legal { margin: 22px 0 0; font-size: 12.5px; line-height: 1.55; color: rgba(245,239,230,0.62); }
@media (max-width: 640px) {
  .hero__pill { font-size: 13.5px; padding: 9px 14px; }
  /* On a phone the CTAs stack, and the pill wedged between the headline and
     the buttons reads as an interruption. Drop it below the buttons, where it
     works as proof rather than a delay. `display: contents` lets the buttons,
     the pill and the review line order themselves in one column. */
  .hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
  .hero__eyebrow { order: 1; }
  .hero__copy h1 { order: 2; }
  .hero__actions { display: contents; }
  .hero__actions .hm-btn { order: 3; margin-top: 32px; }
  .hero__actions .hm-btn + .hm-btn { order: 4; margin-top: 16px; }
  /* block, not inline-flex: as flex items the bold run and the bare text node
     became two side-by-side columns that each wrapped */
  .hero__pill { order: 5; margin: 28px 0 0; display: block; border-radius: 16px; }
  .hero__pill-dot { display: inline-block; margin-right: 8px; vertical-align: middle; position: relative; top: -1px; }
  .hero__proof { order: 6; margin-top: 26px; }
  .hero__legal { order: 7; }
}
.hero__proof span { font-weight: 600; font-size: 16px; color: var(--cream); }
.hero__proof .stars { color: var(--sky); }

/* ---- split hero: copy + live estimator ---- */
.hero__grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero--no-calc .hero__grid { grid-template-columns: 1fr; }
.hero--no-calc .hero__calc { display: none; }
.hero__grid .hero__copy h1 { font-size: clamp(46px, 5.2vw, 78px); max-width: none; }
.hero--no-calc .hero__copy h1 { font-size: clamp(48px, 8.2vw, 112px); }
.hero--flat::before { display: none; }
.hero__calc { max-width: 420px; width: 100%; margin-left: auto; }

/* Homepage hero fills the first screen on desktop, leaving a ~64px peek of the
   next section below the fold as a scroll cue. Sticky header is 84px tall —
   keep this in step with `.site-header .wrap` in site.css if that changes.
   border-box + modest padding guarantee it never exceeds the viewport. */
@media (min-width: 981px) {
  .hero {
    box-sizing: border-box;
    min-height: calc(100vh - 34px - 84px - 64px);   /* rate strip + header + peek */
    display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(28px, 3.5vw, 52px); padding-bottom: clamp(28px, 3.5vw, 52px);
  }
  .hero__eyebrow { margin-bottom: 26px; }
  /* Enlarge the live estimator ~27% (fixed-px internals don't scale with width).
     Anchor right so it grows toward the headline, never off the right edge. */
  .hero__calc .est { transform: scale(1.27); transform-origin: right center; }
}

/* the estimator card */
.est { background: #01213f; border: 1px solid rgba(126,181,227,0.20); border-radius: var(--radius-card); box-shadow: 0 30px 70px -24px rgba(0,0,0,.6); overflow: hidden; position: relative; }
.est::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 84% 6%, rgba(201,107,76,0.22), transparent 46%); }
/* Buying / Refinancing tabs. They used to sit at 55% cream on a dark strip and
   read as background; the active tab now carries a terracotta fill + thick
   underline, and the inactive one stays legible with a hover lift. */
.est__modes { display: flex; position: relative; z-index: 1; border-bottom: 1px solid rgba(245,239,230,0.14); }
.est__mode { flex: 1; border: 0; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 800; padding: 14px 0 12px; letter-spacing: 0.03em; background: rgba(255,255,255,0.05); color: rgba(245,239,230,0.78); border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.est__mode + .est__mode { box-shadow: inset 1px 0 0 rgba(245,239,230,0.14); }
.est__mode:hover { background: rgba(255,255,255,0.10); color: #fff; }
.est__mode.on { background: rgba(201,107,76,0.24); color: #fff; border-bottom-color: var(--terracotta); }
.est__mode:focus-visible { outline: 2px solid var(--sky); outline-offset: -3px; }
.est__body { padding: 18px 22px 20px; position: relative; z-index: 1; }
.est__lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); margin-bottom: 5px; }
.est__bigrow { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.est__big { font-size: clamp(30px, 3.2vw, 40px); font-weight: 900; letter-spacing: -0.035em; line-height: 0.95; color: #fff; font-variant-numeric: tabular-nums; }
.est__big .per { font-size: 15px; font-weight: 600; color: rgba(245,239,230,0.6); }
.est__be { font-size: 12px; color: var(--sky); font-weight: 600; padding-bottom: 7px; }
.est__ctrl { margin-top: 13px; }
.est__ctrl:first-of-type { margin-top: 0; }
.est__ctop { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.est__ctop .k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,239,230,0.7); }
.est__ctop .v { font-size: 14.5px; font-weight: 700; color: var(--cream); font-variant-numeric: tabular-nums; }
.est__ctop .v small { font-size: 11.5px; font-weight: 500; color: rgba(245,239,230,0.6); margin-left: 5px; }
.est input[type=range] { width: 100%; height: 5px; border-radius: 999px; -webkit-appearance: none; appearance: none; cursor: pointer; outline: none; margin-top: 8px; }
.est input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 17px; height: 17px; border-radius: 999px; background: var(--terracotta); cursor: pointer; border: 2px solid #01213f; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.est input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 999px; background: var(--terracotta); cursor: pointer; border: 2px solid #01213f; }
.est__terms { display: flex; gap: 8px; margin-top: 13px; }
.est__term { flex: 1; padding: 8px 0; border-radius: var(--radius-btn); cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 600; border: 1.5px solid rgba(245,239,230,0.22); background: transparent; color: rgba(245,239,230,0.7); transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.est__term.on { border-color: var(--terracotta); background: rgba(201,107,76,0.18); color: var(--cream); }
.est__break { margin-top: 14px; padding-top: 13px; border-top: 1px dotted rgba(245,239,230,0.22); display: grid; gap: 7px; }
.est__brow { display: flex; justify-content: space-between; align-items: baseline; }
.est__brow .k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,239,230,0.7); }
.est__brow .v { font-size: 14px; font-weight: 700; color: var(--cream); font-variant-numeric: tabular-nums; }
.est__note { margin-top: 11px; font-size: 12px; color: rgba(245,239,230,0.8); line-height: 1.5; }
.est__actions { display: flex; gap: 9px; margin-top: 16px; flex-wrap: wrap; }
.est__actions .hm-btn { flex: 1 1 auto; justify-content: center; white-space: nowrap; font-size: 12.5px; padding-top: 12px; padding-bottom: 12px; padding-left: 14px; padding-right: 14px; }
.est__actions .hm-btn--ghost-light { flex: 0 0 auto; }
.est__trust { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; color: rgba(245,239,230,0.62); font-size: 11px; }
.est__trust svg { width: 14px; height: 14px; }
/* rate currency + illustrative-estimate disclosure */
.est__asof { margin: 8px 0 0; font-size: 9px; line-height: 1.4; letter-spacing: -0.002em; color: rgba(245,239,230,0.55); }
.est__asof a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(245,239,230,0.35); }
.est__asof a:hover { color: var(--cream); text-decoration-color: currentColor; }
/* Until live rates arrive the rate labels and the "as of" line stay hidden,
   so they never visibly flip from the fallback figures (hero-estimator.js). */
.est__rt.is-pending, .est__asof.is-pending { visibility: hidden; }
.est__legal { margin: 9px 0 0; font-size: 9px; line-height: 1.4; letter-spacing: -0.002em; color: rgba(245,239,230,0.40); }
.hero--no-trust .est__trust { display: none; }
@media (prefers-reduced-motion: reduce) { .est__mode, .est input[type=range], .est__term { transition: none; } }
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__grid .hero__copy h1 { font-size: clamp(44px, 8vw, 84px); }
}

/* ============================================================
   PROOF BAR — lean into the proof, hard.
   ============================================================ */
.proof { padding: var(--space-6) 0; border-bottom: 1px solid var(--rule); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: left; }
.stat__num { font-weight: 900; font-size: clamp(38px, 4.4vw, 52px); letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.stat__label { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--fg3); max-width: 22ch; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.shead { max-width: 62ch; }
.shead h2 { font-weight: 800; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.025em; line-height: 1.06; color: var(--navy); margin: 0 0 18px; }
.shead p { font-size: 19px; line-height: 1.6; color: var(--fg2); margin: 0; }

/* ============================================================
   WHY A BROKER — full-bleed poster (terracotta field)
   Whole band = gradient field; large cut-out subject; section
   info as floating tiles. .value__points/.vpoint kept for
   refinancing.html, which still uses them.
   ============================================================ */
.value__points { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.vpoint { display: flex; gap: 18px; align-items: flex-start; }
.vpoint__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-card); display: grid; place-items: center; background: #fff; color: var(--terracotta); box-shadow: var(--shadow-soft); }
.vpoint__icon svg { width: 22px; height: 22px; }
.vpoint h4 { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--navy); }
.vpoint p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--fg2); }

/* ---- full-bleed poster band ---- */
.poster { position: relative; overflow: hidden; }
.poster--warm { background: radial-gradient(115% 120% at 82% 8%, #E68A63 0%, var(--terracotta) 46%, #A2492E 100%); }

/* E3 — the cut-out photo was removed (no cleared closing-day image yet), so the
   section is type on a solid field. Terracotta rather than navy because the rate
   board directly below is navy and two navy sections would run together.
   To switch: change this one background to var(--navy) and the tiles still read.
   Without a photo the absolute positioning has nothing to anchor to, so the
   layout becomes a plain two-column grid. */
.poster--solid { background: var(--terracotta); }
.poster--solid .poster__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
  min-height: 0; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px);
}
.poster--solid .poster__inner::before { display: none; }
.poster--solid .poster__head {
  position: static; max-width: none; background: none; box-shadow: none; padding: 0;
}
.poster--solid .poster__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: center; }
.poster--solid .tile { position: static; top: auto; left: auto; right: auto; bottom: auto; min-width: 0; max-width: none; }
@media (max-width: 980px) {
  .poster--solid .poster__inner { grid-template-columns: 1fr; }
  .poster--solid .poster__tiles { grid-template-columns: 1fr; }
}
.poster__inner { position: relative; max-width: 1300px; margin: 0 auto; padding: 0 48px; min-height: clamp(600px, 62vw, 720px); }
/* soft ambient ring behind subject */
.poster__inner::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: 6%; bottom: -14%; width: 620px; height: 620px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.10);
}
/* large cut-out subject, anchored bottom-right */
.poster__photo {
  position: absolute; z-index: 1; right: clamp(-40px, 1vw, 24px); bottom: 0;
  height: 96%; width: auto; max-width: none; object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0,16,38,.34));
}
/* headline on the field */
/* E2 — the headline sat over the light area of the photo and dropped below
   readable contrast. It now rides a solid navy field, which also gives the
   section a single dominant focal point. */
.poster__head { position: absolute; z-index: 3; top: 44px; left: 44px; max-width: 470px;
  background: var(--navy); border-radius: var(--radius-card); padding: 30px 32px;
  box-shadow: 0 26px 60px -22px rgba(0,0,0,.55); }
.poster__head .eyebrow { color: rgba(255,255,255,.82); margin-bottom: 16px; }
.poster__head h2 { font: 800 clamp(30px,3.4vw,44px)/1.05 var(--font-sans); letter-spacing: -.025em; color: #fff; margin: 0 0 18px; }
.poster__head p { font: 400 18px/1.55 var(--font-sans); color: rgba(255,255,255,.9); margin: 0; }

/* floating tiles */
.tile {
  position: absolute; z-index: 4; background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(0,16,38,.55);
  font-family: var(--font-sans);
}
.tile__k { font: 700 10px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.tile--lenders { top: calc(30% + 20px); left: 40%; padding: 15px 20px; min-width: 176px; }
.tile--lenders .big { font: 900 40px/1 var(--font-sans); color: var(--terracotta); letter-spacing: -.03em; margin: 8px 0 2px; }
.tile--lenders .lbl { font: 700 14px/1.2 var(--font-sans); color: var(--navy); }
.tile--lenders .bar { display: flex; gap: 3px; margin-top: 11px; }
.tile--lenders .bar i { width: 13px; height: 6px; border-radius: 3px; background: var(--terracotta); opacity: .9; }

.tile--fees { bottom: 100px; right: 40px; padding: 16px 20px; display: flex; gap: 13px; align-items: center; max-width: 300px; }
.tile--fees .amt { font: 900 34px/1 var(--font-sans); color: var(--terracotta); }
.tile--fees .t { font: 700 15px/1.25 var(--font-sans); color: var(--navy); }
.tile--fees .t small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 3px; letter-spacing: .005em; }

.tile--point { padding: 16px 20px; max-width: 300px; }
.tile--point h4 { font: 800 16px/1.2 var(--font-sans); color: var(--navy); margin: 0 0 5px; }
.tile--point p { font: 400 13.5px/1.5 var(--font-sans); color: var(--fg2); margin: 0; }
.tile--shop { top: calc(51% + 20px); left: calc(21% - 50px); }
.tile--math { top: calc(68% + 25px); left: 30%; }

/* poster collapses to a normal stack on small screens */
@media (max-width: 900px) {
  .poster__inner { min-height: 0; padding: 40px 24px; }
  .poster__inner::before { display: none; }
  .poster__head { position: static; max-width: none; margin-bottom: 22px; }
  .poster__photo { position: static; height: auto; width: 100%; max-width: 460px; margin: 8px auto 22px; display: block; filter: none; }
  .tile { position: static; margin: 0 0 14px; }
  .tile--lenders, .tile--fees, .tile--shop, .tile--math { top: auto; left: auto; right: auto; bottom: auto; min-width: 0; max-width: none; }
}

/* ============================================================
   HONEST NUMBERS — ungated tools grid
   ============================================================ */
.tools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.tool {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-card);
  padding: 26px 26px 24px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.tool__icon { color: var(--navy); }
.tool__icon svg { width: 26px; height: 26px; }
.tool h4 { margin: 4px 0 0; font-size: 18px; font-weight: 700; color: var(--navy); }
.tool p { margin: 0; font-size: 14.5px; color: var(--fg3); }
.tool--feature { background: var(--navy); border-color: var(--navy); }
.tool--feature .tool__icon, .tool--feature h4 { color: #fff; }
.tool--feature p { color: var(--fg-on-dark-2); }
.tools__foot {
  margin-top: 18px; background: var(--navy); border-radius: var(--radius-card);
  padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.tools__foot div { color: #fff; }
.tools__foot strong { display: block; font-size: 19px; font-weight: 700; }
.tools__foot span { font-size: 15px; color: var(--fg-on-dark-2); }

/* ============================================================
   PEOPLE — actual people, not bots (navy thesis)
   ============================================================ */
.people { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.people::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(circle at 12% 80%, rgba(126,181,227,0.16), transparent 44%); }
.people .wrap { position: relative; }
.people__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.people__photo { border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); }

/* Photo-free variant: heading and CTA on the left, the four values on the
   right. Top-aligned rather than centred — with no image to balance against,
   centring left the headline floating oddly against the taller value grid. */
.people__grid--text { align-items: start; }
.people__grid--text .es { margin-top: 0; }
.people h2 { color: #fff; }
.people .shead h2 { color: #fff; }
.people .shead p { color: var(--fg-on-dark-2); }
.es { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 32px; margin-top: 38px; }
.e h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #fff; display: flex; align-items: baseline; gap: 10px; }
.e h4 i { font-style: normal; color: var(--sky); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.e p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-on-dark-2); }

/* ============================================================
   AGENT PARTNERS — "We make you look like a hero." (navy panel)
   ============================================================ */
.agents__panel {
  background: var(--navy); border-radius: var(--radius-card); overflow: hidden;
  color: var(--cream); display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
}
.agents__panel::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(circle at 22% 30%, rgba(201,107,76,0.16), transparent 50%); }
.agents__left { padding: clamp(40px, 5vw, 64px); position: relative; }
.agents__left .eyebrow { color: var(--sky); }
.agents__left h2 { font-weight: 900; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.03em; line-height: 1; color: #fff; margin: 0 0 14px; }
.agents__left h2 .soft { color: var(--sky); display:block; }
.agents__left p { color: var(--fg-on-dark-2); font-size: 17px; line-height: 1.6; max-width: 38ch; margin: 0 0 30px; }
.agents__right { padding: clamp(40px, 5vw, 64px) clamp(40px,5vw,64px) clamp(40px,5vw,64px) 0; display: flex; flex-direction: column; gap: 16px; justify-content: center; position: relative; }
.afeature { background: rgba(126,181,227,0.10); border: 1px solid rgba(126,181,227,0.18); border-radius: var(--radius-card); padding: 22px 24px; }
.afeature h4 { margin: 0 0 5px; font-size: 17px; font-weight: 700; color: #fff; }
.afeature p { margin: 0; font-size: 14.5px; color: var(--fg-on-dark-2); max-width: none; }

/* ============================================================
   REVIEW — single warm testimonial
   ============================================================ */
.review__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.review__photo { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.review blockquote { margin: 0; font-weight: 600; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.32; letter-spacing: -0.02em; color: var(--navy); }
.review cite { display: block; margin-top: 24px; font-style: normal; font-size: 15px; color: var(--fg3); font-weight: 600; letter-spacing: 0.02em; }

/* ============================================================
   FINAL CTA — "Ready when you are." (cream)
   ============================================================ */
.final { background: var(--surface-warm); text-align: center; }
.final h2 { font-weight: 900; font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.035em; color: var(--navy); margin: 0 0 18px; }
.final p { font-size: 19px; color: var(--fg2); margin: 0 auto 36px; max-width: 52ch; }
.final__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER — three-audience sitemap
   ============================================================ */
.site-footer { background: var(--navy); color: var(--fg-on-dark-2); padding: var(--space-7) 0 var(--space-5); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 20px; }
.footer__brand p { font-size: 15px; line-height: 1.6; max-width: 30ch; margin: 0 0 24px; }
.footer__brand .stars { color: var(--sky); }
.fcol h5 { margin: 0 0 16px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); font-weight: 700; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.fcol a { text-decoration: none; font-size: 15px; color: var(--fg-on-dark-2); transition: color var(--dur-fast) var(--ease); }
.fcol a:hover { color: #fff; }
.footer__bottom { margin-top: var(--space-6); padding-top: var(--space-3); border-top: 1px solid var(--rule-dark); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: space-between; }
.footer__legal { font-size: 13px; line-height: 1.6; color: rgba(245,239,230,0.6); max-width: 78ch; }
.footer__eho { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.footer__eho img { height: 40px; width: auto; opacity: 0.9; }
.footer__eho span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,239,230,0.6); }

/* ============================================================
   MOTION — quiet entrance, respects reduced-motion
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .wrap { padding: 0 28px; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .value__grid, .people__grid, .review__grid { grid-template-columns: 1fr; }
  .value__photo, .people__photo { order: -1; max-height: 360px; }
  .tools__grid { grid-template-columns: repeat(2, 1fr); }
  .agents__panel { grid-template-columns: 1fr; }
  .agents__right { padding: 0 clamp(40px,5vw,64px) clamp(40px,5vw,64px); }
  .es { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .tools__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .section { padding: var(--space-6) 0; }
}

/* ---- homepage reviews carousel ---- */
.rev-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.rev-nav { display: flex; gap: 8px; flex-shrink: 0; }
.rev-arrow { width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--rule); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.rev-arrow:hover { border-color: var(--navy); background: var(--surface-sand); }
.rev-arrow svg { width: 20px; height: 20px; }
.rev-viewport { overflow: hidden; }
.rev-track { display: flex; transition: transform 0.45s var(--ease); will-change: transform; }
.rev-slide { flex: 0 0 100%; min-width: 0; }
.rev-slide blockquote { margin: 0; }
.rev-dots { display: flex; gap: 8px; margin-top: 22px; }
.rev-dot { width: 9px; height: 9px; border-radius: 999px; border: none; padding: 0; background: var(--sand-deep); cursor: pointer; transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.rev-dot.on { background: var(--terracotta); transform: scale(1.15); }
.rev-note { margin-top: 18px; font-size: 12.5px; font-style: italic; color: var(--fg3); }
@media (prefers-reduced-motion: reduce) { .rev-track { transition: none; } }

