/* ============================================================
   Nemeton Health Group — shared stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Karla:wght@400;500;600&display=swap');

:root{
  --forest:      #2C3524;
  --forest-deep: #1E251A;
  --olive:       #7C8C56;
  --olive-light: #A9B48A;
  --mist:        #93AAB2;
  --mist-light:  #DCE6E6;
  --parchment:   #F6F4EC;
  --parchment-2: #EEEADB;
  --ink:         #262B1F;
  --white:       #FFFFFF;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1120px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

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

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

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

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4{
  font-family: var(--serif);
  color: var(--forest);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1{ font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 500; }
h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3{ font-size: 1.3rem; }

p{ margin: 0 0 1em; max-width: 62ch; }

.lede{
  font-size: 1.15rem;
  color: var(--forest);
  max-width: 56ch;
}

.btn{
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  border: 1.5px solid transparent;
}
.btn-primary{
  background: var(--forest);
  color: var(--parchment);
}
.btn-primary:hover{ background: var(--forest-deep); transform: translateY(-1px); }
.btn-outline{
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover{ background: var(--forest); color: var(--parchment); }

.btn:focus-visible, a:focus-visible, button:focus-visible{
  outline: 3px solid var(--mist);
  outline-offset: 2px;
}

/* ---------------- Header ---------------- */

.site-header{
  background: var(--parchment);
  border-bottom: 1px solid var(--parchment-2);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand img{ height: 46px; width: auto; }
.brand-text{
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--forest);
  line-height: 1.15;
}
.brand-text small{
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  color: var(--olive);
  font-weight: 600;
  letter-spacing: 0.11em;
  margin-top: 2px;
}

nav.main-nav ul{
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav.main-nav a{
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--forest);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a.active{
  border-bottom-color: var(--olive);
}

.nav-toggle{ display: none; }

@media (max-width: 780px){
  nav.main-nav{
    display: none;
    width: 100%;
  }
  nav.main-nav.open{ display: block; }
  nav.main-nav ul{
    flex-direction: column;
    gap: 4px;
    padding: 16px 0 6px;
  }
  .site-header .wrap{ flex-wrap: wrap; }
  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 10px;
    border: 1.5px solid var(--forest);
    background: transparent;
    font-size: 1.2rem;
    color: var(--forest);
    cursor: pointer;
  }
}

/* ---------------- Hero ---------------- */

.hero{
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}
.hero-eyebrow{
  color: var(--olive);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.hero-actions{
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-figure{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}
.hero-figure::before{
  content: "";
  position: absolute;
  inset: 6%;
  background: radial-gradient(circle, var(--parchment-2) 0%, var(--parchment-2) 62%, transparent 72%);
  border-radius: 50%;
  z-index: 0;
}
.hero-figure img{
  position: relative;
  z-index: 1;
  width: 82%;
  max-width: 380px;
  filter: drop-shadow(0 18px 30px rgba(44,53,36,0.14));
}

@media (max-width: 860px){
  .hero{ padding: 56px 0 60px; }
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-figure{ order: -1; max-width: 260px; margin: 0 auto 12px; aspect-ratio: 1/1; }
}

/* ---------------- Wave divider ---------------- */

.wave{
  display: block;
  width: 100%;
  line-height: 0;
}
.wave svg{ width: 100%; height: 60px; display: block; }

/* ---------------- Sections ---------------- */

section{ padding: 72px 0; }
.section-tight{ padding: 48px 0; }

.section-forest{
  background: var(--forest);
  color: var(--parchment);
}
.section-forest h2, .section-forest h3{ color: var(--parchment); }
.section-forest p{ color: var(--mist-light); }

.section-sage{
  background: var(--parchment-2);
}

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 780px){
  .two-col{ grid-template-columns: 1fr; gap: 32px; }
}

.section-head{
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head p{ margin-left: auto; margin-right: auto; }

/* ---------------- Continuum of care (sequence) ---------------- */

.continuum{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}
.continuum::before{
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--olive-light) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.step{
  position: relative;
  z-index: 1;
  padding: 0 22px;
  text-align: left;
}
.step-num{
  counter-increment: step;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--parchment);
  border: 2px solid var(--forest);
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step-num::before{ content: counter(step); }

@media (max-width: 860px){
  .continuum{ grid-template-columns: 1fr; gap: 36px; }
  .continuum::before{ display: none; }
}

/* ---------------- States grid ---------------- */

.states-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.state-card{
  background: var(--white);
  border: 1px solid var(--parchment-2);
  border-radius: 14px;
  padding: 22px 20px;
}
.state-card .abbr{
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--olive);
  display: block;
  margin-bottom: 6px;
}
.state-card h3{ margin-bottom: 4px; font-size: 1.05rem; }
.state-card p{ font-size: 0.92rem; margin: 0; color: #55604A; }

/* ---------------- Contact cards ---------------- */

.contact-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.contact-card{
  background: var(--white);
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid var(--parchment-2);
}
.contact-card h3{ margin-bottom: 8px; }
.contact-card .email-link{
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 2px solid var(--olive-light);
  padding-bottom: 2px;
}
.contact-card .email-link:hover{ border-color: var(--forest); }

/* ---------------- Values / list cards ---------------- */

.value-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.value-item h3{ margin-bottom: 8px; }
.value-item{ border-left: 3px solid var(--olive-light); padding-left: 18px; }

/* ---------------- Program detail blocks ---------------- */

.program-block{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--parchment-2);
}
.program-block:first-of-type{ border-top: none; }
.program-mark{
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--olive-light);
}
@media (max-width: 640px){
  .program-block{ grid-template-columns: 1fr; }
}

/* ---------------- CTA band ---------------- */

.cta-band{
  text-align: center;
}
.cta-band h2{ margin-bottom: 14px; }
.cta-band .btn{ margin-top: 18px; }

/* ---------------- Footer ---------------- */

footer.site-footer{
  background: var(--parchment-2);
  padding-top: 56px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #DCD6C2;
}
.footer-brand img{ height: 108px; margin-bottom: 14px; margin-left: -6px; }
.footer-brand p{ font-size: 0.92rem; color: #55604A; }
.footer-col h4{
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 14px;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li{ margin-bottom: 10px; }
.footer-col a{ font-size: 0.94rem; color: #444C39; }
.footer-col a:hover{ color: var(--forest); }
.footer-states{ font-size: 0.9rem; color: #55604A; line-height: 1.9; }
.footer-bottom{
  padding: 22px 0 30px;
  font-size: 0.85rem;
  color: #6B7360;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 780px){
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
}

/* ---------------- Page hero (interior pages) ---------------- */

.page-hero{
  padding: 56px 0 40px;
  background: var(--parchment-2);
}
.page-hero .eyebrow{
  color: var(--olive);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
}
