/* =========================================================
   Govindam Yoga: global styles
   ========================================================= */

:root {
  /* Colour: greens */
  --forest-900: #142a22;
  --forest-800: #1b3529;
  --green-800: #1f3d2f;   /* headings on light */
  --green-700: #2f5a44;   /* buttons, active nav */
  --green-600: #4a7c5a;   /* hero CTA */
  --green-500: #5f9070;
  --sage-500: #4f6659;    /* muted nav text (5:1+ on the light pill) */
  --mist-50: #f1f5f1;     /* light surfaces */

  /* Colour: gold + cream (features strip) */
  --gold-400: #dcc584;
  --gold-500: #cfb46a;
  --cream-50: #f6f2e8;
  --cream-muted: #b9c2b8;

  /* Type */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 128px;  /* space reserved for the floating nav (stacked logo) */

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-slow: 900ms;

  /* Layers */
  --z-header: 100;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px; /* anchor jumps land below the floating header */
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--green-800);
  background: var(--forest-900);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
  border-radius: 4px;
}
.features :focus-visible { outline-color: var(--gold-400); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--green-700);
  color: #fff;
  font-weight: 600;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 26px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color var(--dur-fast), color var(--dur-fast),
              box-shadow var(--dur-fast), transform var(--dur-fast);
}
.btn:active { transform: scale(0.98); }

.btn-green {
  background: var(--green-700);
  color: #fff;
}
.btn-green:hover { background: var(--green-800); }

/* Big rounded hero button with a soft glow */
.btn-pill {
  border-radius: 4px;
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(31, 61, 47, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-pill:hover {
  background: var(--green-700);
  box-shadow: 0 18px 36px -10px rgba(31, 61, 47, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.btn-lg { min-height: 64px; padding: 16px 44px; font-size: 18px; }

/* ---------- Header: floating glass pill ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  padding: 24px var(--gutter) 0;
  pointer-events: none; /* only the pill itself is clickable */
}

.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1160px;
  height: 80px;
  margin-inline: auto;
  padding: 0 10px 0 12px;
  background: rgba(241, 245, 241, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 8px 30px -12px rgba(31, 61, 47, 0.25);
  transition: background-color 300ms, box-shadow 300ms;
}
.site-header.is-scrolled .header-inner {
  background: rgba(241, 245, 241, 0.9);
  box-shadow: 0 10px 34px -12px rgba(20, 42, 34, 0.4);
}

/* Logo (option 8): round logo on top, fine gold line, "Govindam Yoga" in Comfortaa bold */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: none;
}
.logo-mark {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.02); /* trims the photo's light corners at the edge */
}
.logo-rule {
  display: block;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a8853a, transparent);
}
.logo-text {
  display: block;
  font-family: 'Comfortaa', 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--green-800);
}
.logo-sub { color: #a8853a; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: #dcc584; }
.footer-brand .logo-rule { background: linear-gradient(90deg, transparent, #dcc584, transparent); }

.main-nav > ul {
  display: flex;
  gap: clamp(12px, 1.5vw, 22px);
}
.main-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* comfortable tap target */
  font-size: 14.5px;
  color: var(--sage-500);
  white-space: nowrap;
  transition: color var(--dur-fast);
}
.main-nav a:not(.btn):hover { color: var(--green-800); }
.main-nav a[aria-current="page"] {
  color: var(--green-800);
  font-weight: 600;
}

/* "Yoga Training" dropdown */
.main-nav .has-sub {
  position: relative;
  display: flex;
  align-items: center;
}
.sub-toggle {
  display: grid;
  place-items: center;
  width: 26px; height: 44px;
  padding: 0;
  margin-left: 2px;
  background: none;
  border: 0;
  cursor: pointer;
}
.sub-toggle svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: var(--sage-500);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms var(--ease-out);
}
.sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -18px;
  z-index: 5;
  display: grid;
  gap: 2px;
  min-width: 290px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: #fff;
  border: 1px solid #dfe8e1;
  border-radius: 4px;
  box-shadow: 0 24px 48px -20px rgba(20, 42, 34, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 220ms, transform 300ms var(--ease-out), visibility 220ms;
}
.sub-menu::before { /* invisible bridge so the menu stays open while the pointer moves down */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -14px;
  height: 14px;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.sub-toggle[aria-expanded="true"] + .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.has-sub:hover .sub-toggle svg,
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.main-nav .sub-menu a {
  display: block;
  min-height: 0;
  padding: 10px 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  color: var(--green-800);
  border-radius: 4px;
}
.main-nav .sub-menu a span {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--sage-500);
}
/* Dropdown items: golden, shining highlight with a light sweep, like the gold buttons */
.main-nav .sub-menu a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast);
}
.main-nav .sub-menu a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.7) 48%, transparent 66%);
  transform: translateX(-120%);
  pointer-events: none;
}
.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus-visible {
  color: var(--forest-900);
  background: linear-gradient(160deg, #f4e6bb 0%, #e3cd8e 50%, #cfb46a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 22px -12px rgba(207, 180, 106, 0.9), 0 0 18px -4px rgba(220, 197, 132, 0.55);
}
.main-nav .sub-menu a:hover span,
.main-nav .sub-menu a:focus-visible span { color: #5b4a1c; }
.main-nav .sub-menu a:hover::after,
.main-nav .sub-menu a:focus-visible::after { animation: subSheen 900ms var(--ease-out); }
@keyframes subSheen { to { transform: translateX(120%); } }
.sub-menu .sub-quiz {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid #eef2ef;
}
.main-nav .sub-quiz a { color: #8a6a1f; }

.nav-cta-mobile { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px; height: 48px;
  padding: 12px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--green-800);
  transition: transform 300ms var(--ease-out), opacity 200ms;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero-screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: calc(var(--header-h) + clamp(32px, 9vh, 110px));
  padding-bottom: 48px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

/* Layer 1: the photo, drained of its orange */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #6f8d7c url("../images/hero.jpg?v=original") center / cover no-repeat;
  filter: grayscale(1) brightness(1.12) contrast(0.92);
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease-out) forwards;
}

/* Layer 2: re-colours the grey photo green */
.hero-tint {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, #8fbfa6 0%, #4f8f6c 55%, #2c6a4b 100%);
  mix-blend-mode: color;
}

/* Layer 3: soft white mist behind the text, darker green at the base */
.hero-mist {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 62% 62% at 50% 34%, rgba(244, 247, 242, 0.9) 0%, rgba(244, 247, 242, 0.6) 50%, rgba(244, 247, 242, 0) 82%),
    linear-gradient(180deg, rgba(240, 245, 240, 0.9) 0%, rgba(240, 245, 240, 0.55) 30%, rgba(240, 245, 240, 0.1) 55%, rgba(240, 245, 240, 0) 65%, rgba(20, 42, 34, 0.35) 100%);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  max-width: 17ch;
  margin: 0;
  font-weight: 300;
  font-size: clamp(38px, min(5.6vw, 9vh), 80px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--green-800);
  text-wrap: balance;
}
/* Keywords: bold, with a slow flowing green gradient */
.hero-title strong {
  font-weight: 600;
  background: linear-gradient(100deg, #1f3d2f 0%, #3f7a58 25%, #6da882 45%, #3f7a58 65%, #1f3d2f 85%, #3f7a58 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 9s linear infinite;
}
@keyframes gradientFlow {
  from { background-position: 0% 50%; }
  to   { background-position: -250% 50%; }
}

.hero-text {
  max-width: 40rem;
  margin: clamp(16px, 2.6vh, 24px) 0 clamp(28px, 4.5vh, 44px);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: #1f3328;
  font-weight: 500;
  /* soft light halo keeps the line readable where it crosses darker parts of the photo */
  text-shadow: 0 0 14px rgba(244, 247, 242, 0.95), 0 0 4px rgba(244, 247, 242, 0.9);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Entrance animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp var(--dur-slow) var(--ease-out) forwards;
}
.hero-content .reveal:nth-child(1) { animation-delay: 200ms; }
.hero-content .reveal:nth-child(2) { animation-delay: 360ms; }
.hero-content .reveal:nth-child(3) { animation-delay: 500ms; }

@keyframes revealUp {
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  to { transform: scale(1); }
}

/* ---------- Features strip ---------- */
.features {
  background: var(--forest-800);
  border-top: 1px solid rgba(220, 197, 132, 0.12);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto)); /* columns may shrink and wrap their text instead of overflowing */
  justify-content: space-between;
  max-width: 1360px;
  padding-block: clamp(24px, 4vh, 40px);
}

.feature {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-inline: 24px;
}
.feature > div { max-width: 15rem; }
.feature:first-child { padding-left: 0; }
.feature:last-child { padding-right: 0; }
.feature + .feature { border-left: 1px solid rgba(220, 197, 132, 0.18); }

.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border: 1px solid rgba(220, 197, 132, 0.45);
  border-radius: 50%;
}
.feature-icon svg {
  width: 32px; height: 32px;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  margin: 0 0 4px;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 500;
  color: var(--cream-50);
}
.feature-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--cream-muted);
}

/* ---------- Mission ---------- */
.mission {
  padding-block: clamp(64px, 10vw, 120px);
  background: var(--mist-50);
}

.mission-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  max-width: 1160px;
  margin-inline: auto;
  border-radius: 4px;
  background: linear-gradient(135deg, #3d6c4e 0%, var(--green-700) 100%); /* deep enough for the light text */
  box-shadow: 0 30px 60px -30px rgba(31, 61, 47, 0.55);
}

/* The image panel sits slightly proud of the green card, like the reference */
.mission-media {
  position: relative;
  margin: -14px 0 -14px -14px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(20, 42, 34, 0.5);
  min-height: 380px;
}
.mission-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* the mission collage is shown whole (never cropped), on the collage's own cream paper colour */
.mission-media:has(.mission-photo) { background: #f5f1e5; min-height: 0; aspect-ratio: 1200 / 896; align-self: center; }
@media (min-width: 821px) { .mission-card:has(.mission-photo) { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.mission-photo { object-fit: contain; object-position: center; }

.mission-body {
  position: relative;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px);
  color: #fff;
}
/* Large decorative quote mark */
.mission-body::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: clamp(20px, 4vw, 48px);
  font-size: 180px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #cfe8d6;
}

.mission-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.mission-quote {
  position: relative;
  margin: 24px 0 0;
  padding-left: 22px;
  border-left: 2px solid rgba(220, 197, 132, 0.8);
}
.mission-quote p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 18.5px);
  font-weight: 300;
  line-height: 1.8;
  color: #eef5ef;
}

/* Educate / Inspire / Empower: a row inside the green panel */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content)); /* always one tidy row of three */
  justify-content: start;
  gap: 10px;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
}
.pillar-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  background: var(--gold-400);
  color: var(--green-800);
}
.pillar-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

/* ---------- Section heading (shared) ---------- */
.section-head {
  max-width: 40rem;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.eyebrow-dark { color: var(--green-700); }
.section-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-800);
  text-wrap: balance;
}
.section-sub {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.3vw, 17px);
  color: #4d6457;
  text-wrap: balance;
}

/* ---------- Why choose us: dark "night forest" ---------- */
.why {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(72px, 10vw, 120px);
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(74, 124, 90, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 45% at 90% 90%, rgba(59, 106, 130, 0.22), transparent 70%),
    linear-gradient(180deg, #0c1813 0%, #0f1f19 50%, #0b1511 100%);
}
/* Faint floating lights: two layers of tiny dots drifting slowly upward */
.why::before,
.why::after {
  content: "";
  position: absolute;
  inset: -50% 0 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(220, 236, 200, 0.55), transparent),
    radial-gradient(1px 1px at 110px 90px, rgba(255, 240, 200, 0.5), transparent),
    radial-gradient(2px 2px at 170px 160px, rgba(190, 230, 210, 0.35), transparent),
    radial-gradient(1px 1px at 60px 200px, rgba(255, 255, 255, 0.45), transparent);
  background-size: 220px 240px;
  animation: drift 60s linear infinite;
}
.why::after {
  background-size: 340px 300px;
  opacity: 0.6;
  animation-duration: 95s;
}
@keyframes drift {
  to { transform: translateY(33%); }
}

.why :focus-visible { outline-color: var(--gold-400); }
.why .eyebrow-dark { color: var(--gold-400); }
.why .section-title {
  color: #fff;
  text-shadow: 0 0 28px rgba(160, 220, 180, 0.25);
}
.why .section-sub { color: #b9c9bf; }

/* ---------- Pillar carousel ---------- */
.carousel {
  max-width: 1160px;
  margin-inline: auto;
}
.carousel-track {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin: 0;
  padding: 22px 6px 36px;   /* room for the glow, which scrolling would otherwise clip */
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}

/* Jewel-tone card. --c-from/--c-to: card gradient, --c-glow: light accent */
.pcard {
  --c-from: #14533d;
  --c-to: #0b2e22;
  --c-glow: #6ee7b7;
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--c-glow) 22%, transparent) 0%, transparent 55%),
    linear-gradient(160deg, var(--c-from) 0%, var(--c-to) 100%);
  border: 1px solid color-mix(in srgb, var(--c-glow) 22%, transparent);
  border-radius: 4px;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8);
  transition: border-color 300ms, box-shadow 300ms, transform 300ms var(--ease-out);
  interpolate-size: allow-keywords;
}
.pcard:hover,
.pcard[open] {
  border-color: color-mix(in srgb, var(--c-glow) 60%, transparent);
  box-shadow:
    0 0 32px -4px color-mix(in srgb, var(--c-glow) 35%, transparent),
    0 20px 40px -24px rgba(0, 0, 0, 0.8);
}
.pcard:hover { transform: translateY(-4px); }

.carousel-slide:nth-child(2) .pcard { --c-from: #1b3f72; --c-to: #0e2140; --c-glow: #8cc4ff; } /* sapphire */
.carousel-slide:nth-child(3) .pcard { --c-from: #5c3f12; --c-to: #2e1f08; --c-glow: #f6c96e; } /* amber */
.carousel-slide:nth-child(4) .pcard { --c-from: #352f78; --c-to: #1b1842; --c-glow: #b3a6ff; } /* indigo */
.carousel-slide:nth-child(5) .pcard { --c-from: #11585d; --c-to: #082e31; --c-glow: #67e8d6; } /* teal */
.carousel-slide:nth-child(6) .pcard { --c-from: #6a2626; --c-to: #361212; --c-glow: #ffa08c; } /* ruby */
.carousel-slide:nth-child(7) .pcard { --c-from: #5c2559; --c-to: #2f122d; --c-glow: #f2a8e8; } /* plum */
.carousel-slide:nth-child(8) .pcard { --c-from: #22305e; --c-to: #0f1530; --c-glow: #a5b6ff; } /* midnight */

.pcard summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px 22px;
  cursor: pointer;
  list-style: none;
  border-radius: inherit;
}
.pcard summary::-webkit-details-marker { display: none; }

.pc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* Icon in a softly pulsing halo */
.pc-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c-glow) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-glow) 55%, transparent);
  box-shadow: 0 0 22px -2px color-mix(in srgb, var(--c-glow) 55%, transparent);
  transition: background-color 300ms;
}
.pc-icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c-glow) 45%, transparent);
  animation: halo 3.2s ease-out infinite;
}
@keyframes halo {
  0%   { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}
.pc-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--c-glow);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c-glow) 70%, transparent));
}
.pcard[open] .pc-icon { background: var(--c-glow); }
.pcard[open] .pc-icon svg { stroke: var(--c-to); filter: none; }

.pc-num {
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  color: var(--c-glow);
  opacity: 0.28;
}

.pc-title {
  min-height: 2.7em; /* keeps closed cards the same height */
  font-size: clamp(17px, 1.5vw, 19.5px);
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 0 18px color-mix(in srgb, var(--c-glow) 45%, transparent);
}
.pc-title strong { font-weight: 600; }

.pc-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-glow);
}
.pc-more-label::before { content: "Read more"; }
.pcard[open] .pc-more-label::before { content: "Show less"; }

/* Plus icon that turns into a minus */
.acc-icon {
  position: relative;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c-glow) 60%, transparent);
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease-out);
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.pcard[open] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

/* Smooth open/close where supported; instant elsewhere */
.pcard::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 350ms var(--ease-out), content-visibility 350ms allow-discrete;
}
.pcard[open]::details-content { block-size: auto; }

.pc-body {
  padding: 0 24px 26px;
}
.acc-sub {
  margin: 0 0 12px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--c-glow) 25%, transparent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-glow);
}
.pc-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc-body li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.pc-body li + li { margin-top: 8px; }
.pc-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-glow);
  box-shadow: 0 0 8px var(--c-glow);
}

/* ---------- Progress counter ---------- */
.pillar-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 18px;
  font-size: 14px;
  color: #b9c9bf;
}
.pillar-progress strong { color: #fff; font-weight: 600; }
.progress-bar {
  width: clamp(120px, 20vw, 200px);
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6ee7b7, #8cc4ff, #b3a6ff, #f6c96e);
  box-shadow: 0 0 12px rgba(160, 220, 200, 0.6);
  transition: width 500ms var(--ease-out);
}
.pillar-progress.is-complete { color: var(--gold-400); }

/* ---------- Arrows + dots (on dark) ---------- */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.carousel-btn {
  flex: none; /* never squeezed by a long row of dots */
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), opacity var(--dur-fast), box-shadow var(--dur-fast);
}
.carousel-btn svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel-btn:hover:not(:disabled) {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}
.carousel-btn:hover:not(:disabled) svg { stroke: var(--forest-900); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}
.carousel-dot {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.carousel-dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 300ms var(--ease-out), background-color 300ms;
}
.carousel-dot[aria-current="true"]::before {
  width: 24px;
  background: var(--gold-400);
  box-shadow: 0 0 10px rgba(220, 197, 132, 0.6);
}

/* ---------- Lineage ---------- */
.lineage {
  padding-block: clamp(72px, 10vw, 120px);
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(207, 180, 106, 0.12), transparent 70%),
    linear-gradient(180deg, #f8f5ee 0%, #f3efe4 100%);
}
.lineage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  max-width: 1160px;
}

/* Left visual */
.lineage-visual {
  position: relative;
  padding: 40px 40px 40px 0; /* room for the overlapping badges on the right */
}
.chain-card {
  position: relative;
  overflow: hidden;
  padding: 34px 32px 30px;
  border-radius: 4px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(220, 197, 132, 0.22), transparent 50%),
    linear-gradient(160deg, #1d4433 0%, #0f241c 100%);
  border: 6px solid #fff;
  box-shadow: 0 30px 60px -30px rgba(20, 42, 34, 0.6);
}
.chain-label {
  margin: 0 0 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.chain {
  --step: 0.8s;              /* time between each name lighting up */
  --cycle: calc(var(--step) * 7);
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* The line linking the teachers */
.chain::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(220, 197, 132, 0.22);
}
/* A soft light travelling down the line */
.chain::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 6px;
  height: 70px;
  border-radius: 4px;
  background: linear-gradient(180deg, transparent, var(--gold-400), transparent);
  box-shadow: 0 0 14px rgba(220, 197, 132, 0.8);
  animation: travel var(--cycle) linear infinite;
}
@keyframes travel {
  from { top: -40px; }
  to   { top: calc(100% - 30px); }
}
.chain li {
  position: relative;
  padding-left: 34px;
}
.chain-dot {
  position: absolute;
  left: 1px;
  top: 0.32em;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  background: #143326;
  animation: nodeGlow var(--cycle) ease-out infinite;
  animation-delay: calc(var(--i) * var(--step));
}
@keyframes nodeGlow {
  0%, 22%, 100% { background: #143326; box-shadow: none; }
  6% { background: var(--gold-400); box-shadow: 0 0 0 5px rgba(220, 197, 132, 0.18), 0 0 18px rgba(220, 197, 132, 0.9); }
}
.chain-name {
  display: block;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
  animation: nameGlow var(--cycle) ease-out infinite;
  animation-delay: calc(var(--i) * var(--step));
}
@keyframes nameGlow {
  0%, 22%, 100% { color: rgba(255, 255, 255, 0.82); text-shadow: none; }
  6% { color: #fff; text-shadow: 0 0 16px rgba(240, 220, 160, 0.9); }
}
.chain-note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(220, 197, 132, 0.8);
}

/* Overlapping round badges */
.lineage-badge {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 14px 30px -12px rgba(20, 42, 34, 0.45);
}
.badge-top {
  top: 0;
  right: 0;
  width: 124px; height: 124px;
  align-content: center;
  gap: 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(160deg, var(--green-600), var(--green-700));
  animation: float 6s ease-in-out infinite;
}
.badge-big { font-family: 'Gilda Display', Georgia, serif; font-size: 40px; font-weight: 400; line-height: 0.9; color: #f6e7bd; }
.badge-small {
  max-width: 84%;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #eef4ef;
}
.badge-small::before { content: ""; display: block; width: 22px; height: 1px; margin: 5px auto 6px; background: var(--gold-400); }
.badge-bottom {
  right: 14px;
  bottom: 4px;
  width: 92px; height: 92px;
  background: #fff;
}
.badge-bottom img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.02);
}
/* Slowly rotating dashed ring around the logo */
.badge-bottom::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-500);
  animation: spin 22s linear infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Right text */
.lineage-title { text-align: left; }
.lineage-lead {
  margin: 14px 0 0;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: #3a4f44;
}
.scripture {
  margin: 24px 0;
  padding: 16px 22px;
  background: #fff;
  border-left: 3px solid var(--gold-500);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 10px 24px -18px rgba(20, 42, 34, 0.4);
}
.scripture p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3a4f44;
}
.scripture strong { color: var(--green-800); font-weight: 600; }

/* Collapsible lineage card */
.lcard {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6dfcc;
  border-radius: 4px;
  box-shadow: 0 16px 34px -24px rgba(20, 42, 34, 0.45);
  transition: border-color 300ms, box-shadow 300ms;
  interpolate-size: allow-keywords;
}
.lcard:hover { border-color: var(--gold-500); }
.lcard[open] {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(220, 197, 132, 0.18), 0 22px 40px -26px rgba(20, 42, 34, 0.5);
}
/* A gentle shimmer sweeps across the closed card to invite a tap */
.lcard:not([open])::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(220, 197, 132, 0.28) 50%, transparent 62%);
  transform: translateX(-100%);
  animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.lcard summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}
.lcard summary::-webkit-details-marker { display: none; }

.lcard-num {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  color: var(--forest-900);
  background: linear-gradient(160deg, #ecd9a2, var(--gold-500));
  box-shadow: 0 0 0 5px rgba(220, 197, 132, 0.2), 0 0 18px rgba(220, 197, 132, 0.55);
}
.lcard-head { display: grid; gap: 3px; }
.lcard-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6a1f;
}
.lcard-title {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.3;
  color: var(--green-800);
}
.lcard-title strong { font-weight: 600; }
.lcard-meta {
  font-size: 13.5px;
  color: #5b6f63;
}

/* Chevron that flips when open */
.lcard-toggle {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #d9cfb4;
  transition: background-color 300ms, border-color 300ms;
}
.lcard-toggle::before {
  content: "";
  position: absolute;
  top: 45%; left: 50%;
  width: 9px; height: 9px;
  border-right: 1.8px solid var(--green-700);
  border-bottom: 1.8px solid var(--green-700);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 300ms var(--ease-out), border-color 300ms;
}
.lcard[open] .lcard-toggle { background: var(--green-700); border-color: var(--green-700); }
.lcard[open] .lcard-toggle::before {
  top: 55%;
  border-color: #fff;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.lcard::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 400ms var(--ease-out), content-visibility 400ms allow-discrete;
}
.lcard[open]::details-content { block-size: auto; }

.lcard-body {
  padding: 4px 28px 26px 96px;
  border-top: 1px solid #efe8d6;
}
.lcard-body p {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: #3a4f44;
}
.lcard-body strong { color: var(--green-800); font-weight: 600; }
.lcard-body h3 {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-800);
}

.lineage-actions { margin-top: 28px; }

