@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@500;600;700&display=swap');

:root {
  --ink: #1f1740;
  --muted: #665f7a;
  --purple: #6d35d5;
  --purple-dark: #4d1fa7;
  --blue: #16a9e8;
  --blue-dark: #087eb4;
  --yellow: #ffd92f;
  --lime: #bfe92e;
  --coral: #ff6f61;
  --pink: #f64aa2;
  --cream: #fffaf0;
  --lavender: #f5efff;
  --sky: #eefaff;
  --white: #ffffff;
  --line: #e8e2f3;
  --shadow: 0 18px 55px rgba(48, 30, 91, 0.12);
  --shadow-soft: 0 12px 35px rgba(48, 30, 91, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: 'Fredoka', 'DM Sans', sans-serif;
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin: 0 0 18px; }
ul { padding-left: 20px; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(840px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-alt { background: var(--cream); }
.section-lavender { background: var(--lavender); }
.section-sky { background: var(--sky); }
.section-dark { background: var(--ink); color: var(--white); }
.center { text-align: center; }
.muted { color: var(--muted); }
.max-700 { max-width: 700px; }
.mx-auto { margin-inline: auto; }
.mb-0 { margin-bottom: 0; }
.mt-30 { margin-top: 30px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  background: var(--ink); color: white; padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.topbar { background: var(--ink); color: var(--white); font-size: .86rem; }
.topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-list { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar a { color: var(--white); opacity: .92; }
.topbar a:hover { opacity: 1; text-decoration: underline; }

.site-header {
  background: rgba(255,255,255,.96);
  /* backdrop-filter: blur(16px); */
  position: sticky; 
  top: 10px; 
  z-index: 1000; 
  border-bottom: 1px solid rgba(109,53,213,.08);
  transition: background .3s ease, backdrop-filter .3s ease;
}
body.admin-bar .site-header{
  top: 42px;
}
header.site-header.is-stuck {
    backdrop-filter: blur(15px) saturate(180%);
    width: min(calc(var(--container) + 40px), calc(100% - 20px));
    margin: auto;
    background: #ffffff78;
    border-radius: 50px;
}
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 235px; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: 'Fredoka'; font-size: 1.07rem; color: var(--purple-dark); }
.brand-copy span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--blue-dark); margin-top: 6px; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { font-weight: 600; font-size: .94rem; padding: 10px 11px; border-radius: 12px; color: #352d4e; transition: .2s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--purple); background: var(--lavender); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; border: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--lavender); color: var(--purple); }
.menu-toggle svg { width: 24px; height: 24px; }

.btn {
  border: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 22px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: var(--white); box-shadow: 0 12px 26px rgba(109,53,213,.26); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-secondary { background: var(--yellow); color: #312200; box-shadow: 0 12px 26px rgba(255,217,47,.28); }
.btn-outline { border: 2px solid rgba(109,53,213,.22); background: white; color: var(--purple); }
.btn-white { background: white; color: var(--purple); }
.btn-sm { min-height: 44px; padding: 0 17px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--purple); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 5px; background: var(--yellow); border-radius: 999px; }
.section-heading { margin-bottom: 50px; }
.section-heading p { max-width: 700px; color: var(--muted); font-size: 1.06rem; }
.section-heading.center p { margin-inline: auto; }

.hero-home {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(191,233,46,.35), transparent 28%),
    radial-gradient(circle at 95% 15%, rgba(246,74,162,.20), transparent 30%),
    linear-gradient(145deg, #fffaf0, #f8f4ff 55%, #eefaff);
  padding: 92px 0 105px;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; }
.hero-copy h1 span { color: var(--purple); position: relative; display: inline-block; }
.hero-copy h1 span::after { content: ''; position: absolute; height: 12px; left: 2%; right: -2%; bottom: 5px; background: var(--yellow); border-radius: 999px; z-index: -1; transform: rotate(-1deg); }
.hero-copy > p { max-width: 620px; font-size: 1.13rem; color: var(--muted); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-pill { background: rgba(255,255,255,.8); border: 1px solid rgba(109,53,213,.12); border-radius: 999px; padding: 9px 13px; font-size: .86rem; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; box-shadow: 0 8px 22px rgba(48,30,91,.06); }
.trust-pill i { width: 9px; height: 9px; background: var(--lime); border-radius: 50%; }

.hero-visual { position: relative; min-height: 560px; }
.hero-photo-wrap {position: absolute;inset: 15px 18px 20px 50px;border-radius: 46% 54% 43% 57% / 54% 42% 58% 46%;overflow: hidden;box-shadow: var(--shadow);border: 9px solid white;border-radius: 50px;}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(31,23,64,.15)); }
.blob { position: absolute; border-radius: 50%; }
.blob.one { width: 150px; height: 150px; background: var(--yellow); right: -15px; top: 0; }
.blob.two { width: 130px; height: 130px; background: var(--blue); left: 0; bottom: 18px; }
.blob.three { width: 70px; height: 70px; background: var(--pink); right: 26px; bottom: 60px; }
.floating-card { position: absolute; z-index: 2; background: white; border-radius: 18px; padding: 14px 17px; box-shadow: var(--shadow-soft); font-weight: 700; display: flex; gap: 11px; align-items: center; }
.floating-card.top { right: -8px; top: 118px; }
.floating-card.bottom { left: 6px; bottom: 76px; }
.floating-card .icon-bubble { width: 42px; height: 42px; border-radius: 13px; background: var(--lavender); display: grid; place-items: center; font-size: 1.25rem; }

.stats-strip { margin-top: -47px; position: relative; z-index: 5; }
.stats-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; }
.stat { padding: 28px 30px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat strong { display: block; font-family: 'Fredoka'; font-size: 1.55rem; color: var(--purple); }
.stat span { color: var(--muted); font-size: .9rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 55px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }

.image-collage { position: relative; min-height: 520px; }
.image-collage .main-image { position: absolute; inset: 20px 60px 35px 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.image-collage .main-image img { width: 100%; height: 100%; object-fit: cover; }
.image-collage .mini-image { position: absolute; width: 230px; height: 220px; right: 0; bottom: 0; border: 8px solid white; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft); }
.image-collage .mini-image img { width: 100%; height: 100%; object-fit: cover; }
.image-collage .badge { position: absolute; left: -18px; bottom: 70px; width: 128px; height: 128px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; text-align: center; font-family: 'Fredoka'; font-weight: 700; transform: rotate(-8deg); border: 7px solid white; box-shadow: var(--shadow-soft); line-height: 1.05; }

.check-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.check-list li { position: relative; padding-left: 34px; margin: 12px 0; color: #423a59; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #263000; font-size: .78rem; font-weight: 900; }

.program-card { background: white; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid rgba(109,53,213,.08); transition: transform .25s ease, box-shadow .25s ease; }
.program-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.program-card-image { height: 215px; overflow: hidden; position: relative; }
.program-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.program-card:hover img { transform: scale(1.04); }
.age-tag { position: absolute; top: 16px; left: 16px; background: white; color: var(--purple); border-radius: 999px; padding: 8px 12px; font-size: .78rem; font-weight: 800; box-shadow: 0 8px 18px rgba(31,23,64,.12); }
.program-card-body { padding: 26px; }
.program-card:nth-child(1) { border-bottom: 6px solid var(--yellow); }
.program-card:nth-child(2) { border-bottom: 6px solid var(--purple); }
.program-card:nth-child(3) { border-bottom: 6px solid var(--coral); }
.text-link { color: var(--purple); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { gap: 10px; }

.feature-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 27px; }
.feature-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.55rem; margin-bottom: 19px; }
.feature-card:nth-child(4n+1) .feature-icon { background: #fff4b8; }
.feature-card:nth-child(4n+2) .feature-icon { background: #e9ddff; }
.feature-card:nth-child(4n+3) .feature-icon { background: #daf6ff; }
.feature-card:nth-child(4n+4) .feature-icon { background: #ffe2ee; }

.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 34px; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg,var(--yellow),var(--blue),var(--purple),var(--pink)); z-index: 0; }
.timeline-item { position: relative; z-index: 1; text-align: center; }
.timeline-dot { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: white; border: 6px solid var(--yellow); display: grid; place-items: center; box-shadow: var(--shadow-soft); font-family: 'Fredoka'; font-weight: 700; }
.timeline-item:nth-child(2) .timeline-dot { border-color: var(--blue); }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--purple); }
.timeline-item:nth-child(4) .timeline-dot { border-color: var(--pink); }
.timeline-item p { font-size: .92rem; color: var(--muted); }

.quote-card { border-radius: var(--radius-xl); padding: 60px; background: linear-gradient(135deg, var(--purple-dark), var(--purple) 55%, #8d49e7); color: white; position: relative; overflow: hidden; }
.quote-card::after { content: '“'; font-family: Georgia,serif; position: absolute; right: 40px; top: -25px; font-size: 14rem; color: rgba(255,255,255,.08); line-height: 1; }
.quote-card blockquote { font-family: 'Fredoka'; font-size: clamp(1.7rem,3vw,2.65rem); line-height: 1.35; margin: 0 0 24px; max-width: 900px; }
.quote-card cite { font-style: normal; opacity: .86; font-weight: 600; }

.cta-band { border-radius: var(--radius-xl); padding: 58px 62px; background: linear-gradient(120deg, var(--yellow), #e7f774 52%, var(--lime)); display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.4); }
.cta-band::before { width: 190px; height: 190px; right: 29%; top: -100px; }
.cta-band::after { width: 110px; height: 110px; left: -30px; bottom: -55px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2rem,3.2vw,3.2rem); max-width: 720px; margin-bottom: 8px; }

.page-hero { min-height: 470px; display: grid; align-items: center; color: white; position: relative; overflow: hidden; background: var(--purple-dark); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,23,64,.90) 0%, rgba(56,29,108,.72) 48%, rgba(31,23,64,.25) 100%); }
.page-hero::after { content: ''; position: absolute; width: 300px; height: 300px; border: 65px solid rgba(255,217,47,.24); border-radius: 50%; right: -80px; top: -90px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero-content { max-width: 720px; padding: 80px 0; }
.page-hero h1 { font-size: clamp(3rem,5.6vw,5.4rem); }
.page-hero p { max-width: 650px; font-size: 1.12rem; opacity: .9; }
.breadcrumbs { display: flex; gap: 8px; font-size: .86rem; opacity: .8; margin-bottom: 22px; }
.breadcrumbs a:hover { text-decoration: underline; }
.hero-about { background: url('../images/about-hero.webp') center/cover no-repeat; }
.hero-programs { background: url('../images/home-play.webp') center/cover no-repeat; }
.hero-faq { background: url('../images/faq-hero.webp') center/cover no-repeat; }
.hero-enrollment { background: url('../images/enrollment-hero.webp') center/cover no-repeat; }
.hero-payments { background: url('../images/payment-hero.webp') center/cover no-repeat; }
.hero-careers { background: url('../images/careers-hero.webp') center/cover no-repeat; }
.hero-contact { background: url('../images/contact-hero.webp') center/cover no-repeat; }

.value-card { padding: 34px; border-radius: 24px; background: white; border: 1px solid var(--line); }
.value-card .number { font-family: 'Fredoka'; color: var(--purple); font-size: 1rem; margin-bottom: 22px; display: inline-flex; width: 42px; height: 42px; border-radius: 13px; background: var(--lavender); align-items: center; justify-content: center; }

.color-panel { padding: 45px; border-radius: var(--radius-xl); min-height: 100%; }
.color-panel.purple { background: var(--purple); color: white; }
.color-panel.yellow { background: var(--yellow); color: #312200; }
.color-panel.blue { background: var(--blue); color: white; }

.program-detail { display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center; }
.program-detail.reverse { grid-template-columns: 1.08fr .92fr; }
.program-detail.reverse .program-detail-image { order: 2; }
.program-detail-image { border-radius: var(--radius-xl); overflow: hidden; min-height: 430px; box-shadow: var(--shadow); }
.program-detail-image img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.program-detail-copy .age-large { display: inline-flex; padding: 8px 13px; border-radius: 999px; background: var(--lavender); color: var(--purple); font-weight: 800; margin-bottom: 18px; }
.learning-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.learning-tags span { padding: 8px 12px; border-radius: 999px; background: #f5f2fa; font-size: .82rem; font-weight: 700; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: white; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table th { background: var(--lavender); font-family: 'Fredoka'; color: var(--purple-dark); }
.compare-table tr:last-child td { border-bottom: 0; }

.faq-tools { display: flex; gap: 12px; margin-bottom: 30px; }
.search-box { position: relative; flex: 1; }
.search-box input { width: 100%; height: 58px; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px 0 52px; outline: none; background: white; }
.search-box input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(109,53,213,.08); }
.search-box svg { position: absolute; left: 18px; top: 18px; width: 22px; color: var(--muted); }
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: white; overflow: hidden; }
.faq-question { width: 100%; border: 0; background: transparent; text-align: left; padding: 22px 24px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-family: 'Fredoka'; color: var(--ink); font-size: 1.08rem; }
.faq-question .plus { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: var(--lavender); display: grid; place-items: center; color: var(--purple); transition: transform .25s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer-inner { padding: 0 24px 22px; color: var(--muted); }
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-item.hidden { display: none; }
.no-results { display: none; padding: 25px; border-radius: 18px; background: var(--cream); text-align: center; color: var(--muted); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step-card { position: relative; padding: 30px; border-radius: 22px; background: white; border: 1px solid var(--line); }
.step-card::before { counter-increment: step; content: counter(step); width: 48px; height: 48px; border-radius: 15px; background: var(--purple); color: white; display: grid; place-items: center; font-family: 'Fredoka'; font-size: 1.25rem; margin-bottom: 22px; }
.step-card:nth-child(2)::before { background: var(--blue); }
.step-card:nth-child(3)::before { background: var(--coral); }
.step-card:nth-child(4)::before { background: #7ca900; }

.download-list { display: grid; gap: 13px; }
.download-item { border: 1px solid var(--line); border-radius: 16px; background: white; padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; transition: border-color .2s, transform .2s; }
.download-item:hover { border-color: rgba(109,53,213,.45); transform: translateX(3px); }
.download-meta { display: flex; align-items: center; gap: 13px; }
.file-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--lavender); color: var(--purple); display: grid; place-items: center; font-weight: 900; font-size: .75rem; }
.download-item strong { display: block; }
.download-item small { color: var(--muted); }

.notice { padding: 20px 22px; background: #fff7cc; border-left: 5px solid var(--yellow); border-radius: 0 15px 15px 0; }
.secure-panel { background: var(--ink); color: white; padding: 48px; border-radius: var(--radius-xl); position: relative; overflow: hidden; }
.secure-panel::after { content: '✓'; position: absolute; right: 30px; bottom: -60px; font-family: 'Fredoka'; font-size: 15rem; color: rgba(255,255,255,.05); }
.secure-panel ul { list-style: none; padding: 0; }
.secure-panel li { margin: 14px 0; padding-left: 30px; position: relative; }
.secure-panel li::before { content: '✓'; position: absolute; left: 0; color: var(--lime); font-weight: 900; }

.job-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.job-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.job-card h3 { margin-bottom: 7px; }
.job-card p { color: var(--muted); margin: 0; font-size: .9rem; }
.job-badge { display: inline-flex; padding: 6px 10px; margin-top: 12px; border-radius: 999px; background: var(--sky); color: var(--blue-dark); font-size: .74rem; font-weight: 800; }

.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: -60px; position: relative; z-index: 4; }
.contact-card { background: white; border-radius: 22px; box-shadow: var(--shadow-soft); padding: 27px; border-top: 5px solid var(--yellow); }
.contact-card:nth-child(2) { border-top-color: var(--blue); }
.contact-card:nth-child(3) { border-top-color: var(--purple); }
.contact-card a { color: var(--purple); font-weight: 700; }
.contact-card .feature-icon { margin-bottom: 14px; }

.form-card { padding: 38px; background: white; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.form-group { display: grid; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; font-size: .9rem; }
.form-control { width: 100%; border: 1px solid var(--line); border-radius: 14px; min-height: 52px; padding: 12px 15px; outline: none; background: #fff; }
textarea.form-control { min-height: 145px; resize: vertical; }
.form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(109,53,213,.08); }
.form-note { font-size: .82rem; color: var(--muted); }
.map-frame { min-height: 520px; border: 0; border-radius: var(--radius-xl); width: 100%; box-shadow: var(--shadow-soft); }

.site-footer { background: #17102f; color: white; padding: 78px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .75fr .9fr 1fr; gap: 50px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.footer-brand img { width: 74px; }
.footer-brand strong { display: block; font-family: 'Fredoka'; font-size: 1.18rem; }
.footer-copy { opacity: .72; max-width: 350px; }
.site-footer h4 { font-size: 1.08rem; margin-bottom: 20px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { opacity: .76; }
.footer-links a:hover, .footer-contact a:hover { opacity: 1; color: var(--yellow); }
.footer-contact { display: grid; gap: 12px; opacity: .9; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-weight: 800; }
.socials a:hover { background: var(--purple); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 55px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.6); font-size: .83rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .site-nav { position: fixed; inset: 128px 0 auto; max-height: calc(100vh - 128px); overflow-y: auto; background: white; display: grid; padding: 20px; transform: translateY(-130%); opacity: 0; transition: .28s ease; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); }
  .site-nav.open { transform: translateY(0); opacity: 1; }
  .site-nav a { padding: 13px 15px; }
  .menu-toggle { display: grid; place-items: center; }
  .header-actions .btn { display: none; }
  .hero-grid { gap: 35px; }
  .hero-visual { min-height: 500px; }
  .grid-4, .steps { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
  .section { padding: 78px 0; }
  .topbar-list > :first-child { display: none; }
  .hero-grid, .grid-2, .program-detail, .program-detail.reverse { grid-template-columns: 1fr; }
  .program-detail.reverse .program-detail-image { order: 0; }
  .hero-home { padding-top: 65px; }
  .hero-visual { min-height: 470px; margin-top: 20px; }
  .stats-card { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(3)::before { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2,1fr); row-gap: 35px; }
  .timeline::before { display: none; }
  .cta-band { padding: 45px 35px; flex-direction: column; align-items: flex-start; }
  .page-hero { min-height: 400px; }
  .job-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; margin-top: -35px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(100% - 26px, var(--container)); }
  .topbar-inner { min-height: 38px; }
  .topbar-list { width: 100%; justify-content: center; gap: 14px; font-size: .8rem; }
  .header-inner { height: 78px; }
  .site-nav { inset: 116px 0 auto; max-height: calc(100vh - 116px); }
  .brand { min-width: 0; }
  .brand img { width: 52px; height: 52px; }
  .brand-copy strong { font-size: .94rem; }
  .brand-copy span { font-size: .62rem; }
  .hero-home { padding: 52px 0 82px; }
  .hero-copy h1 span::after { height: 8px; bottom: 3px; }
  .hero-visual { min-height: 390px; }
  .hero-photo-wrap { inset: 10px 0 20px 25px; }
  .floating-card { padding: 10px 12px; font-size: .78rem; }
  .floating-card.top { right: -2px; top: 70px; }
  .floating-card.bottom { left: 0; bottom: 38px; }
  .floating-card .icon-bubble { width: 34px; height: 34px; }
  .blob.one { width: 100px; height: 100px; }
  .blob.two { width: 90px; height: 90px; }
  .stats-card, .grid-4, .steps, .timeline, .footer-grid { grid-template-columns: 1fr; }
  .stat + .stat::before { left: 25px; right: 25px; top: 0; bottom: auto; width: auto; height: 1px; }
  .stat:nth-child(3)::before { display: block; }
  .image-collage { min-height: 430px; }
  .image-collage .main-image { inset: 0 25px 55px 0; }
  .image-collage .mini-image { width: 170px; height: 165px; }
  .image-collage .badge { width: 100px; height: 100px; font-size: .84rem; left: -5px; bottom: 60px; }
  .quote-card { padding: 38px 26px; }
  .cta-band { padding: 38px 25px; border-radius: 25px; }
  .page-hero-content { padding: 58px 0; }
  .program-detail-image, .program-detail-image img { min-height: 300px; }
  .color-panel, .secure-panel, .form-card { padding: 28px 22px; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

/* Progressive enhancement: content stays visible when JavaScript is disabled. */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(24px); }
.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
