/* ============================================================
   Spirit Mind Body Therapeutics — site styles
   Imports the brand tokens, then layers layout + components.
   Tokens (colors, type, spacing, shadows, motion) live in
   colors_and_type.css — never hardcode a value a token covers.
   ============================================================ */
@import url('colors_and_type.css');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }

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

.site-container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .site-container { padding: 0 20px; } }

.section { padding: var(--s-24) 0; }
.section--soft { background: var(--smbt-cream-soft); }
.section--deep { background: var(--smbt-cream-deep); }
@media (max-width: 720px) { .section { padding: var(--s-16) 0; } }

.text-balance { text-wrap: balance; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------------- Skip link (accessibility) ---------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--smbt-navy); color: var(--smbt-cream);
  padding: 10px 16px; border-radius: var(--r-8);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------- Top bar ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(1.1);
  background: rgba(245, 231, 224, 0.82);
  border-bottom: 1px solid var(--divider);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.topbar-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-lockup { height: 60px; width: auto; display: block; }
/* Light lockup only appears while the bar floats over the dark hero video */
.logo-lockup--light { display: none; }

/* Transparent over the hero video; settles into the cream blur on scroll.
   The .at-hero-top body class is toggled by main.js only on pages with a video hero. */
.topbar { transition: background 400ms var(--ease-out-soft), border-color 400ms var(--ease-out-soft), backdrop-filter 400ms; }
.at-hero-top .topbar {
  background: linear-gradient(to bottom, rgba(20, 14, 10, 0.42), rgba(20, 14, 10, 0));
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.at-hero-top .logo-lockup--dark { display: none; }
.at-hero-top .logo-lockup--light { display: block; }
.at-hero-top .topbar-nav a { color: var(--smbt-cream); }
.at-hero-top .topbar-nav a:hover { background: rgba(251, 242, 236, 0.14); color: #fff; }
.at-hero-top .topbar-nav a.btn { color: var(--smbt-cream); }
.at-hero-top .nav-toggle { color: var(--smbt-cream); }
@media (max-width: 860px) {
  /* Mobile dropdown is on a solid panel — keep its links navy even at hero top */
  .at-hero-top .topbar-nav.is-open a { color: var(--smbt-navy); }
}

.topbar-nav { display: flex; align-items: center; gap: 4px; }
.topbar-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 12.5px;
  letter-spacing: var(--tracking-wider); text-transform: uppercase;
  color: var(--smbt-navy); text-decoration: none;
  padding: 10px 14px; border-radius: var(--r-full);
  transition: background var(--dur-fast) var(--ease-out-soft), color var(--dur-fast);
}
.topbar-nav a:hover { background: rgba(37, 51, 123, 0.06); color: var(--smbt-navy-deep); }
.topbar-nav a[aria-current="page"] { color: var(--smbt-terracotta); }
.topbar-nav a.btn { color: var(--smbt-cream); }
.topbar-nav a.btn:hover { background: var(--smbt-terracotta-deep); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--r-12);
  align-items: center; justify-content: center; color: var(--smbt-navy);
}
.nav-toggle:hover { background: rgba(37, 51, 123, 0.06); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .topbar-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--smbt-cream-soft);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-md);
    transform-origin: top;
    display: none;
  }
  .topbar-nav.is-open { display: flex; animation: navDrop var(--dur-normal) var(--ease-out-soft); }
  .topbar-nav a { padding: 14px 16px; font-size: 14px; }
  .topbar-nav a.btn { margin-top: 8px; text-align: center; justify-content: center; }
}
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------- Buttons ---------------- */
.btn {
  font-family: var(--font-display); font-weight: 500;
  font-size: 13px; letter-spacing: var(--tracking-wider); text-transform: uppercase;
  border: 0; border-radius: var(--r-full); cursor: pointer;
  padding: 14px 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: all var(--dur-normal) var(--ease-out-soft);
  text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--smbt-terracotta); color: var(--smbt-cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--smbt-terracotta-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--smbt-cream); }