/* ---------- Teacher training ---------- */
.ttc {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(72px, 10vw, 120px);
  background: linear-gradient(165deg, #173a2c 0%, #10271e 55%, #0c1d16 100%);
  color: #fff;
}
/* Two soft blobs of light drifting slowly behind the cards */
.ttc::before,
.ttc::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.ttc::before {
  top: -160px; left: -120px;
  background: rgba(220, 197, 132, 0.22);
  animation: blobA 18s ease-in-out infinite alternate;
}
.ttc::after {
  bottom: -200px; right: -140px;
  background: rgba(95, 144, 112, 0.35);
  animation: blobB 22s ease-in-out infinite alternate;
}
@keyframes blobA { to { transform: translate(180px, 120px); } }
@keyframes blobB { to { transform: translate(-200px, -100px); } }

.ttc :focus-visible { outline-color: var(--gold-400); }
.ttc .eyebrow { color: var(--gold-400); }
.ttc .section-head { max-width: 46rem; }
.ttc .section-title {
  color: #fff;
  text-shadow: 0 0 28px rgba(220, 197, 132, 0.25);
}

.ttc-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.ttc-badges li {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #f1e6c6;
  border: 1px solid rgba(220, 197, 132, 0.4);
  border-radius: 4px;
  background: rgba(220, 197, 132, 0.08);
}
.ttc-badges .ttc-badge-next { font-weight: 600; color: var(--forest-900); background: linear-gradient(160deg, #ecd9a2, var(--gold-500)); border-color: transparent; }

/* Three equal cards; main.js matches the title/tag/description heights across them */
.ttc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 2vw, 26px);
  max-width: 1200px;
  margin-inline: auto;
}

/* Course card with a slowly travelling gold edge-light */
@property --edge {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.course {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 4px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(160deg, rgba(36, 74, 57, 0.96), rgba(16, 36, 28, 0.98)) padding-box,
    conic-gradient(from var(--edge), rgba(220, 197, 132, 0.15) 0deg, rgba(220, 197, 132, 0.15) 250deg, var(--gold-400) 300deg, rgba(220, 197, 132, 0.15) 350deg) border-box;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  animation: edgeSpin 7s linear infinite;
}
.course.fade-up {
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), box-shadow 300ms;
}
.course:nth-child(2) { animation-delay: -2.3s; }
.course:nth-child(3) { animation-delay: -4.6s; }
@keyframes edgeSpin { to { --edge: 360deg; } }
.course:hover {
  box-shadow: 0 0 40px -6px rgba(220, 197, 132, 0.35), 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.course-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.course-num {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  color: var(--forest-900);
  background: linear-gradient(160deg, #ecd9a2, var(--gold-500));
  box-shadow: 0 0 0 5px rgba(220, 197, 132, 0.15), 0 0 22px rgba(220, 197, 132, 0.55);
}
.course-tag {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.course-title {
  margin: 4px 0 0;
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 0 20px rgba(220, 197, 132, 0.2);
}
.course-title strong { font-weight: 600; color: #f6e7bd; }

.course-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start; /* chips stay chip-sized when the row is made taller */
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.course-meta li {
  padding: 5px 10px;
  font-size: 12px;
  white-space: nowrap;
  font-weight: 500;
  color: #d8e6dc;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.course-desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #c9d8ce;
}

/* "What's included" collapsible */
.course-more {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(220, 197, 132, 0.22);
  interpolate-size: allow-keywords;
  transition: border-color 300ms, background-color 300ms;
}
.course-more[open] {
  border-color: rgba(220, 197, 132, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.course-more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 10px 16px 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  cursor: pointer;
  list-style: none;
}
.course-more > summary::-webkit-details-marker,
.benefit > summary::-webkit-details-marker { display: none; }

/* Gold plus/minus used by both levels */
.acc-plus {
  position: relative;
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(220, 197, 132, 0.55);
}
.acc-plus::before,
.acc-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.5px;
  background: var(--gold-400);
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease-out);
}
.acc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary .acc-plus::after { transform: translate(-50%, -50%) rotate(0deg); }

.course-more::details-content,
.benefit::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 380ms var(--ease-out), content-visibility 380ms allow-discrete;
}
.course-more[open]::details-content,
.benefit[open]::details-content { block-size: auto; }

.course-more-body { padding: 4px 18px 18px; }
.course-sub {
  margin: 10px 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(220, 197, 132, 0.85);
}
.course-list {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.course-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: #e3ece6;
}
.course-list li + li { margin-top: 6px; }
.course-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 9px; height: 5px;
  border-left: 1.8px solid var(--gold-400);
  border-bottom: 1.8px solid var(--gold-400);
  transform: rotate(-45deg);
}

/* Benefits: small nested collapsibles */
.benefits { display: grid; gap: 8px; }
.benefit {
  border-radius: 4px;
  background: rgba(10, 24, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  interpolate-size: allow-keywords;
  transition: border-color 300ms;
}
.benefit[open] { border-color: rgba(220, 197, 132, 0.4); }
.benefit > summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px 8px 14px;
  cursor: pointer;
  list-style: none;
}
.benefit-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}
.benefit-title {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
}
.benefit .acc-plus { width: 24px; height: 24px; }
.benefit .acc-plus::before,
.benefit .acc-plus::after { width: 9px; }
.benefit p {
  margin: 0;
  padding: 0 16px 14px 44px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #c9d8ce;
}

/* Gold "Know more" button with a glow */
.btn-gold-glow {
  align-self: flex-start;
  margin-top: 6px;
  border-radius: 4px;
  background: linear-gradient(160deg, #ecd9a2, var(--gold-500));
  color: var(--forest-900);
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(220, 197, 132, 0.5), 0 10px 24px -10px rgba(220, 197, 132, 0.6);
}
.btn-gold-glow svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn-gold-glow:hover {
  box-shadow: 0 0 0 6px rgba(220, 197, 132, 0.18), 0 0 30px rgba(220, 197, 132, 0.55);
}
.btn-gold-glow:hover svg { transform: translateX(4px); }

/* ---------- Find your path ---------- */
.ttc-quiz-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  color: #c9d8ce;
  border-bottom: 1px dashed rgba(220, 197, 132, 0.5);
}
.ttc-quiz-link strong { color: var(--gold-400); font-weight: 600; }
.ttc-quiz-link:hover { border-bottom-color: var(--gold-400); }

.path {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(72px, 10vw, 120px);
  background: linear-gradient(180deg, #f3f7f2 0%, #faf7ef 100%);
}
/* Slowly drifting blurred lights */
.path-orb {
  position: absolute;
  z-index: -1;
  width: 420px; height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.path-orb--a { top: -120px; left: -100px; background: #bfe3cc; animation: orbA 16s ease-in-out infinite alternate; }
.path-orb--b { top: 30%; right: -140px; background: #d6d0f5; animation: orbB 19s ease-in-out infinite alternate; }
.path-orb--c { bottom: -160px; left: 30%; background: #f3e2b4; animation: orbA 22s ease-in-out infinite alternate-reverse; }
@keyframes orbA { to { transform: translate(120px, 80px) scale(1.1); } }
@keyframes orbB { to { transform: translate(-140px, 60px) scale(0.9); } }

.path-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 1160px;
  margin-inline: auto;
}
.path-card {
  --tone: #3f7a58;
  --tone-soft: #dcefe3;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -28px rgba(20, 42, 34, 0.45);
  transition: transform 400ms var(--ease-out), box-shadow 400ms, border-color 400ms;
}
.path-card.fade-up { /* keep the hover lift quick even though the card also fades in */
  transition: opacity 800ms var(--ease-out), transform 400ms var(--ease-out), box-shadow 400ms, border-color 400ms;
}
.path-card--b { --tone: #5c5496; --tone-soft: #e6e2f7; }
.path-card--c { --tone: #8a6a1f; --tone-soft: #f4e9cc; }
.path-card::before { /* coloured glow along the top edge */
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: -1px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--tone), transparent);
}
.path-card.fade-up.is-visible:hover,
.path-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--tone) 40%, transparent);
  box-shadow: 0 30px 50px -26px color-mix(in srgb, var(--tone) 60%, transparent);
}
.path-icon {
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  margin-bottom: 18px;
  border-radius: 4px;
  background: var(--tone-soft);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--tone) 70%, transparent);
  animation: floaty 4.5s ease-in-out infinite;
}
.path-card--b .path-icon { animation-delay: -1.5s; }
.path-card--c .path-icon { animation-delay: -3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-4deg); }
}
.path-icon svg {
  width: 32px; height: 32px;
  fill: none;
  stroke: var(--tone);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.path-persona {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tone);
}
.path-course { margin: 6px 0 10px; font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--green-800); }
.path-desc { flex: 1; margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: #4d6457; }
.path-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.path-traits li {
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tone);
  background: var(--tone-soft);
  border-radius: 4px;
}
.path-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tone);
}
.path-link span { transition: transform var(--dur-fast) var(--ease-out); }
.path-link:hover span { transform: translateX(5px); }

