/* BioPeak — Memberships page. */

#site-header { position: sticky; top: 0; z-index: 50; }

.mem-section { padding: var(--space-10) var(--gutter); }
.mem-inner { max-width: var(--container-xl); margin: 0 auto; }
.mem-alt { background: var(--cream-50); }

.mem-sec-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--space-8);
  align-items: start;
}
.mem-sec-head { position: sticky; top: 116px; }
.mem-sec-head h2 {
  font-size: var(--text-xl);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin: 0;
  max-width: 18ch;
  text-wrap: pretty;
}
.mem-rule { width: 48px; height: 2px; background: var(--sage); margin-bottom: var(--space-4); }
.mem-rule--center { margin-left: auto; margin-right: auto; }

.mem-eyebrow {
  font-size: var(--text-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-3);
}

.mem-body p {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
  max-width: 62ch;
  margin: 0 0 var(--space-4);
}
.mem-body p:last-of-type { margin-bottom: 0; }

.mem-link {
  display: inline-block;
  margin-top: var(--space-5);
  font-size: var(--text-md);
  font-weight: var(--fw-medium);
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1.5px solid var(--sage);
  padding-bottom: 2px;
  transition: color 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.mem-link:hover { color: var(--forest-400); }

/* ---- Hero ---- */
.mem-hero {
  background: var(--forest);
  padding: var(--space-9) var(--gutter) var(--space-10);
}
.mem-hero-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-8);
  align-items: center;
}
.mem-hero-eyebrow {
  font-size: var(--text-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin: 0 0 var(--space-5);
}
.mem-hero-display {
  font-size: clamp(2.5rem, 4.6vw, 4.3rem);
  line-height: 1.06;
  font-weight: var(--fw-bold);
  letter-spacing: -0.025em;
  color: var(--cream);
  margin: 0 0 var(--space-6);
  max-width: 14ch;
  text-wrap: balance;
}
.mem-hero h1 {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  color: var(--cream);
  margin: 0 0 var(--space-4);
  max-width: 38ch;
  text-wrap: balance;
}
.mem-hero-sub {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-on-dark-muted);
  margin: 0 0 var(--space-6);
  max-width: 52ch;
  text-wrap: pretty;
}
.mem-hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  display: block;
}

/* ---- What a membership is (three hairline columns) ---- */
.mem-is-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
}
.mem-is-grid p {
  margin: 0;
  border-top: 1px solid var(--taupe-300);
  padding-top: var(--space-4);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
}

/* ---- Photo band ---- */
.mem-strip { line-height: 0; background: var(--forest); }
.mem-strip-slot {
  width: 100%;
  height: clamp(320px, 52vh, 560px);
  display: block;
}

/* ---- Program sections ---- */
.mem-program-tag {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-body);
  max-width: 26ch;
  text-wrap: pretty;
}
.mem-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mem-benefits li {
  border-top: 1px solid var(--taupe-300);
  padding: var(--space-4) 0;
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
  max-width: 62ch;
}
.mem-benefits li:last-child { border-bottom: 1px solid var(--taupe-300); }
.mem-program-intro {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
  max-width: 62ch;
  margin: 0 0 var(--space-6);
  text-wrap: pretty;
}

/* Elite — the forest anchor band */
.mem-forest { background: var(--forest); }
.mem-forest .mem-sec-head h2 { color: var(--cream); }
.mem-forest .mem-eyebrow { color: var(--text-on-dark-muted); }
.mem-forest .mem-program-tag { color: var(--text-on-dark-muted); }
.mem-forest .mem-program-intro { color: var(--text-on-dark-muted); }
.mem-forest .mem-benefits li {
  border-top-color: rgba(238, 236, 230, 0.22);
  color: rgba(238, 236, 230, 0.92);
}
.mem-forest .mem-benefits li:last-child { border-bottom-color: rgba(238, 236, 230, 0.22); }

/* ---- Pricing (quiet centered statement) ---- */
.mem-pricing {
  background: var(--cream-50);
  padding: var(--space-10) var(--gutter);
  text-align: center;
}
.mem-pricing-inner { max-width: 720px; margin: 0 auto; }
.mem-pricing h2 {
  font-size: var(--text-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 var(--space-5);
}
.mem-pricing-display {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin: 0 0 var(--space-5);
  text-wrap: balance;
}
.mem-pricing-note {
  margin: 0 auto;
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
  max-width: 52ch;
  text-wrap: pretty;
}

/* ---- Dispensary (text + photo) ---- */
.mem-disp-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
.mem-disp-slot {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 420px;
}

/* ---- FAQ ---- */
.mem-faq-wrap { max-width: 720px; }
.mem-faq-wrap * { transition-timing-function: cubic-bezier(0.65, 0, 0.35, 1) !important; }

/* ---- Scroll reveals ---- */
.bp-motion [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 560ms cubic-bezier(0.65, 0, 0.35, 1),
    transform 560ms cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: calc(var(--reveal-i, 0) * 130ms);
}
.bp-motion [data-reveal].is-in { opacity: 1; transform: none; }
@media print {
  .bp-motion [data-reveal] { opacity: 1; transform: none; }
}
.bp-motion [data-reveal] .mem-rule {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 650ms cubic-bezier(0.65, 0, 0.35, 1) 120ms;
}
.bp-motion [data-reveal] .mem-rule--center { transform-origin: center; }
.bp-motion [data-reveal].is-in .mem-rule { transform: scaleX(1); }

/* ---- Mobile ---- */
@media (max-width: 900px) {
  .mem-section { padding: var(--space-8) var(--gutter); }
  .mem-sec-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .mem-sec-head { position: static; }
  .mem-hero { padding: var(--space-8) var(--gutter); }
  .mem-hero-inner { grid-template-columns: 1fr; gap: var(--space-7); }
  .mem-hero-display { font-size: clamp(2.2rem, 9vw, 3rem); }
  .mem-hero-photo { aspect-ratio: 4 / 3; max-height: 420px; }
  .mem-is-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .mem-strip-slot { height: clamp(240px, 38vh, 360px); }
  .mem-pricing { padding: var(--space-9) var(--gutter); }
  .mem-disp-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .mem-disp-slot { max-height: 360px; }
}
