/* ============================================================================
   Pierce Point Counseling — Design system
   Warm & grounding: sage, clay/terracotta, cream. Serif display + humanist sans.
   You normally won't need to edit this file — it controls the LOOK of the site.
   ========================================================================== */

:root{
  /* Palette */
  --cream:      #FAF6EF;
  --cream-2:    #F3EBDD;
  --sand:       #ECE1CF;
  --sage:       #7C8B71;
  --sage-deep:  #47563F;
  --sage-soft:  #DDE4D2;
  --clay:       #C27C57;
  --clay-deep:  #8F5231;   /* darkened for WCAG AA on cream + tinted sections */
  --ink:        #322F2A;
  --ink-soft:   #5F594F;
  --white:      #ffffff;
  --line:       rgba(50,47,42,.12);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape */
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(50,47,42,.06);
  --shadow:    0 14px 40px -18px rgba(50,47,42,.28);
  --shadow-lg: 0 30px 70px -30px rgba(50,47,42,.38);
  --maxw: 1160px;
}

/* ------------------------------ Base ------------------------------ */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--cream);
  line-height:1.7;
  font-size:clamp(16px,.55vw + 15px,18px);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:var(--clay-deep); text-decoration:none; }
a:hover{ text-decoration:underline; }

h1,h2,h3,h4{ font-family:var(--serif); font-weight:500; color:var(--ink); line-height:1.12; margin:0 0 .5em; letter-spacing:-.01em; }
h1{ font-size:clamp(2.35rem,4.6vw,4rem); font-optical-sizing:auto; }
h2{ font-size:clamp(1.8rem,3.2vw,2.7rem); }
h3{ font-size:clamp(1.25rem,1.6vw,1.5rem); }
p{ margin:0 0 1.1em; }
p:last-child{ margin-bottom:0; }