/* "Still deciding?" panel */
.path-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 4px;
  color: #fff;
  border: 1.5px solid transparent;
  background:
    radial-gradient(circle at 0% 0%, rgba(220, 197, 132, 0.25), transparent 50%) padding-box,
    linear-gradient(160deg, #1d4433, #0c1d16) padding-box,
    conic-gradient(from var(--edge), rgba(220, 197, 132, 0.15) 0deg, rgba(220, 197, 132, 0.15) 250deg, var(--gold-400) 300deg, rgba(220, 197, 132, 0.15) 350deg) border-box;
  box-shadow: 0 30px 60px -30px rgba(20, 42, 34, 0.7);
  animation: edgeSpin 6s linear infinite;
}
.path-cta h3 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; }
.path-cta p { margin: 0; max-width: 38rem; font-size: 15.5px; line-height: 1.7; color: #c9d8ce; }
.path-cta-action { display: grid; justify-items: center; gap: 8px; flex: none; }
.path-time { font-size: 12.5px; color: #b9c9bf; }
.path-start {
  position: relative;
  min-height: 56px;
  padding: 14px 32px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}
.path-start::after { /* pulsing ring that invites a click */
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid var(--gold-400);
  animation: pulseRing 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { transform: scale(0.96); opacity: 0.9; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* ---------- Quiz dialog ---------- */
.quiz {
  width: min(640px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(220, 197, 132, 0.25), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(95, 144, 112, 0.35), transparent 50%),
    linear-gradient(160deg, #1d4433, #0c1d16);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  overflow: auto;
}
.quiz::backdrop {
  background: rgba(8, 20, 15, 0.6);
  backdrop-filter: blur(6px);
}
.quiz[open] { animation: quizIn 450ms var(--ease-out); }
@keyframes quizIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
}
.quiz :focus-visible { outline-color: var(--gold-400); }
.quiz-shell { position: relative; padding: clamp(26px, 5vw, 40px); }
.quiz-close {
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}
.quiz-close svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.quiz-close:hover { background: rgba(255, 255, 255, 0.16); }

.quiz-progress { display: grid; gap: 10px; margin: 6px 56px 24px 0; }
.quiz-step { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-400); }
.quiz-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.quiz-bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6ee7b7, #b3a6ff, #f6c96e);
  box-shadow: 0 0 14px rgba(246, 201, 110, 0.7);
  transition: width 500ms var(--ease-out);
}

.quiz-body.is-leaving { animation: qOut 220ms ease-in forwards; }
.quiz-body.is-entering { animation: qIn 380ms var(--ease-out); }
@keyframes qOut { to { opacity: 0; transform: translateX(-24px); } }
@keyframes qIn { from { opacity: 0; transform: translateX(28px); } }

.quiz-question {
  margin: 0 0 20px;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  outline: none;
}
.quiz-options { display: grid; gap: 10px; }
.quiz-option {
  --d: 0ms;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 12px 16px;
  font: inherit;
  font-size: 15.5px;
  line-height: 1.45;
  text-align: left;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  animation: optIn 420ms var(--ease-out) forwards;
  animation-delay: var(--d);
  transition: background-color 200ms, border-color 200ms, transform 200ms var(--ease-out), box-shadow 200ms;
}
@keyframes optIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.quiz-option:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(220, 197, 132, 0.55);
  transform: translateX(4px);
}
.quiz-tick {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(220, 197, 132, 0.6);
  transition: background-color 250ms, border-color 250ms, transform 300ms var(--ease-out);
}
.quiz-tick svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: var(--forest-900);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 350ms var(--ease-out) 80ms;
}
.quiz-option[aria-pressed="true"] {
  background: rgba(220, 197, 132, 0.16);
  border-color: var(--gold-400);
  box-shadow: 0 0 24px -6px rgba(220, 197, 132, 0.6);
  animation: optPop 380ms var(--ease-out) forwards;
}
@keyframes optPop {
  0% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.quiz-option[aria-pressed="true"] .quiz-tick {
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: rotate(-8deg) scale(1.08);
}
.quiz-option[aria-pressed="true"] .quiz-tick svg { stroke-dashoffset: 0; }

.quiz-back {
  min-height: 44px;
  margin-top: 16px;
  padding: 0 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #c9d8ce;
  background: none;
  border: 0;
  cursor: pointer;
}
.quiz-back:hover { color: #fff; }
.quiz-back[hidden] { display: none; }

/* Result */
.quiz-result { position: relative; text-align: center; animation: qIn 500ms var(--ease-out); }
.quiz-result .eyebrow { color: var(--gold-400); margin-top: 8px; }
.quiz-result-icon {
  display: grid;
  place-items: center;
  width: 92px; height: 92px;
  margin: 8px auto 16px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ecd9a2, var(--gold-500));
  box-shadow: 0 0 0 8px rgba(220, 197, 132, 0.15), 0 0 40px rgba(220, 197, 132, 0.6);
  animation: resultPop 700ms var(--ease-out);
}
@keyframes resultPop {
  0% { transform: scale(0.3) rotate(-30deg); opacity: 0; }
  60% { transform: scale(1.1) rotate(6deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
.quiz-result-icon svg { width: 42px; height: 42px; fill: none; stroke: var(--forest-900); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.quiz-result-title { margin: 0; font-size: clamp(24px, 3.2vw, 32px); font-weight: 600; outline: none; }
.quiz-result-course { margin: 4px 0 12px; font-size: 16px; font-weight: 600; color: #f6e7bd; }
.quiz-result-desc { max-width: 30rem; margin: 0 auto 22px; font-size: 15px; line-height: 1.7; color: #c9d8ce; }
.quiz-match {
  display: grid;
  gap: 12px;
  margin: 0 auto 24px;
  padding: 18px 20px;
  max-width: 30rem;
  list-style: none;
  text-align: left;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.quiz-match li { display: grid; gap: 6px; font-size: 14px; }
.quiz-match .m-row { display: flex; justify-content: space-between; gap: 12px; }
.quiz-match .m-pct { font-weight: 600; color: #f6e7bd; font-variant-numeric: tabular-nums; }
.quiz-match .m-bar { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.quiz-match .m-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-500), var(--gold-400));
  transition: width 900ms var(--ease-out);
}
.quiz-match li.is-top .m-fill { box-shadow: 0 0 12px rgba(246, 201, 110, 0.8); }
.quiz-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.quiz-retake { margin-top: 12px; }

/* Celebration petals */
.quiz-petals { position: absolute; inset: -40px 0 0; pointer-events: none; overflow: hidden; }
.quiz-petals i {
  position: absolute;
  top: -20px;
  width: 10px; height: 14px;
  border-radius: 4px 0 4px 0;
  background: var(--c, var(--gold-400));
  opacity: 0;
  animation: petal 2.6s ease-in forwards;
}
@keyframes petal {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x, 30px), 420px) rotate(var(--r, 360deg)); }
}

/* ---------- Testimonials ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.testimonials {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 120px);
  background:
    radial-gradient(ellipse 45% 55% at 100% 0%, rgba(95, 144, 112, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(207, 180, 106, 0.16), transparent 70%),
    #f8f5ee;
}

/* One-row slider: reuses the pillar carousel, with equal-height cards */
.testimonials .carousel-track { align-items: stretch; }

/* Arrows + dots for light backgrounds */
.carousel--light .carousel-btn {
  border-color: #cddccf;
  background: #fff;
}
.carousel--light .carousel-btn svg { stroke: var(--green-700); }
.carousel--light .carousel-btn:hover:not(:disabled) {
  background: var(--green-700);
  border-color: var(--green-700);
  box-shadow: 0 8px 20px -8px rgba(31, 61, 47, 0.5);
}
.carousel--light .carousel-btn:hover:not(:disabled) svg { stroke: #fff; }
.carousel--light .carousel-dot::before { background: #c6d6ca; }
.carousel--light .carousel-dot[aria-current="true"]::before {
  background: var(--green-700);
  box-shadow: none;
}
.tcard figure {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  margin: 0;
  padding: 24px 24px 20px;
  background: #fff;
  border: 1px solid #ece4d0;
  border-radius: 4px;
  box-shadow: 0 14px 30px -22px rgba(20, 42, 34, 0.35);
  transition: transform 300ms var(--ease-out), box-shadow 300ms, border-color 300ms;
}
/* Big faint quote mark */
.tcard figure::before {
  content: "\201D";
  position: absolute;
  bottom: 40px;
  right: 18px;
  font-size: 110px;
  font-weight: 600;
  line-height: 1;
  color: rgba(207, 180, 106, 0.18);
  pointer-events: none;
}
.tcard:hover figure {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(220, 197, 132, 0.15), 0 22px 40px -24px rgba(20, 42, 34, 0.45);
}

.t-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.t-stars {
  display: inline-flex;
  gap: 3px;
}
.t-stars svg {
  width: 18px; height: 18px;
  fill: #e0b23e;
  filter: drop-shadow(0 0 4px rgba(224, 178, 62, 0.55));
}
.t-date {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--green-700);
  background: #e8f0ea;
  border-radius: 4px;
}
.tcard blockquote {
  flex: 1;
  margin: 0;
}
.tcard blockquote p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #34483d;
}
.tcard figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0ead9;
}
/* Photo inside a gold-to-green ring (use <img> in place of the <svg> for real photos) */
.t-photo {
  flex: none;
  display: grid;
  width: 54px; height: 54px;
  padding: 2.5px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--gold-400), var(--green-500), var(--gold-400));
  box-shadow: 0 0 14px rgba(220, 197, 132, 0.45);
}
.t-photo > svg,
.t-photo > img {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  background: #e8f0ea;
}
.t-photo > svg { fill: #9db8a6; }
/* Reviewer initial in the same gold-green ring (no photo) */
.t-photo.t-initial {
  place-items: center;
  padding: 0;
  border: 2.5px solid transparent;
  background: linear-gradient(#eef4ef, #eef4ef) padding-box, conic-gradient(from 200deg, var(--gold-400), var(--green-500), var(--gold-400)) border-box;
  font-family: 'Gilda Display', Georgia, serif;
  font-size: 22px;
  color: var(--green-700);
}
/* Google rating badge under the reviews heading */
.g-rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 18px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ece4cf;
  box-shadow: 0 6px 18px -10px rgba(31, 61, 47, 0.35);
  color: var(--green-800);
  text-decoration: none;
  font-size: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.g-rating:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(31, 61, 47, 0.45); }
.g-rating-score { font-size: 20px; font-weight: 600; }
.g-rating .t-stars svg { width: 16px; height: 16px; }
.g-rating-count { font-weight: 500; color: var(--green-700); }
.t-who { display: grid; gap: 2px; }
.t-name { font-size: 15px; font-weight: 600; color: var(--green-800); }
.t-course { font-size: 13px; color: #546a5d; }

/* Visible reminder on placeholder cards; remove the class once a real review is in */
.tcard.is-sample figure::after {
  content: "Sample review";
  position: absolute;
  top: -9px;
  left: 22px;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a2812f;
  background: #fffaf0;
  border: 1px dashed rgba(162, 129, 47, 0.6);
  border-radius: 4px;
}

/* ---------- FAQ ---------- */
.faq {
  position: relative;
  padding-block: clamp(72px, 10vw, 120px);
  background:
    radial-gradient(ellipse 40% 50% at 100% 20%, rgba(220, 197, 132, 0.14), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--mist-50) 100%);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(36px, 5vw, 72px);
  max-width: 1200px;
}

/* Left panel stays in view while the questions scroll */
.faq-side {
  position: sticky;
  top: calc(var(--header-h) + 8px);
}
.faq-title { text-align: left; }
.faq-intro {
  margin: 14px 0 26px;
  font-size: 16px;
  line-height: 1.7;
  color: #4d6457;
}

.faq-search {
  position: relative;
  display: block;
}
.faq-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--green-600);
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}
.faq-search input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 46px;
  font: inherit;
  font-size: 16px; /* 16px avoids zoom-on-focus on iPhone */
  color: var(--green-800);
  background: #fff;
  border: 1px solid #d6e2d9;
  border-radius: 4px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.faq-search input::placeholder { color: #8a9c91; }
.faq-search input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(74, 124, 90, 0.15);
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.faq-chip {
  min-height: 44px;
  padding: 6px 16px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--green-700);
  background: #fff;
  border: 1px solid #d6e2d9;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.faq-chip:hover { border-color: var(--green-600); }
.faq-chip[aria-pressed="true"] {
  color: #fff;
  background: var(--green-700);
  border-color: var(--green-700);
  box-shadow: 0 6px 16px -8px rgba(31, 61, 47, 0.6);
}

/* Help card with a soft glow */
.faq-help {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 26px 24px 24px;
  border-radius: 4px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(220, 197, 132, 0.3), transparent 55%),
    linear-gradient(160deg, #1d4433, #0f241c);
  box-shadow: 0 24px 48px -26px rgba(20, 42, 34, 0.6);
}
.faq-help-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(220, 197, 132, 0.15);
  border: 1px solid rgba(220, 197, 132, 0.5);
  box-shadow: 0 0 18px rgba(220, 197, 132, 0.35);
}
.faq-help-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.faq-help-title { margin: 0; font-size: 18px; font-weight: 600; }
.faq-help-text { margin: 6px 0 16px; font-size: 14.5px; line-height: 1.6; color: #c9d8ce; }
.faq-help .btn { margin-top: 0; }

/* Accordion */
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #dfe8e1;
  border-radius: 4px;
  interpolate-size: allow-keywords;
  transition: background-color 300ms, border-color 300ms, box-shadow 300ms;
}
/* Gold-to-green accent bar on the open question */
.faq-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-400), var(--green-600));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 400ms var(--ease-out);
}
.faq-item:hover { border-color: #c6d8cb; background: #fff; }
.faq-item[open] {
  background: #fff;
  border-color: #c6d8cb;
  box-shadow: 0 18px 36px -24px rgba(31, 61, 47, 0.45);
}
.faq-item[open]::before { transform: scaleY(1); }

.faq-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 14px 18px 14px 20px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-num {
  width: 22px; /* fixed so every question starts at the same line */
  font-size: 13px;
  font-weight: 600;
  color: #8a6a1f; /* deep gold: readable on white */
  font-variant-numeric: tabular-nums;
}
.faq-q {
  font-size: clamp(15.5px, 1.3vw, 17px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--green-800);
}

.faq-plus {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #eef4ef;
  transition: background-color 300ms, transform 400ms var(--ease-out);
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.8px;
  border-radius: 2px;
  background: var(--green-700);
  transform: translate(-50%, -50%);
  transition: background-color 300ms;
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus {
  background: var(--green-700);
  transform: rotate(135deg); /* plus turns into a cross */
}
.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after { background: #fff; }

.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 380ms var(--ease-out), content-visibility 380ms allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }

.faq-a { padding: 0 24px 22px 56px; }
.faq-a p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: #3a4f44;
}

.faq-empty {
  margin: 8px 0 0;
  padding: 22px;
  text-align: center;
  font-size: 15px;
  color: #4d6457;
  background: #fff;
  border: 1px dashed #c6d8cb;
  border-radius: 4px;
}

/* =========================================================
   Course detail pages (courses/*.html)
   ========================================================= */
/* Over a dark hero the glass header must be near-solid to keep the menu readable */
.subpage .header-inner { background: rgba(241, 245, 241, 0.95); }

/* Hero */
.cp-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(40px, 7vh, 80px)) 0 clamp(56px, 8vh, 88px);
  color: #fff;
}
.cp-hero .hero-bg { animation: none; transform: none; }
.cp-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 29, 22, 0.92) 0%, rgba(12, 29, 22, 0.75) 45%, rgba(12, 29, 22, 0.35) 100%),
    linear-gradient(180deg, rgba(12, 29, 22, 0.3), rgba(12, 29, 22, 0.85));
}
.cp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: end;
  gap: clamp(28px, 4vw, 56px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: #c9d8ce;
}
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, 0.4); }
.crumbs a { color: #e9f1ec; }
.crumbs a:hover { color: var(--gold-400); }
.cp-hero .eyebrow { color: var(--gold-400); }
.cp-title {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.cp-title strong { font-weight: 600; color: #f6e7bd; }
.cp-lead {
  max-width: 40rem;
  margin: 18px 0 0;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: #d6e3da;
}
.cp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.cp-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
.cp-facts svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-ghost-light {
  border-radius: 4px;
  background: transparent; /* also when used on a <button> */
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* Price teaser card in the hero */
.cp-price-card {
  padding: 26px 24px;
  border-radius: 4px;
  background: rgba(16, 36, 28, 0.6);
  border: 1px solid rgba(220, 197, 132, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 40px -10px rgba(220, 197, 132, 0.35);
}
.cp-price-label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.cp-price-from {
  margin: 6px 0 14px;
  font-size: 15px;
  color: #c9d8ce;
}
.cp-price-from strong {
  display: block;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}
.cp-price-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: #d6e3da;
}
.cp-price-list li { display: flex; justify-content: space-between; gap: 12px; }
.cp-price-list b { color: #fff; font-weight: 600; }
.cp-price-card .btn { width: 100%; }

/* Floating section menu, docked to the bottom of the screen */
.cp-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  width: min(1100px, calc(100% - 24px));
  transform: translate(-50%, 160%);
  transition: transform 450ms var(--ease-out);
}
.cp-dock.is-shown { transform: translate(-50%, 0); }
.cp-dock-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dfe8e1;
  border-radius: 4px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(20, 42, 34, 0.5);
}
.cp-dock-links {
  flex: 1;
  display: flex;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.cp-dock-links::-webkit-scrollbar { display: none; }
.cp-dock-links a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sage-500);
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.cp-dock-links a:hover { color: var(--green-800); background: var(--mist-50); }
.cp-dock-links a[aria-current="true"] {
  color: #fff;
  background: var(--green-700);
}
.cp-dock-book {
  flex: none;
  gap: 0;
  white-space: pre;
  min-height: 44px;
  margin: 0;
  padding: 10px 20px;
}
.course-detail { padding-bottom: 96px; } /* the last content is never hidden behind the dock */

/* Section scaffolding */
.cp-section { padding-block: clamp(64px, 8vw, 104px); }
.cp-section--tint { background: var(--mist-50); }
.cp-section--cream { background: #f8f5ee; }
.cp-head { max-width: 44rem; margin: 0 0 clamp(28px, 4vw, 44px); }
.cp-head.center { margin-inline: auto; text-align: center; }
.cp-head .section-title { text-align: inherit; }
.cp-head p:not(.eyebrow) {
  margin: 14px 0 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: #4d6457;
}
.course-detail .container { max-width: 1160px; }

/* Overview */
.cp-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.cp-prose p {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.8;
  color: #34483d;
}
.cp-glance {
  padding: 26px 24px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #dfe8e1;
  box-shadow: 0 18px 36px -26px rgba(20, 42, 34, 0.4);
}
.cp-glance h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a6a1f;
}
.cp-glance dl { display: grid; gap: 0; margin: 0; }
.cp-glance div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid #eef2ef;
}
.cp-glance div:first-child { border-top: 0; }
.cp-glance dt { font-size: 14.5px; color: #5b6f63; }
.cp-glance dd { margin: 0; font-size: 14.5px; font-weight: 600; text-align: right; color: var(--green-800); }

/* Highlights */
.cp-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(32px, 5vw, 56px);
}
.cp-hl {
  padding: 22px 20px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #dfe8e1;
  transition: transform 300ms var(--ease-out), box-shadow 300ms;
}
.cp-hl:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(20, 42, 34, 0.45); }

/* ---------- Policy pages ---------- */
.legal {
  max-width: 760px;
  margin-inline: auto;
  color: #34483d;
  font-size: 16px;
  line-height: 1.75;
}
.legal-updated { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #7b8f82; }
.legal h2 { margin: 36px 0 10px; font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; color: var(--green-800); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--green-700); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.legal-table { margin: 18px 0 8px; border: 1px solid #dfe8e1; border-radius: 4px; overflow: hidden; background: #fff; }
.legal-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 20px; border-top: 1px solid #edf2ee; }
.legal-row:first-child { border-top: 0; }
.legal-row--head { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #7b8f82; background: #f4f8f5; }
.legal-row b { color: var(--green-800); white-space: nowrap; }

/* ---------- Upcoming course dates: compact ticket rows ---------- */
.cp-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.cp-date {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 16px 14px 14px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #dfe8e1;
  transition: transform 250ms var(--ease-out), box-shadow 250ms, border-color 250ms;
}
.cp-date:hover { transform: translateY(-2px); border-color: #c9d8cd; box-shadow: 0 16px 30px -22px rgba(20, 42, 34, 0.45); }
/* calendar tile */
.cp-date-cal {
  display: grid;
  justify-items: center;
  width: 70px;
  padding: 0 0 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #f4f8f5;
  border: 1px solid #dfe8e1;
  line-height: 1;
}
.cp-date-mon {
  justify-self: stretch;
  padding: 5px 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-700);
}
.cp-date-cal b { margin-top: 6px; font-family: 'Gilda Display', Georgia, serif; font-size: 30px; font-weight: 400; color: var(--green-800); }
.cp-date-yr { margin-top: 3px; font-size: 11px; font-weight: 500; color: #7b8f82; }
/* text */
.cp-date-info { display: grid; gap: 3px; min-width: 0; }
.cp-date-range { font-size: 15.5px; font-weight: 600; color: var(--green-800); }
.cp-date-meta { font-size: 13px; color: #6a7e72; }
.cp-date-flag {
  justify-self: start;
  margin-bottom: 2px;
  padding: 2px 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a5c17;
  background: #f6ecd0;
  border-radius: 4px;
}
/* reserve button: quiet outline pill */
.cp-date-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--green-700);
  border: 1.5px solid var(--green-700);
  border-radius: 4px;
  transition: background-color 200ms, color 200ms;
}
.cp-date-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms; }
.cp-date-cta:hover { color: #fff; background: var(--green-700); }
.cp-date-cta:hover svg { transform: translateX(3px); }
/* the next batch stands out in deep green */
.cp-date.is-next { background: linear-gradient(150deg, #24503c, #163226); border-color: transparent; }
.cp-date.is-next .cp-date-cal { background: rgba(255, 255, 255, 0.08); border-color: rgba(220, 197, 132, 0.35); }
.cp-date.is-next .cp-date-mon { color: var(--forest-900); background: linear-gradient(160deg, #ecd9a2, var(--gold-500)); }
.cp-date.is-next .cp-date-cal b { color: #f6e7bd; }
.cp-date.is-next .cp-date-yr, .cp-date.is-next .cp-date-meta { color: #b9c9be; }
.cp-date.is-next .cp-date-range { color: #fff; }
.cp-date.is-next .cp-date-flag { color: var(--forest-900); background: linear-gradient(160deg, #ecd9a2, var(--gold-500)); }
.cp-date.is-next .cp-date-cta { color: var(--forest-900); border-color: transparent; background: linear-gradient(160deg, #ecd9a2, var(--gold-500)); }
.cp-date.is-next .cp-date-cta:hover { filter: brightness(1.05); }
@media (max-width: 820px) { .cp-dates { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 420px) {
  .cp-date { grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; }
  .cp-date-cta { grid-column: 1 / -1; justify-content: center; }
}
/* two room options side by side */
.cp-rooms.cp-rooms--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } /* two rooms fill the row, level with the non-residential bar below */
@media (max-width: 700px) { .cp-rooms.cp-rooms--2 { grid-template-columns: 1fr; max-width: 520px; } }
.cp-hl-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 14px;
  border-radius: 4px;
  background: #e3eee6;
}
.cp-hl-icon svg, .cp-mod-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--green-700);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cp-hl h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--green-800); }
.cp-hl p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4d6457; }

/* Curriculum modules */
.cp-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cp-mod {
  position: relative;
  padding: 24px 22px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #dfe8e1;
  overflow: hidden;
  transition: border-color 300ms, box-shadow 300ms, transform 300ms var(--ease-out);
}
.cp-mod::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--green-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}
.cp-mod:hover { border-color: #c6d8cb; box-shadow: 0 18px 36px -24px rgba(20, 42, 34, 0.4); transform: translateY(-3px); }
.cp-mod:hover::after { transform: scaleX(1); }
.cp-mod-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cp-mod-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #e3eee6;
}
.cp-mod-num { font-size: 13px; font-weight: 600; color: #8a6a1f; }
.cp-mod h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--green-800); }
.cp-mod p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #4d6457; }

/* Daily schedule timeline */
.cp-schedule-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.cp-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cp-timeline::before {
  content: "";
  position: absolute;
  left: 113px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-400), var(--green-600) 60%, #1d4433);
  opacity: 0.4;
}
.cp-slot {
  --dot: var(--green-600);
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 34px;
  align-items: center;
  padding: 6px 0;
}
.cp-slot-time {
  font-size: 13.5px;
  font-weight: 600;
  text-align: right;
  color: #5b6f63;
  font-variant-numeric: tabular-nums;
}
.cp-slot-card {
  position: relative;
  padding: 12px 16px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  font-size: 15px;
  font-weight: 500;
  color: var(--green-800);
  transition: transform 250ms var(--ease-out), box-shadow 250ms;
}
.cp-slot-card::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--dot);
  box-shadow: 0 0 0 4px #fff, 0 0 12px var(--dot);
}
.cp-slot:hover .cp-slot-card { transform: translateX(4px); box-shadow: 0 10px 24px -18px rgba(20, 42, 34, 0.5); }
.cp-slot-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 600;
  vertical-align: 2px;
  border-radius: 4px;
  color: var(--dot);
  background: color-mix(in srgb, var(--dot) 12%, transparent);
}
.cp-slot--chant    { --dot: #b4892c; }
.cp-slot--practice { --dot: #3f7a58; }
.cp-slot--study    { --dot: #3b6a82; }
.cp-slot--meal     { --dot: #b0603a; }
.cp-slot--rest     { --dot: #7d8b84; }
.cp-slot--meditate { --dot: #6a5aa8; }

.cp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: #4d6457;
}
.cp-legend li { display: inline-flex; align-items: center; gap: 7px; }
.cp-legend li::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--dot);
}
.cp-notes { display: grid; gap: 14px; position: sticky; top: 180px; }
.cp-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
}
.cp-note-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 4px;
  background: #f6eedb;
}
.cp-note-icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: #8a6a1f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cp-note h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--green-800); }
.cp-note p { margin: 0; font-size: 14px; line-height: 1.6; color: #4d6457; }

/* 26-day journey */
.cp-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cp-journey::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 31px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--green-600));
  opacity: 0.5;
}
.cp-step { position: relative; text-align: center; }
.cp-step-day {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--forest-900);
  background: linear-gradient(160deg, #ecd9a2, var(--gold-500));
  box-shadow: 0 0 0 6px #f8f5ee, 0 0 24px rgba(220, 197, 132, 0.6);
}
.cp-step-card {
  padding: 20px 18px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ece4d0;
  text-align: left;
}
.cp-step-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--green-800); }
.cp-step-card ul { margin: 0; padding: 0; list-style: none; }
.cp-step-card li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #4d6457;
}
.cp-step-card li + li { margin-top: 4px; }
.cp-step-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* Fees & rooms */
.cp-fees {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(165deg, #173a2c 0%, #10271e 55%, #0c1d16 100%);
}
.cp-fees::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(220, 197, 132, 0.18);
  filter: blur(90px);
}
.cp-fees :focus-visible { outline-color: var(--gold-400); }
.cp-fees .eyebrow { color: var(--gold-400); }
.cp-fees .section-title { color: #fff; }
.cp-fees .cp-head p:not(.eyebrow) { color: #c9d8ce; }

.cp-toggle {
  display: inline-flex;
  padding: 5px;
  margin: 0 0 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.cp-toggle button {
  min-height: 44px;
  padding: 0 22px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: #d6e3da;
  background: none;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 250ms, color 250ms, box-shadow 250ms;
}
.cp-toggle button[aria-pressed="true"] {
  color: var(--forest-900);
  background: linear-gradient(160deg, #ecd9a2, var(--gold-500));
  box-shadow: 0 0 18px rgba(220, 197, 132, 0.45);
}

.cp-rooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cp-room {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(36, 74, 57, 0.95), rgba(16, 36, 28, 0.98));
  border: 1px solid rgba(220, 197, 132, 0.25);
  transition: border-color 300ms, box-shadow 300ms, transform 300ms var(--ease-out);
}
.cp-room:hover {
  border-color: rgba(220, 197, 132, 0.6);
  box-shadow: 0 0 36px -8px rgba(220, 197, 132, 0.35);
  transform: translateY(-4px);
}
.cp-room--premium { border-color: rgba(220, 197, 132, 0.55); }
.cp-room-tier {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.cp-room h3 { margin: 6px 0 18px; font-size: 24px; font-weight: 600; }
.cp-room-price {
  min-height: 92px;
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.cp-amount {
  display: block;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 24px rgba(220, 197, 132, 0.35);
}
.cp-amount small { font-size: 18px; font-weight: 500; color: #f6e7bd; vertical-align: 18px; margin-right: 2px; }
.cp-per {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: #c9d8ce;
}
.cp-unavailable {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #c9d8ce;
}
.cp-room ul {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.cp-room li, .cp-incl li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #e3ece6;
}
.cp-room li::before, .cp-incl li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.45em;
  width: 9px; height: 5px;
  border-left: 1.8px solid var(--gold-400);
  border-bottom: 1.8px solid var(--gold-400);
  transform: rotate(-45deg);
}
.cp-room .btn { width: 100%; }
.cp-room .btn.is-disabled { opacity: 0.35; pointer-events: none; box-shadow: none; }

/* Non-residential option */
.cp-nonres {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 24px 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(220, 197, 132, 0.45);
}
.cp-nonres .cp-amount { font-size: 38px; }
.cp-nonres h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.cp-nonres p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #c9d8ce; }

.cp-incl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.cp-incl {
  padding: 22px 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cp-incl h3 { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: #fff; }
.cp-incl ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cp-incl--no li::before {
  width: 10px; height: 1.8px;
  top: 0.75em;
  border: 0;
  background: #e8a08c;
  transform: none;
}
.cp-fees-note {
  margin: 22px 0 0;
  font-size: 13.5px;
  color: #b9c9bf;
}

/* Certification */
.cp-cert {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.cp-cert-badge {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: min(320px, 100%);
  margin-inline: auto;
  border-radius: 50%;
  text-align: center;
  container-type: inline-size;
  color: #fff;
  background:
    radial-gradient(circle at 30% 20%, rgba(220, 197, 132, 0.35), transparent 55%),
    linear-gradient(160deg, #1d4433, #0f241c);
  box-shadow: 0 30px 60px -30px rgba(20, 42, 34, 0.7), 0 0 0 10px #fff, 0 0 0 11px #e6dfcc;
}
.cp-cert-badge::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1.5px dashed rgba(220, 197, 132, 0.6);
  animation: spin 40s linear infinite;
}
.cp-cert-badge > div { display: grid; justify-items: center; }
.cp-cert-badge strong { display: block; font-family: 'Gilda Display', Georgia, serif; font-size: 30cqi; font-weight: 400; line-height: 0.9; letter-spacing: 0.01em; color: #f6e7bd; }
.cp-cert-badge span { display: block; margin-top: 4cqi; padding-top: 3.6cqi; font-size: 4.3cqi; font-weight: 600; letter-spacing: 0.22em; margin-right: -0.22em; /* cancels the trailing letter-space so the line is truly centred */ text-transform: uppercase; color: var(--gold-400); border-top: 1px solid rgba(220, 197, 132, 0.45); }
.cp-cert-steps { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: cert; }
.cp-cert-steps li {
  position: relative;
  padding: 16px 18px 16px 62px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  font-size: 15px;
  line-height: 1.6;
  color: #34483d;
  counter-increment: cert;
}
.cp-cert-steps li::before {
  content: counter(cert);
  position: absolute;
  left: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--green-700);
}
.cp-cert-steps strong { color: var(--green-800); }

/* Course FAQ reuses the homepage .faq-item styles */
.cp-faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }

/* Closing call to action */
.cp-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 64px);
  border-radius: 4px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(220, 197, 132, 0.3), transparent 50%),
    radial-gradient(circle at 85% 100%, rgba(95, 144, 112, 0.4), transparent 50%),
    linear-gradient(160deg, #1d4433, #0c1d16);
  box-shadow: 0 40px 80px -40px rgba(20, 42, 34, 0.8);
}
.cp-cta h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
.cp-cta p { max-width: 36rem; margin: 14px auto 26px; font-size: 16.5px; line-height: 1.7; color: #c9d8ce; }
.cp-cta .cp-actions { justify-content: center; }

@media (max-width: 1024px) {
  .cp-hero-grid,
  .cp-overview,
  .cp-schedule-wrap,
  .cp-cert { grid-template-columns: 1fr; }
  .cp-price-card { max-width: 460px; }
  .cp-notes { position: static; }
  .cp-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-rooms { grid-template-columns: 1fr; max-width: 520px; }
  .cp-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .cp-journey::before { display: none; }
}

@media (max-width: 640px) {
  .cp-highlights,
  .cp-modules,
  .cp-journey,
  .cp-incl-grid { grid-template-columns: 1fr; }
  .cp-nonres { grid-template-columns: 1fr; gap: 12px; }
  .cp-nonres .btn { width: 100%; }
  .cp-timeline::before { left: 81px; }
  .cp-slot { grid-template-columns: 66px 1fr; gap: 30px; }
  .cp-slot-time { font-size: 12.5px; }
  .cp-slot-card { font-size: 14.5px; }
  .cp-actions .btn { width: 100%; }
  .cp-toggle { display: flex; }
  .cp-toggle button { flex: 1; padding: 0 12px; }

  .cp-dock { bottom: 10px; width: calc(100% - 16px); }
  .cp-dock-inner { border-radius: 4px; padding: 5px; }
  .cp-dock-links a { padding: 0 12px; font-size: 13.5px; }
  .cp-dock-from { display: none; } /* just "Book" on small screens */
  .cp-dock-book { padding: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-cert-badge::before { animation: none; }
}

/* =========================================================
   Online yoga page (online-yoga.html)
   ========================================================= */
.ol-hero-list { margin-top: 10px; }

.cp-price-list a { color: inherit; text-decoration: underline; text-decoration-color: rgba(220, 197, 132, 0.4); text-underline-offset: 3px; }
.cp-price-list a:hover { color: var(--gold-400); }
.ol-hero-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 14px;
  border-radius: 4px;
  background: rgba(220, 197, 132, 0.15);
  border: 1px solid rgba(220, 197, 132, 0.45);
  box-shadow: 0 0 22px -4px rgba(220, 197, 132, 0.5);
  animation: floaty 5s ease-in-out infinite;
}
.ol-hero-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-400); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* "Dates & fees on request" card */
.ol-request {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  box-shadow: 0 18px 36px -28px rgba(20, 42, 34, 0.45);
}
.ol-request-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 4px;
  background: #f6eedb;
}
.ol-request-icon svg { width: 26px; height: 26px; fill: none; stroke: #8a6a1f; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ol-request h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: var(--green-800); }
.ol-request p { margin: 0; font-size: 15px; line-height: 1.6; color: #4d6457; }

/* "Other online programs" strip */
.ol-others {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.ol-other {
  --tone: #3f7a58;
  --tone-soft: #dcefe3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 16px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ece4d0;
  transition: transform 300ms var(--ease-out), border-color 300ms, box-shadow 300ms;
}
.ol-other.ol-card--b { --tone: #3b6a82; --tone-soft: #dbe9f1; }
.ol-other.ol-card--c { --tone: #8a6a1f; --tone-soft: #f4e9cc; }
.ol-other.ol-card--d { --tone: #5c5496; --tone-soft: #e6e2f7; }
.ol-other.ol-card--e { --tone: #924a5f; --tone-soft: #f4dde4; }
.ol-other:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tone) 45%, transparent);
  box-shadow: 0 16px 30px -22px color-mix(in srgb, var(--tone) 60%, transparent);
}
.ol-other-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 4px;
  background: var(--tone-soft);
}
.ol-other-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--tone); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ol-other-text { display: grid; gap: 2px; }
.ol-other-text strong { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--green-800); }
.ol-other-text span { font-size: 12.5px; color: #5b6f63; }
.ol-other-arrow { color: var(--tone); font-weight: 600; transition: transform var(--dur-fast) var(--ease-out); }
.ol-other:hover .ol-other-arrow { transform: translateX(4px); }
.ol-gita-panel { align-items: center; }
.ol-learn { margin-top: 0; }

/* Program cards: 3 + 2, centred */
.ol-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.ol-card {
  --tone: #3f7a58;
  --tone-soft: #dcefe3;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 1 calc((100% - 40px) / 3);
  padding: 28px 24px 22px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  box-shadow: 0 18px 36px -28px rgba(20, 42, 34, 0.45);
  overflow: hidden;
}
.ol-card.fade-up { transition: opacity 800ms var(--ease-out), transform 400ms var(--ease-out), box-shadow 400ms, border-color 400ms; }
.ol-card::after { /* soft glow that grows on hover */
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--tone-soft);
  opacity: 0.6;
  transition: transform 500ms var(--ease-out);
  pointer-events: none;
}
.ol-card:hover,
.ol-card.fade-up.is-visible:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tone) 40%, transparent);
  box-shadow: 0 26px 46px -26px color-mix(in srgb, var(--tone) 55%, transparent);
}
.ol-card:hover::after { transform: scale(1.6); }
.ol-card--b { --tone: #3b6a82; --tone-soft: #dbe9f1; }
.ol-card--c { --tone: #8a6a1f; --tone-soft: #f4e9cc; }
.ol-card--d { --tone: #5c5496; --tone-soft: #e6e2f7; }
.ol-card--e { --tone: #924a5f; --tone-soft: #f4dde4; }
.ol-card > * { position: relative; z-index: 1; }
.ol-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 16px;
  border-radius: 4px;
  background: var(--tone-soft);
  animation: floaty 5s ease-in-out infinite;
}
.ol-card--b .ol-icon { animation-delay: -1s; }
.ol-card--c .ol-icon { animation-delay: -2s; }
.ol-card--d .ol-icon { animation-delay: -3s; }
.ol-card--e .ol-icon { animation-delay: -4s; }
.ol-icon svg, .ol-panel-icon svg, .ol-step-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--tone, var(--green-700));
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ol-tag {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tone);
}
.ol-card h3 { margin: 6px 0 8px; font-size: 20px; font-weight: 600; color: var(--green-800); }
.ol-card > p:not(.ol-tag) { flex: 1; margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: #4d6457; }
.ol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.ol-chips li {
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tone);
  background: var(--tone-soft);
  border-radius: 4px;
}
.ol-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tone);
}
.ol-more span { transition: transform var(--dur-fast) var(--ease-out); }
.ol-more:hover span { transform: translateX(5px); }

/* Asana & pranayama panels */
.ol-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ol-panel {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
}
.ol-panel-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #e3eee6;
}
.ol-panel h3 { margin: 0 0 14px; font-size: 21px; font-weight: 600; color: var(--green-800); }
.ol-panel .btn { align-self: flex-start; margin-top: auto; }
.ol-list {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.ol-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.55;
  color: #34483d;
}
.ol-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.42em;
  width: 10px; height: 5px;
  border-left: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}
