/* Shared layout for designs A, B and C. Each design sets the tokens below
   and adds its own character on top. (Design D is standalone.) */
:root{
  --bg:#fff; --surface:#fff; --surface-2:#f4f4f4; --ink:#1b1b1b; --muted:#555; --line:#e2e2e2;
  --accent:#2f4b3f; --accent-hover:#243b31; --on-accent:#fff; --accent-soft:#eef2ee;
  --banner-bg:#1b1b1b; --banner-ink:#fff; --header-bg:#fff;
  --font-body:system-ui,sans-serif; --font-head:var(--font-body); --head-weight:700; --head-track:-.01em;
  --radius:12px; --radius-lg:20px; --wrap:1180px; --section:96px;
}
/* Set on body so per-page palette overrides flow through */
body{--ck-accent:var(--accent); --ck-tint:var(--accent-soft); --ck-on-accent:var(--on-accent)}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);font-size:18px;line-height:1.6;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;height:auto}
a{color:inherit}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:var(--head-weight);letter-spacing:var(--head-track);line-height:1.12}
h1{font-size:clamp(2.6rem,6vw,4.6rem)}
h2{font-size:clamp(2rem,4vw,3rem);margin-bottom:18px;text-wrap:balance}
h3{font-size:1.3rem}
section{padding:var(--section) 0}
.eyebrow{font-size:.82rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:12px}
.lede{font-size:1.2rem;color:var(--muted);max-width:58ch}
.note,.fine{color:var(--muted);font-size:.95rem;margin-top:16px}
.fine{font-size:.85rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 24px;border-radius:var(--radius);
  font-weight:700;font-size:1rem;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:background .2s,transform .2s,color .2s;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--accent);color:var(--on-accent)}
.btn-primary:hover{background:var(--accent-hover)}
.btn-outline{border-color:currentColor;color:var(--accent);background:transparent}
.btn-outline:hover{background:var(--accent-soft)}
.btn-small{min-height:44px;padding:0 18px;font-size:.95rem;background:var(--accent);color:var(--on-accent)}
.btn-small:hover{background:var(--accent-hover)}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}

/* Banner + header */
.site-banner{background:var(--banner-bg);color:var(--banner-ink);font-size:.95rem}
.site-banner{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;padding:9px 16px;text-align:center}
.site-banner p span{margin-left:6px}
.site-banner a{font-weight:700;text-underline-offset:3px;min-height:32px;display:inline-flex;align-items:center}
.site-header{position:sticky;top:0;z-index:50;background:var(--header-bg);color:var(--ink);border-bottom:1px solid var(--line)}
body.ck-has-bar .site-header{top:48px}
.site-header .wrap{display:flex;align-items:center;gap:28px;min-height:78px;max-width:1400px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0}
.brand-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:var(--accent);color:var(--on-accent);font:800 .95rem/1 var(--font-body);letter-spacing:-.02em}
.brand-name{font-family:var(--font-head);font-weight:var(--head-weight);font-size:1.3rem;line-height:1.05}
.brand-name small{display:block;font-family:var(--font-body);font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;opacity:.75}
.nav{display:flex;gap:22px;align-items:center;margin-left:auto}
.nav a{text-decoration:none;font-weight:600;font-size:.98rem;padding:6px 0;white-space:nowrap}
.nav a:hover{color:var(--accent)}
.nav .nav-wellness{padding:8px 14px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}
.header-actions{display:flex;align-items:center;gap:14px}
.header-phone{font-weight:700;text-decoration:none;white-space:nowrap}
.header-actions .btn{min-height:46px;padding:0 18px}
.menu-btn{display:none;width:48px;height:48px;border-radius:12px;border:2px solid var(--line);background:transparent;cursor:pointer;flex-direction:column;gap:5px;align-items:center;justify-content:center;color:inherit}
.menu-btn span{display:block;width:20px;height:2px;background:currentColor;border-radius:2px}