.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 clamp(20px,5vw,40px); }
.section{ padding:clamp(56px,9vw,120px) 0; position:relative; }
.section--tint{ background:var(--cream-2); }
.section--sand{ background:var(--sand); }
.narrow{ max-width:760px; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

.eyebrow{
  font-family:var(--sans); font-weight:700; text-transform:uppercase;
  letter-spacing:.16em; font-size:.74rem; color:var(--clay-deep);
  margin:0 0 1rem; display:inline-block;
}
.lead{ font-size:clamp(1.1rem,1.4vw,1.32rem); color:var(--ink-soft); }
.muted{ color:var(--ink-soft); }

/* ------------------------------ Buttons ------------------------------ */
.btn{
  display:inline-flex; align-items:center; gap:.55em;
  font-family:var(--sans); font-weight:800; font-size:1rem;
  padding:.9em 1.6em; border-radius:999px; border:1.5px solid transparent;
  cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-decoration:none; line-height:1;
}
.btn:hover{ text-decoration:none; transform:translateY(-2px); }
.btn-primary{ background:var(--clay-deep); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:#94552f; color:#fff; box-shadow:var(--shadow); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--sage); background:rgba(124,139,113,.08); }
.btn-light{ background:#fff; color:var(--sage-deep); }
.btn-light:hover{ background:#fff; box-shadow:var(--shadow); }
.btn-arrow::after{ content:"→"; font-weight:400; transition:transform .18s ease; }
.btn:hover .btn-arrow::after,.btn-arrow:hover::after{ transform:translateX(3px); }

:focus-visible{ outline:3px solid var(--sage); outline-offset:3px; border-radius:4px; }

/* ------------------------------ Header ------------------------------ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,246,239,.82);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled{ border-color:var(--line); box-shadow:var(--shadow-sm); }
/* The header carries brand + phone + 7 nav items + a button, which needs more
   room than the 1160px reading column. Widen ONLY the header; body content
   stays at --maxw so line lengths are unchanged. */
.site-header .container{ max-width:1320px; }
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.9rem 0; }
.brand{ display:flex; align-items:center; gap:.62rem; color:var(--ink); font-family:var(--serif); font-size:1.28rem; font-weight:600; letter-spacing:-.01em; }
.brand:hover{ text-decoration:none; }
.brand svg{ flex:none; }
.brand b{ font-weight:600; }
.brand .brand-sub{ display:block; font-family:var(--sans); font-size:.62rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:#5E6B55; margin-top:2px; }

.nav{ display:flex; align-items:center; gap:.35rem; }
.nav a{ color:var(--ink); font-weight:700; font-size:.98rem; padding:.5rem .8rem; border-radius:999px; white-space:nowrap; }
.nav a:hover{ text-decoration:none; background:rgba(124,139,113,.12); color:var(--sage-deep); }
.nav a.active{ color:var(--sage-deep); }
.nav a.active::after{ content:""; display:block; height:2px; background:var(--clay); border-radius:2px; margin:2px .8rem 0; }
.nav .btn{ margin-left:.5rem; padding:.62em 1.2em; font-size:.95rem; white-space:nowrap; }

.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:.4rem; color:var(--ink); }
.nav-toggle svg{ width:28px; height:28px; }

/* ------------------------------ Hero ------------------------------ */
.hero{ position:relative; padding:clamp(40px,7vw,90px) 0 clamp(56px,9vw,110px); }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(28px,5vw,72px); align-items:center; }
.hero h1{ margin-top:.3rem; }
.hero .subhead{ font-size:clamp(1.08rem,1.4vw,1.3rem); color:var(--ink-soft); max-width:34ch; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:.8rem; margin:1.8rem 0 1.4rem; }
.hero-trust{ display:flex; align-items:flex-start; gap:.55rem; font-size:.92rem; color:var(--ink-soft); font-weight:600; }
.hero-trust svg{ flex:none; margin-top:2px; color:var(--sage); }

/* Hero photo w/ organic frame */
.hero-figure{ position:relative; justify-self:center; width:100%; max-width:390px; }
.hero-figure .blob{ position:absolute; inset:-8% -10% -12% -8%; z-index:0; color:var(--sage-soft); }
.hero-figure .blob.two{ color:var(--sand); inset:6% -14% 2% 4%; z-index:0; opacity:.9; }
.photo-frame{
  position:relative; z-index:1;
  aspect-ratio:4/5; border-radius:52% 48% 46% 54% / 50% 48% 52% 50%;
  overflow:hidden; box-shadow:var(--shadow-lg); border:6px solid #fff;
}
.photo-frame img{ width:100%; height:100%; object-fit:cover; object-position:50% 22%; }
.badge-card{
  position:absolute; z-index:2; right:-6%; bottom:6%;
  background:#fff; border-radius:16px; box-shadow:var(--shadow);
  padding:.75rem 1rem; display:flex; align-items:center; gap:.6rem; max-width:230px;
}
.badge-card svg{ flex:none; color:var(--clay); }
.badge-card b{ font-family:var(--sans); font-weight:800; font-size:.88rem; display:block; line-height:1.25; }
.badge-card span{ font-size:.76rem; color:var(--ink-soft); }

/* Photo placeholder (shows if the photo file isn't added yet) */
.photo-ph{ width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:.5rem; background:linear-gradient(150deg,var(--sage-soft),var(--sand)); color:var(--sage-deep); text-align:center; padding:1rem; }
.photo-ph .init{ font-family:var(--serif); font-size:3rem; line-height:1; }
.photo-ph small{ font-size:.72rem; letter-spacing:.06em; opacity:.8; max-width:22ch; }

/* ------------------------------ Section heads ------------------------------ */
.section-head{ max-width:640px; margin-bottom:clamp(28px,4vw,52px); }
.section-head.center{ margin-left:auto; margin-right:auto; }

/* ------------------------------ Cards / specialties ------------------------------ */
.grid{ display:grid; gap:clamp(16px,2vw,26px); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }

.card{
  background:#fff; border-radius:var(--radius-lg); padding:clamp(22px,2.4vw,32px);
  box-shadow:var(--shadow-sm); border:1px solid var(--line);
  transition:transform .2s ease, box-shadow .2s ease;
  height:100%;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.card .ico{ width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:var(--sage-soft); color:var(--sage-deep); margin-bottom:1rem; }
.card h3{ margin-bottom:.4rem; }
.card p{ color:var(--ink-soft); font-size:.98rem; }

/* ------------------------------ Path / steps ------------------------------ */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(16px,2vw,24px); counter-reset:step; }
.step{ position:relative; padding-top:1rem; }
.step .num{ font-family:var(--serif); font-size:2.4rem; color:var(--clay-deep); line-height:1; display:block; margin-bottom:.5rem; }
.step h3{ font-size:1.15rem; margin-bottom:.35rem; }
.step p{ color:var(--ink-soft); font-size:.95rem; }
.step::before{ content:""; position:absolute; top:1.55rem; left:2.9rem; right:-.6rem; height:2px;
  background:repeating-linear-gradient(90deg,var(--sage) 0 8px,transparent 8px 16px); opacity:.5; }
.steps .step:last-child::before{ display:none; }
.note-inline{ font-size:.92rem; color:var(--ink-soft); font-style:italic; margin-top:1.6rem; }

/* ------------------------------ Fit list ------------------------------ */
.fit-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,4vw,60px); align-items:center; }
.fit-list{ list-style:none; margin:0; padding:0; display:grid; gap:.85rem; }
.fit-list li{ display:flex; gap:.7rem; align-items:flex-start; font-weight:600; }
.fit-list svg{ flex:none; margin-top:3px; color:var(--sage); }

