/* Clinic UI aligned with AI Concept: spacious intro, modular cards and clear
   entry points. Intentionally no color, background, opacity or shadow changes:
   every existing Clinic palette, state and contrast pairing is retained.
   Load after all existing Clinic styles. Scoped to the Clinic homepage only. */
body#top:has(.clean-team-section) {
  --clinic-ui-radius: 24px;
  --clinic-ui-gap: 20px;
}
body#top:has(.clean-team-section) .wrap { width:min(1160px,calc(100% - 56px))!important; }
body#top:has(.clean-team-section) main { overflow-wrap:break-word; }
body#top:has(.clean-team-section) main .section { padding-block:72px; }
body#top:has(.clean-team-section) main .hero { padding-block:64px 48px!important; }
body#top:has(.clean-team-section) .hero-grid { gap:48px; align-items:center; }
body#top:has(.clean-team-section) main h1 { font-size:clamp(2.4rem,5vw,4.6rem)!important; line-height:1.08!important; max-width:1000px; }
body#top:has(.clean-team-section) main h2 { line-height:1.12!important; max-width:900px; text-wrap:balance; }
body#top:has(.clean-team-section) main .lead { max-width:750px; line-height:1.65; }
body#top:has(.clean-team-section) .hero-actions-primary { gap:12px!important; margin-top:28px; }
body#top:has(.clean-team-section) main .button { min-height:48px; border-radius:14px!important; padding:.82rem 1.15rem; white-space:normal; text-align:center; }
body#top:has(.clean-team-section) main .button.text { border-radius:0!important; min-height:44px; padding-inline:0; }
body#top:has(.clean-team-section) .clinic-contact-card { border-radius:var(--clinic-ui-radius)!important; padding:28px!important; }
body#top:has(.clean-team-section) :is(.philosophy-principles,.clean-team-grid,.clean-location-grid,.jt-career-grid) { gap:var(--clinic-ui-gap)!important; }
body#top:has(.clean-team-section) :is(.philosophy-principles>article,.clean-person-card,.clean-service,.clean-location-grid>article,.refund-accordion,.minimal-network-card,.clean-disclosure,.jt-career-grid>article,.triage-card) { border-radius:var(--clinic-ui-radius)!important; }
body#top:has(.clean-team-section) .philosophy-principles>article { padding:26px!important; min-width:0; }
body#top:has(.clean-team-section) .clean-person-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; }
body#top:has(.clean-team-section) .clean-person-copy { display:flex; flex-direction:column; flex:1; padding:24px!important; }
body#top:has(.clean-team-section) .profile-booking { margin-top:auto; padding-top:16px; }
body#top:has(.clean-team-section) :is(.clean-service>summary,.clean-disclosure>summary,.refund-accordion>summary) { padding:24px!important; min-height:56px; }
body#top:has(.clean-team-section) .clean-location-grid>article { padding:26px!important; min-width:0; }
body#top:has(.clean-team-section) .triage-grid { gap:40px; align-items:start; }
body#top:has(.clean-team-section) .clinic-booking { padding:26px!important; min-width:0; }
body#top:has(.clean-team-section) .clinic-booking :is(.therapist-option,.booking-handoff,.booking-preparation) { border-radius:18px; padding:22px; }
body#top:has(.clean-team-section) .clinic-booking .booking-progress { gap:12px; }
body#top:has(.clean-team-section) .clinic-booking .booking-progress li { flex:1 1 110px; padding:10px 0; }
body#top:has(.clean-team-section) .clinic-booking select { border-radius:12px; min-height:50px; }
body#top:has(.clean-team-section) :is(.site-header a,.site-header summary,main a,main button,main select,main summary):focus-visible { outline-width:3px; outline-style:solid; outline-offset:4px; }
body#top:has(.clean-team-section) main [id] { scroll-margin-top:120px; }
@media(max-width:900px){
 body#top:has(.clean-team-section) .hero-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
 body#top:has(.clean-team-section) main .section { padding-block:56px; }
 body#top:has(.clean-team-section) main .hero { padding-block:42px 32px!important; }
 body#top:has(.clean-team-section) .triage-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
 body#top:has(.clean-team-section) .triage-copy { position:static; }
}
@media(max-width:600px){
 body#top:has(.clean-team-section) .wrap { width:calc(100% - 32px)!important; }
 body#top:has(.clean-team-section) { --clinic-ui-radius:20px; --clinic-ui-gap:16px; }
 body#top:has(.clean-team-section) main .section { padding-block:44px; }
 body#top:has(.clean-team-section) :is(.clinic-contact-card,.clinic-booking,.clean-person-copy,.philosophy-principles>article,.clean-location-grid>article) { padding:20px!important; }
 body#top:has(.clean-team-section) :is(.clean-service>summary,.clean-disclosure>summary,.refund-accordion>summary) { padding:20px!important; }
 body#top:has(.clean-team-section) .clinic-booking :is(.therapist-option,.booking-handoff,.booking-preparation) { padding:16px; }
 body#top:has(.clean-team-section) .hero-actions-primary .button { width:100%; }
 body#top:has(.clean-team-section) .philosophy-principles { grid-template-columns:minmax(0,1fr)!important; }
}
@media(prefers-reduced-motion:reduce){ body#top:has(.clean-team-section) * { scroll-behavior:auto!important; } }