/* Hero */
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero .lede{margin-top:20px}
.hero-media img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 0;border-radius:var(--radius-lg);background:var(--surface-2)}
.hero-points{list-style:none;display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:28px;color:var(--muted);font-size:.98rem}
.hero-points{gap:6px 24px}

/* Help tags */
.help{padding:48px 0}
.help h2{font-size:1.4rem;margin-bottom:16px}
.tags{list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.tags li{padding:10px 18px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-weight:600}

/* Services */
.cards{display:flex;flex-wrap:wrap;justify-content:center;gap:22px;margin-top:36px}
.card{flex:0 1 calc((100% - 66px)/4);min-width:0}
@media (max-width:1100px){.card{flex-basis:calc((100% - 22px)/2)}}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.card img{width:100%;aspect-ratio:3/2;object-fit:cover;background:var(--surface-2)}
.card h3{margin:20px 22px 8px}
.card p{margin:0 22px 24px;color:var(--muted)}
.crosslink{margin-top:36px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:24px 28px;border-radius:var(--radius-lg);background:var(--accent-soft)}
.crosslink p{max-width:60ch}

/* Steps */
.step-list{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:32px}
.step-list li{counter-increment:s;padding:28px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line)}
.step-list li::before{content:counter(s);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--accent);color:var(--on-accent);font-weight:800;margin-bottom:16px}
.step-list h3{margin-bottom:6px}
.step-list p{color:var(--muted)}

/* Team */
.people{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:24px;margin-top:36px}
.person{flex:0 1 calc((100% - 48px)/3)}
.person{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column}
.person>img,.photo-soon{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 30%;background:var(--surface-2)}
.person-lead{flex-basis:100%;flex-direction:row;align-items:center}
.person-lead>img{width:30%;flex-shrink:0;align-self:flex-start}
.person-lead .person-body{padding:36px 40px}
.person-body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:10px;align-items:flex-start;flex:1}
.role{color:var(--accent);font-weight:700;font-size:.92rem;letter-spacing:.04em;text-transform:uppercase}
.person-body p:not(.role){color:var(--muted);font-size:.98rem}
.badge{width:84px;height:84px}
.photo-soon{display:grid;place-items:center;border-bottom:2px dashed var(--line);color:var(--muted);font-weight:700}
.fun{width:100%;border-top:1px solid var(--line);padding-top:8px}
.fun summary{cursor:pointer;font-weight:700;color:var(--accent);min-height:44px;display:flex;align-items:center}
.fun dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:.92rem;padding:6px 0 4px}
.fun dt{font-weight:700}
.fun dd{color:var(--muted)}

/* Reviews */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:32px}
.quotes blockquote{padding:30px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;gap:18px}
.quotes p{font-family:var(--font-head);font-size:1.15rem;line-height:1.45}
.quotes footer{color:var(--muted);font-size:.9rem;font-weight:600}

/* Insurance */
.insurance .wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:start}
.logos-list{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);column-gap:32px}
.logos-list li{padding:10px 0;border-bottom:1px solid var(--line);font-weight:600}

/* FAQ (both pages) */
.faq .wrap>*{max-width:860px}
.faq details,.therapy details{border-bottom:1px solid var(--line)}
.faq summary,.therapy summary{cursor:pointer;font-weight:700;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none}
.faq summary::-webkit-details-marker,.therapy summary::-webkit-details-marker{display:none}
.faq summary::after,.therapy summary::after{content:"+";font-size:1.4rem;color:var(--accent);flex-shrink:0}
details[open]>summary::after{content:"–"}
.faq details p,.therapy details p{padding:0 0 18px;color:var(--muted)}
.faq summary{font-size:1.1rem}