.ol-list--light li { color: #e3ece6; }
.ol-list--light li::before { border-color: var(--gold-400); }

/* Weekly timetable */
.ol-week {
  margin-top: 24px;
  padding: 26px 28px;
  border-radius: 4px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(220, 197, 132, 0.25), transparent 50%),
    linear-gradient(160deg, #1d4433, #0f241c);
}
.ol-week-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.ol-week h3 { margin: 0; font-size: 19px; font-weight: 600; }
.ol-tz { margin: 0; font-size: 13.5px; color: #c9d8ce; }
.ol-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ol-days li {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 14px 10px;
  text-align: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8fa397;
}
.ol-days li.is-on {
  color: #fff;
  background: rgba(220, 197, 132, 0.12);
  border-color: rgba(220, 197, 132, 0.5);
  box-shadow: 0 0 22px -8px rgba(220, 197, 132, 0.6);
}
.ol-day { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ol-days .ol-slot { font-size: 14px; font-weight: 600; }
.ol-local {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #f6e7bd;
}
.ol-week-note { margin: 16px 0 0; font-size: 13.5px; color: #c9d8ce; }

/* Philosophy */
.ol-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.ol-split--rev { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.ol-texts { display: grid; gap: 12px; margin-bottom: 26px; }
.ol-text {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  transition: transform 300ms var(--ease-out), border-color 300ms;
}
.ol-text:hover { transform: translateX(6px); border-color: var(--gold-400); }
.ol-text-num {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-weight: 600;
  color: var(--forest-900);
  background: linear-gradient(160deg, #ecd9a2, var(--gold-500));
}
.ol-text h3 { margin: 0 0 2px; font-size: 16px; font-weight: 600; color: var(--green-800); }
.ol-text p { margin: 0; font-size: 14px; line-height: 1.55; color: #4d6457; }
.ol-cta { margin-top: 4px; }

.ol-ring-card {
  padding: 30px 26px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  box-shadow: 0 24px 48px -30px rgba(20, 42, 34, 0.45);
}
.ol-ring { position: relative; width: 170px; margin: 0 auto 20px; }
.ol-ring svg { display: block; width: 100%; transform: rotate(-90deg); }
.ol-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ol-ring-track { stroke: #eef2ef; }
.ol-ring-fill {
  stroke: var(--green-600);
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1600ms var(--ease-out);
}
.ol-ring-card.is-visible .ol-ring-fill,
html:not(.js) .ol-ring-fill { stroke-dashoffset: 0; }
.ol-ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ol-ring-label strong { font-size: 44px; font-weight: 600; line-height: 1; color: var(--green-800); }
.ol-ring-label span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6a1f; }
.ol-facts { margin: 0; }
.ol-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #eef2ef; }
.ol-facts dt { font-size: 14px; color: #5b6f63; }
.ol-facts dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; color: var(--green-800); }
.ol-facts .ol-local { color: #8a6a1f; }

/* Gita for Life (dark) */
.ol-gita {
  color: #fff;
  background:
    radial-gradient(circle at 0% 50%, rgba(220, 197, 132, 0.18), transparent 50%),
    linear-gradient(165deg, #173a2c 0%, #0c1d16 100%);
}
.ol-gita .eyebrow { color: var(--gold-400); }
.ol-gita .section-title { color: #fff; }
.ol-gita .cp-head p:not(.eyebrow) { color: #c9d8ce; }
.ol-gita :focus-visible { outline-color: var(--gold-400); }
.ol-onrequest { margin: 0 0 18px; font-size: 14px; color: #f6e7bd; }

/* Four life areas orbiting the Gita */
.ol-orbit {
  position: relative;
  --orbit-w: min(340px, 80vw);
  width: var(--orbit-w);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  border: 1.5px dashed rgba(220, 197, 132, 0.45);
  animation: spin 40s linear infinite;
}
.ol-orbit-core {
  position: absolute;
  inset: 32%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #ecd9a2, var(--gold-500));
  box-shadow: 0 0 0 10px rgba(220, 197, 132, 0.12), 0 0 50px rgba(220, 197, 132, 0.55);
  animation: spin 40s linear infinite reverse; /* stays upright */
}
.ol-orbit-core svg { width: 44%; height: 44%; fill: none; stroke: var(--forest-900); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ol-orbit-item {
  position: absolute;
  top: 50%; left: 50%;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  background: rgba(16, 36, 28, 0.9);
  border: 1px solid rgba(220, 197, 132, 0.5);
  border-radius: 4px;
  box-shadow: 0 0 18px -6px rgba(220, 197, 132, 0.6);
  /* place on the ring, then counter-rotate so the label stays readable */
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--orbit-w) / -2)) rotate(calc(-1 * var(--a)));
}
/* phones: smaller ring so the circling labels never stick out of the screen */
@media (max-width: 480px) {
  .ol-orbit { --orbit-w: 64vw; }
  .ol-orbit-item { padding: 6px 11px; font-size: 12px; }
}
.ol-orbit-item { animation: none; }
.ol-orbit .ol-orbit-item { animation: upright 40s linear infinite; }
@keyframes upright {
  from { transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--orbit-w) / -2)) rotate(calc(-1 * var(--a))) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--orbit-w) / -2)) rotate(calc(-1 * var(--a))) rotate(-360deg); }
}

/* Self-discovery path */
.ol-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.ol-path li {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ece4d0;
  transition: transform 350ms var(--ease-out), box-shadow 350ms, border-color 350ms;
}
.ol-path li:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  border-color: var(--gold-400);
  box-shadow: 0 22px 40px -26px rgba(138, 106, 31, 0.55);
}
.ol-path-num {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 14px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(160deg, var(--green-600), var(--green-700));
  box-shadow: 0 10px 20px -10px rgba(31, 61, 47, 0.6);
}
.ol-path h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--green-800); }
.ol-path p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4d6457; }
.ol-center { text-align: center; }

/* How it works */
.ol-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.ol-steps::before {
  content: "";
  position: absolute;
  top: 36px; left: 18%; right: 18%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-400) 0 8px, transparent 8px 16px);
  animation: dashMove 1.2s linear infinite;
}
@keyframes dashMove { to { background-position: 16px 0; } }
.ol-steps li { position: relative; }
.ol-step-icon {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dfe8e1;
  box-shadow: 0 0 0 8px var(--mist-50), 0 14px 30px -16px rgba(20, 42, 34, 0.5);
}
.ol-steps h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; color: var(--green-800); }
.ol-steps p { max-width: 18rem; margin: 0 auto; font-size: 15px; line-height: 1.6; color: #4d6457; }
.cp-section#how { background: var(--mist-50); }

@media (max-width: 1024px) {
  .ol-others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ol-card { flex-basis: calc((100% - 20px) / 2); }
  .ol-split, .ol-split--rev { grid-template-columns: 1fr; }
  .ol-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ol-card { flex-basis: 100%; }
  .ol-duo, .ol-path, .ol-steps, .ol-others { grid-template-columns: 1fr; }
  .ol-request { grid-template-columns: auto 1fr; padding: 22px 20px; }
  .ol-request .btn { grid-column: 1 / -1; width: 100%; }
  .ol-steps::before { display: none; }
  .ol-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ol-week { padding: 22px 18px; }
  .ol-panel .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ol-icon, .ol-hero-icon, .ol-orbit, .ol-orbit-core, .ol-orbit .ol-orbit-item, .ol-steps::before { animation: none !important; }
  .ol-ring-fill { transition: none; }
}

/* =========================================================
   Spiritual retreats (yoga-retreat.html, retreats/*.html)
   ========================================================= */
.retreat-page,
.rt-tone--vrindavan { --rt: #1d7a6c; --rt-soft: #d6efe9; --rt-deep: #0f4a41; }
.rt-tone--puri      { --rt: #2a6b8d; --rt-soft: #d9eaf3; --rt-deep: #163f55; }
.rt-tone--mayapur   { --rt: #b0631f; --rt-soft: #f8e5d0; --rt-deep: #6b3a10; }

/* Hero: destination-coloured tint and a slowly breathing glow */
.rt-tone--puri .rt-tint { background: linear-gradient(180deg, #a9d3e6 0%, #3b84a8 55%, #173f55 100%); }
.rt-tone--vrindavan .rt-tint { background: linear-gradient(180deg, #a8dccf 0%, #2e8a79 55%, #0f4a41 100%); }
.rt-tone--mayapur .rt-tint { background: linear-gradient(180deg, #f3cf9b 0%, #c47a2e 55%, #6b3a10 100%); }
.rt-glow {
  position: absolute;
  z-index: -1;
  right: -120px; top: 10%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--rt) 55%, transparent), transparent 70%);
  filter: blur(30px);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}
.rt-hook { font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; color: #f1eadb; }
.rt-hero .cp-hero-shade {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--rt-deep) 92%, #000) 0%, color-mix(in srgb, var(--rt-deep) 70%, transparent) 50%, color-mix(in srgb, var(--rt-deep) 25%, transparent) 100%),
    linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--rt-deep) 80%, #000) 100%);
}

/* At-a-glance with a bouncing map pin */
.rt-glance { position: relative; }
.rt-pin {
  position: absolute;
  top: -18px; right: 22px;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--rt);
  box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--rt) 80%, transparent);
  animation: pinBounce 2.4s ease-in-out infinite;
}
.rt-pin svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.rt-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0 0;
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #5a4314;
  background: #fbf3df;
  border: 1px solid #ecd9a2;
  border-radius: 4px;
}
.rt-note span { font-size: 18px; line-height: 1.3; color: #8a6a1f; }

/* Day-by-day tabs */
.rt-days { max-width: 880px; margin-inline: auto; }
.rt-tabs {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 26px;
}
.rt-tabs::before {
  content: "";
  position: absolute;
  left: 32px; right: 32px; top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--rt));
  opacity: 0.45;
}
.rt-tab {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  width: 70px; height: 70px;
  padding: 0;
  font: inherit;
  color: var(--rt-deep);
  background: #fff;
  border: 2px solid var(--rt-soft);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 6px #f8f5ee;
  transition: background-color 300ms, color 300ms, border-color 300ms, transform 300ms var(--ease-out), box-shadow 300ms;
}
.rt-tab span { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; }
.rt-tab strong { font-size: 22px; font-weight: 600; line-height: 1.1; }
.rt-tab:hover { transform: translateY(-3px); border-color: var(--rt); }
.rt-tab[aria-selected="true"] {
  color: #fff;
  background: var(--rt);
  border-color: var(--rt);
  transform: scale(1.08);
  box-shadow: 0 0 0 6px #f8f5ee, 0 0 26px color-mix(in srgb, var(--rt) 60%, transparent);
}
.rt-panel {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ece4d0;
  box-shadow: 0 24px 48px -32px rgba(20, 42, 34, 0.5);
  animation: qIn 450ms var(--ease-out);
}
.rt-panel:focus-visible { outline-offset: 4px; }
.rt-panel-day { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rt); }
.rt-panel h3 { margin: 4px 0 20px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; color: var(--green-800); }
.rt-moments { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.rt-moments li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--rt-soft) 45%, #fff);
}
.rt-moment-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 4px;
  background: #fff;
}
.rt-moment-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--rt); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rt-moments b { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rt-deep); }
.rt-moments p { margin: 2px 0 0; font-size: 15.5px; line-height: 1.6; color: #34483d; }

/* Sacred sites */
.rt-sites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.rt-site {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  overflow: hidden;
}
.rt-site.fade-up { transition: opacity 800ms var(--ease-out), transform 400ms var(--ease-out), box-shadow 400ms, border-color 400ms; }
.rt-site::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rt), var(--gold-400));
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 500ms var(--ease-out);
}
.rt-site:hover,
.rt-site.fade-up.is-visible:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--rt) 40%, transparent);
  box-shadow: 0 24px 44px -28px color-mix(in srgb, var(--rt) 70%, transparent);
}
.rt-site:hover::before { transform: scaleX(1); }
.rt-site-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 16px;
  border-radius: 4px;
  background: var(--rt-soft);
  transition: transform 400ms var(--ease-out);
}
.rt-site:hover .rt-site-icon { transform: rotate(-8deg) scale(1.08); }
.rt-site-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--rt); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rt-site h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--green-800); }
.rt-site p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4d6457; }

