:root {
  --forest: #0e2a22;
  --forest-2: #163a2e;
  --forest-3: #1f4a3a;
  --cream: #f7f4ea;
  --paper: #fffdf7;
  --band: #e8efe1;
  --ink: #1b2a24;
  --muted: #55675e;
  --sage: #b9d1b4;
  --leaf: #6a9f72;
  --lotus: #b8436f;
  --lotus-mid: #e07fa3;
  --lotus-soft: #f6c4d5;
  --gold: #c9a24a;
  --gold-soft: #ecd9a4;
  --line: #d5dfcc;
  --whatsapp: #1fa855;
  --header-h: 64px;
  --display: "Marcellus", Georgia, serif;
  --brand: "Cinzel", "Marcellus", Georgia, serif;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 0.3em; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }
strong { font-weight: 500; }

a { color: var(--lotus); }

/* ---------- Botanical elements ---------- */
.lotus {
  display: block;
  width: 44px;
  height: auto;
  opacity: 0;
  transform: translateY(14px) scale(0.7);
  transition: opacity 1.2s ease, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.lotus.in,
.menu-open .menu-decor .lotus { opacity: 1; transform: none; }

.lotus-hero {
  width: 230px;
  margin: 0 auto 6px;
  filter: drop-shadow(0 0 34px rgba(255, 214, 170, 0.4));
}
.lotus-hero.in { animation: bob 6s ease-in-out 1.4s infinite; }

.orn { display: flex; align-items: center; gap: 12px; margin: 0 0 1.4em; }
.orn span {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 1.2s ease 0.3s;
}
.orn.in span { width: 90px; }
.orn span:first-child { display: none; background: linear-gradient(270deg, var(--gold), transparent); }
.orn .lotus { width: 46px; }
.center .orn, .connect .orn, .enroll .orn { justify-content: center; }
.center .orn span:first-child,
.connect .orn span:first-child,
.enroll .orn span:first-child { display: block; }

@keyframes bob { 50% { transform: translateY(-7px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes glow { 50% { opacity: 0.9; transform: scale(1.08); } }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease, box-shadow 0.3s;
  transition-delay: var(--rd, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(14, 42, 34, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}

.brand {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -8px;
  color: var(--gold-soft);
  transition: transform 0.25s;
}
.brand:hover { transform: translateY(-2px); }
.brand svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hamburger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  background: none;
  border: 0;
  cursor: pointer;
}
.hamburger span {
  height: 2px;
  background: var(--gold-soft);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s, width 0.3s;
}
.hamburger span:nth-child(2) { width: 70%; margin-left: auto; }
.hamburger:hover span:nth-child(2) { width: 100%; }
.menu-open .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.menu-open .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Menu ---------- */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(8, 22, 18, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }

.site-menu {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  width: min(350px, 90vw);
  padding: 12px 0 28px;
  overflow-y: auto;
  color: var(--cream);
  background: linear-gradient(180deg, var(--forest), var(--forest-2));
  border-left: 1px solid rgba(201, 162, 74, 0.35);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s;
}
.menu-open .site-menu { transform: none; visibility: visible; }

.site-menu ul { list-style: none; margin: 0; padding: 0; }

.site-menu > ul > li {
  border-bottom: 1px solid rgba(185, 209, 180, 0.16);
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.5s, transform 0.5s;
}
.menu-open .site-menu > ul > li { opacity: 1; transform: none; }
.menu-open .site-menu > ul > li:nth-child(1) { transition-delay: 0.1s; }
.menu-open .site-menu > ul > li:nth-child(2) { transition-delay: 0.17s; }
.menu-open .site-menu > ul > li:nth-child(3) { transition-delay: 0.24s; }
.menu-open .site-menu > ul > li:nth-child(4) { transition-delay: 0.31s; }
.menu-open .site-menu > ul > li:nth-child(5) { transition-delay: 0.38s; }

.site-menu a,
.sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 26px;
  font: 400 1.05rem var(--sans);
  letter-spacing: 0.03em;
  color: var(--cream);
  text-align: left;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s, padding-left 0.25s;
}
.site-menu a:hover,
.sub-toggle:hover { color: var(--lotus-soft); padding-left: 32px; }
.site-menu a.active { color: var(--gold-soft); }

.chev {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--gold-soft);
  border-bottom: 1.5px solid var(--gold-soft);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.has-sub.open .chev { transform: rotate(-135deg); }

.sub { display: grid; grid-template-rows: 0fr; background: rgba(0, 0, 0, 0.18); transition: grid-template-rows 0.35s ease; }
.sub > div { overflow: hidden; }
.has-sub.open .sub { grid-template-rows: 1fr; }
.sub a { padding: 11px 26px 11px 44px; font-size: 0.97rem; font-weight: 300; color: var(--sage); }
.sub a:hover { padding-left: 50px; }

.menu-decor { margin-top: auto; padding-top: 36px; }
.menu-decor .lotus { width: 150px; margin: 0 auto; transition-delay: 0.3s; }

/* ---------- Layout ---------- */
.container {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.narrow { width: min(780px, 100%); }

section { position: relative; padding: clamp(52px, 8vw, 96px) 0; }
.band { background: var(--band); }

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lotus);
}

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  overflow: hidden;
  font: 500 0.96rem var(--sans);
  letter-spacing: 0.03em;
  color: #fff;
  text-decoration: none;
  background: var(--lotus);
  border: 1px solid var(--lotus);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(184, 67, 111, 0.7); }
.btn:hover::after { left: 130%; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

.btn-outline { color: var(--forest); background: transparent; border-color: var(--forest-3); }
.btn-outline:hover { color: var(--cream); background: var(--forest); box-shadow: none; }
.hero .btn-outline, .banner .btn-outline, .connect .btn-outline {
  color: var(--gold-soft);
  border-color: var(--gold);
}
.hero .btn-outline:hover, .banner .btn-outline:hover, .connect .btn-outline:hover {
  color: var(--forest);
  background: var(--gold-soft);
}

.btn-whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); }
.btn-whatsapp:hover { box-shadow: 0 10px 24px -10px rgba(31, 168, 85, 0.8); }

