/*
Theme Name: Recoverion Child
Theme URI:    https://recoverion.com
Description:  Child theme for Recoverion.com. Carries the full Recoverion design system: tokens, typography, components, and layout. Parent theme: GeneratePress.
Author:       Recoverion
Template:     generatepress
Version:      1.0.4
License:      Private
Text Domain:  recoverion-child
*/

/* ============================================================
   IMPORT PARENT THEME
   ============================================================ */
@import url("../generatepress/style.css");


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:       #F2ECDF;
  --bg-2:     #EBE3D2;
  --surface:  #FCFAF3;

  /* Typography */
  --ink:      #192A23;
  --muted:    #586159;

  /* Brand greens */
  --green-900: #15281F;
  --green-700: #2C5544;
  --green-500: #3C7560;

  /* Brass accent */
  --brass:      #A9762C;
  --brass-soft: #C39A53;

  /* Borders */
  --line:        rgba(25, 42, 35, 0.13);
  --line-strong: rgba(25, 42, 35, 0.22);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(21,40,31,.06), 0 4px 14px rgba(21,40,31,.05);
  --shadow-md: 0 8px 30px rgba(21,40,31,.10), 0 2px 6px rgba(21,40,31,.06);

  /* Shape */
  --radius:    14px;
  --radius-lg: 22px;

  /* Layout */
  --maxw: 1180px;

  /* Fonts */
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Libre Franklin", -apple-system, BlinkMacSystemFont, sans-serif;
}


/* ============================================================
   2. GLOBAL RESET AND BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}


/* ============================================================
   3. HEADER AND NAVIGATION
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 236, 223, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.42rem;
  letter-spacing: -.01em;
  color: var(--green-900);
}

.brand .mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--green-700);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Dropdown navigation (added) */
.nav-links { gap: 26px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-item.has-sub > a::after { content: "\25BE"; font-size: .62em; opacity: .6; }
.nav-item .sub {
  position: absolute; top: 100%; left: 0; min-width: 234px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 8px; display: none; flex-direction: column; gap: 2px; z-index: 60;
}
.nav-item.has-sub:hover > .sub,
.nav-item.has-sub:focus-within > .sub { display: flex; }
.nav-item .sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .88rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav-item .sub a:hover { background: var(--bg-2); color: var(--green-900); }
.nav-item.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }


/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .93rem;
  padding: 11px 20px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary {
  background: var(--green-900);
  color: #F6F1E6;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--green-700);
}

.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--green-700);
  background: rgba(44, 85, 68, .06);
}

.btn-arrow {
  transition: transform .2s;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}


/* ============================================================
   5. KICKER / EYEBROW LABELS
   ============================================================ */
.kicker,
.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}


/* ============================================================
   6. HERO BLOCK
   ============================================================ */
.hero {
  position: relative;
  padding: 74px 0 64px;
  overflow: hidden;
}

.hero-contours {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  color: var(--green-500);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -.022em;
  color: var(--green-900);
  max-width: 16ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--green-700);
}

.hero p.lede {
  font-size: clamp(1.07rem, 1.7vw, 1.28rem);
  color: var(--muted);
  max-width: 54ch;
  margin-top: 26px;
  line-height: 1.62;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: .88rem;
  color: var(--muted);
}

.hero-trust svg {
  flex: none;
  color: var(--green-500);
}


/* ============================================================
   7. STATS STRIP
   ============================================================ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
  z-index: 1;
}

.stats .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.stat {
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat .label-lead {
  font-size: .82rem;
  color: var(--muted);
  max-width: 24ch;
  line-height: 1.45;
}

.stat .num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.3rem;
  color: var(--green-900);
  letter-spacing: -.02em;
  line-height: 1;
}

.stat .desc {
  font-size: .84rem;
  color: var(--muted);
  margin-top: 8px;
}


/* ============================================================
   8. SECTION SHELL
   ============================================================ */
section.block {
  padding: 88px 0;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 60ch;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--green-900);
}

.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 18px;
  max-width: 56ch;
}

/* Hub intro variant used on hub pages */
.hub-intro {
  padding: 52px 0 64px;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--line);
}

.hub-h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.022em;
  color: var(--green-900);
  margin-bottom: 20px;
}

.hub-lede {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.68;
  max-width: 56ch;
}

.block {
  padding: 64px 0;
  position: relative;
  z-index: 1;
}

.block + .block {
  border-top: 1px solid var(--line);
}


/* ============================================================
   9. GAP QUESTION CARDS
   ============================================================ */
.gap {
  background: var(--green-900);
  color: #EDE6D5;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}

.gap::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195,154,83,.16), transparent 70%);
}

.gap .kicker {
  color: var(--brass-soft);
}

.gap .section-head h2 {
  color: #F6F1E6;
}

.gap .section-head p {
  color: #BFC9BF;
}

