/* ============================================
   The Core Release Lab — The Somatic Sanctuary
   Muted Sage · Warm Cream · Soft Sky Blue
   A deep breath for the nervous system.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Outfit:wght@200;300;400;500&display=swap');

:root {
  /* The Somatic Sanctuary Palette */
  --sage: #779674;
  --sage-deep: #598059;
  --sage-muted: #A3BFA0;
  --sage-soft: rgba(139,168,136,0.15);
  --sage-glow: rgba(139,168,136,0.18);

  --cream: #F5F0E8;
  --cream-warm: #EDE6DA;
  --cream-deep: #E2D9CA;
  --ecru: #D9CEBC;

  --sky: #B8D4E3;
  --sky-soft: rgba(184,212,227,0.15);
  --sky-translucent: rgba(184,212,227,0.25);

  --moss: #1E2A1E;
  --charcoal: #3A3A38;
  --charcoal-light: #5A5A56;
  --text-body: #3D4A3D;
  --text-light: #6A756A;

  --white: #FFFFFF;
  --pure: #FFFFFF;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Outfit', 'Inter', sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.85;
  font-size: 16px;
  font-weight: 300;
  overflow-x: hidden;
}

a { color: var(--sage-deep); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--moss); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.15;
  color: var(--moss);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p { color: var(--text-body); margin-bottom: 1rem; font-weight: 300; }

/* --- Layout --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.container--narrow { max-width: 780px; }
.section { padding: 7rem 0; position: relative; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); border-top: 1px solid var(--sage-soft); border-bottom: 1px solid var(--sage-soft); }
.section--sage { background: var(--sage-soft); }
.text-center { text-align: center; }

.grid { display: grid; gap: 2.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* --- Label --- */
.label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--sage-deep);
  font-weight: 500;
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
}

.line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--sage-muted), transparent);
  margin: 1.5rem auto 0;
}

.line--left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.05rem 2.6rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  border: none;
  text-decoration: none;
}

.btn--sage {
  background: var(--sage);
  color: var(--white);
}

.btn--sage:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(107,143,107,0.2);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--sage-muted);
  color: var(--moss);
}

.btn--outline:hover {
  background: var(--sage-soft);
  border-color: var(--sage);
  transform: translateY(-2px);
  color: var(--moss);
}

.btn--cream {
  background: var(--cream);
  color: var(--moss);
  border: 1px solid var(--ecru);
}

.btn--cream:hover {
  background: var(--cream-warm);
  transform: translateY(-2px);
  color: var(--moss);
}

.btn--sm { padding: 0.7rem 1.5rem; font-size: 0.75rem; }
.btn--block { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(245, 240, 232, 0.95);
  border-bottom: 1px solid var(--ecru);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--moss);
  display: flex;
  align-items: center;
}

.header__logo:hover { color: var(--moss); }

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav__list { display: flex; align-items: center; gap: 2rem; }

.nav__link {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.3s var(--ease);
}

.nav__link:hover { color: var(--moss); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--moss);
  margin: 6px 0;
  transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245,240,232,0.4) 0%,
    rgba(245,240,232,0.6) 40%,
    rgba(245,240,232,0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero h1 {
  margin-bottom: 1.8rem;
  font-weight: 300;
  line-height: 1.12;
}

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

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 3rem;
  max-width: 560px;
  line-height: 1.9;
  font-weight: 300;
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__stat {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ecru);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--sage-deep);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

/* ---------- Leaf particles (subtle nature animation) ---------- */
.neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.neural-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--sage-muted);
  border-radius: 50%;
  opacity: 0;
  animation: leafFloat 6s ease-in-out infinite;
}

@keyframes leafFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  50% { opacity: 0.35; transform: translateY(-15px) scale(1.2); }
}

/* ---------- 95% Rule Section ---------- */
.rule__number {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 300;
  color: var(--sage-muted);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.4;
}

/* ---------- Gap Section ---------- */
.gap__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap__image {
  width: 100%;
  max-width: 750px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gap__image img { width: 100%; height: auto; }

.gap__columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 4rem;
}

.gap__col {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.gap__col--current {
  background: var(--white);
  border: 1px solid var(--ecru);
}

.gap__col--becoming {
  background: var(--sage-soft);
  border: 1px solid rgba(139,168,136,0.2);
}

.gap__col h3 { margin-bottom: 1.5rem; }
.gap__col--becoming h3 { color: var(--sage-deep); }

.gap__col ul li {
  padding: 0.6rem 0;
  font-size: 0.92rem;
  color: var(--text-body);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding-left: 1.2rem;
  position: relative;
}

.gap__col--becoming ul li { border-bottom-color: rgba(139,168,136,0.12); }

.gap__col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ecru);
  transform: translateY(-50%);
}

.gap__col--becoming ul li::before { background: var(--sage); }

.gap__bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 280px;
}

.gap__bridge-line {
  width: 1px;
  height: 70px;
  background: linear-gradient(180deg, transparent, var(--sage-muted), transparent);
}

