/* v2.9.40 — builders index + builder pages. Light theme, golden accent.
   Builder logos always render object-fit: contain and are never cropped;
   builders without a logo get a gold-initial fallback tile. */

/* ---------- builders index: title band ---------- */
.page-band{padding:56px 0 8px}
.page-band h1{font-size:clamp(38px,5vw,58px);letter-spacing:-.04em;line-height:1.06;margin:14px 0 12px;font-weight:750}
.page-band p{color:#66685f;max-width:640px;margin:0 0 8px}
.page-band .result-count{font-size:13px;color:#72746b;font-weight:600}

/* ---------- builders index: card grid ---------- */
.builders-section{padding:30px 0 64px}
.builders-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.builder-card{background:#fff;border:1px solid #e2dfd6;border-radius:20px;padding:32px 24px 26px;text-align:center;box-shadow:0 10px 30px rgba(40,36,25,.05)}
.builder-card-logo{width:96px;height:96px;margin:0 auto 18px;background:#fff;border:1px solid #e2dfd6;border-radius:50%;display:grid;place-items:center;padding:14px;overflow:hidden;box-sizing:border-box}
.builder-card-logo img{width:100%;height:100%;object-fit:contain}
.builder-card-logo--fallback{background:#FBF3D5;border-color:#E7D48A;color:#7A5F00;font-size:36px;font-weight:850;padding:0}
.builder-card h2{font-size:19px;letter-spacing:-.02em;line-height:1.25;margin:0 0 16px;font-weight:720}
.builder-card h2 a:hover{color:#7A5F00}
.builder-card-rule{border:0;border-top:1px solid #e2dfd6;margin:0 0 16px}
.builder-count{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:18px}
.builder-count-icon{width:38px;height:38px;flex:0 0 auto;border-radius:10px;background:#FBF3D5;display:grid;place-items:center;color:#7A5F00}
.builder-count-icon svg{width:20px;height:20px;display:block}
.builder-count-text{font-size:14px;color:#55564f}
.builder-count-text strong{font-size:19px;font-weight:780;color:#20211f;letter-spacing:-.02em}
.builder-card .card-link{margin-top:0}
@media (max-width:900px){
  .builders-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .page-band{padding:44px 0 6px}
  .builders-grid{grid-template-columns:1fr}
}

/* ---------- builder page: photo-band hero, text on top ---------- */
.builder-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#3a3524,#22231f)}
.builder-hero img.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.builder-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,18,10,.42),rgba(20,18,10,.62))}
.builder-hero-inner{position:relative;z-index:1;padding:74px 0 66px;color:#fff}
.builder-hero .eyebrow{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#EBD98C;font-weight:850}
.builder-hero h1{font-size:clamp(38px,5vw,58px);letter-spacing:-.04em;line-height:1.06;margin:14px 0 10px;font-weight:750}
.builder-hero .hero-meta{font-size:14px;color:rgba(255,255,255,.88);margin:0}
.builder-hero .hero-meta strong{color:#fff}
.builder-hero-head{display:flex;align-items:center;gap:20px}
.builder-hero-logo{flex:0 0 auto;background:#fff;border-radius:14px;padding:10px 18px;line-height:0;box-shadow:0 10px 28px rgba(20,18,10,.25)}
.builder-hero-logo img{height:44px;width:auto;max-width:170px;object-fit:contain}
.builder-hero-logo--fallback{display:grid;place-items:center;width:76px;height:64px;padding:0;background:#FBF3D5;color:#7A5F00;font-size:30px;font-weight:850;line-height:1}
.builder-draft-notice{margin:22px 0 0}
@media (max-width:760px){
  .builder-hero-inner{padding:52px 0 46px}
  .builder-hero-head{gap:14px}
  .builder-hero-logo{padding:8px 12px;border-radius:12px}
  .builder-hero-logo img{height:34px;max-width:120px}
  .builder-hero-logo--fallback{width:58px;height:50px;font-size:24px}
}

/* ---------- builder page: intro (hidden entirely when blank) ---------- */
.builder-intro{margin:34px 0 0;max-width:760px}
.builder-intro p{color:#50514c;font-size:15px;line-height:1.8;margin:0 0 12px}
.builder-intro p:last-child{margin-bottom:0}

/* ---------- builder page: projects grid ---------- */
.builders-projects{padding:44px 0 64px}
.builders-projects .results-count{margin:0}