/* Fee card */
.rt-fee-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.rt-fee-card {
  padding: 34px 28px;
  border-radius: 4px;
  text-align: center;
  border: 1.5px solid transparent;
  background:
    linear-gradient(160deg, rgba(36, 74, 57, 0.96), rgba(16, 36, 28, 0.98)) padding-box,
    conic-gradient(from var(--edge), rgba(220, 197, 132, 0.2) 0deg, rgba(220, 197, 132, 0.2) 250deg, var(--gold-400) 300deg, rgba(220, 197, 132, 0.2) 350deg) border-box;
  animation: edgeSpin 6s linear infinite;
  box-shadow: 0 0 50px -14px rgba(220, 197, 132, 0.45);
}
.rt-fee-card .cp-amount { font-size: 64px; margin-top: 8px; }
.rt-fee-card .cp-per { margin-bottom: 8px; }
.rt-fee-note { margin: 0 0 20px; font-size: 13.5px; color: #f6e7bd; }
.rt-fee-card .btn { width: 100%; }

/* Other retreats */
.rt-minis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.rt-mini {
  display: grid;
  gap: 4px;
  padding: 24px 26px;
  border-radius: 4px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(150deg, var(--rt), var(--rt-deep));
  box-shadow: 0 20px 40px -26px var(--rt-deep);
  transition: transform 350ms var(--ease-out), box-shadow 350ms;
}
.rt-mini:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -24px var(--rt-deep); }
.rt-mini-name { font-size: 22px; font-weight: 600; }
.rt-mini-tag { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.rt-mini-meta { margin-top: 10px; font-size: 14px; font-weight: 600; color: #f6e7bd; }

/* Overview page: destination cards */
.rt-dests {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.rt-dest {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3ebe5;
  box-shadow: 0 24px 48px -32px rgba(20, 42, 34, 0.5);
}
.rt-dest.fade-up { transition: opacity 800ms var(--ease-out), transform 400ms var(--ease-out), box-shadow 400ms; }
.rt-dest::before { /* coloured wash at the top of each card */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 128px;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(160deg, var(--rt), var(--rt-deep));
  z-index: 0;
}
.rt-dest > * { position: relative; z-index: 1; }
.rt-dest:hover,
.rt-dest.fade-up.is-visible:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -30px color-mix(in srgb, var(--rt) 70%, transparent);
}
.rt-dest-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 60px; } /* tagline starts below the coloured band */
.rt-dest-icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: floaty 5s ease-in-out infinite;
}
.rt-tone--vrindavan .rt-dest-icon { animation-delay: -1.6s; }
.rt-tone--mayapur .rt-dest-icon { animation-delay: -3.2s; }
.rt-dest-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rt-dest-chip {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.rt-dest-tag { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rt); }
.rt-dest h3 { margin: 4px 0 8px; font-size: 26px; font-weight: 600; color: var(--green-800); }
.rt-dest-hook { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: #4d6457; }
.rt-dest-sites { display: grid; gap: 7px; margin: 0 0 20px; padding: 0; list-style: none; flex: 1; align-content: start; }
.rt-dest-sites li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #34483d;
}
.rt-dest-sites li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rt);
}
.rt-dest-foot {
  margin-top: auto; /* price row always sits at the bottom, level across cards */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #eef2ef;
}
.rt-dest-price { font-size: 32px; font-weight: 600; line-height: 1; color: var(--green-800); }
.rt-dest-price small { font-size: 16px; vertical-align: 12px; }
.rt-dest-price span { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: #5b6f63; }

/* Comparison table */
.rt-compare-wrap {
  overflow-x: auto;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ece4d0;
  box-shadow: 0 20px 40px -30px rgba(20, 42, 34, 0.45);
}
.rt-compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.rt-compare th, .rt-compare td { padding: 16px 18px; text-align: left; font-size: 14.5px; line-height: 1.5; vertical-align: top; }
.rt-compare thead th { font-size: 16px; font-weight: 600; border-bottom: 3px solid var(--rt); }
.rt-compare thead th a { color: var(--rt-deep); }
.rt-compare thead th a:hover { color: var(--rt); }
.rt-compare tbody th { width: 22%; font-weight: 600; color: #5b6f63; }
.rt-compare tbody td { color: #34483d; }
.rt-compare tbody tr + tr { border-top: 1px solid #f0ead9; }

/* Inclusions on a light background (overview page) */
.rt-hub-incl { grid-template-columns: 1fr; margin-top: 0; }
.rt-hub-incl .cp-incl { background: #fff; border-color: #e3ebe5; }
.rt-hub-incl .cp-incl h3 { color: var(--green-800); }
.rt-hub-incl .cp-incl li { color: #34483d; }
.rt-hub-incl .cp-incl li::before { border-color: var(--green-600); }
.rt-hub-incl .cp-incl--no li::before { background: #c46a52; }

/* "Also on the journey" line under the three key places */
.rt-also { max-width: 720px; margin: 26px auto 0; text-align: center; font-size: 15px; line-height: 1.7; color: #4a5f53; }
.rt-also strong { color: var(--green-800); font-weight: 600; }

@media (max-width: 1024px) {
  .rt-dests, .rt-sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-sites--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rt-fee-grid { grid-template-columns: 1fr; }
  .rt-fee-card { max-width: 440px; }
}
@media (max-width: 640px) {
  .rt-dests, .rt-sites, .rt-minis { grid-template-columns: 1fr; }
  .rt-tab { width: 54px; height: 54px; }
  .rt-tab strong { font-size: 18px; }
  .rt-tab span { font-size: 9px; }
  .rt-moments li { grid-template-columns: 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rt-glow, .rt-pin, .rt-dest-icon, .rt-fee-card, .rt-panel { animation: none !important; }
}

/* ---------- Wisdom Journal ---------- */
.jr-chip {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 4px;
  color: #8a6a1f;
  background: #f6eedb;
}
.jr-chip--yoga { color: #2f5a44; background: #dcefe3; }
.jr-chip--philosophy { color: #4e4789; background: #e6e2f7; }
.jr-chip--soul { color: #8a3f55; background: #f4dde4; }
.jr-chip--training { color: #8a5a12; background: #f6e8cc; }
/* Articles still waiting for their photo show the shared placeholder frame */
.jr-cover-frame.ph { position: relative; aspect-ratio: 1200 / 680; max-height: 560px; }
.jr-card-img.ph { position: relative; }
.jr-read { font-size: 13px; font-weight: 600; color: var(--green-600); }

/* Featured article */
.jr-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
  margin-top: 14px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  box-shadow: 0 30px 60px -36px rgba(20, 42, 34, 0.55);
}
.jr-feature-img { display: block; overflow: hidden; min-height: 320px; }
.jr-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.jr-feature:hover .jr-feature-img img { transform: scale(1.04); }
.jr-feature-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(26px, 4vw, 44px); }
.jr-feature-body .jr-chip { align-self: flex-start; }
.jr-feature h2 { margin: 0; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; line-height: 1.2; }
.jr-feature h2 a { color: var(--green-800); }
.jr-feature h2 a:hover { color: var(--green-600); }
.jr-feature p { margin: 0; font-size: 16px; line-height: 1.7; color: #4d6457; }
.jr-feature-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

/* Listing grid */
.jr-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.jr-list-head .section-title { text-align: left; }
.jr-filters { margin-top: 0; }
.jr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.jr-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  box-shadow: 0 18px 36px -30px rgba(20, 42, 34, 0.5);
}
.jr-card.fade-up { transition: opacity 800ms var(--ease-out), transform 400ms var(--ease-out), box-shadow 400ms; }
.jr-card:hover,
.jr-card.fade-up.is-visible:hover { transform: translateY(-6px); box-shadow: 0 28px 48px -28px rgba(20, 42, 34, 0.5); }
.jr-card[hidden] { display: none; }
.jr-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e3eee6; }
.jr-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.jr-card:hover .jr-card-img img { transform: scale(1.06); }
.jr-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.jr-card-body .jr-chip { align-self: flex-start; }
.jr-card h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.jr-card h3 a { color: var(--green-800); }
.jr-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.jr-card { position: relative; }
.jr-card p { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.65; color: #4d6457; }

/* Article page */
.jr-progress { position: fixed; inset: 0 0 auto 0; z-index: 200; height: 4px; background: transparent; }
.jr-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold-400), var(--green-600)); box-shadow: 0 0 10px rgba(220, 197, 132, 0.8); }
.jr-article-page { padding-top: calc(var(--header-h) + 24px); }
.jr-narrow { max-width: 780px; }
.jr-article-head { padding-bottom: 8px; }
.crumbs--dark { color: #5b6f63; }
.crumbs--dark a { color: var(--green-700); }
.crumbs--dark li + li::before { color: #b9c9bf; }
.jr-article-head h1 {
  margin: 14px 0 12px;
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--green-800);
  text-wrap: balance;
}
.jr-byline { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: #5b6f63; }
.jr-byline img { border-radius: 50%; }
.jr-cover { max-width: 1060px; margin: 28px auto 8px; }
.jr-cover-frame {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 34px 70px -40px rgba(20, 42, 34, 0.7);
}
.jr-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.jr-prose { padding: 28px 0 8px; font-size: 17.5px; line-height: 1.85; color: #2f4238; }
.jr-prose h2, .jr-prose h3, .jr-prose h4 { color: var(--green-800); line-height: 1.3; letter-spacing: -0.01em; }
.jr-prose h2 { margin: 44px 0 14px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; }
.jr-prose h3 { margin: 36px 0 12px; font-size: clamp(21px, 2.2vw, 25px); font-weight: 600; }
.jr-prose h4 { margin: 30px 0 10px; font-size: 19px; font-weight: 600; }
.jr-prose h2:first-child, .jr-prose h3:first-child { margin-top: 8px; }
.jr-prose p { margin: 0 0 20px; }
.jr-prose strong { color: var(--green-800); font-weight: 600; }
.jr-prose ul, .jr-prose ol { margin: 0 0 24px; padding: 0; list-style: none; }
.jr-prose li { position: relative; margin: 0 0 12px; padding-left: 28px; }
.jr-prose li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.72em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px #f6eedb;
}
.jr-prose blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  font-size: 18.5px;
  border-left: 3px solid var(--gold-500);
  background: #faf6ec;
  border-radius: 0 4px 4px 0;
}

.jr-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 30px; padding: 18px 0; border-top: 1px solid #e3ebe5; border-bottom: 1px solid #e3ebe5; }
.jr-share > span { margin-right: 6px; font-size: 14px; font-weight: 600; color: var(--green-800); }
.jr-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-700);
  background: #fff;
  border: 1px solid #d6e2d9;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.jr-share-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jr-share-btn:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.jr-deeper {
  margin: 0 0 clamp(48px, 7vw, 80px);
  padding: clamp(26px, 4vw, 36px);
  border-radius: 4px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(220, 197, 132, 0.28), transparent 50%),
    linear-gradient(160deg, #1d4433, #0f241c);
  box-shadow: 0 30px 60px -34px rgba(20, 42, 34, 0.7);
}
.jr-deeper .eyebrow { color: var(--gold-400); margin: 0 0 6px; }
.jr-deeper h2 { margin: 0 0 8px; font-size: 24px; font-weight: 600; }
.jr-deeper p:not(.eyebrow) { margin: 0 0 18px; font-size: 15.5px; line-height: 1.65; color: #c9d8ce; }
.jr-deeper :focus-visible { outline-color: var(--gold-400); }
.jr-back { margin: 28px 0 0; text-align: center; }
.jr-back a { font-weight: 600; color: var(--green-700); }

@media (max-width: 1024px) {
  .jr-feature { grid-template-columns: 1fr; }
  .jr-feature-img { min-height: 0; aspect-ratio: 16 / 9; }
  .jr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .jr-grid { grid-template-columns: 1fr; }
  .jr-prose { font-size: 16.5px; }
  .jr-cover-frame { border-radius: 4px; }
}

/* ---------- Guides & Mentors ---------- */
.gm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}
.gm-card {
  --tone: #8a6a1f;
  --tone-soft: #f4e9cc;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 24px 26px;
  text-align: center;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  box-shadow: 0 20px 40px -30px rgba(20, 42, 34, 0.45);
  overflow: hidden;
}
.gm-card.fade-up { transition: opacity 800ms var(--ease-out), transform 400ms var(--ease-out), box-shadow 400ms, border-color 400ms; }
.gm-card::before { /* soft coloured halo behind the portrait */
  content: "";
  position: absolute;
  top: -70px; left: 50%;
  width: 240px; height: 200px;
  border-radius: 50%;
  background: var(--tone-soft);
  transform: translateX(-50%);
  transition: transform 500ms var(--ease-out);
}
.gm-card > * { position: relative; }
.gm-card:hover,
.gm-card.fade-up.is-visible:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tone) 40%, transparent);
  box-shadow: 0 30px 50px -28px color-mix(in srgb, var(--tone) 60%, transparent);
}
.gm-card:hover::before { transform: translateX(-50%) scale(1.15); }
.gm-tone--green  { --tone: #3f7a58; --tone-soft: #dcefe3; }
.gm-tone--teal   { --tone: #1d7a6c; --tone-soft: #d6efe9; }
.gm-tone--indigo { --tone: #5c5496; --tone-soft: #e6e2f7; }
.gm-tone--amber  { --tone: #b0631f; --tone-soft: #f8e5d0; }
.gm-tone--rose   { --tone: #924a5f; --tone-soft: #f4dde4; }
.gm-photo {
  display: grid;
  place-items: center;
  width: 112px; height: 112px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--gold-400), var(--tone), var(--gold-400));
  box-shadow: 0 0 24px -4px color-mix(in srgb, var(--tone) 60%, transparent);
}
.gm-photo svg, .gm-photo img {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #eef3ef;
  object-fit: cover;
}
.gm-photo svg { fill: #a9bcb0; padding: 14px; }
.gm-name { margin: 0; font-size: 20px; font-weight: 600; color: var(--green-800); }
.gm-role { margin: 4px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tone); }
.gm-area { margin: 4px 0 14px; font-size: 14px; color: #5b6f63; }
.gm-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.gm-tags li { padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--tone); background: var(--tone-soft); border-radius: 4px; }
.gm-bio { flex: 1; margin: 0 0 14px; font-size: 14.5px; line-height: 1.65; color: #4d6457; }
.gm-quote {
  margin: 0;
  padding-top: 14px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-800);
  border-top: 1px dashed #dfe8e1;
}
/* Visible reminder on placeholder cards; remove the class once real details are in */
.gm-card.is-sample::after {
  content: "Sample profile";
  position: absolute;
  top: 14px; right: 14px;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a2812f;
  background: #fffaf0;
  border: 1px dashed rgba(162, 129, 47, 0.6);
  border-radius: 4px;
}
@media (max-width: 1024px) { .gm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gm-grid { grid-template-columns: 1fr; } }
/* three teachers: centre the third card when the grid has two columns */
@media (min-width: 641px) and (max-width: 1024px) {
  .gm-grid--3 .gm-card:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); }
}

/* ---------- Glimpses (gallery placeholder) ---------- */
.gl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.gl-tile {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  text-align: center;
  background: linear-gradient(160deg, #e3eee6, #f3efe4);
  border: 1px solid #e3ebe5;
}
.gl-tile::after { /* gentle shimmer while the gallery is being prepared */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: sheen 3.6s ease-in-out infinite;
}
.gl-tile:nth-child(2n)::after { animation-delay: 0.6s; }
.gl-tile:nth-child(3n)::after { animation-delay: 1.2s; }
.gl-tile-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; }
.gl-tile-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-700); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gl-tile-name { font-size: 16px; font-weight: 600; color: var(--green-800); }
.gl-tile-soon { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8a6a1f; }
@media (max-width: 640px) { .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .gl-tile::after { animation: none; } }

/* ---------- Course sub-pages (placeholders until full details arrive) ---------- */
.subpage { background: linear-gradient(180deg, #f1f5f1 0%, #f8f5ee 100%); min-height: 100vh; }
.course-page {
  padding: calc(var(--header-h) + 48px) 0 96px;
}
.course-page .container { max-width: 820px; }
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-600);
}
.back-link:hover { color: var(--green-800); }
.course-page .eyebrow { color: #8a6a1f; }
.course-page-title {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-800);
  text-wrap: balance;
}
.course-page-title strong { font-weight: 600; }
.course-page-lead {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: #3a4f44;
}
.coming-soon {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 4px;
  color: #d8e6dc;
  background: linear-gradient(160deg, #1d4433, #0f241c);
  box-shadow: 0 30px 60px -30px rgba(20, 42, 34, 0.6);
}
.coming-soon p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.7; }
.coming-soon strong { color: #fff; }
.coming-soon .btn { margin-top: 14px; }

/* Scroll-in animation (class added by main.js) */
/* Only hidden when JavaScript is running, so content never disappears without it */
.js .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.fade-up.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) { /* the compact full menu fits from 1201px up */
  .menu-toggle { display: flex; }
  .header-cta { display: none; }

  /* Full-screen menu panel */
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 36px;
    padding: 130px var(--gutter) 48px;
    background: var(--mist-50);
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transition: opacity 300ms, visibility 300ms;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav { justify-content: flex-start; overflow-y: auto; }
  .main-nav > ul { flex-direction: column; gap: 6px; }
  /* Dropdowns become tap-to-open indented lists inside the phone menu */
  .main-nav .has-sub { flex-wrap: wrap; }
  .sub-toggle { width: 44px; height: 44px; margin-left: 4px; border-radius: 50%; background: #e3eee6; }
  .sub-toggle svg { width: 20px; height: 20px; stroke: var(--green-800); }
  .has-sub:hover .sub-toggle svg { transform: none; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub-menu,
  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu {
    position: static;
    display: none;
    flex-basis: 100%;
    min-width: 0;
    margin: 2px 0 6px;
    padding: 0 0 0 14px;
    background: none;
    border: 0;
    border-left: 2px solid #d6e2d9;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .sub-toggle[aria-expanded="true"] + .sub-menu { display: grid; }
  .sub-menu::before { display: none; }
  .main-nav .sub-menu a:not(.btn) { min-height: 44px; display: flex; align-items: center; padding: 6px 10px; font-size: 17px; font-weight: 500; }
  .main-nav .sub-quiz a:not(.btn) { color: #8a6a1f; }
  .main-nav .sub-menu a span { display: none; }
  .sub-menu .sub-quiz { margin-top: 0; padding-top: 0; border-top: 0; }
  .main-nav a:not(.btn) {
    display: inline-block;
    font-size: 28px;
    color: var(--green-800);
  }
  .nav-cta-mobile { display: inline-flex; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter would trap the fixed menu panel inside the pill */
  body.nav-open .header-inner {
    background: var(--mist-50);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
}

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: stretch;
    row-gap: 32px;
  }
  .feature { padding-inline: 24px; }
  .feature:nth-child(odd) { padding-left: 0; border-left: 0; }
}

@media (max-width: 640px) {
  :root { --header-h: 96px; }
  .site-header { padding-top: 12px; }
  .header-inner { height: 72px; border-radius: 4px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-rule { width: 62px; }
  .logo-text { font-size: 13.5px; }

  /* On phones the four features can't share the first screen, so the hero fills it alone */
  .hero { min-height: 100vh; min-height: 100dvh; padding-top: calc(var(--header-h) + 8vh); }
  .hero-bg { background-image: url("../images/hero-mobile.jpg?v=original"); }
  .hero-mist {
    background:
      linear-gradient(180deg, rgba(240, 245, 240, 0.92) 0%, rgba(240, 245, 240, 0.7) 40%, rgba(240, 245, 240, 0.15) 70%, rgba(20, 42, 34, 0.35) 100%);
  }
  .btn-lg { width: 100%; }

  .features-grid { grid-template-columns: 1fr; row-gap: 0; padding-block: 16px; }
  .feature,
  .feature:nth-child(n) { padding: 20px 0; border-left: 0; }
  .feature + .feature { border-top: 1px solid rgba(220, 197, 132, 0.14); }
  .feature-icon { width: 60px; height: 60px; }
  .feature-icon svg { width: 28px; height: 28px; }
}

@media (max-width: 820px) {
  .mission-card { grid-template-columns: minmax(0, 1fr); }
  .mission-media {
    margin: -12px -12px 0;
    min-height: 0;
    align-self: start; /* let the width set the height, not the other way round */
    aspect-ratio: 4 / 3;
  }
  .mission-body::before { font-size: 130px; }
  .carousel-slide { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 1024px) {
  .ttc-grid { grid-template-columns: 1fr; max-width: 640px; }
  .path-cards { grid-template-columns: 1fr; max-width: 640px; }
  .path-cta { flex-direction: column; align-items: flex-start; max-width: 640px; }
  .path-cta-action { justify-items: start; }
}

@media (max-width: 960px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .lineage-grid { grid-template-columns: 1fr; }
  .lineage-visual { width: 100%; max-width: 520px; margin-inline: auto; }
}

@media (max-width: 560px) {
  .lineage-visual { padding: 30px 26px 34px 0; }
  .badge-top { width: 112px; height: 112px; }
  .badge-big { font-size: 32px; }
  .badge-small { font-size: 9px; }
  .badge-small::before { margin: 3px auto 4px; width: 16px; }
  .badge-bottom { width: 76px; height: 76px; }
  .badge-bottom img { width: 52px; height: 52px; }
  .chain-card { padding: 30px 22px 26px; }
  .lcard summary { gap: 12px; padding: 18px 16px; }
  .lcard-toggle { width: 32px; height: 32px; }
  .lcard-num { width: 46px; height: 46px; }
  .lcard-body { padding: 4px 20px 22px; }
  .faq-item summary { gap: 12px; padding: 12px 14px 12px 16px; }
  .faq-a { padding: 0 18px 20px 16px; }

  /* One card at a time, with the next one peeking in to invite a swipe */
  .carousel-slide { flex-basis: 86%; }
  .carousel-track { gap: 14px; }
  .carousel-controls { gap: 8px; }
  .carousel-dots { gap: 0; }
  .carousel-dot { width: 24px; height: 24px; } /* WCAG 2.2 minimum; keeps 8 dots + arrows on one line */
}

@media (max-width: 480px) {
  .pillars { grid-template-columns: max-content; }
  .pillar { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { transform: none; }
  .hero-title strong { animation: none !important; }
  .js .fade-up { opacity: 1; transform: none; }
  .carousel-track { scroll-behavior: auto; }
  .why::before, .why::after, .pc-icon::after,
  .chain::after, .chain-dot, .chain-name, .badge-top, .badge-bottom::before,
  .lcard::after, .ttc::before, .ttc::after, .course,
  .path-orb, .path-icon, .path-cta, .path-start::after, .quiz-petals i { animation: none !important; }
  .quiz-option { opacity: 1; }
  .chain::after { display: none; }
}

/* =========================================================
   Homepage: online, retreats, free guide, journal, contact
   ========================================================= */
.home-more { margin: clamp(28px, 4vw, 40px) 0 0; text-align: center; }

.home-online { background: var(--mist-50); }

.home-retreats {
  position: relative;
  background:
    radial-gradient(ellipse 55% 50% at 85% 0%, rgba(207, 180, 106, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(74, 124, 90, 0.3), transparent 70%),
    linear-gradient(170deg, #173a2c 0%, #10271e 60%, #0c1d16 100%);
}
.home-retreats .eyebrow { color: var(--gold-400); }
.home-retreats .section-title { color: #fff; }
.home-retreats .section-sub { color: var(--cream-muted); }

/* Free guide band */
.home-guide {
  padding-block: 0 clamp(64px, 8vw, 104px);
  background: #f8f5ee; /* continues the testimonials background */
}
.guide-band {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: 4px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(220, 197, 132, 0.28), transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(95, 144, 112, 0.4), transparent 50%),
    linear-gradient(160deg, #1d4433, #0c1d16);
  box-shadow: 0 40px 80px -48px rgba(20, 42, 34, 0.8);
}
.guide-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  padding: 28px 24px;
  border-radius: 4px 4px 4px 4px;
  background: linear-gradient(160deg, #f8f5ee, #ecdfbf);
  color: var(--green-800);
  box-shadow: -10px 0 0 -4px #cfb46a inset, 0 30px 50px -24px rgba(0, 0, 0, 0.7);
  transform: rotate(-3deg);
}
.guide-cover-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #8a7034; }
.guide-cover-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.15; }
.guide-cover-sub { font-size: 13.5px; color: #4d6457; }
.guide-cover img { margin-top: auto; border-radius: 50%; }
.guide-body .eyebrow { color: var(--gold-400); }
.guide-body h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px); /* same size as every section title */
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.guide-body > p:not(.eyebrow) { margin: 14px 0 0; font-size: 16px; line-height: 1.7; color: #d7e2da; }
.guide-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.guide-points li {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(220, 197, 132, 0.35);
}
.guide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.home-journal { background: var(--mist-50); }

/* Contact */
.contact {
  padding-block: clamp(72px, 10vw, 120px);
  color: #fff;
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(74, 124, 90, 0.3), transparent 70%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(207, 180, 106, 0.14), transparent 70%),
    linear-gradient(180deg, #10271e 0%, #0c1813 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 80px);
}
.contact .eyebrow { color: var(--gold-400); }
.contact .section-title { color: #fff; }
.contact-lead { margin: 16px 0 0; font-size: 16.5px; line-height: 1.75; color: #d7e2da; }
.contact-list { display: grid; gap: 14px; margin-top: 30px; }
.contact-list li { display: flex; align-items: center; gap: 16px; font-size: 15.5px; color: #eef3ef; }
.contact-list a { color: #fff; font-weight: 500; }
.contact-list a:hover { color: var(--gold-400); }
.contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 4px;
  background: rgba(220, 197, 132, 0.12);
  border: 1px solid rgba(220, 197, 132, 0.3);
}
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-400); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-muted); }

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 4px;
  background: #fff;
  color: var(--green-800);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.contact-form h3 { margin: 0; font-size: 22px; font-weight: 600; }
.contact-form-note { margin: -10px 0 4px; font-size: 14px; color: #5b6f63; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label > span { font-size: 14px; font-weight: 500; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--green-800);
  background: var(--mist-50);
  border: 1px solid #d6e2da;
  border-radius: 4px;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--green-600); background: #fff; }
.contact-form [aria-invalid="true"] { border-color: #b4483c; }
.contact-error { margin: 0; font-size: 14px; color: #b4483c; }
.contact-form .btn { width: 100%; }

/* =========================================================
   Site footer (every page)
   ========================================================= */
.site-footer {
  padding: clamp(56px, 8vw, 88px) 0 28px;
  color: var(--cream-muted);
  background: #08120e;
  border-top: 1px solid rgba(220, 197, 132, 0.18);
}
.cp-dock ~ .site-footer { padding-bottom: 104px; } /* clear the floating section menu */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.footer-brand .logo { display: inline-flex; flex-direction: column; align-items: center; gap: 7px; color: #fff; }
.footer-brand .logo-mark { width: 60px; height: 60px; }
.footer-brand .logo-rule { width: 110px; }
.footer-brand .logo-text { font-size: 21px; }
.footer-brand p { margin: 16px 0 20px; max-width: 30ch; font-size: 14.5px; line-height: 1.7; }
.footer-col h2 {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; color: #d7e2da; transition: color var(--dur-fast); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 22px;
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom p { margin: 0; }
.footer-legal a { color: #d7e2da; text-decoration: underline; text-decoration-color: rgba(220, 197, 132, 0.4); text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--gold-400); }
.footer-brand .footer-contact { margin: 18px 0 0; font-size: 14px; line-height: 1.7; }
.footer-contact a { color: #d7e2da; word-break: break-all; }
.footer-contact a:hover { color: #fff; }

/* Social icons (footer + contact section) */
.social-links { display: flex; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.social-links a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--gold-400);
  border: 1px solid rgba(220, 197, 132, 0.35);
  background: rgba(220, 197, 132, 0.06);
  transition: background-color var(--dur-fast), color var(--dur-fast), transform 200ms;
}
.social-links a:hover { color: var(--forest-900); background: var(--gold-400); transform: translateY(-2px); }
.social-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-links--contact { margin-top: 26px; }

/* Map in the contact section */
.contact-map {
  margin-top: 26px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(220, 197, 132, 0.3);
  aspect-ratio: 16 / 10;
  background: #10241c;
}
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(0.85); }
.contact-map-link { display: block; margin-top: 2px; font-size: 14px; color: var(--gold-400) !important; }
.contact-info, .contact-form { min-width: 0; }
.contact-list li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
/* the day panels slide in sideways; never let that create a horizontal scrollbar */
.cp-section:has(.rt-days) { overflow-x: clip; }

/* =========================================================
   Free sadhana guide page
   ========================================================= */
.sg-glance { margin-top: 10px; }
.sg-need {
  margin: 28px 0 0;
  padding: 18px 22px;
  border-radius: 4px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3f564a;
  background: #f8f5ee;
  border: 1px solid #eadfc4;
}
.sg-days { display: grid; gap: 20px; max-width: 880px; margin: 0 auto; padding: 0; list-style: none; }
.sg-day {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 22px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  box-shadow: 0 18px 36px -30px rgba(20, 42, 34, 0.5);
  scroll-margin-top: 110px;
}
.sg-day-num {
  display: grid;
  place-content: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: #fff;
  background: linear-gradient(150deg, var(--green-600), var(--green-800));
  box-shadow: 0 0 0 6px #e4efe7;
}
.sg-day-num small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); }
.sg-day-time { margin: 0 0 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8a7034; }
.sg-day h3 { margin: 0 0 10px; font-size: clamp(19px, 2vw, 23px); font-weight: 600; color: var(--green-800); }
.sg-day-body p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.75; color: #3f564a; }
.sg-day-body ul, .sg-steps { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.sg-day-body ul li, .sg-steps li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.7; color: #3f564a; }
.sg-day-body ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.7em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}
.sg-steps { counter-reset: sg; }
.sg-steps li { counter-increment: sg; padding-left: 34px; }
.sg-steps li::before {
  content: counter(sg);
  position: absolute;
  left: 0; top: 2px;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-700);
  background: #e4efe7;
}
.sg-day-body a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.sg-caution, .sg-tip { padding: 12px 16px; border-radius: 4px; font-size: 14.5px !important; }
.sg-caution { background: #fbf1e6; color: #7a4a1d !important; }
.sg-tip { background: var(--mist-50); }
.sg-mantra {
  margin: 4px 0 16px;
  padding: 20px 24px;
  border-radius: 4px;
  text-align: center;
  background: linear-gradient(160deg, #f8f5ee, #f0e6cc);
  border: 1px solid #e6d7ad;
}
.sg-mantra p { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.9; color: var(--green-800) !important; }
.sg-table { width: 100%; margin: 4px 0 14px; border-collapse: collapse; font-size: 15px; }
.sg-table th, .sg-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e3ebe5; color: #3f564a; }
.sg-table th { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-700); }
.sg-table td:last-child { white-space: nowrap; font-weight: 500; text-align: right; }
.sg-short {
  max-width: 880px;
  margin: 24px auto 0;
  padding: 22px 26px;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(160deg, #1d4433, #0c1d16);
}
.sg-short h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--gold-400); }
.sg-short p { margin: 0; font-size: 15px; line-height: 1.7; color: #d7e2da; }
.sg-check-wrap { overflow-x: auto; border-radius: 4px; border: 1px solid #e3ebe5; background: #fff; }
.sg-check { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.sg-check th, .sg-check td { padding: 14px 10px; border-bottom: 1px solid #e3ebe5; text-align: center; color: var(--green-800); }
.sg-check thead th { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); background: var(--mist-50); }
.sg-check tbody th { text-align: left; font-weight: 500; padding-left: 18px; }
.sg-check tbody tr:last-child > * { border-bottom: 0; }
.sg-check td::before {
  content: "";
  display: inline-block;
  width: 20px; height: 20px;
  vertical-align: middle;
  border: 1.5px solid #9fb8a8;
  border-radius: 4px;
}
.sg-check td.off::before { border-style: dashed; border-color: #dbe5de; }
.sg-print-row { margin: 24px 0 0; text-align: center; }
.sg-health { max-width: 720px; margin: 24px auto 0; font-size: 13.5px; line-height: 1.7; text-align: center; color: #5b6f63; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .guide-band { grid-template-columns: 1fr; }
  .guide-cover { max-width: 210px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-day { grid-template-columns: 1fr; gap: 14px; }
  .sg-day-num { width: 64px; height: 64px; font-size: 24px; }
  .guide-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-cover { transform: none; }
}

/* Printing the sadhana guide: content only, ink-friendly */
@media print {
  .site-header, .site-footer, .cp-dock, .skip-link, .cp-actions, .sg-print-row,
  .sadhana-page .cp-hero .hero-bg, .sadhana-page .cp-hero .hero-tint,
  .sadhana-page .cp-hero-shade, .sadhana-page .cp-price-card,
  .sadhana-page .cp-section--cream { display: none !important; }
  body, .subpage { background: #fff !important; }
  .js .fade-up { opacity: 1 !important; transform: none !important; }
  .sadhana-page .cp-hero { min-height: 0; padding: 0 0 12px; background: none; color: #000; }
  .sadhana-page .cp-hero * { color: #1f3d2f !important; }
  .cp-section { padding-block: 16px; background: none !important; }
  .sg-day, .sg-check-wrap, .cp-hl { box-shadow: none; break-inside: avoid; }
  .sg-short { color: #1f3d2f; background: none; border: 1px solid #ccc; }
  .sg-short p, .sg-short h3 { color: #1f3d2f; }
}

/* =========================================================
   Photo frames
   Each frame shows a calm placeholder until a real photo is saved at
   its src (images/photos/...). The <img> removes itself if the file is
   missing, so the placeholder stays visible.
   ========================================================= */
.ph { /* placeholder colours come from --ph-a / --ph-b set on the card or tile */
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 18%, rgba(220, 197, 132, 0.38), transparent 52%),
    linear-gradient(155deg, var(--ph-a, #2f5a44), var(--ph-b, #10271e));
}
.ph::before { /* soft ripples, like light on water */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 20% 115%, rgba(255, 255, 255, 0.07) 0 1.5px, transparent 1.5px 26px);
}
.ph img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.ph-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 18px 22px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: balance;
}
.ph-label svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Photo across the top of a card, edge to edge, with a chip on the photo and
   the card's icon resting on its lower edge. Cards set --pt / --px to their padding. */
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: calc(var(--pt) * -1) calc(var(--px) * -1) 40px;
}
.card-media .ph {
  position: absolute;
  inset: 0;
  border-radius: var(--r-in, 0) var(--r-in, 0) 0 0;
}
.card-chip {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 4px;
  background: rgba(12, 29, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card-icon {
  position: absolute;
  left: var(--px);
  bottom: 0;
  z-index: 3;
  transform: translateY(50%);
}
.card-icon > * {
  margin: 0 !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: 0 14px 28px -12px rgba(20, 42, 34, 0.55), 0 0 0 5px rgba(255, 255, 255, 0.55);
}
.has-photo:hover .ph img { transform: scale(1.06); }

/* Online program cards */
.ol-card.has-photo { --pt: 28px; --px: 24px; --r-in: 3px; --ph-a: var(--tone); }
.ol-card.has-photo::after { display: none; }

/* Retreat destination cards */
.rt-dest.has-photo { --pt: 26px; --px: 24px; --r-in: 3px; --ph-a: var(--rt); --ph-b: var(--rt-deep); }
.rt-dest.has-photo::before { display: none; }
.rt-dest.has-photo .rt-dest-icon svg { stroke: var(--rt); }

/* Sacred site cards */
.rt-site.has-photo { --pt: 26px; --px: 22px; --r-in: 3px; --ph-a: var(--rt); --ph-b: var(--rt-deep); }
.rt-site.has-photo::before { z-index: 4; }
.rt-site.has-photo .card-media { aspect-ratio: 16 / 9; margin-bottom: 36px; }

/* Teacher training cards (dark) */
.course.has-photo { --pt: clamp(22px, 2.4vw, 32px); --px: clamp(22px, 2.4vw, 32px); --r-in: 3px; }
.course.has-photo .card-media { margin-bottom: 14px; }
.course.has-photo .card-icon > .course-num {
  background: linear-gradient(160deg, #ecd9a2, var(--gold-500)) !important;
  box-shadow: 0 0 0 5px rgba(16, 36, 28, 0.9), 0 0 24px rgba(220, 197, 132, 0.55);
}
.course.has-photo .course-top { padding-left: 64px; min-height: 26px; } /* tag sits beside the badge */

/* "At a glance" cards with a photo on top */
.cp-glance.has-photo { --pt: 26px; --px: 24px; --r-in: 3px; }
.cp-glance.has-photo .card-media { margin-bottom: 22px; }

/* Single photo beside the daily schedule */
.note-photo {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  box-shadow: 0 18px 36px -26px rgba(20, 42, 34, 0.6);
}
.note-photo .card-chip { top: auto; bottom: 14px; }

/* Wide banner photo (online program pages) */
.banner-photo {
  aspect-ratio: 21 / 8;
  margin: 0 0 22px;
  border-radius: 4px;
  box-shadow: 0 24px 48px -32px rgba(20, 42, 34, 0.6);
}

/* Photo mosaic: one large tile with smaller tiles around it */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(160px, 17vw, 230px);
  gap: 14px;
}
.mosaic-tile { border-radius: 4px; }
.mosaic-tile:nth-child(2) { --ph-a: #9a7426; --ph-b: #3d2b0c; }
.mosaic-tile:nth-child(3) { --ph-a: #2f6f73; --ph-b: #0e2a2c; }
.mosaic-tile:nth-child(4) { --ph-a: #5c5496; --ph-b: #1f1b3d; }
.mosaic-tile:nth-child(5) { --ph-a: #924a5f; --ph-b: #351520; }
.mosaic-tile:nth-child(6) { --ph-a: #b0631f; --ph-b: #3f200a; }
.mosaic-tile:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic-tile:first-child .mosaic-cap strong { font-size: clamp(18px, 1.8vw, 22px); }
.mosaic-cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 44px 18px 16px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 14, 0.78));
}
.mosaic-cap strong { font-size: 16px; font-weight: 600; }
.mosaic-cap span { font-size: 13px; color: #d7e2da; }
.mosaic .ph-label { padding-bottom: 64px; } /* keep the hint clear of the caption */
.mosaic-tile:hover img { transform: scale(1.05); }
.mosaic--gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; }

.home-life { background: #fff; }

/* Teacher portraits */
.gm-photo { position: relative; }
.gm-photo img {
  position: absolute;
  inset: 4px;
  z-index: 1;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
}

@media (max-width: 1024px) {
  .note-photo { aspect-ratio: 16 / 9; } /* full width once the schedule stacks */
}
@media (max-width: 860px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .mosaic--gallery .mosaic-tile:first-child { grid-row: span 1; }
  .mosaic--gallery .mosaic-tile:last-child { grid-column: span 2; }
  .banner-photo { aspect-ratio: 16 / 9; }
}
/* big homepage tile: keep the bottom-right corner (AI watermark) and the main subject in view at every size */
.mosaic:not(.mosaic--gallery) .mosaic-tile:first-child img { object-position: 80% 100%; }
@media (min-width: 481px) and (max-width: 860px) {
  .mosaic:not(.mosaic--gallery) .mosaic-tile:first-child { grid-row: span 3; } /* full width: taller, so the photo is not cut to a thin strip */
}
@media (max-width: 480px) {
  .mosaic { gap: 10px; grid-auto-rows: 150px; }
  .mosaic-cap { padding: 36px 12px 12px; }
  .mosaic-cap span { display: none; }
  .mosaic .ph-label { display: none; } /* tiles are small; the caption says enough */
}
@media (prefers-reduced-motion: reduce) {
  .has-photo:hover .ph img, .mosaic-tile:hover img { transform: none; }
}

.ttc-quiz-link + .ttc-quiz-link { margin-left: 22px; }

/* =========================================================
   Living photos: every image drifts in a very slow zoom (Ken Burns),
   so nothing looks static but nothing pulls the eye either.
   Uses the separate `scale`/`translate` properties, so hover
   effects that use `transform` still work on top of it.
   ========================================================= */
@keyframes kenBurns {
  0%   { scale: 1;    translate: 0 0; }
  100% { scale: 1.09; translate: -1.5% -1%; }
}
@keyframes kenBurnsAlt {
  0%   { scale: 1.09; translate: 1.5% 0; }
  100% { scale: 1;    translate: 0 1%; }
}
.ph img,
.jr-card-img img,
.jr-feature-img img,
.jr-cover img,
.hero-bg {
  animation: kenBurns 28s ease-in-out infinite alternate;
  will-change: scale, translate;
}
/* vary the rhythm so neighbouring photos never move in step */
.mosaic-tile:nth-child(even) img,
.rt-site:nth-child(even) .ph img,
.ol-card:nth-child(even) .ph img,
.rt-dest:nth-child(even) .ph img,
.jr-card:nth-child(even) .jr-card-img img { animation-name: kenBurnsAlt; animation-duration: 32s; }
.mosaic-tile:nth-child(3n) img,
.rt-site:nth-child(3n) .ph img,
.course:nth-child(2) .ph img,
.jr-card:nth-child(3n) .jr-card-img img { animation-duration: 36s; animation-delay: -9s; }
/* the homepage hero keeps its gentle opening zoom, then keeps breathing */
.hero .hero-bg { animation: heroZoom 14s var(--ease-out) forwards, kenBurns 40s ease-in-out 14s infinite alternate; }
.cp-hero .hero-bg { animation: kenBurns 40s ease-in-out infinite alternate; }

/* Placeholders breathe too: the light ripples drift very slowly */
@keyframes phDrift { to { background-position: 60px 40px; } }
.ph::before { animation: phDrift 30s linear infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  .ph img, .jr-card-img img, .jr-feature-img img, .jr-cover img,
  .hero .hero-bg, .cp-hero .hero-bg, .ph::before { animation: none !important; scale: none; translate: none; }
}

/* One heading format everywhere: small spaced eyebrow, bold title, centred */
.section-head .section-title { text-align: center; }
.section-sub em { font-style: normal; font-weight: 600; color: var(--gold-500); }
.why .section-head, .contact .section-head { max-width: 46rem; }
.contact .section-sub { color: #c3d2c8; }
.yfl .section-head .yfl-title span { font-size: 0.55em; }
.cp-head { max-width: 46rem; margin-inline: auto; text-align: center; }
.cp-head .section-title { text-align: center; }
.cp-head p:not(.eyebrow) { margin-inline: auto; }
/* Headings that sit beside a badge or card keep to their column */
.cp-cert .cp-head, .rt-fee-grid .cp-head, .cp-schedule-wrap .cp-head { margin-inline: 0; text-align: left; }
.cp-cert .cp-head .section-title, .rt-fee-grid .cp-head .section-title, .cp-schedule-wrap .cp-head .section-title { text-align: left; }
.jr-list-head { flex-direction: column; align-items: center; text-align: center; }
.jr-list-head .jr-filters { justify-content: center; }
/* =========================================================
   Before You Enrol: a "document" sheet with a turning seal and
   a tick that draws itself as each condition scrolls into view
   ========================================================= */
.pre {
  padding-block: clamp(80px, 10vw, 128px);
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(236, 196, 110, 0.18), transparent 70%),
    #fffdf8;
}
.pre-sheet {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px) clamp(20px, 5vw, 64px);
  border-radius: 4px;
  background:
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(207, 180, 106, 0.08) 39px 40px),
    #fff;
  border: 1px solid #ecdfc2;
  box-shadow: 0 50px 90px -60px rgba(90, 60, 10, 0.55);
}
.pre-sheet::before { /* inner dashed border, like a certificate */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed #e6d5aa;
  border-radius: 4px;
  pointer-events: none;
}
.pre-sheet { margin-top: 70px; padding-top: 84px; } /* room under the seal */
.pre-seal {
  position: absolute;
  top: -66px; right: 18px;
  display: grid;
  place-items: center;
  width: 124px; height: 124px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 55%, #f6ecd2);
  border: 1px solid #e3cd8e;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9), 0 18px 40px -16px rgba(90, 60, 10, 0.6);
}
.pre-seal > svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  animation: preTurn 26s linear infinite;
}
.pre-seal text { font-size: 9.6px; font-weight: 600; letter-spacing: 0.16em; fill: #a8742a; font-family: var(--font); }
.pre-seal span {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(160deg, #f1dfa8, var(--gold-500));
  box-shadow: 0 0 20px rgba(220, 197, 132, 0.6);
}
.pre-seal span svg { width: 28px; height: 28px; fill: none; stroke: var(--forest-900); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes preTurn { to { transform: rotate(360deg); } }
.pre-list { position: relative; margin: 0; padding: 0; list-style: none; }
.pre-item {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 40px;
  gap: 18px;
  align-items: start;
  padding: 24px 0 24px 22px;
  border-bottom: 1px dashed #e6d5aa;
}
.pre-item:last-child { border-bottom: 0; }
.pre-item::before { /* gold bar on the left that grows in */
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-500), #e8b04a);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 700ms var(--ease-out) 150ms;
}
.pre-item.is-visible::before { transform: scaleY(1); }
.pre-num { font-size: 20px; font-weight: 500; line-height: 1.3; color: #b58d3d; white-space: nowrap; }
.pre-item h3 { margin: 0 0 6px; font-size: clamp(17px, 1.6vw, 19px); font-weight: 600; color: var(--green-800); }
.pre-item p { margin: 0; font-size: 15px; line-height: 1.7; color: #5b6a5f; }
.pre-item strong { color: var(--green-800); font-weight: 600; }
.pre-tick {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e3cd8e;
  transition: background 400ms 500ms, border-color 400ms 500ms;
}
.pre-tick svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 500ms var(--ease-out) 800ms; }
.pre-item.is-visible .pre-tick { background: #3f9a62; border-color: #3f9a62; }
.pre-item.is-visible .pre-tick svg { stroke-dashoffset: 0; }

/* =========================================================
   Zero tolerance policies: dark, serious, gold-edged cards
   ========================================================= */
.pol {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 128px);
  color: #fff;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(220, 197, 132, 0.16), transparent 70%),
    linear-gradient(180deg, #13261d 0%, #0b1712 100%);
}
.pol .dil-head .eyebrow { color: var(--gold-400); }
.pol .section-title { color: #fff; }
.pol .dil-intro { color: #c3d2c8; }
.pol .dil-intro strong { color: #f6e7bd; font-weight: 600; }
.pol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pol-card {
  position: relative;
  padding: 28px 26px;
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(220, 197, 132, 0.18);
  transition: border-color 400ms, transform 400ms var(--ease-out), box-shadow 400ms;
}
.pol-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 197, 132, 0.6);
  box-shadow: 0 0 34px -8px rgba(220, 197, 132, 0.35);
}
.pol-ic {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(220, 197, 132, 0.45);
  background: rgba(220, 197, 132, 0.08);
}
.pol-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-400); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pol-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; color: #fff; }
.pol-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: #b9c9bf; }

/* =========================================================
   Getting here: three steps joined by a flight path, then
   honest safety advice and a bold invitation to call us
   ========================================================= */
.trv {
  padding-block: clamp(80px, 10vw, 128px);
  background: linear-gradient(180deg, #fbf7ee 0%, #f6efdf 100%);
}
.trv-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: 0 0 clamp(40px, 6vw, 64px);
  padding: 0;
  list-style: none;
  text-align: center;
}
.trv-steps::before { /* dashed flight path between the three icons */
  content: "";
  position: absolute;
  top: 38px; left: 16%; right: 16%;
  border-top: 2px dashed #d8c08a;
}
.trv-steps::after { /* a small plane flying along it */
  content: "";
  position: absolute;
  top: 27px; left: 16%;
  width: 22px; height: 22px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8742a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E");
  transform: rotate(45deg);
  animation: trvFly 9s ease-in-out infinite;
}
@keyframes trvFly {
  0% { left: 16%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(84% - 22px); opacity: 0; }
}
.trv-step { position: relative; z-index: 1; }
.trv-ic {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(160deg, #2f6b4f, var(--green-800));
  box-shadow: 0 0 0 8px #fbf7ee, 0 0 0 9px #e6d5aa, 0 20px 36px -16px rgba(20, 42, 34, 0.7);
}
.trv-ic svg { width: 32px; height: 32px; fill: none; stroke: var(--gold-400); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trv-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #a8742a; }
.trv-step h3 { margin: 0 0 8px; font-size: 21px; font-weight: 600; color: var(--green-800); }
.trv-step > p:last-child { max-width: 30ch; margin: 0 auto; font-size: 15px; line-height: 1.7; color: #5b6a5f; }
.trv-step strong { color: var(--green-800); font-weight: 600; }

.trv-safety {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ecdfc2;
  box-shadow: 0 50px 90px -60px rgba(90, 60, 10, 0.55);
}
.trv-safety-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.trv-shield {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 4px;
  background: linear-gradient(160deg, #f1dfa8, var(--gold-500));
  box-shadow: 0 12px 26px -12px rgba(207, 180, 106, 0.9);
}
.trv-shield svg { width: 30px; height: 30px; fill: none; stroke: var(--forest-900); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trv-safety-head h3 { margin: 0 0 6px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; color: var(--green-800); }
.trv-safety-head p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #5b6a5f; }
.trv-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.trv-col { padding: 22px 22px 8px; border-radius: 4px; }
.trv-col--do { background: #eef6f0; border: 1px solid #cfe5d6; }
.trv-col--dont { background: #fbefea; border: 1px solid #f0d3c8; }
.trv-col-title { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.trv-col--do .trv-col-title { color: #2f7a4c; }
.trv-col--dont .trv-col-title { color: #b0452e; }
.trv-col ul { margin: 0; padding: 0; list-style: none; }
.trv-col li { position: relative; margin: 0 0 14px; padding-left: 34px; font-size: 14.5px; line-height: 1.6; color: #44564b; }
.trv-col li strong { color: #1f2f27; font-weight: 600; }
.trv-col li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: no-repeat center / 13px;
}
.trv-col--do li::before { background-color: #3f9a62; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.trv-col--dont li::before { background-color: #c8553d; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }

.trv-help {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: 4px;
  color: #fff;
  background:
    radial-gradient(circle at 0% 0%, rgba(220, 197, 132, 0.3), transparent 50%),
    linear-gradient(160deg, #1d4433, #0c1d16);
  box-shadow: 0 0 0 1px rgba(220, 197, 132, 0.35);
}
.trv-help p { flex: 1; margin: 0; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; }
.trv-help strong { font-weight: 700; color: #fff; }
.trv-help-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(220, 197, 132, 0.15);
  border: 1px solid rgba(220, 197, 132, 0.5);
  animation: dilPulseGold 2s ease-out infinite;
}
.trv-help-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-400); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes dilPulseGold { 0% { box-shadow: 0 0 0 0 rgba(220, 197, 132, 0.5); } 100% { box-shadow: 0 0 0 14px rgba(220, 197, 132, 0); } }
.trv-help .btn { flex: none; margin: 0; }

@media (max-width: 900px) {
  .pol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trv-steps { grid-template-columns: 1fr; }
  .trv-steps::before, .trv-steps::after { display: none; }
  .trv-cols { grid-template-columns: 1fr; }
  .trv-help { flex-wrap: wrap; }
  .trv-help .btn { width: 100%; }
}
@media (max-width: 600px) {
  .pol-grid { grid-template-columns: 1fr; }
  .pre-item { grid-template-columns: minmax(0, 1fr) 32px; padding-left: 16px; }
  .pre-num { grid-column: 1 / -1; font-size: 16px; margin-bottom: -10px; }
  .pre-seal { width: 96px; height: 96px; top: -56px; right: 50%; transform: translateX(50%); }
  .pre-sheet { padding-top: 54px; }
  .pre-seal span { width: 42px; height: 42px; }
  .trv-safety-head { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .pre-seal > svg, .trv-steps::after, .trv-help-ic { animation: none; }
  .trv-steps::after { display: none; }
}

/* Floating WhatsApp button (added by main.js), bottom-left */
.wa-float {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 95;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 5px rgba(20, 42, 34, 0.55), 0 12px 28px -8px rgba(0, 0, 0, 0.5);
  transition: transform var(--dur-fast) var(--ease-out), bottom 450ms var(--ease-out);
}
.wa-float::before { /* soft pulse to draw the eye */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { to { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }
.wa-float svg { width: 24px; height: 24px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
.wa-float:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 4px; }
.wa-float-tip {
  position: absolute;
  left: calc(100% + 14px);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--green-800);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur-fast), transform var(--dur-fast);
  pointer-events: none;
}
.wa-float:hover .wa-float-tip,
.wa-float:focus-visible .wa-float-tip { opacity: 1; transform: none; }
.cp-dock.is-shown ~ .wa-float { bottom: 92px; } /* sit above the floating section menu */
body.nav-open .wa-float { display: none; }
@media (max-width: 640px) {
  .wa-float { left: 14px; bottom: 14px; width: 42px; height: 42px; }
  .wa-float svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
@media print { .wa-float { display: none; } }

.yfl-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
@media (max-width: 700px) { .yfl-rooms { grid-template-columns: 1fr; max-width: 520px; } }

/* =========================================================
   A Day in the Life: dawn-to-night cards, a sun that travels with
   the real time in India, and a live "right now" line (main.js)
   ========================================================= */
.dil {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(80px, 10vw, 128px);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(236, 196, 110, 0.28), transparent 70%),
    linear-gradient(180deg, #fffaf0 0%, #f8f0de 100%);
}
.dil-stars { /* a soft rising sun glow behind the heading */
  position: absolute;
  top: -180px; left: 50%;
  z-index: -1;
  width: 520px; height: 520px;
  margin-left: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 205, 120, 0.45), transparent 65%);
  animation: dilGlow 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dilGlow { 50% { transform: scale(1.12); opacity: 0.75; } }
.dil-head { max-width: 46rem; margin: 0 auto clamp(30px, 4vw, 44px); text-align: center; }
.dil-head .eyebrow { color: #a8742a; }
.dil-intro { margin: 14px auto 0; font-size: 16.5px; line-height: 1.75; color: #5b6a5f; }

/* Course switcher (homepage) */
.dil-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 26px;
  padding: 6px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ecdfc2;
  box-shadow: 0 14px 30px -24px rgba(90, 60, 10, 0.5);
}
.dil-tab {
  min-height: 42px;
  padding: 8px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-800);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast);
}
.dil-tab:hover { background: #f8f0de; }
.dil-tab[aria-selected="true"] {
  color: var(--forest-900);
  background: linear-gradient(160deg, #f4e6bb, #dcc584 55%, #cfb46a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 18px -10px rgba(207, 180, 106, 0.9);
}

/* Live line */
.dil-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 9px 18px;
  font-size: 14px;
  line-height: 1.45;
  color: #3f564a;
  text-align: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ecdfc2;
}
.dil-now strong { color: var(--green-800); }
.dil-pulse {
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #3f9a62;
  box-shadow: 0 0 0 0 rgba(63, 154, 98, 0.6);
  animation: dilPulse 1.8s ease-out infinite;
}
@keyframes dilPulse { to { box-shadow: 0 0 0 12px rgba(63, 154, 98, 0); } }

/* Sun travelling across the day */
.dil-track {
  position: relative;
  height: 4px;
  margin: 0 8px 26px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f7d79a, #f0b43c 35%, #d98a3a 65%, #1f3d2f);
}
.dil-sun {
  position: absolute;
  top: 50%; left: 0;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7d6, #f0b43c 60%, #d98a3a);
  box-shadow: 0 0 0 6px rgba(240, 180, 60, 0.2), 0 0 24px 6px rgba(240, 180, 60, 0.55);
  transition: left 1s var(--ease-out);
}
.dil-track.is-night .dil-sun { /* after dark the sun becomes the moon */
  background: radial-gradient(circle at 35% 35%, #ffffff, #dfe8e1 70%);
  box-shadow: 0 0 0 6px rgba(223, 232, 225, 0.2), 0 0 22px 4px rgba(223, 232, 225, 0.5);
}

/* Four cards, dawn to night */
.dil-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dil-card {
  --acc: #a8742a;
  --ink: var(--green-800);
  --muted: #5b6a5f;
  --line: #ecdfc2;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 24px 22px 26px;
  border-radius: 4px;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 30px 50px -40px rgba(90, 60, 10, 0.55);
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.dil-card:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -36px rgba(90, 60, 10, 0.6); }
.dil-card + .dil-card::before { /* small chevron between cards */
  content: "";
  position: absolute;
  top: 50%; left: -2px;
  width: 9px; height: 9px;
  border-top: 2px solid #cfb46a;
  border-right: 2px solid #cfb46a;
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 0;
}
.dil-card--morning { background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%); }
.dil-card--midday { --acc: #9a6a1f; background: linear-gradient(180deg, #fbf3e2 0%, #f5e8cc 100%); }
.dil-card--afternoon { --acc: #7a4c10; --muted: #5d4a2c; --line: #dfc48a; background: linear-gradient(180deg, #f1dcab 0%, #e6c582 100%); }
.dil-card--evening {
  --acc: var(--gold-400);
  --ink: #fff;
  --muted: #b9c9bf;
  --line: rgba(220, 197, 132, 0.25);
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 70% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 85% 45%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 40% 60%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 15% 80%, rgba(255, 255, 255, 0.6), transparent),
    linear-gradient(180deg, #1d4433 0%, #0c1d16 100%);
}
.dil-watermark {
  position: absolute;
  right: -26px; bottom: -26px;
  z-index: -1;
  width: 150px; height: 150px;
  opacity: 0.12;
  pointer-events: none;
}
.dil-watermark svg { width: 100%; height: 100%; fill: none; stroke: var(--acc); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.dil-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.dil-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px -10px rgba(90, 60, 10, 0.6);
}
.dil-card--evening .dil-ic { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(220, 197, 132, 0.35); box-shadow: none; }
.dil-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--acc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dil-card-head h3 { margin: 0; font-size: 19px; font-weight: 600; color: var(--ink); }
.dil-card-head p { margin: 2px 0 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc); }
.dil-items { margin: 0; padding: 0; list-style: none; }
.dil-item {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 10px;
  margin: 0 -10px;
  border-radius: 4px;
  border-bottom: 1px dashed var(--line);
  transition: background 300ms;
}
.dil-item:last-child { border-bottom: 0; }
.dil-item time { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--acc); }
.dil-item strong { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.dil-item span { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* The activity happening right now in India */
.dil-item.is-now {
  border-bottom-color: transparent;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 3px 0 0 var(--gold-500), 0 10px 24px -16px rgba(90, 60, 10, 0.6);
}
.dil-card--evening .dil-item.is-now { background: rgba(255, 255, 255, 0.08); }
.dil-item.is-now::after {
  content: "Now";
  position: absolute;
  top: 12px; right: 10px;
  padding: 2px 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 999px;
  background: #3f9a62;
  box-shadow: 0 0 0 4px rgba(63, 154, 98, 0.18);
}
.dil-card.is-current { box-shadow: 0 0 0 2px var(--gold-400), 0 30px 60px -30px rgba(207, 180, 106, 0.7); }

.dil-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.dil-notes li {
  max-width: 360px;
  padding: 10px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #5b6a5f;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #ecdfc2;
}
.dil-notes strong { display: block; color: var(--green-800); }
.dil-more { margin: 22px 0 0; text-align: center; }
.dil-more a { font-size: 15px; font-weight: 600; color: var(--green-700); border-bottom: 1px dashed rgba(47, 90, 68, 0.4); }
.dil-more a:hover { border-bottom-color: var(--green-700); }
.dil-close {
  max-width: 40rem;
  margin: clamp(30px, 4vw, 46px) auto 0;
  font-size: clamp(19px, 2vw, 24px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
  color: var(--green-800);
}
.dil-close em { font-weight: 500; color: #a8742a; }

@media (min-width: 1101px) {
  .dil-card + .dil-card::before { opacity: 1; left: -11px; position: absolute; }
  .dil-card { overflow: visible; }
  .dil-watermark { overflow: hidden; right: 0; bottom: 0; width: 124px; height: 124px; border-radius: 0 0 4px 0; }
}
@media (max-width: 1100px) {
  .dil-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .dil-cards { grid-template-columns: 1fr; }
  .dil-track { display: none; }
  .dil-tabs { border-radius: 4px; }
  .dil-tab { flex: 1 1 40%; padding-inline: 10px; }
  .dil-now { border-radius: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .dil-stars, .dil-pulse { animation: none; }
}

/* =========================================================
   Why Choose Us: sticky story panel + eight pillars that light up
   one by one as the visitor scrolls (main.js adds .is-active)
   ========================================================= */
.why--story { overflow: clip; } /* clip, not hidden, so the left panel can stay sticky */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}
.why-aside { position: sticky; top: 118px; }
.why-title { text-align: left; }
.why-title span {
  display: block;
  background: linear-gradient(100deg, #f6e7bd, var(--gold-500) 60%, #e9d39a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.why-intro { margin: 18px 0 0; max-width: 34rem; font-size: 16.5px; line-height: 1.75; color: #c3d2c8; }
.why-intro em { color: var(--gold-400); font-style: normal; font-weight: 600; }

.why-photo-wrap { position: relative; margin-top: 30px; padding-bottom: 26px; }
.why-photo {
  --ph-a: #2f6b4f;
  --ph-b: #0d1f17;
  aspect-ratio: 16 / 11;
  border-radius: 4px;
  border: 1px solid rgba(220, 197, 132, 0.35);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.9);
}
.why-stat {
  position: absolute;
  right: -14px; bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.7);
  animation: floaty 5s ease-in-out infinite;
}
.why-stat strong {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(160deg, #cfb46a, #8a6a1f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.why-stat span { font-size: 12.5px; font-weight: 500; line-height: 1.35; color: var(--green-800); }

.why-progress { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.why-progress-count { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: #8fa596; white-space: nowrap; }
.why-progress-count b { font-size: 22px; letter-spacing: 0; color: var(--gold-400); }
.why-progress-rail { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.why-progress-fill {
  display: block;
  width: 12.5%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-500), #f6e7bd);
  box-shadow: 0 0 12px rgba(220, 197, 132, 0.7);
  transition: width 600ms var(--ease-out);
}

.why-list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.why-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding: 30px 0 30px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.why-item:first-child { padding-top: 6px; }
.why-item::before { /* gold bar that grows beside the active pillar */
  content: "";
  position: absolute;
  left: 0; top: 30px; bottom: 30px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-400), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 600ms var(--ease-out);
}
.why-item:first-child::before { top: 6px; }
.why-num {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-400);
  border: 1px solid rgba(220, 197, 132, 0.45);
  transition: background 500ms, color 500ms, box-shadow 500ms, border-color 500ms;
}
.why-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.why-item h3 { margin: 0 0 8px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; line-height: 1.3; color: #fff; }
.why-body > p:last-child { margin: 0; font-size: 15.5px; line-height: 1.75; color: #b9c9bf; }

/* Reading effect (JS only): pillars wait softly, light up as they reach the
   middle of the screen, and stay bright once read */
.js .why-item { opacity: 0.38; }
.js .why-item.is-seen { opacity: 0.8; }
.js .why-item.is-active,
.why-item:hover { opacity: 1; transform: translateX(6px); }
.why-item.is-active::before,
.why-item:hover::before { transform: scaleY(1); }
.why-item.is-active .why-num,
.why-item:hover .why-num {
  color: var(--forest-900);
  border-color: transparent;
  background: linear-gradient(160deg, #f1dfa8, var(--gold-500));
  box-shadow: 0 0 0 6px rgba(220, 197, 132, 0.14), 0 0 26px rgba(220, 197, 132, 0.55);
}

@media (max-height: 860px) and (min-width: 961px) {
  .why-photo { aspect-ratio: 2 / 1; } /* keep the whole sticky panel on short screens */
}
@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-aside { position: static; }
  .why-progress { display: none; }
  .why-photo-wrap { max-width: 560px; }
}
@media (max-width: 520px) {
  .why-item { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding-left: 12px; }
  .why-num { width: 46px; height: 46px; font-size: 13px; }
  .why-stat { right: -6px; padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .why-stat { animation: none; }
  .js .why-item.is-active, .why-item:hover { transform: none; }
}

/* =========================================================
   Homepage: Yoga for Life (15-day course, no certificate)
   ========================================================= */
.yfl {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 120px);
  background:
    radial-gradient(ellipse 50% 60% at 0% 30%, rgba(207, 180, 106, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(95, 144, 112, 0.16), transparent 70%),
    linear-gradient(180deg, #fbf7ec 0%, #f6f0df 100%);
}
.yfl-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.yfl-visual { position: relative; padding: 0 0 34px 0; }
.yfl-photo {
  --ph-a: #9a7426;
  --ph-b: #2f5a44;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px 4px 4px; /* temple-arch frame */
  box-shadow: 0 40px 80px -40px rgba(20, 42, 34, 0.6);
}
.yfl-photo::after { /* fine gold inner line along the arch */
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  border: 1px solid rgba(246, 231, 189, 0.55);
  border-radius: 190px 190px 4px 4px;
  pointer-events: none;
}
/* wide group photo: show the whole picture (and its AI watermark, bottom right) uncropped */
.yfl-photo--wide { aspect-ratio: 1400 / 781; border-radius: 4px; }
.yfl-photo--wide::after { border-radius: 4px; }
.yfl-photo--wide img { object-position: center; }
.yfl-visual:has(.yfl-photo--wide) { padding: 40px 0 34px; }
.yfl-visual:has(.yfl-photo--wide) .yfl-badge--days { top: 0; right: 24px; }
.yfl-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 22px 44px -22px rgba(20, 42, 34, 0.55);
}
.yfl-badge--days {
  top: 18%;
  right: -18px;
  padding: 14px 18px;
  animation: floaty 5s ease-in-out infinite;
}
.yfl-badge--days strong {
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(160deg, #cfb46a, #8a6a1f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.yfl-badge--days span { font-size: 12.5px; font-weight: 600; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-800); }
.yfl-badge--note {
  left: -14px;
  bottom: 0;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green-800);
  animation: floaty 5s ease-in-out -2.5s infinite;
}
.yfl-badge--note svg { width: 22px; height: 22px; fill: none; stroke: var(--green-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.yfl-title span {
  display: block;
  margin-top: 6px;
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #8a6a1f;
}
.yfl-lead { margin: 18px 0 0; font-size: 17px; line-height: 1.75; color: #3f564a; }
.yfl-takeaways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.yfl-takeaways li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #ece2c8;
  transition: transform 300ms var(--ease-out), box-shadow 300ms;
}
.yfl-takeaways li:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(20, 42, 34, 0.5); }
.yfl-takeaways strong { display: block; font-size: 15px; font-weight: 600; color: var(--green-800); }
.yfl-takeaways li > span:last-child { font-size: 13.5px; line-height: 1.45; color: #5b6f63; }
.yfl-ti {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 4px;
  background: linear-gradient(150deg, #f4e9cc, #e9d9ad);
}
.yfl-ti svg { width: 22px; height: 22px; fill: none; stroke: #8a6a1f; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.yfl-phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.yfl-phases li {
  position: relative;
  padding: 14px 14px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--green-800);
  border-top: 2px solid #dccb9a;
}
.yfl-phases li::before { /* progress dot on the line */
  content: "";
  position: absolute;
  top: -7px; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px #f8f2e2;
}
.yfl-phases li:last-child { border-top-color: var(--green-600); }
.yfl-phases li:last-child::before { background: var(--green-600); }
.yfl-phases b { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8a6a1f; }
.yfl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.yfl-actions .btn-green { border-radius: 4px; }
.yfl-actions .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.yfl-ghost { border-radius: 4px; color: var(--green-800); border-color: rgba(31, 61, 47, 0.35); background: transparent; }
.yfl-ghost:hover { background: rgba(31, 61, 47, 0.06); border-color: var(--green-800); }

.yfl-compare th[scope="col"] { color: var(--green-800); border-bottom: 3px solid var(--gold-500); }
.yfl-compare thead th:first-of-type { border-bottom-color: var(--green-600); }
.yfl-compare a { color: var(--green-700); }

@media (max-width: 960px) {
  .yfl-grid { grid-template-columns: 1fr; }
  .yfl-visual { max-width: 440px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) {
  .yfl-takeaways { grid-template-columns: 1fr; }
  .yfl-badge--days { right: -6px; }
  .yfl-badge--note { left: -6px; }
  .yfl-phases { font-size: 13px; }
  .ttc-quiz-link + .ttc-quiz-link { margin-left: 0; }
  .yfl-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .yfl-badge { animation: none !important; }
}

/* =========================================================
   Journal articles: rewritten layout helpers
   ========================================================= */
.jr-prose .jr-lead { font-size: 1.12em; line-height: 1.75; color: var(--green-800); }
.jr-key {
  margin: 8px 0 34px;
  padding: 22px 26px 8px;
  border-radius: 4px;
  background: linear-gradient(160deg, #f8f5ee, #f1ead6);
  border: 1px solid #e8dcbc;
}
.jr-key-title {
  margin: 0 0 12px !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6a1f;
}
.jr-key ul { margin-bottom: 14px !important; }
.jr-key li { margin-bottom: 8px !important; font-size: 0.95em; }
.jr-prose ol { counter-reset: jr; }
.jr-prose ol > li { counter-increment: jr; padding-left: 38px; }
.jr-prose ol > li::before {
  content: counter(jr);
  top: 0.2em; left: 0;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-700);
  background: #e4efe7;
  box-shadow: none;
}
.jr-terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}
.jr-term {
  padding: 18px 20px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  box-shadow: 0 14px 30px -26px rgba(20, 42, 34, 0.5);
}
.jr-term h3, .jr-term h4 { margin: 0 0 6px !important; font-size: 17px !important; }
.jr-term .jr-sk { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6a1f; }
.jr-term p { margin: 0 !important; font-size: 15.5px; line-height: 1.7; }
.jr-terms--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jr-table-wrap { overflow-x: auto; margin: 0 0 28px; border-radius: 4px; border: 1px solid #e3ebe5; background: #fff; }
.jr-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.jr-table th, .jr-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eef2ef; }
.jr-table thead th { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-700); background: var(--mist-50); }
.jr-table tbody tr:last-child > * { border-bottom: 0; }
.jr-prose blockquote p { margin: 0; }
.jr-prose blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: #8a6a1f; }
.jr-close {
  margin: 34px 0 10px;
  padding: 22px 26px;
  border-radius: 4px;
  color: #eef3ef;
  background: linear-gradient(160deg, #1d4433, #0c1d16);
}
.jr-close p { margin: 0 !important; }
.jr-close strong { color: var(--gold-400) !important; }
@media (max-width: 640px) {
  .jr-terms, .jr-terms--3 { grid-template-columns: 1fr; }
  .jr-key { padding: 18px 18px 6px; }
}

/* img.wm-safe used to pin photos to their bottom-right AI mark; marks removed 2026-11-12, so photos are centred again */

/* =========================================================
   Where you stay (MVT Guesthouse) + room photo galleries
   ========================================================= */
.stay { background: linear-gradient(180deg, #f7f3e8 0%, #f2f6f1 100%); }
.stay-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(150px, 15vw, 210px));
  gap: 12px;
}
.stay-shot { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: #dfe8e1; }
.stay-shot--big { grid-row: span 2; }
.stay-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease-out); }
.stay-shot:hover img { transform: scale(1.04); }
.stay-shot figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 28px 14px 10px;
  font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 14, 0.7));
}
.stay-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.stay-card {
  min-width: 0;
  display: flex; flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e3ebe5;
  box-shadow: 0 20px 40px -32px rgba(20, 42, 34, 0.45);
}
.stay-card h3 { margin: 0 0 8px; font-size: 21px; font-weight: 600; color: var(--green-800); }
.stay-card > p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: #4d6457; }
.stay-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.stay-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #2f4337; }
.stay-list svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; background: var(--green-600); }
.stay-rating { display: flex; align-items: center; gap: 12px; margin: auto 0 0 !important; padding-top: 16px; border-top: 1px solid #eef2ef; font-size: 14px; line-height: 1.45; color: #2f4337; }
.stay-rating b { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 4px 4px 4px 2px; font-size: 18px; color: #fff; background: #003b95; }
.stay-rating small { color: #6a7e72; }
.stay-cta { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) {
  .stay-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .stay-shot { aspect-ratio: 3 / 2; }
  .stay-shot--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .stay-info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) { .stay-shot figcaption { font-size: 12px; padding: 22px 10px 8px; } }

/* photo + thumbnails at the top of each room card */
.cp-room-gallery { margin: -28px -24px 20px; }
.cp-room-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px 4px 0 0; }
.cp-room-thumbs { display: flex; gap: 8px; padding: 10px 24px 0; }
.cp-room-thumbs button {
  flex: 1; padding: 0; overflow: hidden; cursor: pointer;
  aspect-ratio: 3 / 2; border-radius: 4px;
  border: 2px solid transparent; background: none; opacity: 0.6;
  transition: opacity 200ms, border-color 200ms;
}
.cp-room-thumbs button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-room-thumbs button:hover { opacity: 0.9; }
.cp-room-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--gold-400); }

/* header button: compact, so it always sits inside the pill */
.header-cta.btn { min-height: 40px; padding: 8px 18px; font-size: 14px; border-radius: 4px; }
.header-actions { flex: none; }

/* Header hides while scrolling down and returns on scroll up */
.site-header { transition: transform 350ms var(--ease-out); }
.site-header.is-hidden { transform: translateY(calc(-100% - 12px)); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* Back-to-top button, bottom-right */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 95;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid rgba(220, 197, 132, 0.45);
  border-radius: 50%;
  background: var(--green-700);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 250ms, transform 250ms var(--ease-out), visibility 250ms, bottom 450ms var(--ease-out), background-color var(--dur-fast);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-800); }
.to-top:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 4px; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-400); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cp-dock.is-shown ~ .to-top { bottom: 92px; } /* sit above the floating section menu */
body.nav-open .to-top { display: none; }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; } }
@media print { .to-top { display: none; } }

/* Overview: highlights sit under the intro text, beside the "At a glance" card (no empty gap) */
.cp-highlights.cp-highlights--side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.cp-highlights--side .cp-hl { padding: 20px 18px; }
@media (max-width: 480px) { .cp-highlights.cp-highlights--side { grid-template-columns: minmax(0, 1fr); } }

/* Contact: details and form side by side, map in a full-width strip below */
.contact-grid > .contact-map { grid-column: 1 / -1; margin-top: 8px; aspect-ratio: auto; height: clamp(240px, 30vw, 340px); }
.contact-grid { align-items: center; } /* details sit level with the middle of the form */

/* Article images waiting for a new photo: show the site's green placeholder instead of an empty white box */
.jr-feature-img,
.jr-cover-frame:empty {
  background:
    radial-gradient(circle at 78% 18%, rgba(220, 197, 132, 0.38), transparent 52%),
    linear-gradient(155deg, #2f5a44, #10271e);
}
.jr-cover-frame:empty { aspect-ratio: 1200 / 680; max-height: 560px; }

/* Yoga Retreats hub: photo of three seekers on a ridge above Rishikesh */
.rt-hero--hub .hero-bg { background-image: url("../images/hero-ridge.jpg"); background-position: center 70%; }
@media (max-width: 640px) {
  .rt-hero--hub .hero-bg { background-image: url("../images/hero-ridge-mobile.jpg"); }
}

/* Syllabus cards: a framed photo panel on the right (images/modules/<topic>.webp) */
.cp-mod:has(.cp-mod-photo) { padding-right: calc(27% + 26px); }
.cp-mod-photo {
  position: absolute;
  inset: 10px 10px 10px auto;
  width: 27%;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #e3eee6;
  box-shadow: 0 0 0 1px #dfe8e1, 0 0 0 5px #fff, 0 0 0 6px rgba(201, 168, 92, 0.45); /* white mat + thin gold frame */
}
.cp-mod-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.cp-mod:hover .cp-mod-photo img { transform: scale(1.06); }
.cp-mod::after { z-index: 1; }

/* 200-hour badge as an award medal: turning gold text ring + ivory ribbon banner holding the Yoga Alliance logo */
.cp-cert-badge:has(.cp-cert-ring)::before { display: none; } /* the text ring replaces the dashed ring */
.cp-cert-ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  animation: spin 70s linear infinite;
  pointer-events: none;
}
.cp-cert-ring text { font: 600 3.9px 'Poppins', sans-serif; letter-spacing: 0.9px; fill: rgba(220, 197, 132, 0.85); }
.cp-cert-badge > div { translate: 0 -4%; }
.cp-cert-ribbon {
  position: absolute;
  left: 50%;
  bottom: -5%;
  z-index: 2;
  translate: -50% 0;
  width: 86%;
  filter: drop-shadow(0 12px 14px rgba(20, 42, 34, 0.35));
}
.cp-cert-ribbon::before { /* the ribbon: ivory band with swallowtail ends and fine gold rules */
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 93% 50%, 100% 100%, 0 100%, 7% 50%);
  background:
    linear-gradient(#c9a85c, #c9a85c) 0 9% / 100% 1px no-repeat,
    linear-gradient(#c9a85c, #c9a85c) 0 91% / 100% 1px no-repeat,
    linear-gradient(180deg, #fffdf6, #f3ead2);
}
.cp-cert-ribbon img { position: relative; display: block; width: 40%; height: auto; margin: 0 auto; padding: 2.6cqi 0; box-sizing: content-box; }
.cp-cert-badge:has(.cp-cert-ribbon) { margin-bottom: clamp(24px, 6%, 36px); }
@media (prefers-reduced-motion: reduce) { .cp-cert-ring { animation: none; } }

/* Code of Conduct: faint lights drifting slowly, like the "Why Choose" section */
.pol { isolation: isolate; }
.pol::before,
.pol::after {
  content: "";
  position: absolute;
  inset: -50% 0 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(246, 231, 189, 0.6), transparent),
    radial-gradient(1px 1px at 110px 90px, rgba(255, 240, 200, 0.5), transparent),
    radial-gradient(2px 2px at 170px 160px, rgba(220, 197, 132, 0.4), transparent),
    radial-gradient(1px 1px at 60px 200px, rgba(255, 255, 255, 0.45), transparent);
  background-size: 220px 240px;
  animation: drift 60s linear infinite;
}
.pol::after {
  background-size: 340px 300px;
  opacity: 0.6;
  animation-duration: 95s;
}
.pol .container { position: relative; }
.pol .container::before { /* a soft golden glow breathing slowly behind the heading */
  content: "";
  position: absolute;
  top: -60px; left: 50%;
  width: min(720px, 90%); height: 340px;
  translate: -50% 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(220, 197, 132, 0.16), transparent 65%);
  animation: polGlow 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes polGlow { from { opacity: 0.55; scale: 0.92; } to { opacity: 1; scale: 1.08; } }
@media (prefers-reduced-motion: reduce) {
  .pol::before, .pol::after, .pol .container::before { animation: none; }
}

/* Jagannath Puri retreat: the temple by the sea as the hero, shown in its own colours */
.rt-tone--puri .rt-hero .hero-bg {
  background-image: url("../images/retreat-hero-puri.jpg");
  background-position: 70% 40%;
  filter: brightness(1.05) saturate(1.05);
}
.rt-tone--puri .rt-hero .rt-tint { opacity: 0.18; }
.rt-tone--puri .rt-hero .cp-hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 22, 18, 0.9) 0%, rgba(8, 22, 18, 0.55) 45%, rgba(8, 22, 18, 0.1) 100%),
    linear-gradient(180deg, transparent 50%, rgba(8, 22, 18, 0.75) 100%);
}
@media (max-width: 640px) {
  .rt-tone--puri .rt-hero .hero-bg { background-image: url("../images/retreat-hero-puri-mobile.jpg"); background-position: center 30%; }
  .rt-tone--puri .rt-hero .cp-hero-shade { background: linear-gradient(180deg, rgba(8, 22, 18, 0.35) 0%, rgba(8, 22, 18, 0.88) 60%); }
}

/* Vrindavan retreat: Kusum Sarovar as the hero, with the page's usual heavy green grade (grey photo + teal tint + shade) */
.rt-tone--vrindavan .rt-hero .hero-bg {
  background-image: url('../images/retreat-hero-vrindavan.jpg');
  background-position: 40% 45%;
}
@media (max-width: 640px) {
  .rt-tone--vrindavan .rt-hero .hero-bg { background-image: url('../images/retreat-hero-vrindavan-mobile.jpg'); background-position: center 35%; }
}

/* Mayapur retreat: the domed temple across the Ganga as the hero, with the page's usual heavy grade */
.rt-tone--mayapur .rt-hero .hero-bg {
  background-image: url('../images/retreat-hero-mayapur.jpg');
  background-position: 40% 22%;
}
@media (max-width: 640px) {
  .rt-tone--mayapur .rt-hero .hero-bg { background-image: url('../images/retreat-hero-mayapur-mobile.jpg'); background-position: center 40%; }
}

/* Button pairs: the gold button's own 6px top margin pushed it out of line with its neighbour.
   When it sits in a row with another button, both line up and share one height. */
.btn-gold-glow:has(+ .btn), .btn + .btn-gold-glow,
.cp-actions .btn-gold-glow, .guide-actions .btn-gold-glow { margin-top: 0; align-self: auto; }
.cp-actions, .guide-actions { align-items: center; }

/* <button> buttons use the same line height as <a> buttons, so pairs match exactly */
button.btn { line-height: inherit; }

/* Retreat key-place cards: same neutral edge vignette as every other photo */
.rt-site .card-media figure:has(img)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--photo-vignette);
}
.photo-credit {
  position: absolute;
  right: 10px; bottom: 8px;
  z-index: 4;
  font-size: 10.5px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* ============================================================
   House photo grade (since 2026-11-15): natural colour, clean
   contrast, NO colour tint; a dark vignette round the edges of
   every photo. Only the page-top headers keep a colour grade.
   Add class "no-grade" to an image to skip the grade.
   ============================================================ */
:root {
  --photo-grade: brightness(0.9) contrast(1.05) saturate(1.03); /* a light black shade over every photo */
  --photo-vignette:
    radial-gradient(ellipse 110% 105% at 50% 45%, transparent 48%, rgba(0, 0, 0, 0.46) 100%),
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.16) 100%);
}
main img:not([src$=".svg"]):not([src*="logo"]):not(.no-grade),
.site-footer img:not([src$=".svg"]):not([src*="logo"]):not(.no-grade) {
  filter: var(--photo-grade);
}
.ph:has(> img)::after { /* soft dark vignette, deeper at the bottom */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--photo-vignette);
}
.mosaic-cap { z-index: 4; } /* captions stay above the photo vignette */

/* Vignette on photo frames that are not .ph placeholders */
.stay-shot::after, .jr-card-img::after, .jr-feature-img::after, .cp-mod-photo::after, .cp-room-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--photo-vignette);
}
.jr-card-img, .jr-feature-img, .cp-room-gallery { position: relative; }
.cp-room-gallery::after { inset: 0 0 auto 0; aspect-ratio: 3 / 2; border-radius: 4px 4px 0 0; } /* only over the main photo, not the thumbnails */
.stay-shot figcaption { z-index: 2; }

/* ============================================================
   Calm motion (2026-11-15): only slow, ambient movement stays
   (photo + header zoom, drifting specks, lineage chain, medal
   ring). Every pulsing, bouncing, spinning or shimmering loop
   is stopped so the site feels quiet and unhurried.
   ============================================================ */
.hero-title strong,
.pc-icon::after,
.badge-top, .badge-bottom::before,
.lcard:not([open])::after,
.ttc::before, .ttc::after,
.course, .path-cta, .rt-fee-card,
.path-orb--a, .path-orb--b, .path-orb--c,
.path-icon, .path-start::after,
.ol-hero-icon, .ol-icon, .rt-dest-icon, .why-stat, .yfl-badge--days, .yfl-badge--note,
.ol-orbit, .ol-orbit-core, .ol-orbit .ol-orbit-item,
.ol-steps::before,
.rt-glow, .rt-pin,
.gl-tile::after,
.pre-seal > svg,
.trv-steps::after, .trv-help-ic,
.wa-float::before,
.dil-stars,
.pol .container::before { animation: none !important; }
.wa-float::before, .path-start::after { opacity: 0; }

/* Hero: a quiet line of trust under the button (facts, not a sales pitch) */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}
.hero-trust li { display: flex; align-items: center; }
.hero-trust li + li::before { content: ""; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: rgba(220, 197, 132, 0.8); }
.hero-trust a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--dur-fast); }
.hero-trust a:hover { border-color: rgba(255, 255, 255, 0.6); }
.ht-stars { margin-right: 6px; letter-spacing: 1px; color: #f2c94c; }
@media (max-width: 640px) {
  .hero-trust { flex-direction: column; align-items: center; gap: 4px; font-size: 13px; }
  .hero-trust li + li::before { display: none; }
}

/* ============ Compare the three 200-hour trainings ============ */
.cmp-title { margin: clamp(48px, 7vw, 72px) 0 18px; text-align: center; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; color: #fff; }
.cmp { max-width: 1100px; margin-inline: auto; }
.cmp-scroll {
  overflow-x: auto;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #dfe8e1;
  box-shadow: 0 24px 48px -32px rgba(20, 42, 34, 0.45);
  -webkit-overflow-scrolling: touch;
}
.cmp-scroll:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }
.cmp-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; color: #3f5649; text-align: left; }
.cmp-table th, .cmp-table td { padding: 16px 18px; vertical-align: top; border-bottom: 1px solid #edf2ee; }
.cmp-table thead th { padding-top: 22px; font-size: 16px; font-weight: 600; vertical-align: bottom; border-bottom: 2px solid #e3ece5; }
.cmp-table thead a { color: var(--green-800); text-decoration: none; }
.cmp-table thead a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cmp-table tbody th { width: 19%; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: #8a6a1f; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table .is-current { background: #f4f8f5; }
.cmp-here { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6a1f; }
.cmp-divider th { padding: 12px 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #5b6f63; background: #f6f3ea; text-align: center; }
.cmp-shared td { color: #2c4237; }
.cmp-note { margin: 16px auto 0; max-width: 60ch; text-align: center; font-size: 14.5px; color: #5b6f63; }
.ttc .cmp-note { color: #c3d2c8; }
@media (max-width: 760px) {
  .cmp-scroll { border-radius: 4px; }
  .cmp-table th:first-child, .cmp-table td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 #edf2ee; }
  .cmp-divider th { position: static !important; }
}
.cmp-swipe { display: none; margin: 0 0 8px; text-align: right; font-size: 12.5px; color: #8a9b90; }
.ttc .cmp-swipe { color: #9fb3a6; }
@media (max-width: 760px) { .cmp-swipe { display: block; } }

/* ============ Teacher profiles (Guides & Mentors) ============ */
.tp-list { display: grid; gap: clamp(28px, 4vw, 44px); max-width: 1080px; margin-inline: auto; }
.tp {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 4px;
  background: #fff;
  border: 1px solid #dfe8e1;
  box-shadow: 0 24px 48px -36px rgba(20, 42, 34, 0.45);
}
.tp--flip .tp-photo { order: 2; }
.tp-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: #e3eee6; }
.tp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.tp-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--photo-vignette); }
.tp--gold  { --tp: #a8742a; }
.tp--green { --tp: #2f6b4f; }
.tp--rose  { --tp: #9a4f63; }
.tp-role { margin: 4px 0 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tp); }
.tp-name { margin: 0 0 18px; font-size: clamp(26px, 3vw, 34px); font-weight: 600; color: var(--green-800); }
.tp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.tp-facts li { padding: 12px 14px; border-radius: 4px; background: #f4f8f5; border: 1px solid #e6eee8; }
.tp-facts strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--green-800); }
.tp-facts span { display: block; font-size: 13px; line-height: 1.45; color: #5b6f63; }
.tp-sub { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6a1f; }
.tp-path { margin: 0 0 20px; font-size: 15.5px; line-height: 1.75; color: #3f5649; }
.tp-teaches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.tp-teaches li { padding: 6px 12px; border-radius: 4px; font-size: 13.5px; color: var(--green-800); background: #eef4ef; }
.tp-ask { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; color: var(--tp); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--dur-fast); }
.tp-ask:hover { border-color: currentColor; }
@media (max-width: 820px) {
  .tp { grid-template-columns: minmax(0, 1fr); }
  .tp--flip .tp-photo { order: 0; }
  .tp-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .tp-facts { grid-template-columns: minmax(0, 1fr); }
}

/* Homepage course section: two equal, big choice buttons + the comparison panel they open */
.ttc-choose { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 8px; }
.ttc-choose-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 22px;
  border-radius: 4px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(220, 197, 132, 0.45);
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.ttc-choose-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--gold-400); }
.ttc-choose-btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold-400); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ttc-choose-btn strong { color: var(--gold-400); font-weight: 600; }
.ttc-choose-chev { transition: transform 300ms var(--ease-out); }
.ttc-choose-btn[aria-expanded="true"] .ttc-choose-chev { transform: rotate(180deg); }
.ttc-choose-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.12); border-color: var(--gold-400); }
.ttc-compare { margin: 8px 0 clamp(36px, 5vw, 56px); animation: qIn 380ms var(--ease-out); }
.ttc-compare[hidden] { display: none; }
@media (max-width: 640px) { .ttc-choose-btn { width: 100%; justify-content: center; } }

/* "Letters from Rishikesh": a quiet, optional email sign-up (the guide itself never needs one) */
.letters { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(220, 197, 132, 0.25); max-width: 560px; }
.letters--center { margin-inline: auto; text-align: center; }
.letters-title { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: #f6e7bd; }
.letters-title span { font-weight: 400; font-size: 13.5px; color: #b9c9bf; }
.letters-text { margin: 0 0 14px; font-size: 14px; line-height: 1.65; color: #c3d2c8; }
.letters-row { display: flex; gap: 10px; flex-wrap: wrap; }
.letters--center .letters-row { justify-content: center; }
.letters-row input {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 15px;
}
.letters-row input::placeholder { color: #a9bcb0; }
.letters-row input:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; }
.letters-row input[aria-invalid="true"] { border-color: #e8a08c; }
.letters-row .btn { margin-top: 0; }
.letters-done { margin: 12px 0 0; font-size: 14px; color: #f6e7bd; }

/* Contact form: two equal ways to send */
.contact-send { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.contact-send .btn { flex: 1 1 180px; margin-top: 0; }
.contact-sent { margin: 12px 0 0; font-size: 14.5px; color: var(--green-800); }
.contact-form label small { font-weight: 400; opacity: 0.75; }
.contact-send .btn-ghost-light { color: var(--green-800); border-color: #b9cdbf; }
.contact-send .btn-ghost-light:hover { background: #eef4ef; border-color: var(--green-800); }

/* "How joining works": four calm steps */
.join-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.join-steps li { position: relative; padding: 24px 22px; border-radius: 4px; background: #fff; border: 1px solid #dfe8e1; }
.join-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%; background: #e3eee6; }
.join-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--green-800); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.join-num { position: absolute; top: 24px; right: 22px; font-size: 13px; font-weight: 600; color: #8a6a1f; }
.join-steps h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--green-800); }
.join-steps p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #4d6457; }
@media (max-width: 980px) { .join-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .join-steps { grid-template-columns: minmax(0, 1fr); } }

/* Homepage course section: closing banner (style of a call-out band, in our gold and green) */
.choose-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(115deg, #b8913f 0%, #8f6d2c 38%, #3d5a3f 78%, #24463a 100%);
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.75);
}
.choose-band-text { max-width: 560px; }
.choose-band-kicker { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.choose-band h3 { margin: 0 0 8px; font-family: 'Gilda Display', Georgia, serif; font-size: clamp(26px, 3vw, 36px); font-weight: 400; line-height: 1.15; color: #fff; }
.choose-band-text p:last-child { margin: 0; font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.9); }
.choose-band-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.choose-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.choose-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
.choose-btn--solid { color: #24463a; background: #fff; border: 1px solid #fff; }
.choose-btn--solid:hover { background: #f6efdc; }
.choose-btn--solid[aria-expanded="true"] svg { transform: rotate(180deg); }
.choose-btn--line { color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.6); }
.choose-btn--line:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.choose-btn--line:hover svg { transform: translateX(3px); }
.choose-band + .ttc-compare { margin-top: 20px; }
@media (max-width: 900px) {
  .choose-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .choose-band-actions, .choose-btn { width: 100%; }
}
/* Banner buttons: equal size; "Help me choose" is the warm, inviting one */
.choose-band-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(100%, 540px); }
.choose-btn { width: 100%; }
.choose-btn--gold {
  color: #1c3529;
  border: 1px solid transparent;
  background: linear-gradient(160deg, #f3e3b0, #d9b866 55%, #c9a24e);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.choose-btn--gold:hover { background: linear-gradient(160deg, #f7eac2, #e2c377 55%, #d1ab58); }
.choose-btn--gold:hover svg { transform: translateX(3px); }
@media (max-width: 520px) { .choose-band-actions { grid-template-columns: minmax(0, 1fr); } }
.choose-btn { white-space: nowrap; padding: 0 18px; letter-spacing: 0.08em; }
.choose-band-actions { width: min(100%, 580px); }
.choose-band-text { flex: 1 1 340px; }

/* ============================================================
   Secondary buttons, site-wide: no longer plain outlines.
   Frosted glass fill, a gold edge, an arrow that slides on hover,
   a gentle lift and one soft shine (on hover only, never looping).
   ============================================================ */
.btn-ghost-light,
.yfl-ghost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 10px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(220, 197, 132, 0.6);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px -14px rgba(0, 0, 0, 0.6);
  transition: transform 300ms var(--ease-out), border-color 300ms, background-color 300ms, box-shadow 300ms, color 300ms;
}
.btn-ghost-light:not(:has(svg))::after,
.yfl-ghost:not(:has(svg))::after { /* the arrow */
  content: "\2192";
  font-weight: 500;
  transition: transform 300ms var(--ease-out);
}
.btn-ghost-light::before,
.yfl-ghost::before { /* one soft shine that crosses on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(246, 231, 189, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
}
.btn-ghost-light:hover,
.btn-ghost-light:focus-visible {
  transform: translateY(-2px);
  color: #fff;
  border-color: var(--gold-400);
  background: linear-gradient(160deg, rgba(220, 197, 132, 0.28), rgba(220, 197, 132, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 16px 30px -14px rgba(0, 0, 0, 0.65), 0 0 0 4px rgba(220, 197, 132, 0.14);
}
.btn-ghost-light:hover::before, .yfl-ghost:hover::before { transform: translateX(120%); }
.btn-ghost-light:hover::after, .yfl-ghost:hover::after { transform: translateX(4px); }

/* on light backgrounds (15-day course, contact form) the same button in green */
.yfl-ghost,
.contact-send .btn-ghost-light {
  color: var(--green-800);
  border-color: rgba(47, 90, 68, 0.45);
  background: linear-gradient(160deg, #ffffff, #f1f6f2);
  box-shadow: 0 10px 22px -14px rgba(20, 42, 34, 0.45);
}
.yfl-ghost:hover,
.contact-send .btn-ghost-light:hover {
  transform: translateY(-2px);
  color: var(--green-800);
  border-color: var(--green-700, #2f5a44);
  background: linear-gradient(160deg, #ffffff, #e6f0e9);
  box-shadow: 0 16px 28px -14px rgba(20, 42, 34, 0.5), 0 0 0 4px rgba(47, 90, 68, 0.1);
}
@media (prefers-reduced-motion: reduce) {
  .btn-ghost-light, .yfl-ghost, .btn-ghost-light::before, .yfl-ghost::before, .btn-ghost-light::after { transition: none; }
}
/* richer secondary button: warm gold text, stronger edge, arrow in a gold circle */
.btn-ghost-light { color: #f6e7bd; border: 1.5px solid rgba(220, 197, 132, 0.85); background: linear-gradient(160deg, rgba(220, 197, 132, 0.18), rgba(255, 255, 255, 0.04)); padding-right: 12px; }
.btn-ghost-light:not(:has(svg))::after {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  color: #1c3529;
  background: linear-gradient(160deg, #f3e3b0, #d4b05c);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.5);
}
.btn-ghost-light:hover { color: #fff; }
.contact-send .btn-ghost-light { color: var(--green-800); border: 1.5px solid rgba(47, 90, 68, 0.5); }
.yfl-ghost { padding-right: 12px; border-width: 1.5px; }
.yfl-ghost:not(:has(svg))::after { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 15px; line-height: 1; color: #fff; background: var(--green-800); }
.btn-ghost-light, .yfl-ghost { padding-top: 8px; padding-bottom: 8px; min-height: 0; }
/* button pairs always share one height, whatever their content */
.cp-actions, .guide-actions, .contact-send { align-items: stretch; }

/* ============================================================
   Homepage hero (2026-11-28): blackish grade instead of the green.
   Photo in soft natural colour, a dark gradient over it, white text.
   ============================================================ */
.hero .hero-bg { filter: saturate(0.75) brightness(0.9) contrast(1.02); }
.hero .hero-tint { display: none; }
.hero .hero-mist,
.hero .hero-mist {
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(6, 10, 8, 0.72) 0%, rgba(6, 10, 8, 0.48) 38%, rgba(6, 10, 8, 0.42) 62%, rgba(6, 10, 8, 0.82) 100%);
}
.hero .hero-title { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero .hero-title strong {
  background: linear-gradient(100deg, #f6e7bd 0%, #dcc584 50%, #f6e7bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .hero-text { color: rgba(255, 255, 255, 0.9); font-weight: 400; }
@media (max-width: 640px) {
  .hero .hero-mist { background: linear-gradient(180deg, rgba(6, 10, 8, 0.7) 0%, rgba(6, 10, 8, 0.5) 45%, rgba(6, 10, 8, 0.85) 100%); }
}

/* Logo: no gold line under the mark (header, mobile menu and footer) */
.logo-rule { display: none; }
.hero .hero-text, .hero .hero-trust { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
/* homepage hero: black-and-white photo, no orange sunrise colour */
.hero .hero-bg { filter: grayscale(1) brightness(0.85) contrast(1.05); }
/* homepage hero: a whisper of the brand green over the black-and-white photo */
.hero .hero-tint { display: block; opacity: 0.28; }
/* homepage hero (final): the photo in its natural colours, blue morning sky (edited image), light dark overlay for the text */
.hero .hero-bg { filter: none; }
.hero .hero-tint { display: none; }
.hero .hero-mist {
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(6, 10, 8, 0.45) 0%, rgba(6, 10, 8, 0.25) 40%, rgba(6, 10, 8, 0.3) 62%, rgba(6, 10, 8, 0.78) 100%);
}
@media (max-width: 640px) {
  .hero .hero-mist { background: linear-gradient(180deg, rgba(6, 10, 8, 0.5) 0%, rgba(6, 10, 8, 0.32) 45%, rgba(6, 10, 8, 0.82) 100%); }
}
/* homepage hero: stronger blackish gradient over the blue-sky photo */
.hero .hero-mist {
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(4, 6, 6, 0.74) 0%, rgba(4, 6, 6, 0.52) 38%, rgba(4, 6, 6, 0.5) 62%, rgba(4, 6, 6, 0.86) 100%);
}
@media (max-width: 640px) {
  .hero .hero-mist { background: linear-gradient(180deg, rgba(4, 6, 6, 0.74) 0%, rgba(4, 6, 6, 0.55) 45%, rgba(4, 6, 6, 0.88) 100%); }
}
/* homepage hero: stronger black overlay */
.hero .hero-mist {
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.68) 38%, rgba(0, 0, 0, 0.66) 62%, rgba(0, 0, 0, 0.9) 100%);
}
@media (max-width: 640px) {
  .hero .hero-mist { background: linear-gradient(180deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.92) 100%); }
}

/* ============================================================
   Header pill in the site's deep green (2026-11-28); "Govindam Yoga"
   in one colour; light menu; gold "Start Your Journey".
   ============================================================ */
.header-inner,
.subpage .header-inner,
.site-header.is-scrolled .header-inner {
  background: rgba(24, 50, 38, 0.92);
  border-color: rgba(220, 197, 132, 0.28);
  box-shadow: 0 10px 34px -12px rgba(0, 0, 0, 0.5);
}
.logo-text, .logo-sub,
.footer-brand .logo-text, .footer-brand .logo-sub { color: #f4efe0; }
.menu-toggle span { background: #f4efe0; }
.header-cta.btn {
  color: #1c3529;
  border-color: transparent;
  background: linear-gradient(160deg, #f3e3b0, #d4b05c);
}
.header-cta.btn:hover { background: linear-gradient(160deg, #f7eac2, #dcbc6c); }
@media (min-width: 1201px) {
  .main-nav > ul > li > a:not(.btn),
  .main-nav > ul > li > .has-sub > a:not(.btn) { color: #cfdcd3; }
  .main-nav > ul > li > a:not(.btn):hover,
  .main-nav > ul > li > a[aria-current="page"],
  .main-nav > ul > li > .has-sub > a:not(.btn):hover { color: #fff; }
  .main-nav > ul > li .sub-toggle svg { stroke: #cfdcd3; }
}
/* phone/tablet menu open: the panel is light, so the pill turns light with dark text */
body.nav-open .site-header .header-inner { background: var(--mist-50); border-color: transparent; }
body.nav-open .logo-text, body.nav-open .logo-sub { color: var(--green-800); }
body.nav-open .menu-toggle span { background: var(--green-800); }

/* Homepage hero line: an engaging serif italic, like a quiet quote */
.hero .hero-text {
  max-width: 34ch;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.4;
  letter-spacing: 0.005em;
  color: #f3ead2;
}
.hero .hero-em { font-weight: 600; color: #e8cf8e; }
/* homepage hero button: a little smaller, not full-width on phones */
.hero .btn-lg { min-height: 52px; padding: 12px 32px; font-size: 16px; }
@media (max-width: 640px) { .hero .btn-lg { width: auto; min-height: 50px; padding: 12px 30px; } }

/* Features strip under the hero: three items, a little slimmer */
.features-grid { grid-template-columns: repeat(3, minmax(0, auto)); padding-block: clamp(18px, 3vh, 30px); }
.feature-icon { width: 56px; height: 56px; }
.feature-icon svg { width: 28px; height: 28px; }
.feature > div { max-width: 17rem; }
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
  .feature { padding-inline: 16px; }
  .feature:nth-child(odd) { padding-left: 16px; }
  .feature:first-child { padding-left: 0; }
  .feature:nth-child(3) { border-left: 1px solid rgba(220, 197, 132, 0.18); }
}
@media (max-width: 820px) {
  .features-grid { grid-template-columns: 1fr; padding-block: 10px; }
  .feature, .feature:nth-child(n) { padding: 16px 0; border-left: 0; }
  .feature + .feature { border-top: 1px solid rgba(220, 197, 132, 0.14); }
  .feature-icon { width: 52px; height: 52px; }
}
/* homepage hero button: the site's gold, matching the header button and other main buttons */
.hero .btn-pill {
  color: #1c3529;
  font-weight: 600;
  border: 1px solid transparent;
  background: linear-gradient(160deg, #f3e3b0, #d4b05c);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.hero .btn-pill:hover { background: linear-gradient(160deg, #f7eac2, #dcbc6c); box-shadow: 0 0 0 5px rgba(220, 197, 132, 0.18), 0 16px 32px -12px rgba(0, 0, 0, 0.6); }
/* small gold line under a pillar's text */
.why-note { margin-top: 10px !important; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400) !important; }
#whyList .why-body .why-note { margin: 12px 0 0 !important; font-size: 12px !important; line-height: 1.5 !important; letter-spacing: 0.16em; }

/* Lineage: logo badge moves to the card's top-right; the "4 Authentic Sampradayas" seal sits above the Garga Samhita text */
.lineage-visual .badge-bottom { top: 10px; right: 10px; bottom: auto; }
.lineage-badge.badge-inline {
  position: relative;
  top: auto; right: auto;
  margin: 0 0 22px;
}
@media (max-width: 900px) { .lineage-visual .badge-bottom { top: 6px; right: 6px; } }

/* Headings a little bolder across the site */
.section-title { font-weight: 700; }
.cp-title { font-weight: 500; }
.cp-title strong { font-weight: 700; }
/* banner buttons: never overflow; at medium widths the label shrinks a little, and may wrap on very narrow screens */
@media (max-width: 1100px) { .choose-btn { font-size: 13px; letter-spacing: 0.06em; padding: 8px 14px; } }
.choose-btn { white-space: normal; text-align: center; line-height: 1.25; }

/* FAQ: "Show more questions" under the first seven */
.faq-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 14px auto 0;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1.5px solid rgba(47, 90, 68, 0.35);
  background: #fff;
  color: var(--green-800);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.faq-more[hidden] { display: none; }
.faq-more:hover { border-color: var(--green-800); background: #f1f6f2; }
.faq-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
.faq-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-list { display: flex; flex-direction: column; }

/* Contact form: a little more compact */
.contact-form { gap: 12px; padding: clamp(20px, 3vw, 28px); border-radius: 4px; }
.contact-form h3 { font-size: 20px; }
.contact-form-note { margin: -8px 0 2px; font-size: 13.5px; }
.contact-form label { gap: 4px; }
.contact-form label > span { font-size: 13.5px; }
.contact-form input,
.contact-form select,
.contact-form textarea { min-height: 42px; padding: 9px 12px; font-size: 14.5px; border-radius: 4px; }
.contact-form textarea { min-height: 84px; }
.contact-send .btn { min-height: 44px; }
/* contact form: a field left empty or wrong is outlined until it is fixed */
.contact-form [aria-invalid="true"] { border-color: #d9826b; background: #fff6f3; }
.contact-form select:invalid { color: #7d8c83; }

/* Batch "Reserve" buttons: solid site green (the next batch keeps its gold button) */
.cp-date:not(.is-next) .cp-date-cta {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(160deg, #3a6b52, #24503c);
  box-shadow: 0 8px 18px -10px rgba(20, 42, 34, 0.6);
}
.cp-date:not(.is-next) .cp-date-cta:hover { color: #fff; background: linear-gradient(160deg, #2f5f47, #1b3f2f); }

/* Comparison table: heading row filled in the site green */
.cmp-table thead th,
.cmp-table thead td { background: linear-gradient(160deg, #2c5a44, #1d4031); border-bottom: 0; }
.cmp-table thead a { color: #f6efdc; }
.cmp-table thead a:hover { color: #fff; }
.cmp-table thead th.is-current { background: linear-gradient(160deg, #3a6b52, #285040); box-shadow: inset 0 -3px 0 var(--gold-400); }
.cmp-here { color: var(--gold-400); }

/* Long course title (Maha-Mantra Meditation TTC): "Meditation Teacher Training" stays on one line on wider screens */
.cp-title--long { font-size: clamp(30px, 3.4vw, 48px); text-wrap: wrap; }
@media (min-width: 900px) { .cp-title-keep { white-space: nowrap; } }

/* Optional Sunday music class: a highlighted card with the two instruments */
.music-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  max-width: 860px;
  margin: 28px auto 0;
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3.4vw, 36px);
  border-radius: 4px;
  color: #eef3ee;
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(220, 197, 132, 0.18), transparent 70%),
    linear-gradient(150deg, #24503c, #163226);
  box-shadow: 0 26px 50px -30px rgba(20, 42, 34, 0.75), inset 0 0 0 1px rgba(220, 197, 132, 0.3);
}
.music-art { display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.music-art img { display: block; width: 50%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35)); }
.music-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); }
.music-text h3 { margin: 0 0 8px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: #fff; }
.music-text p:last-child { margin: 0; font-size: 15px; line-height: 1.65; color: #d7e2da; }
.music-text strong { color: #f6e7bd; font-weight: 600; }
@media (max-width: 680px) {
  .music-card { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .music-art img { width: 44%; }
}
/* music card: one small combined image of the two instruments */
.music-card { grid-template-columns: auto minmax(0, 1fr); max-width: 760px; }
.music-art img { width: clamp(170px, 22vw, 230px); }
@media (max-width: 680px) { .music-card { grid-template-columns: minmax(0, 1fr); } .music-art img { width: 200px; } }

/* Schedule note ("Six days a week"): a full-width band with a big heading, left to right */
.dil-notes { display: block; margin-top: 34px; }
.dil-notes li {
  max-width: none;
  display: flex;
  align-items: center;
  gap: 10px 32px;
  padding: clamp(18px, 2.6vw, 26px) clamp(20px, 3.4vw, 38px);
  border-radius: 4px;
  background: linear-gradient(100deg, #fff8e8, #fdf2d8);
  border: 1px solid #ead7aa;
  box-shadow: 0 18px 34px -26px rgba(120, 90, 30, 0.45);
  font-size: 16px;
  color: #5b6a5f;
}
.dil-notes strong {
  flex: none;
  display: block;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--green-800);
}
@media (max-width: 640px) { .dil-notes li { flex-direction: column; align-items: flex-start; } }

/* Music class + "Six days a week" together in one card (music first) */
.music-card { max-width: none; margin-top: 34px; }
.music-week {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(220, 197, 132, 0.3);
}
.music-week strong { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: #fff; }
.music-week span { font-size: 15px; line-height: 1.6; color: #d7e2da; }
@media (max-width: 680px) { .music-week { flex-direction: column; align-items: center; text-align: center; } }

/* Teacher profiles: every photo the same modest size (the flipped card had put the photo in the wide column) */
.tp { grid-template-columns: 260px minmax(0, 1fr); }
.tp--flip { grid-template-columns: minmax(0, 1fr) 260px; }
.tp-photo { aspect-ratio: 4 / 5; }
@media (max-width: 820px) {
  .tp, .tp--flip { grid-template-columns: minmax(0, 1fr); }
  .tp-photo { max-width: 300px; aspect-ratio: 1; }
}

/* 200-Hour Hatha & Ashtanga TTC: its own header photo (keeps the page's usual green grade) */
.cp-hero--200h .hero-bg { background-image: url("../images/course-hero-200h.jpg"); background-position: center 30%; }
@media (max-width: 640px) { .cp-hero--200h .hero-bg { background-image: url("../images/course-hero-200h-mobile.jpg"); background-position: center top; } }

/* Trust line now sits under the three features, separated by a fine gold rule */
.features-trust { padding-bottom: clamp(16px, 2.4vh, 24px); }
.features-trust .hero-trust {
  margin: 0;
  padding-top: clamp(14px, 2vh, 20px);
  border-top: 1px solid rgba(220, 197, 132, 0.18);
  color: rgba(255, 255, 255, 0.85);
  text-shadow: none;
}

/* 200-Hour Maha-Mantra Meditation TTC: its own header photo (keeps the page's usual green grade) */
.cp-hero--mantra .hero-bg { background-image: url("../images/course-hero-maha-mantra.jpg"); background-position: center 35%; }
@media (max-width: 640px) { .cp-hero--mantra .hero-bg { background-image: url("../images/course-hero-maha-mantra-mobile.jpg"); background-position: center top; } }

/* 200-Hour Ayurveda TTC: its own header photo (keeps the page's usual green grade) */
.cp-hero--ayurveda .hero-bg { background-image: url("../images/course-hero-ayurveda.jpg"); background-position: center 40%; }
@media (max-width: 640px) { .cp-hero--ayurveda .hero-bg { background-image: url("../images/course-hero-ayurveda-mobile.jpg"); background-position: center top; } }

/* Why Choose Us: one photo per pillar, cross-fading as each pillar lights up */
.why-photo img { transition: opacity 900ms ease, transform 900ms var(--ease-out); }
.why-photo img.why-shot { opacity: 0; }
.why-photo img.why-shot.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .why-photo img { transition: none; } }

/* Why Choose Us photo, v2: bigger, never cropped into heads, framed like a print */
@media (min-width: 961px) {
  .why-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}
.why-photo-wrap { margin-top: 34px; padding: 0 0 30px 0; }
.why-photo-wrap::before { /* thin gold frame set behind the print, offset down-left */
  content: "";
  position: absolute;
  top: 18px; right: 18px; bottom: 12px; left: -18px;
  border: 1px solid rgba(220, 197, 132, 0.55);
  border-radius: 4px;
  pointer-events: none;
}
.why-photo,
.why-photo:is(*) { aspect-ratio: 16 / 11; }
@media (max-height: 860px) and (min-width: 961px) { .why-photo { aspect-ratio: 16 / 11; } }
@media (max-height: 720px) and (min-width: 961px) { .why-photo { aspect-ratio: 16 / 10; } }
.why-photo {
  border: 7px solid #f5eedc;           /* cream mat, like a printed photograph */
  outline: 1px solid rgba(220, 197, 132, 0.7);
  outline-offset: 5px;                 /* fine gold keyline just outside the mat */
  box-shadow: 0 46px 80px -36px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.why-photo img { object-position: center 30%; }
/* gold corner brackets */
.why-photo-wrap::after {
  content: "";
  position: absolute;
  top: -12px; left: -12px; right: -12px; bottom: 18px;
  pointer-events: none;
  z-index: 5;
  --c: var(--gold-500, #d6b46a);
  background:
    linear-gradient(var(--c), var(--c)) top left / 26px 2px,
    linear-gradient(var(--c), var(--c)) top left / 2px 26px,
    linear-gradient(var(--c), var(--c)) top right / 26px 2px,
    linear-gradient(var(--c), var(--c)) top right / 2px 26px,
    linear-gradient(var(--c), var(--c)) bottom left / 26px 2px,
    linear-gradient(var(--c), var(--c)) bottom left / 2px 26px,
    linear-gradient(var(--c), var(--c)) bottom right / 26px 2px,
    linear-gradient(var(--c), var(--c)) bottom right / 2px 26px;
  background-repeat: no-repeat;
}
/* the pillar's name, shown on the photo and changing with it */
.why-cap {
  position: absolute;
  left: 14px; top: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 4px;
  background: rgba(10, 24, 18, 0.72);
  backdrop-filter: blur(6px);
  color: #f3e6c0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 400ms ease;
}
.why-cap b { color: var(--gold-500, #d6b46a); font-weight: 700; }
.why-cap.is-swapping { opacity: 0; }
.why-stat { right: -18px; bottom: 0; }
.why-photo-wrap::before { content: none; }
.why-stat { z-index: 6; }
