/* ── Therapy Practice LCSW — main styles ─────────────────────── */

/* ── Layout primitives ───────────────────────────────────── */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }

.skip-nav {
  position: absolute; top: -100px; left: 16px; z-index: 999;
  background: var(--forest-900); color: var(--paper);
  padding: 12px 20px; border-radius: var(--r-sm);
  transition: top var(--t-fast);
}
.skip-nav:focus { top: 16px; }

/* ── Top utility bar ─────────────────────────────────────── */
.topbar {
  background: var(--forest-900);
  color: var(--sage-200);
  font-size: 13px;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px; gap: 24px; flex-wrap: wrap;
}
.topbar .left, .topbar .right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar .item { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }
.topbar a { color: var(--white); font-weight: 500; }
.topbar a:hover { color: var(--clay-300); }
.topbar .pulse { display: inline-flex; align-items: center; gap: 8px; }
.topbar .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage-300); position: relative;
}
.topbar .dot::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; background: var(--sage-300);
  opacity: .6; animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(.8); opacity: .5; }
  50% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 720px) {
  .topbar { font-size: 12px; }
  .topbar .wrap { padding: 8px 20px; gap: 12px; }
  .topbar .left, .topbar .right { gap: 14px; }
  .topbar .item.hide-mobile { display: none; }
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-med), background var(--t-med);
}
.nav.scrolled { box-shadow: var(--shadow-sm); background: rgba(247,243,236,.96); backdrop-filter: blur(8px); }
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--forest-800); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 22px; font-style: italic;
  font-weight: 500; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--f-display); font-size: 22px; font-weight: 500; color: var(--forest-900); letter-spacing: .01em; }
.brand-cred { font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  letter-spacing: .04em; text-transform: uppercase;
  position: relative; padding: 6px 0;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--clay-600);
  transition: width var(--t-med);
}
.nav-links a:hover { color: var(--forest-800); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--forest-900); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 19px; font-weight: 500;
  color: var(--forest-900); padding: 8px 12px;
  transition: color var(--t-fast);
}
.nav-phone:hover { color: var(--clay-600); }
.nav-phone .ring {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sage-100); color: var(--forest-700);
  display: grid; place-items: center;
}
.nav-phone svg { width: 14px; height: 14px; }

.btn-burger {
  display: none; width: 44px; height: 44px;
  border-radius: var(--r-sm); align-items: center; justify-content: center;
}
.btn-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--forest-900); position: relative;
  transition: transform var(--t-med), opacity var(--t-med);
}
.btn-burger span::before, .btn-burger span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px;
  background: var(--forest-900); transition: transform var(--t-med);
}
.btn-burger span::before { top: -7px; }
.btn-burger span::after { top: 7px; }
body.menu-open .btn-burger span { background: transparent; }
body.menu-open .btn-burger span::before { transform: rotate(45deg) translate(5px, 5px); }
body.menu-open .btn-burger span::after { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-phone .label { display: none; }
  .btn-burger { display: inline-flex; }
}

.mobile-menu {
  position: fixed; inset: 84px 0 0 0; z-index: 70;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 20px;
  visibility: hidden; opacity: 0; pointer-events: none;
  transform: translateY(-12px);
  transition: opacity var(--t-med), transform var(--t-med), visibility 0s linear var(--t-med);
}
body.menu-open .mobile-menu {
  visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0);
  transition: opacity var(--t-med), transform var(--t-med), visibility 0s linear 0s;
}
.mobile-menu a {
  font-family: var(--f-display); font-size: 28px; font-weight: 400;
  color: var(--forest-900); padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .menu-cta {
  margin-top: auto; background: var(--forest-800); color: var(--paper);
  padding: 18px 28px; border-radius: var(--r-pill);
  font-family: var(--f-sans); font-size: 14px;
  text-transform: uppercase; letter-spacing: .15em;
  text-align: center; border: none;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase;
  transition: all var(--t-med); cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary {
  background: var(--forest-800); color: var(--paper);
  box-shadow: 0 8px 16px -8px rgba(31,46,37,.4);
}
.btn-primary:hover {
  background: var(--forest-900); transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(31,46,37,.55);
}
.btn-clay {
  background: var(--clay-600); color: var(--paper);
  box-shadow: 0 8px 16px -8px rgba(140,74,54,.4);
}
.btn-clay:hover {
  background: var(--clay-700); transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(140,74,54,.55);
}
.btn-ghost {
  background: transparent; color: var(--forest-900);
  border: 1.5px solid var(--forest-700);
}
.btn-ghost:hover { background: var(--forest-800); color: var(--paper); }
.btn-light {
  background: var(--paper); color: var(--forest-900);
  border: 1px solid var(--line);
}
.btn-light:hover { background: var(--white); transform: translateY(-2px); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--forest-900) 0%, var(--forest-700) 100%);
  color: var(--paper); overflow: hidden;
}
.hero-bg { display: none; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(74,107,86,.35) 0%, transparent 50%),
    linear-gradient(180deg, rgba(31,46,37,.55) 0%, rgba(31,46,37,.85) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; color: var(--sage-200);
  letter-spacing: .25em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow .line { width: 40px; height: 1px; background: var(--clay-300); }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay-500); }