.btn--secondary { background: var(--smbt-navy); color: var(--smbt-cream); }
.btn--secondary:hover { background: var(--smbt-navy-deep); transform: translateY(-1px); color: var(--smbt-cream); }
.btn--ghost { background: transparent; color: var(--smbt-navy); border: 1.5px solid var(--smbt-navy); }
.btn--ghost:hover { background: rgba(37,51,123,0.06); color: var(--smbt-navy); }
.btn--small { padding: 10px 18px; font-size: 11.5px; }
.btn:active { transform: translateY(0) scale(0.985); }
.btn[disabled], .btn.is-loading { opacity: 0.65; cursor: progress; pointer-events: none; }

/* ---------------- Eyebrow + section heads ---------------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--fs-12); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--smbt-terracotta);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--smbt-sage); border-radius: 2px; }
.eyebrow--center { justify-content: center; }

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 54ch; margin-bottom: var(--s-10); }
.section-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------------- Hero (full-bleed labyrinth video) ---------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: var(--s-24) 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(107, 111, 168, 0.18) 0%, transparent 56%),
    radial-gradient(90% 80% at 12% 90%, rgba(200, 100, 81, 0.14) 0%, transparent 58%),
    var(--smbt-cream);
}
/* Video variant — dramatic dark full-bleed hero used on the homepage */
.hero--video {
  min-height: clamp(640px, 94vh, 1040px);
  display: flex; align-items: center;
  padding: 132px 0 104px;
  background: #1c140f;
}
.hero-inner { position: relative; z-index: 3; width: 100%; }
.hero--video .hero-copy { max-width: 660px; }

/* Stacked layers: fallback bed (0) · video (1) · scrim (2) · copy (3) */
.hero-video, .hero-fallback, .hero-scrim { position: absolute; inset: 0; }
.hero-video {
  /* Marketing-site labyrinth footage used as a full-bleed background — cover fills
     the whole hero, framed slightly high (50% 40%) to match the marketing hero.
     The warm scrim above keeps the copy legible over it. */
  width: 100%; height: 100%; z-index: 1;
  object-fit: cover; object-position: 50% 40%;
  opacity: 0; transition: opacity 1400ms var(--ease-out-soft);
}
/* Reveal the footage once it can paint; until then the orb fallback shows through */
.hero-video[data-ready="1"] { opacity: 1; }