/* ------------------------------ CTA band ------------------------------ */
.cta-band{ background:var(--sage-deep); color:#fff; border-radius:var(--radius-lg); padding:clamp(36px,5vw,68px); text-align:center; position:relative; overflow:hidden; }
.cta-band h2,.cta-band p{ color:#fff; position:relative; z-index:1; }
.cta-band p{ color:rgba(255,255,255,.86); max-width:52ch; margin-left:auto; margin-right:auto; }
.cta-band .btn{ margin-top:1.4rem; position:relative; z-index:1; }
.cta-band .glow{ position:absolute; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle,rgba(194,124,87,.5),transparent 62%); top:-160px; right:-120px; }
.cta-band .glow.two{ left:-160px; bottom:-200px; top:auto; right:auto; background:radial-gradient(circle,rgba(124,139,113,.55),transparent 62%); }

/* ------------------------------ About ------------------------------ */
.about-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(28px,5vw,64px); align-items:start; }
.about-figure{ position:relative; position:sticky; top:96px; }
.about-figure .photo-frame{ aspect-ratio:4/5; border-radius:var(--radius-lg); border:8px solid #fff; }
.about-figure .photo-frame img{ object-position:50% 20%; }
.about-figure .blob{ position:absolute; inset:-6% -8% -8% -8%; z-index:-1; color:var(--sage-soft); }
.creds-box{ background:var(--cream-2); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(20px,2.4vw,30px); margin-top:2rem; }
.creds-box h3{ font-size:1.1rem; margin-bottom:.9rem; }
.creds{ list-style:none; margin:0; padding:0; display:grid; gap:.7rem; }
.creds li{ display:flex; gap:.6rem; align-items:flex-start; font-size:.96rem; }
.creds svg{ flex:none; margin-top:3px; color:var(--clay); }
.approach-list{ display:grid; gap:1.1rem; margin-top:1.6rem; }
.approach-list .row{ display:flex; gap:1rem; align-items:flex-start; }
.approach-list .dot{ flex:none; width:38px; height:38px; border-radius:10px; background:var(--sage-soft); color:var(--sage-deep); display:grid; place-items:center; }
.approach-list h3{ font-size:1.12rem; margin:.1rem 0 .2rem; }
.approach-list p{ margin:0; color:var(--ink-soft); font-size:.96rem; }

/* ------------------------------ Services ------------------------------ */
.service{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(22px,4vw,56px); align-items:center; padding:clamp(28px,4vw,52px) 0; border-bottom:1px solid var(--line); }
.service:last-of-type{ border-bottom:0; }
.service:nth-child(even) .service-media{ order:2; }
.service-media{ background:linear-gradient(150deg,var(--sage-soft),var(--sand)); border-radius:var(--radius-lg); aspect-ratio:5/4; display:grid; place-items:center; color:var(--sage-deep); box-shadow:var(--shadow-sm); position:relative; overflow:hidden; }
.service-media svg.icon-lg{ width:88px; height:88px; opacity:.9; }
.service-points{ list-style:none; margin:1rem 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:.5rem .9rem; }
.service-points li{ display:flex; gap:.5rem; align-items:flex-start; font-size:.92rem; font-weight:600; color:var(--ink); }
.service-points svg{ flex:none; margin-top:3px; color:var(--sage); }

/* Fees */
.fees{ display:grid; gap:.4rem; max-width:640px; }
.fee-row{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--line); }
.fee-row:last-child{ border-bottom:0; }
.fee-name{ font-weight:800; }
.fee-detail{ color:var(--ink-soft); font-size:.9rem; font-weight:600; }
.fee-price{ font-family:var(--serif); font-size:1.4rem; color:var(--sage-deep); white-space:nowrap; }
.callout{ background:var(--cream); border:1px dashed var(--sage); border-radius:var(--radius); padding:1.1rem 1.3rem; font-size:.94rem; color:var(--ink-soft); margin-top:1.4rem; }
.callout strong{ color:var(--ink); }

/* ---------------------- In-page jump nav ("On this page") ----------------------
   Sits between the page hero and the body on the long pages. Deliberately NOT
   position:sticky — the header already is, and a second sticky layer fights it
   on short viewports. This is a one-tap index, not a persistent rail.

   Built as <details open> so a phone can collapse it to a single line. On
   viewports tall enough to afford it the disclosure arrow is hidden and the list
   is always shown, so it reads as a plain nav rather than a widget. */
.jump-wrap{ padding:0 0 clamp(8px,2vw,20px); }
.jump{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow-sm); max-width:820px; overflow:hidden; }
.jump > summary{ cursor:pointer; list-style:none; display:flex; align-items:center; gap:.7rem;
  padding:.85rem 1.15rem; font-weight:800; font-size:.95rem; color:var(--ink); }
.jump > summary::-webkit-details-marker{ display:none; }
.jump > summary .chev{ flex:none; margin-left:auto; color:var(--sage); transition:transform .25s ease; }
.jump[open] > summary .chev{ transform:rotate(45deg); }
.jump-count{ font-weight:600; font-size:.85rem; color:var(--ink-soft); }
.jump-list{ list-style:none; margin:0; padding:0 1.15rem 1rem; display:flex; flex-wrap:wrap; gap:.45rem; }
.jump-list li{ margin:0; }
.jump-list a{ display:inline-block; text-decoration:none; font-weight:700; font-size:.9rem;
  color:var(--sage-deep); background:var(--cream-2); border:1px solid transparent;
  border-radius:999px; padding:.4rem .85rem; transition:background .15s ease, border-color .15s ease; }
.jump-list a:hover{ background:var(--sage-soft); border-color:var(--sage); }
.jump-list a:focus-visible{ outline:3px solid var(--sage); outline-offset:2px; }

@media (min-width:820px){
  /* Always open on desktop: hide the toggle affordance and force the list
     visible even if the user collapsed it on a narrower viewport. */
  .jump > summary{ cursor:default; }
  .jump > summary .chev{ display:none; }
  .jump-list{ display:flex !important; }
}
@media (max-width:520px){
  /* On the narrowest screens the list stacks so the labels don't truncate. */
  .jump-list{ flex-direction:column; gap:.15rem; }
  .jump-list a{ width:100%; border-radius:12px; }
}

/* ------------------- Collapsible reference blocks (.disc) -------------------
   For lookup content only — condition lists, modality detail, the affordability
   options. Never used for the homepage argument or the vignettes: those have to
   be read in order, and collapsing them would remove the part that persuades. */
