/* ============================================================
   STONE EDGE KIDZ — playful sub-brand
   Palette sampled from brand assets (Stone Edge Kidz, Jenn David)
   Blue #3488C1 · Green #4CA283 · Yellow #FFDA86 · Pink #FF9EBE
   Salmon #F6A570 · Cream #F9F0DD
   Chunky rounded type (Baloo 2 / Fredoka), confetti shapes.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Fredoka:wght@400;500;600;700&family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600&display=swap');

:root {
  --k-blue:    #2F82C4;
  --k-blue-d:  #1D6FB0;
  --k-blue-dd: #134E80;
  --k-green:   #4CA283;
  --k-green-d: #3A8A6E;
  --k-yellow:  #FFDA86;
  --k-yellow-d:#F4B43C;
  --k-pink:    #FF9EBE;
  --k-pink-d:  #F26C97;
  --k-salmon:  #F6A570;
  --k-salmon-d:#E8814A;
  --k-cream:   #F9F0DD;
  --k-cream-2: #FBF6EA;
  --k-ink:     #243341;   /* deep blue-charcoal for text on light */
  --k-ink-soft:#4B5A66;
  --k-white:   #FFFFFF;

  --k-display: 'Baloo 2', system-ui, sans-serif;
  --k-round:   'Fredoka', system-ui, sans-serif;
  --k-body:    'Nunito', system-ui, sans-serif;

  --k-maxw: 1240px;
  --k-gutter: clamp(20px, 5vw, 72px);
  --k-r: 26px;
  --k-r-lg: 40px;
  --k-r-pill: 999px;
  --k-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --k-shadow: 0 16px 40px rgba(36,51,65,0.14);
  --k-shadow-sm: 0 8px 20px rgba(36,51,65,0.12);
}