.gap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  position: relative;
  z-index: 2;
}

.q-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(246, 241, 230, .04);
  border: 1px solid rgba(246, 241, 230, .1);
  transition: background .22s ease, transform .22s ease, border-color .22s;
}

.q-card:hover {
  background: rgba(246, 241, 230, .09);
  transform: translateY(-3px);
  border-color: rgba(195, 154, 83, .5);
}

.q-num {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--brass-soft);
  font-weight: 600;
  flex: none;
  padding-top: 2px;
  min-width: 26px;
}

.q-card .q-text {
  font-size: 1.02rem;
  font-weight: 500;
  color: #F1EBDC;
  line-height: 1.4;
}

.q-card .q-sub {
  font-size: .85rem;
  color: #A9B4A8;
  margin-top: 5px;
  font-weight: 400;
}

.q-card .q-go {
  margin-left: auto;
  color: var(--brass-soft);
  flex: none;
  opacity: .6;
  transition: opacity .2s, transform .2s;
}

.q-card:hover .q-go {
  opacity: 1;
  transform: translateX(3px);
}


/* ============================================================
   10. PILLAR CARDS
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 28px;
  transition: transform .22s ease, box-shadow .25s ease, border-color .22s;
  position: relative;
  overflow: hidden;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.pillar .p-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(44, 85, 68, .09);
  color: var(--green-700);
  margin-bottom: 20px;
}

.pillar h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--green-900);
  letter-spacing: -.01em;
}

.pillar p {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.55;
}

.pillar .p-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-700);
}

.pillar:hover .p-link .btn-arrow {
  transform: translateX(3px);
}


/* ============================================================
   11. TOOLS LIST
   ============================================================ */
.tools-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tools-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Tool cards (hub page variant) */
.tools-primary,
.tools-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tools-secondary {
  margin-top: 20px;
}

.tool,
.tool-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.tool:hover,
.tool-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}

.tool .t-ico,
.tool-card .t-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(169, 118, 44, .12);
  color: var(--brass);
  flex: none;
}

.tool h4,
.tool-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-900);
}

.tool p,
.tool-card p {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 2px;
}

.tool .tag,
.tool-card .tag {
  margin-left: auto;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brass);
  background: rgba(169, 118, 44, .1);
  padding: 4px 9px;
  border-radius: 100px;
  flex: none;
}


/* ============================================================
   12. LOCAL / CHIP ROW
   ============================================================ */
.local {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 56px 52px;
  border: 1px solid var(--line);
}

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.chip {
  font-size: .86rem;
  font-weight: 500;
  color: var(--green-700);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 15px;
  border-radius: 100px;
}

.local h4 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.local .local-block + .local-block {
  margin-top: 28px;
}


/* ============================================================
   13. TRUST GRID
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 28px;
}

.trust-item .t-ico-2 {
  width: 40px;
  height: 40px;
  color: var(--green-700);
  margin-bottom: 16px;
}

.trust-item h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green-900);
}

.trust-item p {
  font-size: .89rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.55;
}


/* ============================================================
   14. SUPPORT / VETERANS CRISIS LINE BAND
   ============================================================ */
.support {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  color: #EDE6D5;
  border-radius: var(--radius-lg);
  padding: 36px 44px;
}

.support .s-ico {
  width: 48px;
  height: 48px;
  flex: none;
  color: var(--brass-soft);
}

.support h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: #F6F1E6;
}

.support p {
  font-size: .95rem;
  color: #C7D1C6;
  margin-top: 6px;
  max-width: 52ch;
}

.support .crisis {
  margin-left: auto;
  text-align: right;
  flex: none;
}

.support .crisis .ph {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: #F6F1E6;
}

.support .crisis .lbl {
  font-size: .8rem;
  color: #BBC6BB;
}

/* Support strip variant used on tool pages */
.support-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  color: #EDE6D5;
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  margin-top: 52px;
}

.support-strip .s-ico {
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--brass-soft);
}

.support-strip h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: #F6F1E6;
}

.support-strip p {
  font-size: .88rem;
  color: #C7D1C6;
  margin-top: 3px;
}

.support-strip .ph {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: #F6F1E6;
  margin-left: auto;
}

.support-strip .lbl {
  font-size: .76rem;
  color: #BBC6BB;
}


/* ============================================================
   15. DIRECTORY CARDS
   ============================================================ */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.center-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .25s ease, border-color .22s;
}

.center-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.center-card .area {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}

.center-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.16rem;
  color: var(--green-900);
  letter-spacing: -.01em;
  line-height: 1.22;
}

.center-card p {
  font-size: .89rem;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.55;
  flex: 1;
}

.center-card .c-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--green-700);
}

.center-card:hover .c-link .btn-arrow {
  transform: translateX(3px);
}

