/* ═══════════════════════════════════════════════════════════════════
   HOME + HUB DESIGN SYSTEM — the 2026 refresh

   The hero, trust bar, pillar cards, promo band, "why" stage, teacher
   slider, FAQ and journal module shared by the homepage and the two hub
   pages (/yoga-retreat and /yoga-teacher-training).

   This used to live three times over, pasted into each page's own <style>
   block. Those copies carried a comment telling the next person to edit
   index.html first and re-copy by hand — and they had already drifted
   apart, which is how a trust bar ended up laid out two different ways.
   One file now, loaded by all three pages after _shared.css.

   Anything genuinely specific to one page stays in that page's <style>,
   which still loads after this and still wins.
   ═══════════════════════════════════════════════════════════════════ */

/* About introduces the offering, so they share one gap, not two */
.about-section { padding-bottom: 0 !important; }

/* ─── HEADER OVER THE HERO ─── */
body.home header {
  background: transparent;
  border-bottom-color: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

body.home header .logo img { filter: brightness(0) invert(1); transition: filter 0.3s ease; }

body.home header .nav-toggle span { background: #fff; }

body.home .hero { margin-top: calc(var(--header-h) * -1); }

@media (min-width: 768px) {
  body.home .nav-item > a { color: rgba(255,255,255,0.88); }
  body.home .nav-item > a:hover { color: #fff; }
  body.home header > .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }
  body.home header > .btn:hover { background: var(--brand-limestone); border-color: var(--brand-limestone); color: var(--brand-dark); }
}

/* solid again once the hero is behind you, and while the drawer is open */
body.home header.is-solid,
body.home.nav-open header {
  background: var(--brand-white);
  border-bottom-color: var(--border);
}

body.home header.is-solid .logo img,
body.home.nav-open header .logo img { filter: none; }

body.home header.is-solid .nav-toggle span,
body.home.nav-open header .nav-toggle span { background: var(--brand-dark); }

@media (min-width: 768px) {
  body.home header.is-solid .nav-item > a { color: var(--brand-mid); }
  body.home header.is-solid .nav-item > a:hover { color: var(--brand-jungle); }
  body.home header.is-solid > .btn { background: var(--brand-jungle); color: #fff; border-color: var(--brand-jungle); }
  body.home header.is-solid > .btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 82vh;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; background: var(--placeholder); }

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,22,20,0.88) 0%, rgba(22,22,20,0.45) 42%, rgba(22,22,20,0.08) 78%, rgba(22,22,20,0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 44px;
  color: white;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-logo);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 16px;
}

.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(255,255,255,0.65);
}

.hero-content h1 { color: white; margin: 0 0 18px; max-width: 620px; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn-white { background: white; color: var(--brand-dark); border-color: white; }

.btn-white:hover { background: var(--brand-limestone); border-color: var(--brand-limestone); color: var(--brand-dark); }

.btn-ghost { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.55); color: white; backdrop-filter: blur(6px); }

.btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: #fff; }

/* ─── HERO SOCIAL PROOF ─── */
.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 28px;
  font-family: var(--font-logo);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.proof-avatars { display: flex; }

.proof-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.9);
  margin-left: -11px;
  background: var(--brand-skin);
}

.proof-av:first-child { margin-left: 0; }

.proof-stat { white-space: nowrap; }

.proof-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.4); }

.proof-rating { display: inline-flex; align-items: center; gap: 7px; }

.proof-star { width: 15px; height: 15px; fill: #e8a33d; flex: none; }

.proof-muted { color: rgba(255,255,255,0.75); font-weight: 400; }

/* ─── TRUST BAR ─── */
/* ─── AT A GLANCE — one quiet line under the hero ─── */
.trustbar { padding: 0; background: var(--brand-white); border-bottom: 1px solid var(--border); }

.trustbar-inner { display: flex; flex-direction: column; gap: 14px; padding: 20px 0; }

.trust-item b {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
  white-space: nowrap;
}

.trust-item span {
  font-family: var(--font-logo);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--brand-mid);
}

/* ─── SECTION HEADINGS (left-aligned house style) ─── */
.section-head { max-width: 640px; margin-bottom: 34px; }

