/* ============================================================
   CHANGE WORK THERAPIES — stylesheet
   Warm cream × healing teal × terracotta
   Fonts: Cormorant Garamond (serif) + DM Sans (sans)
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --cream:       #F7F4EE;
  --cream-2:     #EFE9DD;
  --cream-3:     #E2D9C7;
  --teal:        #4F7B73;   /* healing teal */
  --teal-dk:     #38605A;
  --teal-deep:   #2C4A45;
  --teal-lt:     #B7C9C4;
  --sage-teal:   #7FA39A;
  --coral:       #C97B5F;   /* terracotta */
  --coral-dk:    #AC6249;
  --warm-sand:   #D9B99C;
  --ink:         #2B2723;
  --text:        #34302B;
  --text-muted:  #756E64;
  --border:      #DDD3C0;
  --border-2:    #D2C7AF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --shadow-sm: 0 2px 12px rgba(40,45,51,.05);
  --shadow:    0 14px 44px rgba(40,45,51,.10);
  --shadow-lg: 0 30px 70px rgba(40,45,51,.16);

  --radius:      18px;
  --radius-lg:   28px;
  --radius-xl:   40px;
  --radius-full: 9999px;

  --ease: cubic-bezier(.4,0,.2,1);
  --tr:   all .3s var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== CHIPS / EYEBROWS ===== */
.chip {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(81,115,109,.1);
  border-radius: var(--radius-full);
  padding: 6px 15px;
  margin-bottom: 20px;
}
.chip-light {
  color: rgba(250,246,240,.72);
  background: rgba(250,246,240,.12);
}

/* ===== BUTTONS ===== */
.btn-filled {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: var(--tr);
  box-shadow: 0 8px 22px rgba(186,101,98,.28);
}
.btn-filled:hover { background: var(--coral-dk); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(186,101,98,.34); }

.btn-ghost {
  display: inline-block;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  transition: var(--tr);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }

.btn-outline-dark {
  display: inline-block;
  color: var(--text);
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid var(--border-2);
  transition: var(--tr);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-outline-dark:hover { border-color: var(--teal); background: var(--teal); color: var(--cream); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  padding: 14px 0;
}
.nav-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  transition: max-width .45s var(--ease), padding .45s var(--ease),
              background .45s var(--ease), box-shadow .45s var(--ease),
              border-color .45s var(--ease);
}
/* detached floating "island" once scrolled */
.nav.scrolled .nav-inner {
  max-width: 1060px;
  padding: 9px 10px 9px 26px;
  background: rgba(250,246,240,.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: rgba(40,45,51,.07);
  box-shadow: 0 12px 34px rgba(40,45,51,.12);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .4s var(--ease);
}
.nav-logo em { font-style: italic; font-weight: 500; color: #fff; }
.nav-emblem {
  width: auto;
  height: 34px;
  flex-shrink: 0;
}
.nav-emblem-dark { display: none; }   /* default (top) = white camouflage logo */
.nav.scrolled .nav-logo { color: var(--ink); }
.nav.scrolled .nav-logo em { color: var(--coral); }
.nav.scrolled .nav-emblem-light { display: none; }
.nav.scrolled .nav-emblem-dark  { display: block; }
.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-link {
  font-size: .83rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  transition: var(--tr);
  white-space: nowrap;
}
.nav.scrolled .nav-link { color: var(--text-muted); }
.nav-link:hover { color: var(--coral); }
.nav.scrolled .nav-link:hover { color: var(--coral); }
.nav-book {
  margin-left: auto;
  background: var(--coral);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  transition: var(--tr);
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-book:hover { background: var(--coral-dk); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--tr);
}
.nav.scrolled .nav-toggle span { background: var(--ink); }
.nav.nav-open .nav-toggle span { background: #fff; }
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 0;
  background: var(--cream);
  position: relative;
}
.hero-frame {
  position: relative;
  min-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(20,28,26,.7) 0%, rgba(20,28,26,.45) 42%, rgba(20,28,26,.2) 72%), url('images/yoga/home-banner.jpg');
  background-size: cover;
  background-position: center 35%;
}
/* cream fade into the next section */
.hero-frame::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 130px;
  background: linear-gradient(to bottom, transparent 0%, rgba(250,246,240,.35) 78%, var(--cream) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(32px, 6vw, 88px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 34px;
  height: 1px;
  background: rgba(255,255,255,.6);
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.6rem, 7.4vw, 7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 26px;
  text-shadow: 0 2px 36px rgba(15,22,18,.32);
}
.hero-h1 em { font-style: italic; font-weight: 400; color: #fff; }
.hero-sub {
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
}
.hsp-stars { color: #f0c38e; font-size: .82rem; letter-spacing: 2px; }
.hsp-text  { font-size: .74rem; color: rgba(255,255,255,.78); font-weight: 500; letter-spacing: .03em; }

/* scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-dk);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--teal-dk), transparent);
  transform-origin: top;
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); }
}
.hero-ring { display: none; }

/* hero entrance animation */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow,
.hero-h1,
.hero-sub,
.hero-actions,
.hero-social-proof {
  animation: heroRise 1s var(--ease) both;
}
.hero-eyebrow      { animation-delay: .25s; }
.hero-h1           { animation-delay: .4s; }
.hero-sub          { animation-delay: .65s; }
.hero-actions      { animation-delay: .8s; }
.hero-social-proof { animation-delay: .95s; }
.hero-scroll       { animation: heroRise 1s var(--ease) 1.2s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-h1, .hero-sub, .hero-actions, .hero-social-proof, .hero-scroll {
    animation: none;
  }
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 120px 0;
  background: var(--cream);
}
.philosophy-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 30px;
}
.phi-left { flex-shrink: 0; }
.philosophy-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--teal-dk);
}
.philosophy-h2 em { font-style: italic; font-weight: 400; color: var(--coral); }
.philosophy-desc {
  max-width: 360px;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.85;
  padding-bottom: 6px;
}

/* About bio block (replaces stats) */
.phi-bio { max-width: 780px; }
.phi-bio p { color: var(--text-muted); line-height: 1.85; font-size: 1.02rem; margin-bottom: 14px; }

/* Stats row */
.phi-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 22px;
}
.phi-stat {
  background: var(--cream-2);
  padding: 46px 24px;
  text-align: center;
  transition: background .3s var(--ease);
}
.phi-stat:hover { background: var(--cream-3); }
.phi-stat-num {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 400;
  color: var(--teal-dk);
  line-height: 1;
  margin-bottom: 8px;
}
.phi-stat-plus {
  font-size: 2rem;
  vertical-align: super;
  color: var(--coral);
}
.phi-stat-label {
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Studio panel — single full-width image */
.studio-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.sp-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/yoga/upminster-sanctuary.webp');
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease);
}
.studio-panel:hover .sp-bg { transform: scale(1.04); }
.sp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,40,38,.85) 0%, rgba(28,40,38,.25) 55%, transparent 100%);
}
.sp-content {
  position: relative;
  z-index: 2;
  padding: 48px 52px;
  display: flex;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
}
.sp-text { flex: 1; min-width: 220px; }
.sp-tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(250,246,240,.6);
  margin-bottom: 12px;
}
.sp-label {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.12;
  margin-bottom: 12px;
}
.sp-label em { font-style: italic; font-weight: 400; color: var(--teal-lt); }
.sp-desc {
  font-size: .9rem;
  color: rgba(250,246,240,.72);
  line-height: 1.8;
  max-width: 380px;
}
.sp-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: .03em;
  transition: var(--tr);
  white-space: nowrap;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(250,246,240,.4);
}
.studio-panel:hover .sp-link { color: var(--coral); border-color: var(--coral); }

/* ===== CLINIC ===== */
.clinic {
  padding: 0 0 120px;
  background: var(--cream);
}

