/* ============================================================
   EGLĖ — shared design system
   ============================================================ */
:root {
  --cream: #f1e8d2;
  --cream-soft: #f6efdc;
  --card: #fbf5e3;
  --dark: #2a1612;
  --dark-soft: #3a201d;
  --ink: #1a1612;
  --ink-muted: #5a4a3a;
  --line: #e2d5b4;
  --gold: #d9a93b;
  --olive: #4f5036;
  --white: #ffffff;
}
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- shared atoms ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}
.h-italic { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--dark); color: var(--cream); }
.btn-primary:hover { background: var(--dark-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-ghost:hover { background: var(--dark); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--dark); }
.btn-light:hover { background: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #c89829; }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; max-width: 1320px; margin: 0 auto;
}
.brand { display: flex; align-items: baseline; gap: 6px; }
.brand-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 24px; letter-spacing: 0.32em;
  color: var(--ink);
}
.brand-mark .dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--olive); transform: translateY(-2px); margin: 0 1px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.nav-links a { transition: color .15s ease; position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--olive); }
.nav-links a.is-current { color: var(--olive); }
.nav-links a.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--olive); border-radius: 2px;
}
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; transition: background .2s ease;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 18px; height: 18px; stroke: var(--ink); }

/* ---------- HOMEPAGE: hero ---------- */
.hero {
  position: relative; min-height: 88vh;
  display: grid; place-items: center;
  overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-image, url('images/hero.jpg')) var(--hero-pos, center) / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.32) 60%, rgba(0,0,0,0.55) 100%);
}
/* Background video fills the hero, sits behind the overlay + text */
.hero-bg-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; overflow: hidden;
}
.hero-bg-embed iframe {
  /* Cover the hero with a 16:9 iframe scaled to fill (no letterboxing) */
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;          /* 16:9 based on width */
  min-height: 100%; min-width: 177.78vh;  /* 16:9 based on height */
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-has-video::before { opacity: 0; }    /* hide the image layer when video is present */
.hero-inner { text-align: center; color: #fff; padding: 120px 28px 100px; max-width: 760px; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); font-weight: 500; margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.hero h1 .h-italic { font-size: 1.05em; font-weight: 500; }
.hero p {
  font-size: 17px; line-height: 1.6; max-width: 560px; margin: 0 auto 36px;
  color: rgba(255,255,255,0.92);
}

/* ---------- INNER PAGES: page hero ---------- */
.page-hero {
  background: var(--cream);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
}
.page-hero.split {
  text-align: left;
  padding: 40px 0 70px;
}
.page-hero .eyebrow { color: var(--olive); }
.page-hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05; font-weight: 700; letter-spacing: -0.01em;
  margin: 14px 0 14px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.page-hero h1 .h-italic { color: var(--olive); }
.page-hero .lead {
  font-size: 18px; line-height: 1.55; color: var(--ink-muted);
  max-width: 600px; margin: 0 auto 0;
}
/* Bundle detail: widen the whole hero so the title AND description use the
   empty side space — centered, not squeezed into a narrow middle column. */
.page-hero.bundle-hero { padding-bottom: 44px; }
.page-hero.bundle-hero .container-narrow { max-width: 940px; }
.page-hero.bundle-hero h1 { max-width: none; }
.page-hero.bundle-hero .lead {
  max-width: none; font-size: 18px; line-height: 1.6;
}
.page-hero.bundle-hero .lead p { margin: 0 0 16px; }
.page-hero.bundle-hero .lead p:last-child { margin-bottom: 0; }
.page-hero .meta-row {
  display: inline-flex; gap: 22px; flex-wrap: wrap; justify-content: center;
  margin: 24px auto 0; font-size: 13px; color: var(--ink-muted);
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.page-hero .meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero .cta-row {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 28px;
}

/* split variant: image LEFT or RIGHT, text next to it, NO cropping */
.page-hero.split .hero-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: 70px; align-items: center;
}
.page-hero.split .hero-grid.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}
.page-hero.split .hero-grid.reverse .hero-img-frame { order: 2; }
.page-hero.split .hero-img-frame {
  border-radius: 22px; overflow: hidden;
  aspect-ratio: 5/6;
  max-height: 78vh;
  box-shadow: 0 30px 60px -30px rgba(42, 22, 18, 0.4);
}
.page-hero.split .hero-img-frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero.split h1 { text-align: left; margin: 14px 0 18px; max-width: none; }
.page-hero.split .lead { text-align: left; max-width: 540px; margin: 0 0 22px; }
.page-hero.split .meta-row {
  display: flex; gap: 22px; justify-content: flex-start;
  margin: 22px 0 32px;
}
.page-hero.split .cta-row {
  display: flex; justify-content: flex-start; gap: 12px;
  margin-top: 0;
}
.page-hero.split .hero-price {
  font-size: 13px; color: var(--ink-muted); margin: 14px 0 0;
  letter-spacing: 0.04em;
}
.page-hero.split .hero-price strong { color: var(--ink); font-weight: 700; }

/* ---------- HOMEPAGE: symptoms ---------- */
.symptoms { background: var(--cream); padding: 110px 0; }
.symptoms-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.symptoms-img {
  border-radius: 22px; overflow: hidden;
  aspect-ratio: 4/5; box-shadow: 0 24px 60px -30px rgba(42, 22, 18, 0.35);
}
.symptoms-img img { width: 100%; height: 100%; object-fit: cover; }
.symptoms h2 {
  font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 18px 0 18px;
  font-weight: 700; letter-spacing: -0.01em;
}
.symptoms h2 .h-italic { display: block; color: var(--olive); margin-top: 4px; }
.symptoms .lead {
  color: var(--ink-muted); font-size: 17px; max-width: 540px; margin: 0 0 32px;
}
.symptom-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px;
  margin: 0 0 36px; padding: 0; list-style: none;
}
.symptom-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--ink);
}
.symptom-list li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--dark); flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.5l3 3 6-7' stroke='%23f1e8d2' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.symptoms .footnote {
  font-size: 14px; color: var(--ink-muted); margin: 18px 0 28px; font-style: italic;
}

