/* ==========================================================================
   Resolution Therapies, LLC — stylesheet
   Design language: grounded, credible, unhurried. A single evergreen mark
   that "grows" on load; a faint topographic contour texture standing in for
   both the natural-growth metaphor and the terrain/navigation vocabulary
   that reads instantly to a veteran or first-responder audience.
   ========================================================================== */

/* Fonts are loaded via non-blocking <link> tags in each page's <head>
   (preconnect + stylesheet) rather than @import, which is render-blocking
   and can cause some browsers to drop the whole stylesheet if the font
   request stalls or fails. See the <head> of any .html file. */

:root{
  /* ---- color tokens: "Grounded Sanctuary" trauma-informed palette ----
     Chosen for nervous-system regulation: soft, low-contrast, no jarring
     dark/light transitions. Sage green fails contrast with light text
     (2.55:1) but passes comfortably with dark charcoal text (4.96:1) —
     so content sections use a light sage background with dark text
     instead of the inverted dark-bg/light-text pattern used before. */
  --ink:            #2C3531;   /* deep charcoal — primary text */
  --ink-soft:       #5C6B62;   /* softened charcoal — secondary text */
  --evergreen:      #4A6B6C;   /* slate eucalyptus — secondary accent/buttons */
  --evergreen-dark: #2C3531;   /* charcoal — heading text on light backgrounds */
  --surface-feature:#8FA89B;   /* muted sage — content section backgrounds, paired with dark text */
  --surface-chrome: #4A6B6C;   /* slate eucalyptus — topbar/footer only, paired with light text */
  --evergreen-tint: #E9EEEA;   /* soft sage tint for subtle status backgrounds */
  --sage:           #8FA89B;
  --stone:          #F9F6F0;   /* soft linen — body background */
  --stone-alt:      #E5DDD3;   /* warm oatmeal — alternate section background */
  --card:           #FDFBF7;   /* barely-lighter-than-body neutral — gentle card elevation */
  --ember:          #4A6B6C;   /* slate eucalyptus — primary accent/buttons/links */
  --ember-dark:     #3A5556;   /* deeper eucalyptus — hover state */
  --icon-blue:      #6B8894;
  --icon-red:       #B0707A;
  --icon-gold:      #B3966B;
  --icon-plum:      #8A7089;
  --line:           rgba(44,53,49,0.12);
  --line-soft:      rgba(44,53,49,0.16);

  /* ---- type ---- */
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  /* ---- layout ---- */
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --shadow-card: 0 1px 2px rgba(26,28,23,0.04), 0 12px 32px -16px rgba(26,28,23,0.18);
  --shadow-lift: 0 20px 48px -20px rgba(19,38,33,0.35);
  --ease: cubic-bezier(.16,.8,.24,1);
  --ease-gentle: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img, svg{ display:block; max-width:100%; }
a{ color: inherit; }
ul, ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p,figure,blockquote{ margin:0; }
/* The reset above removes all default browser spacing, so reintroduce a
   sensible baseline here — specific contexts (.hero .lede, .section-head
   .lede, etc.) still override this with their own larger values via
   normal CSS specificity, this just prevents headings and paragraphs
   from running together anywhere that doesn't have a specific override. */
h1 + *, h2 + *, h3 + *, h4 + *{ margin-top: 16px; }
p + p{ margin-top: 14px; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }

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

.container{
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---- topographic contour texture (signature ambient device) ---- */
.contour-bg{
  position: relative;
  isolation: isolate;
}
.contour-bg::before{
  content:"";
  position:absolute; inset:0;
  z-index:-1;
  opacity:0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%231E3A2F' stroke-opacity='0.055' stroke-width='1'%3E%3Cpath d='M-20 60 C 80 10, 150 110, 250 55 S 430 30, 470 90'/%3E%3Cpath d='M-20 110 C 80 60, 150 160, 250 105 S 430 80, 470 140'/%3E%3Cpath d='M-20 160 C 80 110, 150 210, 250 155 S 430 130, 470 190'/%3E%3Cpath d='M-20 210 C 80 160, 150 260, 250 205 S 430 180, 470 240'/%3E%3Cpath d='M-20 260 C 80 210, 150 310, 250 255 S 430 230, 470 290'/%3E%3Cpath d='M-20 310 C 80 260, 150 360, 250 305 S 430 280, 470 340'/%3E%3Cpath d='M-20 360 C 80 310, 150 410, 250 355 S 430 330, 470 390'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 700px 700px;
}
.contour-bg.on-dark::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%232C3531' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M-20 60 C 80 10, 150 110, 250 55 S 430 30, 470 90'/%3E%3Cpath d='M-20 110 C 80 60, 150 160, 250 105 S 430 80, 470 140'/%3E%3Cpath d='M-20 160 C 80 110, 150 210, 250 155 S 430 130, 470 190'/%3E%3Cpath d='M-20 210 C 80 160, 150 260, 250 205 S 430 180, 470 240'/%3E%3Cpath d='M-20 260 C 80 210, 150 310, 250 255 S 430 230, 470 290'/%3E%3Cpath d='M-20 310 C 80 260, 150 360, 250 305 S 430 280, 470 340'/%3E%3Cpath d='M-20 360 C 80 310, 150 410, 250 355 S 430 330, 470 390'/%3E%3C/g%3E%3C/svg%3E");
  opacity:1;
}

/* ==========================================================================
   Typography
   ========================================================================== */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width: 22px; height:1px;
  background: currentColor;
}
.eyebrow.on-dark{ color: var(--ink); opacity:0.82; }

