:root {
  --brand: #DC014B;
  --brand-dark: #b0013d;
  --brand-light: #e82d6a;
  --primary: #00293B;
  --primary-dark: #001a24;
  --primary-light: #003d52;
  --teal: #29AAE0;
  --accent: #F9A003;
  --maroon: #711544;
  --bg: #F9F9F9;
  --surface: #ffffff;
  --text: #00293B;
  --muted: #58656D;
  --border: #edf2f7;
  --mist: #f0f7fa;
  --cream: #faf8f5;
  --teal-soft: #e8f4f8;
  --brand-soft: #fdf2f6;
  --warm-soft: #fff9f0;
  --lcj-ink: #062835;
  --nav-offset: 128px;
  --cursor-logo: url('../assets/cursor-logo.png');
  --cursor-hotspot: 16 16;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-offset);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

body.mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}

/* Custom logo cursor — site-wide (forced) */
html,
body,
*,
*::before,
*::after {
  cursor: var(--cursor-logo) var(--cursor-hotspot), auto !important;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

/* ── NAVBAR (centered floating pill) ── */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 22px 16px 0;
  pointer-events: none;
  transition: padding .45s cubic-bezier(.4,0,.2,1);
}

#mainNav.scrolled { padding-top: 14px; }

.nav-float {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem 1.25rem;
  max-width: min(1100px, 100%);
  padding: 8px 10px 8px 14px;
  background: rgba(6, 40, 53, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow:
    0 4px 24px rgba(6, 40, 53, 0.28),
    0 0 0 1px rgba(220, 1, 75, 0.1) inset;
  transition: background .45s, box-shadow .45s, padding .45s, transform .45s;
}

#mainNav.scrolled .nav-float {
  background: rgba(6, 40, 53, 0.96);
  box-shadow:
    0 12px 40px rgba(6, 40, 53, 0.35),
    0 0 0 1px rgba(220, 1, 75, 0.14) inset;
  padding: 6px 10px 6px 12px;
}

#mainNav .nav-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: .25rem;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

#mainNav .nav-brand-text span { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0 .25rem;
}

.nav-links a {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 400;
  position: relative;
  padding-bottom: 4px;
  transition: color .3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width .4s cubic-bezier(.4,0,.2,1);
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-links a.is-current,
#mobileMenu a.is-current {
  color: var(--accent);
}

.nav-links a.is-current::after { width: 100%; }

.nav-cta-btn {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .35s, color .35s, border-color .35s, transform .3s;
}

.nav-cta-btn:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.burger span {
  width: 24px;
  height: 1.5px;
  background: #fff;
  display: block;
  transition: .3s;
}

#mobileMenu {
  position: fixed;
  inset: 0;
  background: var(--lcj-ink);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s cubic-bezier(.4,0,.2,1);
}

#mobileMenu.open { opacity: 1; pointer-events: all; }

.mobile-menu-logo {
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

#mobileMenu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color .3s;
}

#mobileMenu a:hover { color: var(--brand); }

#mobileClose {
  position: absolute;
  top: 28px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ── HERO (road image + psychologist) ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: var(--mist);
}

.hero-parallax {
  position: absolute;
  inset: -12% 0 -8%;
  overflow: hidden;
  z-index: 0;
}

.hero-layer {
  position: absolute;
  inset: -5%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transition: transform .08s linear;
}

.hero-layer-primary {
  z-index: 0;
  background-image: url('../assets/janbaby-winding-road-1556177_1920.jpg');
  transform: scale(1.12);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(165deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(232, 244, 248, 0.68) 38%,
    rgba(41, 170, 224, 0.22) 68%,
    rgba(220, 1, 75, 0.08) 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transition: transform .12s ease-out;
  background:
    radial-gradient(ellipse at 55% 35%, rgba(220, 1, 75, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(41, 170, 224, 0.12) 0%, transparent 50%);
}

.hero-layout {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: var(--nav-offset) 1rem 2.5rem;
  box-sizing: border-box;
  min-height: 0;
}

.hero-content {
  flex: 1;
  text-align: left;
  max-width: 580px;
  padding: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  opacity: 0;
  animation: fadeUp .8s 1.2s forwards;
}

.hero-cta-outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(0, 41, 59, 0.22);
}

.hero-cta-outline:hover {
  background: var(--teal-soft);
  color: var(--primary);
  border-color: var(--teal);
}

.hero-practitioner {
  flex-shrink: 0;
  width: min(300px, 38vw);
  opacity: 0;
  animation: fadeUp .9s .6s forwards;
}

.hero-practitioner-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 41, 59, 0.1);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s, border-color .4s;
}

.hero-practitioner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 1, 75, 0.35);
  box-shadow: 0 20px 48px rgba(220, 1, 75, 0.14);
}

