/* =========================================================
   Jalur A, Early Years Program: tema playful
   Konsep tata letak: desa pertanian ilustrasi sebagai panggung,
   isi di atas papan putih membulat, foto dalam bingkai kayu,
   pita label jenjang (Playgroup ungu, Kindergarten hijau).
   ========================================================= */
:root {
  --orange: #F47B1F;       /* aksen utama EYP (isi bidang, bukan teks kecil) */
  --orange-deep: #B8500A;  /* judul dan tombol, teks putih 5.0:1 */
  --orange-soft: #FFE3C8;
  --brown: #5C3A1E;        /* kayu, garis, teks hangat 9.6:1 */
  --cream: #FFF8EE;
  --sky: #DDF3FF;
  --grass: #E7F6D9;
  --purple: #7A4CC2;       /* pita Playgroup, teks putih 5.8:1 */
  --kg-green: #17703F;     /* pita Kindergarten, teks putih 6.2:1 */
  --on-orange: #3B230F;    /* teks di atas oranye 5.4:1 */
  --ink: #33251A;
  --muted: #5E4B3C;
  --line: #EED9C2;
  --mist: #FFF1E2;
  --zebra: #FFF6EC;

  --accent: var(--orange-deep);
  --accent-ink: #FFFFFF;
  --heading: var(--orange-deep);
  --page: var(--cream);
  --link: #9A4208;
  --th-bg: var(--orange-deep);
  --check-bg: var(--kg-green);
  --radius: 16px;
  --radius-lg: 32px;
  --f-head: "Fredoka", "Raleway", "Segoe UI", system-ui, sans-serif;
}

.eyp h1, .eyp h2, .eyp h3 { font-family: var(--f-head); font-weight: 700; letter-spacing: 0.005em; }
.bubble {
  color: var(--orange-deep);
  text-shadow: 0 3px 0 rgba(92, 58, 30, 0.16);
}
.eyp .h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); line-height: 1.08; }
.eyp .h3 { font-size: var(--step-2); font-weight: 600; color: var(--brown); }
.eyp .eyebrow { color: var(--kg-green); font-family: var(--f-head); font-weight: 600; letter-spacing: 0.04em; text-transform: none; font-size: 1.05rem; }
.eyp .btn { border-radius: 999px; font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; }
.eyp .btn-chat { --b-bg: var(--kg-green); }
.btn-wood { --b-bg: #FFFFFF; --b-fg: var(--brown); border-color: var(--brown); }
.btn-wood:hover { --b-bg: var(--orange-soft); }
.eyp .tab { border-color: var(--line); font-family: var(--f-head); font-weight: 600; }
.eyp .acc summary { color: var(--brown); font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; }

/* Header versi EYP: garis bawah oranye */
.eyp .site-header { border-bottom: 3px solid var(--orange); }
.eyp .subnav a { background: var(--mist); color: var(--brown); }

/* Pita jenjang */
.ribbons { display: flex; flex-wrap: wrap; gap: 8px; }
.ribbon {
  --r: var(--purple);
  display: inline-block; padding: 5px 20px; color: #FFFFFF; background: var(--r);
  font-family: var(--f-head); font-weight: 600; font-size: 0.98rem; line-height: 1.3;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%, 10px 50%);
}
.ribbon.kg { --r: var(--kg-green); }
.ribbon.orange { --r: var(--orange-deep); }