/* Fallback brand bed — warm dusk gradient evoking the night labyrinth */
.hero-fallback {
  z-index: 0;
  background:
    radial-gradient(120% 100% at 72% 26%, rgba(107, 111, 168, 0.42) 0%, transparent 58%),
    radial-gradient(96% 86% at 26% 82%, rgba(200, 100, 81, 0.34) 0%, transparent 60%),
    linear-gradient(135deg, #1b2450 0%, #2b1e18 58%, #160f0b 100%);
}
.hero-fallback-mark {
  position: absolute; top: 50%; right: -5%; transform: translateY(-50%);
  width: min(620px, 50vw); aspect-ratio: 1 / 1;
  background: url('../assets/logo-badge-light.png') center / contain no-repeat;
  opacity: 0.6;
  animation: breathe 9s ease-in-out infinite;
}
@media (max-width: 920px) { .hero-fallback-mark { right: -30%; opacity: 0.3; } }

/* Warm legibility scrim — graded toward the copy side, soft vignette top/bottom */
.hero-scrim {
  z-index: 2; pointer-events: none;
  background:
    linear-gradient(98deg,
      rgba(28, 20, 15, 0.53) 0%,
      rgba(28, 20, 15, 0.36) 34%,
      rgba(28, 20, 15, 0.09) 62%,
      rgba(28, 20, 15, 0) 86%),
    radial-gradient(150% 130% at 50% -6%, transparent 56%, rgba(20, 14, 10, 0.34) 100%);
}

.hero h1 { margin: 18px 0 22px; font-size: clamp(var(--fs-36), 6vw, var(--fs-72)); }
.hero--video h1 {
  font-size: clamp(48px, 7vw, 92px); line-height: 0.98;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--smbt-cream); margin: 18px 0 24px;
  text-shadow: 0 2px 30px rgba(20, 14, 10, 0.4);
}
.hero--video h1 .accent { color: var(--smbt-terracotta-soft); display: block; }
.hero .lead { margin-bottom: 28px; }
.hero--video .lead {
  font-size: 20px; line-height: 1.62; color: rgba(251, 242, 236, 0.92);
  max-width: 46ch; margin-bottom: 32px;
  text-shadow: 0 1px 18px rgba(20, 14, 10, 0.45);
}
.hero--video .eyebrow { color: var(--smbt-terracotta-soft); }
.hero--video .eyebrow::before { background: var(--smbt-sage-soft); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
/* Ghost button reads on dark footage */
.hero--video .btn--ghost { color: var(--smbt-cream); border-color: rgba(251, 242, 236, 0.6); }
.hero--video .btn--ghost:hover { background: rgba(251, 242, 236, 0.12); border-color: var(--smbt-cream); color: var(--smbt-cream); }

.hero-tags { display: flex; gap: 8px; margin-top: var(--s-10); flex-wrap: wrap; }
.hero-tag {
  font-family: var(--font-display); font-size: 11px; letter-spacing: var(--tracking-wider); text-transform: uppercase;
  padding: 8px 15px; border-radius: var(--r-full); white-space: nowrap;
  background: var(--smbt-cream-soft); color: var(--smbt-navy);
  border: 1px solid var(--border);
}
.hero--video .hero-tags { margin-top: 40px; }
.hero--video .hero-tag {
  background: rgba(251, 242, 236, 0.1); color: var(--smbt-cream);
  border: 1px solid rgba(251, 242, 236, 0.22);
  backdrop-filter: blur(8px);
}

/* Photo credit line, lower-right */
.hero-creditline {
  position: absolute; z-index: 3; right: 32px; bottom: 26px;
  font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(251, 242, 236, 0.62);
}
.hero-creditline span { display: inline-flex; align-items: center; gap: 9px; }
.hero-creditline span::before { content: ''; width: 18px; height: 1px; background: rgba(251, 242, 236, 0.5); }
@media (max-width: 720px) { .hero-creditline { display: none; } }

@keyframes breathe {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateY(-50%) scale(1.03); opacity: 0.72; }
}

/* Floating ambient orbs (decorative; respects reduced motion) */
.orb { position: absolute; border-radius: var(--r-full); filter: blur(48px); opacity: 0.5; pointer-events: none; }
.orb--sage { width: 220px; height: 220px; background: var(--smbt-sage-soft); top: -40px; right: 10%; animation: drift1 14s ease-in-out infinite; }
.orb--iris { width: 280px; height: 280px; background: var(--smbt-iris-soft); bottom: -80px; left: 18%; animation: drift2 17s ease-in-out infinite; }
.orb--tera { width: 180px; height: 180px; background: rgba(226, 163, 149, 0.5); bottom: 20%; right: -20px; animation: drift3 12s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0);} 50%{transform:translate(30px,40px);} }
@keyframes drift2 { 0%,100%{transform:translate(0,0);} 50%{transform:translate(-40px,-30px);} }
@keyframes drift3 { 0%,100%{transform:translate(0,0);} 50%{transform:translate(-20px,30px);} }

/* ---------------- Qualify list (this is for you if…) ---------------- */
.qualify-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: var(--s-8); }
@media (max-width: 720px) { .qualify-grid { grid-template-columns: 1fr; } }
.qualify-card {
  background: var(--smbt-paper); border: 1px solid var(--border);
  border-left: 3px solid var(--smbt-terracotta);
  border-radius: var(--r-16); padding: 22px 24px; box-shadow: var(--shadow-xs);
}
.qualify-card p { margin: 0; font-size: var(--fs-16); color: var(--smbt-stone-900); }