/* ===== CLASSES ===== */
.classes {
  padding: 120px 0;
  background: var(--teal-dk);
}
.classes-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}
.classes-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.1;
}
.classes-h2 em { font-style: italic; font-weight: 400; color: var(--teal-lt); }
.classes-all {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(250,246,240,.62);
  border-bottom: 1px solid rgba(250,246,240,.3);
  padding-bottom: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--tr);
}
.classes-all:hover { color: var(--coral); border-color: var(--coral); }
.classes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.c-card { cursor: pointer; }
.c-card:hover .c-img-inner { transform: scale(1.06); }
.c-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 18px;
  position: relative;
}
.c-img-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .7s var(--ease);
}
.c-card:nth-child(1) .c-img-inner { background-image: url('images/yoga/Integrative%20Counselling-portrait.jpg'); }
.c-card:nth-child(2) .c-img-inner { background-image: url('images/yoga/Homoeopathy-portrait.jpg'); }
.c-card:nth-child(3) .c-img-inner { background-image: url('images/yoga/Kundalini-Yoga-portrait.jpg'); }
.c-card:nth-child(4) .c-img-inner { background-image: url('images/yoga/gong-bath-landscape.jpeg'); }
.c-tag {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(250,246,240,.55);
  margin-bottom: 8px;
}
.c-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 5px;
}
.c-desc {
  font-size: .82rem;
  color: rgba(250,246,240,.55);
  line-height: 1.55;
  margin-bottom: 14px;
}
.c-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.c-meta { font-size: .75rem; color: rgba(250,246,240,.45); }
.c-learn {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(250,246,240,.7);
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.c-card:hover .c-learn { color: var(--coral); }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 120px 0;
  background: var(--cream-2);
}
.testi-header {
  text-align: center;
  margin-bottom: 64px;
}
.testi-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 500;
  color: var(--teal-dk);
  line-height: 1.08;
}
.testi-h2 em { font-style: italic; font-weight: 400; color: var(--coral); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.t-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--border);
  transition: var(--tr);
  display: flex;
  flex-direction: column;
}
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.t-stars { color: var(--coral); letter-spacing: 2px; margin-bottom: 16px; font-size: .9rem; }
.t-quote {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 28px;
  flex: 1;
}
.t-author { display: flex; align-items: center; gap: 13px; }
.t-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
  color: var(--cream);
  flex-shrink: 0;
}
.t-name { font-size: .86rem; font-weight: 600; color: var(--ink); }
.t-role { font-size: .72rem; color: var(--text-muted); margin-top: 2px; }

/* ===== BLOG ===== */
.blog {
  padding: 120px 0;
  background: var(--cream);
}
.blog-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}
.blog-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--teal-dk);
}
.blog-h2 em { font-style: italic; font-weight: 400; color: var(--coral); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.b-card { cursor: pointer; }
.b-card:hover .b-img-inner { transform: scale(1.04); }
.b-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 22px;
}
.b-img-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .7s var(--ease);
}
.b-card:nth-child(1) .b-img-inner { background-image: url('images/yoga/blog1.png'); }
.b-card:nth-child(2) .b-img-inner { background-image: url('images/yoga/blog2.jpg'); }
.b-card:nth-child(3) .b-img-inner { background-image: url('images/yoga/blog3.png'); }
.b-cat {
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}
.b-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.22;
  color: var(--teal-dk);
  margin-bottom: 10px;
}
.b-excerpt { font-size: .88rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.b-read {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.b-card:hover .b-read { color: var(--coral); gap: 12px; }

/* ===== FAQ ===== */
.faq {
  padding: 120px 0;
  background: var(--cream-2);
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 90px;
  align-items: flex-start;
}
.faq-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.16;
  color: var(--teal-dk);
  margin-bottom: 16px;
}
.faq-h2 em { font-style: italic; font-weight: 400; color: var(--coral); }
.faq-sub { font-size: .9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; max-width: 280px; }
.faq-contact {
  font-size: .88rem;
  font-weight: 600;
  color: var(--coral);
  border-bottom: 1.5px solid var(--coral);
  padding-bottom: 2px;
  display: inline-block;
  transition: var(--tr);
}
.faq-contact:hover { color: var(--coral-dk); border-color: var(--coral-dk); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border-2); }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}
.faq-q {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--teal-dk);
  flex: 1;
  transition: color .25s;
}
.faq-item.open .faq-q { color: var(--coral); }
.faq-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--tr);
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  transform: rotate(45deg);
}
.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease);
}
.faq-body-inner {
  padding-bottom: 24px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.85;
}
.faq-item.open .faq-body { max-height: 320px; }