.hero-practitioner-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-soft), var(--teal));
}

.hero-practitioner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.hero-practitioner-card:hover .hero-practitioner-photo img {
  transform: scale(1.05);
}

.hero-practitioner-info {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.hero-practitioner-label {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}

.hero-practitioner-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.15;
}

.hero-practitioner-role {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .04em;
}

.hero-practitioner-link {
  margin-top: .45rem;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.hero-practitioner-card:hover .hero-practitioner-link {
  color: var(--brand-dark);
}

@media (max-width: 991px) {
  :root { --nav-offset: 104px; }

  .hero-layout {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: var(--nav-offset);
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-practitioner {
    width: min(300px, 100%);
  }

  .hero-practitioner-name {
    font-size: 1.3rem;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp .8s .2s forwards;
}

.hero-headline {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.07;
  color: var(--primary);
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 28px rgba(255, 255, 255, 0.85);
}

.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px);
  animation: wordUp .7s forwards;
}

.hero-headline em { font-style: italic; color: var(--brand); }

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.8rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp .8s 1s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 14px 40px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  transition: background .4s, color .4s, transform .3s;
}

.hero-actions .hero-cta {
  opacity: 1;
  animation: none;
}

.hero-cta:hover {
  background: transparent;
  color: var(--brand);
  transform: translateY(-2px);
}

.scroll-line {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp .8s 1.5s forwards;
}

.scroll-line span {
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line .line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--brand), transparent);
  animation: linePulse 2s ease-in-out infinite;
}

@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes wordUp { to { opacity: 1; transform: none; } }
@keyframes linePulse { 0%,100%{transform:scaleY(1)} 50%{transform:scaleY(1.3)} }

/* ── Scroll entrance animations (WordPress-style) ── */
.reveal {
  opacity: 0;
  transform: translateY(52px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal--up,
.reveal.reveal-up { transform: translateY(52px); }

.reveal--down,
.reveal.reveal-down { transform: translateY(-44px); }

.reveal--left,
.reveal.from-left,
.reveal.reveal-left { transform: translateX(-72px); }

.reveal--right,
.reveal.from-right,
.reveal.reveal-right { transform: translateX(72px); }

.reveal--zoom-in,
.reveal.reveal-zoom-in { transform: scale(0.82); }

.reveal--zoom-out,
.reveal.reveal-zoom-out { transform: scale(1.12); }

.reveal--fade,
.reveal.reveal-fade { transform: none; }

.reveal--slow { transition-duration: 1.15s; }
.reveal--fast { transition-duration: 0.55s; }

.reveal.visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

[data-reveal-stagger] > .reveal,
[data-reveal-stagger] .svc-card.reveal,
[data-reveal-stagger] .testi-card.reveal {
  transition-delay: var(--reveal-delay, 0s);
}

section { padding: 120px 0; }

.section-label {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
}

.section-title em { font-style: italic; color: var(--teal); }

.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  margin: 1.6rem 0;
}

/* ── ABOUT ── */
#about { background: var(--surface); }

.about-image-wrap { position: relative; }

.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--brand);
  z-index: 0;
  transition: transform .4s;
}

.about-image-wrap:hover::before { transform: translate(6px, 6px); }

.about-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.about-image-wrap:hover img { transform: scale(1.03); }

.about-stat {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--brand);
}

.about-stat-label {
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .2rem;
}

/* ── SERVICES (3-col accordion — matches testimonials) ── */
#services {
  background: var(--bg);
  padding: 88px 0;
}

.services-header {
  max-width: 520px;
  margin: 0 auto 2rem;
}

.services-intro {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Service card body content */
.svc-card-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.svc-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-card-thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--svc-color, var(--brand)), var(--teal));
  color: #fff;
  font-size: .85rem;
}

.svc-card.is-open .svc-card-body {
  max-height: 520px;
  opacity: 1;
  padding: 0 1rem 1rem 1.15rem;
  border-top-color: var(--border);
}

.svc-card-media {
  margin: .75rem 0 .65rem;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--svc-color, var(--brand)), var(--teal));
}

.svc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-card-desc {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
  margin: .75rem 0 .45rem;
}

.svc-card-meta {
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .65rem;
  opacity: .9;
}

.svc-card-features {
  list-style: none;
  margin: 0 0 .85rem;
  padding: 0;
  font-size: .76rem;
  color: var(--text);
  line-height: 1.5;
}

.svc-card-features li {
  padding: .15rem 0 .15rem .85rem;
  position: relative;
}

.svc-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--svc-color, var(--brand));
}

.svc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 7px 14px;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background .3s, color .3s, border-color .3s, transform .25s;
}