h1, .h1{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-size: clamp(2.5rem, 4.6vw, 4.1rem);
  color: var(--evergreen-dark);
}
h2, .h2{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.005em;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  color: var(--evergreen-dark);
}
h3, .h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  color: var(--evergreen-dark);
}
.lede{
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 46ch;
}
.on-dark h1, .on-dark h2, .on-dark h3{ color: var(--ink); }
.on-dark .lede{ color: rgba(44,53,49,0.78); }
.on-dark{ color: rgba(44,53,49,0.9); }
.on-dark p{ color: rgba(44,53,49,0.82); }

p{ color: var(--ink-soft); }
.small{ font-size: 0.9rem; }
.mono-label{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration:none;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg{ width:17px; height:17px; flex:none; }
.btn-primary{
  background: var(--ember);
  color: var(--card);
  box-shadow: 0 10px 24px -10px rgba(74,107,108,0.45);
}
.btn-primary:hover{ background: var(--ember-dark); transform: translateY(-1.5px); box-shadow: 0 14px 28px -10px rgba(74,107,108,0.5); }
.btn-ghost-dark{
  background: transparent;
  border-color: rgba(44,53,49,0.35);
  color: var(--ink);
}
.btn-ghost-dark:hover{ background: rgba(44,53,49,0.06); border-color: rgba(44,53,49,0.6); }
.btn-ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--evergreen-dark);
}
.btn-ghost:hover{ background: var(--card); border-color: var(--evergreen); }
.nav-call{
  background: #fff;
  border-color: rgba(44,53,49,0.14);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(44,53,49,0.08);
}
.nav-call:hover{ background: #F5F3EE; border-color: rgba(44,53,49,0.22); }
.btn-accent{
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}
.btn-accent:hover{ background: var(--ember-dark); border-color: var(--ember-dark); transform: translateY(-1.5px); }
.btn-secondary{
  background: var(--evergreen);
  color: var(--card);
}
.btn-secondary:hover{ background: var(--evergreen-dark); transform: translateY(-1.5px); }
.btn-block{ width:100%; }
.btn-sm{ padding: 10px 18px; font-size: 0.88rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.topbar{
  background: var(--surface-chrome);
  color: rgba(251,248,242,0.85);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-block: 9px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-links{ display:flex; align-items:center; gap:18px; }
.topbar-links a{ text-decoration:none; color:inherit; display:inline-flex; align-items:center; gap:6px; }
.topbar-links a:hover{ color: #F5EFE3; }
.topbar-links svg{ width:13px; height:13px; }
.topbar-note{ opacity:0.75; }

header.site-header{
  position: sticky; top:0; z-index: 60;
  background: rgba(239,233,221,0.88);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding-block: 14px;
  gap: 20px;
}
.brand{
  display:flex; align-items:center; gap:11px;
  text-decoration:none;
  color: var(--evergreen-dark);
}
.brand .rt-mark{ width:38px; height:38px; color: var(--evergreen); flex:none; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.14rem;
  line-height:1.15;
  letter-spacing: -0.01em;
}
.brand-word small{
  display:block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 2px;
}

.nav-links{
  display:flex; align-items:center; gap: 30px;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a{
  text-decoration:none;
  color: var(--ink-soft);
  position:relative;
  padding-block: 4px;
  transition: color .2s var(--ease);
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:-2px; height:2px;
  background: var(--ember);
  transition: right .25s var(--ease);
}
.nav-links a:hover{ color: var(--evergreen-dark); }
.nav-links a:hover::after, .nav-links a.active::after{ right:0; }
.nav-links a.active{ color: var(--evergreen-dark); }

.nav-actions{ display:flex; align-items:center; gap:12px; }
.nav-toggle{
  display:none;
  background:none; border:none; padding:8px;
  color: var(--evergreen-dark);
}
.nav-toggle svg{ width:26px; height:26px; }

.mobile-panel{
  display:none;
  position: fixed; inset: 0;
  background: var(--surface-chrome);
  z-index: 90;
  padding: 24px var(--pad) 40px;
  flex-direction: column;
  overflow-y:auto;
}
.mobile-panel.open{ display:flex; }
.mobile-panel-top{ display:flex; align-items:center; justify-content:space-between; }
.mobile-panel-top .brand{ color: var(--card); }
.mobile-panel-top .brand .rt-mark{ color: var(--card); }
.mobile-close{ background:none; border:none; color: var(--card); padding:8px; }
.mobile-close svg{ width:26px; height:26px; }
.mobile-links{ margin-top: 40px; display:flex; flex-direction:column; gap: 6px; }
.mobile-links a{
  text-decoration:none; color: var(--card);
  font-family: var(--font-display);
  font-size: 1.7rem;
  padding-block: 12px;
  border-bottom: 1px solid rgba(251,248,242,0.14);
}
.mobile-panel .btn{ margin-top: 30px; }
.mobile-contact{ margin-top: auto; padding-top: 30px; color: rgba(251,248,242,0.65); font-family: var(--font-mono); font-size:0.85rem; display:flex; flex-direction:column; gap:8px;}
.mobile-contact a{ color: #F5EFE3; text-decoration:none; }

@media (max-width: 900px){
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .nav-actions .btn-primary{ display:none; }
  .topbar-note{ display:none; }
}
@media (max-width: 560px){
  .nav-actions .nav-call span{ display:none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer{
  background: var(--surface-chrome);
  color: rgba(251,248,242,0.75);
  padding-block: 64px 28px;
  margin-top: 120px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(251,248,242,0.14);
}
.footer-brand .brand{ color: var(--card); margin-bottom: 16px; }
.footer-brand .brand .rt-mark{ color: var(--card); }
.footer-brand p{ color: rgba(251,248,242,0.65); max-width: 34ch; font-size: 0.93rem; }
.footer-col h4{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251,248,242,0.5);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ text-decoration:none; color: rgba(251,248,242,0.82); font-size: 0.93rem; transition: color .2s; }
.footer-col a:hover{ color: #F5EFE3; }
.footer-col p{ color: rgba(251,248,242,0.82); font-size: 0.93rem; margin:0; }
.footer-bottom{
  padding-top: 26px;
  display:flex; justify-content:space-between; align-items:flex-start; gap: 24px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(251,248,242,0.5);
}
.footer-bottom .legal-links{ display:flex; gap:18px; }
.footer-bottom a{ text-decoration:none; color: rgba(251,248,242,0.5); }
.footer-bottom a:hover{ color: #F5EFE3; }
.crisis-note{
  max-width: 640px;
  line-height:1.6;
  color: rgba(251,248,242,0.75);
}
.crisis-note strong{ color: rgba(251,248,242,0.85); }
.social-row{ display:flex; gap:12px; margin-top:20px; }
.social-icon{
  width:38px; height:38px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(251,248,242,0.08);
  border: 1px solid rgba(251,248,242,0.16);
  transition: background .2s, transform .2s, border-color .2s;
}
.social-icon svg{ width:18px; height:18px; }
.social-icon--fb{ color:#5B8FD9; }
.social-icon--yt{ color:#E5654A; }
.social-icon--gg{ color:#E8B84B; }
.social-icon:hover{ transform: translateY(-2px); border-color: rgba(251,248,242,0.32); }
.social-icon--fb:hover{ background: rgba(91,143,217,0.18); }
.social-icon--yt:hover{ background: rgba(229,101,74,0.18); }
.social-icon--gg:hover{ background: rgba(232,184,75,0.18); }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; row-gap: 34px; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; }
}

/* ==========================================================================
   Section rhythm
   ========================================================================== */
.section{ padding-block: clamp(56px, 9vw, 108px); }
.section-tight{ padding-block: clamp(40px, 6vw, 64px); }
.section-dark{ background: var(--surface-feature); color: rgba(44,53,49,0.88); }
.section-card{ background: var(--card); }
.section-alt{ background: var(--stone-alt); }
.section-head{ max-width: 660px; margin-bottom: 48px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head .eyebrow{ margin-bottom: 18px; }
.section-head h2{ margin-top: 14px; }
.section-head .lede{ margin-top: 16px; }
.section-head.center .lede{ margin-inline:auto; }

.divider{
  height:1px; border:none;
  background: var(--line);
  margin-block: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  background: var(--surface-feature);
  color: var(--ink);
  position: relative;
  overflow:hidden;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(64px, 9vw, 110px);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 5vw, 60px);
  align-items:center;
}
.hero-copy .eyebrow{ margin-bottom: 22px; }
.hero h1{ color: var(--card); }
.hero .lede{ margin-top: 22px; max-width: 50ch; }
.hero-actions{ display:flex; align-items:center; gap:16px; margin-top: 36px; flex-wrap:wrap; }
.hero-fine{
  margin-top: 28px;
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(44,53,49,0.82);
}
.hero-fine .icon-badge{ width:24px; height:24px; }
.hero-fine .icon-badge svg{ width:13px; height:13px; }

.hero-visual{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  aspect-ratio: 1;
  align-self: flex-start;
  margin-top: 8px;
}
.hero-ring-bg{
  position:absolute; inset:0;
  border-radius:50%;
  border: 1px solid rgba(44,53,49,0.16);
}
.hero-ring-bg::before{
  content:"";
  position:absolute; inset: 34px;
  border-radius:50%;
  border: 1px solid rgba(44,53,49,0.13);
}
.hero-mark{
  width: 62%;
  color: var(--ink);
}
.hero-mark .rt-mark-ring{
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: drawRing 1.5s var(--ease) 0.2s forwards;
}
.hero-mark .rt-mark-plant{
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0.06);
  opacity: 0;
  animation: sprout 1.1s cubic-bezier(.2,.9,.25,1.1) 1.15s forwards;
}
@keyframes drawRing{ to{ stroke-dashoffset:0; } }
@keyframes sprout{
  0%{ transform: scaleY(0.05); opacity:0; }
  35%{ opacity:1; }
  100%{ transform: scaleY(1); opacity:1; }
}
@media (prefers-reduced-motion: reduce){
  .hero-mark .rt-mark-ring{ stroke-dashoffset:0; animation:none; }
  .hero-mark .rt-mark-plant{ transform:none; opacity:1; animation:none; }
}


  35%{ opacity:1; }
  100%{ transform: scaleY(1); opacity:1; }
}
@media (prefers-reduced-motion: reduce){
  
}

.hero-tickers{
  margin-top: 26px;
  display:flex; flex-wrap:wrap; gap: 14px 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(44,53,49,0.14);
}
.hero-ticker{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(44,53,49,0.88);
}
.hero-ticker .icon-badge{ width:26px; height:26px; }
.hero-ticker .icon-badge svg{ width:14px; height:14px; }
.hero-ticker:nth-child(1) .icon-badge{ background: color-mix(in srgb, var(--icon-red) 16%, var(--card)); color: var(--icon-red); }
.hero-ticker:nth-child(2) .icon-badge{ background: color-mix(in srgb, var(--ember) 16%, var(--card)); color: var(--ember); }
.hero-ticker:nth-child(3) .icon-badge{ background: color-mix(in srgb, var(--icon-blue) 16%, var(--card)); color: var(--icon-blue); }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ max-width: 260px; margin-inline:auto; order:-1; }
}

/* Page header (non-home pages) */
.page-hero{
  background: var(--surface-feature);
  color: var(--ink);
  padding-block: clamp(56px,8vw,92px) clamp(40px,6vw,64px);
}
.page-hero .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: clamp(24px, 5vw, 64px);
}
.page-hero-text{ flex:1; min-width:0; }
.page-hero .eyebrow{ margin-bottom:18px; }
.page-hero h1{ color:var(--card); max-width: 18ch; }
.page-hero .lede{ margin-top:18px; }
.page-hero-visual{
  flex:none;
  position:relative;
  width: 300px;
  height: 300px;
  display:flex; align-items:center; justify-content:center;
}
.page-hero-visual .hero-mark{ width:62%; color:var(--ink); }
@media (max-width: 1100px){
  .page-hero-visual{ width: 240px; height: 240px; }
}
@media (max-width: 760px){
  .page-hero .container{ flex-direction:column-reverse; align-items:flex-start; gap:26px; }
  .page-hero-visual{ width:180px; height:180px; align-self:center; }
}
.breadcrumb{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(44,53,49,0.55);
  margin-bottom: 22px;
  display:flex; gap:8px; align-items:center;
}
.breadcrumb a{ text-decoration:none; color: rgba(44,53,49,0.7); }
.breadcrumb a:hover{ color: var(--ember); }

/* ==========================================================================
   Grids & Cards
   ========================================================================== */
.grid{ display:grid; gap: 26px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

.card{
  background: var(--card);
  border: 2px solid #4A6B6C;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.icon-tile{
  width:48px; height:48px;
  border-radius: 12px;
  background: var(--evergreen-tint);
  color: var(--evergreen);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.icon-tile svg{ width:24px; height:24px; }
/* Color variants so a grid of icons can be visually distinguished at a glance */
.icon-tile--ember{ background: color-mix(in srgb, var(--ember) 15%, var(--card)); color: var(--ember); }

/* Small round tinted icon badge — same soft, low-contrast color language
   as .icon-tile, sized for inline use (credential cards, hero fine-print,
   ticker rows) instead of the larger card-icon context. */
.icon-badge{
  width: 30px; height: 30px;
  border-radius: 999px;
  display:inline-flex; align-items:center; justify-content:center;
  flex:none;
}
.icon-badge svg{ width:15px; height:15px; }
.icon-badge--ember{ background: color-mix(in srgb, var(--ember) 16%, var(--card)); color: var(--ember); }
.icon-badge--blue{ background: color-mix(in srgb, var(--icon-blue) 16%, var(--card)); color: var(--icon-blue); }
.icon-badge--red{ background: color-mix(in srgb, var(--icon-red) 16%, var(--card)); color: var(--icon-red); }
.icon-badge--gold{ background: color-mix(in srgb, var(--icon-gold) 18%, var(--card)); color: var(--icon-gold); }
.icon-badge--plum{ background: color-mix(in srgb, var(--icon-plum) 16%, var(--card)); color: var(--icon-plum); }
.icon-tile--blue{ background: color-mix(in srgb, var(--icon-blue) 15%, var(--card)); color: var(--icon-blue); }
.icon-tile--red{ background: color-mix(in srgb, var(--icon-red) 15%, var(--card)); color: var(--icon-red); }
.icon-tile--gold{ background: color-mix(in srgb, var(--icon-gold) 17%, var(--card)); color: var(--icon-gold); }
.icon-tile--plum{ background: color-mix(in srgb, var(--icon-plum) 15%, var(--card)); color: var(--icon-plum); }
.card h3{ margin-bottom: 10px; }
.card p{ font-size: 0.95rem; }
.card-list{ margin-top:16px; display:flex; flex-direction:column; gap:9px; }
.card-list li{ display:flex; gap:9px; align-items:flex-start; font-size:0.9rem; color:var(--ink-soft); }
.card-list svg{ width:16px; height:16px; flex:none; margin-top:3px; color:var(--ember); }

.feature-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items:center;
}
.feature-row.reverse .feature-media{ order:2; }
@media (max-width: 860px){
  .feature-row{ grid-template-columns:1fr; }
  .feature-row.reverse .feature-media{ order:0; }
}
.feature-media{
  aspect-ratio: 4/3.1;
  border-radius: var(--radius-lg);
  overflow:hidden;
  position:relative;
  background: linear-gradient(155deg, var(--evergreen) 0%, var(--surface-feature) 100%);
}
.feature-media.alt{ background: linear-gradient(155deg, #EADFC5 0%, var(--stone-alt) 100%); }
.feature-media.portrait{ aspect-ratio: 4/5; }
@media (max-width: 860px){ .feature-media.portrait{ aspect-ratio: 4/4.6; } }
.feature-media .contour-bg::before{ background-size: 480px 480px; }
.feature-media-mark{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
}
.feature-media-mark .rt-mark{ width: 40%; color: rgba(253,251,247,0.92); }
.feature-media.alt .feature-media-mark .rt-mark{ color: var(--evergreen); opacity:0.85; }

.portrait-photo{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}
.portrait-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.portrait-caption{
  margin-top:14px;
  font-family: var(--font-mono);
  font-size:0.78rem;
  color: var(--ink-soft);
  text-align:center;
}
.feature-list{ margin-top:22px; display:flex; flex-direction:column; gap:16px; }
.feature-list li{ display:flex; gap:13px; align-items:flex-start; }
.feature-list svg{ width:20px; height:20px; color:var(--ember); flex:none; margin-top:3px; }
.feature-list strong{ color:var(--evergreen-dark); display:block; font-size:0.98rem; line-height:1.4; }
.feature-list span{ color:var(--ink-soft); font-size:0.9rem; line-height:1.5; }
/* On a dark section background, the default dark-on-light text colors above
   are nearly invisible — override to light, high-contrast colors. */
.on-dark .feature-list strong{ color: var(--ink); }
.on-dark .feature-list span{ color: rgba(44,53,49,0.76); }

/* Process steps — two-step flow with connection line */
.steps{
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.steps-connect{
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 12px 28px;
}
@media (max-width: 800px){
  .steps-connect{
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .steps-link{
    flex-direction: row !important;
    justify-content: center;
    padding: 8px 0 16px !important;
    min-height: auto !important;
  }
  .steps-link-dot{
    width: 5px !important;
    height: 5px !important;
  }
}
.step{
  counter-increment: step;
  max-width: 100%;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.step::before{
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--ember);
  margin-bottom: 14px;
}
.step h3{ margin-bottom:6px; }
.step p{ font-size: 0.95rem; max-width: 100%; line-height: 1.6; }

/* Connection line between steps — like a line dialing / waiting to connect */
.steps-link{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-top: 48px;
  min-height: 120px;
}
.steps-link-dot{
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
  opacity: 0.22;
  animation: dialPulse 5.5s ease-in-out infinite;
}
.steps-link-dot:nth-child(1){ animation-delay: 0s; }
.steps-link-dot:nth-child(2){ animation-delay: 0.4s; }
.steps-link-dot:nth-child(3){ animation-delay: 0.8s; }
.steps-link-dot:nth-child(4){ animation-delay: 1.2s; }
.steps-link-dot:nth-child(5){ animation-delay: 1.6s; }
.steps-link-dot:nth-child(6){ animation-delay: 2.0s; }
.steps-link-dot:nth-child(7){ animation-delay: 2.4s; }
.steps-link-dot:nth-child(8){ animation-delay: 2.8s; }
.steps-link-dot:nth-child(9){ animation-delay: 3.2s; }
.steps-link-dot:nth-child(10){ animation-delay: 3.6s; }
@keyframes dialPulse{
  0%, 100%{ opacity: 0.15; transform: scale(0.95); }
  50%{ opacity: 0.75; transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce){
  .steps-link-dot{ animation: none; opacity: 0.5; }
}

/* Testimonials */
.testimonial{
  background: var(--card);
  border: 2px solid #4A6B6C;
  border-radius: var(--radius-md);
  padding: 32px;
  display:flex; flex-direction:column; gap:20px;
  box-shadow: var(--shadow-card);
}
.testimonial blockquote{
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height:1.5;
  color: var(--evergreen-dark);
}
.testimonial cite{
  font-style:normal;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--sage);
  display:block;
}
.testimonial cite b{ color: var(--ink); display:block; font-family: var(--font-body); font-weight:600; font-size:0.92rem; margin-bottom:2px; }

/* Stat / trust strip */
.trust-strip{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px){ .trust-strip{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .trust-strip{ grid-template-columns: 1fr; } }
.trust-item{
  padding: 22px 22px;
  background: var(--card);
  border: 2px solid var(--ember);
  border-radius: var(--radius-md);
  display:flex; flex-direction:column; align-items:flex-start; gap:12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.trust-item:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.trust-item span{ font-size: 0.86rem; color: var(--ink-soft); font-weight:500; line-height:1.4; }
.trust-item a{ color: var(--ember); font-weight:600; text-decoration: underline; text-underline-offset: 2px; }

/* CTA band */
.cta-band{
  background: var(--surface-feature);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  display:flex; align-items:center; justify-content:space-between;
  gap: 30px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band h2{ color:var(--ink); max-width: 16ch; }
.cta-band .lede{ color: rgba(44,53,49,0.78); margin-top:10px; }
.cta-band-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* Reveal on scroll */
/* Reveal-on-scroll is progressive enhancement: content is fully visible by
   default. Only once main.js confirms it's running (and adds "js-ready" to
   <html>) do reveal elements hide themselves and wait to be animated in —
   so a blocked/failed script can never leave content permanently invisible.
   Motion is deliberately soft and slow (not a brisk slide): this site is
   for a trauma-informed practice, so scroll animations should feel like a
   gentle settling-into-place rather than anything sudden or assertive. */
.reveal{ transition: opacity 1s var(--ease-gentle), transform 1s var(--ease-gentle); }
.js-ready .reveal{ opacity:0; transform: translateY(18px); }
.js-ready .reveal.in{ opacity:1; transform:none; }
.js-ready .feature-media.reveal, .js-ready .portrait-photo.reveal{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.6s var(--ease-gentle), transform 1.6s var(--ease-gentle);
}
.js-ready .feature-media.reveal.in, .js-ready .portrait-photo.reveal.in{
  opacity: 1;
  transform: none;
}
.reveal-stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card{
  background: var(--card);
  border: 2px solid #4A6B6C;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}
.field{ margin-bottom: 20px; }
.field label{
  display:block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--evergreen-dark);
  margin-bottom: 8px;
}
.field .hint{ font-size:0.78rem; color:var(--ink-soft); margin-top:6px; }
.field input, .field textarea, .field select{
  width:100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: var(--evergreen);
  outline: none;
}
.field textarea{ min-height: 130px; resize: vertical; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width: 560px){ .field-row{ grid-template-columns:1fr; } }
.checkbox-field{ display:flex; align-items:flex-start; gap:10px; }
.checkbox-field input{ width:auto; margin-top:4px; }
.checkbox-field label{ margin:0; font-weight:400; font-size:0.85rem; color:var(--ink-soft); }
.hp-field{ position:absolute; left:-9999px; opacity:0; height:0; width:0; }
.form-status{
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display:none;
}
.form-status.show{ display:block; }
.form-status.ok{ background: var(--evergreen-tint); color: var(--evergreen-dark); display:block; }
.form-status.err{ background: #F6E4DC; color: var(--ember-dark); display:block; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items:stretch;
}
@media (max-width: 900px){ .price-grid{ grid-template-columns:1fr; } }
.price-card{
  background: var(--card);
  border: 1.5px solid var(--ember);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display:flex; flex-direction:column;
  position:relative;
}
.price-card.featured{
  border-width: 2.5px;
  border-color: var(--ember);
  background: color-mix(in srgb, var(--ember) 5%, var(--card));
  box-shadow: var(--shadow-lift);
}
@media (min-width: 901px){
  .price-card.featured{ transform: translateY(-8px); }
}
.price-card .ribbon{
  position:absolute; top:-13px; left:30px;
  background: var(--ember); color:#fff;
  font-family: var(--font-mono);
  font-size:0.68rem; letter-spacing:0.08em; text-transform:uppercase;
  padding: 6px 12px; border-radius:999px;
}
.price-card h3{ font-size:1.15rem; text-transform:uppercase; letter-spacing:0.05em; font-family:var(--font-mono); font-weight:700; color:var(--ink); }
.price-amount{
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight:600;
  color: var(--evergreen-dark);
  margin-top:14px;
  display:flex; align-items:baseline; gap:8px;
  flex-wrap: wrap;
}
.price-amount.price-amount--text{ font-size: 1.7rem; }
.price-amount span{ font-family:var(--font-body); font-size:0.95rem; font-weight:500; color:var(--ink-soft); }
.price-desc{ margin-top:10px; font-size:0.9rem; }
.price-list{ margin-top:24px; display:flex; flex-direction:column; gap:13px; flex:1; }
.price-list li{ display:flex; gap:10px; align-items:flex-start; font-size:0.89rem; color:var(--ink-soft); }
.price-list svg{ width:17px; height:17px; color:#2E7D32; stroke:#2E7D32; flex:none; margin-top:2px; }
.price-card .btn{ margin-top:26px; }

/* Three gently distinct card accents — sage (free consult), eucalyptus
   (insurance), warm oatmeal-gold (cash pay). All three stay on the same
   soft cream card surface as the rest of the site — the distinction is
   carried by a colored top border and badge, not a jarring dark fill,
   to keep the page low-contrast and calm throughout. */
.price-card--red{ border-color: #8FA89B; border-width: 2.5px; box-shadow: var(--shadow-lift); background: color-mix(in srgb, #8FA89B 8%, var(--card)); }
.price-card--blue{ border-color: #4A6B6C; background: color-mix(in srgb, #4A6B6C 6%, var(--card)); }
.price-card--dark{ border-color: #B3966B; background: color-mix(in srgb, #B3966B 8%, var(--card)); }
@media (min-width: 901px){
  .price-card--red{ transform: translateY(-8px); }
}

.price-card--red .ribbon{ background:#6E8879; color:#fff; }
.price-card--blue .ribbon{ background:#4A6B6C; color:#fff; }

.price-card--red .btn, .price-card--blue .btn, .price-card--dark .btn{
  color:#fff;
}
.price-card--red .btn{ background:#6E8879; border-color:#6E8879; }
.price-card--red .btn:hover{ background:#5D7568; border-color:#5D7568; }
.price-card--blue .btn{ background:#4A6B6C; border-color:#4A6B6C; }
.price-card--blue .btn:hover{ background:#3A5556; border-color:#3A5556; }
.price-card--dark .btn{ background:#9C824F; border-color:#9C824F; }
.price-card--dark .btn:hover{ background:#87703F; border-color:#87703F; }

.insurance-strip{
  display:flex; flex-wrap:wrap; gap:12px;
  margin-top: 26px;
}
.insurance-pill{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  flex: none;
  white-space: nowrap;
}
.insurance-logo{
  display:inline-flex; align-items:center; justify-content:center;
  height: 64px;
  padding: 0 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(26,28,23,0.06);
  flex: none;
  white-space: nowrap;
}
.insurance-logo span{
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

/* Scrolling marquee banner (insurance plans) */
.marquee{
  overflow: hidden;
  margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track{
  display:flex;
  gap: 12px;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes marqueeScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee{ -webkit-mask-image:none; mask-image:none; overflow:visible; }
  .marquee-track{ animation:none; flex-wrap:wrap; width:auto; }
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list{ display:flex; flex-direction:column; }
.faq-item{ border-top: 1px solid var(--line); }
.faq-item:last-child{ border-bottom: 1px solid var(--line); }
.faq-q{
  width:100%;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  background:none; border:none;
  text-align:left;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--evergreen-dark);
}
.faq-q svg{ width:20px; height:20px; flex:none; color:var(--ember); transition: transform .3s var(--ease); }
.faq-item.open .faq-q svg{ transform: rotate(45deg); }
.faq-a{
  max-height:0; overflow:hidden;
  transition: max-height .35s var(--ease);
}
.faq-item.open .faq-a{ max-height: 800px; }
.faq-a-inner{ padding: 0 4px 26px; max-width: 68ch; }
.faq-a-inner p{ font-size:0.95rem; }

/* ==========================================================================
   Misc components
   ========================================================================== */
.badge-row{ display:flex; flex-wrap:wrap; gap:10px; }
.badge{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  display:inline-flex; align-items:center; gap:7px;
}
.badge svg{ width:14px; height:14px; color:var(--evergreen); }

.card-brand-row{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.card-brand{
  display:inline-flex; align-items:center; justify-content:center;
  width:60px; height:38px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:7px;
  box-shadow: 0 1px 2px rgba(26,28,23,0.05);
  padding:6px;
}
.card-brand svg{ width:100%; height:100%; }

.person-card{
  display:flex; gap:18px; align-items:flex-start;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.person-avatar{
  width:52px; height:52px; border-radius:50%;
  background: var(--evergreen-tint); color:var(--evergreen);
  display:flex; align-items:center; justify-content:center; flex:none;
  font-family: var(--font-display); font-weight:600;
}
.person-card h4{ font-family:var(--font-body); font-weight:600; font-size:0.95rem; color:var(--evergreen-dark); }
.person-card .role{ font-family:var(--font-mono); font-size:0.75rem; color:var(--sage); margin-top:2px; }
.person-card p{ font-size:0.87rem; margin-top:8px; }

.pull-quote{
  border-left: 3px solid var(--ember);
  padding-left: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height:1.45;
  color: var(--evergreen-dark);
}

.timeline-note{
  display:flex; gap:12px; padding: 16px 0;
  border-top:1px solid var(--line);
}
.timeline-note:last-child{ border-bottom:1px solid var(--line); }
.timeline-note .yr{ font-family:var(--font-mono); font-size:0.8rem; color:var(--sage); flex:none; width:80px; padding-top:2px;}

/* Skip link */
.skip-link{
  position:absolute; left:-9999px; top:0;
  background: var(--ember); color:#fff; padding:12px 20px; z-index:200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left:0; }

.embed-frame{
  border-radius: var(--radius-lg);
  overflow:visible;
  border: 1px solid var(--line);
  background:#fff;
  min-height: 1000px;
}
@media (max-width: 700px){ .embed-frame{ min-height: 900px; } }

/* Cal.com injects its own <iframe> inside [data-cal-inline]; force it to
   fully fill its container instead of using whatever default size the
   embed script picks. A short min-height was still cutting off the
   bottom of the month grid and the later time slots, so this is set
   generously tall — the surrounding elements no longer have a fixed
   height or overflow:hidden that could clip it either. */
iframe[src*="cal.com"]{
  width: 100% !important;
  min-height: 1000px !important;
  border: none !important;
}

.stack-gap-sm > * + *{ margin-top: 14px; }
.center-col{ max-width: 760px; margin-inline:auto; }
.text-center{ text-align:center; }




.form-success-banner{
  background: color-mix(in srgb, var(--ember) 12%, var(--card));
  border: 2px solid #4A6B6C;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 22px;
  color: var(--evergreen-dark);
}
.form-success-banner p{ margin: 0; font-size: 0.98rem; line-height: 1.5; }
.form-success-banner[hidden]{ display: none !important; }
