/* Homepage hero (Test 3): full-width typographic composition, no image.
   Large light headline across the measure, sub line and search on one balanced row,
   the three figures along a full-width hairline. Warm paper ground with a soft mist wash. */

body.site .hhero{
  position:relative;overflow:hidden;border-bottom:1px solid var(--line);
  background:
    radial-gradient(1200px 520px at 100% 0%,rgba(183,199,211,.30),rgba(183,199,211,0) 70%),
    var(--page)
}
body.site .hhero__inner{position:relative;padding-top:clamp(72px,9vh,112px);padding-bottom:0}

/* eyebrow (no leading rule) */
body.site .hhero__kicker{
  display:flex;align-items:center;gap:14px;margin:0 0 32px;
  font:600 .6875rem/1 var(--font-body);letter-spacing:.24em;text-transform:uppercase;color:var(--slate)
}

html body.site .hhero__title{
  font-family:var(--font-display);font-weight:300;font-style:normal;
  font-size:clamp(2.75rem,5.6vw,5rem);line-height:1.04;letter-spacing:-.005em;
  color:var(--ink);margin:0;max-width:none
}
body.site .hhero__title span{display:block;color:var(--slate)}

/* sub line left, search right, sharing a baseline */
body.site .hhero__row{
  display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(40px,6vw,96px);
  align-items:end;margin-top:clamp(44px,5.5vh,64px)
}
body.site .hhero__lead{
  font-size:1.0625rem;line-height:1.65;color:var(--ink-3);max-width:26em;margin:0;text-wrap:pretty
}