/* Contact + footer */
.contact .wrap{display:grid;grid-template-columns:1fr auto;align-items:end;gap:48px}
.contact .hero-actions{margin-top:0}
@media (max-width:900px){.contact .wrap{grid-template-columns:1fr;gap:24px}}
.contact-lines{margin-top:12px;font-size:1.15rem;line-height:1.8}
.contact-lines a{font-weight:700}
.site-footer{padding:56px 0;background:var(--banner-bg);color:var(--banner-ink)}
.site-footer .wrap{display:grid;gap:8px}
.site-footer .brand-name{font-size:1.5rem}
.site-footer a{text-underline-offset:3px}
.site-footer .crisis{margin-top:12px;font-weight:700}
.site-footer .fine{color:inherit;opacity:.8}

/* Wellness: event, founders, therapies, payment */
.event{text-align:left}
.event .wrap>*{max-width:820px}
.event-meta{margin:18px 0 26px;color:var(--muted)}
.packages{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:36px;align-items:stretch}
.package{padding:32px 28px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;gap:14px}
.package ul{list-style:none;display:grid;gap:8px;color:var(--muted);flex:1}
.package li::before{content:"";display:inline-block;width:8px;height:8px;background:var(--accent);margin-right:12px;vertical-align:middle}
.price{font-size:1.1rem}
.price .was{text-decoration:line-through;color:var(--muted);margin-right:8px}
.price strong{font-size:2rem;font-family:var(--font-head)}
.limit{font-weight:700;font-size:.9rem;color:var(--accent)}
.package-featured{border:2px solid var(--accent)}
.therapy-index{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 12px}
.therapy-index a{padding:10px 16px;min-height:44px;display:inline-flex;align-items:center;border-radius:999px;border:1px solid var(--line);background:var(--surface);text-decoration:none;font-weight:600;font-size:.95rem}
.therapy-index a:hover{border-color:var(--accent);color:var(--accent)}
.group-title{margin:64px 0 24px;font-family:var(--font-head);font-weight:var(--head-weight);font-size:1.4rem;color:var(--ink);display:flex;align-items:center;gap:16px}
.group-title::after{content:"";flex:1;height:1px;background:var(--line)}
.therapy{display:grid;grid-template-columns:5fr 7fr;gap:40px;align-items:start;padding:28px 0;border-top:1px solid var(--line);scroll-margin-top:150px}
.therapy:nth-of-type(even){grid-template-columns:7fr 5fr}
.therapy:nth-of-type(even)>img{order:2}
.therapy>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-lg);background:var(--surface-2)}
.therapy-body{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.therapy-body>*{width:100%}
.therapy-body .btn{width:auto;margin-top:10px}
.therapy-name{font-family:var(--font-head);font-weight:var(--head-weight);font-size:clamp(1.7rem,3vw,2.3rem);line-height:1.1;color:var(--ink)}
.therapy h4{font-family:var(--font-body);font-size:1.15rem;font-weight:600;letter-spacing:0;color:var(--accent)}
.benefits{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}
.benefits li{padding-left:26px;position:relative;font-size:.98rem}
.benefits li::before{content:"";position:absolute;left:0;top:.55em;width:12px;height:12px;border-radius:50%;background:var(--accent)}
.stat{padding:14px 18px;border-left:4px solid var(--accent);background:var(--accent-soft);font-size:.95rem;border-radius:0 12px 12px 0}
.payment .wrap>*{max-width:860px}
.payment p{margin-bottom:20px}
section[id]{scroll-margin-top:140px}

/* Tablet */
@media (max-width:1360px){
  .nav{display:none}
  .menu-btn{display:inline-flex}
  .header-actions{margin-left:auto}
}
@media (max-width:900px){
  :root{--section:68px}
  .hero .wrap,.insurance .wrap,.therapy,.therapy:nth-of-type(even){grid-template-columns:1fr}
  .therapy:nth-of-type(even)>img{order:0}
  .therapy>img{position:static;aspect-ratio:16/10}
  .hero-media img{aspect-ratio:4/3}
  .step-list,.quotes,.packages{grid-template-columns:1fr}
  .person{flex-basis:calc((100% - 24px)/2)}
  .person-lead{flex-basis:100%}
  .package-featured{transform:none}
}
/* Phone */
@media (max-width:640px){
  body{font-size:17px}
  .wrap{padding:0 16px}
  .site-header .wrap{min-height:66px;gap:12px}
  .header-phone,.header-actions .btn{display:none}
  .brand-mark{width:40px;height:40px}
  .brand-name{font-size:1.15rem}
  .hero .wrap{gap:28px}
  .hero-actions .btn{width:100%}
  .people,.benefits,.logos-list{grid-template-columns:1fr}
  .person-lead{flex-direction:column}
  .person-lead>img{width:100%}
  .person-lead .person-body{padding:22px 24px 26px}
  .person{flex-basis:100%}
  .crosslink{padding:20px}
  .crosslink .btn{width:100%;white-space:normal}
  .site-banner{font-size:.88rem;gap:4px 10px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}.btn:hover{transform:none}}

/* Council round 1 */
section:not(.hero) .eyebrow{display:none}
.group-title+.therapy{border-top:0}
.site-banner :focus-visible,.site-footer :focus-visible,.reviews :focus-visible,.hero :focus-visible{outline-color:currentColor}

/* One site, two sides: switch in the header of both pages */
.site-switch{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:calc(var(--radius) + 3px);background:var(--surface);flex-shrink:0}
.site-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:var(--radius);text-decoration:none;font-weight:600;font-size:.9rem;white-space:nowrap;color:var(--muted)}
.site-switch a:hover{color:var(--accent)}
.site-switch a[aria-current]{background:var(--accent);color:var(--on-accent)}
.crosslink{display:grid;grid-template-columns:180px 1fr auto;gap:28px;align-items:center}
.crosslink img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--radius-lg)}
.crosslink-title{font-family:var(--font-head);font-weight:var(--head-weight);font-size:1.5rem;line-height:1.15;margin-bottom:6px}
@media (max-width:1480px){.site-header .header-phone{display:none}}
@media (max-width:1100px){
  .site-header .wrap{flex-wrap:wrap;row-gap:0;padding-bottom:14px}
  .site-switch{order:3;width:100%;margin-top:10px}
  .site-switch a{flex:1;padding:0 8px;font-size:.85rem}
}
@media (max-width:640px){
  .crosslink{grid-template-columns:1fr;gap:16px}
  .crosslink img{aspect-ratio:16/9}
}

