.home-hero h1 { font-family:Georgia,serif; font-size:clamp(38px,5.9vw,74px); max-width:17ch; }
.home-hero-copy { max-width:810px; }
.home-hero .hero-search { grid-template-columns:minmax(70px,.65fr) minmax(140px,1.55fr) minmax(110px,.85fr) auto; max-width:790px; }
.home-hero .hero-search input,.home-hero .hero-search select { min-height:44px; }
.home-paths .grid { margin-top:22px; gap:18px; }
.home-paths article { border-top:3px solid var(--brass); }
.recruit-hero { padding:clamp(45px,8vw,100px) 0; background:#142d2b; color:#fff8e9; }
.recruit-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr); gap:clamp(25px,5vw,72px); align-items:center; }
.recruit-hero h1 { font:500 clamp(38px,5.2vw,66px)/1.02 Georgia,serif; letter-spacing:-.045em; }
.recruit-hero .lead { margin:20px 0; color:#e0e8df; font-size:clamp(17px,2vw,21px); }
.recruit-hero .btn { background:#e8c990; color:#142d2b; }
.recruit-hero .btn.alt { background:transparent; color:#fff8e9; border-color:#d3c5ab; }
.recruit-splits { border:1px solid #60746b; border-radius:14px; background:#203d37; padding:clamp(18px,3vw,29px); display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.recruit-splits div { min-width:0; }
.recruit-splits span { display:block; color:#e0e8df; font-size:.87rem; }
.recruit-splits strong { display:block; color:#e8c990; font:500 clamp(35px,5vw,57px)/1.15 Georgia,serif; }
.recruit-splits p { grid-column:1/-1; margin:0; padding-top:12px; border-top:1px solid #60746b; font-size:.9rem; }
#split input[type=number] { max-width:15rem; }
@media(max-width:760px) {
  .recruit-grid { grid-template-columns:minmax(0,1fr); }
  .home-hero .hero-search { grid-template-columns:1fr 1fr; }
  .home-hero .hero-search .btn { grid-column:auto; width:100%; }
}
@media(max-width:420px) { .home-hero .hero-search { grid-template-columns:1fr; } }

/* Keep the house in view and group search controls into one surface. */
.home-hero { min-height:clamp(505px,53vw,690px); }
.home-hero-image { object-position:center 51%; }
.home-hero::after {
  background:linear-gradient(90deg,rgba(8,26,22,.94),rgba(8,26,22,.76) 34%,rgba(8,26,22,.09) 83%),
             linear-gradient(0deg,rgba(8,26,22,.52),transparent 55%);
}
.home-hero h1 { font-size:clamp(39px,6vw,78px); max-width:15ch; line-height:1.03; }
.home-hero .hero-search { padding:clamp(13px,2vw,19px); gap:12px; box-shadow:0 12px 34px #081a2255; }
.home-hero .hero-search .btn { min-height:44px; }
.home-hero-links { margin-top:20px; }
.home-hero-links a { padding-block:4px; }
.home-featured + .home-featured { border-top:0; padding-top:clamp(32px,4vw,48px); }
.home-featured .listing-grid > article:not(.listing-card) { padding:0 0 16px; overflow:hidden; }
.home-featured .home-feature-photo { overflow:hidden; }
.home-feature-photo img { border-radius:0; }
.home-featured .listing-grid > article:not(.listing-card) > :is(h3,p) { margin-inline:16px; }
.home-featured .section-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:4px 18px; margin-bottom:18px; }
.home-featured .section-heading h2 { margin:0; }
.home-featured .section-heading a { color:var(--river-d); font-weight:700; text-underline-offset:4px; }
.recruit-hero { background:radial-gradient(ellipse at top right,#315750,transparent 64%),#142d2b; }
.recruit-splits { box-shadow:0 16px 40px rgb(0 0 0 / .18); }
@media (max-width:760px) {
  .home-hero::after { background:linear-gradient(0deg,rgba(8,26,22,.97),rgba(8,26,22,.70) 69%,rgba(8,26,22,.43)); }
}
@media (max-width:420px) {
  .home-hero-layout { padding-block:36px; }
  .home-hero h1 { font-size:clamp(34px,10vw,42px); }
}

.recruit-partner-link { display:inline-block; margin-top:15px; color:#fff8e9; font-weight:700; text-underline-offset:4px; }
.recruit-markets .cards, .partnership-model { margin-top:22px; }
.brokerage-partnership { background:var(--paper); border-block:1px solid var(--line); }
.partnership-intro { max-width:700px; }
.partnership-model article { border-top:3px solid var(--brass); }
.brokerage-partnership .application-layout { margin-top:clamp(28px,5vw,56px); padding-top:clamp(24px,4vw,40px); border-top:1px solid var(--line); }

.partnership-terms { margin-top:clamp(24px,4vw,44px); }
.partnership-terms dl { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr)); gap:14px; margin:14px 0 0; }
.partnership-terms dl div { padding-top:12px; border-top:2px solid var(--line); }
.partnership-terms dt { font-weight:700; }
.partnership-terms dd { margin:5px 0 0; color:var(--mute); }
.recruit-sections { display:block; height:auto; background:var(--card); border-bottom:1px solid var(--line); }
.recruit-sections .wrap { display:flex; flex-wrap:wrap; gap:12px 24px; padding-block:14px; }
.recruit-sections a { font-weight:700; color:var(--river-d); text-decoration:underline; text-underline-offset:4px; }
.recruit-comparison-inputs { display:grid; gap:8px; margin-top:18px; }
#split .rows > [hidden] { display:none; }