.btn-instagram {
  border-color: transparent;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

/* ---------- Home hero ---------- */
.hero {
  padding: 0 0 clamp(96px, 12vw, 130px);
  overflow: hidden;
  color: var(--cream);
  text-align: center;
  background:
    radial-gradient(50% 45% at 50% 100%, rgba(184, 67, 111, 0.22), transparent 70%),
    linear-gradient(180deg, var(--forest), var(--forest-3));
}
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img {
  width: 100%;
  max-height: calc(86vh - var(--header-h));
  object-fit: cover;
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(transparent, var(--forest));
}
.hero-title { position: relative; z-index: 2; margin-top: -70px; padding: 0 20px; }
.hero-title h1 {
  font-family: var(--brand);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: clamp(2.1rem, 6.4vw, 4.6rem);
  margin-bottom: 0.25em;
  color: transparent;
  background: linear-gradient(100deg, var(--cream) 0 40%, var(--gold-soft) 50%, var(--cream) 60% 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 7s linear infinite;
}
.tagline {
  max-width: 28em;
  margin-inline: auto;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.5;
  color: var(--sage);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }


.wave { position: absolute; left: 0; bottom: -1px; z-index: 2; width: 100%; height: 70px; fill: var(--band); }

/* ---------- Banner (inner pages) ---------- */
.banner {
  position: relative;
  padding: clamp(56px, 9vw, 96px) 0 150px;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
  background:
    radial-gradient(50% 80% at 50% 100%, rgba(184, 67, 111, 0.22), transparent 70%),
    linear-gradient(160deg, var(--forest) 30%, var(--forest-3));
}
.banner .eyebrow { color: var(--gold-soft); }
.banner h1 { margin-bottom: 0.2em; }
.banner .facts, .banner .hero-actions { justify-content: center; }
.banner .facts span { color: var(--cream); background: rgba(255, 255, 255, 0.08); border-color: rgba(236, 217, 164, 0.35); }
.banner-img { margin-top: -112px; z-index: 3; }

.tagline-sm { font-family: var(--display); font-size: 1.25rem; line-height: 1.5; color: var(--sage); margin: 0 auto; max-width: 30em; }

.page-img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border: 6px solid var(--paper);
  border-radius: 22px;
  box-shadow: 0 30px 60px -34px rgba(14, 42, 34, 0.65);
}
.page-body { padding-block: clamp(36px, 5vw, 60px); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 10px; }
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.card.in:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(14, 42, 34, 0.55); transition-delay: 0s; }
.card-media { overflow: hidden; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s ease; }
.card:hover img { transform: scale(1.07); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.card-body p { color: var(--muted); }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.card-body h3 { margin-bottom: 0.25em; font-weight: 700; }
.card-body .card-date { margin-bottom: 10px; font-size: 0.95rem; font-weight: 400; color: var(--ink); }
.card-body .card-badge {
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-body .badge-lotus { color: #b8436f; }
.card-body .badge-peacock { color: #0b7f7b; }
.btn-sun {
  color: #3d2a05;
  font-weight: 600;
  border-color: transparent;
  background: linear-gradient(135deg, #ffe27a 0%, #f9c23c 55%, #f0a020 100%);
  box-shadow: 0 6px 16px -8px rgba(240, 160, 32, 0.9);
}
.btn-sun:hover { background: linear-gradient(135deg, #ffe88f 0%, #fbc94e 55%, #f3aa30 100%); box-shadow: 0 12px 24px -10px rgba(240, 160, 32, 0.95); }

/* ---------- Program cards (home) ---------- */
.program-card {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(201, 162, 74, 0.55);
  box-shadow: 0 22px 44px -30px rgba(14, 42, 34, 0.6);
}
.program-card.in:hover { border-color: var(--gold); box-shadow: 0 34px 60px -30px rgba(14, 42, 34, 0.7), 0 0 0 3px rgba(201, 162, 74, 0.25); }
.program-card .card-media { position: relative; }
.program-card .card-media::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(transparent, rgba(14, 42, 34, 0.55));
}
/* Zoomed in so the figures match the size of the person on the other card */
.program-card img.zoom-group { transform: scale(1.22); transform-origin: 54% 78%; }
.program-card:hover img.zoom-group { transform: scale(1.29); }
.card-flag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(14, 42, 34, 0.78);
  border: 1px solid rgba(236, 217, 164, 0.5);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card-flag.top { top: 14px; bottom: auto; }
.card-flag i { width: 8px; height: 8px; background: #ffd24a; border-radius: 50%; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 210, 74, 0.8); }
  100% { box-shadow: 0 0 0 9px rgba(255, 210, 74, 0); }
}
.program-card .card-badge { margin-bottom: 6px; font-size: 0.82rem; }
.program-card h3 { font-size: 1.7rem; margin-bottom: 0.3em; }
.card-facts { list-style: none; margin: 4px 0 20px; padding: 0; border-top: 1px solid var(--line); }
.card-facts li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  font-weight: 400;
  border-bottom: 1px solid var(--line);
}
.card-facts span {
  flex: none;
  width: 3.6em;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-facts small { margin-left: -6px; font-size: 0.85rem; color: var(--muted); }
.card-facts strong { font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--lotus); }
.program-card .btn { align-self: stretch; justify-content: center; gap: 6px; margin-top: auto; }
.program-card .btn b { font-weight: 600; transition: transform 0.25s; }
.program-card:hover .btn b { transform: translateX(5px); }
.program-card:hover .btn::after { left: 130%; }

/* ---------- Connect ---------- */
.connect {
  position: relative;
  padding: clamp(40px, 6vw, 60px) clamp(24px, 5vw, 56px);
  overflow: hidden;
  color: var(--cream);
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 110%, rgba(184, 67, 111, 0.3), transparent 70%),
    linear-gradient(160deg, var(--forest), var(--forest-3));
  border: 1px solid rgba(201, 162, 74, 0.5);
  border-radius: 26px;
}
.connect > * { position: relative; z-index: 2; }
.connect p { color: var(--sage); }

/* ---------- Quotes & lists ---------- */
blockquote {
  position: relative;
  margin: 0 0 1.8em;
  padding: 26px 28px 24px 34px;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.45;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lotus-mid);
  border-radius: 4px 20px 20px 4px;
}
blockquote cite {
  display: block;
  margin-top: 10px;
  font: 400 0.9rem var(--sans);
  letter-spacing: 0.05em;
  color: var(--muted);
}

.benefits { list-style: none; margin: 0 0 1.4em; padding: 0; }
.benefits li {
  position: relative;
  padding: 13px 0 13px 38px;
  border-bottom: 1px solid var(--line);
}
.benefits li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 24px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 20'%3E%3Cpath d='M1 10C6 0 18 -1 25 10 18 21 6 20 1 10Z' fill='%236a9f72'/%3E%3Cpath d='M1 10H19' stroke='%23e8efe1' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-24deg);
}
.benefits a { color: inherit; font-weight: 400; text-decoration-color: var(--lotus-mid); }

.note {
  padding: 14px 20px;
  font-size: 0.96rem;
  background: var(--band);
  border-left: 3px solid var(--leaf);
  border-radius: 4px 14px 14px 4px;
}

/* ---------- Info grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.tile {
  position: relative;
  padding: 26px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--lotus-mid), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}
.tile.in:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(14, 42, 34, 0.5); transition-delay: 0s; }
.tile:hover::before { transform: scaleX(1); }
.tile h3 { font-size: 1.3rem; }
.tile p:last-child, .tile ul:last-child { margin-bottom: 0; }
.tile .icon { font-size: 1.6rem; line-height: 1; margin-bottom: 12px; }
.tile .label {
  margin-bottom: 4px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lotus);
}
.tile .big { font-family: var(--display); font-size: 1.55rem; line-height: 1.25; margin-bottom: 6px; }
.tile small { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 5px solid var(--paper);
  border-radius: 18px;
  box-shadow: 0 24px 50px -30px rgba(14, 42, 34, 0.7);
}

.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.facts span {
  padding: 7px 18px;
  font-size: 0.92rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.enroll {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px);
  overflow: hidden;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 26px;
  box-shadow: 0 30px 60px -40px rgba(14, 42, 34, 0.6);
}
.enroll > * { position: relative; z-index: 2; }
.enroll .price { font-family: var(--display); font-size: 3.4rem; line-height: 1; margin: 12px 0 6px; color: var(--lotus); }
.enroll .benefits { text-align: left; margin: 22px 0; }
.enroll .fine { margin: 16px 0 0; font-size: 0.88rem; color: var(--muted); }

.about { padding-top: 0; }
.about-photo img {
  width: 100%;
  height: min(64vh, 72vw);
  object-fit: cover;
  object-position: center 45%;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.about-text { margin-top: clamp(-90px, -9vw, -40px); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li {
  padding: 8px 18px;
  font-size: 0.94rem;
  background: var(--band);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ---------- Program page ---------- */
.program-hero {
  padding-bottom: clamp(40px, 6vw, 64px);
  color: var(--cream);
  text-align: center;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(184, 67, 111, 0.22), transparent 70%),
    linear-gradient(180deg, var(--forest), var(--forest-3));
}
.blend { position: relative; display: flex; height: min(56vh, 40vw); min-height: 180px; overflow: hidden; }
/* Each photo is zoomed about its own focal point so the three figures read at a similar size */
.blend > div { flex: 1 1 0; min-width: 0; overflow: hidden; }
.blend img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--ox) var(--oy);
  transform: scale(var(--z));
  transform-origin: var(--to, var(--ox) var(--oy));
}
.blend-am { --z: 1; --ox: 56%; --oy: 50%; }
.blend-bs { --z: 1; --ox: 38%; --oy: 50%; }
.blend-sk { --z: 1.22; --ox: 76%; --oy: 50%; --to: 50% 100%; }
.blend-single { --z: 1; --ox: 40%; --oy: 8%; }
.blend > div + div {
  margin-left: -5%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%);
  mask-image: linear-gradient(to right, transparent 0, #000 16%);
}
.blend::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(transparent, var(--forest));
}
.program-title { margin-top: clamp(-70px, -7vw, -30px); }
.program-title .eyebrow { color: var(--gold-soft); }
.program-title h1 { margin-bottom: 0.25em; }
.program-title .hero-actions { justify-content: center; margin-top: 26px; }
.program-hero .btn-outline { color: var(--gold-soft); border-color: var(--gold); }
.program-hero .btn-outline:hover { color: var(--forest); background: var(--gold-soft); }