/* Bingkai kayu bergantung */
.frame {
  position: relative; border-radius: 18px; padding: 10px; margin-top: 22px;
  background: linear-gradient(135deg, #A86A3C, #7A4A26 55%, #9A5F33);
  box-shadow: 0 8px 0 rgba(92, 58, 30, 0.2);
}
.frame img { border-radius: 10px; width: 100%; object-fit: cover; }
.frame::before, .frame::after { content: ""; position: absolute; top: -24px; width: 3px; height: 28px; background: #7A4A26; border-radius: 2px; }
.frame::before { left: 24%; transform: rotate(-14deg); }
.frame::after { right: 24%; transform: rotate(14deg); }
.frame.tilt-l { transform: rotate(-1.8deg); }
.frame.tilt-r { transform: rotate(1.6deg); }
.frame.r43 img { aspect-ratio: 4 / 3; }
.frame.r34 img { aspect-ratio: 3 / 4; }

/* Papan isi */
.board {
  background: rgba(255, 255, 255, 0.94); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 44px); box-shadow: 0 10px 0 rgba(92, 58, 30, 0.10);
}
.card {
  background: #FFFFFF; border-radius: 24px; padding: 22px; border: 2px solid var(--line);
  display: grid; gap: 12px; align-content: start;
}

/* Bagian dengan latar ilustrasi */
.scene { position: relative; isolation: isolate; overflow: hidden; }
.scene > .scene-bg { position: absolute; inset: 0; z-index: -1; }
.scene > .scene-bg img { width: 100%; height: 100%; object-fit: cover; }
.scene > .scene-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,248,238,0) 0%, rgba(255,248,238,0.15) 100%); }

/* ---------- 1. Hero ---------- */
.eyp-hero { padding-block: clamp(28px, 5vw, 64px) 0; }
.eyp-hero .scene-bg img { object-position: center 40%; }
.hero-grid { display: grid; gap: 8px; align-items: end; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-board { display: grid; gap: 16px; margin-bottom: clamp(24px, 4vw, 56px); }
.hero-title { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem); line-height: 1.02; }
.hero-sub { font-family: var(--f-head); font-weight: 600; font-size: var(--step-2); color: var(--brown); line-height: 1.25; }
.hero-kids { display: flex; justify-content: center; align-items: end; gap: 0; }
.hero-kids img { width: 46%; max-width: 280px; filter: drop-shadow(0 10px 14px rgba(60, 40, 20, 0.25)); }
.hero-kids img + img { margin-left: -6%; }
@media (max-width: 959px) { .hero-kids img { max-width: 190px; } }

/* ---------- 2. Angka kebanggaan ---------- */
.stats { display: grid; gap: 18px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 26px 20px; background: #FFFFFF; border-radius: 28px; border: 3px dashed var(--orange); }
.stat .big {
  display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%;
  background: var(--orange); color: var(--on-orange); font-family: var(--f-head); font-weight: 700; font-size: 2.3rem; line-height: 1;
  box-shadow: inset 0 -6px 0 rgba(92, 58, 30, 0.18);
}
.stat .big small { display: block; font-size: 0.85rem; font-weight: 600; margin-top: 2px; }
.stat p { font-weight: 700; color: var(--ink); max-width: 28ch; }

/* ---------- 3. Mengapa ---------- */
.why-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-grid .card h3 { font-size: 1.3rem; color: var(--brown); font-weight: 600; }
.emoji { font-size: 1.8rem; line-height: 1; }

/* ---------- 4. Pilih kelas ---------- */
.class-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .class-grid { grid-template-columns: repeat(3, 1fr); } }
.class-card { padding: 18px 18px 24px; }
.class-card .frame { margin-top: 26px; }
.class-card h3 { font-size: 1.6rem; color: var(--orange-deep); }
.facts { display: grid; gap: 4px; font-size: 0.97rem; }
.facts b { color: var(--brown); }
.class-card .btn { margin-top: 6px; }
.age-box { margin-top: 26px; background: var(--sky); border-radius: 24px; padding: 22px; }
.age-box .h3 { color: #1B4A66; }

/* ---------- 5. Kurikulum ---------- */
.pillars4 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pillar { padding: 18px; border-radius: 20px; background: var(--mist); display: grid; gap: 6px; }
.pillar b { font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; color: var(--brown); line-height: 1.25; }
.pillar span { font-size: 0.93rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--grass); color: #24502C; font-weight: 700; font-size: 0.92rem; }

/* ---------- 6. Program ---------- */
.prog-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .prog-grid { grid-template-columns: repeat(3, 1fr); } }
.prog-card { padding: 16px 18px 22px; }
.prog-card h3 { font-size: 1.35rem; color: var(--orange-deep); }
.prog-card .frame img { aspect-ratio: 4 / 3; }
.prog-card .tag { font-size: 0.8125rem; font-weight: 800; color: var(--kg-green); text-transform: uppercase; letter-spacing: 0.08em; }
.area-list { list-style: none; display: grid; gap: 6px; font-size: 0.95rem; }
.area-list b { color: var(--brown); }
.phone-shot { display: grid; place-items: center; background: var(--sky); border-radius: 14px; padding: 14px 0 0; overflow: hidden; aspect-ratio: 4 / 3; }
.phone-shot img { width: 62%; margin-top: 4px; }