/* subtle paper grain reused across brand bgs */
.k-grain { position: relative; }
.k-grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body.kids {
  margin: 0; background: var(--k-cream); color: var(--k-ink);
  font-family: var(--k-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.kids img { max-width: 100%; display: block; }
.kids a { color: inherit; text-decoration: none; }

.k-wrap { width: 100%; max-width: var(--k-maxw); margin-inline: auto; padding-inline: var(--k-gutter); }
.k-section { padding-block: clamp(56px, 8vw, 110px); position: relative; }

/* ---------- type ---------- */
.k-display { font-family: var(--k-display); font-weight: 800; line-height: 0.95; letter-spacing: -0.01em; margin: 0;
  font-size: clamp(2.75rem, 7vw, 6rem); }
.k-h1 { font-family: var(--k-display); font-weight: 800; line-height: 1; margin: 0; font-size: clamp(2.25rem, 5vw, 4rem); }
.k-h2 { font-family: var(--k-display); font-weight: 700; line-height: 1.05; margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
.k-h3 { font-family: var(--k-round); font-weight: 600; line-height: 1.1; margin: 0; font-size: 1.5rem; }
.k-eyebrow { font-family: var(--k-round); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.k-lead { font-size: clamp(1.125rem, 1.6vw, 1.4rem); line-height: 1.5; margin: 0; font-weight: 600; color: var(--k-ink); text-wrap: pretty; }
.k-body { color: var(--k-ink-soft); margin: 0; text-wrap: pretty; font-weight: 500; }

/* ---------- buttons ---------- */
.k-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--k-round); font-weight: 600; font-size: 1.0625rem;
  padding: 15px 28px; border-radius: var(--k-r-pill); border: 0; cursor: pointer; transition: transform 0.25s var(--k-ease), box-shadow 0.25s var(--k-ease), background 0.25s; box-shadow: var(--k-shadow-sm); }
.k-btn:hover { transform: translateY(-3px) scale(1.02); }
.k-btn .a { transition: transform 0.3s var(--k-ease); }
.k-btn:hover .a { transform: translateX(4px); }
.k-btn--blue { background: var(--k-blue); color: #fff; }
.k-btn--blue:hover { background: var(--k-blue-d); }
.k-btn--pink { background: var(--k-pink-d); color: #fff; }
.k-btn--yellow { background: var(--k-yellow); color: var(--k-ink); }
.k-btn--yellow:hover { background: var(--k-yellow-d); }
.k-btn--white { background: #fff; color: var(--k-blue-d); }
.k-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.7); }
.k-btn--ghost:hover { background: rgba(255,255,255,0.14); }
.k-btn--ink { background: var(--k-ink); color: #fff; }

/* ---------- chips ---------- */
.k-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--k-round); font-weight: 600; font-size: 0.95rem;
  padding: 9px 18px; border-radius: var(--k-r-pill); background: #fff; color: var(--k-ink); box-shadow: var(--k-shadow-sm); }

/* ---------- confetti shapes ---------- */
.k-shape { position: absolute; pointer-events: none; z-index: 0; }
.k-dot { border-radius: 50%; }
.k-arc { border-style: solid; border-bottom: none; border-top-left-radius: 999px; border-top-right-radius: 999px; }
.k-pill { border-radius: 999px; }
.k-half { border-radius: 999px 999px 0 0; }

/* ============================================================
   HERO
   ============================================================ */
.k-hero { background: var(--k-blue); color: #fff; position: relative; overflow: hidden; padding-top: clamp(120px, 14vw, 170px); padding-bottom: clamp(56px, 8vw, 100px); }
.k-hero__inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.k-hero__eyebrow { color: var(--k-yellow); }
.k-hero__title { color: #fff; }
.k-hero__title .pop { color: var(--k-yellow); }
.k-hero__sub { color: rgba(255,255,255,0.92); margin-top: 18px; max-width: 42ch; }
.k-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.k-hero__art { position: relative; z-index: 3; }
.k-hero__art > img:first-child { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--k-r-lg); box-shadow: 0 26px 60px rgba(19,78,128,0.4); border: 5px solid #fff; }
.k-hero__badge { position: absolute; z-index: 4; width: clamp(96px, 13vw, 150px); right: -14px; bottom: -26px; animation: k-bob 4s ease-in-out infinite; }
@keyframes k-bob { 0%,100%{transform:translateY(0) rotate(-4deg)} 50%{transform:translateY(-12px) rotate(4deg)} }

/* times ribbon */
.k-times { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.k-time { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.14); border: 1.5px solid rgba(255,255,255,0.28); padding: 14px 22px 14px 16px; border-radius: var(--k-r); backdrop-filter: blur(4px); }
.k-time__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.k-time__day { font-family: var(--k-round); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-yellow); }
.k-time__when { font-family: var(--k-display); font-weight: 700; font-size: 1.25rem; color: #fff; line-height: 1; margin-top: 2px; }

/* ============================================================
   WELCOME
   ============================================================ */
.k-welcome { background: #1F2E3A; position: relative; overflow: hidden; }
.k-welcome .k-h1, .k-welcome .k-lead { color: #fff; }
.k-welcome .k-body { color: rgba(255,255,255,0.78); }
.k-welcome__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; z-index: 2; }
.k-photo { border-radius: var(--k-r-lg); overflow: hidden; box-shadow: var(--k-shadow); border: 5px solid #fff; }
.k-photo image-slot { width: 100%; height: clamp(340px, 42vw, 500px); }
.k-photo img { width: 100%; height: clamp(340px, 42vw, 500px); object-fit: cover; display: block; }
.k-welcome .k-eyebrow { color: var(--k-yellow); }

/* ============================================================
   AGE GROUPS
   ============================================================ */
.k-ages { background: var(--k-cream-2); position: relative; overflow: hidden; }
.k-ages__head { text-align: center; max-width: 30ch; margin: 0 auto clamp(36px, 5vw, 60px); position: relative; z-index: 2; }
.k-ages__head .k-eyebrow { color: var(--k-green-d); }
.k-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.k-agecard { background: #fff; border-radius: var(--k-r-lg); overflow: hidden; transition: transform 0.3s var(--k-ease), box-shadow 0.3s var(--k-ease); box-shadow: var(--k-shadow-sm); display: flex; flex-direction: column; }
.k-agecard:hover { transform: translateY(-8px); box-shadow: var(--k-shadow); }
.k-agecard__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.k-agecard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.k-agecard__body .role { font-family: var(--k-round); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.k-agecard__body .age { font-family: var(--k-display); font-weight: 700; font-size: 1.35rem; color: var(--k-ink); line-height: 1; }
.k-agecard__body p { margin: 4px 0 0; font-weight: 500; color: var(--k-ink-soft); font-size: 0.98rem; }
.k-agecard--blue .role { color: var(--k-blue-d); }
.k-agecard--pink .role { color: var(--k-pink-d); }
.k-agecard--green .role { color: var(--k-green-d); }
.k-agecard--yellow .role { color: var(--k-yellow-d); }

/* ============================================================
   SUNDAY STEPS
   ============================================================ */
.k-steps-sec { background: var(--k-blue); color: #fff; position: relative; overflow: hidden; }
.k-steps-sec .k-eyebrow { color: var(--k-yellow); }
.k-steps-head { text-align: center; max-width: 32ch; margin: 0 auto clamp(36px,5vw,56px); position: relative; z-index: 2; }
.k-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; }
.k-step { background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.22); border-radius: var(--k-r); padding: 28px 24px; }
.k-step__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--k-display); font-weight: 800; font-size: 1.4rem; color: var(--k-ink); margin-bottom: 18px; }
.k-step:nth-child(1) .k-step__n { background: var(--k-yellow); }
.k-step:nth-child(2) .k-step__n { background: var(--k-pink); }
.k-step:nth-child(3) .k-step__n { background: var(--k-salmon); }
.k-step:nth-child(4) .k-step__n { background: var(--k-green); color: #fff; }
.k-step h3 { font-family: var(--k-round); font-weight: 600; font-size: 1.25rem; margin: 0 0 8px; }
.k-step p { color: rgba(255,255,255,0.88); font-weight: 500; margin: 0; font-size: 0.98rem; }

/* ============================================================
   SAFETY / CHECK-IN (split)
   ============================================================ */
.k-safety { background: var(--k-cream); position: relative; overflow: hidden; }
.k-safety__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,72px); align-items: center; position: relative; z-index: 2; }
.k-safety .k-eyebrow { color: var(--k-blue-d); }
.k-checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.k-check { display: flex; gap: 14px; align-items: flex-start; }
.k-check__tick { width: 30px; height: 30px; border-radius: 50%; background: var(--k-green); color: #fff; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; font-size: 0.9rem; box-shadow: var(--k-shadow-sm); }
.k-check b { font-family: var(--k-round); font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.k-faq-sec { background: var(--k-yellow); position: relative; overflow: hidden; }
.k-faq-sec .k-eyebrow { color: var(--k-salmon-d); }
.k-faq { max-width: 800px; margin-top: 30px; position: relative; z-index: 2; }
.k-faq__item { background: #fff; border-radius: 20px; margin-bottom: 14px; box-shadow: var(--k-shadow-sm); overflow: hidden; }
.k-faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-family: var(--k-round); font-weight: 600; font-size: 1.2rem; color: var(--k-ink); cursor: pointer; }
.k-faq__q .ic { color: var(--k-pink-d); font-size: 1.6rem; transition: transform 0.3s var(--k-ease); flex-shrink: 0; line-height: 1; }
.k-faq__item.open .k-faq__q .ic { transform: rotate(45deg); }
.k-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.k-faq__a p { padding: 0 26px 24px; margin: 0; color: var(--k-ink-soft); font-weight: 500; }

/* ============================================================
   PARENT / VOLUNTEER CTA
   ============================================================ */
.k-cta { background: var(--k-pink-d); color: #fff; position: relative; overflow: hidden; text-align: center; }
.k-cta__inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.k-cta__inner .k-h1, .k-cta__inner .k-display { max-width: 16ch; margin-inline: auto; }
.k-cta__inner .k-lead { max-width: 46ch; margin-inline: auto; }
.k-cta .k-eyebrow { color: var(--k-yellow); justify-content: center; }
.k-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.k-cta__actions .k-btn { flex: 0 0 auto; white-space: nowrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .k-hero__inner, .k-welcome__grid, .k-safety__grid { grid-template-columns: 1fr; }
  .k-hero__art { order: -1; max-width: 520px; }
  .k-cards { grid-template-columns: 1fr 1fr; max-width: 560px; margin-inline: auto; }
  .k-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .k-steps { grid-template-columns: 1fr; }
  .k-time { flex: 1 1 100%; }
  .k-cards { grid-template-columns: 1fr; max-width: 340px; }
}
