/* ==========================================================================
   Cathy Bruce - integration/home.css (LOCAL, not deployed)
   Minimal layer for the NEW homepage sections only: .cb-paths, .cb-areas guide list.
   Depends on integration/upgrade-2026.css (frozen copy of visual/upgrade-2026.css)
   for tokens (--u-*) and everything else. Every selector is scoped to
   body.cb-upgrade2026 so protected routes stay untouched.
   ========================================================================== */

/* ---- paths: buy / sell / rent ---- */
body.cb-upgrade2026 .cb-paths{background:#fff;padding-block:var(--u-section);border-top:1px solid var(--u-line)}
body.cb-upgrade2026 .cb-paths__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:2.5rem;margin-top:1.75rem}
@media (min-width:900px){
  body.cb-upgrade2026 .cb-paths__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3rem}
}
body.cb-upgrade2026 .cb-path{min-width:0;border-top:2px solid var(--u-green);padding-top:1.25rem}
body.cb-upgrade2026 .cb-path__title{font-family:var(--u-serif);font-size:1.5rem;font-weight:400;line-height:1.25;margin:0 0 .6rem;color:var(--u-ink)}
body.cb-upgrade2026 .cb-path p{color:#33393d;font-size:1rem;margin:0 0 1rem}
body.cb-upgrade2026 .cb-path>.cb-link{display:inline-flex;min-height:44px;align-items:center}
body.cb-upgrade2026 .cb-path__links{list-style:none;margin:1rem 0 0;padding:0;border-top:1px solid var(--u-line)}
body.cb-upgrade2026 .cb-path__links li{margin:0;border-bottom:1px solid var(--u-line)}
body.cb-upgrade2026 .cb-path__links a{display:block;padding:.55rem 0;min-height:44px;font-size:.95rem;font-weight:600;color:var(--u-green-dark);text-decoration:none;overflow-wrap:anywhere}
body.cb-upgrade2026 .cb-path__links a:hover{text-decoration:underline;text-underline-offset:.25em}
body.cb-upgrade2026 .cb-paths__note{max-width:70ch;margin:2.5rem 0 0;color:var(--u-muted);font-size:.98rem}
body.cb-upgrade2026 .cb-paths__note a{font-weight:600}

/* ---- areas: nine neighborhood guides as a ruled grid ---- */
body.cb-upgrade2026 .cb-areas__list.cb-areas__list--guides{display:grid;grid-template-columns:minmax(0,1fr);gap:0 2.5rem;list-style:none;margin:1.5rem 0 0;padding:0}
@media (min-width:640px){
  body.cb-upgrade2026 .cb-areas__list.cb-areas__list--guides{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1000px){
  body.cb-upgrade2026 .cb-areas__list.cb-areas__list--guides{grid-template-columns:repeat(3,minmax(0,1fr))}
}
body.cb-upgrade2026 .cb-areas__list--guides li{display:block;margin:0;border-top:1px solid var(--u-line)}
body.cb-upgrade2026 .cb-areas__list--guides a{display:block;padding:.85rem 0;min-height:48px;font-family:var(--u-serif);font-size:1.15rem;font-weight:400;line-height:1.3;color:var(--u-ink);text-decoration:none}
body.cb-upgrade2026 .cb-areas__list--guides a:hover{color:var(--u-green-dark);text-decoration:underline;text-underline-offset:.25em}
body.cb-upgrade2026 .cb-areas__also{max-width:70ch;margin:1.5rem 0 1rem;color:var(--u-muted);font-size:.98rem}
body.cb-upgrade2026 .cb-areas__also a{font-weight:600;color:var(--u-green-dark)}

/* ---- Meet Cathy: authentic portrait beside the biography (homepage only) ---- */
body.home.cb-upgrade2026 .cb-meet .cb-wrap.cb-meet__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.75rem;align-items:start}
body.home.cb-upgrade2026 .cb-meet .cb-meet__grid .cb-meet__photo{display:block;width:100%;max-width:400px;margin:0}
body.home.cb-upgrade2026 .cb-meet .cb-meet__grid .cb-meet__photo img{display:block;width:100%;max-width:400px;height:auto;aspect-ratio:1/1;object-fit:contain}
body.home.cb-upgrade2026 .cb-meet .cb-meet__grid .cb-meet__text{display:block;min-width:0;max-width:62ch}
@media (min-width:900px){
  body.home.cb-upgrade2026 .cb-meet .cb-wrap.cb-meet__grid{grid-template-columns:minmax(0,400px) minmax(0,1fr);column-gap:clamp(2.5rem,5vw,4.5rem)}
}

/* ---- Contact: the same portrait next to the existing form (homepage only) ---- */
body.home.cb-upgrade2026 .cb-wrap.cb-home-contact{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;align-items:start;padding-bottom:var(--u-section)}
body.home.cb-upgrade2026 .cb-home-contact__photo{margin:0;width:100%;max-width:240px}
body.home.cb-upgrade2026 .cb-home-contact__photo img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}
body.home.cb-upgrade2026 .cb-home-contact__form{min-width:0}
body.home.cb-upgrade2026 .cb-home-contact__form .cb-wrap{max-width:none;margin:0;padding-inline:0}
body.home.cb-upgrade2026 .cb-home-contact__form .cb-home-form{padding-bottom:0}
body.home.cb-upgrade2026 .cb-home-contact__form .cb-form{max-width:none}
@media (min-width:760px){
  body.home.cb-upgrade2026 .cb-wrap.cb-home-contact{grid-template-columns:240px minmax(0,1fr);column-gap:clamp(2rem,4vw,3.5rem)}
}
