/* Shared logo geometry, in both background modes. */
header{gap:0;padding-top:6px;padding-bottom:6px}
header .brand{gap:0;line-height:0}
header .brand img.practice-logo{width:330px;height:auto;max-width:100%;aspect-ratio:auto;display:block}
header #navigation{padding-top:0;padding-bottom:0;margin-top:0}
.view-bar{align-items:center;flex-wrap:wrap;gap:8px 20px}
.display-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}
.view-bar .display-options button{font-size:14px;min-height:44px;padding:6px 8px;border:1px solid transparent;border-radius:4px}
.view-bar .display-options button[aria-pressed="true"]{border-color:currentColor;text-decoration:none}
#background-toggle[aria-pressed="true"]::before{content:'✓ ';font-weight:700}
header .nav-provider{padding:0;margin:0;border:0}
header .nav-submenu .nav-provider>summary{font-size:15px;padding:10px 12px}
header .nav-provider-links{margin-left:10px;padding-left:4px;border-left:1px solid #638f7f}
header .nav-provider[open]>summary{background:#17342b;color:#fff8e9}
header .nav-provider[open]>summary>span{transform:rotate(180deg)}
html{scroll-padding-top:420px}main [id]{scroll-margin-top:420px}
html[data-background="white"]{--paper:#fff;--cream:#fff;--ink:#173f3c;--green:#086b61;--muted:#48635d;--sage:#eef4f0;color-scheme:light}
html[data-background="white"] body,html[data-background="white"] header{background:#fff;color:#173f3c}
html[data-background="white"] .view-bar,html[data-background="white"] footer{background:#eef4f0}
html[data-background="white"] header .nav-submenu{background:#fff}
html[data-background="white"] header .nav-provider[open]>summary{background:#e5efea;color:#173f3c}
html[data-background="white"] header .nav-provider-links{border-color:#c4d6cc}
html[data-background="black"]{color-scheme:dark}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;padding-top:22px;padding-bottom:0;color:var(--muted)}
.breadcrumbs a{font-size:14px;min-height:32px;display:inline-flex;align-items:center}
.team-intro{padding-bottom:28px}.team-directory{padding-bottom:70px}.team-provider{display:grid;grid-template-columns:minmax(220px,.7fr) 1fr;gap:36px;align-items:center;padding:28px;max-width:1000px}.team-provider>img{width:100%;height:auto;max-height:480px;object-fit:cover;border-radius:8px 60px 8px 8px}.team-provider h3{font-size:32px}
@media(max-width:900px){header{gap:0}header .menu{margin:2px 0 4px}header nav.open{padding-top:4px}}
@media(max-width:700px){header .brand img.practice-logo{width:224.4px;height:auto}html{scroll-padding-top:320px}main [id]{scroll-margin-top:320px}.display-options{gap:4px 12px}.view-bar{padding-top:6px;padding-bottom:6px}.team-provider{grid-template-columns:1fr;padding:20px;gap:24px}.team-provider>img{max-width:380px}.team-directory{padding-bottom:45px}}
@media(max-height:650px) and (min-width:701px){header .brand img.practice-logo{width:198px;height:auto}html{scroll-padding-top:260px}main [id]{scroll-margin-top:260px}}
.reduced .team-provider>img{display:none}.reduced .team-provider{grid-template-columns:1fr}

/* Keep the main options visible across the header at every screen size. */
header .menu{display:none}
header #navigation,header #navigation.open{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 28px;width:100%;max-width:1100px;padding:0}
header #navigation>.nav-dropdown{width:auto}
@media(max-width:900px){
 header #navigation,header #navigation.open{gap:4px 12px}
 header #navigation .nav-submenu{position:absolute;top:100%;left:0;width:285px;max-width:calc(100vw - 36px);max-height:min(60vh,430px);overflow-y:auto;margin:0;box-shadow:0 12px 28px #0004}
 header #navigation .nav-dropdown:last-child .nav-submenu{left:auto;right:0}
}

/* Matching light identity, switched before paint by the saved theme setting. */
img.theme-logo-light,header .brand img.theme-logo-light{display:none}
html[data-background="white"] img.theme-logo-dark{display:none}
html[data-background="white"] img.theme-logo-light{display:block}

/* Complete light palette for every content surface and interaction. */
html[data-background="white"]{--paper:#fff;--cream:#fff;--sage:#eef4f0;--blush:#f5f0e6;--ink:#173f3c;--green:#086b61;--muted:#48635d;--line:#b5c8bf;--navy:#173f3c;--gold:#795716;--clay:#795716}
html[data-background="white"] :is(h1,h2,h3,h4,h5,h6){color:#173f3c}
html[data-background="white"] :is(p,.lead,li,dt,dd,label,legend,td,th){color:#385b54}
html[data-background="white"] :is(.eyebrow,.fine,.privacy,.field-help,.required-note,.scope,.status,form small,.hero small,.closing small,.resource-topics,figcaption){color:#48635d}
html[data-background="white"] :is(h1 em,h2 em,.dating-hero em,.inline-link,.text-link,.line-icon){color:#086b61}
html[data-background="white"] :is(.bridge,.closing,.green-band,.soft-band,.boundary,.approaches,.checklist,.audio-practical,.availability,.fit-aside,.reflection-feature,.coaching-feature,.rate-grid article,.form-note,.preview,#form-status){background:#eef4f0;color:#173f3c;border-color:#b5c8bf}
html[data-background="white"] :is(.bridge,.closing,.green-band) :is(h2,h3,p,.lead,.eyebrow,small,a){color:#173f3c}
html[data-background="white"] :is(.card,.resource-directory-card,.oon-panel,.fit-panel,.contact-form-panel,.contact-grid form,.faq-list details,.dating-grid article,table){background:#fff;border-color:#b5c8bf;color:#173f3c}
html[data-background="white"] :is(thead,.assessment aside){background:#eef4f0;color:#173f3c;border-color:#795716}
html[data-background="white"] :is(input,textarea,select,.oon-panel input,.oon-panel select){background:#fff;color:#173f3c;border-color:#738f82;accent-color:#086b61}
html[data-background="white"] :is(input,textarea)::placeholder{color:#526b63;opacity:1}
html[data-background="white"] :is(.button,.button.pale,.closing .button){background:#086b61;color:#fff;border-color:#086b61}
html[data-background="white"] :is(.button,.button.pale,.closing .button):hover{background:#075249;color:#fff;border-color:#075249}
html[data-background="white"] :is(.resource-jumps a,.view-bar,.trust){background:#eef4f0;color:#234e47;border-color:#b5c8bf}
html[data-background="white"] .resource-jumps a:hover{background:#dbeae2;color:#173f3c}
html[data-background="white"] .view-bar button{color:#17594e}
html[data-background="white"] header :is(.nav-dropdown summary,.nav-submenu a){color:#173f3c}
html[data-background="white"] header :is(summary:hover,summary:focus-visible,details[open]>summary,.nav-submenu a:hover,.nav-submenu a:focus-visible){background:#e5efea;color:#173f3c;border-color:#738f82}
html[data-background="white"] header :is(.nav-dropdown,.nav-help,.nav-consultation):has(a[aria-current="page"])>summary{text-decoration-color:#795716}
html[data-background="white"] footer :is(p,a,strong,h2,.allura-name){color:#234e47}
html[data-background="white"] :focus-visible{outline-color:#086b61}
html[data-background="white"] .skip{background:#fff;color:#173f3c}

/* A defined edge and soft neutral shadow anchor the jewel imagery on white. */
html[data-background="white"] main img:not(.feedback-qr){border:1px solid #a0b8ad;box-shadow:0 4px 16px #173f3c14;background:#eef4f0}
html[data-background="white"] .hero-image figcaption{background:#fff;color:#173f3c;border:1px solid #a0b8ad;text-shadow:none;box-shadow:0 2px 8px #173f3c14}
html[data-background="white"] .hero-image figcaption :is(p,span){color:#173f3c}
html[data-background="white"] .cosmic-banner figcaption,html[data-background="white"] .dating-hero figcaption{color:#48635d}

/* Readable, quiet resource articles with optional imagery. */
.transference-page .article-hero h1{font-size:clamp(25.5px,2.4vw,36px);line-height:1.15}
.transference-page .page-hero-image img{height:auto;aspect-ratio:3/2;object-fit:contain}
.article-reading{max-width:820px;margin:0 auto;padding:0 28px 64px;text-align:left}
.article-reading section{padding-top:38px;margin-top:30px;border-top:1px solid var(--line)}
.article-reading h2{font-size:clamp(29px,3vw,38px);line-height:1.2}
.article-reading p,.article-reading li{line-height:1.7}
.article-reading li{margin-bottom:20px}
.article-reading ul{padding-left:26px}
.article-takeaway{background:var(--sage);border:1px solid var(--line);border-radius:8px;padding:24px;margin:24px 0}
.article-takeaway h2,.article-takeaway h3{font-size:25px;line-height:1.3;margin-bottom:14px}
.article-takeaway p:last-child{margin-bottom:0}
.article-jumps{display:flex;flex-wrap:wrap;gap:8px 20px;padding:18px 0;align-items:center}
.article-jumps a{font-size:16px;display:inline-flex;align-items:center;min-height:44px}
.article-sources li{font-size:16px}
.reduced .resource-directory-card.photo-card>.card-image{display:none}
@media(max-width:700px){.article-reading{padding-left:6%;padding-right:6%}.article-takeaway{padding:20px}.article-hero h1{font-size:27px}}

/* Center the overall composition at every screen size. */
body main{text-align:center}
body main :is(h1,h2,h3,h4){text-align:center;margin-left:auto;margin-right:auto}
body main :is(p,.lead,.hero-copy,.intro,.measure){margin-left:auto;margin-right:auto}
body main p{max-width:65ch}
body main :is(img,figure){margin-left:auto;margin-right:auto}
body main img{display:block}
body main .button{justify-content:center;text-align:center}
body main :is(.actions,.resource-jumps,.article-jumps,.breadcrumbs){justify-content:center}
body main .team-provider{margin-left:auto;margin-right:auto}
body .view-bar{justify-content:center;text-align:center;align-items:center}
body .display-options{justify-content:center}
body footer{justify-content:center;text-align:center}
body footer :is(.foot-brand,.footer-brand){align-items:center;text-align:center}
body footer .footer-links,body footer .footer-crisis-notice{text-align:center}
body footer .footer-crisis-notice p{margin-left:auto;margin-right:auto}
/* Center all remaining reading, list, table, and form content. */
body main :is(.reading,.article-reading,.resource-articles,.contact-form-panel,.oon-panel,.fit-panel,form,table){text-align:center}
body main :is(p,li,dt,dd,label,legend,summary,figcaption,input,textarea,select,th,td){text-align:center}
body main :is(ul,ol){text-align:center;list-style-position:inside;padding-inline-start:0}
body main :is(ul:not([class]),ol:not([class])){max-width:65ch;margin-left:auto;margin-right:auto}
body main :is(form,.contact-form-panel,.oon-panel,.fit-panel) :is(h2,h3,p){text-align:center}
body main summary{justify-content:center}
body main .recognition-list li{padding-left:0;padding-right:0}
body main .recognition-list li::before{position:static;display:inline;margin-right:8px}
body main .practice-contact-form :is(.contact-consent,.availability-options label){justify-content:center}
header .nav-submenu a{text-align:center}
header .nav-submenu summary{justify-content:center;text-align:center}
@media(max-width:700px){
 footer{align-items:center}
 footer :is(.foot-brand,.footer-brand){min-width:0}
 footer .footer-links{width:100%}
}

/* Complete centered presentation, including the practice directory. */
html body main :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,label,legend,summary,figcaption,th,td){text-align:center}
html body main :is(.support-paths .dating-grid article,.coaching-feature-inner){align-items:center;justify-content:center;text-align:center}
html body main :is(.intro,.measure,.scope,.simple .lead,.audio-therapy .lead,.resource-articles article>div){margin-inline:auto}
html body main .resource-articles article>:is(h2,h3,p){margin-inline:auto}
html body main :is(.section-top,.section-intro,.hero-copy){text-align:center}
html body main #explore-the-site>ul{display:flex;flex-direction:column;align-items:center;gap:.3rem;list-style:none;padding:0;max-width:65ch;margin:1.25rem auto 2rem}
html body main #explore-the-site>ul>li{list-style:none;margin:0;width:100%;text-align:center}
html body main #explore-the-site>ul>li>a{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:.3rem .7rem;max-width:100%;text-align:center;white-space:normal}
html body footer .foot-brand{align-items:center;justify-content:center;text-align:center}
html body footer .foot-brand :is(strong,p,.allura-name){text-align:center;margin-inline:auto}
html body footer .footer-crisis-notice{text-align:center}

/* Smaller identity at the top; the page owns the viewport while scrolling. */
html body>header{position:relative;top:auto;overflow:visible}
html body>header:has(nav.open){max-height:none;overflow:visible}
html body>header .brand img.practice-logo{width:220px;height:auto}
html{scroll-padding-top:88px}
main [id]{scroll-margin-top:0}
html body.header-scrolled>header{min-height:var(--header-block-size)}
html body.header-scrolled>header .menu{
 display:inline-flex;align-items:center;justify-content:center;
 position:fixed;top:16px;right:16px;z-index:132;margin:0;
 min-height:48px;min-width:88px;padding:10px 18px;
 border:1px solid var(--green);border-radius:8px;
 background:var(--paper);color:var(--ink);font-size:16px;line-height:1.5;
 box-shadow:0 3px 14px #0003;cursor:pointer;
}
html body.header-scrolled>header #navigation{display:none}
html body.header-scrolled>header #navigation.open{
 display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
 position:fixed;top:76px;right:16px;left:auto;z-index:131;
 width:360px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 92px);
 overflow-y:auto;overscroll-behavior:contain;margin:0;padding:16px;gap:6px;
 background:var(--paper);color:var(--ink);border:1px solid var(--line);
 border-radius:10px;box-shadow:0 8px 28px #0004;
}
html body.header-scrolled>header #navigation>.nav-dropdown{width:100%}
html body.header-scrolled>header #navigation .nav-submenu{
 position:static;top:auto;left:auto;right:auto;width:100%;max-width:none;
 max-height:none;overflow:visible;margin:4px 0 8px;box-shadow:none;
}
html body.header-scrolled>header #navigation summary{min-height:44px}
.skip:focus{z-index:200}
@media(max-width:700px){html body>header .brand img.practice-logo{width:160px;height:auto}}
@media(max-height:650px) and (min-width:701px){html body>header .brand img.practice-logo{width:140px;height:auto}}