/* search: one quiet, generous field */
body.site .hhero__search{
  display:flex;align-items:stretch;width:100%;height:66px;background:#fff;
  border:1px solid var(--line);transition:border-color .3s ease,box-shadow .3s ease
}
body.site .hhero__search:focus-within{border-color:var(--slate);box-shadow:0 18px 40px -28px rgba(35,31,32,.35)}
body.site .hhero__search input{
  flex:1 1 auto;min-width:0;height:100%;border:0;border-radius:0;box-shadow:none;background-color:transparent;
  padding:0 20px 0 56px;font:400 1.0625rem/1 var(--font-body);color:var(--ink);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234e748b' stroke-width='1.4' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>");
  background-repeat:no-repeat;background-position:24px center
}
body.site .hhero__search input:focus{outline:none;box-shadow:none;background-color:transparent}
body.site .hhero__search input::placeholder{color:#8f9aa2}
body.site .hhero__search input::-webkit-search-cancel-button{-webkit-appearance:none}
body.site .hhero__search button{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:12px;margin:0;border:0;border-radius:0;cursor:pointer;
  padding:0 34px;background:var(--slate);color:#fff;
  font:600 .6875rem/1 var(--font-body);letter-spacing:.22em;text-transform:uppercase;transition:background .3s ease
}
body.site .hhero__search button svg{transition:transform .3s ease}
body.site .hhero__search button:hover{background:var(--slate-d)}
body.site .hhero__search button:hover svg{transform:translateX(3px)}

/* figures: full-width hairline row */
body.site .hhero__figures{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:clamp(56px,7vh,80px) 0 0;padding:0;
  border-top:1px solid var(--line)
}
body.site .hhero__figures>div{
  display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:12px;
  padding:28px 24px clamp(40px,5vh,56px) 0;min-width:0
}
body.site .hhero__figures>div+div{padding-left:clamp(24px,3vw,40px);border-left:1px solid var(--line)}
body.site .hhero__figures dd{
  margin:0;font-family:var(--font-display);font-weight:300;font-size:clamp(2.25rem,3vw,2.75rem);line-height:1;
  letter-spacing:.01em;color:var(--ink);font-variant-numeric:lining-nums;white-space:nowrap
}
body.site .hhero__figures dt{
  font:600 .5625rem/1.6 var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:var(--slate)
}

/* tablet: search drops under the sub line */
@media (max-width:900px){
  body.site .hhero__row{grid-template-columns:1fr;row-gap:28px}
  body.site .hhero__lead{max-width:34em}
}

/* phone */
@media (max-width:600px){
  body.site .hhero{background:radial-gradient(520px 320px at 100% 0%,rgba(183,199,211,.32),rgba(183,199,211,0) 70%),var(--page)}
  body.site .hhero__inner{padding-top:48px}
  body.site .hhero__kicker{margin-bottom:22px}
  html body.site .hhero__title{font-size:clamp(2.25rem,10vw,2.75rem);line-height:1.08}
  body.site .hhero__row{margin-top:24px;row-gap:28px}
  body.site .hhero__lead{font-size:1rem}
  body.site .hhero__search{height:58px}
  body.site .hhero__search input{padding-left:46px;background-position:16px center;font-size:1rem}
  body.site .hhero__search button{padding:0 20px}
  body.site .hhero__search button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  body.site .hhero__figures{margin-top:40px}
  body.site .hhero__figures>div{padding:18px 10px 32px 0;gap:8px}
  body.site .hhero__figures>div+div{padding-left:12px}
  body.site .hhero__figures dd{font-size:1.625rem}
  body.site .hhero__figures dt{font-size:.5rem;letter-spacing:.14em}
}

/* v8 copy: accent full stop, sub line with actions, search alongside */
html body.site .hhero__title .hhero__dot{display:inline;color:var(--slate)}
body.site .hhero__intro{min-width:0}
@media (min-width:1241px){html body.site.home .hhero__row{grid-template-columns:minmax(0,6fr) minmax(0,5fr)}html body.site.home .hhero__search button{padding:0 24px}html body.site.home .hhero__search input{font-size:.9375rem;padding-left:48px;padding-right:12px;background-position:20px center}}
html body.site .hhero__title .hhero__dot{font-weight:500}
body.site .hhero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin-top:28px}
html body.site .hhero__btn{height:52px;padding:0 22px;display:inline-flex;align-items:center;font:600 .6875rem/1 var(--font-body);letter-spacing:.2em;text-transform:uppercase}
html body.site .hhero__btn--ghost{background:transparent;color:var(--ink);border:1px solid var(--slate)}
html body.site .hhero__btn--ghost:hover{background:#fff;color:var(--slate-d);border-color:var(--slate-d)}
body.site .hhero__agents{margin:22px 0 0;font-size:.875rem;color:var(--muted)}
body.site .hhero__agents a{color:var(--slate);text-decoration:none;border-bottom:1px solid var(--mist);padding-bottom:1px;white-space:nowrap}
body.site .hhero__agents a:hover{color:var(--slate-d);border-bottom-color:var(--slate)}
body.site .hhero__join{margin-left:6px;font:600 .6875rem/1 var(--font-body);letter-spacing:.22em;text-transform:uppercase;color:var(--slate);text-decoration:none;white-space:nowrap}
body.site .hhero__join span{display:inline-block;transition:transform .25s ease}
body.site .hhero__join:hover{color:var(--slate-d)}
body.site .hhero__join:hover span{transform:translateX(3px)}
@media (max-width:1240px){
  html body.site.home .hhero__row{grid-template-columns:1fr;row-gap:32px}
  html body.site.home .hhero__search{max-width:640px}
}
@media (max-width:600px){
  body.site .hhero__actions{margin-top:22px;gap:10px}
  html body.site .hhero__btn{flex:1 1 100%;justify-content:center;height:50px}
  body.site .hhero__join{margin:6px 0 0;flex:1 1 100%;text-align:center}
  html body.site .hhero__search input{font-size:.8125rem;padding-left:40px;padding-right:8px;background-position:14px center}
  html body.site .hhero__search button{padding:0 17px}
}
@media (max-width:380px){html body.site .hhero__search input{font-size:.75rem;padding-left:36px;background-position:12px center}}
/* single-column hero: the agent search sits straight under the sub line */
@media (max-width:1240px){
  html body.site.home .hhero__intro{display:contents}
  html body.site.home .hhero__lead{order:1}
  html body.site.home .hhero__search{order:2}
  html body.site.home .hhero__actions{order:3;margin-top:0}
  html body.site.home .hhero__agents{order:4;margin-top:-12px}
}
