/* 2 Dec 2026 preview (home-tidy): more prominent search + tidier homepage.
   Homepage only. Does not change H1, titles, navigation, legal text,
   form fields/names/action, or Find logic. */

/* ---- Search card: soft lilac, taller controls, clearer labels ---- */
body[data-page="home"] .hm--client .hm-search{
  background:#f3eef9;
  border:1px solid #c4b4d8;
  border-radius:1.35rem;
  padding:.95rem;
  box-shadow:0 10px 32px rgba(61,47,107,.13), 0 1px 0 rgba(255,255,255,.7) inset;
  max-width:42rem;
  margin:1.15rem auto 0;
  gap:.55rem;
}
body[data-page="home"] .hm--client .hm-field{
  background:#fff;
  border:1px solid #d8d0e6;
  border-radius:.95rem;
  padding:.45rem .95rem .4rem;
  min-height:52px;
  justify-content:center;
}
body[data-page="home"] .hm--client .hm-field--loc{
  border-left:1px solid #d8d0e6;
}
body[data-page="home"] .hm--client .hm-field:focus-within{
  background:#fff;
  border-color:#3d2f6b;
  box-shadow:0 0 0 3px rgba(61,47,107,.18);
  border-radius:.95rem;
}
body[data-page="home"] .hm--client .hm-field label{
  font-size:.88rem;
  font-weight:700;
  color:#3d2f6b;
  margin:0 0 .12rem;
  letter-spacing:.01em;
}
body[data-page="home"] .hm--client .hm-field input{
  font-size:1rem;
  min-height:1.75rem;
  color:#2a2433;
  text-overflow:ellipsis;
}
body[data-page="home"] .hm--client .hm-field input::placeholder{
  color:#5f5b68;
  opacity:1;
}
body[data-page="home"] .hm--client .hm-btn{
  min-height:52px;
  padding:0 1.6rem;
  font-size:1.08rem;
  font-weight:700;
  background:#3d2f6b;
  color:#fff;
  border-radius:.95rem;
}
body[data-page="home"] .hm--client .hm-btn:hover{background:#2f2454}
body[data-page="home"] .hm--client .hm-btn:focus-visible,
body[data-page="home"] .hm--client .hm-field input:focus-visible,
body[data-page="home"] .hm--client .near-me:focus-visible{
  outline:3px solid #c9b98a;
  outline-offset:2px;
}
body[data-page="home"] .hm--client .near-me{
  min-height:44px;
  font-size:.92rem;
  color:#1d70b8;
}

@media (max-width:720px){
  body[data-page="home"] .hm--client{
    padding-top:1.5rem!important;
    padding-bottom:2rem!important;
  }
  body[data-page="home"] .hm--client .hm-search{
    flex-direction:column;
    padding:.85rem;
    gap:.5rem;
    margin-top:.95rem;
  }
  body[data-page="home"] .hm--client .hm-field{
    min-height:52px;
    padding:.5rem .9rem;
  }
  body[data-page="home"] .hm--client .hm-field--loc{
    border-left:0;
  }
  body[data-page="home"] .hm--client .hm-btn{
    width:100%;
    margin-top:.15rem;
    min-height:52px;
    border-radius:.95rem;
  }
}


@media (min-width:721px){
  body[data-page="home"] .hm--client .hm-search{
    max-width:52rem;
    align-items:stretch;
    padding:.7rem;
    border-radius:1.5rem;
    gap:.55rem;
  }
  /* One white bar (query + location) on the lilac card, then Search */
  body[data-page="home"] .hm--client .hm-field{
    padding:.55rem .9rem;
    min-height:56px;
    border:0;
    box-shadow:none;
    margin:0;
  }
  body[data-page="home"] .hm--client .hm-field:focus-within{
    box-shadow:0 0 0 3px rgba(61,47,107,.18);
  }
  body[data-page="home"] .hm--client .hm-field--q{
    flex:1.3 1 0;
    background:#fff;
    border-radius:1rem 0 0 1rem;
  }
  body[data-page="home"] .hm--client .hm-field--loc{
    flex:1.35 1 0;
    background:#fff;
    border-left:1px solid #e4ddee;
    border-radius:0 1rem 1rem 0;
  }
  body[data-page="home"] .hm--client .hm-btn{
    min-height:56px;
    padding:0 1.85rem;
    font-size:1.08rem;
    border-radius:1rem;
    align-self:stretch;
    margin:0;
  }
}

/* A little more room under the title line, without pushing search off a 390px fold */
body[data-page="home"] .hm--client .hm-free{
  margin:.35rem auto 0!important;
}

/* ---- Steps: small, muted, one even line ---- */
body[data-page="home"] .hm--client .hm-steps{
  display:flex!important;
  flex-wrap:nowrap;
  justify-content:center;
  align-items:center;
  width:100%;
  max-width:36rem;
  margin:.7rem auto 0!important;
  padding:0 .5rem!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
  font-size:.78rem!important;
  line-height:1.3;
  font-weight:500;
  color:#6b6874;
  opacity:1;
  text-align:center;
  gap:0;
}
body[data-page="home"] .hm--client .hm-steps span{
  display:inline-flex!important;
  align-items:center;
  white-space:nowrap;
  padding:0 .7rem;
  color:#6b6874;
}
body[data-page="home"] .hm--client .hm-steps span + span{
  border-left:1px solid #d4cce0;
}
body[data-page="home"] .hm--client .hm-steps b{
  font-weight:600;
  color:#5a5566;
  margin-right:.2rem;
}

/* ---- Two even pill links, quick to tap ---- */
body[data-page="home"] .hm--client .hm-door{
  display:flex;
  flex-wrap:nowrap;
  justify-content:center;
  align-items:stretch;
  gap:.5rem;
  margin:.75rem auto 0;
  max-width:24.5rem;
  padding:0 .35rem;
  text-align:center;
}
body[data-page="home"] .hm--client .hm-door a{
  flex:1 1 0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:2.5rem;
  padding:.35rem .7rem;
  border:1px solid #cfc4e0;
  border-radius:999px;
  background:#fff;
  color:#3d2f6b;
  font-size:.86rem;
  font-weight:600;
  line-height:1.2;
  text-decoration:none;
  text-align:center;
  white-space:nowrap;
}
body[data-page="home"] .hm--client .hm-door a:hover{
  background:#f3eef9;
  border-color:#3d2f6b;
  color:#3d2f6b;
}
body[data-page="home"] .hm--client .hm-door a:focus-visible{
  outline:3px solid #c9b98a;
  outline-offset:2px;
}
@media (prefers-color-scheme:dark){
  body[data-page="home"] .hm--client .hm-steps,
  body[data-page="home"] .hm--client .hm-steps span{color:#b3acc2}
  body[data-page="home"] .hm--client .hm-steps b{color:#d9d3e6}
  body[data-page="home"] .hm--client .hm-steps span + span{border-left-color:#5a5170}
  body[data-page="home"] .hm--client .hm-door a{
    background:#2a2438;
    border-color:#5a5170;
    color:#ece8f4;
  }
  body[data-page="home"] .hm--client .hm-door a:hover{
    background:#332c44;
    border-color:#c4b4d8;
    color:#ece8f4;
  }
}

body[data-page="home"] .hm--client .hm-recent{
  margin:2rem auto 0;
}
body[data-page="home"] .hm--client .hm-recent-h,
body[data-page="home"] .hm--client .hm-who-h,
body[data-page="home"] #tct-h{
  font:600 1.12rem var(--sans)!important;
  color:#2a2433!important;
  text-align:center;
  margin:0 0 .85rem!important;
  letter-spacing:-.01em;
}
body[data-page="home"] .hm--client .hm-who-h{
  margin-top:2rem!important;
}
body[data-page="home"] .hm--client .hm-browse{
  margin-top:.15rem!important;
  margin-bottom:0;
}
body[data-page="home"] .tct{
  padding-top:2rem;
  padding-bottom:1rem;
}

/* ---- Profession grid: even cards, tidier sub-labels ---- */
body[data-page="home"] .hm--client .hm-chips{
  gap:.55rem!important;
  align-items:stretch;
}
body[data-page="home"] .hm--client .hm-chips li{
  display:flex!important;
  height:auto!important;
}
body[data-page="home"] .hm--client .hm-chips a{
  flex:1 1 auto;
  min-height:3.25rem;
  padding:.55rem .8rem .5rem!important;
  border-radius:.9rem!important;
  background:#faf8fc!important;
  border:1px solid #ddd8e8!important;
  box-shadow:none!important;
  transform:none!important;
  gap:.15rem;
  justify-content:center;
}
body[data-page="home"] .hm--client .hm-chip-n{
  font-weight:700;
  font-size:.92rem;
  line-height:1.25;
  color:#2a2433;
}
body[data-page="home"] .hm--client .hm-chip-s{
  display:block;
  font-size:.74rem;
  font-weight:400;
  line-height:1.3;
  color:#5f5b68;
  opacity:1;
}
body[data-page="home"] .hm--client .hm-chips a:hover{
  background:#f0ebf7!important;
  border-color:#3d2f6b!important;
}
body[data-page="home"] .hm--client .hm-chips a:focus-visible{
  outline:3px solid #c9b98a;
  outline-offset:2px;
}
@media (min-width:721px){
  body[data-page="home"] .hm--client .hm-chips a{
    min-height:4.5rem;
    padding:.65rem .85rem .6rem!important;
  }
}

/* ---- Explore chips: consistent height and padding ---- */
body[data-page="home"] .tct-chips{
  gap:.4rem;
}
body[data-page="home"] .tct-chips a{
  min-height:2.5rem;
  padding:.4rem .9rem;
  font-size:.88rem;
  line-height:1.25;
  border-radius:999px;
}
body[data-page="home"] .tct-group{
  background:#faf8fc;
  border-color:#ebe6f2;
  box-shadow:none;
}
body[data-page="home"] .tct-group h4{
  margin:0 0 .4rem;
  font-size:1rem;
}

/* ---- Calmer florals: stay behind content, sit further out ---- */
body[data-page="home"] .hm--client .hm-deco{
  z-index:0;
  pointer-events:none;
}
body[data-page="home"] .hm--client .hm-inner{
  position:relative;
  z-index:1;
}
body[data-page="home"] .hm--client .hmf{
  opacity:.38!important;
}
body[data-page="home"] .hm--client .hmf-1{left:-78px;top:-36px}
body[data-page="home"] .hm--client .hmf-3{right:-70px}
body[data-page="home"] .hm--client .hmf-5{right:8px;top:6px;opacity:.28!important}
@media (max-width:720px){
  body[data-page="home"] .hm--client .hmf{opacity:.26!important}
  body[data-page="home"] .hm--client .hmf-1{width:92px;left:-64px;top:-28px}
  body[data-page="home"] .hm--client .hmf-3{
    width:58px!important;right:-88px!important;bottom:8%!important;
    opacity:.2!important;transform:none;
  }
  body[data-page="home"] .hm--client .hmf-5{width:38px;right:2px;top:2px;opacity:.2!important}
  /* Floral is now off-canvas; use the content width so both pills stay on one line */
  body[data-page="home"] .hm--client .hm-steps,
  body[data-page="home"] .hm--client .hm-door{
    max-width:100%;
  }
}

/* ---- Dark mode: keep contrast at AA and the same layout ---- */
@media (prefers-color-scheme:dark){
  body[data-page="home"] .hm--client .hm-search{
    background:#2a2438;
    border-color:#5a5170;
    box-shadow:0 10px 28px rgba(0,0,0,.35);
  }
  body[data-page="home"] .hm--client .hm-field,
  body[data-page="home"] .hm--client .hm-field:focus-within,
  body[data-page="home"] .hm--client .hm-field--q,
  body[data-page="home"] .hm--client .hm-field--loc{
    background:#211c2d;
    border-color:#5a5170;
  }
  body[data-page="home"] .hm--client .hm-field label{color:#ece8f4}
  body[data-page="home"] .hm--client .hm-field input{color:#ece8f4}
  body[data-page="home"] .hm--client .hm-field input::placeholder{color:#b3acc2}
  body[data-page="home"] .hm--client .hm-btn{background:#c4b4d8;color:#1d1927}
  body[data-page="home"] .hm--client .hm-btn:hover{background:#d8cceb}
  body[data-page="home"] .hm--client .hm-recent-h,
  body[data-page="home"] .hm--client .hm-who-h,
  body[data-page="home"] #tct-h{color:#ece8f4!important}
  body[data-page="home"] .hm--client .hm-chip-n{color:#ece8f4}
  body[data-page="home"] .hm--client .hm-chip-s{color:#b3acc2}
  body[data-page="home"] .hm--client .hm-chips a{
    background:#2a2438!important;
    border-color:#3a3348!important;
  }
  body[data-page="home"] .hm--client .hm-chips a:hover{
    background:#332c44!important;
    border-color:#c4b4d8!important;
  }
  body[data-page="home"] .tct-group{background:#211c2d;border-color:#3a3348}
}

/* ---- Practitioners: two even rows of four, no scroll, no clipped faces ---- */
body[data-page="home"] .hm--client .hm-recent-scroll{
  position:relative;
  overflow:visible;
}
body[data-page="home"] .hm--client .hm-recent-list{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  justify-content:center;
  justify-items:center;
  align-items:start;
  gap:.7rem .3rem;
  overflow:visible;
  width:100%;
  max-width:none;
  margin:0 auto;
  padding:.2rem 0 .35rem;
  list-style:none;
  scroll-snap-type:none;
  scrollbar-width:auto;
  -ms-overflow-style:auto;
  overscroll-behavior-x:auto;
  -webkit-mask-image:none;
  mask-image:none;
}
body[data-page="home"] .hm--client .hm-recent-list::-webkit-scrollbar{
  display:auto;
  width:auto;
  height:auto;
}
body[data-page="home"] .hm--client .hm-recent-list>li{
  flex:none;
  width:100%;
  max-width:none;
  min-width:0;
  scroll-snap-align:unset;
}
body[data-page="home"] .hm--client .hm-recent-list a{
  width:100%;
  font-size:.72rem;
  line-height:1.25;
  padding:.1rem .05rem;
}
body[data-page="home"] .hm--client .hm-recent-n{font-size:.72rem}
body[data-page="home"] .hm--client .hm-recent-p{font-size:.64rem;line-height:1.25}
body[data-page="home"] .hm--client .hm-recent-list img,
body[data-page="home"] .hm--client .hm-recent-i{
  width:60px!important;
  height:60px!important;
  margin-bottom:.35rem;
}
body[data-page="home"] .hm--client .hm-recent-i{font-size:1.05rem}
body[data-page="home"] .hm--client .hm-recent-scroll .hm-recent-list,
body[data-page="home"] .hm--client .hm-recent-scroll.is-fade-end .hm-recent-list,
body[data-page="home"] .hm--client .hm-recent-scroll.is-fade-start .hm-recent-list,
body[data-page="home"] .hm--client .hm-recent-scroll.is-fade-start.is-fade-end .hm-recent-list{
  -webkit-mask-image:none;
  mask-image:none;
}
body[data-page="home"] .hm--client .hm-recent[hidden]{min-height:320px}
@media (min-width:721px){
  body[data-page="home"] .hm--client .hm-recent-list{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:1.15rem .8rem;
  }
  body[data-page="home"] .hm--client .hm-recent-list a{
    font-size:.86rem;
    line-height:1.3;
    padding:.2rem .15rem;
  }
  body[data-page="home"] .hm--client .hm-recent-n{font-size:.86rem}
  body[data-page="home"] .hm--client .hm-recent-p{font-size:.76rem}
  body[data-page="home"] .hm--client .hm-recent-list img,
  body[data-page="home"] .hm--client .hm-recent-i{
    width:112px!important;
    height:112px!important;
    margin-bottom:.55rem;
  }
  body[data-page="home"] .hm--client .hm-recent-i{font-size:1.65rem}
  body[data-page="home"] .hm--client .hm-recent[hidden]{min-height:430px}
}
