
/* Shared brand harmony: existing Newsreader / Instrument Sans, ink, oyster, and sage. */
/* Keep the homepage navigation centered with responsive type. */
@media(min-width:1250px) {
  body:not(.trauma-page) .hdr__in {
    display:grid;
    grid-template-columns:minmax(165px,1fr) auto minmax(185px,1fr);
    column-gap:16px;
    align-items:center;
  }
  body:not(.trauma-page) .hdr .brand{justify-self:start}
  body:not(.trauma-page) .hdr .nav{justify-self:center}
  body:not(.trauma-page) .hdr .hdr__cta{justify-self:end}
}
body:not(.trauma-page) .hdr .nav > a,
body:not(.trauma-page) .hdr .nav .nav__parent {
  font-size:clamp(.96rem,calc(.70vw + .42rem),1.045rem);
}
@media(min-width:901px) and (max-width:1249px) {
  body:not(.trauma-page) .hdr__in{gap:12px}
  body:not(.trauma-page) .hdr .nav{gap:clamp(9px,1.2vw,18px);margin-inline:auto}
  body:not(.trauma-page) .hdr .nav > a,
  body:not(.trauma-page) .hdr .nav .nav__parent{font-size:clamp(.94rem,calc(.125vw + .87rem),.968rem)}
  body:not(.trauma-page) .hdr__cta .btn{padding:10px 14px;font-size:.82rem}
}
/* Edge-to-edge lightweight glass behind the homepage header only. */
body:has(.page[data-page="home"].is-active) .hdr:not(.is-stuck) {
  background:rgba(248,247,243,.35);
  -webkit-backdrop-filter:blur(8px) saturate(110%);
  backdrop-filter:blur(8px) saturate(110%);
  border-bottom:1px solid rgba(20,38,43,.075);
  box-shadow:0 4px 16px rgba(20,38,43,.055);
}
body:has(.page[data-page="home"].is-active) .hdr:not(.is-stuck) .hdr__in {
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
/* Bring combined fees page into same colors as About / Therapy Overview. */
.page[data-page="fees-insurance"]{background:var(--paper,#F6F7F5)}
.page[data-page="fees-insurance"] #services{
  background:linear-gradient(145deg,#F3F0EA 0%,#F6F7F5 85%);
  border-bottom:1px solid rgba(20,38,43,.09);
}
.page[data-page="fees-insurance"] #payment,
.page[data-page="fees-insurance"] #in-network,
.page[data-page="fees-insurance"] #reimbursement,
.page[data-page="fees-insurance"] #next-step{background:#F6F7F5}
.page[data-page="fees-insurance"] #cancellation,
.page[data-page="fees-insurance"] #insurance,
.page[data-page="fees-insurance"] #out-of-network,
.page[data-page="fees-insurance"] #check-benefits{background:#EAE7E0}
.page[data-page="fees-insurance"] .note{border-color:rgba(20,38,43,.12)}
.page[data-page="fees-insurance"] .fee__price{color:#2F5D63}
/* Privacy Matters: replace disparate pink/blue backgrounds with common
   warm paper, oyster, eucalyptus and restrained sage. */
.private-page{background:#F6F7F5}
.private-page .private-hero{
  background:linear-gradient(135deg,#F3F0EA 0%,#F6F7F5 58%,#EDF1EC 100%);
  border-bottom:1px solid rgba(20,38,43,.09);
}
.private-page .private-recognize,
.private-page .private-process{background:#F6F7F5}
.private-page .private-recognize__grid article:nth-child(1){background:#E3EBE3}
.private-page .private-recognize__grid article:nth-child(2){background:#F3F0EA}
.private-page .private-recognize__grid article:nth-child(3){background:#EDF1EC}
.private-page .private-recognize__grid article:nth-child(4){background:#EAE7E0}
.private-page .private-privacy__cards article{background:#fff;border-color:rgba(20,38,43,.12)}
.private-page .private-pilots{background:#EAE7E0}
.private-page .private-faq{background:#EAE7E0}
.private-page .private-privacy-btn{background:#E3EBE3!important;color:#20454A!important;border-color:#93A896!important}
.private-page .private-privacy-btn:hover{background:#D4E2D5!important;color:#14262B!important;border-color:#6E8875!important}
/* Trauma page uses its own purpose-built layout; harmonize only its
   palette and header instead of importing site-wide hero rules. */
.trauma-page{
  --ink-soft:#3C5359;--euc-deep:#6E8875;
  --rule-strong:rgba(20,38,43,.28);
  --f-display:'Newsreader',Georgia,serif;
  --f-sans:'Instrument Sans',sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
  background:#F6F7F5;
}
.trauma-page .hero{
  background:linear-gradient(145deg,#F3F0EA 0%,#F6F7F5 80%);
  border-bottom:1px solid rgba(20,38,43,.09)
}
.trauma-page .hero__card{background:#E5EBE4;border:1px solid rgba(20,38,43,.10);border-radius:10px}
.trauma-page .band--soft{background:#EAE7E0}
.trauma-page .card{background:#fff;border:1px solid rgba(20,38,43,.13);border-radius:6px}
.trauma-page .fit{background:#14262B}
.trauma-page .fit .price{border-color:rgba(246,247,245,.23)}
.trauma-page .btn--ghost:hover{background:#14262B;color:#fff}
/* Trauma site's full-width menu matches the standard header. */
.trauma-page .hdr{
  position:sticky;top:0;z-index:90;
  background:rgba(246,247,245,.95);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(20,38,43,.13)
}
.trauma-page .hdr__in{
  max-width:1220px;margin:0 auto;padding:16px clamp(20px,5vw,76px);
  min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:18px
}
.trauma-page .brand{display:flex;flex-direction:column;line-height:1.1}
.trauma-page .brand__name{font-family:var(--f-display);font-size:1.22rem;letter-spacing:-.02em}
.trauma-page .brand__sub{font-family:var(--f-sans);font-size:.66rem;text-transform:uppercase;letter-spacing:.2em;color:#6E8875;font-weight:600;margin-top:3px}
.trauma-page .nav{display:flex;align-items:center;gap:clamp(12px,1.7vw,25px);margin-inline:auto}
.trauma-page .nav a{color:#3C5359;text-decoration:none;font-size:clamp(.96rem,calc(.70vw + .42rem),1.045rem);font-weight:500;padding:6px 0;position:relative;white-space:nowrap}
.trauma-page .nav > a::after,.trauma-page .nav__parent::after{content:'';position:absolute;left:0;right:100%;bottom:0;height:1px;background:#2F5D63;transition:right .24s}
.trauma-page .nav a:hover::after,.trauma-page .nav a[aria-current="page"]::after{right:0}
.trauma-page .nav__group{position:relative;display:flex;align-items:center}
.trauma-page .nav__parent{display:flex;align-items:center;gap:5px}
.trauma-page .nav__caret{font-size:.72em;line-height:1;opacity:.72}
.trauma-page .nav__submenu{
  position:absolute;top:calc(100% + 7px);left:-16px;min-width:180px;
  padding:8px;background:rgba(246,247,245,.98);border:1px solid rgba(20,38,43,.13);
  border-radius:12px;box-shadow:0 14px 34px rgba(20,38,43,.12);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .22s,transform .22s,visibility .22s;z-index:120
}
.trauma-page .nav__submenu::before{content:'';position:absolute;left:0;right:0;top:-10px;height:10px}
.trauma-page .nav__submenu a{display:block;padding:10px 12px;border-radius:8px;font-size:.91rem;white-space:nowrap}
.trauma-page .nav__submenu a::after{display:none}
.trauma-page .nav__submenu a:hover{background:rgba(147,168,150,.12);color:#14262B}
.trauma-page .nav__group:hover .nav__submenu,.trauma-page .nav__group:focus-within .nav__submenu{opacity:1;visibility:visible;transform:none}
.trauma-page .hdr__cta{display:flex;align-items:center;gap:12px}
.trauma-page .hdr__cta .btn{min-height:44px;padding:10px 17px;font-size:.86rem;white-space:nowrap}
.trauma-page .burger{display:none;width:46px;height:46px;align-items:center;justify-content:center;background:none;border:1px solid rgba(20,38,43,.28);border-radius:999px;cursor:pointer}
.trauma-page .burger span{display:block;width:17px;height:1.5px;background:#14262B;position:relative}
.trauma-page .burger span::before,.trauma-page .burger span::after{content:'';position:absolute;left:0;width:17px;height:1.5px;background:#14262B;transition:transform .3s}
.trauma-page .burger span::before{top:-5.5px}
.trauma-page .burger span::after{top:5.5px}
.trauma-page.menu-open .burger span{background:transparent}
.trauma-page.menu-open .burger span::before{transform:translateY(5.5px) rotate(45deg)}
.trauma-page.menu-open .burger span::after{transform:translateY(-5.5px) rotate(-45deg)}
.trauma-page .drawer{
  position:fixed;inset:0;z-index:85;background:#F6F7F5;
  padding:calc(100px + env(safe-area-inset-top)) clamp(20px,5vw,76px) calc(40px + env(safe-area-inset-bottom));
  display:flex;flex-direction:column;justify-content:space-between;
  opacity:0;visibility:hidden;transform:translateY(-8px);
  transition:opacity .3s,transform .3s,visibility .3s;overflow-y:auto
}
.trauma-page .drawer[hidden]{display:none}
.trauma-page.menu-open .drawer{opacity:1;visibility:visible;transform:none}
.trauma-page .drawer a.drawer__link{
  display:flex;align-items:baseline;justify-content:space-between;
  font-family:var(--f-display);font-size:clamp(1.7rem,7.4vw,2.22rem);
  text-decoration:none;padding:15px 0;border-bottom:1px solid rgba(20,38,43,.13)
}
.trauma-page .drawer a.drawer__link--sub{font-family:var(--f-sans);font-size:1rem;font-weight:600;color:#3C5359;padding:11px 0 13px 18px}
.trauma-page .drawer__foot{padding-top:26px}
.trauma-page .drawer__foot .btn{width:100%}
.trauma-page.menu-open{overflow:hidden}
@media(min-width:1250px){
  .trauma-page .hdr__in{display:grid;grid-template-columns:minmax(165px,1fr) auto minmax(185px,1fr);column-gap:16px}
  .trauma-page .brand{justify-self:start}
  .trauma-page .nav{justify-self:center}
  .trauma-page .hdr__cta{justify-self:end}
}
@media(min-width:901px) and (max-width:1249px){
  .trauma-page .hdr__in{gap:10px}
  .trauma-page .nav{gap:clamp(9px,1.2vw,17px)}
  .trauma-page .nav a{font-size:clamp(.94rem,calc(.125vw + .87rem),.968rem)}
  .trauma-page .hdr__cta .btn{font-size:.81rem;padding:10px 13px}
}
@media(max-width:900px){
  .trauma-page .nav{display:none}
  .trauma-page .hdr__cta .btn--primary{display:none}
  .trauma-page .burger{display:flex}
  .trauma-page .hdr__in{min-height:76px}
  .trauma-page .brand__sub{display:block}
  .trauma-page .hero{padding-top:clamp(70px,10vw,108px)}
}
@media(max-width:480px){
  .trauma-page .brand__name{font-size:1.13rem}
  .trauma-page .brand__sub{font-size:.58rem}
}


/* Dec 5 refinement: intentional two-line recognition message and CTA
   aligned within the text column (not the neighboring photo column). */
.page[data-page="home"] .home-recognition__next{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:16px;
}
.page[data-page="home"] .home-recognition__next p{
  max-width:none;
}
.page[data-page="home"] .home-recognition__next-line{
  display:block;
}
.page[data-page="home"] .home-recognition__next .btn{
  align-self:flex-start;
}
@media(max-width:600px){
  .page[data-page="home"] .home-recognition__next .btn{
    align-self:stretch;
    width:100%;
  }
}

/* Match the light-tan About/Therapy Overview first section, including
   the navigation area, on the three patient-information pages. */
body.private-page .hdr,
body.trauma-page .hdr,
body:has(.page[data-page="fees-insurance"].is-active) .hdr{
  background:#F3EFE7!important;
  border-bottom-color:rgba(20,38,43,.075);
  box-shadow:none;
}
.page[data-page="fees-insurance"] #services{
  background:#F3EFE7!important;
  border-bottom:1px solid rgba(20,38,43,.075);
}
.private-page .private-hero{
  background:#F3EFE7!important;
  border-bottom:1px solid rgba(20,38,43,.075);
}
.trauma-page .hero{
  background:#F3EFE7!important;
  border-bottom:1px solid rgba(20,38,43,.075);
}

/* Gentle alternation of the site's existing ivory, paper, oyster, sage.
   Repetition is intentional on longer pages for consistent rhythm. */
.page[data-page="fees-insurance"] #payment{background:#EDF1EC!important}
.page[data-page="fees-insurance"] #cancellation{background:#EAE7E0!important}
.page[data-page="fees-insurance"] #insurance{background:#F3F0EA!important}
.page[data-page="fees-insurance"] #in-network{background:#F6F7F5!important}
.page[data-page="fees-insurance"] #out-of-network{background:#EAE7E0!important}
.page[data-page="fees-insurance"] #reimbursement{background:#EDF1EC!important}
.page[data-page="fees-insurance"] #check-benefits{background:#F3F0EA!important}
.page[data-page="fees-insurance"] #next-step{background:#F6F7F5!important}

.private-page .private-recognize{background:#F8F6F2!important}
.private-page #privacy{background:#EDF1EC!important}
.private-page .private-pilots{background:#EAE7E0!important}
.private-page section.band.shift{background:#F3F0EA!important}
.private-page .private-process{background:#F6F7F5!important}
.private-page .private-faq{background:#EAE7E0!important}

.trauma-page .band--soft{background:#EAE7E0!important}
.trauma-page main > section.band:nth-of-type(3){background:#F6F7F5!important}
.trauma-page main > section.band:last-of-type{background:#EDF1EC!important}


/* Desktop recognition layout: photo on the left, copy and its CTA
   together in the right column. Keep stacked mobile reading order. */
@media(min-width:901px){
  .page[data-page="home"] .home-recognition__grid{
    grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);
  }
  .page[data-page="home"] .home-recognition__visual{
    order:1;
  }
  .page[data-page="home"] .home-recognition__copy{
    order:2;
    max-width:660px;
  }
}

/* Restore the originally approved recognition layout: copy left,
   portrait right; align only the consultation CTA under the rightmost card. */
@media (min-width: 901px) {
  .page[data-page="home"] .home-recognition__grid {
    grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  }
  .page[data-page="home"] .home-recognition__copy {
    order:1;
    max-width:none;
  }
  .page[data-page="home"] .home-recognition__visual {
    order:2;
    justify-self:stretch;
  }
  .page[data-page="home"] .home-recognition__next .btn {
    align-self:flex-end;
  }
}
@media (min-width: 1100px) {
  .page[data-page="home"] .home-recognition__intro {
    max-width:none;
    font-size:clamp(1rem,1.25vw,1.1rem);
    letter-spacing:-.012em;
  }
  .page[data-page="home"] .home-recognition__intro .recognition-intro-line {
    display:block;
    white-space:nowrap;
  }
}
@media (max-width:1099px) {
  .page[data-page="home"] .home-recognition__intro .recognition-intro-line{
    display:inline;
    white-space:normal;
  }
}


/* Home recognition: replace the isolated blush band with coordinated
   warm oyster and lift the CTA beside the two-line closing message. */
.page[data-page="home"] > .home-recognition {
  background: #EAE7E0 !important;
}
@media (min-width:901px) {
  .page[data-page="home"] .home-recognition__next {
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    justify-content:space-between;
    gap:clamp(12px,1.7vw,22px);
  }
  .page[data-page="home"] .home-recognition__next p {
    flex:1 1 auto;
    min-width:0;
  }
  .page[data-page="home"] .home-recognition__next .btn {
    align-self:flex-start;
    flex:0 1 265px;
    max-width:56%;
    margin:0;
  }
}
@media (max-width:900px) {
  .page[data-page="home"] .home-recognition__next {
    flex-direction:column;
    align-items:stretch;
  }
  .page[data-page="home"] .home-recognition__next .btn{
    align-self:flex-start;
  }
}
@media (max-width:600px) {
  .page[data-page="home"] .home-recognition__next .btn{
    align-self:stretch;
    max-width:100%;
    width:100%;
  }
}

/* About page: a warmer, more dimensional yet minimal Fun Facts card. */
.page[data-page="about"] .personal-facts-block {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin-top:clamp(29px,3.1vw,40px);
  padding:clamp(24px,3.2vw,34px);
  background:linear-gradient(145deg,#FBF9F5 0%,#F2F5EF 100%);
  border:1px solid rgba(70,108,93,.23);
  border-left:5px solid #88A993;
  border-radius:18px;
  box-shadow:0 17px 40px rgba(29,60,54,.12),0 3px 8px rgba(29,60,54,.045);
}
.page[data-page="about"] .personal-facts-block::after{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:220px;height:220px;border-radius:50%;
  right:-85px;top:-115px;
  background:radial-gradient(circle,rgba(166,199,177,.17),transparent 72%);
}
.page[data-page="about"] .personal-facts-label{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  border-bottom:0;
  padding:0;
  margin:0 0 19px;
  color:#45685E;
  font-size:clamp(.76rem,.95vw,.84rem);
}
.page[data-page="about"] .personal-facts-label::after{
  content:"";height:1px;flex:1;
  background:rgba(70,108,93,.25);
}
.page[data-page="about"] .personal-facts{
  display:grid;gap:8px;
}
.page[data-page="about"] .personal-facts li{
  position:relative;
  background:rgba(255,255,255,.73);
  border:1px solid rgba(70,108,93,.10);
  border-radius:10px;
  padding:10px 13px 10px 31px;
  font-size:clamp(.91rem,1.04vw,.99rem);
  line-height:1.5;
}
.page[data-page="about"] .personal-facts li::before{
  left:14px;top:1.17em;
  width:7px;height:7px;
  background:#83A68F;
  box-shadow:0 0 0 3px rgba(131,166,143,.12);
}
/* Keep the two phrases on separate lines without inserting new copy. */
.page[data-page="about"] .about-professional-split h2 > span,
.page[data-page="about"] .about-professional-split h2 > em{
  display:block!important;
}
@media(min-width:1025px){
  .page[data-page="about"] .about-professional-split h2{
    max-width:none!important;
  }
  .page[data-page="about"] .about-professional-split h2 > span,
  .page[data-page="about"] .about-professional-split h2 > em{
    white-space:nowrap;
  }
}
@media(max-width:600px){
  .page[data-page="about"] .personal-facts-block{
    padding:21px 17px;
    border-left-width:4px;
  }
  .page[data-page="about"] .personal-facts li{padding:10px 10px 10px 29px}
  .page[data-page="about"] .personal-facts li::before{left:12px}
}

/* Bring Contact's first headline and supporting text to the same
   visual scale and vertical rhythm as About, without touching Home. */
.page[data-page="contact"] .contact-hero-title{
  font-size:clamp(2.28rem,5.55vw,4.45rem)!important;
  line-height:1.08!important;
}
.page[data-page="contact"] .contact-page-band .lead{
  font-size:var(--t-lead)!important;
  line-height:1.6!important;
  margin-top:26px!important;
}