.section-head small { display: inline-flex; align-items: center; gap: 12px; }

.section-head small::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }

.section-head h2 { margin: 14px 0 0; }

.section-head .lede { margin-top: 16px; }

.section-head--split { max-width: none; }

.section-foot { margin-top: 32px; }

/* ─── THREE PILLARS ─── */
.pillar-grid { display: grid; gap: 18px; }

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--brand-limestone);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1), box-shadow 0.3s ease, background 0.3s ease;
}

.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 28px 54px -30px rgba(44,44,38,0.55); }

.pillar-card:hover { background: #fff; }

.pillar-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; }

.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.7,.3,1); }

.pillar-card:hover .pillar-media img { transform: scale(1.05); }

.pillar-no {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-logo);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(22,22,20,0.42);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 6px;
  padding: 5px 11px;
}

.pillar-body { padding: 20px 12px 10px; display: flex; flex-direction: column; flex: 1; }

.pillar-body h3 { margin: 0 0 10px; font-size: 1.2rem; letter-spacing: -0.02em; }

.pillar-body p { font-size: 0.9375rem; margin: 0; }

.link-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-jungle);
  text-decoration: none;
  white-space: nowrap;
}

.link-arrow::after { content: "→"; transition: transform 0.2s ease; }

.link-arrow:hover { color: var(--brand-dark); }

.link-arrow:hover::after { transform: translateX(4px); }

.link-arrow.on-dark { color: var(--brand-skin); }

.link-arrow.on-dark:hover { color: #fff; }

/* ─── ABOUT ─── */
.about-section small { display: inline-flex; align-items: center; gap: 12px; }

.about-section small::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }

.about-statement {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--brand-mid);
  max-width: 900px;
  margin: 18px 0 0;
}

.about-statement b { font-weight: 600; color: var(--brand-dark); }

/* ─── REVIEWS: one slow strip, cards in the deep green ─── */
.quotes-section { background: var(--brand-warm); overflow: hidden; }

.quotes-section .lede b { color: var(--brand-dark); font-weight: 500; }

.rev-strip {
  margin-top: 34px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.rev-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 4px 0;
  animation: revScroll 90s linear infinite;
}

/* the second set of cards is what makes the loop seamless, so the
   travel is exactly half the track plus half the gap */
@keyframes revScroll { to { transform: translateX(calc(-50% - 8px)); } }

.rev-strip:hover .rev-track { animation-play-state: paused; }

.rev-card {
  flex: 0 0 330px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #4c5039;
  color: #fff;
  border-radius: 14px;
  padding: 22px 22px 20px;
}

/* the category reads as a chip, like the numbers on the offer cards */
.rev-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-logo);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 5px 10px;
}

.rev-card blockquote {
  margin: 34px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  flex: 1;
}

.rev-foot {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rev-foot cite {
  font-style: normal;
  font-family: var(--font-logo);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.rev-stars { color: #e8a33d; letter-spacing: 2px; font-size: 0.8rem; flex: none; }

/* ─── FEATURED RETREAT: the page's one bold block ─── */
.promo-section {
  position: relative;
  overflow: hidden;
  /* a deeper cut of the brand green, so the band carries real weight */
  background: #4c5039;
  color: #fff;
}

/* two wide arcs, barely there, to keep the flat colour from going dead */
.promo-section::before,
.promo-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.09);
  pointer-events: none;
}

.promo-section::before { width: 760px; height: 760px; right: -210px; top: -300px; }

.promo-section::after { width: 1100px; height: 1100px; right: -340px; top: -170px; border-color: rgba(255,255,255,0.055); }

.promo-section > .container { position: relative; z-index: 1; }

.promo-split { display: grid; gap: 34px; }

.promo-body { max-width: 56ch; }

/* two shots, offset, so the right half is not dead space */
.promo-visuals { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: start; }

.promo-shot { display: block; overflow: hidden; border-radius: 14px; }

.promo-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.promo-shot--tall { aspect-ratio: 3 / 4; }

/* the second shot laps over the first, framed in the band colour */
.promo-shot--small {
  aspect-ratio: 1 / 1;
  margin: 92px 0 0 -30px;
  border: 7px solid #4c5039;
  border-radius: 20px;
}

.promo-body small { display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.8); }