/* ---------- testimonials ---------- */
.testimonials { background: var(--white); padding: 110px 0 90px; }
.testimonials.on-cream { background: var(--cream-soft); }
.testimonials-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.testimonials h2 {
  font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 14px 0 16px;
  font-weight: 700; letter-spacing: -0.01em;
}
.testimonials h2 .h-italic { color: var(--olive); }
.testimonials .lead { color: var(--ink-muted); font-size: 17px; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.t-card {
  background: var(--card); border-radius: 22px; padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.t-card .stars { margin-bottom: 18px; }
.t-card blockquote {
  margin: 0 0 24px; padding: 0;
  font-size: 16px; line-height: 1.65; color: var(--ink); font-style: italic;
  flex: 1;
}
.t-card cite {
  font-style: normal; font-weight: 600; color: var(--ink-muted);
  font-size: 14px; letter-spacing: 0.04em;
}

/* ---------- programs / pricing cards ---------- */
.programs { background: var(--cream-soft); padding: 110px 0; }
.programs-head { text-align: center; margin: 0 auto 64px; max-width: 720px; }
.programs h2 {
  font-size: clamp(32px, 4vw, 48px); margin: 14px 0 0;
  font-weight: 700; letter-spacing: -0.01em;
}
.programs h2 .h-italic { color: var(--olive); }
.programs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 980px; margin: 0 auto;
}
.programs-grid.single { grid-template-columns: 1fr; max-width: 560px; }
.program-card {
  position: relative; background: var(--card); border-radius: 24px;
  padding: 44px 40px 40px; overflow: hidden;
  display: flex; flex-direction: column;
}
.program-card h3 {
  font-size: 28px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em;
}
.program-card .blurb {
  font-size: 15px; color: var(--ink-muted); margin: 0 0 28px;
}
.price-line {
  padding: 18px 0 22px; margin: 0 0 22px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.price { font-size: 38px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.price small { font-size: 14px; color: var(--ink-muted); font-weight: 500; }
.price-strike { font-size: 18px; color: var(--ink-muted); text-decoration: line-through; margin-left: 6px; }
.program-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px;
}
.program-features li {
  display: flex; gap: 10px; font-size: 14px; color: var(--ink); line-height: 1.5;
}
.program-features li::before {
  content: "•"; color: var(--olive); font-weight: 700;
}
.program-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.ribbon {
  position: absolute; top: 18px; right: 18px;
  background: var(--gold); color: var(--ink);
  padding: 7px 16px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: 0 4px 12px -4px rgba(217, 169, 59, 0.5);
}

/* ---------- practices grid (homepage) ---------- */
.practices { background: var(--white); padding: 110px 0; }
.practices.on-cream { background: var(--cream); }
.practices.on-soft { background: var(--cream-soft); }
.practices-head {
  text-align: center; margin: 0 auto 56px; max-width: 760px;
}
.practices-head .eyebrow { display: block; margin-bottom: 14px; }
.practices-head h2 {
  font-size: clamp(32px, 4vw, 48px); margin: 0 0 16px; font-weight: 700;
  letter-spacing: -0.01em;
}
.practices-head h2 .h-italic { color: var(--olive); }
.practices-head p { color: var(--ink-muted); margin: 0 auto; max-width: 580px; font-size: 17px; }
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.p-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.p-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.p-card {
  background: var(--cream-soft); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.p-card.on-card { background: var(--card); }
.p-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.25); }
.p-card-img { aspect-ratio: 4/3; overflow: hidden; }
.p-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.p-card:hover .p-card-img img { transform: scale(1.05); }
.p-card-body { padding: 26px 26px 28px; }
.p-card-tag {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--olive); font-weight: 600; margin-bottom: 8px;
}
.p-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; line-height: 1.25; }
.p-card p { color: var(--ink-muted); font-size: 14px; margin: 0 0 14px; }
.p-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--ink); font-weight: 600;
}
.p-card-foot .arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--dark); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
}

/* ---------- founder strip (dark) ---------- */
.founder { background: var(--dark); color: var(--cream); padding: 120px 0; position: relative; }
.founder-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center;
}
.founder-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; }
.founder-img img { width: 100%; height: 100%; object-fit: cover; }
.founder .eyebrow { color: rgba(241, 232, 210, 0.6); }
.founder h2 {
  font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; margin: 16px 0 24px;
  font-weight: 700; letter-spacing: -0.01em;
}
.founder h2 .h-italic { color: var(--gold); display: block; }
.founder p { font-size: 16px; line-height: 1.75; color: rgba(241, 232, 210, 0.85); margin: 0 0 18px; max-width: 560px; }
.founder .credentials {
  list-style: none; padding: 0; margin: 28px 0 36px;
  display: grid; gap: 10px; max-width: 480px;
}
.founder .credentials li {
  display: flex; gap: 12px; font-size: 14px;
  color: rgba(241, 232, 210, 0.9);
}
.founder .credentials li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-top: 8px; flex-shrink: 0;
}

/* ---------- generic split section (image + text) ---------- */
.split { padding: 110px 0; }
.split.on-cream { background: var(--cream); }
.split.on-soft { background: var(--cream-soft); }
.split.on-dark { background: var(--dark); color: var(--cream); }
.split.on-dark .lead, .split.on-dark p { color: rgba(241, 232, 210, 0.85); }
.split.on-dark h2 .h-italic { color: var(--gold); }
.split-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }
.split-img { border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 24px 60px -30px rgba(42, 22, 18, 0.35); }
.split-img.wide { aspect-ratio: 4/3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 {
  font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 14px 0 18px;
  font-weight: 700; letter-spacing: -0.01em;
}
.split-body h2 .h-italic { color: var(--olive); }
.split-body .lead { color: var(--ink-muted); font-size: 17px; max-width: 540px; margin: 0 0 24px; }
.split-body p { color: var(--ink-muted); font-size: 16px; max-width: 540px; margin: 0 0 16px; line-height: 1.7; }
.split-body .btn { margin-top: 16px; }

/* ---------- prose (long-form text pages: Apie mane, Knyga details) ---------- */
.prose-section { padding: 90px 0 100px; background: var(--white); }
.prose-section.on-cream { background: var(--cream-soft); }
.prose {
  max-width: 720px; margin: 0 auto;
  font-size: 18px; line-height: 1.8; color: var(--ink);
}
.prose p { margin: 0 0 22px; }
.prose p.lead-quote {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500;
  font-size: 26px; line-height: 1.45; color: var(--olive);
  margin: 36px 0; text-align: center;
}
.prose hr {
  border: 0; height: 1px; background: var(--line);
  margin: 40px auto; max-width: 200px;
}
.prose h3 {
  font-size: 24px; margin: 40px 0 14px; font-weight: 700;
}

/* ---------- video placeholder (replaces real <video> until uploaded) ---------- */
.video-placeholder {
  position: relative; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden;
  background: var(--ink); cursor: pointer;
  box-shadow: 0 30px 70px -30px rgba(42, 22, 18, 0.4);
}
.video-placeholder img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.6;
}
.video-placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.45));
}
.video-placeholder .play-btn {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.video-placeholder .play-btn span {
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--cream); color: var(--dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px; padding-left: 6px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.5);
  transition: transform .25s ease;
}
.video-placeholder:hover .play-btn span { transform: scale(1.08); }
.video-placeholder .pending-tag {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  background: rgba(255,255,255,0.92); color: var(--dark);
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* ---------- consultation booking strip ---------- */
.booking-card {
  background: var(--card); border-radius: 28px;
  padding: 48px 44px;
  display: grid; grid-template-columns: 1.1fr auto; gap: 40px;
  align-items: center;
  box-shadow: 0 30px 60px -28px rgba(42, 22, 18, 0.2);
}
.booking-card h3 {
  font-size: 26px; margin: 0 0 8px; font-weight: 700; letter-spacing: -0.01em;
}
.booking-card p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.6; }
.booking-card .meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin: 18px 0 0; font-size: 14px; color: var(--ink);
}
.booking-card .meta span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.booking-card .price-block { text-align: right; }
.booking-card .price-block .price { display: block; line-height: 1; }
.booking-card .price-block .price small { display: block; margin-top: 6px; font-size: 13px; }

/* ---------- FAQ (accordion-style) ---------- */
.faq-section { padding: 100px 0; background: var(--white); }
.faq-section.on-cream { background: var(--cream-soft); }
.faq-head { text-align: center; margin: 0 auto 56px; max-width: 700px; }
.faq-head h2 {
  font-size: clamp(32px, 4vw, 44px); margin: 14px 0 12px;
  font-weight: 700; letter-spacing: -0.01em;
}
.faq-head h2 .h-italic { color: var(--olive); }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--card); border-radius: 18px; padding: 22px 28px;
  cursor: pointer;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 24px; font-weight: 400; color: var(--olive);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  margin-top: 16px; color: var(--ink-muted); font-size: 15px; line-height: 1.7;
}

/* ---------- weekly schedule (Narystė) ---------- */
.schedule-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1080px; margin: 0 auto;
}
.schedule-card {
  background: var(--card); border-radius: 20px; padding: 28px 26px;
  border-top: 4px solid var(--olive);
}
.schedule-card .day {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--olive); margin-bottom: 10px;
}
.schedule-card h4 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
.schedule-card p { font-size: 14px; color: var(--ink-muted); margin: 0; line-height: 1.55; }