.svc-btn-primary {
  background: var(--svc-color, var(--brand));
  color: #fff;
  border: 1px solid transparent;
}

.svc-btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff;
}

.svc-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.svc-btn-ghost:hover {
  border-color: var(--svc-color, var(--brand));
  color: var(--svc-color, var(--brand));
}

.tilt-card { transform-style: preserve-3d; }

@media (max-width: 575px) {
  #services { padding: 72px 0; }
}

/* ── JOURNEY BANNER (single line) ── */
#journeyBanner {
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--lcj-ink) 0%, #083244 50%, var(--lcj-ink) 100%);
  position: relative;
  overflow: hidden;
  border-top: none;
  border-bottom: none;
}

#journeyBanner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(41, 170, 224, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(220, 1, 75, 0.12) 0%, transparent 60%);
}

#journeyBanner .container {
  position: relative;
  z-index: 1;
}

#journeyBanner.journey-arrived .journey-item {
  animation: journeyStepIn .65s cubic-bezier(.22, 1, .36, 1) both;
}

#journeyBanner.journey-arrived .journey-item:nth-child(1) { animation-delay: .05s; }
#journeyBanner.journey-arrived .journey-item:nth-child(3) { animation-delay: .15s; }
#journeyBanner.journey-arrived .journey-item:nth-child(5) { animation-delay: .25s; }
#journeyBanner.journey-arrived .journey-item:nth-child(7) { animation-delay: .35s; }

@keyframes journeyStepIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.journey-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex-wrap: nowrap;
}

.journey-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem .55rem;
  flex-wrap: nowrap;
  min-width: 0;
  padding: 0 .35rem;
  white-space: nowrap;
}

.journey-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .06em;
  flex-shrink: 0;
}

.journey-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  flex-shrink: 0;
}

.journey-desc {
  font-size: .72rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: .02em;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.journey-desc::before {
  content: '·';
  margin-right: .45rem;
  color: rgba(255, 255, 255, 0.25);
}

.journey-sep {
  flex-shrink: 0;
  width: 1px;
  height: 2.25rem;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 .15rem;
}

@media (max-width: 991px) {
  .journey-strip {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .25rem;
  }

  .journey-strip::-webkit-scrollbar { display: none; }

  .journey-item {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    max-width: none;
    padding: 0 1rem;
  }

  .journey-sep {
    height: 1.75rem;
    margin: 0;
  }
}

@media (max-width: 575px) {
  #journeyBanner { padding: 1.35rem 0; }

  .journey-item {
    flex-direction: column;
    align-items: center;
    gap: .15rem;
  }

  .journey-desc::before { display: none; }

  .journey-desc {
    font-size: .65rem;
    max-width: 9rem;
    line-height: 1.35;
  }
}

/* ── TEAM (organic tree + grove) ── */
.team-tree {
  position: relative;
  background: var(--surface);
  overflow: visible;
}

.team-tree .container {
  position: relative;
  z-index: 2;
}

.team-tree-header {
  max-width: 40rem;
  margin-inline: auto;
  padding-inline: 0.5rem;
}

.team-tree-intro {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.team-tree-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 1.05fr) minmax(220px, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: center;
  max-width: 1140px;
  min-height: 420px;
  margin: 1.75rem auto 0;
  padding: 0.5rem 0.25rem 2rem;
  overflow: visible;
}

.team-tree-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.team-tree-col {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.team-tree-col--tree {
  min-height: 300px;
}

.team-tree-col--left,
.team-tree-col--right {
  padding-top: 0.25rem;
}

#teamTreeCanvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.team-tree-nodes--stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.team-node {
  position: relative;
  text-align: center;
}

.team-tree-col--left .team-node {
  padding-right: 0.65rem;
}

.team-tree-col--right .team-node {
  padding-left: 0.65rem;
}

.team-node::before {
  content: '';
  position: absolute;
  top: 1.15rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--leaf-color) 22%, transparent);
  z-index: 2;
}

.team-tree-col--left .team-node::before {
  right: 0;
  left: auto;
  transform: translate(50%, -50%);
}

.team-tree-col--right .team-node::before {
  left: 0;
  transform: translate(-50%, -50%);
}

.team-tree-col .team-node .practitioner-card {
  display: block;
  max-width: 240px;
  margin: 0 auto;
  padding-top: 0.15rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-node:hover .practitioner-card {
  transform: translateY(-5px);
}

.team-tree-col .team-node .prac-img-wrap {
  position: relative;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(145deg, var(--leaf-color), color-mix(in srgb, var(--leaf-color) 45%, var(--primary))) border-box;
  box-shadow: 0 6px 24px rgba(0, 41, 59, 0.07);
  transition: box-shadow 0.4s, transform 0.4s;
}

.team-node:hover .prac-img-wrap {
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--leaf-color) 18%, transparent),
    0 12px 28px rgba(0, 41, 59, 0.12);
  transform: scale(1.03);
}