/* ===== CTA ===== */
.cta {
  padding: 120px 0;
  background: var(--cream);
}
.cta .container {
  background: var(--teal-dk);
  border-radius: var(--radius-xl);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::after { content: none; }
.cta .container::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(165,184,180,.16) 0%, transparent 65%);
  pointer-events: none;
}
.cta-h2 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 26px;
  position: relative;
}
.cta-h2 em { font-style: italic; font-weight: 400; color: var(--teal-lt); }
.cta-sub {
  font-size: .98rem;
  color: rgba(250,246,240,.72);
  max-width: 380px;
  margin: 0 auto 44px;
  line-height: 1.8;
  position: relative;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  padding: 88px 0 40px;
  color: rgba(247,244,238,.6);
  border-top: 1px solid rgba(247,244,238,.07);
}
.footer::before {
  content: '';
  position: absolute;
  top: -170px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 480px;
  background: radial-gradient(ellipse at top, rgba(127,163,154,.16) 0%, transparent 70%);
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 72px;
}
.f-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.f-logo-img { height: 38px; width: auto; }
.f-logo em { font-style: italic; font-weight: 500; color: var(--coral); }
.f-brand-desc {
  font-size: .86rem;
  line-height: 1.8;
  margin-bottom: 28px;
  color: rgba(250,246,240,.5);
  max-width: 300px;
}
.f-socials { display: flex; gap: 11px; }
.f-social {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,238,.22);
  display: flex; align-items: center; justify-content: center;
  color: rgba(247,244,238,.72);
  transition: var(--tr);
}
.f-social svg { width: 18px; height: 18px; display: block; }
.f-social:hover {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
  transform: translateY(-2px);
}
.f-col h4 {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 22px;
}
.f-col ul { display: flex; flex-direction: column; gap: 13px; }
.f-col li { font-size: .85rem; color: rgba(250,246,240,.5); }
.f-col a {
  font-size: .85rem;
  color: rgba(250,246,240,.5);
  transition: var(--tr);
}
.f-col a:hover { color: var(--coral); }
.f-bottom {
  border-top: 1px solid rgba(250,246,240,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .76rem;
  color: rgba(250,246,240,.4);
}
.f-bottom a { color: rgba(250,246,240,.62); transition: var(--tr); }
.f-bottom a:hover { color: var(--coral); }

/* ===== FADE-UP ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.fade-up.visible { opacity: 1; transform: none; }

/* ============================================================
   INNER PAGES
   ============================================================ */

/* page header */
.page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--teal-dk);
  color: var(--cream);
  padding: 190px 0 96px;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(165,184,180,.16) 0%, transparent 65%);
  pointer-events: none;
}
.ph-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 32px; }
.ph-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-lt); margin-bottom: 22px;
}
.ph-eyebrow::before, .ph-eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--teal-lt); opacity: .5; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500; line-height: 1.04; color: var(--cream);
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--teal-lt); }
.page-hero p { font-size: 1.02rem; color: rgba(250,246,240,.72); line-height: 1.8; max-width: 540px; margin: 0 auto; }

/* generic section */
.section { padding: 100px 0; background: var(--cream); }
.section.alt { background: var(--cream-2); }
.section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section-head .chip { display: inline-block; }
.section-head h2 {
  font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500; color: var(--teal-dk); line-height: 1.12;
}
.section-head h2 em { font-style: italic; font-weight: 400; color: var(--coral); }
.section-head p { margin-top: 16px; color: var(--text-muted); line-height: 1.8; }

/* split (image + text, alternating) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split + .split { margin-top: 90px; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
  background-size: cover; background-position: center; box-shadow: var(--shadow);
}
.split.reverse .split-media { order: 2; }
.yt-thumb { position: relative; display: block; text-decoration: none; }
.yt-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(40,45,51,.28);
  transition: transform .25s ease, background .25s ease;
}
.yt-thumb:hover .yt-play { transform: translate(-50%, -50%) scale(1.12); background: #fff; }
.yt-play svg { width: 26px; height: 26px; fill: var(--teal-dk); margin-left: 4px; }
.split-media.portrait { aspect-ratio: 4/5; }
.split h3 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; color: var(--teal-dk); line-height: 1.15; margin-bottom: 16px; }
.split h3 em { font-style: italic; color: var(--coral); }
.split > div p { color: var(--text-muted); line-height: 1.85; margin-bottom: 16px; }
.split-list { display: flex; flex-direction: column; gap: 11px; margin: 22px 0 26px; }
.split-list li { position: relative; padding-left: 26px; color: var(--text); font-size: .92rem; line-height: 1.5; }
.split-list li::before { content: '✦'; position: absolute; left: 0; top: 1px; color: var(--coral); font-size: .8rem; }
.split-meta { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

/* info cards grid (steps / contact details) */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.info-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.section.alt .info-card { background: #fff; }
.info-num { font-family: var(--font-serif); font-size: 2rem; color: var(--coral); line-height: 1; margin-bottom: 14px; }
.info-card h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; color: var(--teal-dk); margin-bottom: 8px; }
.info-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.8; }
.info-card a { color: var(--teal); font-weight: 600; }
.info-card a:hover { color: var(--coral); }

