/* Snack Play Namaste, design pass Dec 2026.
   One stylesheet, no framework. Colors come from the logo. */

:root {
  --cream: #FFF8E7;
  --cream-2: #FDEFD2;
  --paper: #FFFFFF;
  --ink: #2D2F4A;
  --body: #4A4C66;
  --line: #EADFC8;

  --orange: #F7941D;      /* "snack" */
  --orange-deep: #C24100; /* buttons and links on light backgrounds */
  --teal: #009BA6;        /* "play" */
  --teal-deep: #006E76;
  --lavender: #A0A3B8;    /* "namaste" */
  --lavender-deep: #565A7C;
  --green: #8CCB4F;       /* leaf */
  --green-deep: #3B7420;
  --green-tint: #EEF7E4;
  --brown: #8A6450;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(45, 47, 74, .10);
  --wrap: 1160px;

  --font-display: 'Jua', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
@media (max-width: 899px) { html { scroll-padding-top: 90px; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}

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

a { color: var(--orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .7em 1.6em;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange-deep); color: #fff; box-shadow: 0 5px 0 #8F3000; }
.btn-primary:hover { background: #A93800; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--cream); color: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.text-link {
  font-weight: 800; text-decoration: none; color: var(--orange-deep);
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 78px;
}
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { width: 100%; max-width: 147px; }
.brand { width: 147px; }

.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.site-nav a {
  display: block; padding: 10px 15px; border-radius: 999px;
  font-weight: 800; font-size: 1.02rem; color: var(--ink); text-decoration: none;
}
.site-nav a:hover { background: var(--cream-2); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.site-nav .nav-cta a { background: var(--orange-deep); color: #fff; margin-left: 8px; padding-inline: 20px; }
.site-nav .nav-cta a:hover { background: #A93800; }

.nav-toggle {
  display: none;
  width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor;
  position: relative; transition: transform .25s ease, background-color .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .brand { width: 80px; }
  .brand img { max-width: 80px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; inset: 79px 0 0 0;
    background: var(--cream);
    padding: 20px 20px 40px;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .js.nav-open .site-nav {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .js.nav-open body { overflow: hidden; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .js .site-nav a {
    font-family: var(--font-display); font-weight: 400; font-size: 1.9rem;
    padding: 12px 16px; border-radius: var(--radius-sm);
  }
  .js .site-nav .nav-cta a { margin: 16px 0 0; text-align: center; font-size: 1.4rem; }
  /* Without JavaScript the links wrap under the logo. */
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding: 10px 0; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--cream);
  padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 70px);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url(../img/bg-fruitsveg.webp) center / 1100px auto repeat;
  opacity: .3;
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1fr minmax(0, 640px) 1fr;
  align-items: end; gap: 10px;
}
.hero-copy { text-align: center; padding-bottom: 10px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em;
  color: var(--teal-deep);
  background: #fff; border: 2px solid var(--line);
  padding: 6px 18px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--orange-deep); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 32em; margin: 0 auto 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-kid { justify-self: center; width: 100%; }
.hero-kid.girl { max-width: 210px; animation: float 6s ease-in-out infinite; }
.hero-kid.boy { max-width: 165px; animation: float 6s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 899px) {
  .hero .wrap { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .hero-copy { grid-column: 1 / -1; grid-row: 1; }
  .hero-kid { grid-row: 2; }
  .hero-kid.girl { max-width: 130px; }
  .hero-kid.boy { max-width: 100px; }
}

/* Wavy edge at the bottom of a section */
.wave { display: block; width: 100%; height: clamp(28px, 4vw, 60px); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head p { font-size: 1.2rem; margin: 0; }
.kicker {
  display: block; font-family: var(--font-display); font-size: 1.1rem;
  letter-spacing: .06em; color: var(--teal-deep); margin-bottom: 8px;
}
.bg-green { background: var(--green-tint); }
.bg-cream { background: var(--cream); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 90px); align-items: center; }
.about-photo { position: relative; max-width: 420px; width: 100%; justify-self: center; margin: 0; }
.about-photo::before {
  content: ""; position: absolute; inset: 0;
  background: var(--green); border-radius: var(--radius);
  transform: rotate(-5deg) translate(-10px, 6px);
}
.about-photo img {
  position: relative; width: 100%;
  aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 0;
  border-radius: var(--radius); box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.about-photo figcaption {
  position: absolute; right: -14px; bottom: 26px;
  background: #fff; color: var(--ink); font-weight: 800; font-size: .95rem;
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
.about-copy .big { font-size: 1.35rem; line-height: 1.5; color: var(--ink); font-weight: 700; }

@media (max-width: 799px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
  .about-photo figcaption { right: 0; }
}

/* Class cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px 26px;
  box-shadow: var(--shadow); border-top: 6px solid var(--c);
}
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; font-size: 1.05rem; }
.icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--c); color: #fff;
}
.icon svg { width: 34px; height: 34px; }
.c-orange { --c: var(--orange-deep); }
.c-teal { --c: var(--teal-deep); }
.c-green { --c: var(--green-deep); }
.c-lavender { --c: var(--lavender-deep); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Themes */
.themes {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
  background: var(--cream); border-radius: 32px; padding: clamp(30px, 5vw, 60px);
}
.themes h2 { margin-bottom: .3em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 26px; }
.chips li {
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1;
  padding: 12px 20px; border-radius: 999px; color: #fff;
}
.chips li:nth-child(6n+1) { background: var(--orange-deep); }
.chips li:nth-child(6n+2) { background: var(--teal-deep); }
.chips li:nth-child(6n+3) { background: var(--green-deep); }
.chips li:nth-child(6n+4) { background: var(--lavender-deep); }
.chips li:nth-child(6n+5) { background: var(--brown); }
.chips li:nth-child(6n+6) { background: var(--ink); }
.themes p:last-child { margin: 0; font-size: 1.15rem; }
.themes .kid { width: 130px; }
@media (max-width: 760px) {
  .themes { grid-template-columns: 1fr; }
  .themes .kid { width: 110px; justify-self: center; grid-row: 1; }
}

/* Photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.photo-strip a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.photo-strip a:nth-child(even) { transform: translateY(22px); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.photo-strip a:hover img { transform: scale(1.05); }
.center-actions { text-align: center; margin-top: 56px; }
@media (max-width: 900px) {
  .photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-strip a:nth-child(even) { transform: none; }
}

/* Featured quote */
.quote-band { background: var(--teal-deep); color: #fff; }
.quote-band blockquote { margin: 0 auto; max-width: 860px; text-align: center; }
.quote-band blockquote p {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.3; color: #fff; margin-bottom: 24px;
}
.quote-band .stars { color: #FFD45C; }
.quote-band figcaption { text-align: center; color: #DDF2F3; font-weight: 600; }
.quote-band figcaption strong { color: #fff; display: block; font-size: 1.15rem; }
.stars { letter-spacing: .12em; font-size: 1.4rem; display: block; margin-bottom: 14px; }
.quote-band .actions { margin-top: 34px; }

/* Contact band */
.contact-band { background: var(--cream); }
.contact-card {
  position: relative;
  background: #fff; border-radius: 32px; box-shadow: var(--shadow);
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 64px);
  text-align: center; max-width: 820px; margin: 0 auto;
}
.contact-card p { font-size: 1.2rem; max-width: 32em; margin: 0 auto 28px; }
.contact-card .phone { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--body); margin-top: 20px; }
.contact-card .peek { position: absolute; bottom: 0; }
.contact-card .peek.left { left: -120px; width: 104px; }
.contact-card .peek.right { right: -100px; width: 84px; }
@media (max-width: 1120px) { .contact-card .peek { display: none; } }

/* ---------- Inner page header ---------- */
.page-hero { background: var(--cream); position: relative; overflow: hidden; padding: clamp(40px, 6vw, 70px) 0 clamp(30px, 4vw, 50px); }
.page-hero .wrap { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { font-size: 1.2rem; max-width: 36em; margin: 0; }
.page-hero .kid { width: 110px; flex: none; }
@media (max-width: 640px) { .page-hero .kid { display: none; } }

/* ---------- Gallery ---------- */
.gallery-grid { column-count: 3; column-gap: 18px; }
.grid-link { display: block; margin-bottom: 18px; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.grid-item { width: 100%; transition: transform .3s ease; }
.grid-link:hover .grid-item, .grid-link:focus-visible .grid-item { transform: scale(1.03); }
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 560px) { .gallery-grid { column-count: 1; } }

.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(20, 21, 36, .94);
  justify-content: center; align-items: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 92%; max-height: 86%; width: auto; border-radius: 12px; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center;
  background: #fff; color: var(--ink); cursor: pointer;
}
.lightbox-close svg { width: 24px; height: 24px; display: block; }
.lightbox-close:hover { background: var(--orange-deep); color: #fff; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.lightbox-nav:hover { background: var(--orange-deep); color: #fff; }
.lightbox-nav svg { width: 26px; height: 26px; display: block; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-count {
  position: absolute; bottom: 16px; left: 0; right: 0; margin: 0;
  text-align: center; color: #fff; font-weight: 700; font-size: 1rem;
}
@media (max-width: 640px) {
  .lightbox-nav { top: auto; bottom: 14px; transform: none; width: 50px; height: 50px; }
  .lightbox-nav.prev { left: 16px; }
  .lightbox-nav.next { right: 16px; }
  .lightbox-count { bottom: 28px; }
  .lightbox-overlay img { max-height: 76%; }
}

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: start; }
.review {
  margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 44px); border-top: 6px solid var(--c);
}
.review.featured { grid-column: 1 / -1; }
.review.featured .pull { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.35; color: var(--ink); }
.review blockquote { margin: 0 0 22px; }
.review blockquote p { font-size: 1.12rem; }
.review .stars { color: #D99A00; font-size: 1.25rem; }
.review figcaption { font-weight: 800; color: var(--ink); }
.review figcaption span { display: block; font-weight: 600; color: var(--body); font-size: 1rem; }
.review.note img { border-radius: var(--radius-sm); margin-bottom: 22px; border: 1px solid var(--line); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* Testimonial slider (one card at a time; swipe, arrows, dots) */
.slider { max-width: 880px; }
.slider-track {
  /* Padding gives the card shadows room; the negative margin keeps the cards where they were.
     The gap is twice the side padding, so one slide step equals the track width. */
  --pad-x: 36px;
  display: flex; align-items: flex-start; gap: calc(var(--pad-x) * 2);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-padding-inline: var(--pad-x);
  padding: 26px var(--pad-x) 50px; margin: -26px calc(var(--pad-x) * -1) -30px;
  transition: height .35s ease;
}
.slider-track::-webkit-scrollbar { display: none; }
@media (max-width: 960px) { .slider-track { --pad-x: 18px; } }
.slider-track:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: var(--radius); }
.slider .slide { flex: 0 0 100%; scroll-snap-align: start; }
.slider .review.note img { width: auto; max-width: 100%; max-height: 380px; margin-inline: auto; }
.slider .review.featured .pull { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; }
.slider-btn {
  width: 52px; height: 52px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--ink); border: 2px solid var(--ink);
  transition: background-color .15s ease, color .15s ease;
}
.slider-btn:hover { background: var(--ink); color: #fff; }
.slider-btn svg { width: 22px; height: 22px; display: block; }
.slider-dots { display: flex; gap: 10px; }
.slider-dot {
  width: 12px; height: 12px; border-radius: 999px; padding: 0; border: 0; cursor: pointer;
  background: var(--lavender); transition: width .25s ease, background-color .25s ease;
}
.slider-dot[aria-current="true"] { width: 34px; background: var(--orange-deep); }
/* Without JavaScript the cards simply stack. */
.slider:not(.ready) .slider-track { flex-direction: column; overflow: visible; height: auto !important; }
.slider:not(.ready) .slider-controls { display: none; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .kid { width: 120px; margin: 0 auto 24px; }
.notfound p { font-size: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9CBDD; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { max-width: 24em; font-size: 1rem; }
.site-footer h2 { font-size: 1.3rem; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--orange); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1);
}
.social a:hover { background: var(--orange-deep); color: #fff; }
.social svg { width: 22px; height: 22px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .95rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.quote-band figure { margin: 0; }
.site-footer li a { overflow-wrap: anywhere; }