.team-node .prac-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prac-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(0, 41, 59, 0.2);
  background: linear-gradient(135deg, #edf2f7, #f9f9f9);
}

.team-node .prac-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.team-node .prac-role {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf-color);
}

@media (max-width: 991px) {
  .team-tree-stage {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 0.9fr) minmax(0, 1fr);
    gap: 0.75rem 0.65rem;
    min-height: 340px;
    max-width: 100%;
    padding-inline: 0.25rem;
  }

  .team-tree-col--tree {
    min-height: 210px;
  }

  .team-tree-nodes--stack {
    gap: 1rem;
  }

  .team-tree-col .team-node .practitioner-card {
    max-width: 100%;
  }

  .team-tree-col .team-node .prac-img-wrap {
    width: 88px;
    height: 88px;
    margin-bottom: 0.65rem;
  }

  .team-node .prac-name {
    font-size: 0.95rem;
  }

  .team-node .prac-role {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .team-tree-col--left .team-node {
    padding-right: 0.35rem;
  }

  .team-tree-col--right .team-node {
    padding-left: 0.35rem;
  }

  .team-node::before {
    width: 8px;
    height: 8px;
    top: 0.85rem;
  }
}

@media (max-width: 767px) {
  #team.team-tree {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .team-tree-header .section-title {
    font-size: clamp(1.65rem, 6.5vw, 2.15rem);
  }

  .team-tree-intro {
    font-size: 0.85rem;
    line-height: 1.65;
  }

  .team-tree-stage {
    grid-template-columns: minmax(0, 1fr) minmax(84px, 0.72fr) minmax(0, 1fr);
    gap: 0.5rem 0.4rem;
    min-height: 268px;
    margin-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .team-tree-col--tree {
    min-height: 168px;
  }

  .team-tree-nodes--stack {
    gap: 0.85rem;
  }

  .team-tree-col .team-node .prac-img-wrap {
    width: 72px;
    height: 72px;
    margin-bottom: 0.5rem;
  }

  .team-node .prac-name {
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
  }

  .team-node .prac-role {
    font-size: 0.52rem;
    line-height: 1.35;
  }

  .team-tree-col--left .team-node,
  .team-tree-col--right .team-node {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}

@media (max-width: 480px) {
  .team-tree-stage {
    grid-template-columns: minmax(0, 1fr) minmax(72px, 0.68fr) minmax(0, 1fr);
    gap: 0.4rem 0.3rem;
    min-height: 232px;
  }

  .team-tree-col--tree {
    min-height: 142px;
  }

  .team-tree-col .team-node .prac-img-wrap {
    width: 62px;
    height: 62px;
  }

  .team-node .prac-name {
    font-size: 0.75rem;
  }

  .team-node .prac-role {
    font-size: 0.48rem;
  }
}

/* ── TESTIMONIALS (3-col accordion messages) ── */
#testimonials {
  background: var(--bg);
  padding: 88px 0;
}

.testi-header {
  max-width: 520px;
  margin: 0 auto 2rem;
}

.testi-intro {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Shared 3-column accordion grid (testimonials + services) */
.testi-grid,
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
}

#services .container,
#testimonials .container {
  max-width: 100%;
  overflow-x: clip;
}

.testi-card,
.svc-card {
  position: relative;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .4s ease, box-shadow .4s ease;
}

.testi-card::before,
.svc-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--testi-accent, var(--svc-color, var(--brand)));
  transform: scaleY(0);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  z-index: 1;
}

.testi-card:hover,
.svc-card:hover {
  border-color: rgba(0, 41, 59, 0.12);
  box-shadow: 0 4px 20px rgba(0, 41, 59, 0.06);
}

.testi-card.is-open,
.svc-card.is-open {
  border-color: rgba(0, 41, 59, 0.1);
  box-shadow:
    0 4px 24px rgba(0, 41, 59, 0.08),
    0 0 0 1px rgba(0, 41, 59, 0.04);
}

.testi-card.is-open::before,
.svc-card.is-open::before {
  transform: scaleY(1);
}

.testi-card-toggle,
.svc-card-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: .5rem .55rem;
  padding: .85rem .9rem .85rem 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  transition: background .4s ease;
}

.testi-card-toggle {
  grid-template-columns: auto auto 1fr auto auto;
}

.testi-card-toggle:hover,
.svc-card-toggle:hover {
  background: rgba(0, 41, 59, 0.03);
}