/* ---------------- Feature / value rows ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: var(--s-8); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--smbt-paper); border: 1px solid var(--border);
  border-radius: var(--r-24); padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: var(--fs-16); color: var(--smbt-stone-700); margin: 0; }

/* ---------------- Pricing / service cards (à-la-carte checkout) ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: var(--s-8); }
@media (max-width: 920px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
@media (max-width: 720px) { .price-grid--two { grid-template-columns: 1fr; max-width: 420px; } }
.price-card {
  display: flex; flex-direction: column;
  background: var(--smbt-paper); border: 1px solid var(--border);
  border-top: 4px solid var(--smbt-terracotta);
  border-radius: var(--r-20); padding: 30px 28px 26px; box-shadow: var(--shadow-sm);
}
.price-card--iris { border-top-color: var(--smbt-iris); }
.price-card--sage { border-top-color: var(--smbt-sage); }
.price-flag {
  font-family: var(--font-display); font-size: 10.5px; font-weight: 600;
  letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--smbt-terracotta);
  margin-bottom: 12px;
}
.price-card--iris .price-flag { color: var(--smbt-iris-deep); }
.price-card--sage .price-flag { color: var(--smbt-sage-deep); }
.price-name {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-24);
  letter-spacing: var(--tracking-tight); color: var(--smbt-navy); margin: 0 0 4px; line-height: 1.1;
}
.price-sub { font-size: var(--fs-14); color: var(--smbt-stone-500); font-style: italic; }
.price-body { font-size: 15px; line-height: var(--lh-normal); color: var(--smbt-stone-700); margin: 16px 0 22px; }
.price-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--divider); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-amount { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--smbt-navy); }
.price-amount small { font-family: var(--font-body); font-size: 13px; color: var(--smbt-stone-500); font-weight: 400; }

/* inline checkout error message */
.checkout-error {
  display: none; margin-top: 12px; font-size: 13px; color: var(--danger);
  font-family: var(--font-body);
}
.checkout-error.is-visible { display: block; }

.note {
  margin-top: var(--s-8); font-size: var(--fs-14); color: var(--smbt-stone-500);
  max-width: 70ch;
}

/* ---------------- Scope / disclaimer band ---------------- */
.scope-band {
  background: var(--smbt-cream-soft); border: 1px solid var(--border);
  border-left: 3px solid var(--smbt-iris);
  border-radius: var(--r-16); padding: 24px 28px;
}
.scope-band p { margin: 0; font-family: var(--font-soft); font-style: italic; color: var(--smbt-navy); font-size: var(--fs-18); }