.disc{ border-top:1px solid var(--line); margin-top:1rem; }
.disc > summary{ cursor:pointer; list-style:none; display:flex; align-items:center; gap:.8rem;
  padding:.85rem 0 .1rem; font-weight:800; font-size:.95rem; color:var(--sage-deep); }
.disc > summary::-webkit-details-marker{ display:none; }
.disc > summary .chev{ flex:none; margin-left:auto; color:var(--sage); transition:transform .25s ease; width:20px; height:20px; }
.disc[open] > summary .chev{ transform:rotate(45deg); }
.disc > summary:focus-visible{ outline:3px solid var(--sage); outline-offset:3px; border-radius:6px; }
.disc-body{ padding-top:.5rem; }
.disc-body > :last-child{ margin-bottom:0; }
.disc-stack{ display:grid; gap:0; }
.disc-stack .disc{ margin-top:0; }
.disc-stack .disc:last-child{ border-bottom:1px solid var(--line); }
.disc--points .service-points{ margin-top:.2rem; }
.disc--modality{ margin-top:.9rem; }

/* ------------------------------ FAQ ------------------------------ */
.faq-list{ max-width:800px; margin:0 auto; display:grid; gap:.8rem; }
.faq-item{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); overflow:hidden; }
.faq-item summary{ cursor:pointer; list-style:none; padding:1.1rem 1.3rem; font-weight:800; font-size:1.05rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .chev{ flex:none; transition:transform .25s ease; color:var(--sage); }
.faq-item[open] summary .chev{ transform:rotate(45deg); }
.faq-item .ans{ padding:0 1.3rem 1.2rem; color:var(--ink-soft); }
.faq-item .ans p{ margin:0; }

/* ------------------------------ Contact ------------------------------ */
.contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(26px,4vw,52px); align-items:start; }
.form{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:clamp(22px,3vw,34px); box-shadow:var(--shadow-sm); }
.field{ margin-bottom:1.1rem; }
.field label{ display:block; font-weight:700; font-size:.92rem; margin-bottom:.4rem; }
.field input,.field textarea,.field select{ width:100%; font-family:var(--sans); font-size:1rem; color:var(--ink);
  padding:.8rem .9rem; border:1.5px solid var(--line); border-radius:12px; background:var(--cream); transition:border-color .15s ease, box-shadow .15s ease; }
.field textarea{ min-height:130px; resize:vertical; }
/* The source select was inheriting nothing and rendering as a raw OS dropdown.
   appearance:none strips the native control; the SVG is the replacement arrow
   (inline data URL — img-src allows data: and there is no extra request). */
.field select{ appearance:none; -webkit-appearance:none; -moz-appearance:none; cursor:pointer;
  padding-right:2.4rem; line-height:1.3;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235b5750' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right .95rem center; background-size:12px 8px; }
.field input:focus,.field textarea:focus,.field select:focus{ outline:none; border-color:var(--sage); box-shadow:0 0 0 3px rgba(124,139,113,.2); }
.field select:focus-visible{ outline:2px solid var(--sage); outline-offset:2px; }
.form .btn{ width:100%; justify-content:center; }
.form-note{ font-size:.84rem; color:var(--ink-soft); margin-top:.9rem; }
.form-status{ margin-top:1rem; font-weight:700; }

.contact-cards{ display:grid; gap:1rem; }
.contact-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.2rem 1.3rem; box-shadow:var(--shadow-sm); }
.contact-card .row{ display:flex; gap:.7rem; align-items:flex-start; margin-bottom:.5rem; }
.contact-card .row:last-child{ margin-bottom:0; }
.contact-card svg{ flex:none; margin-top:3px; color:var(--sage); }
.contact-card a{ font-weight:700; }
.crisis{ background:#fbeee6; border:1px solid #e6c3ab; border-radius:var(--radius); padding:1.2rem 1.3rem; }
.crisis h3{ font-size:1.05rem; color:var(--clay-deep); margin-bottom:.4rem; }
.crisis p{ margin:0; font-size:.92rem; color:var(--ink-soft); }
.crisis strong{ color:var(--ink); }

/* Full-width crisis band on the contact page — E-CRISIS / defect M10.
   Sits between the page hero and the contact grid so 988 is above the form in
   both the desktop two-column layout and the stacked mobile order. The resource
   list fans out into columns at width instead of running as one long stack. */
.crisis-band{ padding:0 0 clamp(18px,2.5vw,30px); }
.crisis-band .crisis p{ max-width:78ch; }
.crisis-band .crisis-list{ grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); }

/* ------------------------------ Page hero (inner pages) ------------------------------ */
.page-hero{ padding:clamp(48px,7vw,90px) 0 clamp(20px,3vw,36px); text-align:center; }
.page-hero .lead{ max-width:60ch; margin-left:auto; margin-right:auto; }