/* ---------- big CTA banner ---------- */
.banner {
  padding: 100px 0;
  background: var(--dark); color: var(--cream); text-align: center;
}
.banner h2 {
  font-size: clamp(36px, 5vw, 56px); margin: 0 0 18px;
  font-weight: 700; letter-spacing: -0.01em;
}
.banner h2 .h-italic { color: var(--gold); }
.banner p { font-size: 17px; color: rgba(241, 232, 210, 0.85); margin: 0 auto 32px; max-width: 560px; }

/* ---------- info note (e.g. paused notice) ---------- */
.info-note {
  background: var(--card); border-radius: 22px;
  padding: 44px 40px; max-width: 680px; margin: 0 auto;
  text-align: center;
  border: 1px solid var(--line);
}
.info-note .badge {
  display: inline-block; padding: 6px 14px;
  background: var(--gold); color: var(--ink); border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 16px;
}
.info-note h2 { font-size: 28px; margin: 0 0 10px; font-weight: 700; }
.info-note p { color: var(--ink-muted); font-size: 16px; margin: 0 0 20px; }

/* ---------- contact form ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  max-width: 980px; margin: 0 auto;
}
.contact-grid h2 { font-size: 36px; margin: 0 0 20px; font-weight: 700; }
.contact-grid p { color: var(--ink-muted); margin: 0 0 14px; }
.contact-grid .channel {
  display: flex; align-items: center; gap: 10px; margin: 12px 0;
  font-size: 15px; font-weight: 600;
}
.contact-form {
  background: var(--card); border-radius: 22px; padding: 36px;
}
.contact-form label {
  display: block; font-size: 14px; letter-spacing: 0.01em;
  color: var(--ink); font-weight: 600; margin: 14px 0 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  color: var(--ink);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button { margin-top: 18px; width: 100%; }

/* ---------- footer ---------- */
footer { background: var(--cream); color: var(--ink); padding: 70px 0 36px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line);
}
.footer-brand .brand-mark { color: var(--ink); }
.footer-brand p { font-size: 14px; color: var(--ink-muted); margin: 18px 0 0; max-width: 320px; line-height: 1.6; }
.footer-col h4 {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted); margin: 6px 0 18px; font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--ink); transition: color .15s ease; }
.footer-col a:hover { color: var(--olive); }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 13px; color: var(--ink-muted);
  flex-wrap: wrap; gap: 16px;
}
.socials { display: flex; gap: 16px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.socials a:hover { background: var(--dark); border-color: var(--dark); color: var(--cream); }

/* ---------- narrative bridge (short transition section) ---------- */
.bridge {
  background: var(--white); padding: 90px 0;
  text-align: center;
}
.bridge.on-cream { background: var(--cream); }
.bridge.on-soft { background: var(--cream-soft); }
.bridge.on-dark { background: var(--dark); color: var(--cream); }
.bridge .container-narrow { max-width: 720px; }
.bridge h2 {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500;
  font-size: clamp(30px, 3.6vw, 42px); line-height: 1.3; color: var(--olive);
  margin: 0 0 20px; letter-spacing: -0.005em;
}
.bridge.on-dark h2 { color: var(--gold); }
.bridge p {
  font-size: 18px; line-height: 1.7; color: var(--ink-muted);
  max-width: 600px; margin: 0 auto;
}
.bridge.on-dark p { color: rgba(241, 232, 210, 0.85); }
.bridge .eyebrow { display: block; margin-bottom: 18px; }
.bridge.on-dark .eyebrow { color: rgba(241, 232, 210, 0.6); }

/* ---------- her story warm intro (homepage) ---------- */
.story-intro { background: var(--white); padding: 120px 0; }
.story-intro .grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 80px; align-items: center; max-width: 1180px; margin: 0 auto;
}
.story-intro .img-wrap {
  border-radius: 24px; overflow: hidden; aspect-ratio: 4/5;
  box-shadow: 0 30px 70px -30px rgba(42, 22, 18, 0.4);
}
.story-intro .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.story-intro .body h2 {
  font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 16px 0 22px;
  font-weight: 700; letter-spacing: -0.01em;
}
.story-intro .body h2 .h-italic { color: var(--olive); }
.story-intro .body p {
  font-size: 17px; line-height: 1.75; color: var(--ink-muted);
  margin: 0 0 18px; max-width: 540px;
}
.story-intro .body .signature {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 22px; color: var(--olive); margin-top: 30px;
}

/* ---------- method 3-card row (credibility, not sell) ---------- */
.method-row { background: var(--cream-soft); padding: 100px 0; }
.method-row .head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.method-row h2 {
  font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 14px 0 14px;
  font-weight: 700; letter-spacing: -0.01em;
}
.method-row h2 .h-italic { color: var(--olive); }
.method-row .head p { color: var(--ink-muted); font-size: 17px; }
.method-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1100px; margin: 0 auto;
}
.method-card {
  background: var(--white); border-radius: 22px; padding: 38px 32px 36px;
  border-top: 3px solid var(--olive);
}
.method-card .num {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 26px; color: var(--olive); display: block; margin-bottom: 10px;
}
.method-card h3 {
  font-size: 22px; margin: 0 0 12px; font-weight: 700; line-height: 1.25;
}
.method-card p { color: var(--ink-muted); font-size: 15px; line-height: 1.65; margin: 0; }

/* ---------- "Find your fit" router (5 product entry points) ---------- */
.router { background: var(--cream); padding: 120px 0; }
.router .head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.router h2 {
  font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; margin: 14px 0 16px;
  font-weight: 700; letter-spacing: -0.01em;
}
.router h2 .h-italic { color: var(--olive); }
.router .head p { color: var(--ink-muted); font-size: 18px; max-width: 580px; margin: 0 auto; }
.router-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  max-width: 1240px; margin: 0 auto;
}
.router-card {
  background: var(--white); border-radius: 22px; padding: 36px 26px 30px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease;
  text-align: left;
  position: relative; overflow: hidden;
}
.router-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(42, 22, 18, 0.35);
}
.router-card .for-tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--olive); font-weight: 700; margin-bottom: 14px;
}
.router-card h3 {
  font-size: 22px; margin: 0 0 10px; font-weight: 700; line-height: 1.2;
}
.router-card .desc {
  font-size: 14px; color: var(--ink-muted); line-height: 1.6; margin: 0 0 22px; flex: 1;
}
.router-card .go {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--dark);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: auto;
}
.router-card .go::after { content: "→"; transition: transform .2s ease; }
.router-card:hover .go::after { transform: translateX(4px); }
.router-card.featured { background: var(--dark); color: var(--cream); }
.router-card.featured h3 { color: var(--cream); }
.router-card.featured .desc { color: rgba(241, 232, 210, 0.8); }
.router-card.featured .for-tag { color: var(--gold); }
.router-card.featured .go { color: var(--gold); }

/* ---------- testimonial slider (scroll-snap, no JS dependency) ---------- */
.t-slider-wrap {
  position: relative;
  margin: 0 -28px;
}
.t-slider {
  display: flex; gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 28px 24px;
  scrollbar-width: none;
}
.t-slider::-webkit-scrollbar { display: none; }
.t-slider .t-card {
  flex: 0 0 360px; min-height: 280px;
  scroll-snap-align: start;
}
.slider-controls {
  display: flex; gap: 10px; justify-content: center; margin-top: 18px;
}
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--dark); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background .2s ease, transform .15s ease;
}
.slider-btn:hover { background: var(--dark-soft); }
.slider-btn:active { transform: scale(0.95); }
.slider-btn.muted { background: var(--cream); color: var(--dark); }