/* ---------------- Atmospheric photo band ("Why this approach") ---------------- */
.section--photo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-color: var(--smbt-navy-deep);
  background-image:
    linear-gradient(105deg, rgba(13,18,40,0.90) 0%, rgba(19,26,58,0.74) 48%, rgba(19,26,58,0.52) 100%),
    url('../assets/moonlit-canopy.jpg');
  background-size: cover;
  background-position: center 30%;
}
.section--photo > .site-container { width: 100%; }
.section--photo .eyebrow { color: var(--smbt-sage-soft); }
.section--photo .eyebrow::before { background: var(--smbt-sage-soft); }
.section--photo .section-head h2 { color: var(--smbt-cream); }
.section--photo .section-head .lead { color: rgba(245, 231, 224, 0.85); }
/* Feature cards read as frosted cards floating over the photo */
.section--photo .feature {
  background: rgba(245, 231, 224, 0.95);
  border-color: rgba(245, 231, 224, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-md);
}
.section--photo .scope-band {
  background: rgba(245, 231, 224, 0.93);
  border-color: rgba(245, 231, 224, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ---------------- Energy Work page ---------------- */
/* Intro hero — soft mimosa photo behind navy text on a warm cream scrim */
.energy-hero {
  position: relative;
  background-color: var(--smbt-cream);
  background-image: url('../assets/mimosa.jpg');
  background-size: cover;
  background-position: center;
}
/* title aligns left; the lead paragraph shifts to the right */
.energy-hero-inner { max-width: 1180px; }
/* no panel — a dense cream halo hugs the letters and fades into the mimosa, no edges */
.energy-hero .lead {
  max-width: 480px; margin-left: auto; margin-right: 0;
  color: var(--smbt-navy);
  text-shadow:
    0 0 1px rgba(251, 242, 236, 0.98),
    0 0 2px rgba(251, 242, 236, 0.98),
    0 0 4px rgba(251, 242, 236, 0.96),
    0 0 7px rgba(251, 242, 236, 0.92),
    0 0 12px rgba(251, 242, 236, 0.85);
}
@media (max-width: 720px) { .energy-hero .lead { margin-left: 0; max-width: none; } }
/* lift the navy title off the busy photo with a strong cream halo for contrast */
.energy-hero .eyebrow,
.energy-hero h1 {
  text-shadow:
    0 0 2px rgba(251, 242, 236, 0.98),
    0 1px 6px rgba(251, 242, 236, 0.96),
    0 2px 24px rgba(251, 242, 236, 0.92);
}

/* "A different way / who it's for" — waterlily feathered into the cream wash */
.energy-blend-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: var(--s-16); align-items: center; }
@media (max-width: 900px) { .energy-blend-grid { grid-template-columns: 1fr; gap: var(--s-10); } }
.energy-blend-photo {
  margin: 0; align-self: center; justify-self: center;
  width: 100%; max-width: 380px; aspect-ratio: 4 / 5;
  border-radius: var(--r-24); overflow: hidden;
  background: var(--smbt-cream-deep); box-shadow: var(--shadow-lg);
}
.energy-blend-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .energy-blend-photo { max-width: 280px; aspect-ratio: 1 / 1; }
}

/* "Science / research" — Veronica rainbow photo on the left, text on the right */
.science-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-16); align-items: start; }
@media (max-width: 900px) { .science-grid { grid-template-columns: 1fr; gap: var(--s-10); } }
.science-photo {
  margin: 0; border-radius: var(--r-24); overflow: hidden; aspect-ratio: 3/4;
  background: var(--smbt-cream-deep); box-shadow: var(--shadow-lg);
  position: sticky; top: 96px;
}
.science-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .science-photo { position: static; aspect-ratio: 4/3; } }

/* "What a session looks like" — healing-table photo beside the text */
.session-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-16); align-items: center; }
@media (max-width: 900px) { .session-grid { grid-template-columns: 1fr; gap: var(--s-10); } }
.session-photo {
  margin: 0; border-radius: var(--r-24); overflow: hidden; aspect-ratio: 3/4;
  background: var(--smbt-cream-deep); box-shadow: var(--shadow-lg);
}
.session-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* elongate the copy so it fills the tall portrait photo beside it */
.session-grid .prose h2 { margin-bottom: var(--s-6); }
.session-grid .prose p { font-size: 19px; line-height: 2.05; margin-bottom: 26px; }
@media (max-width: 900px) {
  .session-grid .prose p { font-size: 17px; line-height: var(--lh-loose); margin-bottom: 18px; }
}

/* ---------------- Meet Elisa ---------------- */
.meet-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-16); align-items: center; }
@media (max-width: 900px) { .meet-grid { grid-template-columns: 1fr; gap: var(--s-10); } }
.meet-photo { position: relative; border-radius: var(--r-24); overflow: hidden; aspect-ratio: 4/5; background: var(--smbt-cream-deep); box-shadow: var(--shadow-lg); }
.meet-photo img { width: 100%; height: 100%; object-fit: cover; }
.credential-card {
  display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 20px 24px;
  background: var(--smbt-cream-soft); border: 1px solid var(--border);
  border-left: 3px solid var(--smbt-terracotta); border-radius: var(--r-16); box-shadow: var(--shadow-sm);
}
.credential-seal {
  flex: none; width: 56px; height: 56px; border-radius: var(--r-full); display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, var(--smbt-sage-soft), var(--smbt-sage-deep));
  box-shadow: inset 0 0 0 2px rgba(251, 242, 236, 0.55), var(--shadow-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--smbt-cream-soft);
}
.credential-kicker { font-family: var(--font-display); font-size: 10.5px; font-weight: 600; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--smbt-terracotta); }
.credential-title { font-family: var(--font-display); font-size: var(--fs-18); font-weight: 600; color: var(--smbt-navy); line-height: 1.2; }