.glance-band { padding: clamp(28px, 4vw, 44px) 0; }
.glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.glance > div { padding: 24px 22px; border-left: 1px solid var(--line); }
.glance > div:first-child { border-left: 0; }
.glance .label, .chip {
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lotus);
}
.glance .big { margin-bottom: 4px; font-family: var(--display); font-size: 1.35rem; line-height: 1.25; }
.glance .slot { margin: 0 0 8px; font-family: var(--display); font-size: 1.2rem; line-height: 1.25; }
.glance .slot:last-child { margin-bottom: 0; }
.glance .slot span { display: block; font: 500 0.8rem var(--sans); color: var(--muted); }
.glance small { color: var(--muted); font-size: 0.9rem; }

.lead { max-width: 40em; margin-bottom: 1.6em; color: var(--muted); }
.batch .big { font-size: 2rem; }
.grid-3 .batch .big { font-size: 1.55rem; margin-bottom: 0; }
.batch-teaches { margin: 14px 0 0 !important; font-size: 0.9rem; color: var(--muted); }
.batch .benefits li { font-weight: 500; }

.practice-rows { display: grid; gap: clamp(28px, 4vw, 44px); }
.practice-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: clamp(16px, 2.4vw, 26px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.practice-row img { width: 100%; height: 100%; min-height: 240px; max-height: 380px; object-fit: cover; border-radius: 16px; }
.practice-row:nth-child(even) { grid-template-columns: 7fr 5fr; }
.practice-row:nth-child(even) img { order: 2; }
.practice-row h3 { font-size: 1.7rem; margin-bottom: 0.4em; }
.practice-row .benefits { margin-bottom: 0; }
.practice-row .benefits li:last-child { border-bottom: 0; }
.chip {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  letter-spacing: 0.14em;
  background: var(--band);
  border-radius: 999px;
}

.venue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.venue > div { flex: 1 1 280px; }
.venue p:last-child { margin-bottom: 0; color: var(--muted); }
.venue .orn { margin-bottom: 0.8em; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: 56px clamp(16px, 4vw, 40px) 46px;
  text-align: center;
  color: var(--sage);
  background: var(--forest);
  border-top: 1px solid rgba(201, 162, 74, 0.3);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: space-between;
  gap: 28px 32px;
  width: min(1000px, 100%);
  margin: 0 auto 40px;
  text-align: left;
}
.footer-nav h4 {
  margin: 0 0 10px;
  font: 400 1.08rem var(--display);
  letter-spacing: 0.04em;
  color: var(--gold-soft);
}
.footer-nav a {
  display: block;
  padding: 4px 0;
  font-size: 0.94rem;
  color: var(--sage);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav h4 a { padding: 0; font-size: inherit; color: inherit; }
.footer-nav a:hover { color: var(--lotus-soft); }

section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .lotus-hero { width: 135px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  /* On narrow screens the three equal panels sit side by side with only a thin soft seam */
  .blend { height: 50vw; min-height: 0; }
  .blend:has(.blend-single) { height: 60vw; }
  .blend-bs { --ox: 42%; }
  .blend-sk { --ox: 71%; }
  .blend > div + div {
    margin-left: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%);
    mask-image: linear-gradient(to right, transparent 0, #000 7%);
  }
  .blend:not(:has(.blend-single))::after { height: 14%; }
  .blend:not(:has(.blend-single)) + .program-title { margin-top: 18px; }
  .glance { grid-template-columns: 1fr 1fr; }
  .glance > div { padding: 20px 16px; }
  .glance .slot { font-size: 1.02rem; white-space: nowrap; }
  .glance > div:nth-child(3) { border-left: 0; }
  .glance > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .practice-row, .practice-row:nth-child(even) { grid-template-columns: 1fr; }
  .practice-row:nth-child(even) img { order: 0; }
  .practice-row img { max-height: 260px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  blockquote { font-size: 1.2rem; }
  .banner { padding-top: 88px; }
  .banner-img { margin-top: -100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .lotus { transform: none; opacity: 1; }
  .orn span { width: 90px; }
}

@media (max-width: 600px) {
  .blend:has(.blend-single)::after { height: 40%; }
  .card-flag { bottom: 8px; left: 8px; gap: 6px; padding: 4px 9px; font-size: 0.64rem; }
  .card-flag.top { top: 8px; }
  .card-flag i { width: 6px; height: 6px; }
  .program-card h3 { font-size: 1.12rem; }
  .program-card .card-body .card-badge { font-size: 0.58rem; letter-spacing: 0; white-space: nowrap; margin-bottom: 6px; }
  .card-hook, .program-card .wide { display: none; }
  .card-facts { margin-bottom: 14px; }
  .card-facts li { display: block; padding: 7px 0; font-size: 0.8rem; line-height: 1.4; }
  .card-facts span { display: block; width: auto; font-size: 0.58rem; }
  .card-facts strong { font-size: 1.2rem; }
  .card-facts small { margin-left: 4px; font-size: 0.72rem; }
  .program-card .btn { padding: 10px 6px; font-size: 0.76rem; gap: 5px; white-space: nowrap; }
  .cards { gap: 12px; }
  .card { border-radius: 16px; }
  .card-body { padding: 14px 12px 16px; }
  .card-body h3 { font-size: 1.08rem; }
  .card-body p { font-size: 0.84rem; line-height: 1.55; }
  .card-body .card-date { font-size: 0.82rem; margin-bottom: 8px; }
  .card-body .card-badge { font-size: 0.72rem; letter-spacing: 0.03em; margin-bottom: 10px; }
  .card-body .btn { padding: 9px 16px; font-size: 0.82rem; }
}