/* ---------- 7. Lulusan, visi, misi ---------- */
.grad { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .grad { grid-template-columns: 0.75fr 1.25fr; } }
.grad-img { display: flex; justify-content: center; align-items: end; background: radial-gradient(circle at 50% 60%, var(--orange-soft) 0 58%, transparent 59%); }
.grad-img img { width: 50%; max-width: 260px; }
.grad-img img + img { margin-left: -8%; }
.vm { display: grid; gap: 18px; margin-top: 30px; align-items: start; }
@media (min-width: 900px) { .vm { grid-template-columns: 0.8fr 1.2fr; } }
.visi { background: var(--orange); color: var(--on-orange); border-radius: 28px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.visi h3 { color: var(--on-orange); font-size: 1.6rem; }
.visi p { font-weight: 700; font-size: 1.1rem; line-height: 1.55; }

/* ---------- 8. Fasilitas ---------- */
.fac-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .fac-grid { grid-template-columns: repeat(4, 1fr); } }
.fac { margin: 0; background: #FFFFFF; border-radius: 20px; padding: 8px 8px 12px; display: grid; grid-template-rows: 1fr auto; gap: 10px; box-shadow: 0 6px 0 rgba(92, 58, 30, 0.12); }
.fac img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: 100%; }
.fac figcaption { justify-self: center; font-family: var(--f-head); font-weight: 600; color: #FFFFFF; background: #7A4A26; padding: 3px 14px; border-radius: 8px; font-size: 0.98rem; text-align: center; }
.fac.feature { grid-column: span 2; }
.fac.feature img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .fac.tall { grid-row: span 2; } .fac.tall img { aspect-ratio: auto; } }

/* ---------- 9. Aktivitas ---------- */
.gallery { columns: 2 160px; column-gap: 14px; }
@media (min-width: 900px) { .gallery { columns: 3; } }
.gallery figure { break-inside: avoid; margin: 0 0 14px; background: #FFFFFF; padding: 8px 8px 10px; border-radius: 16px; border: 2px solid var(--line); }
.gallery img { border-radius: 10px; width: 100%; }
.gallery figcaption { font-size: 0.9rem; font-weight: 700; color: var(--brown); padding: 8px 4px 0; }

/* ---------- 10. Layanan ---------- */
.svc-grid { display: grid; gap: 22px; }
@media (min-width: 820px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
.svc { display: grid; gap: 16px; }
@media (min-width: 560px) { .svc { grid-template-columns: 0.8fr 1.2fr; align-items: center; } }
.svc .frame img { aspect-ratio: 3 / 4; }

/* ---------- 11. Prestasi ---------- */
.ach { display: grid; gap: 28px; }
@media (min-width: 960px) { .ach { grid-template-columns: 1fr 1fr; align-items: start; } }
.polaroids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 560px; }
.polaroids figure { margin: 0; background: #FFFFFF; padding: 6px 6px 18px; border-radius: 6px; box-shadow: 0 4px 10px rgba(60, 40, 20, 0.15); }
.polaroids figure:nth-child(odd) { transform: rotate(-2deg); }
.polaroids figure:nth-child(even) { transform: rotate(2deg); }
.polaroids img { aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 330px; }
.big-150 { font-family: var(--f-head); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 4.6rem); line-height: 1; color: var(--orange-deep); }
.ach-list { list-style: none; display: grid; gap: 8px; font-size: 0.96rem; }
.ach-list li { padding-left: 22px; position: relative; }
.ach-list li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }

/* ---------- 12. SDM ---------- */
.team { background: var(--sky); border-radius: 32px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 22px; }
.team img { width: 100%; max-width: 820px; justify-self: center; }
.comp-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.comp { background: #FFFFFF; border-radius: 18px; padding: 14px 16px; font-weight: 700; color: #1B4A66; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; }
.comp span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1B4A66; color: #FFFFFF; font-family: var(--f-head); }

/* ---------- 14. Testimoni ---------- */
.testi-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
.testi { position: relative; background: #FFFFFF; border-radius: 26px; padding: 24px; border: 2px solid var(--line); display: grid; gap: 12px; align-content: start; }
.testi::after { content: ""; position: absolute; left: 34px; bottom: -14px; width: 26px; height: 26px; background: #FFFFFF; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg); }
.testi .who { font-family: var(--f-head); font-weight: 600; color: var(--brown); font-size: 1.1rem; }
.testi .who small { display: block; font-family: var(--f-body); font-weight: 400; color: var(--muted); font-size: 0.9rem; }

/* ---------- 15. Biaya ---------- */
.fee { background: var(--orange); color: var(--on-orange); border-radius: 32px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; align-items: center; box-shadow: inset 0 -8px 0 rgba(92, 58, 30, 0.15); }
@media (min-width: 860px) { .fee { grid-template-columns: 1.4fr auto; } }
.fee h2 { color: var(--on-orange); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.fee p { font-weight: 700; max-width: 60ch; }
.fee .btn-chat { --b-bg: var(--on-orange); }

/* ---------- 16. Tahapan ---------- */
.steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: #FFFFFF; border-radius: 22px; padding: 18px 18px 18px 74px; position: relative; display: grid; gap: 6px; min-height: 96px; border: 2px solid var(--line); align-content: start; }
.steps li::before {
  content: counter(s); position: absolute; left: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: var(--on-orange); font-family: var(--f-head); font-weight: 700; font-size: 1.3rem;
}
.steps b { font-family: var(--f-head); font-weight: 600; color: var(--brown); font-size: 1.12rem; line-height: 1.3; }
.steps span { font-size: 0.95rem; }
.options { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.option { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: #FFFFFF; border-radius: 18px; padding: 14px 16px; text-decoration: none; color: var(--ink); border: 2px solid var(--line); }
.option:hover { border-color: var(--orange); }
.option .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-deep); color: #FFFFFF; }
.option .ic svg { width: 22px; height: 22px; }
.option b { display: block; font-family: var(--f-head); font-weight: 600; color: var(--brown); }
.option span { font-size: 0.9rem; color: var(--muted); }

/* ---------- 17. Pimpinan ---------- */
.lead-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.leader { text-align: center; justify-items: center; }
.leader .photo { width: 100%; max-width: 230px; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; }
.leader .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader b { font-family: var(--f-head); font-weight: 600; color: var(--brown); font-size: 1.1rem; line-height: 1.3; }
.leader .role { color: var(--kg-green); font-weight: 800; font-size: 0.9rem; }
.leader p { font-size: 0.95rem; }

/* ---------- 18. Kontak ---------- */
.contact-grid { display: grid; gap: 22px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }

/* Ritme latar per bagian */
.bg-sky { background: var(--sky); }
.bg-grass { background: var(--grass); }
.bg-white { background: #FFFFFF; }
.wave-top { position: relative; }
.wave-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 30px; background: inherit;
  -webkit-mask: radial-gradient(30px 30px at 30px 30px, #000 98%, transparent) 0 0 / 60px 30px repeat-x;
          mask: radial-gradient(30px 30px at 30px 30px, #000 98%, transparent) 0 0 / 60px 30px repeat-x;
}

@media (min-width: 900px) { .sticky-col { position: sticky; top: 110px; } }
@media (max-width: 759px) {
  .stat { grid-template-columns: 84px 1fr; text-align: left; justify-items: start; align-items: center; padding: 16px; gap: 14px; }
  .stat .big { width: 80px; height: 80px; font-size: 1.7rem; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 2.3rem; }
  .board { padding: 20px 18px; border-radius: 24px; }
  .eyp-hero { padding-top: 20px; }
  .fac figcaption { font-size: 0.9rem; }
  .testi { padding: 20px; }
  .steps li { padding: 16px 16px 16px 68px; }
  .polaroids { gap: 8px; }
  .gallery { columns: 2; column-gap: 10px; }
}

/* ---------- Latar Jalur A: tetap ceria, tidak polos ---------- */
.eyp main > .section:not(.scene):not(.bg-sky):not(.bg-grass):not(.bg-white) {
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(244, 123, 31, 0.10), transparent 62%),
    radial-gradient(600px 340px at 0% 100%, rgba(126, 214, 255, 0.18), transparent 62%),
    var(--cream);
}
.eyp main > .section:not(.scene)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--pat-dots);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
}
.eyp .bg-white {
  background:
    radial-gradient(640px 320px at 0% 0%, rgba(126, 214, 255, 0.16), transparent 62%),
    radial-gradient(640px 320px at 100% 100%, rgba(47, 168, 79, 0.10), transparent 62%),
    #FFFDF8;
}
.eyp .bg-white::before { background-image: var(--pat-orange) !important; -webkit-mask-image: radial-gradient(ellipse 55% 80% at 100% 0%, #000 5%, transparent 70%) !important; mask-image: radial-gradient(ellipse 55% 80% at 100% 0%, #000 5%, transparent 70%) !important; }
.eyp .bg-sky { background: linear-gradient(180deg, #E4F6FF 0%, #D2EEFF 100%); }
.eyp .bg-grass { background: linear-gradient(180deg, #EEF9E4 0%, #E0F3CF 100%); }

/* Logo kurikulum di hero dan pilar */
.hero-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 12px 0 2px; border-top: 2px dashed var(--line); }
.hero-logos img { height: 46px; width: auto; }
@media (max-width: 420px) { .hero-logos img { height: 34px; } }
.pillar { background: #FFFFFF; border: 2px solid var(--line); align-content: start; }

/* =========================================================
   Pengembangan tampilan Jalur A: tepi bergelombang, awan,
   bingkai berayun, pita label, warna ceria
   ========================================================= */
:root { --squiggle: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc5NicgaGVpZ2h0PScxMicgdmlld0JveD0nMCAwIDk2IDEyJz48cGF0aCBkPSdNMiA3YzYtNiAxMC02IDE2IDBzMTAgNiAxNiAwIDEwLTYgMTYgMCAxMCA2IDE2IDAgMTAtNiAxNiAwIDEwIDYgMTIgMicgZmlsbD0nbm9uZScgc3Ryb2tlPScjRjQ3QjFGJyBzdHJva2Utd2lkdGg9JzMuMicgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJy8+PC9zdmc+"); --progress: linear-gradient(90deg, #F47B1F, #FFC23D, #2FA84F); }

/* Tepi atas tiap bagian bergelombang seperti awan */
.eyp main > .section, .eyp .site-footer {
  margin-top: -30px;
  padding-top: calc(clamp(56px, 8vw, 104px) + 30px);
  -webkit-mask: radial-gradient(30px 30px at 30px 30px, #000 98%, transparent 100%) 0 0 / 60px 30px repeat-x,
                linear-gradient(#000 0 0) 0 29px / 100% calc(100% - 29px) no-repeat;
          mask: radial-gradient(30px 30px at 30px 30px, #000 98%, transparent 100%) 0 0 / 60px 30px repeat-x,
                linear-gradient(#000 0 0) 0 29px / 100% calc(100% - 29px) no-repeat;
}
.eyp .site-footer { position: relative; padding-top: 78px; }
@media (max-width: 520px) { .eyp main > .section { padding-top: 82px; } }

/* Label kecil sebagai pil */
.eyp .eyebrow {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start;
  padding: 6px 16px; border-radius: 999px; background: #FFFFFF; border: 2px solid #BFE5A8;
  color: #17703F; box-shadow: 0 4px 0 rgba(23, 112, 63, .12);
}
.eyp .section-head.center .eyebrow { justify-self: center; }
.eyp .stack > .eyebrow { justify-self: start; }

/* Garis berombak di bawah judul bagian */
.eyp .section-head .h2::after, .eyp .board .h2::after, .eyp .stack > .h2::after {
  content: ""; display: block; width: 96px; height: 12px; margin-top: 12px; background: var(--squiggle) no-repeat;
}
.eyp .section-head.center .h2::after { margin-inline: auto; }
.js-motion .eyp .reveal .h2::after { transform: scaleX(0); transform-origin: left; transition: transform .8s .35s var(--ease-out); }
.js-motion .eyp .section-head.center.reveal .h2::after { transform-origin: center; }
.js-motion .eyp .reveal.in .h2::after { transform: scaleX(1); }

/* Hero: awan melayang dan anak-anak mengambang */
.eyp-hero .wrap { position: relative; z-index: 1; }
.clouds { position: absolute; inset: 0 0 auto; height: 60%; z-index: 0; pointer-events: none; overflow: hidden; }
.clouds i {
  position: absolute; left: -220px; width: 180px; height: 56px; border-radius: 60px; background: rgba(255, 255, 255, .92);
  filter: drop-shadow(0 6px 10px rgba(180, 90, 120, .18)); animation: cloud-drift 70s linear infinite;
}
.clouds i::before, .clouds i::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.clouds i::before { width: 80px; height: 80px; left: 26px; top: -38px; }
.clouds i::after { width: 100px; height: 100px; right: 22px; top: -52px; }
.clouds i:nth-child(1) { top: 16%; }
.clouds i:nth-child(2) { top: 34%; transform: scale(.7); animation-duration: 95s; animation-delay: -40s; }
.clouds i:nth-child(3) { top: 8%; transform: scale(.55); animation-duration: 120s; animation-delay: -75s; opacity: .85; }
.clouds i:nth-child(4) { top: 46%; transform: scale(.85); animation-duration: 85s; animation-delay: -20s; }
@keyframes cloud-drift { from { translate: 0 0; } to { translate: calc(100vw + 460px) 0; } }
.hero-kids img { animation: float-y 4.5s ease-in-out infinite; }
.hero-kids img + img { animation-delay: -2.2s; }
.hero-board { animation: rise .9s var(--ease-out) both; }
.hero-kids { animation: rise 1s .2s var(--ease-out) both; }
.hero-title { background: linear-gradient(180deg, #D86410 0%, #B8500A 55%, #9A4208 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 3px 0 rgba(92, 58, 30, .16)); }

/* Bingkai kayu berayun saat disentuh */
.frame { transform-origin: 50% -24px; }
.card:hover .frame, .frame:hover { animation: swing 1.6s ease-in-out; }
@keyframes swing { 0% { rotate: 0deg; } 25% { rotate: 2.4deg; } 50% { rotate: -1.8deg; } 75% { rotate: .8deg; } 100% { rotate: 0deg; } }
.frame img { transition: filter .4s ease; }
.card:hover .frame img { filter: saturate(1.12); }

/* Kartu: terangkat lembut */
.card, .testi, .fac, .gallery figure, .steps li, .option, .comp, .pillar {
  transition: translate .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s ease;
}
.card:hover, .testi:hover, .steps li:hover, .pillar:hover { translate: 0 -5px; border-color: #F7B27A; box-shadow: 0 12px 0 -4px rgba(244, 123, 31, .22); }
.fac:hover, .gallery figure:hover, .comp:hover { translate: 0 -5px; }
.fac img, .gallery img, .polaroids img { transition: transform .8s var(--ease-out); }
.fac:hover img, .gallery figure:hover img { transform: scale(1.05); }
.fac { overflow: hidden; }
.polaroids figure { transition: transform .35s var(--ease-out); }
.polaroids figure:hover { transform: rotate(0deg) scale(1.08); z-index: 2; position: relative; }

/* Pita label berkilau */
.ribbon { position: relative; overflow: hidden; }
.ribbon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); animation: ribbon-shine 5s ease-in-out infinite; }
@keyframes ribbon-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Lingkaran angka: memantul saat muncul */
.stat .big { position: relative; }
.stat .big::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px dashed rgba(244, 123, 31, .45); animation: spin 18s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.js-motion .stat.reveal .big { transform: scale(.6); transition: transform .8s .15s cubic-bezier(.3, 1.6, .5, 1); }
.js-motion .stat.reveal.in .big { transform: scale(1); }
.steps li::before { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.steps li:hover::before { transform: scale(1.12) rotate(-6deg); }

/* Warna lebih hidup pada latar bagian */
.eyp .bg-sky { background: radial-gradient(700px 300px at 10% 0%, rgba(255, 255, 255, .7), transparent 60%), linear-gradient(180deg, #DDF3FF 0%, #C9EBFF 100%); }
.eyp .bg-grass { background: radial-gradient(700px 320px at 90% 0%, rgba(255, 255, 255, .65), transparent 60%), linear-gradient(180deg, #EAF8DD 0%, #D8F0C3 100%); }
.eyp .site-footer { background: var(--pat-white) top center / 120px, radial-gradient(700px 300px at 85% 0%, rgba(244, 123, 31, .25), transparent 70%), var(--navy); }

@media (prefers-reduced-motion: reduce) {
  .clouds, .ribbon::after, .stat .big::after { display: none; }
  .hero-kids img { animation: none; }
}

/* ---------- Komponen baru: tema playful ---------- */
.eyp { --qc-radius: 26px; --modal-radius: 30px; --qc-accent: var(--orange); --qc-border: var(--line); }
.eyp .quote-card { border-width: 2px; }
.eyp .quote-card:hover { border-color: #F7B27A; box-shadow: 0 12px 0 -4px rgba(244, 123, 31, .25); }
.eyp .qc-photo { background: var(--orange-soft); }
.eyp .qc-photo::after { color: #FFE3C8; }
.eyp .qc-who b, .eyp .modal-title { color: var(--orange-deep); font-weight: 600; }
.eyp .qc-more { color: var(--kg-green); font-family: var(--f-head); font-weight: 600; }
.eyp .lc-photo { background: radial-gradient(circle at 50% 75%, #FFFFFF 0 30%, transparent 31%), linear-gradient(180deg, #DDF3FF, #C9EBFF); }
.eyp .modal-photo { background: var(--orange-soft); }
.eyp .modal-letter .modal-photo { background: linear-gradient(180deg, #DDF3FF, #C9EBFF); }
.eyp .modal-kicker { color: var(--kg-green); }
.tag-pill { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--kg-green); color: #FFFFFF; font-family: var(--f-head); font-weight: 600; font-size: 0.92rem; }
.eyp .ig-tile { border-radius: 22px; border: 4px solid #FFFFFF; box-shadow: 0 8px 0 rgba(92, 58, 30, .12); }
.eyp .ig-tile:nth-child(odd) { rotate: -1.2deg; }
.eyp .ig-tile:nth-child(even) { rotate: 1.2deg; }
.eyp .ig-tile:hover { rotate: 0deg; }
.eyp .ig-section { background: radial-gradient(600px 300px at 100% 0%, rgba(168, 31, 94, .07), transparent 60%), radial-gradient(600px 320px at 0% 100%, rgba(244, 123, 31, .12), transparent 60%), var(--cream); }
.eyp .pathway { border: 2px dashed #F7C79E; border-radius: 24px; box-shadow: none; }
.eyp .pathway figcaption > b { font-weight: 600; color: var(--orange-deep); font-size: 1.35rem; }
.eyp .amanah { border: 2px solid var(--line); border-radius: 32px; box-shadow: 0 10px 0 rgba(92, 58, 30, .08); }
.eyp .amanah-stage { background: radial-gradient(90px 90px at 82% 16%, #FFE36E 0 60%, transparent 62%), radial-gradient(340px 300px at 50% 55%, rgba(255, 255, 255, .55), transparent 70%), linear-gradient(180deg, #BFE8FF 0%, #DDF3FF 60%, #CDEFB4 60.5%, #B9E39A 100%); }
.eyp .amanah-ring { border-color: rgba(255, 255, 255, .9); }
.eyp .amanah-title { font-weight: 600; color: var(--orange-deep); }
.eyp .amanah-list li { background: var(--mist); border-radius: 16px; }
.eyp .amanah-list b { color: var(--brown); }