/* ---- Be Well (intro + photo) ---- */
.bewell-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-16); align-items: start; }
@media (max-width: 900px) { .bewell-grid { grid-template-columns: 1fr; gap: var(--s-10); } }
.bewell-photo { margin: 0; border-radius: var(--r-24); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; background: var(--smbt-cream-deep); }
.bewell-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-photo { margin: var(--s-10) 0 0; border-radius: var(--r-24); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: var(--smbt-cream-deep); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Meet Elisa (full bio) ---- */
.meet-photo .caption {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(43, 30, 24, 0.6); color: var(--smbt-cream);
  backdrop-filter: blur(12px);
  font-size: 11px; padding: 8px 14px; border-radius: var(--r-full);
  font-family: var(--font-display); letter-spacing: 0.18em; text-transform: uppercase;
}
.meet h2 { margin: 12px 0 24px; }
.meet p { font-size: 17px; line-height: 1.7; color: var(--smbt-stone-900); margin: 0 0 16px; max-width: 54ch; }
.meet .credential-seal-mark { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: 0.04em; color: var(--smbt-cream-soft); }
.meet .credential-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.meet .credential-meta { font-size: 13px; color: var(--smbt-stone-700); line-height: 1.4; }
.meet .credential-link {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  margin-top: 7px; font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--smbt-terracotta);
  text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out-soft), color 200ms var(--ease-out-soft);
}
.meet .credential-link:hover { color: var(--smbt-terracotta-deep); border-bottom-color: var(--smbt-terracotta-soft); }
.meet .credential-link svg { transform: translateY(-1px); }
@media (max-width: 540px) { .meet .credential-card { flex-direction: column; align-items: flex-start; gap: 14px; } }
.meet .cred-lists {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border);
}
@media (max-width: 540px) { .meet .cred-lists { grid-template-columns: 1fr; gap: 22px; } }
.meet .cred-col-head {
  display: block; font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--smbt-terracotta); margin-bottom: 12px;
}
.meet .cred-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.meet .cred-col li { font-size: 14px; line-height: 1.45; color: var(--smbt-stone-900); padding-left: 16px; position: relative; }
.meet .cred-col li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: var(--r-full); background: var(--smbt-sage); }

/* ---- Spirit / Mind / Body triad ---- */
.triad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: var(--s-8); }
@media (max-width: 860px) { .triad-grid { grid-template-columns: 1fr; gap: 16px; } }
.triad-card {
  position: relative; padding: 38px 32px 34px;
  background: var(--smbt-paper); border: 1px solid var(--border);
  border-radius: var(--r-24); overflow: hidden; box-shadow: var(--shadow-sm);
}
.triad-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--triad-accent, var(--smbt-terracotta)); }
.triad-card--spirit { --triad-accent: var(--smbt-iris); }
.triad-card--mind   { --triad-accent: var(--smbt-terracotta); }
.triad-card--body   { --triad-accent: var(--smbt-sage); }
.triad-index { display: block; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; color: var(--triad-accent); margin-bottom: 18px; }
.triad-label { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--smbt-navy); margin: 0 0 14px; }
.triad-body { font-size: 16px; line-height: 1.68; color: var(--smbt-stone-700); margin: 0; max-width: none; text-wrap: pretty; }

/* ---- "Why the Spirit Mind Body approach" — looping stream-video background ----
   Layered like the homepage hero: poster/video (1) · warm scrim (2) · copy (3).
   The section goes dark, so its copy flips to cream over the footage. */