/* ---------- problem-solution flow (product pages) ---------- */
.problem-block {
  background: var(--cream); padding: 100px 0;
  text-align: center;
}
.problem-block .container-narrow { max-width: 760px; }
.problem-block h2 {
  font-size: clamp(30px, 4vw, 44px); line-height: 1.15;
  margin: 14px 0 22px; font-weight: 700;
}
.problem-block h2 .h-italic { color: var(--olive); }
.problem-block p {
  font-size: 18px; line-height: 1.7; color: var(--ink-muted);
  margin: 0 0 16px;
}

/* ---------- "this is for you if" inline list ---------- */
.for-you {
  background: var(--white); padding: 100px 0;
}
.for-you .grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1140px; margin: 0 auto;
}
.for-you .image-side {
  border-radius: 22px; overflow: hidden; aspect-ratio: 4/5;
  box-shadow: 0 24px 60px -30px rgba(42, 22, 18, 0.35);
}
.for-you .image-side img { width: 100%; height: 100%; object-fit: cover; }
.for-you h2 {
  font-size: clamp(30px, 4vw, 44px); line-height: 1.15;
  margin: 14px 0 24px; font-weight: 700; letter-spacing: -0.01em;
}
.for-you h2 .h-italic { color: var(--olive); }
.for-you-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; gap: 14px;
}
.for-you-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 16px; color: var(--ink); line-height: 1.55;
}
.for-you-list li::before {
  content: ""; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--dark);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.5l3 3 6-7' stroke='%23f1e8d2' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
  margin-top: 1px;
}
.for-you .signature-note {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 19px; color: var(--olive); margin: 26px 0 30px; line-height: 1.45;
}

/* ---------- final invitation strip (soft, no hard sell) ---------- */
.invitation {
  background: var(--cream-soft); padding: 110px 0;
  text-align: center;
}
.invitation .container-narrow { max-width: 720px; }
.invitation h2 {
  font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1;
  margin: 0 0 20px; font-weight: 700; letter-spacing: -0.01em;
}
.invitation h2 .h-italic { color: var(--olive); }
.invitation p {
  font-size: 18px; color: var(--ink-muted); margin: 0 auto 32px;
  max-width: 540px; line-height: 1.65;
}
.invitation .cta-row {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .symptoms-grid, .founder-grid, .split-grid,
  .story-intro .grid, .for-you .grid {
    grid-template-columns: 1fr; gap: 50px;
  }
  .split-grid.reverse { direction: ltr; }
  .symptoms-img, .founder-img, .split-img,
  .story-intro .img-wrap, .for-you .image-side {
    max-width: 460px; margin: 0 auto;
  }
  .symptom-list { grid-template-columns: 1fr; }
  .t-grid, .p-grid, .programs-grid, .schedule-grid, .contact-grid,
  .method-cards { grid-template-columns: 1fr; }
  .p-grid.cols-4, .router-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  .booking-card { grid-template-columns: 1fr; gap: 24px; padding: 36px 28px; }
  .booking-card .price-block { text-align: left; }
  .page-hero { padding: 60px 0 50px; }
  .page-hero.split .hero-grid,
  .page-hero.split .hero-grid.reverse { grid-template-columns: 1fr; gap: 36px; }
  .page-hero.split .hero-grid.reverse .hero-img-frame { order: 0; }
  .page-hero.split .hero-img-frame { max-width: 480px; margin: 0 auto; aspect-ratio: 4/3; }
  .page-hero.split h1, .page-hero.split .lead { text-align: center; margin-left: auto; margin-right: auto; }
  .page-hero.split .meta-row, .page-hero.split .cta-row { justify-content: center; }
  .t-slider .t-card { flex: 0 0 280px; }
  .split, .programs, .practices, .symptoms, .testimonials, .prose-section,
  .faq-section, .banner, .founder, .bridge, .story-intro, .method-row,
  .router, .problem-block, .for-you, .invitation { padding: 70px 0; }
}

/* ============================================================
   Customer area (login, magic-link, dashboard) — Sprint 2A
   ============================================================ */

.customer-page { padding: 90px 0 70px; }
.customer-page h1 { margin-bottom: 12px; }
.customer-page .lead { margin-bottom: 36px; max-width: 520px; }

