/* ─── RESET ─── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;color:#2c2c2c;background:#fff;overflow-x:hidden;padding-top:68px}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

/* ─── TOKENS ─── */
:root{
  --blue:#00aeef; --pink:#ff2d78; --purple:#9b3dff;
  --amber:#f5a623; --green:#a5d91a; --teal:#00c9b1;
  --dark:#1a1a1a; --char:#2c2c2c; --d60:#444444; --d40:#888888;
}

/* ─── TYPE ─── */
h1,h2,h3{font-family:'Bricolage Grotesque',sans-serif;letter-spacing:-0.5px;line-height:1.1;color:var(--dark)}
h1{font-size:clamp(2.4rem,4.5vw,3.8rem);font-weight:800}
h2{font-size:40px;font-weight:700;line-height:44px}
p{line-height:1.7;color:#555}
.eyebrow{font-family:'Inter',sans-serif;font-size:14px!important;font-weight:400!important;line-height:1.2!important;letter-spacing:1.38px!important;text-transform:uppercase!important;color:var(--d60);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

/* ─── BUTTONS ─── */
.btn{display:inline-flex;align-items:center;gap:8px;padding:16px 40px;border-radius:100px;border:none;cursor:pointer;font-family:'Inter',sans-serif;font-size:16px;font-weight:600;line-height:24px;letter-spacing:.2px;transition:background .2s;white-space:nowrap}
.btn-blue{background:var(--blue);color:#fff}
.btn-blue:hover{background:#0090ca}
.btn-sm{padding:10px 20px;font-size:14px;line-height:20px;letter-spacing:.2px}
.btn-pink{background:var(--pink);color:#fff}
.btn-pink:hover{opacity:1}
.btn-purple{background:var(--purple);color:#fff}
.btn-purple:hover{opacity:1}
.btn-teal{background:var(--teal);color:#fff}
.btn-teal:hover{opacity:1}
.btn-outline{background:transparent;border:1.5px solid var(--dark);color:var(--dark)}
.btn-outline:hover{background:rgba(0,0,0,.04)}
/* Text link */
.text-link{display:inline-flex;align-items:center;gap:6px;font-family:'Inter',sans-serif;font-weight:500;font-size:16px;line-height:24px;color:var(--d60);letter-spacing:.2px;transition:color .15s}
.text-link:hover{color:var(--blue)}
.link-arrow{display:inline-flex;align-items:center;flex-shrink:0;transition:transform .2s ease}
.text-link:hover .link-arrow{transform:translateX(4px)}

/* ━━━━━━━━━━━━━━━━━
   FIRST FOLD (nav + hero share grid bg)
━━━━━━━━━━━━━━━━━ */
.hero-section{
  background-color:#fcfcfc;
  background-image:
    linear-gradient(rgba(0,0,0,.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,0,0,.022) 1px,transparent 1px);
  background-size:80px 80px;
  overflow:hidden;
}

/* ━━━━━━━━━━━━━━━━━
   NAV
━━━━━━━━━━━━━━━━━ */
.header-wrap{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:flex-start;
  padding:0 max(24px, calc((100% - 1200px) / 2));
  background:transparent;
  border-bottom:1px solid transparent;
}
/* Sticky bar slides in from above */
@keyframes stickySlideIn{
  from{transform:translateY(-100%);opacity:0}
  to{transform:translateY(0);opacity:1}
}
@keyframes navLogoIn{
  from{opacity:0;transform:translateY(-12px)}
  to{opacity:1;transform:translateY(0)}
}
.header-wrap.scrolled{
  background:rgba(255,255,255,0.92);
  border-bottom:1px solid rgba(0,0,0,0.06);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  animation:stickySlideIn .35s cubic-bezier(0.16,1,0.3,1) forwards;
}
/* Logo panel — big white box default */
.logo-panel{flex-shrink:0;overflow:hidden;width:fit-content}
.logo-box{
  display:block;background:transparent;padding:14px 0;line-height:0;
  max-height:200px;opacity:1;
  transition:max-height .2s ease,opacity .2s ease,padding .2s ease;
}
.logo-full{height:120px;width:auto;display:block}
/* Compact logo — hidden until scrolled */
.logo-compact-wrap{display:none;align-items:center;gap:10px;flex-shrink:0}
.logo-compact{width:40px;height:40px;border-radius:8px;background:transparent;display:block;object-fit:contain;flex-shrink:0}
.nav-brand .brand-name{font-family:'Inter',sans-serif;font-weight:700;font-size:14px;color:#1a1a1a;line-height:1.3}
.nav-brand .brand-tag{font-family:'Inter',sans-serif;font-size:10px;font-weight:600;color:var(--blue);line-height:1.4}
/* Scrolled */
.header-wrap.scrolled .logo-panel{max-width:0;overflow:hidden}
.header-wrap.scrolled .logo-box{max-height:0;opacity:0;padding-top:0;padding-bottom:0}
.header-wrap.scrolled .nav{padding-left:0}
.header-wrap.scrolled .logo-compact-wrap{display:flex;animation:navLogoIn .3s .15s ease both}
/* Nav row */
.nav{flex:1;display:flex;align-items:center;padding:14px 0 14px 24px}
/* Links */
.nav-links{display:flex;align-items:center;margin-left:auto}
.nav-links a{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;font-family:'Inter',sans-serif;font-weight:400;font-size:14px;color:var(--dark);white-space:nowrap;transition:background .15s}
.nav-links a:hover{background:rgba(0,0,0,.04)}
.nav-chevron{width:14px;height:14px;display:block;flex-shrink:0;opacity:.7}
.nav-cta{background:var(--blue);color:#fff;padding:0 20px;height:40px;border-radius:100px;font-family:'Inter',sans-serif;font-weight:600;font-size:14.4px;display:inline-flex;align-items:center;flex-shrink:0;margin-left:24px;transition:background .2s}
.nav-cta:hover{background:#0090ca}
/* Dropdown */
.nav-dropdown{position:relative}
.nav-dropdown .dropdown-menu{
  display:none;position:absolute;top:100%;left:0;
  padding-top:8px;min-width:200px;z-index:200;
}
.nav-dropdown .dropdown-menu-inner{
  background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:10px;
  box-shadow:0 8px 24px rgba(0,0,0,.1);padding:10px;display:flex;flex-direction:column;gap:4px;
}
.nav-dropdown:hover .dropdown-menu{display:block}
.dropdown-menu-inner a{
  display:flex;align-items:center;min-height:44px;padding:10px 20px;border-radius:7px;
  font-family:'Inter',sans-serif;font-size:14px;font-weight:500;color:var(--dark);
  white-space:nowrap;transition:background .12s;
}
.dropdown-menu-inner a:hover{background:rgba(0,0,0,.04)}

/* ━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━ */
.hero-wrap{background:transparent;padding:0 max(24px, calc((100% - 1200px) / 2))}
.hero-top{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;padding:56px 0 0}
.hero-left{display:flex;flex-direction:column}
.admissions-tag{display:inline-flex;align-items:center;gap:7px;background:#f8f8f8;border-radius:16px;padding:6px 14px 6px 10px;font-family:'Inter',sans-serif;font-size:16px;font-weight:400;margin-bottom:24px;width:fit-content}
.admissions-tag span{background:linear-gradient(to right,#2c2c2c,#9b3dff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-left h1{margin-bottom:20px}
.hero-left h1 em{font-style:normal;color:var(--blue)}
.hero-sub{font-size:16px;font-weight:400;line-height:1.6;color:#555;max-width:500px;margin-bottom:36px}
.hero-actions{display:flex;align-items:center;gap:32px}
.hero-right{position:relative;height:550px}
.hero-main-img{position:absolute;top:37px;left:124px;width:440px;height:330px;border-radius:12px;overflow:hidden}
.hero-main-img img{width:100%;height:100%;object-fit:cover}
.hero-small-img{position:absolute;top:314px;left:0;width:237px;height:178px;border-radius:12px;overflow:hidden;background:#ff3d33}
.hero-small-img img{width:100%;height:100%;object-fit:cover;transform:scale(1.5)}
.hero-award{position:absolute;top:334px;left:305px;width:auto;background:#fff;border:0.948px solid #ebebeb;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.07);display:flex;align-items:center;gap:11px;padding:14px}
.hero-award-icon{width:36px;height:36px;border-radius:9.5px;background:#00c9b1;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.hero-award-icon img{width:22px;height:22px}
.hero-award-text .award-title{font-family:'Lato',sans-serif;font-weight:700;font-size:15.2px;color:#1d1d1d;white-space:nowrap;line-height:normal}
.hero-award-text .award-sub{font-family:'Lato',sans-serif;font-weight:400;font-size:12.9px;color:#9b9b9b;line-height:normal;margin-top:2px}
/* hero sparkles */
.hero-sparkle{position:absolute;pointer-events:none;z-index:2}
.sp-blue{left:18px;top:128px;width:81px;height:77px}
.sp-green{left:532px;top:8px;width:50px;height:49px}
.sp-amber{left:272px;top:456px;width:49px;height:47px}
/* events strip — flat, no outer box */
.events-strip{margin-top:48px;padding:28px 0 40px}
.events-label{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.events-label-icon{width:28px;height:28px;background:#eeffc0;border-radius:6px;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.events-label-icon img{width:17px;height:17px}
.events-label span{font-family:'Inter',sans-serif;font-size:14px!important;font-weight:400!important;color:var(--d60);letter-spacing:1.38px!important;text-transform:uppercase!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.events-cards{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}
.event-card{flex:0 0 280px;min-width:0;max-width:280px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:10px 14px 10px 10px;display:flex;align-items:center;gap:14px;box-shadow:none}
.event-thumb{width:78px;height:58px;border-radius:6px;overflow:hidden;flex-shrink:0;background:#eee}
.event-thumb img{width:100%;height:100%;object-fit:cover}
.event-title{font-family:'Inter',sans-serif;font-size:14px;font-weight:600;color:#1a1a1a;line-height:1.3;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-wrap:balance}
.event-date{font-family:'Inter',sans-serif;font-size:12px;font-weight:500;color:#444444}

/* ━━━━━━━━━━━━━━━━━
   ABOUT — School built on joyful learning
━━━━━━━━━━━━━━━━━ */
.about{background:linear-gradient(to top,#f4eaff 0%,#fff 95%);padding:96px max(24px, calc((100% - 1200px) / 2))}
.about-top{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start;margin-bottom:56px}
.about-left h2{margin-bottom:28px}
.about-left h2 em{font-style:normal;color:var(--purple)}
.about-body{font-family:'Inter',sans-serif;font-size:16px;font-weight:400;line-height:26px;color:#383838;margin-bottom:32px}
.about-right{position:relative}
.about-right-img{width:100%;height:376px;object-fit:cover;border-radius:8px;display:block}
.about-right-video{position:relative;width:100%;height:376px;border-radius:8px;overflow:hidden;background:#000}
.about-right-vid{width:100%;height:100%;object-fit:cover;display:block}
.about-right-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:84px;height:84px;border-radius:50%;background:rgba(255,255,255,.95);border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 32px rgba(0,0,0,.25);transition:transform .2s ease, background .2s ease, opacity .2s ease;z-index:2;color:#1a1a1a}
.about-right-play svg{width:32px;height:32px;margin-left:4px}
.about-right-play:hover{transform:translate(-50%,-50%) scale(1.08);background:#fff}
.about-right-video.is-playing .about-right-play{opacity:0;pointer-events:none}
.cambridge-badge{position:absolute;bottom:-20px;left:-40px;background:#fff;border-radius:8px;padding:12px 16px;box-shadow:0 4px 16px rgba(0,0,0,.08);display:inline-flex;flex-direction:column;z-index:3}
.cambridge-badge .affil{font-family:'Inter',sans-serif;font-size:7px;font-weight:600;color:#6e6e6e;letter-spacing:1px;text-transform:uppercase;margin-bottom:6px}
.cambridge-badge img{height:40px;width:auto}
.about-sparkle{position:absolute;pointer-events:none}
.about-sp-pink{top:-24px;left:-32px;width:49px;height:43px}
.about-sp-purple{bottom:32px;right:-24px;width:52px;height:52px}
/* 5 value cards */
.value-cards{display:flex;gap:16px}
.value-card{flex:1;background:rgba(255,255,255,.92);border-radius:14px;padding:28px 16px 20px;text-align:center;box-shadow:0 2px 16px rgba(0,0,0,.04)}
.value-card img{width:96px;height:96px;margin:0 auto 16px}
.value-label{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:18px;line-height:1.25}

/* ━━━━━━━━━━━━━━━━━
   STEPS — Simple steps to join
━━━━━━━━━━━━━━━━━ */
.steps{background:linear-gradient(to top,#f7ffe2 0%,#fff 80%);padding:96px max(24px, calc((100% - 1200px) / 2));text-align:center}
.steps h2{margin-bottom:80px}
.steps h2 em{font-style:normal;color:#a5d91a}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;justify-content:center;margin-bottom:56px}
.step{display:flex;flex-direction:column;align-items:center;text-align:center}
.step-num{width:64px;height:64px;border-radius:32px;display:flex;align-items:center;justify-content:center;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:24px;color:#fff;margin-bottom:20px;background:#a5d91a;box-shadow:0 4px 16px rgba(165,217,26,0.3)}
.step-title{font-family:'Bricolage Grotesque',sans-serif;font-size:19px;font-weight:700;color:#2c2c2c;margin-bottom:12px}
.step-desc{font-family:'Inter',sans-serif;font-size:14px;line-height:22px;color:#444;max-width:260px}
.btn-green{background:#92c212;color:#fff}
.btn-green:hover{background:#92c212}

/* ━━━━━━━━━━━━━━━━━
   SPACES — Spaces designed for curious minds
━━━━━━━━━━━━━━━━━ */
.spaces{background:linear-gradient(to top,#ddf6ff 0%,#fff 80%);padding:96px max(24px, calc((100% - 1200px) / 2));text-align:center}
.spaces h2{margin-bottom:16px}
.spaces h2 em{font-style:normal;color:var(--blue)}
.spaces-sub{font-family:'Inter',sans-serif;font-size:16px;font-weight:400;line-height:26px;color:var(--d60);max-width:523px;margin:0 auto 56px}
.spaces-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;justify-content:center;margin-bottom:48px}
.space-card{position:relative;width:100%;aspect-ratio:484/272;border-radius:12px;overflow:hidden}
.space-card img{width:100%;height:100%;object-fit:cover}
.space-pill{display:none}
.space-pill span{font-family:'Inter',sans-serif;font-weight:500;font-size:14px;color:#fff;white-space:nowrap}
.spaces [data-gallery-open="spaces"]{display:none}

/* ━━━━━━━━━━━━━━━━━
   PRESCHOOL — Learning that grows
━━━━━━━━━━━━━━━━━ */
.preschool{background:linear-gradient(to top,#ffe8f0 0%,#fff 80%);padding:96px max(24px, calc((100% - 1200px) / 2))}
.preschool-header{text-align:center;margin-bottom:56px}
.preschool-header .eyebrow{margin-bottom:16px}
.preschool-header h2 em{font-style:normal;color:var(--pink)}
.preschool-inner{display:grid;grid-template-columns:503px 1fr;gap:80px;align-items:center}
.preschool-body{font-family:'Inter',sans-serif;font-size:16px;font-weight:400;line-height:26px;color:var(--dark);margin-bottom:36px}
.preschool-feats{display:grid;grid-template-columns:1fr 1fr;gap:20px 20px;margin-bottom:40px}
.preschool-feat{display:flex;align-items:flex-start;gap:9px}
.preschool-feat img{width:56px;height:56px;flex-shrink:0;background:rgba(255,255,255,0.8);border-radius:50%;padding:14px;box-sizing:border-box}
.preschool-feat p{font-family:'Inter',sans-serif;font-size:14px;font-weight:500;line-height:22px;color:var(--dark);margin:0}
.preschool-actions{display:flex;align-items:center;gap:32px}
/* orbit right side — Figma 641:259 Image is 521×452 */
.preschool-right{position:relative;width:521px;height:452px;margin:0 auto}
.orbit-img{position:absolute;left:69px;top:0;width:452px;height:452px;z-index:1}
.orbit-img img{width:100%;height:100%}
.orbit-photo{position:absolute;left:165px;top:100px;width:264px;height:264px;z-index:3;border-radius:50%;overflow:hidden}
.orbit-photo img{width:100%;height:100%;object-fit:cover}
.preschool-sp{position:absolute;pointer-events:none;z-index:4}
.ps-blue{left:197px;top:70px;width:53px;height:51px}
.ps-green{left:364px;top:311px;width:49px;height:47px}
.p-pill{position:absolute;background:#fff;border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.08);height:48px;width:158px;padding:0 14px;display:flex;align-items:center;gap:10px;white-space:nowrap;z-index:2}
.p-pill .p-ico{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.p-pill .p-ico img{width:24px;height:24px}
.p-pill span{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:16px}
.pill-explore{left:0;top:94px}.pill-explore .p-ico{background:#cceffc}.pill-explore span{color:var(--blue)}
.pill-move{left:363px;top:40px}.pill-move .p-ico{background:#edf7d1}.pill-move span{color:#96c714}
.pill-imagine{left:37px;top:377px}.pill-imagine .p-ico{background:#ffd5e4}.pill-imagine span{color:var(--pink)}
.pill-interact{left:332px;top:391px}.pill-interact .p-ico{background:#ebd8ff}.pill-interact span{color:var(--purple)}

/* ━━━━━━━━━━━━━━━━━
   SCHOOL — The journey continues
━━━━━━━━━━━━━━━━━ */
.school{background:linear-gradient(to top,#e3fffb 0%,#fff 80%);padding:96px max(24px, calc((100% - 1200px) / 2))}
.school-header{text-align:center;margin-bottom:56px}
.school-header .eyebrow{margin-bottom:16px}
.school-header h2 em{font-style:normal;color:var(--teal)}
.school-inner{display:grid;grid-template-columns:512px 1fr;gap:80px;align-items:start}
.school-body{font-family:'Inter',sans-serif;font-size:16px;font-weight:400;line-height:26px;color:var(--dark);margin-bottom:16px}
.school-actions{display:flex;align-items:center;gap:32px;margin-top:36px}
.school-right{display:block}
.s-timeline{position:relative;display:flex;flex-direction:column;gap:16px}
.s-timeline-line{position:absolute;left:31px;width:0;border-left:2px dashed rgba(0,0,0,.18);z-index:0}
.s-row{display:flex;gap:20px;align-items:center}
.s-node{flex-shrink:0;width:64px;position:relative;z-index:1}
.s-dot{width:64px;height:64px;display:block}
.s-card-wrap{flex:1}
.s-card{background:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.07);padding:24px 28px}
.s-card-sub{font-family:'Bricolage Grotesque',sans-serif;font-size:20px;font-weight:600;line-height:22px;color:var(--dark);margin-bottom:8px}
.s-card-label{font-family:'Inter',sans-serif;font-size:16px;line-height:26px;color:var(--dark);margin-bottom:16px}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tag{font-family:'Inter',sans-serif;font-size:12px;font-weight:500;letter-spacing:.2px;border-radius:100px;padding:5px 12px;white-space:nowrap}
.tag-purple{background:rgba(155,61,255,.1);color:var(--purple)}
.tag-teal{background:rgba(0,201,177,.1);color:var(--teal)}
.tag-pink{background:rgba(255,45,120,.1);color:var(--pink)}
.tag-amber{background:rgba(245,166,35,.14);color:#c27d00}

/* school timeline — grade range subtitle next to the card title */
.s-grade{font-family:'Inter',sans-serif;font-size:14px;font-weight:400;letter-spacing:0;color:var(--d60);margin-left:4px}

/* ━━━━━━━━━━━━━━━━━
   DISCOVERY — Year of discovery
━━━━━━━━━━━━━━━━━ */
.discovery{background:linear-gradient(to top,#f4eaff 0%,#fff 95%);padding:96px max(24px, calc((100% - 1200px) / 2))}
.discovery-header{text-align:center;margin-bottom:56px}
.discovery-header .eyebrow{color:var(--d60);margin-bottom:16px}
.discovery-header h2 em{font-style:normal;color:var(--purple)}
.discovery-inner{display:grid;grid-template-columns:497px 1fr;gap:165px;align-items:center}
.discovery-left{}
.discovery-quote{font-family:'Bricolage Grotesque',sans-serif;font-size:20px;font-weight:500;line-height:22px;color:var(--dark);margin-bottom:28px;max-width:416px}
.discovery-body{font-family:'Inter',sans-serif;font-size:16px;font-weight:400;line-height:26px;color:var(--dark);margin-bottom:32px}
.discovery-stats{display:flex;flex-direction:column;gap:12px;margin-bottom:40px}
.d-stat{display:inline-flex;align-items:center;gap:16px;background:rgba(255,255,255,.9);border-radius:12px;padding:14px 20px}
.d-stat .sv{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:16px;white-space:nowrap;line-height:1}
.d-stat .sd{width:1px;height:16px;flex-shrink:0}
.d-stat .sl{font-family:'Inter',sans-serif;font-size:12px;line-height:18px;white-space:nowrap}
.stat-teal .sv{color:#00c9b1} .stat-teal .sl{color:#00b29d} .stat-teal .sd{background:rgba(0,201,177,.3)}
.stat-blue .sv,.stat-blue .sl{color:var(--blue)} .stat-blue .sd{background:rgba(0,174,239,.3)}
.stat-purple .sv,.stat-purple .sl{color:var(--purple)} .stat-purple .sd{background:rgba(155,61,255,.3)}
.discovery-actions{display:flex;align-items:center;gap:32px}
.discovery-right{position:relative}
.disc-photo{width:100%;height:376px;border-radius:8px;object-fit:cover;display:block}
.disc-badge{display:none}
.disc-badge-icon{background:var(--purple);border-radius:9px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.disc-badge-icon img{width:22px;height:22px}
.disc-badge-label{font-family:'Lato',sans-serif;font-weight:700;font-size:15px;color:#1d1d1d}
.disc-sp-gold{position:absolute;top:-50px;left:401px;width:49px;height:47px;pointer-events:none}
.disc-sp-gold img{width:100%;height:100%}
.disc-sp-teal{position:absolute;top:366px;left:56px;width:31px;height:31px;pointer-events:none}
.disc-sp-teal img{width:100%;height:100%}

/* ━━━━━━━━━━━━━━━━━
   TESTIMONIALS
━━━━━━━━━━━━━━━━━ */
.testimonials{background:linear-gradient(to top,#e3fffb 0%,#fff 80%);padding:96px max(24px, calc((100% - 1200px) / 2));text-align:center}
.testimonials .eyebrow{margin-bottom:12px}
.testimonials h2{margin-bottom:8px;font-size:40px;line-height:44px}
.testimonials h2 .line2{color:var(--teal);display:block}

/* ── ReviewsOnMyWebsite (ROMW) embed overrides ── */
.testi-feed{margin:60px 0 32px}
/* Transparent card backgrounds */
.testi-feed .romw-container,
.testi-feed .romw-container-fixed,
.testi-feed .romw-container-wrapper,
.testi-feed .swiper-slide{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  border:none!important;
}
/* Slider arrows — 32px greyish transparent circle, 16px white chevron */
.testi-feed .romw{--swiper-navigation-size:16px}
.testi-feed .romw-reviews .swiper-button-prev,
.testi-feed .romw-reviews .swiper-button-next{
  width:32px!important;
  height:32px!important;
  background-image:none!important;
  background-color:rgba(0,0,0,.25)!important;
  border-radius:50%!important;
  color:#fff!important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
.testi-feed .romw-reviews .swiper-button-prev::after,
.testi-feed .romw-reviews .swiper-button-next::after{
  font-size:16px!important;
  color:#fff!important;
  font-weight:700;
}
/* Hide ROMW's inner blue chevron — keep only Swiper's ::after arrow */
.testi-feed .romw-reviews .swiper-button-prev > *,
.testi-feed .romw-reviews .swiper-button-next > *,
.testi-feed .romw-reviews .swiper-button-prev img,
.testi-feed .romw-reviews .swiper-button-next img,
.testi-feed .romw-reviews .swiper-button-prev svg,
.testi-feed .romw-reviews .swiper-button-next svg{display:none!important}
/* Left-align review card content (override section's center alignment) */
.testi-feed .romw-reviews .swiper-slide,
.testi-feed .romw-reviews .swiper-slide *{text-align:left!important}
/* Reviewer avatar — reduce to 48px */
.testi-feed .romw-author-photo img{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  border-radius:50%;
  object-fit:cover;
}
/* Star rating — match Phosphor amber (#FFB800). Target only .romw-stars (sibling of .romw-author). */
.testi-feed .romw-stars,
.testi-feed .romw-stars *{color:#FFB800!important;fill:#FFB800!important}
/* Review date — 14px */
.testi-feed .romw-date{font-size:14px!important;line-height:1.4!important}
.testi-cards{display:flex;gap:32px;justify-content:center;padding:0;margin:60px 0 48px}
.testi-card{flex:1;max-width:373px;display:flex;flex-direction:column;gap:30px;align-items:flex-start;text-align:left}
.stars{display:flex;gap:3px;margin-bottom:0}
.stars img{width:18px;height:17px}
.testi-quote{font-family:'Inter',sans-serif;font-size:16px;line-height:26px;color:var(--dark);margin-bottom:0}
.testi-read{font-family:'Inter',sans-serif;font-size:14px;font-weight:600;color:var(--d60);letter-spacing:.2px;cursor:pointer;display:block}
.testi-author{display:flex;align-items:center;gap:13px}
.testi-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;flex-shrink:0}
.testi-avatar img{width:100%;height:100%;object-fit:cover}
.testi-name{font-family:'Inter',sans-serif;font-size:14px;font-weight:700;color:#2c2c2c;line-height:1.3}
.testi-loc{font-family:'Inter',sans-serif;font-size:10px;font-weight:500;color:var(--d60);letter-spacing:.3px}
.testi-cta .text-link{justify-content:center}

/* ━━━━━━━━━━━━━━━━━
   INSTAGRAM / LIFE
━━━━━━━━━━━━━━━━━ */
.instagram{background:linear-gradient(to top,#fff3df 0%,#fff 80%);padding:96px max(24px, calc((100% - 1200px) / 2))}
.instagram-head{text-align:center;margin-bottom:8px}
.instagram-head h2 em{font-style:normal;color:var(--amber)}
.instagram-handle{text-align:center;font-family:'Inter',sans-serif;font-size:14px!important;font-weight:400!important;color:var(--d60);letter-spacing:1.38px!important;text-transform:uppercase!important;margin-bottom:52px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.insta-grid{display:flex;gap:16px;justify-content:center;margin-bottom:48px}
.insta-photo{flex:1;max-width:290px;aspect-ratio:1/1;border-radius:12px;overflow:hidden;flex-shrink:0}
.insta-photo img{width:100%;height:100%;object-fit:cover}
.instagram-cta{text-align:center}
.instagram-cta .text-link{justify-content:center}

/* Smash Balloon Instagram Feed — match existing 4-up grid look */
.insta-feed{max-width:1200px;margin:0 auto 48px}
.insta-feed #sb_instagram{padding:0!important;width:100%!important}
.insta-feed #sb_instagram .sbi_item,
.insta-feed #sb_instagram .sbi_photo_wrap,
.insta-feed #sb_instagram .sbi_photo{border-radius:12px;overflow:hidden}
.insta-feed #sb_instagram .sbi_photo{display:block;aspect-ratio:1/1}
.insta-feed #sb_instagram .sbi_photo img{width:100%;height:100%;object-fit:cover}
.insta-feed #sb_instagram #sbi_load,
.insta-feed #sb_instagram .sb_instagram_header,
.insta-feed #sb_instagram .sbi_follow_btn,
.insta-feed #sb_instagram .sbi_load_btn{display:none!important}

/* QuadLayers Social Feed Gallery — Swiper carousel arrows */
.insta-feed .instagram-gallery-feed{--swiper-navigation-size:16px}
.insta-feed .swiper-button-prev,
.insta-feed .swiper-button-next{
  width:32px!important;
  height:32px!important;
  background:rgba(255,255,255,.3)!important;
  border-radius:50%!important;
  color:#fff!important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
.insta-feed .swiper-button-prev::after,
.insta-feed .swiper-button-next::after{
  font-size:16px!important;
  color:#fff!important;
  font-weight:700;
}

/* ━━━━━━━━━━━━━━━━━
   BLOG / INSIGHTS
━━━━━━━━━━━━━━━━━ */
.blog{background:linear-gradient(to top,#f7ffe2 0%,#fff 80%);padding:96px max(24px, calc((100% - 1200px) / 2))}
.blog-head{text-align:center;margin-bottom:56px}
.blog-head h2 em{font-style:normal;color:var(--green)}
.blog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:48px}
.blog-card{display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;transition:box-shadow .2s,transform .2s}
.blog-card:hover{box-shadow:0 8px 32px rgba(0,0,0,.08);transform:translateY(-4px)}
.blog-thumb{aspect-ratio:3/2;width:100%;position:relative;overflow:hidden;background:#eef3f7 center/cover no-repeat}
.blog-thumb-fallback{display:flex;align-items:center;justify-content:center}
.blog-thumb-fallback .blog-thumb-logo{width:96px;height:96px;border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.18);background:#fff;padding:10px}
.blog-thumb-fallback.v1{background:linear-gradient(135deg,#00aeef 0%,#0077c8 100%)}
.blog-thumb-fallback.v2{background:linear-gradient(135deg,#6366f1 0%,#3730a3 100%)}
.blog-thumb-fallback.v3{background:linear-gradient(135deg,#ec4899 0%,#9d174d 100%)}
.blog-thumb-fallback.v4{background:linear-gradient(135deg,#06b6d4 0%,#0e7490 100%)}
.blog-thumb-fallback.v5{background:linear-gradient(135deg,#334155 0%,#0f172a 100%)}
.blog-body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1}
.blog-cat{align-self:flex-start;display:inline-block;font-family:'Inter',sans-serif;font-size:14px;font-weight:500;background:rgba(0,174,239,.12);color:var(--blue);border-radius:100px;padding:4px 12px;margin-bottom:12px}
.blog-title{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:18.5px;line-height:1.3;letter-spacing:-0.2px;color:var(--dark);margin:0 0 12px}
.blog-excerpt{font-family:'Inter',sans-serif;font-size:14px;line-height:22px;color:#555;margin:0 0 18px;flex:1}
.blog-byline{font-family:'Inter',sans-serif;font-size:14px;line-height:1.4;color:#888;display:flex;align-items:center;gap:8px}
.blog-byline .author{color:var(--dark);font-weight:500}
.blog-byline .dot{width:3px;height:3px;border-radius:50%;background:#bbb;flex-shrink:0}
.blog-cta{text-align:center}
.blog-cta .text-link{justify-content:center}

/* ━━━━━━━━━━━━━━━━━
   CTA BANNER
━━━━━━━━━━━━━━━━━ */
.cta-banner{background:linear-gradient(to top,#bfeeff 0%,#fff 80%);padding:120px 0;position:relative;overflow:hidden;text-align:center}
.cta-banner h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:44.8px;line-height:56px;max-width:658px;margin:0 auto 48px;color:var(--char)}
.cta-banner h2 .line1{color:var(--purple);display:block}
.cta-banner h2 .amber{color:var(--amber)}
.cta-actions{display:flex;align-items:center;justify-content:center;gap:32px;position:relative;z-index:1}
.cta-deco{position:absolute;border-radius:10px;overflow:hidden}
.cta-deco img{width:100%;height:100%;object-fit:cover}
.cta-d1{left:160px;top:100px;width:151px;height:114px}
.cta-d2{right:232px;top:340px;width:131px;height:98px}
.cta-d3{right:120px;top:80px;width:197px;height:148px}
.cta-d4{left:120px;top:300px;width:197px;height:148px}
.cta-sparkle{position:absolute;pointer-events:none}
.cta-sparkle img{width:100%;height:100%}
.sp1{left:487px;top:115px;width:49px;height:47px}
.sp2{right:356px;top:295px;width:45px;height:43px}
.sp3{right:452px;top:94px;width:27px;height:26px}
.sp4{left:475px;top:313px;width:25px;height:24px}

/* ━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━ */
footer{background:#1a1a1a;position:relative;overflow:hidden}
.footer-main{display:flex;justify-content:space-between;padding:60px max(24px, calc((100% - 1200px) / 2));gap:40px}
.footer-brand{width:320px;display:flex;flex-direction:column;gap:24px}
.footer-logo{display:flex;align-items:center;gap:12px}
.footer-logo img{width:44px;height:44px;border-radius:10px}
.footer-brand-name{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:18px;color:#fff}
.footer-brand-tag{font-family:'Inter',sans-serif;font-size:14px!important;font-weight:400!important;letter-spacing:1.38px!important;text-transform:uppercase!important;color:var(--blue);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.footer-desc{font-family:'Inter',sans-serif;font-size:14px;line-height:24px;color:#888;width:280px}
.footer-social-lbl{font-family:'Inter',sans-serif;font-size:14px!important;font-weight:400!important;letter-spacing:1.38px!important;text-transform:uppercase!important;color:#555;margin-bottom:12px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.social-icons{display:flex;gap:7px}
.s-icon{width:36px;height:36px;background:#2c2c2c;border:1px solid #333;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:background .2s;color:#fff}
.s-icon:hover{background:#3a3a3a}
.s-icon img{width:20px;height:20px;opacity:.9}
.s-icon svg{width:18px;height:18px;display:block;opacity:.85;flex-shrink:0}
.footer-col{display:flex;flex-direction:column;gap:20px}
.footer-col-title{font-family:'Inter',sans-serif;font-size:14px!important;font-weight:400!important;letter-spacing:1.38px!important;text-transform:uppercase!important;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.footer-links-list{display:flex;flex-direction:column;gap:14px}
.footer-links-list a{font-family:'Inter',sans-serif;font-size:14px;color:#888;transition:color .2s}
.footer-links-list a:hover{color:#ccc}
.contact-item{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}
.contact-item:last-child{margin-bottom:0}
.c-icon{width:32px;height:32px;background:#2c2c2c;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.c-icon img{width:15px;height:15px}
.c-name{font-family:'Inter',sans-serif;font-size:14px;font-weight:600;color:#ccc;line-height:1.4;white-space:nowrap}
.c-addr{font-family:'Inter',sans-serif;font-size:14px;color:#888;line-height:20px;margin-top:2px;width:220px}
.c-link{font-family:'Inter',sans-serif;font-size:14px;color:#888;display:block;line-height:1.55}
.c-link:hover{color:#ccc}
.footer-bottom{border-top:1px solid #2c2c2c;display:flex;justify-content:space-between;align-items:center;padding:20px max(24px, calc((100% - 1200px) / 2));font-family:'Inter',sans-serif;font-size:14px;color:#555}
.footer-bottom-links{display:flex;gap:24px}
.footer-bottom-links a{color:#555}
.footer-bottom-links a:hover{color:#888}
.f-deco{position:absolute;pointer-events:none;opacity:.4}
.f-deco img{width:100%;height:100%}
.fd1{left:58px;top:42px;width:50px;height:51px}
.fd2{right:87px;bottom:60px;width:86px;height:87px}

/* ━━━━━━━━━━━━━━━━━
   HAMBURGER + MOBILE MENU (base — hidden on desktop)
━━━━━━━━━━━━━━━━━ */
.hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;cursor:pointer;padding:8px;background:none;border:none;margin-left:auto;flex-shrink:0}
.hamburger span{display:block;width:22px;height:2px;background:var(--dark);border-radius:2px;transition:transform .25s,opacity .25s}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{display:none;position:fixed;top:52px;left:0;right:0;background:#fff;border-top:1px solid rgba(0,0,0,.06);box-shadow:0 8px 24px rgba(0,0,0,.1);z-index:99;padding:4px 20px 28px;max-height:calc(100vh - 52px);overflow-y:auto}
.mobile-menu.open{display:block}
@keyframes mobMenuItemIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
.mobile-menu.open > *{opacity:0;animation:mobMenuItemIn .32s cubic-bezier(.16,1,.3,1) forwards}
.mobile-menu.open > *:nth-child(1){animation-delay:.04s}
.mobile-menu.open > *:nth-child(2){animation-delay:.08s}
.mobile-menu.open > *:nth-child(3){animation-delay:.12s}
.mobile-menu.open > *:nth-child(4){animation-delay:.16s}
.mobile-menu.open > *:nth-child(5){animation-delay:.20s}
.mobile-menu.open > *:nth-child(6){animation-delay:.24s}
.mobile-menu.open > *:nth-child(7){animation-delay:.28s}
.mobile-menu.open > *:nth-child(8){animation-delay:.32s}
.mobile-menu.open > *:nth-child(9){animation-delay:.36s}
.mob-link{display:block;padding:13px 0;font-family:'Inter',sans-serif;font-size:16px;font-weight:500;color:var(--dark);border-bottom:1px solid rgba(0,0,0,.05)}
.mob-link:last-of-type{border-bottom:none}
.mob-group{border-bottom:1px solid rgba(0,0,0,.05)}
.mob-group-trigger{padding:13px 0;font-family:'Inter',sans-serif;font-size:16px;font-weight:500;color:var(--dark);display:flex;align-items:center;justify-content:space-between;cursor:pointer;user-select:none}
.mob-group-trigger svg{transition:transform .2s}
.mob-group.open .mob-group-trigger svg{transform:rotate(180deg)}
.mob-group .mob-sub{display:none;padding:0 0 10px 16px;flex-direction:column}
.mob-group.open .mob-sub{display:flex}
.mob-sub a{padding:10px 0;font-size:15px;color:var(--dark);display:block}
.mob-cta{margin-top:20px}
.mob-cta .btn{width:100%;justify-content:center}

/* ━━━━━━━━━━━━━━━━━
   TABLET — 769px to 1100px
   Fixed-pixel columns all switch to fluid 1fr grids here.
━━━━━━━━━━━━━━━━━ */
@media(min-width:769px) and (max-width:1100px){
  /* section horizontal padding — hero-wrap uses a different rule */
  .hero-wrap{padding:0 24px}

  /* HERO: scaled collage — both images, proportional to 576px desktop column */
  .hero-top{gap:32px}
  .hero-right{height:410px}
  .hero-main-img{position:absolute;left:20%;top:24px;width:76%;height:254px}
  .hero-small-img{display:block;position:absolute;left:0;top:240px;width:41%;height:150px}
  .hero-award{display:flex;position:absolute;left:calc(41% + 10px);top:248px;padding:10px;gap:9px;width:auto}
  .hero-award-icon{width:28px;height:28px;border-radius:7px}
  .hero-award-icon img{width:16px;height:16px}
  .hero-award-text .award-title{font-size:12.5px}
  .hero-award-text .award-sub{font-size:11px}
  .sp-blue,.sp-green,.sp-amber{display:none}
  .events-strip{max-width:100%}
  .events-cards{gap:8px}

  /* ABOUT */
  .about-top{gap:40px}
  .about-sp-pink,.about-sp-purple{display:none}
  .cambridge-badge{left:8px}

  /* VALUE CARDS */
  .value-cards{flex-wrap:wrap;gap:12px}
  .value-card{min-width:calc(33.33% - 10px)}

  /* PRESCHOOL: fluid columns */
  .preschool-inner{grid-template-columns:1fr 1fr;gap:40px}
  .preschool-feats{grid-template-columns:1fr}
  .preschool-right{width:auto;height:340px}
  .orbit-img{left:calc(50% - 120px);width:240px;height:240px;top:20px}
  .orbit-photo{left:calc(50% - 70px);top:70px;width:140px;height:140px}
  .p-pill,.preschool-sp{display:none}

  /* SCHOOL: fluid columns */
  .school-inner{grid-template-columns:1fr 1fr;gap:40px}

  /* DISCOVERY: fluid columns, remove negative badge offset */
  .discovery-inner{grid-template-columns:1fr 1fr;gap:48px}
  .disc-badge{left:0}
  .disc-sp-gold,.disc-sp-teal{display:none}

  /* BLOG: 2 columns */
  .blog-grid{grid-template-columns:repeat(2,1fr)}

  /* FOOTER: wrap at tight tablet widths */
  .footer-main{flex-wrap:wrap;gap:40px}
  .footer-brand{width:100%}
}

/* ━━━━━━━━━━━━━━━━━
   MOBILE — 768px and below
━━━━━━━━━━━━━━━━━ */
@media(max-width:768px){
  /* NAV — non-scrolled: big logo centred; scrolled: compact logo left + hamburger right */
  .header-wrap{display:flex;align-items:center;justify-content:center;padding:0;min-height:96px;background:transparent!important;border-color:transparent!important}
  .header-wrap.scrolled{background:#fff!important;border-color:rgba(0,0,0,0.06)!important;min-height:52px}
  .logo-panel{overflow:visible;flex-shrink:0}
  .logo-box{padding:0}
  .logo-full{height:80px}
  body{padding-top:0}
  /* Nav absolutely right so it never displaces the centred logo */
  .nav{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center;padding:0 20px;width:auto;flex:0}
  .nav-links,.nav-cta{display:none!important}
  .hamburger{display:flex}
  /* Scrolled: compact logo left, nav fills row, hamburger right */
  .header-wrap.scrolled{justify-content:flex-start;padding:0 16px}
  .header-wrap.scrolled .nav{position:static;flex:1;padding:8px 0;width:auto;justify-content:space-between}
  .header-wrap.scrolled .logo-compact-wrap{display:flex!important}

  /* TYPOGRAPHY */
  h1{font-size:clamp(1.9rem,8vw,2.6rem)!important}
  h2{font-size:26px!important;line-height:32px!important}
  .eyebrow{font-size:14px!important}

  /* SECTION VERTICAL PADDING: trim tall sections */
  .about,.steps,.spaces,.preschool,.school,.discovery,
  .testimonials,.instagram,.blog{padding-top:56px!important;padding-bottom:56px!important}
  .cta-banner{padding:64px 24px!important}

  /* HERO */
  .hero-wrap{padding:0 20px}
  .hero-top{grid-template-columns:1fr;gap:24px;padding:112px 0 0}
  .admissions-tag{font-size:14px}
  /* HERO: both images, scaled to mobile column width (~335px → 335/576 ≈ 0.58) */
  .hero-right{height:290px}
  .hero-main-img{position:absolute;left:20%;top:16px;width:76%;height:182px}
  .hero-small-img{display:block;position:absolute;left:0;top:168px;width:41%;height:107px}
  .hero-award{display:flex;position:absolute;left:calc(41% + 8px);top:172px;padding:9px;gap:8px;width:auto}
  .hero-award-icon{width:26px;height:26px;border-radius:6px}
  .hero-award-icon img{width:15px;height:15px}
  .hero-award-text .award-title{font-size:12px}
  .hero-award-text .award-sub{font-size:10px}
  /* hero sparkles stay visible on mobile — smaller, closer to images */
  .sp-blue{left:30%;top:150px;width:32px;height:32px}
  .sp-green{left:auto;right:4%;top:4px;width:22px;height:22px}
  .sp-amber{left:auto;right:8%;top:260px;width:22px;height:22px}
  .hero-left{text-align:center!important;align-items:center!important}
  .admissions-tag{align-self:center!important}
  .hero-sub{text-align:center!important}
  .hero-actions{flex-wrap:wrap!important;justify-content:center!important;gap:40px!important;column-gap:32px!important}
  .events-strip{max-width:100%;padding-bottom:28px;margin-top:28px}
  .events-cards{flex-direction:column;gap:8px;align-items:stretch}
  .event-card{flex:0 0 auto;max-width:none;width:100%}
  .events-all{display:inline-flex;margin-top:16px;margin-left:0!important;align-self:flex-start!important}

  /* ABOUT */
  .about-top{grid-template-columns:1fr;gap:32px}
  .about-left{text-align:center}
  .about-left .text-link{justify-content:center}
  /* about sparkles stay visible on mobile — smaller, closer */
  .about-sp-pink{top:-14px;left:8px;width:22px;height:20px}
  .about-sp-purple{bottom:16px;right:8px;width:24px;height:24px}
  .about-right{padding-bottom:28px}
  .about-right-video{height:240px}
  .about-right-play{width:64px;height:64px}
  .about-right-play svg{width:24px;height:24px}
  .cambridge-badge{left:12px;bottom:-12px}
  .value-cards{flex-wrap:wrap;gap:10px}
  .value-card{min-width:calc(50% - 5px)}

  /* STEPS */
  .steps-grid{grid-template-columns:1fr;max-width:100%;margin-bottom:40px}
  .step{flex-direction:column;align-items:center;text-align:center}
  .step-num{margin-bottom:16px}

  /* SPACES CAROUSEL — zero section padding, direct grid padding */
  .spaces{padding-left:0!important;padding-right:0!important}
  .spaces h2,.spaces-sub,.spaces-cta{padding:0 20px}
  .spaces-grid{
    display:flex;overflow-x:auto;gap:14px;justify-content:flex-start;
    scroll-snap-type:x mandatory;scroll-padding-left:20px;scrollbar-width:none;margin-bottom:28px;
    padding-left:20px!important;padding-right:20px;padding-bottom:8px;
  }
  .spaces-grid::-webkit-scrollbar{display:none}
  /* 20px pad + card + 14px gap + 30vw peek = 100vw */
  .space-card{flex:0 0 calc(70vw - 34px);width:calc(70vw - 34px);scroll-snap-align:start;flex-shrink:0;aspect-ratio:4/3}

  /* PRESCHOOL — keep Figma exact layout, scale to fit viewport */
  .preschool-inner{grid-template-columns:1fr;gap:40px}
  .preschool-feats{grid-template-columns:1fr 1fr;gap:28px 16px}
  .preschool-right{
    width:521px;height:452px;
    padding-top:0;display:block;gap:0;flex-wrap:initial;align-content:initial;
    overflow:visible;margin:32px auto 0;
    zoom:0.68;
  }
  /* Rings + photo concentric, centered in the 521×452 container */
  .orbit-img{left:calc(50% - 226px);top:0;width:452px;height:452px}
  .orbit-photo{left:calc(50% - 132px);top:94px;width:264px;height:264px}
  .p-pill{position:absolute;flex:initial;width:158px;padding:0 14px;justify-content:flex-start}
  .preschool-sp{display:block}
  .preschool-left{text-align:center}
  .preschool-feat{flex-direction:column;align-items:center;text-align:center}
  .preschool-actions{flex-wrap:wrap;gap:40px;justify-content:center}

  /* SCHOOL */
  .school{overflow:hidden}
  .school-inner{grid-template-columns:1fr;gap:32px}
  .school-left{text-align:center}
  .school-actions{flex-wrap:wrap;gap:40px;justify-content:center}
  /* Tighten timeline so node + card fit within mobile viewport */
  .school-right{min-width:0}
  .s-timeline{min-width:0}
  .s-timeline-line{left:23px}
  .s-row{gap:14px;align-items:flex-start;min-width:0}
  .s-node{width:48px}
  .s-node .s-dot{width:48px;height:48px}
  .s-card-wrap{min-width:0}
  .s-card{padding:18px 18px;min-width:0}
  .s-card-sub{font-size:17px;line-height:1.25}
  .s-grade{display:inline-block;font-size:14px;color:#666}
  .tag{white-space:normal}

  /* DISCOVERY */
  .discovery{overflow:hidden}
  .discovery-inner{grid-template-columns:1fr;gap:32px}
  .disc-photo{height:240px}
  .disc-badge{position:relative;left:auto;top:auto;width:auto;margin-top:12px}
  /* discovery sparkles stay visible on mobile — reposition so they don't overflow */
  .disc-sp-gold{top:-30px;left:auto;right:20px}
  .disc-sp-teal{top:auto;bottom:-20px;left:20px}
  .discovery-left{text-align:center}
  .discovery-quote{max-width:100%;text-align:center}
  .discovery-stats{flex-direction:column;align-items:stretch}
  /* On mobile, .sv stays nowrap (short labels) but .sl wraps freely so long
     stat lines don't push the card past the viewport. */
  .d-stat{text-align:left;flex-wrap:wrap;row-gap:6px;padding:14px 16px}
  .d-stat .sl{white-space:normal;line-height:1.45;flex:1;min-width:0}
  .discovery-actions{flex-wrap:wrap;gap:40px;justify-content:center}

  /* TESTIMONIALS */
  .testi-cards{flex-direction:column;gap:48px;margin:36px 0 28px}
  .testi-card{max-width:100%;align-items:center;text-align:center}
  .testi-author{justify-content:center}
  .testi-name,.testi-loc{text-align:left}
  .stars{justify-content:center}
  .testi-cta{margin-top:48px}

  /* INSTAGRAM CAROUSEL — zero section padding, direct grid padding */
  .instagram{padding-left:0!important;padding-right:0!important}
  .instagram-head,.instagram-handle,.insta-cta{padding:0 20px}
  .insta-grid{
    flex-wrap:nowrap;overflow-x:auto;gap:12px;
    scroll-snap-type:x mandatory;scroll-padding-left:20px;justify-content:flex-start;
    margin-bottom:28px;scrollbar-width:none;
    padding-left:20px!important;padding-right:20px;padding-bottom:8px;
  }
  .insta-grid::-webkit-scrollbar{display:none}
  /* 20px pad + card + 12px gap + 30vw peek = 100vw */
  .insta-photo{flex:0 0 calc(70vw - 32px);width:calc(70vw - 32px);scroll-snap-align:start;flex-shrink:0}

  /* Smash Balloon horizontal carousel on mobile (mirrors .insta-grid above) */
  .insta-feed{max-width:none;margin:0 0 28px}
  .insta-feed #sb_instagram{padding:0!important}
  .insta-feed #sb_instagram #sbi_images{
    display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:12px;
    scroll-snap-type:x mandatory;scroll-padding-left:20px;justify-content:flex-start;
    scrollbar-width:none;
    padding:0 20px 8px!important;width:auto!important;
  }
  .insta-feed #sb_instagram #sbi_images::-webkit-scrollbar{display:none}
  .insta-feed #sb_instagram .sbi_item{
    flex:0 0 calc(70vw - 32px)!important;width:calc(70vw - 32px)!important;
    scroll-snap-align:start;flex-shrink:0;padding:0!important;margin:0!important;
  }

  /* BLOG CAROUSEL — zero out section side padding, apply it inside grid */
  .blog{padding-left:0!important;padding-right:0!important}
  .blog-head{padding:0 20px}
  .blog-grid{
    display:flex;overflow-x:auto;gap:14px;justify-content:flex-start;
    scroll-snap-type:x mandatory;scroll-padding-left:20px;margin-bottom:28px;scrollbar-width:none;
    padding-left:20px!important;padding-right:20px;padding-bottom:8px;
  }
  .blog-grid::-webkit-scrollbar{display:none}
  /* 20px pad + card + 14px gap + ~18vw peek = 100vw */
  .blog-card{flex:0 0 calc(82vw - 34px);width:calc(82vw - 34px);scroll-snap-align:start;overflow:hidden}

  /* CTA BANNER */
  .cta-banner h2{font-size:24px!important;line-height:32px!important;max-width:100%}
  .cta-deco{display:none}
  /* cta sparkles stay visible on mobile — reposition to viewport-relative */
  .sp1{left:auto;right:20px;top:40px;width:28px;height:27px}
  .sp2{left:20px;right:auto;top:auto;bottom:40px;width:24px;height:23px}
  .sp3{left:20px;right:auto;top:30px;width:20px;height:19px}
  .sp4{left:auto;right:40px;top:auto;bottom:30px;width:18px;height:17px}
  .cta-actions{flex-direction:column;align-items:stretch;gap:20px}
  .cta-actions .btn{justify-content:center}

  /* FOOTER */
  .footer-main{flex-direction:column;padding:44px 20px!important;gap:36px}
  .footer-brand{width:100%!important}
  .footer-col{width:100%!important}
  .footer-bottom{flex-direction:column;gap:10px;text-align:center;padding:16px 20px!important}
  .footer-bottom-links{justify-content:center}
  .c-addr{width:100%}
  .social-icons{flex-wrap:wrap}
}

/* ── micro-animations ── */
@media (prefers-reduced-motion: no-preference){
  .reveal{opacity:0;transform:scale(.86) translateY(16px);transition:opacity .8s ease-out, transform .8s cubic-bezier(.22,.75,.2,1)}
  .reveal.in-view{opacity:1;transform:none}
  @keyframes twinkle{0%,100%{opacity:.85;transform:scale(1) rotate(0)}50%{opacity:1;transform:scale(1.18) rotate(6deg)}}
  .hero-sparkle img,.about-sparkle img,.preschool-sp img,.disc-sparkle img,.cta-sparkle img,.sp-deco img{
    animation:twinkle 3.2s ease-in-out infinite;transform-origin:center;will-change:transform,opacity
  }
  .hero-sparkle:nth-of-type(2) img{animation-duration:3.8s;animation-delay:.4s}
  .hero-sparkle:nth-of-type(3) img{animation-duration:3.4s;animation-delay:.8s}
  .about-sp-purple img{animation-duration:3.6s;animation-delay:.5s}
  .ps-green img{animation-duration:3.6s;animation-delay:.6s}
  .disc-sp-teal img{animation-duration:3.6s;animation-delay:.7s}
  .sp2 img{animation-delay:.3s}
  .sp3 img{animation-delay:.6s}
  .sp4 img{animation-delay:.9s}
  [data-parallax]{transform:translate3d(0,var(--py,0),0);transition:transform .08s linear;will-change:transform}
}
/* ━━━━━━━━━━━━━━━━━
   SPACES — clickable cards + lightbox
━━━━━━━━━━━━━━━━━ */
.space-card{display:block;background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit;text-align:left;transition:transform .25s ease,box-shadow .25s ease}
.space-card:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(26,26,26,.10)}
.space-card:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.spaces .text-link{background:none;border:0;padding:0;cursor:pointer;font:inherit}

.lightbox{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;background:rgba(15,18,25,.92);padding:32px 24px;opacity:0;transition:opacity .2s ease}
.lightbox[aria-hidden="false"]{display:flex;opacity:1}
.lightbox-stage{display:flex;flex-direction:column;align-items:center;gap:20px;width:100%;max-width:1080px;max-height:100%}
.lightbox-figure{position:relative;width:100%;display:flex;flex-direction:column;align-items:center;gap:16px;margin:0}
.lightbox-img{max-width:100%;max-height:min(70vh,720px);width:auto;height:auto;border-radius:12px;object-fit:contain;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.lightbox-caption{font-family:'Inter',sans-serif;font-size:14px;font-weight:500;line-height:1.4;color:#fff;background:rgba(38,38,38,.7);padding:8px 16px;border-radius:32px;letter-spacing:.2px}
.lightbox-caption:empty{display:none}
.lightbox-thumbs{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;max-width:100%}
.lightbox-thumb{width:96px;height:64px;border-radius:8px;overflow:hidden;border:2px solid transparent;background:none;padding:0;cursor:pointer;opacity:.6;transition:opacity .2s ease,border-color .2s ease,transform .2s ease}
.lightbox-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.lightbox-thumb:hover{opacity:.9;transform:translateY(-1px)}
.lightbox-thumb[aria-selected="true"]{opacity:1;border-color:var(--blue)}
.lightbox-thumb:focus-visible{outline:2px solid var(--blue);outline-offset:2px;opacity:1}

.lightbox-close,.lightbox-nav{position:absolute;border:0;cursor:pointer;background:rgba(255,255,255,.12);color:#fff;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;backdrop-filter:blur(8px);transition:background .2s ease,transform .2s ease}
.lightbox-close:hover,.lightbox-nav:hover{background:rgba(255,255,255,.22)}
.lightbox-close:focus-visible,.lightbox-nav:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.lightbox-close{top:24px;right:24px;width:44px;height:44px}
.lightbox-nav{top:50%;transform:translateY(-50%);width:48px;height:48px}
.lightbox-nav:hover{transform:translateY(-50%) scale(1.05)}
.lightbox-prev{left:24px}
.lightbox-next{right:24px}

body.lightbox-open{overflow:hidden}

@media (max-width:768px){
  .lightbox{padding:16px}
  .lightbox-img{max-height:55vh}
  .lightbox-thumb{width:72px;height:48px}
  .lightbox-close{top:12px;right:12px;width:40px;height:40px}
  .lightbox-nav{width:40px;height:40px}
  .lightbox-prev{left:8px}
  .lightbox-next{right:8px}
  .lightbox-caption{font-size:14px}
}