.promo-body small::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }

.promo-body h2 { color: #fff; margin: 16px 0 18px; text-wrap: balance; }

.promo-body > p { color: rgba(255,255,255,0.86); font-size: 1rem; margin: 0; max-width: 52ch; }

.promo-meta {
  margin: 20px 0 0 !important;
  font-family: var(--font-logo);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7) !important;
}

.promo-section .btn {
  margin-top: 28px;
  background: #fff;
  border-color: #fff;
  color: var(--brand-dark);
}

.promo-section .btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

/* ─── WHY: full-bleed stage + cards overlapping its lower edge ─── */
.why-section { padding: 0 !important; }

.why-section > .container { padding-bottom: 72px; }

.why-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 64px 0 104px;
  min-height: 420px;
}

.why-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.why-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,22,20,0.9) 0%, rgba(22,22,20,0.72) 38%, rgba(22,22,20,0.42) 66%, rgba(22,22,20,0.64) 100%);
}

.why-stage-inner { position: relative; z-index: 2; color: #fff; width: 100%; }

.why-stage-inner small { color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 12px; }

.why-stage-inner small::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.7; }

.why-stage-inner h2 { color: #fff; margin: 16px 0 0; max-width: 14ch; }

.why-stage-foot { margin-top: 26px; display: flex; flex-direction: column; gap: 22px; }

.why-stage-foot p { color: rgba(255,255,255,0.88); font-size: 1rem; max-width: 52ch; margin: 0; }

.why-stage-foot .btn { align-self: flex-start; }

.why-cards { position: relative; z-index: 3; margin-top: -58px; display: grid; gap: 14px; }

.why-card {
  background: var(--brand-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 22px 26px;
  box-shadow: 0 26px 52px -36px rgba(44,44,38,0.55);
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1), box-shadow 0.3s ease;
}

.why-card:hover { transform: translateY(-4px); box-shadow: 0 32px 60px -34px rgba(44,44,38,0.5); }

/* no tile, no fill: a single hairline, sitting on the card */
.why-ico { display: block; color: var(--brand-jungle); }

.why-ico svg { width: 32px; height: 32px; display: block; }

.why-card h3 { font-size: 1.0625rem; margin: 22px 0 8px; letter-spacing: -0.01em; }

.why-card p { font-size: 0.875rem; margin: 0; }

/* ─── TEACHERS ─── */
.teacher-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px;
}

.teacher-track::-webkit-scrollbar { display: none; }

/* one card plus a peek of the next, so the row reads as scrollable */
.teacher-card { flex: 0 0 72%; scroll-snap-align: start; text-decoration: none; display: block; }

.teacher-card .shot { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; background: var(--brand-sage-light); }

.teacher-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.7,.3,1); }

.teacher-card:hover img { transform: scale(1.05); }

.teacher-card h3 { font-size: 1.0625rem; margin: 18px 0 5px; letter-spacing: -0.01em; }

.teacher-card p { font-size: 0.8125rem; margin: 0; color: var(--brand-mid); }

.teacher-dots { display: flex; justify-content: center; gap: 9px; margin-top: 30px; }

.teacher-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: var(--brand-dark); opacity: 0.22; cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.teacher-dots button[aria-current="true"] { opacity: 1; transform: scale(1.3); }

/* ─── FAQ (split: contact left, accordion right) ─── */
.faq-split { display: grid; gap: 32px; }

.faq-aside small { display: inline-flex; align-items: center; gap: 12px; }

.faq-aside small::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }

.faq-aside h2 { margin: 14px 0 14px; }

.faq-aside p { font-size: 0.9375rem; }

.faq-aside .btn { margin-top: 22px; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item > summary::-webkit-details-marker { display: none; }

.faq-q { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--brand-dark); margin: 0; }

.faq-item > summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background:
    linear-gradient(var(--brand-jungle), var(--brand-jungle)) center/9px 1px no-repeat,
    linear-gradient(var(--brand-jungle), var(--brand-jungle)) center/1px 9px no-repeat;
  transition: transform 0.25s ease, background-size 0.25s ease;
}