/* Phase 3 partner-ready: add class "featured" to one card */
.center-card.featured {
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass) inset, var(--shadow-md);
}

.center-card .feat-tag {
  position: absolute;
  top: 0;
  right: 0;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #F6F1E6;
  background: var(--brass);
  padding: 5px 12px;
  border-bottom-left-radius: 10px;
}

.dir-note {
  font-size: .84rem;
  color: var(--muted);
  margin-top: 28px;
  max-width: 80ch;
  line-height: 1.65;
  padding-left: 18px;
  border-left: 2px solid var(--line-strong);
}


/* ============================================================
   16. EDITORIAL STANDARDS PANEL
   ============================================================ */
.standards {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-top: 44px;
}

.standards h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--green-900);
  font-weight: 600;
}

.standards .sub {
  font-size: .92rem;
  color: var(--muted);
  margin: 8px 0 26px;
  max-width: 60ch;
}

.std-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 44px;
}

.std-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.5;
}

.std-item svg {
  flex: none;
  color: var(--green-500);
  margin-top: 2px;
}

.std-item b {
  font-weight: 600;
  color: var(--green-900);
}


/* ============================================================
   17. BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 16px 0;
  position: relative;
  z-index: 1;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: .84rem;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "/";
  opacity: .45;
}

.breadcrumb a {
  color: var(--green-700);
  font-weight: 500;
}


/* ============================================================
   18. FOOTER
   ============================================================ */
footer {
  background: var(--green-900);
  color: #C7D1C6;
  padding: 70px 0 34px;
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(246, 241, 230, .12);
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  color: #F6F1E6;
  margin-bottom: 18px;
}

.foot-brand .mark {
  width: 28px;
  height: 28px;
}

.foot-col h5 {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 18px;
}

.foot-col a {
  display: block;
  font-size: .9rem;
  color: #BAC5BA;
  margin-bottom: 11px;
  transition: color .2s;
}

.foot-col a:hover {
  color: #F6F1E6;
}

.foot-about {
  font-size: .9rem;
  color: #A9B4A8;
  max-width: 38ch;
  line-height: 1.6;
}

.disclaimer {
  font-size: .8rem;
  color: #8FA092;
  line-height: 1.6;
  max-width: 90ch;
  margin-top: 34px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  font-size: .82rem;
  color: #8FA092;
}

.foot-sources {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.foot-sources a {
  color: #A9B4A8;
}

.foot-sources a:hover {
  color: var(--brass-soft);
}


/* ============================================================
   19. SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Hero staggered load animation */
.hero .eyebrow,
.hero h1,
.hero .lede,
.hero .hero-cta,
.hero .hero-trust {
  opacity: 0;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero .eyebrow  { animation-delay: .05s; }
.hero h1        { animation-delay: .16s; }
.hero .lede     { animation-delay: .30s; }
.hero .hero-cta { animation-delay: .44s; }
.hero .hero-trust { animation-delay: .56s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   20. POLICY / LEGAL PAGE LAYOUT
   ============================================================ */
.pol-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
  padding: 56px 0 96px;
}

.pol-nav {
  position: sticky;
  top: 94px;
}

.pol-nav h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}

.pol-nav a {
  display: block;
  font-size: .89rem;
  color: var(--muted);
  padding: 7px 0;
  border-left: 2px solid var(--line);
  padding-left: 14px;
  transition: color .2s, border-color .2s;
}

.pol-nav a:hover,
.pol-nav a.active {
  color: var(--green-700);
  border-left-color: var(--green-700);
}

.pol-section {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.pol-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.pol-section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--green-900);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.sec-num {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brass);
  flex: none;
}

.pol-section p {
  font-size: .96rem;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 16px;
}

.pol-section h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-900);
  margin: 28px 0 10px;
}

.pol-section ul,
.pol-section ol {
  padding-left: 20px;
  font-size: .94rem;
  color: var(--muted);
  line-height: 1.7;
}

.pol-section li {
  margin-bottom: 8px;
}

.pol-section a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}


/* ============================================================
   21. GLOSSARY / RESOURCE LIST ITEMS
   ============================================================ */
.item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.5;
}

.item-list svg {
  flex: none;
  color: var(--green-500);
  margin-top: 2px;
}


/* ============================================================
   22. PRIVACY PROMISE BADGE
   ============================================================ */
.privacy-promise {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--green-700);
  background: rgba(44, 85, 68, .07);
  border: 1px solid rgba(44, 85, 68, .15);
  padding: 10px 16px;
  border-radius: 100px;
}

.privacy-promise svg {
  flex: none;
}


/* ============================================================
   23. TOOL SIDEBAR (cost estimator / coverage checker)
   ============================================================ */
.tool-sidebar {
  position: sticky;
  top: 100px;
}

.info-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin-bottom: 14px;
}

.info-box h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}