.triad-section--video {
  position: relative; overflow: hidden; isolation: isolate;
  /* Poster backs the section so the waterfall still is always visible — the
     looping video fades in over it once it can paint (and is the only thing
     shown if the video can't load/decode). */
  background: #16100c url('../assets/stream-poster.jpg') center / cover no-repeat;
}
.triad-section--video .site-container { position: relative; z-index: 3; }
.section-bg-video, .section-bg-scrim { position: absolute; inset: 0; }
.section-bg-video {
  width: 100%; height: 100%; z-index: 1;
  object-fit: cover; object-position: 50% 50%;
  opacity: 0; transition: opacity 1400ms var(--ease-out-soft);
  /* Continuous, gentle ambient pan. It runs off the CSS clock (not the video's
     time), so the framing keeps drifting smoothly across the loop seam —
     masking any hard-cut/unstable frame in the footage. Scaled up slightly so
     the pan never reveals an edge. */
  transform: scale(1.06);
  will-change: transform;
  animation: streamDrift 46s ease-in-out infinite alternate;
}
@keyframes streamDrift {
  from { transform: scale(1.06) translate3d(-1.6%, -1.1%, 0); }
  to   { transform: scale(1.06) translate3d(1.6%, 1.1%, 0); }
}
/* Revealed by main.js once the footage can paint; poster shows through until then */
.section-bg-video[data-ready="1"] { opacity: 1; }
/* Light legibility scrim — just enough warm shading top and bottom to hold the
   copy; the stream footage stays bright and natural through the middle */
.section-bg-scrim {
  z-index: 2; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(28, 20, 15, 0.26) 0%,
    rgba(28, 20, 15, 0.07) 48%,
    rgba(28, 20, 15, 0.28) 100%);
}
.triad-section--video .eyebrow { color: var(--smbt-terracotta-soft); }
.triad-section--video .eyebrow::before { background: var(--smbt-sage-soft); }
.triad-section--video h1,
.triad-section--video h2 { color: var(--smbt-cream); text-shadow: 0 2px 22px rgba(20, 14, 10, 0.6); }
.triad-section--video .lead { color: var(--smbt-cream); text-shadow: 0 1px 14px rgba(20, 14, 10, 0.58); }
/* Body copy laid directly over the footage — cream (matching the title) with a
   heavier shadow for legibility. Double-class selector raises specificity above
   the default `.prose p` color rule that appears later in the file. */
.prose.prose--on-video h2 { color: var(--smbt-cream); text-shadow: 0 2px 22px rgba(20, 14, 10, 0.6); }
.prose.prose--on-video p { color: var(--smbt-cream); text-shadow: 0 1px 12px rgba(20, 14, 10, 0.72); }
.prose.prose--on-video em,
.prose.prose--on-video strong { color: var(--smbt-cream); }
/* Reduced-motion: don't autoplay drift — the poster frame stays as a still image */
@media (prefers-reduced-motion: reduce) {
  .section-bg-video { display: none; }
  .triad-section--video {
    background: #16100c url('../assets/stream-poster.jpg') center / cover no-repeat;
  }
}

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-10); } }
.contact-list { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list .label { font-family: var(--font-display); font-size: 10.5px; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--smbt-stone-500); }
.contact-list a, .contact-list span.value { font-size: var(--fs-18); color: var(--smbt-navy); text-decoration: none; }
.contact-list a:hover { color: var(--smbt-terracotta); }

/* ---------------- CTA band ---------------- */
.cta-band {
  border-radius: var(--r-32); padding: 48px 48px; margin-top: var(--s-8);
  background: linear-gradient(120deg, var(--smbt-navy) 0%, var(--smbt-iris-deep) 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--smbt-cream); margin: 0 0 8px; }
.cta-band p { color: rgba(251,242,236,0.88); margin: 0; max-width: 52ch; }
.cta-band .btn--ghost { color: var(--smbt-cream); border-color: rgba(251,242,236,0.55); flex: none; }
.cta-band .btn--ghost:hover { background: rgba(251,242,236,0.12); border-color: var(--smbt-cream); color: var(--smbt-cream); }
@media (max-width: 720px) { .cta-band { padding: 32px 28px; } }