.hero h1 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .98; letter-spacing: -.01em;
  max-width: 14ch;
  margin-bottom: 28px;
}
.hero h1 .em { font-style: italic; color: var(--clay-300); font-weight: 500; }
.hero h1 .br { display: block; }
.hero p.lead {
  font-family: var(--f-display); font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4; max-width: 56ch;
  color: rgba(247,243,236,.86); font-weight: 300;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid rgba(247,243,236,.15);
}
.hero-meta .item {
  display: flex; flex-direction: column; gap: 2px;
}
.hero-meta .num {
  font-family: var(--f-display); font-size: 36px;
  font-weight: 500; color: var(--clay-300);
  line-height: 1;
}
.hero-meta .lbl {
  font-size: 11px; color: var(--sage-200);
  letter-spacing: .2em; text-transform: uppercase;
  margin-top: 6px;
}

/* ── Section primitive ───────────────────────────────────── */
.section { padding: 100px 0; position: relative; }
.section-tight { padding: 72px 0; }
.section-paper { background: var(--paper); }
.section-paper-2 { background: var(--paper-2); }
.section-cream { background: var(--paper-3); }
.section-forest { background: var(--forest-900); color: var(--paper); }
.section-sage { background: var(--sage-100); }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; color: var(--clay-600);
  letter-spacing: .28em; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-eyebrow .line { width: 40px; height: 1px; background: currentColor; }
.section-forest .section-eyebrow { color: var(--clay-300); }

.section-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.05; letter-spacing: -.01em;
  color: var(--forest-900); margin-bottom: 24px;
}
.section-forest .section-title { color: var(--paper); }
.section-title .em { font-style: italic; color: var(--clay-600); }
.section-forest .section-title .em { color: var(--clay-300); }

.section-lead {
  font-family: var(--f-display); font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5; max-width: 60ch; color: var(--ink-2);
  font-weight: 300;
}
.section-forest .section-lead { color: rgba(247,243,236,.86); }

.section-header { max-width: 720px; margin-bottom: 64px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center .section-eyebrow { justify-content: center; }

/* ── Intro / hero spillover ──────────────────────────────── */
.intro {
  display: block;
  max-width: 760px; margin: 0 auto;
}
.intro-text p { font-size: 17px; color: var(--ink-2); margin-bottom: 18px; }
.intro-text p strong { color: var(--forest-900); font-weight: 600; }
.intro-portrait {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-3);
}
.intro-portrait img { width: 100%; height: 100%; object-fit: cover; }
.intro-portrait::after {
  content: ''; position: absolute; inset: 16px;
  border: 1px solid rgba(247,243,236,.4); border-radius: var(--r-sm);
  pointer-events: none;
}
.intro-portrait-frame {
  position: absolute; inset: -20px -20px 20px 20px;
  border: 2px solid var(--clay-500); border-radius: var(--r-md);
  z-index: -1;
}

/* ── Credentials section ─────────────────────────────────── */
.creds {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
@media (max-width: 920px) { .creds { grid-template-columns: 1fr; gap: 40px; } }
.creds-mark {
  font-family: var(--f-display);
  font-size: clamp(80px, 14vw, 180px); font-weight: 400;
  line-height: .85; color: var(--forest-900);
  letter-spacing: -.02em;
}
.creds-mark .em { font-style: italic; color: var(--clay-600); }
.creds-list { display: flex; flex-direction: column; gap: 24px; }
.creds-item {
  padding: 24px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px; align-items: start;
}
.creds-item:last-child { border-bottom: none; }
.creds-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sage-100); color: var(--forest-700);
  display: grid; place-items: center;
}
.creds-icon svg { width: 22px; height: 22px; }
.creds-item h4 {
  font-family: var(--f-display); font-size: 22px; font-weight: 500;
  color: var(--forest-900); margin-bottom: 6px;
}
.creds-item p { color: var(--ink-2); font-size: 15px; }

/* ── Specialties grid ────────────────────────────────────── */
.spec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 48px;
}
@media (max-width: 900px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-chip {
  background: var(--white); padding: 24px 22px;
  border-radius: var(--r-md); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  transition: all var(--t-med);
}
.spec-chip:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: var(--sage-300);
}
.spec-chip .marker {
  width: 6px; height: 36px; border-radius: 3px;
  background: linear-gradient(180deg, var(--clay-500), var(--clay-700));
  flex-shrink: 0;
}
.spec-chip .name {
  font-family: var(--f-display); font-size: 19px;
  font-weight: 500; color: var(--forest-900);
  line-height: 1.25;
}