/* ------------------------------ Footer ------------------------------ */
.site-footer{ background:var(--ink); color:#e8e3d9; padding:clamp(44px,6vw,72px) 0 2rem; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1.4fr; gap:clamp(24px,4vw,48px); }
.site-footer h4{ color:#fff; font-family:var(--sans); font-weight:800; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; margin:0 0 1rem; }
.site-footer a{ color:#e8e3d9; }
.site-footer a:hover{ color:#fff; }
.footer-brand .brand{ color:#fff; margin-bottom:.8rem; }
.footer-brand .brand .brand-sub{ color:#b9c2ac; }
.footer-brand p{ color:#b7b1a5; font-size:.94rem; max-width:34ch; }
.footer-nav{ list-style:none; margin:0; padding:0; display:grid; gap:.55rem; font-weight:600; }
.footer-crisis{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:var(--radius); padding:1rem 1.1rem; font-size:.86rem; color:#cfc9bd; }
.footer-crisis strong{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.14); margin-top:2.4rem; padding-top:1.4rem; display:flex; flex-wrap:wrap; gap:.6rem 1.4rem; justify-content:space-between; font-size:.82rem; color:#a49e92; }
.footer-bottom p{ margin:0; }

/* ------------------------------ Fit / not-fit cards ------------------------------ */
.fitgrid{ align-items:stretch; }
.fit-card{ border-top:4px solid var(--sage); }
.notfit-card{ border-top:4px solid var(--clay); }
.fit-card h3,.notfit-card h3{ font-size:1.2rem; margin-bottom:1rem; }
.fit-list.notfit svg{ color:var(--clay); }

/* ------------------------------ Email capture ------------------------------ */
.capture{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(22px,3.5vw,48px); align-items:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:clamp(24px,3.2vw,44px); box-shadow:var(--shadow-sm); }
.capture-copy h2{ font-size:clamp(1.4rem,2.2vw,1.9rem); }
.capture-copy p{ color:var(--ink-soft); margin:0; }
.capture-form{ display:grid; gap:.7rem; }
.capture-form input{ width:100%; font-family:var(--sans); font-size:1rem; color:var(--ink);
  padding:.85rem .95rem; border:1.5px solid var(--line); border-radius:12px; background:var(--cream); }
.capture-form input:focus{ outline:none; border-color:var(--sage); box-shadow:0 0 0 3px rgba(124,139,113,.2); }
.capture-form .btn{ justify-content:center; }
.capture-form .form-note{ margin:0; font-size:.8rem; color:var(--ink-soft); }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ------------------------------ Totals ------------------------------ */
.totals{ margin-top:2.4rem; }
.totals h3{ font-size:1.3rem; margin-bottom:.3rem; }
.totals-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(14px,2vw,22px); margin:1.2rem 0 0; max-width:640px; }
.total-card{ background:var(--sage-soft); border-radius:var(--radius); padding:1.2rem 1.3rem; display:grid; gap:.15rem; }
.total-price{ font-family:var(--serif); font-size:2rem; line-height:1; color:var(--sage-deep); }
.total-card b{ font-size:1rem; }

/* 5-step variant */
.steps.steps-5{ grid-template-columns:repeat(5,1fr); }

/* ------------------------------ Scope note (per service) ------------------------------ */
.scope-note{
  margin-top:1rem; font-size:.9rem; color:var(--ink-soft);
  border-left:3px solid var(--sand); padding-left:.9rem; font-style:italic;
}

/* ------------------------------ Modalities (Approach page) ------------------------------ */
.modalities{ display:grid; gap:clamp(16px,2vw,24px); }
.modality{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:clamp(20px,2.6vw,32px); box-shadow:var(--shadow-sm);
  transition:box-shadow .2s ease;
}
.modality:hover{ box-shadow:var(--shadow); }
.modality-head{ display:flex; align-items:flex-start; gap:1rem; flex-wrap:wrap; margin-bottom:1.1rem; }
.modality-head .ico{ flex:none; width:46px; height:46px; border-radius:12px; display:grid; place-items:center;
  background:var(--sage-soft); color:var(--sage-deep); margin:0; }
.modality-head h2{ font-size:clamp(1.3rem,1.9vw,1.6rem); margin:0; }
.modality-full{ margin:.15rem 0 0; font-size:.9rem; color:var(--ink-soft); font-weight:600; }
.modality-cred{
  margin-left:auto; flex:none; align-self:center;
  background:var(--cream-2); border:1px solid var(--line); color:var(--sage-deep);
  border-radius:999px; padding:.32em .85em; font-size:.76rem; font-weight:800;
  text-transform:uppercase; letter-spacing:.07em; white-space:nowrap;
}
.modality-body{ margin:0; display:grid; gap:.2rem; }
.modality-body dt{
  font-family:var(--sans); font-weight:800; font-size:.76rem; letter-spacing:.12em;
  text-transform:uppercase; color:var(--clay-deep); margin-top:.9rem;
}
.modality-body dt:first-child{ margin-top:0; }
.modality-body dd{ margin:.2rem 0 0; color:var(--ink-soft); }

/* ------------------------------ Endorsements ------------------------------ */
.endorse{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:clamp(20px,2.4vw,28px); margin:0; box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:.9rem; height:100%;
}
.endorse svg{ color:var(--sage); flex:none; }
.endorse blockquote{
  margin:0; font-size:1rem; line-height:1.65; color:var(--ink); flex:1;
}
.endorse figcaption{ border-top:1px solid var(--line); padding-top:.85rem; }
.endorse figcaption b{ display:block; font-size:.98rem; }
.endorse figcaption span{ display:block; font-size:.84rem; color:var(--ink-soft); margin-top:.15rem; }

/* ------------------------------ Two ways to pay ------------------------------ */
.paths{ margin-top:2.6rem; }
.paths > h3{ font-size:clamp(1.3rem,2vw,1.7rem); margin-bottom:.3rem; }
.path-card{ position:relative; padding-top:2.4rem; }
.path-card.path-privacy{ border-top:4px solid var(--sage); }
.path-card.path-cost{ border-top:4px solid var(--clay); }
.path-best{
  position:absolute; top:1rem; left:clamp(22px,2.4vw,32px);
  font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink-soft);
}
.path-card h3{ font-size:1.25rem; margin-bottom:.9rem; }
.check-box{
  margin-top:1.4rem; background:var(--sage-soft); border-radius:var(--radius-lg);
  padding:clamp(20px,2.6vw,30px);
}
.check-box h3{ font-size:1.15rem; margin-bottom:.3rem; }
.check-box .happens li::before{ background:var(--sage-deep); }

/* ------------------------------ Illustrative stories ------------------------------ */
.stories{ display:grid; gap:clamp(18px,2.4vw,28px); grid-template-columns:repeat(3,minmax(0,1fr)); }
.story{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:clamp(22px,2.6vw,32px); box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:1rem;
}
.story h3{
  font-family:var(--sans); font-size:.78rem; font-weight:800; letter-spacing:.13em;
  text-transform:uppercase; color:var(--clay-deep); margin:0;
}
.story-before{ margin:0; color:var(--ink); }
.story-after{
  margin-top:auto; padding-top:1.1rem; border-top:1px solid var(--line);
}
.story-label{
  display:block; font-size:.72rem; font-weight:800; letter-spacing:.13em;
  text-transform:uppercase; color:var(--sage-deep); margin-bottom:.5rem;
}
.story-after p{ margin:0; color:var(--ink-soft); font-size:.96rem; }

@media (max-width:1000px){ .stories{ grid-template-columns:1fr; max-width:720px; margin:0 auto; } }

/* ------------------------------ Reveal animation ------------------------------ */
/* Content is visible by default and is hidden ONLY by `.reveals-armed`, which
   site.js adds at the very end of boot — after every page section has rendered
   and immediately before the IntersectionObserver that un-hides them is wired.
   Anything that throws before that point leaves the baked HTML fully visible.

   Defect S9 fix. This used to be gated on `.js`, which site.js set on line 13,
   BEFORE rendering. That covered only one failure mode — content.js failing to
   load at all. Any exception thrown mid-render (a typo in content.js, say)
   hid every `.reveal` and left a blank cream page over perfectly good markup.
   The gate is now the last thing set rather than the first. */
.reveals-armed .reveal{ opacity:0; transform:translateY(20px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveals-armed .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .reveals-armed .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ------------------------------ Header phone link ------------------------------ */
.header-call{
  display:inline-flex; align-items:center; gap:.4rem; font-weight:800; font-size:.95rem;
  color:var(--clay-deep); padding:.5rem .7rem; border-radius:999px; white-space:nowrap;
}
.header-call:hover{ text-decoration:none; background:rgba(194,124,87,.1); }
.header-call svg{ flex:none; }

/* ------------------------------ Trust strip + availability ------------------------------ */
.availability{
  display:inline-flex; align-items:center; gap:.5rem; margin:0 0 1rem;
  background:var(--sage-soft); color:var(--sage-deep); border-radius:999px;
  padding:.4em .95em; font-size:.86rem; font-weight:800;
}
.availability .dot{
  width:8px; height:8px; border-radius:50%; background:#3f7a4f; flex:none;
  box-shadow:0 0 0 3px rgba(63,122,79,.22);
}
.availability span.detail{ font-weight:600; opacity:.85; }

.trust-strip{
  display:flex; flex-wrap:wrap; gap:.5rem; margin:1.4rem 0 0; padding:0; list-style:none;
}
.trust-strip li{
  display:inline-flex; align-items:center; gap:.4rem;
  background:#fff; border:1px solid var(--line); border-radius:999px;
  padding:.42em .9em; font-size:.82rem; font-weight:700; color:var(--sage-deep);
}
.trust-strip svg{ flex:none; width:15px; height:15px; color:var(--sage); }

/* ------------------------------ Featured endorsement (under hero) ------------------------------ */
.endorse-featured{
  background:var(--cream-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:clamp(20px,3vw,32px) 0;
}
.endorse-featured .inner{ display:flex; gap:1rem; align-items:flex-start; max-width:840px; margin:0 auto; }
.endorse-featured svg{ flex:none; color:var(--sage); }
.endorse-featured p{ margin:0; font-family:var(--serif); font-size:clamp(1.05rem,1.5vw,1.3rem); line-height:1.5; color:var(--ink); }
.endorse-featured cite{ display:block; margin-top:.6rem; font-family:var(--sans); font-style:normal; font-size:.86rem; color:var(--ink-soft); font-weight:700; }

/* ------------------------------ Mid-page CTA ------------------------------ */
.cta-inline{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem;
  background:var(--sage-soft); border-radius:var(--radius-lg);
  padding:clamp(18px,2.4vw,28px) clamp(20px,2.6vw,32px); margin:clamp(28px,4vw,44px) 0;
}
.cta-inline p{ margin:0; font-weight:700; color:var(--sage-deep); max-width:48ch; }
.cta-inline .btn{ flex:none; }

/* ------------------------------ Next step (page footer nav) ------------------------------ */
.next-step{ border-top:1px solid var(--line); padding-top:1.6rem; margin-top:clamp(24px,3vw,40px); }
.next-step a{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1rem 1.2rem; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow-sm); color:var(--ink);
  transition:transform .18s ease, box-shadow .18s ease;
}
.next-step a:hover{ text-decoration:none; transform:translateY(-2px); box-shadow:var(--shadow); }
.next-step .lbl{ font-size:.76rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--clay-deep); display:block; margin-bottom:.15rem; }
.next-step .ttl{ font-family:var(--serif); font-size:1.15rem; }
.next-step .arrow{ font-size:1.3rem; color:var(--sage); flex:none; }

/* ------------------------------ Contact: what happens next ------------------------------ */
.happens{ list-style:none; margin:0 0 1.4rem; padding:0; counter-reset:hp; display:grid; gap:.9rem; }
.happens li{ display:flex; gap:.85rem; align-items:flex-start; }
.happens li::before{
  counter-increment:hp; content:counter(hp);
  flex:none; width:26px; height:26px; border-radius:50%; background:var(--sage-deep); color:#fff;
  font-size:.82rem; font-weight:800; display:grid; place-items:center; margin-top:1px;
}
.happens strong{ display:block; }
.happens span{ color:var(--ink-soft); font-size:.94rem; }

.radio-row{ display:flex; flex-wrap:wrap; gap:.5rem; }
.radio-row label{
  display:inline-flex; align-items:center; gap:.45rem; cursor:pointer;
  border:1.5px solid var(--line); border-radius:999px; padding:.45em .95em;
  font-size:.9rem; font-weight:700; background:var(--cream); margin:0;
}
.radio-row input{ width:auto; margin:0; accent-color:var(--sage-deep); }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ------------------------------ Sticky mobile CTA bar ------------------------------ */
.mobile-cta{ display:none; }
@media (max-width:820px){
  .mobile-cta{
    display:flex; gap:.55rem; align-items:center;
    position:fixed; left:0; right:0; bottom:0; z-index:60;
    background:rgba(255,255,255,.97); backdrop-filter:blur(8px);
    border-top:1px solid var(--line); box-shadow:0 -6px 24px -12px rgba(50,47,42,.3);
    padding:.6rem clamp(12px,3vw,20px);
    padding-bottom:calc(.6rem + env(safe-area-inset-bottom,0px));
  }
  .mobile-cta .btn{ flex:1; justify-content:center; padding:.85em 1em; font-size:.98rem; }
  .mobile-cta .call{
    flex:none; width:52px; height:46px; border-radius:999px;
    border:1.5px solid var(--line); display:grid; place-items:center; color:var(--clay-deep);
  }
  .mobile-cta .call:hover{ text-decoration:none; background:rgba(194,124,87,.1); }
  /* keep the bar from covering the end of the page */
  body{ padding-bottom:78px; }
}

/* --- Header breathing room once the nav has 7 items --- */
@media (max-width:1300px){
  /* keep the tappable phone icon, drop the digits to buy back space */
  .header-call .calltxt{ display:none; }
  .header-call{ padding:.5rem .5rem; }
  .nav a{ padding:.5rem .6rem; font-size:.95rem; }
  .nav .btn{ padding:.6em 1em; font-size:.92rem; }
}
@media (max-width:1050px){
  .nav{ gap:.15rem; }
  .nav a{ padding:.5rem .45rem; font-size:.92rem; }
  .nav .btn{ padding:.55em .85em; font-size:.88rem; margin-left:.3rem; }
}
@media (max-width:1000px){
  .brand{ font-size:1.14rem; }
  .brand .brand-sub{ display:none; }
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width:1000px){
  .steps.steps-5{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:900px){
  .capture{ grid-template-columns:1fr; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-figure{ grid-row:1; max-width:360px; }
  .about-grid{ grid-template-columns:1fr; }
  /* On small screens show the photo above the bio (DOM order stays bio-first
     for screen readers and search engines). */
  .about-figure{ position:static; max-width:420px; order:-1; margin:0 auto; }
  .contact-grid{ grid-template-columns:1fr; }
  .fit-wrap{ grid-template-columns:1fr; }
  .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .step::before{ display:none; }
  .service{ grid-template-columns:1fr; }
  .service:nth-child(even) .service-media{ order:0; }
  .footer-grid{ grid-template-columns:1fr; }
}
/* ---------------------------------------------------------------------------
   Skip link. Was inline onfocus/onblur JS on every page; now CSS-only, so it
   works with JS disabled and doesn't rely on inline handlers.
   --------------------------------------------------------------------------- */
.skip-link{ position:absolute; left:-999px; top:0; z-index:100;
  background:#fff; color:var(--ink); padding:.6rem 1rem;
  border-radius:0 0 8px 0; box-shadow:var(--shadow); text-decoration:none; }
.skip-link:focus{ left:0; }
#app:focus{ outline:none; }

/* ---------------------------------------------------------------------------
   Crisis resource list (contact page)
   --------------------------------------------------------------------------- */
.crisis-list{ list-style:none; margin:.9rem 0 0; padding:0; display:grid; gap:.5rem; }
.crisis-list li{ margin:0; }
.crisis-list a,
.crisis-list li > strong{ display:block; text-decoration:none; color:inherit;
  background:rgba(255,255,255,.6); border:1px solid #e6c3ab; border-radius:10px;
  padding:.6rem .75rem; transition:background .18s ease, border-color .18s ease; }
.crisis-list a:hover,.crisis-list a:focus-visible{ background:#fff; border-color:var(--clay-deep); }
.crisis-list strong{ display:block; font-size:.92rem; color:var(--ink); }
.crisis-list span{ display:block; font-size:.86rem; color:var(--ink-soft); margin-top:.1rem; }

/* ---------------------------------------------------------------------------
   Legal pages (privacy, terms, good faith estimate)
   --------------------------------------------------------------------------- */
.legal-body .legal-section{ margin-bottom:2rem; }
.legal-body h2{ font-size:clamp(1.25rem,1.8vw,1.55rem); margin:0 0 .6rem; }
.legal-body p{ margin:0 0 .8rem; color:var(--ink-soft); }
.legal-body p:last-child{ margin-bottom:0; }
.legal-body .callout p{ color:var(--ink); }
/* Anchored links (e.g. privacy.html#npp) must not land under the sticky header. */
.legal-body .legal-section[id]{ scroll-margin-top:96px; }

/* Radio group is a <fieldset> for screen readers; strip the default chrome. */
fieldset.field{ border:0; margin:0 0 1rem; padding:0; }
fieldset.field legend{ display:block; font-weight:700; font-size:.9rem;
  margin-bottom:.4rem; padding:0; color:var(--ink); }

/* Anchor targets generally clear the sticky header. */
[id]{ scroll-margin-top:96px; }

/* ---------------------------------------------------------------------------
   Header collapses to a hamburger at 900px, not 600px. Between 601–900px the
   brand + 7 nav links + pill button could not fit and silently compressed.

   Defect S8 fix. Two things changed from the original rule:

   1. The collapsed panel is gated on `html.js`. The hamburger only exists when
      JavaScript can open it; with JS off the links stay in normal flow and wrap
      under the brand, so there IS navigation below 900px. Previously JS-off
      visitors got a dead hamburger and a nav parked off-screen.

   2. While closed the panel is `visibility:hidden`, not merely translated out of
      view. `transform` alone leaves links focusable and exposed to screen
      readers — a keyboard user tabbing through the header fell into seven
      invisible links (WCAG 2.4.3 Focus Order, 2.4.7 Focus Visible).
      The `visibility` transition is delayed by the slide duration on close so
      the animation still plays, and is instant on open.
   --------------------------------------------------------------------------- */
@media (max-width:900px){
  /* --- JS available: collapsible panel --- */
  .js .nav{
    position:fixed; inset:64px 0 auto; flex-direction:column; align-items:stretch; gap:.2rem;
    background:var(--cream); border-bottom:1px solid var(--line); box-shadow:var(--shadow);
    padding:1rem clamp(20px,5vw,40px) 1.4rem;
    transform:translateY(-140%); visibility:hidden;
    transition:transform .3s ease, visibility 0s linear .3s;
  }
  .js .nav.open{
    transform:translateY(0); visibility:visible;
    transition:transform .3s ease, visibility 0s linear 0s;
  }
  .js .nav a{ padding:.8rem .4rem; border-radius:10px; }
  .js .nav a.active::after{ display:none; }
  .js .nav .btn{ margin:.6rem 0 0; justify-content:center; }
  .js .nav-toggle{ display:inline-flex; }

  /* --- No JS: nothing can open the panel, so keep the links reachable --- */
  html:not(.js) .header-inner{ flex-wrap:wrap; row-gap:.4rem; }
  html:not(.js) .nav{
    flex-basis:100%; flex-wrap:wrap; justify-content:center; gap:.1rem; padding-bottom:.3rem;
  }
  html:not(.js) .nav a{ padding:.45rem .6rem; font-size:.92rem; }
  html:not(.js) .nav .btn{ margin-left:.35rem; }
  html:not(.js) .nav-toggle{ display:none; }
}

@media (prefers-reduced-motion:reduce){
  .js .nav, .js .nav.open{ transition:none; }
}

@media (max-width:600px){
  .header-call .calltxt{ display:none; }
  .header-call{ padding:.5rem .45rem; }
  .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; }
  .service-points{ grid-template-columns:1fr; }
  .fee-row{ flex-direction:column; gap:.15rem; }
  .fee-price{ font-size:1.2rem; }
  .badge-card{ right:0; }
  .steps.steps-5{ grid-template-columns:1fr; }
  .totals-grid{ grid-template-columns:1fr; }
}


/* Evidence citations — rendered under the research claims on the Approach page.
   Deliberately quiet: these are for the reader who wants to check, not a
   trust badge. Defect F3. */
.evidence-sources{margin-top:1.6rem;padding-top:1.1rem;border-top:1px solid var(--rule,#e2ddd1)}
.evidence-sources h3{font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-soft,#6b6559);font-weight:600;margin:0 0 .6rem}
.evidence-sources ul{list-style:none;margin:0;padding:0}
.evidence-sources li{font-size:.9rem;line-height:1.5;margin-bottom:.45rem;padding-left:1rem;
  position:relative;color:var(--ink-soft,#6b6559)}
.evidence-sources li:before{content:"";position:absolute;left:0;top:.62em;width:4px;height:4px;
  border-radius:50%;background:var(--clay,#C27C57)}
.evidence-sources a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:2px}
.evidence-sources a:hover{color:var(--sage-deep,#47563F)}