.info-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: .87rem;
  color: var(--ink);
  line-height: 1.45;
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-item svg {
  flex: none;
  color: var(--green-500);
  margin-top: 2px;
}

.info-item .item-label {
  font-weight: 600;
  color: var(--green-900);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}


/* ============================================================
   24. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 960px) {
  .stats .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }

  .stat:nth-child(odd) {
    padding-right: 24px;
    border-right: 1px solid var(--line);
  }

  .pillars {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dir-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tools-wrap,
  .local-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
  }

  .gap {
    padding: 48px 30px;
  }

  .pol-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pol-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .pol-nav a {
    border-left: none;
    padding-left: 0;
    border-bottom: 2px solid var(--line);
    padding-bottom: 4px;
  }

  .tools-primary,
  .tools-secondary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gap-grid,
  .pillars,
  .trust-grid,
  .dir-grid,
  .std-grid {
    grid-template-columns: 1fr;
  }

  .stats .wrap {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none !important;
    padding: 22px 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .gap {
    padding: 40px 22px;
  }

  .local,
  .support,
  .standards {
    padding: 32px 24px;
  }

  .support .crisis {
    margin-left: 0;
    text-align: left;
    width: 100%;
    margin-top: 6px;
  }

  section.block {
    padding: 64px 0;
  }

  .foot-top {
    grid-template-columns: 1fr;
  }

  .wrap {
    padding: 0 18px;
  }
}

/* Mobile navigation (added) */
@media (max-width: 900px) {
  .menu-toggle { display: block; font-size: 1.55rem; line-height: 1; color: var(--green-900); padding: 4px 6px; }
  .nav .btn-primary { display: none; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 6px 20px 16px; max-height: calc(100vh - 74px); overflow-y: auto;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-item { position: static; display: block; }
  .nav-item > a { display: flex; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--line); }
  .nav-item.has-sub > a::after { margin-left: auto; }
  .nav-item .sub {
    position: static; display: flex; min-width: 0; border: none; box-shadow: none;
    background: transparent; border-radius: 0; padding: 2px 0 10px 14px;
  }
  .nav-item .sub a { padding: 8px 2px; white-space: normal; }
  .nav-item.has-sub::after { content: none; }
}

/* ============================================================
   20. BLOG (listing + single post)
   ============================================================ */
.blog-wrap { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 80px; }
.blog-head { max-width: 60ch; margin-bottom: 40px; }
.blog-head .kicker { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.blog-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem,4vw,3rem); line-height: 1.06; color: var(--green-900); }
.blog-lede { font-size: 1.05rem; color: var(--muted); line-height: 1.65; margin-top: 18px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card .post-meta { font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.post-title { font-family: var(--serif); font-weight: 600; font-size: 1.24rem; line-height: 1.25; color: var(--green-900); margin-bottom: 10px; }
.post-excerpt { font-size: .92rem; color: var(--muted); line-height: 1.6; flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .85rem; font-weight: 600; color: var(--green-700); }
.blog-pagination { margin-top: 40px; }
.blog-pagination a, .blog-pagination .current { padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; margin-right: 6px; font-size: .9rem; color: var(--green-700); text-decoration: none; }
.blog-pagination .current { background: var(--green-900); color: #F6F1E6; border-color: var(--green-900); }

.breadcrumb-bar { border-bottom: 1px solid var(--line); padding: 14px 0; font-size: .84rem; color: var(--muted); }
.breadcrumb-bar a { color: var(--green-700); font-weight: 500; text-decoration: none; }
.post-article { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.post-article .post-meta { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.post-h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem,4.2vw,3.1rem); line-height: 1.07; letter-spacing: -.02em; color: var(--green-900); margin-bottom: 28px; }
.post-body { font-size: 1.06rem; line-height: 1.75; color: var(--ink); }
.post-body p { margin-bottom: 20px; }
.post-body h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: var(--green-900); margin: 38px 0 14px; }
.post-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--green-900); margin: 28px 0 10px; }
.post-body a { color: var(--green-700); text-decoration: underline; }
.post-body ul, .post-body ol { margin: 0 0 20px 1.2em; }
.post-body li { margin-bottom: 8px; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 20px 0; }
.post-body blockquote { border-left: 3px solid var(--brass-soft); padding-left: 18px; margin: 24px 0; color: var(--muted); font-style: italic; }

@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* 21. Treatment-center hero band (calm-nature imagery) */
.ctr-hero { max-width: var(--maxw); margin: 0 auto; padding: 28px 24px 0; }
.ctr-hero .ctr-hero-img,
.ctr-hero img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; display: block; box-shadow: 0 1px 3px rgba(25,42,35,.08); }
@media (max-width: 640px) { .ctr-hero { padding: 18px 16px 0; } .ctr-hero .ctr-hero-img, .ctr-hero img { height: 200px; border-radius: 12px; } }

