/* ============================================================
   YogaBears Academy — design tokens
   ============================================================ */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin.woff2") format("woff2");
}

:root {
  /* ---- Brand palette (locked) ---- */
  --cream: #fbf4e6;
  --cream-soft: #f4ead6;
  --paper: #fffdf8;
  --forest: #1e3a2b;
  --forest-dark: #142a1e;
  --forest-deeper: #0f2117;
  --coral: #e2734f;
  --coral-soft: #f3ad8e;
  --ink: #26241f;
  --ink-soft: rgba(38, 36, 31, 0.64);
  --ink-faint: rgba(38, 36, 31, 0.42);
  --line: rgba(38, 36, 31, 0.1);
  --line-strong: rgba(38, 36, 31, 0.2);
  --white: #ffffff;

  /* ---- Bear palette (source of truth: production bear data) ---- */
  --bear-mula: #ef4444;
  --bear-stan: #ff6b35;
  --bear-pura: #eab308;
  --bear-hata: #22c55e;
  --bear-sid: #3b82f6;
  --bear-ajna: #4f46e5;
  --bear-rah: #6b7280;

  /* ---- Type ---- */
  --font-heading: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Nunito", ui-sans-serif, system-ui, sans-serif;

  /* ---- Shape ---- */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* ---- Shadow (tinted to forest, never pure black) ---- */
  --shadow-soft: 0 12px 32px -12px rgba(30, 58, 43, 0.18);
  --shadow-lift: 0 20px 48px -16px rgba(30, 58, 43, 0.28);

  --container: 1240px;
  --edge: clamp(1.25rem, 4vw, 3rem);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
svg { display: block; }

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--edge);
}
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.5em;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

h1, .h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--forest);
  font-size: clamp(2.4rem, 4.4vw, 3.75rem);
}
h2, .h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--forest);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}
h3, .h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--forest);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}
.lede {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 54ch;
  line-height: 1.65;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  white-space: nowrap;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--forest);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); background: var(--forest-dark); }

.btn--ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid rgba(30, 58, 43, 0.3);
}
.btn--ghost:hover { border-color: var(--forest); background: rgba(30, 58, 43, 0.05); }

.btn--on-dark {
  background: var(--paper);
  color: var(--forest);
  box-shadow: var(--shadow-soft);
}
.btn--on-dark:hover { transform: translateY(-2px); background: var(--cream); }

.btn--ghost-on-dark {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid rgba(255, 253, 248, 0.35);
}
.btn--ghost-on-dark:hover { border-color: var(--paper); background: rgba(255, 253, 248, 0.08); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-block: 0.9rem;
  background: rgba(251, 244, 230, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav.is-scrolled {
  box-shadow: 0 8px 24px -16px rgba(30, 58, 43, 0.25);
  border-bottom-color: var(--line);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 48px;
}
.nav__logo img { height: 34px; width: auto; }
.nav__links {
  display: none;
  align-items: center;
  gap: 1.9rem;
}
.nav__links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--forest); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__burger {
  display: inline-flex;
  padding: 0.4rem;
  font-size: 1.5rem;
  color: var(--forest);
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}

.nav__btn { display: none; }
@media (min-width: 640px) { .nav__btn { display: inline-flex; } }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 1.5rem var(--edge) 2.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__top img { height: 30px; }
.mobile-menu__links {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.mobile-menu__links a {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--forest);
}
.mobile-menu__cta { margin-top: auto; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 4vw; }
}
.hero__headline { margin-bottom: 1.1rem; }
.hero__sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 1.9rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__visual { position: relative; }
.hero__blob {
  position: absolute;
  inset: -6% -8%;
  background: linear-gradient(155deg, #cfe0cd 0%, #e7ecd8 55%, #f4d9bd 100%);
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  z-index: 0;
}
.hero__photo {
  position: relative;
  z-index: 1;
  border-radius: 40% 60% 58% 42% / 48% 42% 58% 52%;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow-lift);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }

.hero__leaf {
  position: absolute;
  z-index: 2;
  color: var(--coral);
  opacity: 0.85;
}
.hero__leaf--1 { top: -4%; right: 8%; width: 40px; height: 40px; transform: rotate(18deg); }
.hero__leaf--2 { bottom: 6%; left: -6%; width: 30px; height: 30px; color: var(--forest); transform: rotate(-12deg); }

/* Trust bar under hero */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trustbar__row {
  display: grid;
  gap: 1.5rem;
  padding-block: 1.6rem;
}
@media (min-width: 720px) {
  .trustbar__row { grid-template-columns: repeat(3, 1fr); }
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--forest);
}
.trustbar__item .icon { width: 20px; height: 20px; color: var(--coral); }

/* ============================================================
   Approach + bears
   ============================================================ */
.approach__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .approach__grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}
.approach__copy .lede { margin-block: 1.1rem 1.6rem; }

.bears__label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 1.4rem;
}
.bears__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 0.5rem;
}
@media (min-width: 620px) {
  .bears__row { grid-template-columns: repeat(7, 1fr); }
}
.bear {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}
.bear__badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bear-color);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bear:hover .bear__badge { transform: translateY(-4px) scale(1.05); }
.bear__badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
}
.bear__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--bear-color);
}
.bear__tag {
  font-size: 0.74rem;
  color: var(--ink-faint);
  line-height: 1.3;
}