/* Vision round 2 */
.card img.logo-img{object-fit:contain;padding:14% 18%;background:var(--accent-soft)}
.person{align-self:auto}
.person-body .btn{margin-top:auto}
.person-lead{align-items:flex-start}
.badge{width:64px;height:64px}
a[href^="tel:"]{white-space:nowrap}
@media (min-width:901px){.therapy>img{position:sticky;top:160px}}
@media (max-width:640px){.card{flex-basis:100%;min-width:0}.logos-list{grid-template-columns:1fr}}

/* Vision round 3 */
#sauna-blanket>img{object-fit:contain;background:#fff;border:1px solid var(--line)}
.stat-quote{background:none;border-left-color:var(--line);font-family:var(--font-head);font-style:italic;font-size:1.05rem}
.therapy-index a{background:var(--surface)}

/* Pi council round 1 */
.help+.services{padding-top:48px}
.steps+.team,.insurance+.faq,.therapies+.payment{padding-top:0}
.therapies+.payment .wrap,.insurance+.faq .wrap{border-top:1px solid var(--line);padding-top:56px}
.fun summary{justify-content:space-between}
.fun summary::after{content:"+";font-size:1.4rem;color:var(--accent);flex-shrink:0}
.package{border:2px solid transparent}
.therapy summary{min-height:46px;font-size:1rem}
@media (max-width:640px){
  .site-banner{padding:6px 12px;font-size:.8rem;line-height:1.35}
  .site-switch a{min-height:36px}
  .person>img,.photo-soon{aspect-ratio:1}
  .card img.logo-img{aspect-ratio:3/1;padding:6% 24%}
}
.logos-list li:nth-last-child(-n+2){border-bottom:0}
@media (max-width:640px){.logos-list li:nth-last-child(2){border-bottom:1px solid var(--line)}}