.testi-card.is-open .testi-card-toggle,
.svc-card.is-open .svc-card-toggle {
  background: linear-gradient(90deg, rgba(0, 41, 59, 0.04), transparent);
}

.testi-card-num,
.svc-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--testi-accent, var(--svc-color, var(--brand)));
  opacity: .85;
  min-width: 1.25rem;
}

.testi-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testi-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testi-card-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--testi-accent, var(--brand)), var(--teal));
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.testi-card-head,
.svc-card-head {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}

.testi-card-name,
.svc-card-name {
  font-size: .82rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text);
  line-height: 1.2;
}

.testi-card-chip,
.svc-card-chip {
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--testi-accent, var(--svc-color, var(--brand)));
  font-weight: 500;
}

.testi-card-stars {
  display: flex;
  gap: .08rem;
  color: var(--accent);
  font-size: .55rem;
}

.testi-card-chevron,
.svc-card-chevron {
  font-size: .75rem;
  color: var(--muted);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), color .3s;
}

.testi-card.is-open .testi-card-chevron,
.svc-card.is-open .svc-card-chevron {
  transform: rotate(180deg);
  color: var(--testi-accent, var(--svc-color, var(--brand)));
}

.testi-card-body,
.svc-card-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 1rem;
  border-top: 1px solid transparent;
  transition:
    max-height .45s cubic-bezier(.4, 0, .2, 1),
    opacity .35s ease,
    padding .45s ease,
    border-color .35s ease;
}

.testi-card.is-open .testi-card-body {
  max-height: 220px;
  opacity: 1;
  padding: 0 1rem .95rem 1.15rem;
  border-top-color: var(--border);
}


.testi-card-quote {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
  margin: .75rem 0 .5rem;
  position: relative;
  padding-left: .65rem;
}

.testi-card-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--testi-accent, var(--brand));
  opacity: .45;
  line-height: 1;
}

.testi-card-role {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 991px) {
  .testi-grid,
  .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  #testimonials { padding: 72px 0; }

  .testi-grid,
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .testi-card-toggle {
    grid-template-columns: auto auto 1fr auto;
    padding: .75rem .85rem;
  }

  .testi-card-stars {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 2.5rem;
  }

  .testi-card-chevron,
  .svc-card-chevron {
    justify-self: end;
  }

  .testi-card,
  .svc-card {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testi-card-body,
  .svc-card-body,
  .testi-card-chevron,
  .svc-card-chevron,
  .testi-card::before,
  .svc-card::before {
    transition: none !important;
  }
}

/* ── MEMBERSHIP ── */
.membership-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.membership-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(41,170,224,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 30%, rgba(220,1,75,.05) 0%, transparent 45%);
  pointer-events: none;
}

.membership-section .container {
  position: relative;
  z-index: 1;
}

.membership-intro {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: .92rem;
  line-height: 1.85;
}

.membership-grid > [class*="col-"] {
  display: flex;
}

.tier-card {
  --tier-accent: var(--brand);
  position: relative;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow:
    0 1px 2px rgba(0,41,59,.04),
    0 12px 40px rgba(0,41,59,.06);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s, border-color .4s;
}

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 4px 8px rgba(0,41,59,.06),
    0 24px 56px rgba(0,41,59,.1);
  border-color: rgba(220,1,75,.2);
}

.tier-card--silver { --tier-accent: #718096; }
.tier-card--gold   { --tier-accent: var(--accent); }
.tier-card--plat   { --tier-accent: #7c5cbf; }

.tier-card-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--tier-accent), color-mix(in srgb, var(--tier-accent) 40%, transparent));
}

.tier-card-inner {
  padding: 2rem 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tier-card.featured {
  border-color: rgba(220,1,75,.25);
  box-shadow:
    0 1px 2px rgba(220,1,75,.06),
    0 16px 48px rgba(220,1,75,.12);
}

.tier-card.featured:hover {
  border-color: rgba(220,1,75,.4);
  box-shadow:
    0 4px 8px rgba(220,1,75,.08),
    0 28px 60px rgba(220,1,75,.16);
}

.tier-popular {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  padding: 5px 12px;
  border-radius: 999px;
}

.tier-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  background: color-mix(in srgb, var(--tier-accent) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--tier-accent) 25%, transparent);
  color: var(--tier-accent);
}