/* form */
.form { max-width: 640px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.form-field input, .form-field textarea, .form-field select {
  font-family: inherit; font-size: .95rem; color: var(--text);
  background: var(--cream); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 13px 16px; transition: var(--tr);
}
.section.alt .form-field input, .section.alt .form-field textarea, .section.alt .form-field select { background: #fff; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--teal); }
.form-field input[type="date"], .form-field input[type="time"] { color-scheme: light; cursor: pointer; }
.form-field input.input-invalid { border-color: var(--coral-dk) !important; }
.form-field input.input-valid { border-color: var(--teal) !important; }
.field-error { font-size: .76rem; color: var(--coral-dk); font-weight: 500; margin-top: -2px; }
.form-field textarea { resize: vertical; min-height: 140px; }
.form .btn-filled { border: none; cursor: pointer; width: 100%; margin-top: 6px; font-size: .95rem; }
.form-note { text-align: center; font-size: .82rem; color: var(--text-muted); margin-top: 16px; }
.form-feedback { text-align: center; font-size: .88rem; font-weight: 500; min-height: 1.4em; margin-top: 12px; }
.form-feedback.success { color: var(--teal-dk); }
.form-feedback.error { color: var(--coral-dk); }

/* contact layout (form + portrait) */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: stretch; }
.contact-wrap .form { max-width: none; margin: 0; }
.contact-h2 { font-family: var(--font-serif); font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 500; color: var(--teal-dk); line-height: 1.12; margin-bottom: 14px; }
.contact-h2 em { font-style: italic; font-weight: 400; color: var(--coral); }
.contact-intro { color: var(--text-muted); line-height: 1.8; margin-bottom: 30px; max-width: 460px; }
.contact-photo {
  position: relative;
  overflow: visible;
  min-height: 520px;
}
.cp-card {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.65s ease;
  will-change: transform, opacity;
}
.cp-card[data-pos="0"] {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 22px 60px rgba(40,45,51,.22);
}
.cp-card[data-pos="1"] {
  transform: translateY(16px) translateX(-16px) rotate(-3.5deg) scale(0.94);
  opacity: 0.78;
  z-index: 2;
  box-shadow: 0 12px 36px rgba(40,45,51,.14);
}
.cp-card[data-pos="2"] {
  transform: translateY(30px) translateX(-28px) rotate(-7deg) scale(0.88);
  opacity: 0.5;
  z-index: 1;
  box-shadow: 0 6px 20px rgba(40,45,51,.08);
}
.cp-card.cp-card--out {
  transform: translateY(-70px) translateX(20px) rotate(8deg) scale(0.96) !important;
  opacity: 0 !important;
  z-index: 4;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease !important;
}
.cp-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 46px 22px 22px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(20,28,26,.66), transparent);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .cp-card { transition: none; }
}
.info-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.contact-cards { margin-top: 56px; }
.contact-cards .cl-label { margin-bottom: 8px; }
.contact-cards a, .contact-cards p { font-size: .9rem; color: var(--text); font-weight: 500; line-height: 1.6; word-break: break-word; }
.contact-cards a { transition: var(--tr); }
.contact-cards a:hover { color: var(--coral); }
.contact-details h3 { font-family: var(--font-serif); font-size: 1.7rem; color: var(--teal-dk); margin-bottom: 6px; }
.contact-details > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.contact-line { padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-line:last-child { border-bottom: none; }
.cl-label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.cl-value { color: var(--text); font-weight: 500; }
.cl-value a:hover { color: var(--coral); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .classes-grid   { grid-template-columns: repeat(2, 1fr); }
  .phi-stats      { grid-template-columns: repeat(2, 1fr); }
  .testi-grid     { grid-template-columns: repeat(2, 1fr); }
  .blog-grid      { grid-template-columns: repeat(2, 1fr); }
  .faq-inner      { grid-template-columns: 1fr; gap: 44px; }
  .faq-sub        { max-width: 100%; }
  .footer-grid    { grid-template-columns: repeat(2, 1fr); }

  /* hamburger + dropdown menu from tablet / small-laptop down.
     the menu is a cream panel that flows out of the island bar */
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 14px;
    right: 14px;
    transform: none;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 18px 20px;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 22px 46px rgba(40,45,51,.16);
    z-index: 90;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li + li { border-top: 1px solid var(--border); }
  .nav-link {
    display: block;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
    padding: 16px 0;
  }
  .nav-link:hover { color: var(--coral); }
  .nav.scrolled .nav-link { color: var(--ink); }
  /* square the bar's bottom so it merges with the menu when open */
  .nav.nav-open .nav-inner { border-radius: 24px 24px 0 0; }
  .nav-book  { display: none; }
  .nav-toggle { display: flex; }

  /* default to the detached "island" navbar (no backdrop-filter: it would
     trap the fixed dropdown's containing block inside the bar) */
  .nav,
  .nav.scrolled { padding: 12px 14px; }
  .nav-inner,
  .nav.scrolled .nav-inner {
    padding: 9px 12px 9px 20px;
    background: rgba(250,246,240,.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: rgba(40,45,51,.08);
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(40,45,51,.12);
  }
  .nav-logo { color: var(--ink); flex: 1 1 auto; min-width: 0; }
  .nav-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-logo em { color: var(--coral); }
  .nav-emblem-light { display: none; }
  .nav-emblem-dark  { display: block; }
  .nav-toggle { flex-shrink: 0; }
  .nav-toggle span { background: var(--ink); }
  .nav.nav-open .nav-toggle span { background: var(--ink); }
}

/* very small phones — scale down logo and text to keep everything visible */
@media (max-width: 390px) {
  .nav-logo { font-size: 0.78rem; }
  .nav-emblem { height: 26px; }
  .nav,
  .nav.scrolled { padding: 10px 12px; }
  .nav-inner,
  .nav.scrolled .nav-inner { padding: 7px 10px 7px 14px; }
  .nav-links { top: 58px; left: 12px; right: 12px; }
}

@media (max-width: 768px) {
  .hero-frame { border-radius: 0; background-image: linear-gradient(90deg, rgba(20,28,26,.72) 0%, rgba(20,28,26,.5) 100%), url('images/yoga/home-banner.jpg'); }

  .philosophy-top { flex-direction: column; gap: 20px; align-items: flex-start; }
  .philosophy-desc { max-width: 100%; }
  .sp-content { padding: 36px 28px; gap: 24px; flex-direction: column; align-items: flex-start; }
  .studio-panel { min-height: 380px; }

  .classes-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .blog-top    { flex-direction: column; align-items: flex-start; gap: 16px; }
  .testi-grid  { grid-template-columns: 1fr; }
  .blog-grid   { grid-template-columns: 1fr; }
  .cta .container { padding: 70px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .f-bottom    { flex-direction: column; gap: 8px; text-align: center; }

  /* inner pages */
  .page-hero { padding: 150px 0 68px; }
  .section { padding: 68px 0; }
  .split, .contact-wrap, .form-grid, .info-grid, .info-grid.cols-2 { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .split + .split { margin-top: 52px; }
  .split-media { aspect-ratio: 16/11; }
  .info-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .contact-photo { min-height: 320px; order: -1; overflow: hidden; }
  .cp-card[data-pos="1"] { transform: translateY(8px) translateX(-6px) rotate(-2deg) scale(0.97); }
  .cp-card[data-pos="2"] { transform: translateY(14px) translateX(-10px) rotate(-4deg) scale(0.94); }
  .contact-cards { margin-top: 36px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .classes-grid { grid-template-columns: 1fr; }
  .phi-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-h1 { font-size: 3rem; }
  .cta-h2  { font-size: 2.8rem; }
  .c-footer { flex-direction: column; align-items: flex-start; gap: 4px; }
  .info-grid.cols-4 { grid-template-columns: 1fr; }
}