.gap__bridge-text {
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--sage-deep);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.5rem 0;
}

/* ---------- Service Highlight (Somatic Lineage Clearing) ---------- */
.service-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ecru);
  background: var(--white);
}

.service-highlight__image {
  position: relative;
  overflow: hidden;
}

.service-highlight__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-highlight__content {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-highlight__tm {
  font-size: 0.75rem;
  color: var(--sage-deep);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
}

.service-highlight__list { margin: 2rem 0; }

.service-highlight__list li {
  padding: 0.7rem 0;
  font-size: 0.92rem;
  color: var(--text-body);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding-left: 1.8rem;
  position: relative;
}

.service-highlight__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* ---------- Testimonial Cards ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--ecru);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.5s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(46,59,46,0.06);
  border-color: var(--sage-muted);
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  font-size: 0.78rem;
  color: var(--sage-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--ecru);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.5s var(--ease);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--sage-muted);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(46,59,46,0.08);
}

.pricing-card--featured {
  background: var(--sage-soft);
  border-color: rgba(139,168,136,0.25);
}

.pricing-card--featured::before {
  content: 'SIGNATURE';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--white);
  background: var(--sage);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-weight: 500;
}

.pricing-card h3 { margin-bottom: 0.5rem; }

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--sage-deep);
  font-weight: 300;
  margin-bottom: 0.3rem;
}

.pricing-card__price span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.pricing-card__duration {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ecru);
}

.pricing-card__desc {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-card__list { margin-bottom: 2.5rem; }

.pricing-card__list li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  font-size: 0.88rem;
  color: var(--text-body);
}

.pricing-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* ---------- Disclaimer (integrated, not intrusive) ---------- */
.disclaimer {
  background: var(--white);
  border: 1px solid var(--ecru);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  max-width: 780px;
  margin: 0 auto;
}

.disclaimer h4 {
  color: var(--sage-deep);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.disclaimer p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.85;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  background: var(--sage-soft);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184,212,227,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  margin-bottom: 1.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner p {
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ---------- Audit Lead Magnet ---------- */
.audit-section {
  background: linear-gradient(160deg, rgba(184,212,227,0.08), rgba(139,168,136,0.06));
}

.audit-card {
  background: var(--white);
  border: 1px solid var(--ecru);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.audit-card h3 { color: var(--sage-deep); margin-bottom: 1rem; }
.audit-card p { margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--moss);
  color: var(--sage-muted);
  padding: 5rem 0 2rem;
}

.footer h3, .footer h4 { color: var(--cream); }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--sage-muted);
}

.footer p { color: var(--sage-muted); }

.footer__links li { margin-bottom: 0.7rem; }
.footer__links a { color: var(--sage-muted); font-size: 0.88rem; }
.footer__links a:hover { color: var(--cream); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  text-align: center;
}

.footer__copy { font-size: 0.78rem; color: var(--sage-muted); }

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.2s; }
.fade-in-delay-2 { transition-delay: 0.4s; }
.fade-in-delay-3 { transition-delay: 0.6s; }

/* Nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46,59,46,0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: 1fr; }
  .service-highlight { grid-template-columns: 1fr; }
  .service-highlight__image { min-height: 320px; }
  .gap__columns { grid-template-columns: 1fr; }
  .gap__bridge {
    flex-direction: row;
    min-height: auto;
    padding: 1rem 0;
  }
  .gap__bridge-line { width: 70px; height: 1px; }
  .gap__bridge-text {
    writing-mode: horizontal-tb;
    padding: 0 1.5rem;
  }
}

@media (max-width: 968px) {
  .hamburger { display: block; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: var(--cream);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s var(--ease);
    z-index: 1000;
  }
  .nav.active { right: 0; }
  .nav__list { flex-direction: column; gap: 2rem; align-items: center; }
  .nav__link { font-size: 1rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .hero__stat { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .service-highlight__content { padding: 2.5rem 2rem; }
}

@media (max-width: 640px) {
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 5rem 0; }
  .hero h1 { font-size: 2.2rem; }
  .rule__number { font-size: 4.5rem; }
  .disclaimer { padding: 2rem; }
}

/* Packages Accordion */
.packages-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.package-details {
  background: white;
  border: 1px solid rgba(139, 168, 136, 0.3);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.package-details[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-color: var(--sage);
}
.package-details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-dark);
  list-style: none;
  font-weight: 500;
}
.package-details summary::-webkit-details-marker {
  display: none;
}
.package-details summary:after {
  content: '+';
  font-size: 1.5rem;
  color: var(--sage);
  transition: transform 0.3s ease;
}
.package-details[open] summary:after {
  transform: rotate(45deg);
}
.pkg-title {
  font-weight: 500;
}
.pkg-price {
  color: var(--sage);
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-left: auto;
}
.pkg-content {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
  animation: fadeInDown 0.3s ease forwards;
}
.pkg-content .pricing-card__list {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