.tier-badge.silver { --tier-accent: #718096; }
.tier-badge.gold   { --tier-accent: #c47d00; }
.tier-badge.plat   { --tier-accent: #7c5cbf; }

.tier-price-block {
  margin-bottom: 1.35rem;
}

.tier-price {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 2.85rem);
  font-weight: 400;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: .35rem;
}

.tier-price sup {
  font-size: 1.05rem;
  font-weight: 500;
  vertical-align: top;
  margin-right: 2px;
  color: var(--muted);
}

.tier-from {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}

.tier-rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.tier-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .65rem .35rem;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.tier-rate-label {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.tier-rate-value {
  font-size: .88rem;
  font-weight: 500;
  color: var(--primary);
}

.tier-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.5;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
}

.tier-features li:first-child {
  border-top: 1px solid var(--border);
}

.tier-features li i {
  flex-shrink: 0;
  margin-top: .15rem;
  font-size: .95rem;
  color: var(--brand);
}

.tier-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .35s, color .35s, transform .25s, box-shadow .35s;
  cursor: pointer;
  margin-top: auto;
}

.tier-btn:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,1,75,.28);
}

.tier-card.featured .tier-btn {
  background: var(--brand);
}

.tier-card.featured .tier-btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 8px 28px rgba(220,1,75,.35);
}

/* ── CTA ── */
#cta {
  padding: 140px 0;
  background: linear-gradient(135deg, var(--warm-soft) 0%, var(--teal-soft) 50%, var(--brand-soft) 100%);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/janbaby-winding-road-1556177_1920.jpg') center/cover no-repeat;
  opacity: .12;
}

#cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.88) 0%, rgba(232,244,248,.82) 100%);
}

.cta-inner { position: relative; z-index: 1; text-align: center; }

.cta-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.cta-title em { font-style: italic; color: var(--brand); }

.cta-sub {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 2.6rem;
}

.btn-primary-lcj {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 15px 44px;
  background: var(--brand);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  transition: background .35s, transform .3s, box-shadow .35s;
  cursor: pointer;
}

.btn-primary-lcj:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline-lcj {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 14px 40px;
  border: 1px solid rgba(0, 41, 59, 0.18);
  color: var(--primary);
  background: var(--surface);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
  border-radius: 999px;
  transition: border-color .35s, color .35s, background .35s, box-shadow .35s;
}

.btn-outline-lcj:hover {
  border-color: var(--teal);
  color: var(--primary);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(41, 170, 224, 0.18);
}

/* ── CONTACT ── */
#contact { background: var(--surface); }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand);
  transition: background .3s, border-color .3s, color .3s;
}

.contact-info-item:hover .contact-icon {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.contact-label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}

.contact-value {
  font-size: .95rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
}

.contact-value:hover { color: var(--brand); }

.form-field {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 14px 16px;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  color: var(--text);
  outline: none;
  transition: border-color .3s;
  margin-bottom: 1rem;
}

.form-field:focus { border-color: var(--brand); }
.form-field::placeholder { color: var(--muted); }

textarea.form-field { resize: vertical; min-height: 130px; }
select.form-field { cursor: pointer; }

/* ── FOOTER ── */
footer {
  background: var(--lcj-ink);
  padding: 80px 0 40px;
  border-top: none;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.footer-brand span { color: var(--brand); }

.footer-tagline { font-size: .82rem; color: rgba(255, 255, 255, 0.4); }

.footer-heading {
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.4rem;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: .7rem; }

.footer-links a {
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color .3s;
}

.footer-links a:hover { color: #fff; }

.social-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.social-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  text-decoration: none;
  background: transparent;
  transition: border-color .3s, color .3s, background .3s;
}

.social-icon:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(220, 1, 75, 0.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 2rem;
  margin-top: 3rem;
}

.footer-bottom p { font-size: .76rem; color: rgba(255, 255, 255, 0.25); }

.footer-bottom a {
  color: rgba(255, 255, 255, 0.25) !important;
  transition: color .3s;
}

.footer-bottom a:hover { color: rgba(255, 255, 255, 0.55) !important; }

.footer-newsletter-note {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.ncr-badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, 0.35);
  background: transparent;
  text-transform: uppercase;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: none;
  border-radius: 999px 0 0 999px;
  padding: 12px 14px;
  color: #fff;
  font-size: .82rem;
  outline: none;
  font-family: 'DM Sans', sans-serif;
}

.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.35); }

.newsletter-btn {
  background: var(--brand);
  border: none;
  border-radius: 0 999px 999px 0;
  padding: 12px 18px;
  color: #fff;
  cursor: pointer;
  font-size: .9rem;
  transition: background .3s;
}

.newsletter-btn:hover { background: var(--brand-dark); }

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 100%;
}

/* ── RESPONSIVE (site-wide) ── */
img,
video,
canvas {
  max-width: 100%;
  height: auto;
}

.container {
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

@media (max-width: 1199px) {
  .team-tree-stage {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.95fr) minmax(0, 1fr);
    gap: 1rem 1.25rem;
  }
}