/* ── Modalities (approach methods) ───────────────────────── */
.mods {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
@media (max-width: 900px) { .mods { grid-template-columns: 1fr; } }
.mod-card {
  background: var(--paper); padding: 36px 32px;
  border-radius: var(--r-md);
  border-top: 3px solid var(--clay-500);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-med);
}
.section-forest .mod-card {
  background: rgba(247,243,236,.06);
  border-top-color: var(--clay-300);
  border-left: 1px solid rgba(247,243,236,.08);
  border-right: 1px solid rgba(247,243,236,.08);
  border-bottom: 1px solid rgba(247,243,236,.08);
}
.mod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mod-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--clay-600); margin-bottom: 18px;
}
.section-forest .mod-tag { color: var(--clay-300); }
.mod-card h3 {
  font-family: var(--f-display); font-size: 26px; font-weight: 500;
  color: var(--forest-900); line-height: 1.15; margin-bottom: 14px;
}
.section-forest .mod-card h3 { color: var(--paper); }
.mod-card p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.section-forest .mod-card p { color: rgba(247,243,236,.78); }

/* ── Audiences (5 cards) ─────────────────────────────────── */
.audiences {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
@media (max-width: 980px) { .audiences { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .audiences { grid-template-columns: 1fr; } }
.aud-card {
  background: var(--white); padding: 40px 32px;
  border-radius: var(--r-md); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: all var(--t-med);
}
.aud-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--sage-300);
}
.aud-card .num {
  font-family: var(--f-display); font-size: 56px;
  font-weight: 400; font-style: italic; line-height: 1;
  color: var(--clay-300);
  position: absolute; top: 24px; right: 28px;
}
.aud-card h3 {
  font-family: var(--f-display); font-size: 26px;
  font-weight: 500; color: var(--forest-900);
  margin-bottom: 14px; line-height: 1.2; max-width: 14ch;
}
.aud-card p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.aud-card .more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; font-size: 13px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--forest-700);
}
.aud-card .more svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.aud-card:hover .more svg { transform: translateX(4px); }

/* ── Quote / pull-quote ──────────────────────────────────── */
.quote {
  text-align: center; max-width: 940px; margin: 0 auto;
  position: relative;
}
.quote .open {
  font-family: var(--f-display); font-size: 96px;
  line-height: 1; color: var(--clay-500); opacity: .35;
  margin-bottom: -32px;
}
.quote blockquote {
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.35; color: var(--forest-900);
  font-weight: 400;
}
.section-forest .quote blockquote { color: var(--paper); }
.quote .attribution {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 36px; font-size: 13px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--clay-600);
}
.section-forest .quote .attribution { color: var(--clay-300); }
.quote .attribution .line { width: 32px; height: 1px; background: currentColor; }

/* ── Featured-on strip ───────────────────────────────────── */
.featured {
  background: var(--paper-2);
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.featured .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.featured .label {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.featured .pubs { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.featured a {
  font-family: var(--f-display); font-size: 22px; font-weight: 500;
  color: var(--forest-800); font-style: italic;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.featured a:hover { border-bottom-color: var(--clay-600); }

/* ── CTA banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
  color: var(--paper); padding: 96px 0;
  position: relative; overflow: hidden;
}
.cta-banner::before { content: none; }
.cta-banner .wrap { position: relative; z-index: 2; text-align: center; }
.cta-banner h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.05;
  margin-bottom: 20px; max-width: 18ch;
  margin-left: auto; margin-right: auto;
}
.cta-banner h2 .em { font-style: italic; color: var(--clay-300); }
.cta-banner p {
  font-family: var(--f-display); font-size: 20px;
  color: rgba(247,243,236,.85); font-weight: 300;
  max-width: 56ch; margin: 0 auto 36px;
}
.cta-banner .actions {
  display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.cta-banner .badge {
  display: inline-block; margin-top: 36px; padding: 10px 20px;
  border: 1px solid rgba(247,243,236,.25); border-radius: var(--r-pill);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage-200);
}

/* ── Insurance / consultation strip ──────────────────────── */
.consultation {
  background: var(--sage-100);
  padding: 48px 0; text-align: center;
}
.consultation p {
  font-family: var(--f-display); font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3; color: var(--forest-900); font-weight: 400;
}
.consultation p .em { font-style: italic; color: var(--clay-600); }

/* ── Footer ──────────────────────────────────────────────── */
footer.site-footer {
  background: var(--forest-900); color: var(--paper);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px; margin-bottom: 64px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-mark { background: var(--paper); color: var(--forest-900); }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand .brand-cred { color: var(--sage-200); }
.footer-brand p {
  margin-top: 20px; color: rgba(247,243,236,.7);
  font-size: 14px; max-width: 30ch; line-height: 1.6;
}
.footer-col h5 {
  font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--clay-300); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(247,243,236,.78); font-size: 14px; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--paper); }
.footer-col p { color: rgba(247,243,236,.78); font-size: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(247,243,236,.1);
  color: rgba(247,243,236,.55); font-size: 12px;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom .legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* ── Reveal animation ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms ease, transform 800ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