.customer-form {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 420px;
  background: var(--cream-soft, #f6f0df);
  padding: 28px 28px 24px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
}
.customer-form label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--dark-soft, #36344d);
}
.customer-form input[type=email] {
  font-family: inherit; font-size: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.customer-form input[type=email]:focus {
  border-color: var(--dark, #1d1e20);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.customer-form button {
  margin-top: 4px;
}
.customer-form-hint {
  font-size: 12px; color: var(--muted, #727586);
  line-height: 1.5; margin: 8px 0 0;
}
.customer-form-hint a { color: inherit; text-decoration: underline; }

.customer-error {
  background: #fde2e6;
  color: #8b1a30;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid #f6c5cd;
}

.customer-card {
  max-width: 520px;
  background: var(--cream-soft, #f6f0df);
  border-radius: 18px;
  padding: 32px 32px 28px;
  border: 1px solid rgba(0,0,0,0.06);
}
.customer-card h2 { margin: 0 0 12px; font-size: 22px; }
.customer-card-ok { border-left: 4px solid #2f7d4a; }
.customer-card hr {
  border: none; border-top: 1px solid rgba(0,0,0,0.08);
  margin: 24px 0;
}

/* ----- Checkout success (after payment) — everything centered ----- */
.checkout-success { text-align: center; }
.checkout-success .container-narrow { display: flex; flex-direction: column; align-items: center; }
.checkout-success h1 { text-align: center; }
.checkout-success-body { max-width: 540px; margin: 0 auto 8px; text-align: center; }
.checkout-success-body ul {
  display: inline-block; text-align: left; margin: 12px auto;
}
.checkout-success-card {
  max-width: 540px; margin: 28px auto 0; text-align: center;
}
.checkout-success-card p { text-align: center; }
.checkout-success-cta { margin-top: 20px; }

/* ----- Dashboard ----- */
.customer-dashboard { padding: 70px 0; min-height: 60vh; }
.dashboard-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 24px; margin-bottom: 36px;
}
.dashboard-head h1 { margin: 0 0 4px; font-size: clamp(28px, 4vw, 40px); }
.customer-email { color: var(--muted, #727586); margin: 0; font-size: 14px; }
.customer-logout {
  font-size: 14px; color: var(--muted, #727586);
  text-decoration: underline;
}
.customer-logout:hover { color: var(--dark, #1d1e20); }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.dashboard-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 24px 24px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.dashboard-card:hover {
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.dashboard-card h2 {
  margin: 0; font-size: 18px; font-weight: 700;
  letter-spacing: 0.02em;
}
.card-status {
  display: inline-block; align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 2px 0;
}
.card-status-ok    { background: #def4f0; color: #1f6b56; }
.card-status-muted { background: #eee; color: #727586; }
.card-meta {
  margin: 0; color: var(--muted, #727586);
  font-size: 14px; line-height: 1.5;
}
.card-cta-row { margin: 8px 0 0; }
.card-cta-row .btn { font-size: 13px; padding: 9px 16px; }

.dashboard-card-membership.is-active {
  border: 1px solid var(--olive, #6b7a3d);
  background: linear-gradient(180deg, #f3f6e8 0%, #fff 80%);
}
.dashboard-card-membership.is-inactive .card-meta strong { color: var(--dark, #1d1e20); }

@media (max-width: 640px) {
  .dashboard-head { flex-direction: column; align-items: flex-start; }
  .customer-form { padding: 20px; }
}

/* ----- Dashboard course list ----- */
.dashboard-course-list {
  list-style: none; padding: 0; margin: 8px 0 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.dashboard-course-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  background: var(--cream-soft, #f6f0df);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  color: var(--dark, #1d1e20);
  text-decoration: none;
  font-size: 14px; font-weight: 600;
  transition: border-color .12s ease, background .12s ease;
}
.dashboard-course-list a:hover {
  border-color: var(--olive, #6b7a3d);
  background: #fff;
}
.dashboard-course-list .course-arrow {
  font-size: 18px; color: var(--muted, #727586);
}
.dashboard-course-list a:hover .course-arrow { color: var(--olive, #6b7a3d); }

/* ============================================================
   Course player — Phase C
   ============================================================ */

.course-player { padding: 60px 0 80px; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.course-player-head {
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 20px;
}
.course-player-head .back-link {
  font-size: 14px; color: var(--muted, #727586);
  text-decoration: none;
  display: inline-block; margin-bottom: 12px;
}
.course-player-head .back-link:hover { color: var(--dark, #1d1e20); }
.course-player-head h1 {
  margin: 0; font-size: clamp(26px, 3.5vw, 36px);
}

.course-player-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 880px) {
  .course-player-grid { grid-template-columns: 1fr; }
}

.course-lessons-nav h2 {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted, #727586); margin: 0 0 12px;
}
.course-lessons-nav ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.course-lessons-nav li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--cream-soft, #f6f0df);
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark, #1d1e20);
  font-size: 14px; line-height: 1.4;
  transition: border-color .12s ease, background .12s ease;
}
.course-lessons-nav li a:hover {
  border-color: var(--olive, #6b7a3d);
  background: #fff;
}
.course-lessons-nav li.is-active a {
  background: var(--dark, #1d1e20);
  color: var(--cream, #f6f0df);
}
.course-lessons-nav .lesson-num {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; flex-shrink: 0;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
  font-size: 12px; font-weight: 700;
}
.course-lessons-nav li.is-active .lesson-num {
  background: rgba(255,255,255,0.15);
  color: var(--cream, #f6f0df);
}
.course-lessons-nav .lesson-title { flex: 1; }

.course-lesson-main h2 {
  margin: 0 0 18px; font-size: 22px;
}

/* Progress bar in sidebar */
.course-progress { margin-bottom: 16px; }
.course-progress span { font-size: 12px; color: var(--muted); font-weight: 600; }
.course-progress-bar {
  height: 6px; background: rgba(0,0,0,0.08); border-radius: 999px; overflow: hidden; margin-top: 6px;
}
.course-progress-bar span {
  display: block; height: 100%; background: var(--olive, #6b7a3d);
  border-radius: 999px; transition: width .3s ease;
}

/* Lesson status circle (number or checkmark) */
.course-lessons-nav .lesson-status {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; flex-shrink: 0;
  background: rgba(0,0,0,0.06); border-radius: 50%;
  font-size: 12px; font-weight: 700;
}
.course-lessons-nav li.is-done .lesson-status {
  background: var(--olive, #6b7a3d); color: #fff;
}
.course-lessons-nav li.is-active .lesson-status { background: rgba(255,255,255,0.15); color: var(--cream); }
.course-lessons-nav li.is-active.is-done .lesson-status { background: var(--olive, #6b7a3d); color: #fff; }

/* Action bar under the video */
.lesson-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.btn.is-done { color: var(--olive, #6b7a3d); border-color: var(--olive, #6b7a3d); }
.lesson-last-note { color: var(--muted); font-size: 14px; }
.lesson-no-video {
  padding: 40px 20px; text-align: center; color: var(--muted);
  background: var(--cream-soft, #f6f0df); border-radius: 12px;
}
.video-wrap {
  position: relative; padding-top: 56.25%;
  background: #000; border-radius: 12px; overflow: hidden;
  margin-bottom: 20px;
}
.video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.lesson-description {
  font-size: 16px; line-height: 1.65; color: var(--dark-soft, #36344d);
}

/* Course hero — title + description block (description renders markdown) */
.course-hero { padding: 80px 0 60px; }
.course-hero-desc {
  margin: 20px auto 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--dark-soft, #36344d);
  text-align: left;
}
.course-hero-desc p { margin: 0 0 14px; }
.course-hero-desc p:last-child { margin-bottom: 0; }
.course-hero-desc ul,
.course-hero-desc ol { padding-left: 22px; margin: 8px 0 14px; }
.course-hero-desc li { margin-bottom: 6px; }
.course-hero-desc h2,
.course-hero-desc h3 {
  margin: 28px 0 10px; font-weight: 700;
  letter-spacing: -0.01em;
}
.course-hero-desc h2 { font-size: 22px; }
.course-hero-desc h3 { font-size: 18px; }
.course-hero-desc strong { color: var(--dark, #1d1e20); }

/* ===============================
   SOS landing page
   =============================== */
.sos-landing { background: var(--cream-soft, #f6f0df); }
.sos-hero { padding: 90px 0 70px; text-align: center; }
.sos-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin: 0 0 16px; line-height: 1.1;
}
.sos-hero-sub {
  max-width: 560px; margin: 0 auto 36px;
  font-size: 18px; color: var(--muted, #727586); line-height: 1.6;
}
.sos-form {
  max-width: 480px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.18);
}
.sos-form input[type=email],
.sos-form input[type=text] {
  padding: 13px 16px; font-size: 16px;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 999px;
  font-family: inherit; background: #fff;
}
.sos-form button { width: 100%; padding: 13px 16px; font-size: 15px; }
.sos-form-meta {
  margin: 4px 0 0; font-size: 12px; color: var(--muted); text-align: center;
}

.sos-inside { padding: 80px 0; background: #fff; }
.sos-inside h2 { text-align: center; margin: 0 0 36px; font-size: clamp(26px,3vw,34px); }
.sos-cards {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.sos-card {
  background: var(--cream-soft, #f6f0df);
  padding: 22px 22px 26px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);
}
.sos-card-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.sos-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.sos-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

.sos-emotional { padding: 90px 0; background: var(--dark, #1d1e20); color: var(--cream, #f6f0df); text-align: center; }
.sos-emo-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-size: clamp(26px, 4vw, 38px); line-height: 1.35;
  margin: 0 auto 28px; max-width: 700px;
}
.sos-emo-sub {
  max-width: 560px; margin: 0 auto;
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.78);
}
.sos-emo-sub strong { color: var(--cream); }

.sos-how { padding: 90px 0; background: var(--cream-soft); text-align: center; }
.sos-how h2 { margin: 0 0 40px; font-size: clamp(26px,3vw,34px); }
.sos-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.sos-steps li { padding: 0 12px; }
.sos-step-num {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 14px; font-weight: 700;
  color: var(--olive, #6b7a3d);
  margin-bottom: 12px;
}
.sos-steps p { margin: 0; font-size: 15px; line-height: 1.5; }

.sos-final-cta { padding: 90px 0; background: #fff; text-align: center; }
.sos-final-cta h2 {
  font-size: clamp(26px,3vw,34px); margin: 0 auto 12px; max-width: 640px; line-height: 1.3;
}
.sos-final-cta p {
  margin: 0 auto 32px; max-width: 520px; color: var(--muted); font-size: 16px;
}

/* ===============================
   /library page
   =============================== */
.library-page { background: var(--cream-soft); padding-bottom: 80px; }
.lib-welcome { padding: 80px 0 40px; }
.lib-welcome h1 { margin: 6px 0 14px; }
.lib-section { padding: 40px 0; }
.lib-section + .lib-section { border-top: 1px solid rgba(0,0,0,0.08); }
.lib-section h2 { margin: 0 0 24px; font-size: 26px; }
.lib-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.lib-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 20px;
}
.lib-card h3 { margin: 0 0 8px; font-size: 18px; }
.lib-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.lib-video-wrap {
  position: relative; padding-top: 56.25%;
  background: #000; border-radius: 10px; overflow: hidden;
  margin-bottom: 14px;
}
.lib-video-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.lib-card audio { width: 100%; margin-top: 8px; }
.lib-spotify-frame { border-radius: 12px; display: block; margin-top: 8px; }
.lib-pdf-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.lib-pdf-list a {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  text-decoration: none; color: var(--dark);
  transition: border-color .12s ease, transform .1s ease;
}
.lib-pdf-list a:hover { border-color: var(--olive); transform: translateY(-1px); }
.lib-pdf-icon {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--dark); color: var(--cream); border-radius: 50%;
  font-size: 18px;
}
.lib-pdf-body { display: flex; flex-direction: column; }
.lib-pdf-body strong { font-size: 15px; }
.lib-pdf-body small { font-size: 13px; color: var(--muted); }

/* =====================================
   Community (members-only feed)
   ===================================== */
.community-page { padding: 50px 0 80px; }
.community-page .container { max-width: 640px; }
.community-head { margin-bottom: 28px; }
.community-head .back-link {
  font-size: 14px; color: var(--muted); text-decoration: none;
  display: inline-block; margin-bottom: 12px;
}
.community-head .back-link:hover { color: var(--dark); }
.community-head h1 { margin: 0 0 8px; font-size: clamp(28px,4vw,40px); }
.community-head .lead { margin: 0; color: var(--muted); }
.community-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px;
}
.community-new-btn { white-space: nowrap; }

/* Prominent video button in post toolbars */
.md-video-btn {
  background: rgba(217, 169, 59, 0.18) !important;
  border: 1px solid var(--olive, #6b7a3d) !important;
  font-weight: 700 !important;
  color: var(--dark, #1d1e20) !important;
}
.md-video-btn:hover { background: var(--olive, #6b7a3d) !important; color: #fff !important; }

/* Auto-embedded media inside post bodies */
.embed-video {
  position: relative; padding-top: 56.25%;
  background: #000; border-radius: 12px; overflow: hidden;
  margin: 20px 0;
}
.embed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-spotify { border-radius: 12px; margin: 20px 0; display: block; }

/* Forum-style filter bar */
.community-filters {
  display: flex; flex-direction: column; gap: 12px;
  margin: 0 0 32px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
}
.filter-group {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.filter-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--muted);
  min-width: 84px;
}
.filter-chip {
  display: inline-block; padding: 6px 13px;
  background: var(--cream-soft, #f6f0df); color: var(--dark);
  border: 1px solid transparent; border-radius: 999px;
  font-size: 13px; font-weight: 500; text-decoration: none;
  transition: border-color .12s ease, background .12s ease, color .12s ease;
}
.filter-chip:hover { border-color: var(--label-color, var(--olive)); }
.filter-chip.is-active {
  background: var(--dark); color: var(--cream); border-color: var(--dark);
}
.filter-month {
  font: inherit; font-size: 13px;
  padding: 7px 12px; border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12); background: #fff; cursor: pointer;
}
.filter-clear {
  align-self: flex-start;
  font-size: 13px; color: var(--a-red, #c0392b); text-decoration: none;
}
.filter-clear:hover { text-decoration: underline; }
.post-type-badge { font-size: 13px; margin-right: 2px; }

/* Label chips (filter nav at top of feed) — legacy, kept for compatibility */
.community-labels {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 32px;
}
.label-chip {
  display: inline-block; padding: 7px 14px;
  background: #fff; color: var(--dark);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: border-color .12s ease, background .12s ease, color .12s ease;
}
.label-chip:hover { border-color: var(--label-color, var(--olive)); }
.label-chip.is-active {
  background: var(--dark); color: var(--cream); border-color: var(--dark);
}
.label-pill {
  display: inline-block; padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 6px;
}

/* Feed — single vertical column like a social feed */
.community-feed {
  list-style: none; padding: 0; margin: 0 auto;
  max-width: 600px;
  display: flex; flex-direction: column;
  gap: 24px;
}
.community-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .12s ease, transform .1s ease;
}
.community-card:hover {
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}
.community-card-link {
  display: block; text-decoration: none; color: inherit;
}
.community-cover {
  aspect-ratio: 16/9; background: var(--cream-soft); overflow: hidden; display: block;
}
.community-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.community-card-video {
  position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden;
}
.community-card-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.community-title-link { color: inherit; text-decoration: none; }
.community-title-link:hover { color: var(--olive, #6b7a3d); }
.community-body { padding: 18px 22px 20px; }
.community-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 10px; }
.community-date { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.community-body h2 { margin: 4px 0 8px; font-size: 18px; line-height: 1.3; }
.community-preview { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.community-footer-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.community-comments { color: var(--muted); }
.community-cta { color: var(--olive); font-weight: 600; }

.community-posted-date {
  font-size: 12px; color: var(--muted); margin: 6px 0 0;
}

/* Reactions (hearts) */
.react-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--muted, #727586);
  padding: 4px 6px; border-radius: 999px;
}
.react-btn:hover { background: rgba(0,0,0,0.04); }
.react-btn.is-reacted { color: #c0392b; font-weight: 600; }
.react-btn .react-heart { font-size: 15px; line-height: 1; }
.react-btn.pop .react-heart { animation: react-pop .3s ease; }
@keyframes react-pop { 0%{transform:scale(1);} 40%{transform:scale(1.4);} 100%{transform:scale(1);} }
.post-react-row { margin: 18px 0 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.post-react-row .react-btn { font-size: 15px; padding: 8px 16px; border: 1px solid rgba(0,0,0,0.12); border-radius: 999px; }
.post-react-row .react-btn.is-reacted { border-color: #c0392b; background: #fdecea; }
.comment-actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.react-mini { font-size: 12px; padding: 2px 4px; }

/* Customer account settings */
.dashboard-head-actions { display: flex; gap: 16px; align-items: center; }
.customer-settings-readonly {
  margin: 8px 0; padding: 14px 16px;
  background: var(--cream-soft, #f6f0df); border-radius: 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.csr-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.csr-value { font-size: 15px; color: var(--dark); }

/* Feed: stats row, latest comment preview, quick comment box */
.community-stats {
  display: flex; gap: 16px; align-items: center;
  padding: 10px 0; margin-top: 6px;
  border-top: 1px solid rgba(0,0,0,0.07);
  font-size: 13px;
}
.community-stat { color: var(--muted); text-decoration: none; }
.community-stat:hover { color: var(--olive); }
.community-latest-comment {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; margin-bottom: 12px;
  background: var(--cream-soft, #f6f0df); border-radius: 12px;
  text-decoration: none; color: var(--dark);
  font-size: 13.5px; line-height: 1.45;
}
.community-latest-comment:hover { background: #f1ead7; }
.clc-avatar {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--muted, #999); color: #fff; font-size: 12px; font-weight: 700;
}
.clc-avatar.is-admin { background: var(--olive, #6b7a3d); }
.clc-text strong { display: inline; margin-right: 4px; }
.community-quick-comment {
  display: flex; gap: 8px; align-items: center;
}
.community-quick-comment input[type=text] {
  flex: 1; font: inherit; font-size: 14px;
  padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12); background: var(--cream-soft, #f6f0df);
}
.community-quick-comment input[type=text]:focus { outline: none; border-color: var(--olive); background: #fff; }
.community-quick-comment button {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: var(--dark, #1d1e20); color: #fff;
  font-size: 15px; cursor: pointer;
}
.community-quick-comment button:hover { background: var(--olive, #6b7a3d); }

/* ===== Mobile ===== */
@media (max-width: 680px) {
  .community-page .container { padding: 0 14px; }
  .community-filters { padding: 14px; gap: 10px; }
  .filter-group { gap: 6px; }
  .filter-label { min-width: 0; width: 100%; margin-bottom: 2px; }
  .filter-chip { padding: 7px 14px; font-size: 14px; }   /* bigger touch targets */
  .community-feed { gap: 16px; }
  .community-card { border-radius: 14px; }
  .community-body { padding: 16px 16px 18px; }
  .community-new-btn { width: 100%; text-align: center; }
  .community-head-row { flex-direction: column; align-items: stretch; }
  .comment-replies { margin-left: 12px; padding-left: 12px; }
}
.community-empty {
  padding: 60px 20px; text-align: center; color: var(--muted);
  background: var(--cream-soft); border-radius: 14px;
}

/* Single post page */
.community-post { padding: 50px 0 80px; }
.community-post .back-link {
  font-size: 14px; color: var(--muted); text-decoration: none;
  display: inline-block; margin-bottom: 20px;
}
.community-post .back-link:hover { color: var(--dark); }
.community-post-head { margin-bottom: 28px; }
.community-post-head h1 { margin: 12px 0 0; font-size: clamp(28px,3.5vw,38px); line-height: 1.2; }
.community-post-cover {
  aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: var(--cream-soft);
  margin-bottom: 32px;
}
.community-post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.community-post-body {
  font-size: 17px; line-height: 1.75; color: var(--dark-soft);
  margin-bottom: 60px;
}
.community-post-body p { margin: 0 0 18px; }
.community-post-body ul, .community-post-body ol { padding-left: 22px; margin: 8px 0 18px; }
.community-post-body li { margin-bottom: 6px; }
.community-post-body h2,
.community-post-body h3 { margin: 32px 0 12px; }
.community-post-body img { max-width: 100%; height: auto; border-radius: 10px; }
.community-post-body strong { color: var(--dark); }

/* Comments */
.community-comments-section {
  border-top: 1px solid rgba(0,0,0,0.08); padding-top: 32px;
}
.community-comments-section h2 { margin: 0 0 24px; font-size: 22px; }
.community-comments-list {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.community-comment {
  background: var(--cream-soft);
  border-radius: 12px;
  padding: 16px 20px;
}
.comment-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.comment-head strong { font-size: 14px; }
.comment-head small { font-size: 12px; color: var(--muted); }
.comment-body { font-size: 15px; line-height: 1.55; color: var(--dark-soft); }
.comment-body p { margin: 0 0 8px; }
.comment-body p:last-child { margin-bottom: 0; }

.community-comment-form {
  background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.community-comment-form label {
  font-size: 13px; font-weight: 600; color: var(--dark-soft);
}
.community-comment-form textarea {
  font: inherit; font-size: 15px;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
}
.community-comment-form button { align-self: flex-start; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* Comment replies (one level deep) */
.comment-reply-toggle {
  background: none; border: none; padding: 4px 0; margin-top: 6px;
  color: var(--olive, #6b7a3d); font-size: 13px; font-weight: 600; cursor: pointer;
}
.comment-reply-toggle:hover { text-decoration: underline; }
.comment-replies {
  list-style: none; margin: 12px 0 0 24px; padding-left: 16px;
  border-left: 2px solid rgba(0,0,0,0.08);
  display: flex; flex-direction: column; gap: 12px;
}
.comment-reply-form {
  margin-top: 10px; display: flex; flex-direction: column; gap: 8px;
}
.comment-reply-form textarea {
  font: inherit; font-size: 14px; padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 8px; resize: vertical;
}
.comment-reply-form button { align-self: flex-start; }
.is-admin-comment { background: #f3f6e8; border-left: 3px solid var(--olive, #6b7a3d); }
.comment-admin-badge {
  display: inline-block; background: var(--olive, #6b7a3d); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
}

/* ===== Member "new post" form ===== */
.community-new-head { margin-bottom: 24px; }
.community-new-head h1 { margin: 8px 0 6px; }
.community-new-form {
  background: #fff; border: 1px solid rgba(0,0,0,0.07); border-radius: 18px;
  padding: 28px; display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.15);
}
.cnf-field { display: flex; flex-direction: column; gap: 8px; }
.cnf-field label { font-size: 14px; font-weight: 600; color: var(--dark-soft, #36344d); }
.cnf-optional { font-weight: 400; color: var(--muted); font-size: 12px; }
.cnf-field input[type=text],
.cnf-field textarea {
  font: inherit; font-size: 16px; padding: 13px 15px;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 12px; background: #fff;
  resize: vertical;
}
.cnf-field input[type=text]:focus,
.cnf-field textarea:focus { border-color: var(--olive, #6b7a3d); outline: none; }
.cnf-toolbar { display: flex; gap: 6px; }
.cnf-toolbar button {
  border: 1px solid rgba(0,0,0,0.12); background: var(--cream-soft, #f6f0df);
  border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 14px;
}
.cnf-toolbar button:hover { background: #fff; }
.cnf-image-drop {
  display: block; border: 2px dashed rgba(0,0,0,0.15); border-radius: 14px;
  padding: 28px; text-align: center; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.cnf-image-drop:hover { border-color: var(--olive, #6b7a3d); background: #fffdf6; }
.cnf-image-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); }
.cnf-image-icon { font-size: 28px; }
.cnf-image-preview { max-width: 100%; max-height: 320px; border-radius: 12px; }
.cnf-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cnf-checkbox { flex-direction: row !important; align-items: center; gap: 10px; cursor: pointer; font-weight: 400 !important; }
.cnf-checkbox input { width: 18px; height: 18px; }

/* Author row on community posts */
.community-author {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.community-avatar {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--olive, #6b7a3d); color: #fff;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.community-author-name { font-weight: 600; font-size: 14px; color: var(--dark, #1d1e20); }
.community-author .community-date { color: var(--muted); font-size: 13px; }

/* Admin label picker (checkboxes that look like chips) */
.label-chip-picker {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.label-chip-check {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  transition: background .12s ease, border-color .12s ease;
}
.label-chip-check:hover { border-color: var(--label-color, #6b7a3d); }
.label-chip-check input { margin: 0; }
.label-chip-check input:checked + span {
  font-weight: 700;
}
.label-chip-check:has(input:checked) {
  background: var(--label-color, #6b7a3d);
  border-color: var(--label-color, #6b7a3d);
  color: #fff;
}
.muted { color: var(--muted); }

/* Admin moderation queue */
.moderation-queue {
  background: #fffdf6; border: 1px solid var(--a-gold, #d9a93b);
  border-radius: 14px; padding: 22px 24px; margin-bottom: 28px;
}
.moderation-queue h2 { margin: 0 0 6px; font-size: 18px; }
.pending-post-card {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px; padding: 16px 18px; margin-top: 12px;
  flex-wrap: wrap;
}
.pending-post-info { flex: 1; min-width: 240px; }
.pending-post-info strong { display: block; font-size: 15px; }
.pending-post-info small { color: var(--a-muted, #727586); }
.pending-post-info p { margin: 8px 0 0; font-size: 14px; color: var(--a-muted, #727586); }
.pending-post-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Course detail (public) — lessons cards */
.course-content { padding: 60px 0 80px; background: var(--cream-soft, #f6f0df); }
.course-content h2 { margin: 0 0 6px; font-size: 28px; }
.course-content-meta {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted, #727586); margin: 0 0 28px;
}
.course-lessons-cards {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.course-lesson-card {
  display: flex; align-items: flex-start; gap: 18px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: border-color .12s ease, transform .1s ease, box-shadow .12s ease;
}
.course-lesson-card:hover {
  border-color: var(--olive, #6b7a3d);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.15);
}
.course-lesson-card .lesson-num {
  flex-shrink: 0;
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--dark, #1d1e20); color: var(--cream, #f6f0df);
  border-radius: 50%;
  font-size: 13px; font-weight: 700;
  font-family: ui-monospace, "SF Mono", monospace;
}
.course-lesson-card .lesson-body { flex: 1; min-width: 0; }
.course-lesson-card h3 {
  margin: 0 0 4px; font-size: 17px; font-weight: 700;
  color: var(--dark, #1d1e20);
}
.course-lesson-card p {
  margin: 0; font-size: 14px; color: var(--muted, #727586); line-height: 1.55;
}

/* Per-lesson thumbnail on public course detail */
.course-lesson-card.has-thumb { gap: 14px; }
.course-lesson-card .lesson-thumb {
  flex-shrink: 0;
  width: 120px; aspect-ratio: 16 / 9;
  border-radius: 10px; overflow: hidden;
  position: relative; background: #000;
}
.course-lesson-card .lesson-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.course-lesson-card .lesson-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #fff; font-size: 22px;
  background: rgba(0,0,0,0.3);
  opacity: .8;
}
@media (max-width: 640px) {
  .course-lesson-card .lesson-thumb { width: 80px; }
}

/* Mini thumbs in customer course player sidebar */
.course-lessons-nav .lesson-thumb-mini {
  flex-shrink: 0;
  width: 54px; aspect-ratio: 16 / 9;
  border-radius: 6px; overflow: hidden;
  background: #000;
}
.course-lessons-nav .lesson-thumb-mini img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Downloadable files inside the customer course player */
.lesson-files {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.lesson-files h3 {
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted, #727586); margin: 0 0 12px;
}
.lesson-files ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.lesson-files a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: var(--cream-soft, #f6f0df);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark, #1d1e20);
  transition: border-color .12s ease, transform .1s ease;
}
.lesson-files a:hover {
  border-color: var(--olive, #6b7a3d);
  transform: translateY(-1px);
}
.lesson-files .lf-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--dark, #1d1e20); color: var(--cream, #f6f0df);
  border-radius: 50%; font-size: 14px;
}
.lesson-files .lf-text strong { display: block; font-size: 15px; }
.lesson-files .lf-text small { display: block; color: var(--muted); font-size: 12px; }

/* Admin: lesson file management inside course-edit */
.lesson-files-block {
  margin-top: 10px; padding: 14px 16px;
  background: rgba(0,0,0,0.03);
  border-radius: 10px;
  border: 1px dashed rgba(0,0,0,0.12);
}
.lesson-files-block strong {
  display: block; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--a-muted); margin-bottom: 8px;
}
.lesson-files-list {
  list-style: none; padding: 0; margin: 0 0 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.lesson-files-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--a-line, rgba(0,0,0,0.1));
  border-radius: 8px; font-size: 13px;
}
.lesson-files-list .lf-name { flex: 1; font-weight: 600; }
.lesson-files-list .lf-meta { color: var(--a-muted, #727586); font-size: 11px; }
.lesson-files-list .lf-delete {
  background: transparent; border: 1px solid var(--a-line, rgba(0,0,0,0.1));
  width: 24px; height: 24px; border-radius: 50%;
  cursor: pointer; color: var(--a-red, #c33); font-size: 14px; line-height: 1;
}
.lesson-file-upload {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.lesson-file-upload input[type=file] { font-size: 13px; flex: 1; min-width: 200px; }
.lesson-file-upload input[type=text] { flex: 1; min-width: 200px; padding: 8px 10px; }
.lesson-file-upload .field-hint { width: 100%; }

/* Admin: lesson thumb preview inside the lesson row */
.lesson-thumb-preview {
  margin-top: 8px;
  width: 160px; aspect-ratio: 16 / 9;
  border-radius: 8px; overflow: hidden;
  background: #000;
}
.lesson-thumb-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   Newsletter band — Phase G
   ============================================================ */
.newsletter-band {
  background: var(--dark, #1d1e20);
  color: var(--cream, #f6f0df);
  padding: 72px 0;
  text-align: center;
}
.newsletter-band p { color: rgba(255,255,255,0.75); }
.newsletter-band h3 {
  margin: 0 0 10px; font-size: 26px;
}
.newsletter-band p { max-width: 520px; margin: 0 auto 18px; color: var(--muted, #727586); }
.newsletter-form {
  display: flex; gap: 8px; max-width: 480px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.newsletter-form input[type=email] {
  flex: 1; min-width: 220px;
  padding: 12px 16px; font-size: 16px;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 999px;
  background: #fff; font-family: inherit;
}
.newsletter-form button { padding: 12px 24px; }
.newsletter-ok  { color: #2f7d4a; font-weight: 600; }
.newsletter-err { color: var(--a-red, #c33); font-weight: 600; }

.footer-legal-links { display: inline-flex; gap: 12px; margin-left: 12px; }
.footer-legal-links a { color: inherit; text-decoration: underline; opacity: .7; font-size: 13px; }
.footer-legal-links a:hover { opacity: 1; }

/* ----- Cookie banner ----- */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  max-width: 760px; margin: 0 auto;
  background: var(--dark, #1d1e20); color: var(--cream, #f6f0df);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  z-index: 9999;
  font-size: 14px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: inherit; text-decoration: underline; }
.cookie-banner .btn { padding: 8px 18px; font-size: 14px; }

/* ============================================================
   Booking widget — Phase F
   ============================================================ */
.booking-page { padding: 60px 0 100px; }
.booking-head { text-align: center; margin-bottom: 40px; }
.booking-head .eyebrow { color: var(--olive); }
.booking-head h1 { margin: 6px 0 10px; }
.booking-head .lead { max-width: 540px; margin: 0 auto; color: var(--muted); }

.booking-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 36px;
  max-width: 880px; margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px -16px rgba(0,0,0,0.15);
}
@media (max-width: 760px) {
  .booking-grid { grid-template-columns: 1fr; padding: 22px; }
}

.booking-cal .cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.booking-cal .cal-head h2 {
  margin: 0; font-size: 18px; text-transform: capitalize;
}
.booking-cal .cal-head button {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff; cursor: pointer; font-size: 16px;
}
.booking-cal .cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; margin-bottom: 6px;
}
.booking-cal .cal-weekdays span {
  text-align: center; font-size: 12px; color: var(--muted);
  font-weight: 600;
}
.booking-cal .cal-days {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.booking-cal .cal-pad { aspect-ratio: 1; }
.booking-cal .cal-day {
  aspect-ratio: 1; display: grid; place-items: center;
  border: 1px solid transparent;
  background: var(--cream-soft, #f6f0df);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px; font-weight: 600;
  color: var(--dark);
  transition: background .12s ease, border-color .12s ease, transform .1s ease;
}
.booking-cal .cal-day:hover:not(:disabled) {
  border-color: var(--olive); transform: translateY(-1px);
}
.booking-cal .cal-day.is-active {
  background: var(--dark); color: var(--cream);
}
.booking-cal .cal-day.is-today {
  outline: 2px solid var(--olive); outline-offset: -2px;
}
.booking-cal .cal-day.is-disabled,
.booking-cal .cal-day:disabled {
  background: transparent; color: rgba(0,0,0,0.25);
  cursor: not-allowed; border-style: dashed;
}
.booking-cal .cal-loading {
  grid-column: 1 / -1;
  padding: 20px; text-align: center;
  color: var(--muted); font-size: 14px;
}

.booking-side h3 {
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px;
}
.slot-list {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px;
}
.slot-list .slot-empty {
  font-size: 14px; color: var(--muted);
}
.slot-btn {
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px; font-weight: 600;
  text-align: center;
  transition: border-color .12s ease, background .12s ease;
}
.slot-btn:hover { border-color: var(--olive); }
.slot-btn.is-active {
  background: var(--dark); color: var(--cream); border-color: var(--dark);
}

.customer-fields {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex; flex-direction: column; gap: 14px;
}
.customer-fields label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--dark-soft);
}
.customer-fields input,
.customer-fields textarea {
  padding: 12px 14px; font-size: 15px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-family: inherit; background: #fff;
}
.customer-fields .btn { margin-top: 4px; }
.booking-disclaimer {
  font-size: 12px; color: var(--muted); line-height: 1.5; margin: 8px 0 0;
}