.approach__note {
  margin-top: 2.2rem;
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.approach__note .icon { width: 20px; height: 20px; color: var(--coral); margin-top: 0.2rem; }
.approach__note p { font-size: 0.92rem; color: var(--ink-soft); }
.approach__note strong { color: var(--forest); display: block; font-family: var(--font-heading); margin-top: 0.15rem; }

.video-embed { max-width: 900px; margin: 3rem auto 0; }
.video-embed__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--forest-deeper);
}
.video-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   Programmes (scroll-snap row)
   ============================================================ */
.programmes__head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 2.6rem; }
.programmes__head .lede { margin-inline: auto; margin-top: 0.8rem; }

.programmes__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  margin: 0 calc(var(--edge) * -1);
  padding-inline: var(--edge);
  scrollbar-width: none;
}
.programmes__track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .programmes__track { grid-auto-columns: 44%; } }
@media (min-width: 1024px) {
  .programmes__track {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    margin: 0;
    padding-inline: 0;
  }
}

.stage {
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 230px;
  background: var(--stage-tint);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.stage:hover { transform: translateY(-5px); }
.stage__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--stage-color);
}
.stage__icon .icon { width: 20px; height: 20px; }
.stage__name { font-family: var(--font-heading); font-weight: 800; font-size: 1.02rem; color: var(--forest); }
.stage__age { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--stage-color); }
.stage__tag { font-size: 0.86rem; color: var(--ink-soft); }
.stage__desc { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.4; }

.programmes__cta { display: flex; justify-content: center; margin-top: 2.6rem; }

/* ============================================================
   Journey recap
   ============================================================ */
.section--recap { background: var(--cream-soft); }
.recap { text-align: center; max-width: 760px; margin-inline: auto; }
.recap__transition {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--forest);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 1.4;
}
.recap__values {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.7rem;
}
.recap__values span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--value-color);
}

/* ============================================================
   Split sections (schools / founder) — max 2 in a row
   ============================================================ */
.split {
  display: grid;
  gap: 2.8rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split--reverse .split__media { order: 2; }
  .split--reverse .split__copy { order: 1; }
}
.split__media { position: relative; }
.split__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.split__copy .lede { margin-block: 1.1rem 1.5rem; }

.checklist { display: grid; gap: 0.9rem; margin-bottom: 2rem; }
@media (min-width: 480px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; font-weight: 700; color: var(--forest); }
.checklist .icon { width: 18px; height: 18px; color: var(--coral); margin-top: 0.15rem; flex-shrink: 0; }

.section--schools { background: var(--cream-soft); }

/* Founder (dark) */
.section--founder { background: var(--forest); color: var(--paper); }
.section--founder .eyebrow { color: var(--coral-soft); }
.section--founder h2 { color: var(--paper); }
.section--founder .lede { color: rgba(255, 253, 248, 0.7); }

.founder__list { display: grid; gap: 0.6rem; margin: 1.4rem 0 0; }
.founder__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 253, 248, 0.85);
}
.founder__list .icon { width: 16px; height: 16px; color: var(--coral-soft); margin-top: 0.15rem; flex-shrink: 0; }

.founder__stat {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.3rem;
}
.founder__stat b {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--coral-soft);
}
.founder__stat span { font-size: 0.8rem; color: rgba(255, 253, 248, 0.65); line-height: 1.25; display: block; }

/* ============================================================
   Quote / manifesto
   ============================================================ */
.manifesto { text-align: center; }
.manifesto__mark { width: 44px; height: 44px; color: var(--coral); margin-inline: auto; margin-bottom: 1.2rem; }
.manifesto__quote {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--forest);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  max-width: 780px;
  margin-inline: auto;
}
.manifesto__lockup { margin-top: 2.4rem; display: flex; justify-content: center; }
.manifesto__lockup img { width: 220px; height: auto; }

/* ============================================================
   Contact CTA
   ============================================================ */
.contact { text-align: center; }
.contact__head { max-width: 560px; margin-inline: auto; margin-bottom: 2.6rem; }
.contact__grid { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .contact__grid { grid-template-columns: repeat(3, 1fr); } }
.contact__grid--pair { max-width: 560px; margin-inline: auto; }
@media (min-width: 560px) { .contact__grid--pair { grid-template-columns: repeat(2, 1fr); } }
.contact__card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  background: var(--paper);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.contact__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.contact__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-soft);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__icon .icon { width: 20px; height: 20px; }
.contact__card b { font-family: var(--font-heading); color: var(--forest); font-size: 0.95rem; }
.contact__card span { font-size: 0.86rem; color: var(--ink-soft); }

/* ---- Booking form ---- */
.booking {
  text-align: left;
  margin-top: 3.5rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}
.booking__head { max-width: 640px; margin-bottom: 1.9rem; }
.booking__head .lede { margin-top: 0.5rem; }

.booking__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem 1.5rem;
}
@media (min-width: 640px) {
  .booking__form { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--forest);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 110px; }

.booking__submit-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 0.4rem;
}
.booking__note {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
}
.booking__note.is-hidden { display: none; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--forest-deeper); color: rgba(255, 253, 248, 0.6); }
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2.2rem;
}
.footer__logo img { height: 30px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer__meta { font-size: 0.8rem; text-align: center; }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.footer__social a:hover { background: var(--coral); color: var(--forest-deeper); }
.footer__social .icon { width: 17px; height: 17px; }

/* ============================================================
   Reveal-on-scroll (IntersectionObserver driven)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