/* Open house push */
.site-banner{padding:12px 16px;gap:10px 18px}
.site-banner a.banner-cta{min-height:38px;padding:0 18px;border-radius:999px;background:var(--highlight,var(--banner-ink));color:var(--banner-bg);text-decoration:none;white-space:nowrap}
.site-banner a.banner-cta:hover{filter:brightness(1.08)}
.event.event-promo{background:var(--accent-soft)}
.event-promo .wrap{display:grid;grid-template-columns:auto 1fr;gap:44px;align-items:start}
.event-promo .wrap>*{max-width:none}
.event-body{max-width:760px}
.event-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:140px;aspect-ratio:1;margin:0;border-radius:var(--radius-lg);background:var(--accent);color:var(--on-accent);text-transform:uppercase;font-weight:700;font-size:.85rem;letter-spacing:.12em;line-height:1}
.event-date strong{font-family:var(--font-head);font-weight:var(--head-weight);font-size:3.6rem;letter-spacing:0;margin:6px 0}
.event-kicker{margin:0 0 8px;color:var(--accent);font-weight:700;font-size:.85rem;letter-spacing:.14em;text-transform:uppercase}
.event-when{margin:10px 0 14px;font-weight:700;font-size:1.15rem}
.event-promo .event-meta{margin:14px 0 0}
@media (max-width:640px){
  .site-banner{padding:12px 16px;font-size:.92rem;line-height:1.4;gap:12px}
  .site-banner a.banner-cta{min-height:40px;padding:0 14px}
  .site-header .wrap{padding-top:16px;padding-bottom:16px}
  .site-switch{margin-top:12px}
  .event-promo .wrap{grid-template-columns:1fr;gap:20px}
  .event-date{flex-direction:row;gap:8px;width:auto;aspect-ratio:auto;justify-self:start;padding:10px 18px;border-radius:999px}
  .event-date strong{font-size:1.5rem;margin:0}
}
.site-banner+.site-header{box-shadow:inset 0 4px 0 var(--highlight,var(--accent))}
@media (max-width:1100px){.site-header .wrap{padding-top:16px;padding-bottom:16px}}
.site-banner p span{white-space:nowrap}
@media (max-width:360px){.site-banner{font-size:.85rem;padding:10px 12px;gap:10px}.site-banner a.banner-cta{padding:0 12px}}

/* WCAG 2.2 focus not obscured: keep focused and jumped-to items clear of the sticky header */
html{scroll-padding-top:110px}
@media (max-width:1100px){html{scroll-padding-top:150px}}
/* Five mental health services: one row on desktop, 3 + 2 on tablets */
@media (min-width:1101px){.services .card{flex-basis:calc((100% - 88px)/5)}}
@media (min-width:641px) and (max-width:1100px){.services .card{flex-basis:calc((100% - 44px)/3)}}
/* Grand opening badge: a small calendar tile on phones too (month, day, weekday) */
@media (max-width:640px){
  .event-date{flex-direction:column;gap:0;width:88px;aspect-ratio:1;padding:0;border-radius:18px;font-size:.72rem}
  .event-date strong{font-size:2.3rem;margin:3px 0}
}
/* Banner text wraps between the date and the time so the button never runs off small screens */
.site-banner p{min-width:0}
.site-banner p span{white-space:normal}
.site-banner .nw{white-space:nowrap}
.site-banner p span .nw{display:inline}
.site-banner p span .sep{display:inline}
@media (max-width:640px){.site-banner p span .sep{display:none}.site-banner p span .nw{display:block}}