/* ---------------- Status pages (success / cancel) ---------------- */
.status-page { min-height: 70vh; display: grid; place-items: center; padding: var(--s-20) 0; }
.status-card {
  max-width: 560px; text-align: center; background: var(--smbt-paper);
  border: 1px solid var(--border); border-radius: var(--r-32);
  padding: 56px 48px; box-shadow: var(--shadow-lg);
}
.status-mark {
  width: 64px; height: 64px; border-radius: var(--r-full); margin: 0 auto 24px;
  display: grid; place-items: center; color: var(--smbt-cream);
}
.status-mark--ok { background: var(--smbt-sage-deep); }
.status-mark--neutral { background: var(--smbt-stone-500); }
.status-card h1 { font-size: clamp(var(--fs-30), 4vw, var(--fs-48)); margin-bottom: 16px; }
.status-card p { margin-left: auto; margin-right: auto; }
.status-card .btn { margin-top: 24px; }

/* ---------------- Footer ---------------- */
.site-footer { padding: var(--s-16) 0 var(--s-20); background: var(--smbt-cream-deep); border-top: 1px solid var(--border); }
.site-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 40px; width: auto; }
.footer-meta { font-size: var(--fs-12); color: var(--smbt-stone-700); line-height: var(--lh-normal); }
.footer-meta a { color: var(--smbt-stone-700); }
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-display); font-size: 11px; letter-spacing: var(--tracking-wider);
  text-transform: uppercase; color: var(--smbt-navy); text-decoration: none;
}
.footer-nav a:hover { color: var(--smbt-terracotta); }

/* ---------------- Long-form content (energy work / articles) ---------------- */
.prose { max-width: 65ch; }
.prose h2 {
  font-size: clamp(var(--fs-24), 2.6vw, var(--fs-36));
  margin: var(--s-12) 0 var(--s-4);
}
.prose > h2:first-child { margin-top: 0; }
.prose p {
  font-size: 17px; line-height: var(--lh-loose);
  color: var(--smbt-stone-900); margin: 0 0 18px; max-width: none;
}
.prose p:last-child { margin-bottom: 0; }
.prose ul {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 11px; max-width: none;
}
.prose li {
  position: relative; padding-left: 24px;
  font-size: 17px; line-height: var(--lh-normal); color: var(--smbt-stone-900);
}
.prose li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: var(--r-full); background: var(--smbt-sage);
}
.prose strong { color: var(--smbt-navy); font-weight: 700; }
.prose a { font-weight: 600; }
.prose sup { line-height: 0; font-size: 11px; }
.prose sup a { text-decoration: none; font-weight: 700; padding: 0 1px; }

/* Modalities — brand pill language */
.modality-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: var(--s-6) 0 0; padding: 0; max-width: none;
}
.modality-chips li {
  font-family: var(--font-display); font-weight: 500; font-size: 12.5px;
  letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--smbt-navy);
  background: var(--smbt-cream-soft); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 11px 20px; box-shadow: var(--shadow-xs);
}

/* Inclusion list inside a price card (e.g. program contents) */
.price-includes { list-style: none; padding: 0; margin: 4px 0 22px; display: flex; flex-direction: column; gap: 9px; }
.price-includes li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: var(--lh-normal); color: var(--smbt-stone-700); }
.price-includes li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--smbt-sage); }
.price-includes strong { color: var(--smbt-navy); font-weight: 700; }

/* References / further reading */
.references {
  margin-top: var(--s-12); padding-top: var(--s-8);
  border-top: 1px solid var(--border); max-width: 70ch;
}
.references h2 { font-size: var(--fs-24); margin-bottom: var(--s-4); }
.references ol {
  padding-left: 1.3em; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.references li { font-size: var(--fs-14); color: var(--smbt-stone-700); line-height: var(--lh-normal); }

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  html { scroll-behavior: auto; }
}