@media (max-width: 991px) {
  .nav-links, .nav-cta-btn { display: none !important; }
  .burger { display: flex; margin-left: auto; }
  .nav-float {
    width: 100%;
    max-width: 420px;
    justify-content: space-between;
    padding: 8px 14px 8px 12px;
  }
  #mainNav .nav-brand { margin-right: 0; }
  .nav-brand-text {
    font-size: clamp(0.78rem, 2.4vw, 0.95rem);
    letter-spacing: 0.07em;
  }

  #about .col-lg-6.offset-lg-1 {
    margin-top: 0.5rem;
  }

  #contact .col-lg-6.offset-lg-1 {
    margin-top: 1.5rem;
  }
}

@media (max-width: 767px) {
  :root { --nav-offset: 96px; }

  section { padding: 72px 0; }
  #services,
  #testimonials { padding: 64px 0; }
  #membership { padding: 72px 0; }
  #cta { padding: 88px 0; }
  footer { padding: 56px 0 32px; }

  .about-image-wrap::before { display: none; }
  .about-image-wrap img {
    height: min(380px, 58vw);
    min-height: 240px;
  }

  .about-stat { font-size: 2.35rem; }
  .about-stat-label { font-size: .7rem; }

  #hero {
    min-height: 100svh;
    min-height: 100dvh;
    height: auto;
  }

  .hero-layout {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: 4.5rem;
  }

  .hero-headline {
    font-size: clamp(2.15rem, 10.5vw, 3.35rem);
    margin-bottom: 1.25rem;
  }

  .hero-sub {
    font-size: .92rem;
    margin-bottom: 2rem;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 1.25rem;
    font-size: .72rem;
  }

  .hero-practitioner {
    width: min(300px, 100%);
  }

  .scroll-line { bottom: 1.25rem; }

  .section-title { font-size: clamp(1.9rem, 7.5vw, 2.75rem); }
  .section-label { font-size: .62rem; letter-spacing: .24em; }

  .testi-grid,
  .svc-grid {
    gap: 0.75rem;
    padding: 0;
  }

  .svc-card-toggle {
    grid-template-columns: auto auto 1fr auto;
    padding: 0.75rem 0.85rem;
    gap: 0.45rem;
  }

  .svc-card-name { font-size: 0.78rem; }

  .tier-card-inner {
    padding: 1.75rem 1.25rem 1.65rem;
  }

  .tier-popular {
    top: 1rem;
    right: 1rem;
    font-size: .58rem;
    padding: 4px 10px;
  }

  .tier-rates {
    gap: .35rem;
  }

  .tier-rate {
    padding: .55rem .25rem;
    border-radius: 12px;
  }

  .tier-rate-label {
    font-size: .58rem;
  }

  .tier-rate-value {
    font-size: .8rem;
  }

  .btn-primary-lcj,
  .btn-outline-lcj {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #cta .d-flex {
    flex-direction: column;
    align-items: center;
  }

  .contact-info-item {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .contact-value {
    word-break: break-word;
    font-size: 0.88rem;
  }

  .form-field { font-size: 1rem; }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .d-flex {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
  }

  .footer-bottom p {
    font-size: 0.7rem;
    line-height: 1.5;
  }

  .newsletter-form {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .newsletter-input {
    min-width: 0;
    flex: 1 1 140px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
  }

  .journey-curtain-label {
    white-space: normal;
    text-align: center;
    max-width: min(90vw, 280px);
    line-height: 1.5;
  }

  .team-tree-col .team-node .practitioner-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-float {
    max-width: 100%;
    justify-content: space-between;
    gap: 0.35rem 0.5rem;
    padding: 6px 8px 6px 10px;
  }

  #mainNav .nav-brand {
    gap: 0.4rem;
    font-size: clamp(0.62rem, 3.1vw, 0.72rem);
    letter-spacing: 0.04em;
    min-width: 0;
    flex: 1 1 auto;
    margin-right: 0;
  }

  .nav-brand-text {
    display: inline;
    line-height: 1.2;
    white-space: nowrap;
  }

  .nav-logo {
    width: 34px;
    height: 34px;
  }

  #mainNav { padding-left: 10px; padding-right: 10px; }

  #mobileMenu a {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  #mobileClose {
    top: max(20px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    margin-bottom: 1rem;
  }

  .scroll-line { display: none; }

  .prac-name { font-size: 1.05rem; }
}

/* ── JOURNEY NAVIGATION (transitions & progress rail) ── */
html.journey-enhanced { scroll-behavior: auto; }

body.journey-scroll-lock {
  overflow: hidden;
  touch-action: none;
}

body.journey-loading::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: linear-gradient(165deg, var(--surface) 0%, var(--teal-soft) 50%, var(--brand-soft) 100%);
  animation: journeyPageIn .85s cubic-bezier(.4, 0, .2, 1) forwards;
  pointer-events: none;
}