.faq-item[open] > summary::after { transform: rotate(180deg); background-size: 9px 1px, 0 0; }

.faq-item > summary:hover::after { border-color: var(--brand-jungle); }

.faq-a { padding: 0 0 22px; font-size: 0.9375rem; color: var(--brand-mid); max-width: 72ch; margin: 0; }

/* ─── JOURNAL: the blog cards, in the offer-card language ─── */
/* scoped to .journal — /blog and the hub guide rows keep the big cards */
.journal .grid-3 { gap: 16px; }

.journal .blog-card {
  background: var(--brand-limestone);
  border: 0;
  border-radius: 14px;
  padding: 8px;
}

.journal .blog-card:hover { background: #fff; transform: none; }

/* a fixed height, not an aspect-ratio: the image fills by height: 100%,
   which collapses to nothing against an auto-height parent */
.journal .blog-card-img { height: 190px; border-radius: 9px; }

.journal .blog-card-body { padding: 14px 10px 8px; }

.journal .blog-card small {
  margin-bottom: 7px;
  font-family: var(--font-logo);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-mid);
}

.journal .blog-card h4 { font-size: 0.95rem; line-height: 1.3; letter-spacing: -0.01em; }

/* the excerpt is what made the three cards different heights */
.journal .blog-card p { display: none; }

.journal .blog-card-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(44,44,38,0.1);
}

/* ─── CONTACT ─── */
.contact-section { display: flex; flex-direction: column; gap: 40px; }

.contact-info li { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.9375rem; color: var(--brand-mid); list-style: none; }

.form-card { background: var(--brand-warm); padding: 28px 20px; border: 1px solid var(--border); }

.form-group { margin-bottom: 16px; }

.form-group label { display: block; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-mid); margin-bottom: 6px; }

.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  background: white; font-family: var(--font-body); font-size: 0.9375rem; outline: none; color: var(--brand-dark);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--brand-jungle); }

.form-group textarea { height: 120px; resize: vertical; }

.form-group select { appearance: none; }

.btn-full { display: block; text-align: center; width: 100%; }

/* ─── STICKY MOBILE CTA ─── */
.mobile-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(252,250,246,0.86);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px -20px rgba(44,44,38,0.6);
  transform: translateY(140%);
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1);
}

.mobile-cta.is-visible { transform: translateY(0); }

.mobile-cta .btn { flex: 1; text-align: center; padding: 11px 10px; font-size: 0.7rem; letter-spacing: 0.08em; }

@media (min-width: 768px) { .mobile-cta { display: none; } }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); }

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rev-track { animation: none; width: auto; }
  .rev-strip { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pillar-card, .pillar-media img, .teacher-card img { transition: none; }
}

/* ─── DESKTOP 1024px ─── */
@media (min-width: 1024px) {
  .promo-split { grid-template-columns: 1fr 0.95fr; gap: 56px; align-items: center; }
  main > section.promo-section { padding: 128px 0; }
  /* staggered down the row; align-items:start keeps the cards their own
     height so the tops AND bottoms step down together */
  .pillar-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  /* three lines each, so the three cards step evenly */
  .pillar-body p {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .teacher-card { flex-basis: calc((100% - 60px) / 4); }
  main > section:not(.hero):not(.trustbar) { padding: 104px 0; }
  .hero { height: 90vh; min-height: 640px; }
  .hero-content { padding: 0 0 64px; }
  /* keep the headline to two lines on desktop: each half of the <br> stays on one line */
  .hero-content h1 { max-width: none; white-space: nowrap; }
  .pillar-body .link-arrow { font-size: 0.78rem; letter-spacing: 0.1em; }
  .why-stage { padding: 112px 0 150px; min-height: 620px; }
  .quote { flex: 0 0 calc((100% - 32px) / 3); }
  .why-cards { grid-template-columns: repeat(4, 1fr); margin-top: -82px; }
  .why-section > .container { padding-bottom: 104px; }
  .why-card { padding: 28px 26px 30px; }
}