@keyframes journeyPageIn {
  0%, 45% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* Path bridge between sections */
.journey-bridge {
  position: relative;
  height: 56px;
  margin-top: -1px;
  background: var(--surface);
  overflow: hidden;
}

.journey-bridge-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.journey-bridge-path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .4;
  stroke-dasharray: 1440;
  stroke-dashoffset: 1440;
  transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1);
}

.journey-bridge.is-drawn .journey-bridge-path {
  stroke-dashoffset: 0;
  opacity: .55;
}

.journey-bridge--dark {
  background: var(--bg);
}

.journey-section {
  position: relative;
  transition: opacity .6s ease;
}

.journey-section:not(.journey-arrived):not(#hero) {
  opacity: 1;
}

/* Transition curtain */
.journey-curtain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(232, 244, 248, 0.92) 45%,
    rgba(253, 242, 246, 0.9) 100%
  );
  transition: opacity .35s ease, visibility .35s ease;
}

.journey-curtain.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.journey-curtain-road {
  position: absolute;
  left: 50%;
  width: 3px;
  height: 40%;
  margin-left: -1.5px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent) 25%,
    var(--brand) 50%,
    var(--teal) 75%,
    transparent
  );
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(220, 1, 75, 0.45);
  opacity: 0;
}

.journey-curtain.is-active .journey-curtain-road {
  animation: journeyRoadTravel .7s cubic-bezier(.4, 0, .2, 1) forwards;
}

.journey-curtain[data-direction="back"].is-active .journey-curtain-road {
  animation-name: journeyRoadTravelBack;
}

@keyframes journeyRoadTravel {
  0% {
    top: -45%;
    opacity: 0;
    transform: scaleY(.6);
  }
  20% { opacity: 1; }
  100% {
    top: 105%;
    opacity: 0;
    transform: scaleY(1.1);
  }
}

@keyframes journeyRoadTravelBack {
  0% {
    top: 105%;
    opacity: 0;
    transform: scaleY(.6);
  }
  20% { opacity: 1; }
  100% {
    top: -45%;
    opacity: 0;
    transform: scaleY(1.1);
  }
}

.journey-curtain-label {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  opacity: 0;
}

.journey-curtain.is-active .journey-curtain-label {
  animation: journeyLabelIn .55s .12s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes journeyLabelIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Side progress rail */
.journey-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: none;
}

.journey-rail-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .65rem;
  padding-right: 14px;
}

.journey-rail-label {
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .85;
}

.journey-rail-track {
  position: absolute;
  right: 5px;
  top: 1.6rem;
  bottom: 0;
  width: 2px;
  background: rgba(0, 41, 59, 0.12);
  border-radius: 2px;
}

.journey-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--brand), var(--teal));
  border-radius: 2px;
  transition: height .55s cubic-bezier(.4, 0, .2, 1);
}

.journey-rail-stops {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.journey-rail-stop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  padding: .28rem 0;
  text-decoration: none;
  color: var(--muted);
  transition: color .3s, transform .3s;
}

.journey-rail-stop:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

.journey-rail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 41, 59, 0.2);
  background: var(--surface);
  flex-shrink: 0;
  transition: border-color .35s, background .35s, transform .35s, box-shadow .35s;
}

.journey-rail-name {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity .35s, max-width .35s;
}

.journey-rail:hover .journey-rail-name,
.journey-rail-stop.is-current .journey-rail-name {
  opacity: 1;
  max-width: 6rem;
}

.journey-rail-stop.is-current .journey-rail-dot {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(220, 1, 75, 0.2);
  transform: scale(1.15);
}

.journey-rail-stop.is-current {
  color: var(--brand);
}

@media (min-width: 1400px) {
  .journey-rail {
    display: block;
    max-width: 120px;
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-curtain,
  .journey-curtain-road,
  .journey-curtain-label,
  .journey-bridge-path,
  .journey-rail-fill,
  .reveal,
  .journey-section {
    transition: none !important;
    animation: none !important;
  }

  .journey-curtain { display: none !important; }

  .reveal,
  .reveal--up,
  .reveal--down,
  .reveal--left,
  .reveal--right,
  .reveal--zoom-in,
  .reveal--zoom-out,
  .reveal--fade,
  .reveal.from-left,
  .reveal.from-right,
  .reveal.reveal-up,
  .reveal.reveal-down,
  .reveal.reveal-left,
  .reveal.reveal-right,
  .reveal.reveal-zoom-in,
  .reveal.reveal-zoom-out,
  .reveal.reveal-fade {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .journey-bridge-path {
    stroke-dashoffset: 0 !important;
  }

  body.journey-loading::before {
    display: none;
  }
}
