/* =========================================================
   FUNSCOOL — boutique kindergarten · Dorćol, Belgrade
   Multilingual (RU / SR / EN) · warm boutique design
   Type: Montserrat — headers Bold (700), sub headers SemiBold (600)
   ========================================================= */

:root {
  /* surfaces */
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --cream:    #FBF7F0;
  --cream-2:  #F4EEE2;
  --card:     #FFFFFF;
  --card-2:   #FFFCF6;
  --ink:      #2C2723;
  --ink-soft: #4A433D;
  --muted:    #6f665d;   /* darkened a couple steps for WCAG AA on cream */
  --muted-2:  #8f867b;
  --line:     #EBE3D6;
  --line-2:   #E1D8C8;

  /* brand */
  --yellow:   #F5B301;
  --yellow-d: #E4A400;
  --amber-t:  #8a6a00;   /* accessible amber for yellow TEXT/icons on cream (WCAG AA) */
  --purple:   #8B6BD9;
  --purple-d: #7451c9;
  --orange:   #F5871F;
  --green:    #78B15A;
  --pink:     #E8709F;
  --coral:    #F0685F;
  --teal:     #4FA79B;
  --blue:     #5B9BD1;

  /* soft tints (icon circles / cards) */
  --t-green:  #E9F1DE;
  --t-pink:   #FBE6EE;
  --t-peach:  #FBE8D6;
  --t-lav:    #EDE5F8;
  --t-teal:   #E1F0EC;
  --t-blue:   #E3EFF8;
  --t-yellow: #FCF0D2;

  --radius:    22px;
  --radius-lg: 34px;
  --radius-sm: 14px;
  --radius-xl: 46px;

  --shadow-sm: 0 6px 20px -10px rgba(80, 60, 30, 0.18);
  --shadow:    0 22px 50px -26px rgba(90, 66, 30, 0.30);
  --shadow-lg: 0 34px 70px -30px rgba(90, 66, 30, 0.34);

  --maxw: 1280px;
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; } /* height:auto so width/height attrs set ratio only, letting CSS aspect-ratio/object-fit control the box */
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  font-weight: 600;       /* sub headers: SemiBold */
  letter-spacing: -0.01em;
}
h1, h2 { font-weight: 700; } /* headers: Bold */
.hero h1, .section-title, .cta-wrap h2 { font-weight: 700; }
/* smoother line breaks: balance short headings/labels, avoid ragged orphan
   last lines in running copy (pairs with the NBSP typography pass in main.js) */
h1, h2, h3, h4, .section-title, .eyebrow, .hero-tag, blockquote { text-wrap: balance; }
.hero-lead, .section-sub, .prog-desc, p, li { text-wrap: pretty; }
::selection { background: rgba(245, 179, 1, 0.3); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
/* a11y helpers */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 300; transform: translateY(-150%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease); }
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--yellow); }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-sm { padding: clamp(40px, 6vw, 72px) 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
  color: var(--purple-d);
  background: var(--t-lav);
  padding: 8px 16px 8px 12px; border-radius: 100px;
}
.eyebrow .ic { width: 18px; height: 18px; color: var(--orange); }
.eyebrow.y { color: var(--amber-t); background: var(--t-yellow); }
.eyebrow.g { color: #5c8a3f; background: var(--t-green); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
/* alignment: every section intro is centered across the whole site (mobile +
   desktop) — eyebrow, heading, subtitle/lead and the button/badge/pill rows
   beneath them. Card and list bodies keep their natural left alignment. */
.eyebrow, .hero h1, .section-title, .section-sub, .hero-lead { text-align: center; }
.eyebrow { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.section-sub, .hero-lead { margin-left: auto; margin-right: auto; }
.hero-cta, .info-band, .badges-3, .day-pills { justify-content: center; }
.section-title { font-size: clamp(25.5px, 3.9vw, 42.5px); margin: 16px 0 14px; }
.section-sub { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); }
.wavy { display: block; width: 120px; height: 12px; margin-top: 8px; color: var(--yellow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 16px;
  padding: 15px 28px; border-radius: 100px; border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 14px 30px -12px rgba(245,179,1,.7); }
.btn-yellow:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(245,179,1,.8); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 14px 30px -12px rgba(139,107,217,.7); }
.btn-purple:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(139,107,217,.8); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 14px 30px -12px rgba(245,135,31,.6); }
.btn-orange:hover { transform: translateY(-3px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--yellow); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn:active { transform: scale(.97); transition-duration: .1s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s, height .35s, border-color .35s;
  background: rgba(251, 247, 240, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav.scrolled {
  background: rgba(251, 247, 240, 0.94);
  box-shadow: 0 6px 24px -18px rgba(44,39,35,.5);
  border-bottom-color: var(--line);
  height: 70px;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.brand .name {
  font-family: var(--font); font-weight: 700; font-size: 27px; color: var(--ink);
  letter-spacing: -0.02em; display: inline-block; position: relative; line-height: 1;
  padding-bottom: .26em; /* room for the smile tucked under the "oo" */
}
/* the two o's are the eyes (the second one bigger); the yellow smile sits under them */
.brand .name .oo { position: relative; color: inherit; }
.brand .name .o2 { font-size: 1.24em; letter-spacing: -.02em; }
.brand .name .smile {
  position: absolute; left: 50%; bottom: -.14em; transform: translateX(-50%);
  width: 1.12em; height: auto; color: var(--yellow);
}
.brand .sub { font-size: 9.5px; font-weight: 700; color: var(--muted); letter-spacing: .05em; margin-top: -4px; }
.brand-fluffy { height: 42px; width: auto; display: block; align-self: flex-start; }
.brand-has-fluffy .sub { margin-top: 3px; margin-left: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 9px 12px; border-radius: 100px; font-weight: 700; font-size: 15.5px; color: var(--ink-soft); white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(0,0,0,.04); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; background: var(--card); border: 1px solid var(--line-2); border-radius: 100px; padding: 3px; }
.lang button { border: none; background: none; font-weight: 700; font-size: 12.5px; color: var(--muted); padding: 5px 10px; border-radius: 100px; text-transform: uppercase; transition: color .2s, background .2s; }
.lang button.active { background: var(--yellow); color: var(--ink); }
.nav-phone { font-weight: 700; font-size: 15.5px; color: var(--ink); white-space: nowrap; }
.nav-phone:hover { color: var(--yellow-d); }
.nav-cta { padding: 11px 22px; font-size: 15px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2.4px; background: var(--ink); border-radius: 3px; transition: transform .3s var(--ease), opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(251,247,240,.98); backdrop-filter: blur(16px);
  padding: 24px; display: flex; flex-direction: column; gap: 4px;
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s, transform .3s; overflow-y: auto;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-family: var(--font); font-size: 22px; font-weight: 600; color: var(--ink); padding: 14px 8px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: calc(var(--nav-h) + 30px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(28.1px, 3.7vw, 46.8px); letter-spacing: -0.02em; line-height: 1.06; }
.hero-lead { font-size: clamp(16.2px, 2vw, 21.3px); font-weight: 500; color: var(--muted); max-width: 500px; margin: 14px 0 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media .blob {
  width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; box-shadow: var(--shadow-lg);
  border-radius: 46% 54% 52% 48% / 54% 46% 54% 46%;
}
.hero-media .ring {
  position: absolute; inset: -14px; z-index: -1; border-radius: 46% 54% 52% 48% / 54% 46% 54% 46%;
  background: linear-gradient(140deg, var(--t-yellow), var(--t-lav));
}

/* floating decorative shapes */
.float { position: absolute; border-radius: 50%; z-index: -1; }
.float.blur { filter: blur(2px); }

/* feature strip under hero */
.feature-strip {
  margin-top: clamp(12px, 1.6vw, 18px);
  position: relative; z-index: 1;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.feat { display: flex; gap: 14px; padding: 20px 22px; align-items: flex-start; border-right: 1px solid var(--line); }
.feat:last-child { border-right: none; }
.feat .ic-wrap { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; }
.feat .ic-wrap svg { width: 24px; height: 24px; }
.feat h3 { font-family: var(--font); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 3px; }
.feat p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.4; }

/* rating + address band */
.info-band { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.info-pill { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; box-shadow: var(--shadow-sm); flex: 1; min-width: 260px; }
a.info-pill { color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.info-pill:hover { border-color: var(--coral); box-shadow: var(--shadow); transform: translateY(-2px); }
.info-pill .pin { width: 22px; height: 22px; color: var(--coral); flex-shrink: 0; }
.info-pill b { font-family: var(--font); font-weight: 600; color: var(--ink); display: block; font-size: 15.5px; line-height: 1.25; }
.info-pill span { font-size: 13.5px; color: var(--muted); }
.info-pill .stars { display: block; color: var(--amber-t); letter-spacing: 2px; font-size: 16px; margin-bottom: 1px; }
.rating-num { font-family: var(--font); font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; }

/* ============================================================
   SREDA — safe development
   ============================================================ */
.sreda-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.sreda-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/3.2; }
.mini-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.mini {
  display: flex; gap: 14px; padding: 20px; background: var(--card-2);
  border: 1px solid var(--line); border-radius: var(--radius); align-items: flex-start;
}
.mini .ic-wrap { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; }
.mini .ic-wrap svg { width: 22px; height: 22px; }
.mini p { margin: 0; font-size: 14.5px; color: var(--ink-soft); font-weight: 600; line-height: 1.4; }

/* ============================================================
   PROGRAMS (age groups)
   ============================================================ */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prog {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
  display: flex; flex-direction: column;
}
.prog-doodle { position: absolute; right: 14px; bottom: 92px; width: clamp(44px, 5vw, 56px); height: auto; opacity: .92; pointer-events: none; z-index: 1; }
.prog:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.prog:active { transform: scale(.99); }
.prog-img { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.prog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prog:hover .prog-img img { transform: scale(1.06); }
.prog-badge { position: absolute; left: 16px; bottom: 14px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; box-shadow: var(--shadow); }
.prog-badge svg { width: 24px; height: 24px; color: #fff; }
.prog-body { padding: 30px 24px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.prog-body h3 { font-family: var(--font); font-weight: 600; font-size: 22px; }
.prog-age { font-weight: 700; font-size: 14px; margin: 4px 0 12px; }
.prog-lead { font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--ink); margin: 0 0 10px; }
.prog-desc { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.prog ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.prog ul li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-soft); }
.prog ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; }
.prog .btn { margin-top: auto; width: 100%; }
/* per-category accent */
.c-green  { --c: var(--green);  --ct: var(--t-green); }
.c-orange { --c: var(--orange); --ct: var(--t-peach); }
.c-purple { --c: var(--purple); --ct: var(--t-lav); }
.c-coral  { --c: var(--coral);  --ct: var(--t-pink); }
.c-teal   { --c: var(--teal);   --ct: var(--t-teal); }
.prog .prog-badge { background: var(--c); }
.prog .prog-age { color: var(--c); }
.prog ul li::before { background: var(--c); }
.prog .btn-ghost:hover { border-color: var(--c); }

/* brand mascot on each group card — stands on the clean white body (one per card) */
.prog-body { position: relative; z-index: 1; }
.prog-char {   /* capped by BOTH dimensions so wide poses never spill onto the text */
  position: absolute; z-index: 0; pointer-events: none;
  right: 8px; bottom: 12px; width: auto; height: auto;
  max-height: 140px; max-width: 104px;
}

/* brand mascots tucked into other sections (static, desktop only) */
.section-char {
  position: absolute; z-index: 0; pointer-events: none; width: auto; opacity: .92;
  filter: drop-shadow(0 0 7px rgba(251,247,240,.95)) drop-shadow(0 0 3px rgba(251,247,240,.9));
}
@media (max-width: 1180px) { .section-char { display: none; } }

/* ============================================================
   PLAYGROUND / ABOUT split cards
   ============================================================ */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: stretch; }
.split.rev { grid-template-columns: 1.1fr 1fr; }   /* same column widths as .split, so photos match across blocks */
.split-media { align-self: center; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { display: block; width: 100%; height: auto; }   /* natural proportions: the block is as tall as the photo */
.split-body { display: flex; flex-direction: column; justify-content: center; padding: 8px; }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); font-weight: 600; }
.check-list .ck { width: 26px; height: 26px; border-radius: 50%; background: var(--t-green); color: #5c8a3f; display: grid; place-items: center; flex-shrink: 0; }
.check-list .ck svg { width: 15px; height: 15px; }
.badges-3 { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
.badge-item { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14.5px; color: var(--ink-soft); }
.badge-item .ic-wrap { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.badge-item .ic-wrap svg { width: 22px; height: 22px; }

/* ============================================================
   360 / DAY TIMELINE
   ============================================================ */
.day-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-top: 26px; display: flex; gap: 16px; }
.quote-card .star { width: 40px; height: 40px; color: var(--purple); flex-shrink: 0; }
.quote-card b { font-family: var(--font); font-size: 18px; color: var(--ink); display: block; margin-bottom: 6px; }
.quote-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.timeline { display: grid; gap: 14px; }
.tl {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  border-radius: var(--radius); background: var(--card-2); border: 1px solid var(--line);
  transition: transform .3s var(--ease), background .3s;
}
.tl:hover { transform: translateX(6px); background: var(--card); box-shadow: var(--shadow-sm); }
.tl .ic-wrap { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.tl .ic-wrap svg { width: 24px; height: 24px; }
.tl-time { font-weight: 700; font-size: 14px; }
.tl h4 { font-family: var(--font); font-weight: 600; font-size: 16px; color: var(--ink); margin: 2px 0 0; }
/* ============================================================
   Radial day-clock
   ============================================================ */
.day-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.dp {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 100px;
  background: var(--card-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--purple);
}
.dp.o { color: var(--orange); }
.dp svg { width: 19px; height: 19px; flex-shrink: 0; }
.dp b { font-family: var(--font); font-weight: 700; font-size: 14px; color: var(--ink); }

.day-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(20px, 2.6vw, 44px); align-items: center; }
.day-aside { max-width: 430px; }
.day-aside .section-title { font-size: clamp(19.6px, 2.1vw, 26.3px); margin-top: 10px !important; }
.day-aside .section-sub { font-size: 15px; margin-top: 10px; }
.day-aside .day-pills { margin-top: 16px; }
.day-photo { margin: 20px 0 0; }
.day-photo img {
  width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: center 30%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
#day { padding-bottom: 26px; }
.dayclock {
  position: relative;
  width: min(600px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.clocksvg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible; display: block;
  filter: drop-shadow(0 18px 40px rgba(139,107,217,.14));
}
.clk-hand { transform-box: view-box; transform-origin: 50% 50%; }
.cd { opacity: .32; transition: opacity .5s, transform .5s; transform-box: fill-box; transform-origin: center;
  cursor: pointer; stroke: transparent; stroke-width: 6; pointer-events: all; outline: none; }  /* transparent stroke = bigger click target; outline:none removes the rectangular focus box on the SVG dot */
.cd:hover { opacity: .8; }
/* keyboard focus: a soft ROUND halo on the circle instead of a black square */
.cd:focus-visible { opacity: 1; stroke: color-mix(in srgb, var(--purple) 45%, transparent); }
.cd.pulse { opacity: 1; transform: scale(1.6); }
.dayclock .ev { cursor: pointer; }

.ev {
  position: absolute;
  width: clamp(146px, 12vw, 168px);
  transform: translate(-50%, -50%) scale(.82);
  opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  z-index: 2;
}
.ev.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
/* desktop: nudge each callout radially OUTWARD from the clock centre (per-card
   unit vector in --rx/--ry) by --push, so the gap between the dot ring and the
   card text stays even all around the clock and no card climbs onto the face.
   --push scales with the viewport: gentle on narrow desktops, where the ring and
   the side photo are already tight, and full on wide screens where there's room,
   so a card never lands on the photo or runs off the section edge. */
@media (min-width: 901px) {
  .dayclock { --push: 12px; }
  .ev.clk-item {
    transform: translate(calc(-50% + var(--rx, 0) * var(--push)), calc(-50% + var(--ry, 0) * var(--push))) scale(.82);
  }
  .ev.clk-item.on {
    transform: translate(calc(-50% + var(--rx, 0) * var(--push)), calc(-50% + var(--ry, 0) * var(--push))) scale(1);
  }
}
@media (min-width: 1200px) { .dayclock { --push: 22px; } }
.ev-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  padding: 11px 13px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.ev-card > div { width: 100%; min-width: 0; }
.ev:hover .ev-card { transform: translateY(-3px); box-shadow: var(--shadow); }
.ev-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, currentColor 14%, var(--card)); }
.ev-ic svg { width: 20px; height: 20px; }
.ev-time { font-family: var(--font); font-weight: 700; font-size: 12.5px; letter-spacing: .2px; }
.ev-card h4 { font-family: var(--font); font-weight: 600; font-size: 13px; line-height: 1.25; color: var(--ink); margin: 3px 0 0; overflow-wrap: break-word; hyphens: manual; }
.ev-ic { width: 36px; height: 36px; }
.ev-ic svg { width: 21px; height: 21px; }

.center-quote { justify-content: center; text-align: center; max-width: 560px; margin: 34px auto 0; }
.center-quote .star { color: var(--yellow); }

@media (max-width: 900px) {
  .day-layout { grid-template-columns: 1fr; gap: 6px; }
  .day-aside { max-width: none; }
  .day-photo { max-width: 440px; margin-left: auto; margin-right: auto; }

  /* same idea as desktop: a real ticking clock that reveals the current
     activity, one card at a time — just enlarged and stacked for phones */
  .dayclock {
    position: relative; inset: auto; aspect-ratio: auto;
    width: 100%; max-width: 460px; margin: 4px auto 0;
    padding-bottom: 104px;                 /* reserved slot for the active card */
  }
  .clocksvg {
    position: static; inset: auto;
    width: min(340px, 80vw); height: min(340px, 80vw);
    /* negative bottom margin eats the empty band inside the SVG box so the
       card sits just under the visible clock instead of a floating gap */
    margin: -18px auto -40px;
  }
  /* the schedule cards carry inline clock coordinates — override them so the
     single visible card always lands in the slot centred below the clock */
  .ev {
    position: absolute; left: 50% !important; right: auto; top: auto !important; bottom: 0;
    width: min(340px, 92%);
    transform: translate(-50%, 12px); opacity: 0;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .ev.on { transform: translate(-50%, 0); opacity: 1; }
  .ev-card {
    flex-direction: row; align-items: center; gap: 14px;
    padding: 16px 18px; border-radius: 18px;
    background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .ev:hover .ev-card { transform: none; }
  .ev-ic { width: 48px; height: 48px; border-radius: 14px; }
  .ev-ic svg { width: 24px; height: 24px; }
  .ev-time { font-size: 13.5px; }
  .ev-card h4 { font-size: 15.5px; line-height: 1.28; margin-top: 2px; }

  /* reduced-motion: no cycling — list every step statically instead */
  .dayclock.is-static { padding-bottom: 0; }
  .dayclock.is-static .ev {
    position: static !important; transform: none !important; opacity: 1 !important;
    width: 100%; margin-bottom: 12px;
  }
}

/* ============================================================
   JOY cards
   ============================================================ */
.joy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.joy {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.joy:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.joy .ic-wrap { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; }
.joy .ic-wrap svg { width: 26px; height: 26px; color: #fff; }
.joy h3 { font-family: var(--font); font-weight: 600; font-size: 18px; margin-bottom: 10px; }
.joy p { margin: 0; font-size: 14.5px; color: var(--muted); }
/* event photo-album — "Joy every day" */
.joy-sec .ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* display:block + padding:0 make the feed card self-contained: the generic
   .ev-card (day-clock callout) is flex and turns row on mobile — we must not
   inherit that here */
.joy-sec .ev-card { display: block; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.joy-sec .ev-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.joy-sec .ev-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.joy-sec .ev-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.joy-sec .ev-ic { position: absolute; left: 16px; bottom: -20px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.joy-sec .ev-ic svg { width: 23px; height: 23px; color: #fff; }
.joy-sec .ev-card h3 { font-family: var(--font); font-weight: 600; font-size: 18px; margin: 30px 20px 6px; }
.joy-sec .ev-card p { margin: 0 20px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.joy-sec .ev-photo.ev-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--cream-2), var(--cream)); }
.joy-sec .ev-ph-ic { width: clamp(46px, 7vw, 64px); height: auto; color: var(--muted-2); opacity: .55; }
.joy-sec .ev-q { font-family: var(--font); font-weight: 700; font-size: clamp(46px, 7vw, 72px); color: var(--muted-2); line-height: 1; }
.joy-sec .ev-date { display: block; font-family: var(--font); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--purple); margin: 18px 20px 0; }
.joy-sec .ev-date + h3 { margin-top: 4px; }
#feed[hidden] { display: none !important; }
.joy-end { text-align: center; font-family: var(--font); font-style: italic; font-size: clamp(19px, 2.4vw, 24px); color: var(--ink-soft); margin: 42px auto 0; max-width: 640px; text-wrap: balance; }
@media (max-width: 900px) { .joy-sec .ev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .joy-sec .ev-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TEACHERS
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcard {
  --c: var(--purple); --ct: var(--t-lav);
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tcard.c-green { --c: #5c8a3f; --ct: var(--t-green); }
.tcard.c-purple { --c: var(--purple); --ct: var(--t-lav); }
.tcard.c-teal { --c: var(--teal); --ct: var(--t-teal); }
.tcard.c-pink { --c: var(--pink); --ct: var(--t-pink); }
.tcard-photo { position: relative; }
.tcard-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(0,0,0,.04)); }
.tcard-photo img { width: 100%; aspect-ratio: 1/1.12; object-fit: cover; object-position: top center; display: block; }
.tcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.tcard-body h3 { font-family: var(--font); font-weight: 600; font-size: 19px; color: var(--ink); }
.tcard .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 11px; }
.tcard .tag {
  font-family: var(--font); font-weight: 700; font-size: 11.5px; letter-spacing: .01em;
  color: var(--ink-soft); background: var(--ct); padding: 5px 11px; border-radius: 100px;
}
.tcard-body p { margin: 0 0 16px; font-size: 13.8px; line-height: 1.5; color: var(--muted); }
.tcard-ask { margin-top: auto; align-self: flex-start; border-color: color-mix(in srgb, var(--c) 40%, var(--line)); color: var(--ink); }
.tcard-ask:hover { border-color: var(--c); background: var(--ct); }

/* ============================================================
   MOMENTS / GALLERY
   ============================================================ */
.eyebrow.p { color: var(--purple-d); background: var(--t-lav); }
.gallery-strip {
  display: flex; gap: clamp(12px, 1.6vw, 22px); align-items: center; justify-content: center;
  padding: 6px 2px 10px;
}
.gphoto {
  position: relative; margin: 0; flex: 1 1 0; min-width: 0;
  border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--card-2);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.gphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gphoto.g-a { aspect-ratio: 3/4.4; transform: translateY(24px) rotate(-1.4deg); }
.gphoto.g-b { aspect-ratio: 3/4.9; transform: translateY(-10px) rotate(1deg); }
.gphoto.g-c { aspect-ratio: 3/5.3; flex-grow: 1.18; z-index: 2; box-shadow: var(--shadow); }
.gphoto.g-d { aspect-ratio: 3/4.9; transform: translateY(-4px) rotate(-1deg); }
.gphoto.g-e { aspect-ratio: 3/4.4; transform: translateY(20px) rotate(1.4deg); }
.gphoto:hover { transform: translateY(-6px) rotate(0); box-shadow: var(--shadow); z-index: 3; }
.gp-badge {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.gp-badge svg { width: 18px; height: 18px; }
.moments-note {
  display: flex; align-items: center; gap: 13px; justify-content: center; text-align: left;
  max-width: 560px; margin: 30px auto 0; padding: 16px 22px;
  background: var(--t-peach); border-radius: 18px; font-weight: 700; font-size: 14.5px; color: var(--ink-soft);
}
.moments-note .mn-ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--card); display: grid; place-items: center; color: var(--orange); }
.moments-note .mn-ic svg { width: 19px; height: 19px; }
.rainbow-line { opacity: .9; }
.rainbow-line svg { width: 100%; height: 100%; }
.doodle-dog { opacity: .5; }

/* ============================================================
   FAQ
   ============================================================ */
.container.narrow { max-width: 760px; }
.faq-list { display: grid; gap: 12px; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.qa[open] { border-color: color-mix(in srgb, var(--purple) 30%, var(--line)); }
.qa summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 16px;
  font-family: var(--font); font-weight: 600; font-size: 16px; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary span:first-child { flex: 1; }
.qa-ic { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--t-lav); color: var(--purple); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.qa-ic svg { width: 17px; height: 17px; }
.qa[open] .qa-ic { transform: rotate(180deg); background: var(--purple); color: #fff; }
.qa-a { padding: 0 22px 20px; }
.qa-a p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ============================================================
   Organic (blob) image crops
   ============================================================ */
.gphoto.g-a { border-radius: 52% 48% 46% 54% / 12% 14% 13% 12%; }
.gphoto.g-b { border-radius: 46% 54% 52% 48% / 13% 12% 14% 12%; }
.gphoto.g-c { border-radius: 50% 50% 48% 52% / 11% 12% 12% 11%; }
.gphoto.g-d { border-radius: 54% 46% 50% 50% / 12% 13% 12% 14%; }
.gphoto.g-e { border-radius: 48% 52% 54% 46% / 13% 12% 12% 13%; }

/* ============================================================
   HOUSE / LOCATION band
   ============================================================ */
/* fluffy-logo brand band */
.brand-band { position: relative; text-align: center; padding: clamp(46px, 6vw, 82px) 0 clamp(30px, 4vw, 54px); overflow: hidden; }
.fluffy-logo { width: min(440px, 74%); height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 12px 22px rgba(43,39,35,.1)); }
.brand-tagline { font-family: var(--font); font-weight: 700; font-size: clamp(15px, 1.9vw, 18px); color: var(--muted); margin: 16px auto 0; max-width: 400px; }

/* contact CTA (clean, no photo) */
.cta-wrap.has-photo { background: #241f1b; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 24% 88%; z-index: 0; }
.cta-wrap.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(26,22,18,.34) 0%, rgba(26,22,18,.18) 55%, rgba(26,22,18,.08) 100%); }
.cta-copy, .cta-wrap.has-photo .form-card { position: relative; z-index: 1; }
.cta-wrap.has-photo .cta-copy {
  background: rgba(24,20,16,.34);
  -webkit-backdrop-filter: blur(11px) saturate(1.1);
  backdrop-filter: blur(11px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  padding: 30px 30px 26px;
}
.cta-wrap.has-photo h2 { color: #fff; }
.cta-wrap.has-photo .cta-copy p { color: rgba(255,255,255,.92); }
.cta-wrap.has-photo .info-pill { background: rgba(255,255,255,.96); border-color: transparent; box-shadow: var(--shadow-sm); }

/* ============================================================
   JOY top (photo blob)
   ============================================================ */
.joy-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; margin-bottom: 46px; }
.joy-intro { max-width: 480px; }
.joy-photo { display: flex; justify-content: center; }
.joy-egg {
  width: 100%; max-width: 420px; aspect-ratio: 4 / 3.6; object-fit: cover; display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* flying doodles that drift across whitespace (never over text: z-index 0) */
.drift-anim { animation: drift 16s ease-in-out infinite; }
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(24px, -18px) rotate(8deg); }
  50%  { transform: translate(48px, 6px) rotate(-4deg); }
  75%  { transform: translate(18px, 20px) rotate(6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { .drift-anim, .float-anim { animation: none; } }

/* hand-drawn (PNG) doodles — scattered in the gutters, behind text */
img.doodle-art { height: auto; opacity: .9; }
@media (max-width: 1000px) { img.doodle-art { display: none; } }

/* ============================================================
   Loading intro
   ============================================================ */
body.intro-lock { overflow: hidden; }
/* background matches the clip's own studio backdrop, so the contained video
   blends into the page with no visible seam on portrait screens */
.intro { position: fixed; inset: 0; z-index: 10000; background: #e9eaec; overflow: hidden; transition: opacity .7s var(--ease); }
.intro.hide { opacity: 0; pointer-events: none; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* portrait phones showing the WIDE desktop clip (fallback only): contain it and
   let the matched background carry the rest — no frame, no logo, no clutter */
@media (max-width: 860px) { .intro-video { object-fit: contain; } }
/* dedicated vertical mobile clip: it matches the portrait screen, so fill it */
.intro.is-mobile .intro-video { object-fit: cover; }
.intro-skip {
  position: absolute; bottom: clamp(20px, 6vh, 52px); right: clamp(20px, 5vw, 52px); z-index: 2;
  background: rgba(38,32,26,.5); border: 1px solid rgba(255,255,255,.28); color: #fff;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-family: var(--font); font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 100px;
  cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease);
}
.intro-skip:hover { background: rgba(38,32,26,.72); transform: translateY(-1px); }

/* ============================================================
   FORM / CTA
   ============================================================ */
.cta-wrap {
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
  background:
    radial-gradient(40% 58% at 6% 8%, rgba(139,107,217,.24), transparent 72%),
    radial-gradient(46% 62% at 102% 104%, rgba(245,135,31,.22), transparent 72%),
    radial-gradient(30% 46% at 86% 2%, rgba(120,177,90,.18), transparent 72%),
    radial-gradient(34% 52% at 16% 104%, rgba(232,112,159,.16), transparent 74%),
    linear-gradient(135deg, var(--t-lav), var(--t-peach));
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: clamp(30px, 4vw, 54px);
}
.cta-trust { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.cta-rating { display: inline-flex; align-items: center; gap: 12px; }
.cta-rating > b { font-family: var(--font); font-weight: 700; font-size: 34px; color: var(--ink); line-height: 1; }
.cta-rating > div { display: flex; flex-direction: column; gap: 2px; }
.cta-rating .stars { color: var(--amber-t); font-size: 15px; letter-spacing: 2px; }
.cta-rating > div span:last-child { font-size: 13px; color: var(--muted); font-weight: 700; }
.cta-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cta-chips .chip { font-family: var(--font); font-weight: 700; font-size: 12.5px; color: var(--ink-soft); background: rgba(255,255,255,.72); border: 1px solid var(--line); padding: 7px 13px; border-radius: 100px; }
.cta-wrap h2 { font-size: clamp(22.1px, 2.9vw, 34px); margin-bottom: 14px; }
.cta-wrap p { color: var(--ink-soft); font-size: 17px; margin: 0 0 26px; }
.form-card { background: var(--card); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.form-card h3 { font-family: var(--font); font-weight: 600; font-size: 21px; color: var(--ink); margin-bottom: 6px; }
.form-card > p { font-size: 14.5px; color: var(--muted); margin: 0 0 22px; }
.field { margin-top: 10px; }
.field-button { display: flex; justify-content: flex-end; margin-top: 14px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--line-2);
  background: var(--card-2); color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 88px; resize: vertical; line-height: 1.4; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); background: #fff; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-note { display: flex; gap: 8px; align-items: flex-start; font-size: 11px; color: var(--muted); margin-top: 14px; }
.form-note svg { width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.form-note a { color: var(--purple-d); text-decoration: underline; text-underline-offset: 2px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.consent-check input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--purple-d); cursor: pointer; }
.consent-check a { color: var(--purple-d); text-decoration: underline; text-underline-offset: 2px; }
.form-success { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--t-green); color: #4a7132; font-weight: 700; font-size: 14.5px; }
.form-success.show { display: block; }

/* ============================================================
   NEWS & PROMOTIONS
   ============================================================ */
#news[hidden] { display: none !important; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 8px; }
.news-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.news-card-img { position: relative; aspect-ratio: 16 / 10; background: var(--cream-2); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-badge { font-family: var(--font); font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 100px; color: #fff; letter-spacing: .01em; }
.news-badge.news { background: var(--purple); }
.news-badge.promo { background: var(--coral); }
.news-card-img .news-badge { position: absolute; top: 12px; left: 12px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.news-badge-inline { align-self: flex-start; }
.news-card-body { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px 24px; flex: 1; }
.news-date { font-weight: 700; font-size: 12.5px; color: var(--muted); }
.news-card-body h3 { font-family: var(--font); font-weight: 600; font-size: 19px; line-height: 1.22; color: var(--ink); margin: 0; }
.news-card-body p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; max-width: 460px; margin: 8px auto 0; } }

/* main-page news: show 3, reveal up to 6, then link to the archive */
.news-hidden { display: none !important; }
.news-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.news-actions .btn svg { width: 18px; height: 18px; }
.news-actions .btn[hidden] { display: none !important; } /* .btn's display:inline-flex would otherwise defeat the hidden attribute */
.news-more[hidden], .news-all[hidden] { display: none !important; }

/* news archive page (news.html) */
.news-hero { padding: 92px 0 10px; }
.news-back { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.news-back svg { width: 18px; height: 18px; }
.news-back:hover { color: var(--purple); }
.news-hero-title { font-family: var(--font); font-weight: 700; font-size: clamp(25.5px, 3.9vw, 44.2px); color: var(--ink); line-height: 1.05; letter-spacing: -.02em; margin: 8px 0 12px; }
.news-hero-sub { color: var(--muted); font-size: 17px; max-width: 640px; }
.news-joy { background: var(--cream-2); padding-top: 34px; padding-bottom: 42px; margin-top: 16px; }
.news-empty { text-align: center; color: var(--muted); font-weight: 700; padding: 30px 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--cream-2); border-top: 1px solid var(--line); padding: 60px 0 30px; margin-top: 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 260px; margin: 14px 0 18px; }
.footer-soc { display: flex; gap: 10px; }
.footer-soc a { width: 42px; height: 42px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: color .2s, transform .2s, border-color .2s; }
.footer-soc a:hover { color: var(--purple); border-color: var(--purple); transform: translateY(-3px); }
.footer-soc a svg { width: 19px; height: 19px; }
.footer-col h4 { font-family: var(--font); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: #6b6157; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--ink-soft); font-size: 14.5px; font-weight: 600; transition: color .2s; }
.footer-col a:hover { color: var(--yellow-d); }
.footer-col a[data-i18n^="foot_p"] { white-space: nowrap; } /* keep "Name · age" on one line — no mid-range break */
.footer-col li[data-i18n^="foot_p"] { color: var(--ink-soft); font-size: 14.5px; font-weight: 600; white-space: nowrap; } /* program names (plain text, no links) */
.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13.5px; }

/* ============================================================
   doodles + reveal
   ============================================================ */
.doodle { position: absolute; pointer-events: none; z-index: 0; opacity: .9; }
.doodle svg { width: 100%; height: 100%; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

.float-anim { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px); } }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-phone { display: none; }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .joy-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .feat:nth-child(2) { border-right: none; }
  .feat:nth-child(1), .feat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .doodle { display: none; }
  .hero-grid, .sreda-grid, .day-grid, .cta-wrap { grid-template-columns: 1fr; }
  /* mobile: big photo sits ABOVE the text */
  .hero-grid { gap: 24px; }
  .hero-media { order: -1; max-width: none; margin: 0; }
  .hero-media .blob { width: 100%; aspect-ratio: 4 / 3; }
  .split, .split.rev { grid-template-columns: 1fr; }
  /* mobile: cap the split photo (e.g. the tall portrait building shot) to a tidy
     landscape crop instead of letting it render full-height and overscroll */
  .split-media { order: -1; }
  .cta-wrap { text-align: center; }
  .gallery-strip {
    overflow-x: auto; justify-content: flex-start; gap: 14px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 4px 2px 16px; margin: 0 -18px; padding-left: 18px; padding-right: 18px;
  }
  .gphoto { flex: 0 0 auto; width: 62vw; max-width: 240px; transform: none !important;
    scroll-snap-align: center; aspect-ratio: 3/4 !important; }
  .gallery-strip::-webkit-scrollbar { display: none; }
  .gallery-strip { scrollbar-width: none; }
  .joy-top { grid-template-columns: 1fr; gap: 22px; margin-bottom: 34px; }
  .joy-photo { order: -1; }
  .joy-egg { max-width: 280px; }
  .cta-wrap.has-photo::before { background: linear-gradient(180deg, rgba(28,24,20,.82) 0%, rgba(28,24,20,.66) 46%, rgba(28,24,20,.5) 100%); }
  .cta-bg { object-position: 30% 60%; }
}
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  /* stack footer columns full-width so program entries fit on one line */
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 360px) {
  /* very narrow phones (320px): keep the header inside the viewport */
  .container { padding: 0 12px; }
  .nav .container { gap: 8px; }
  .burger { flex: none; width: 42px; height: 42px; }
  .wa-fab { width: 52px; height: 52px; right: 12px; bottom: 12px; }
  .wa-fab svg { width: 28px; height: 28px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .programs, .joy-grid, .mini-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
  .feat { border-right: none; border-bottom: 1px solid var(--line); }
  .feat:last-child { border-bottom: none; }
  .nav-cta { display: none; }
}

/* ============================================================
   Horizontal sliders (age groups / teachers) — swipe + arrows
   ============================================================ */
.slider { position: relative; }
/* desktop: side rails hold the arrows so they never overlap the big card */
@media (min-width: 901px) { .slider { padding: 0 64px; } }
.slider-track {
  display: flex; gap: 22px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scroll-padding-left: 2px;
  /* generous vertical padding + negative margin: shadows & hover-lift never clip */
  padding: 22px 2px 30px; margin: -14px 0 -16px; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { flex: 0 0 auto; scroll-snap-align: start; scroll-snap-stop: always; }
/* the whole slider fades in as one unit, so cards stay visible even off-screen */
.slider-track .reveal { opacity: 1 !important; transform: none !important; }
/* one big card fills the viewport; the next is flipped in one at a time */
.programs.slider-track > .prog   { flex-basis: 100%; }
.team-grid.slider-track > .tcard { flex-basis: 100%; }

/* reviews: portrait review images shown several at a time (one on phones) */
.rev-card { margin: 0; width: clamp(230px, 24vw, 300px); }
.rev-card img { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: var(--shadow); background: var(--card); }
@media (max-width: 900px) { .rev-card { width: min(76vw, 300px); } }
@media (min-width: 901px) { .rev-card img { cursor: zoom-in; } }

/* documents: same carousel, but a more formal / official presentation */
.docs-sec { background: var(--cream-2); padding: clamp(42px, 6vw, 74px) 0 !important; }
.docs-eyebrow { color: var(--ink-soft); background: var(--card); border: 1px solid var(--line-2); }
.docs-eyebrow .ic { width: 16px; height: 16px; color: #5c8a3f; }
.doc-card { margin: 0; width: clamp(230px, 24vw, 300px); }
.doc-card img { width: 100%; height: auto; display: block; border: 1px solid var(--line-2); border-radius: 8px; box-shadow: var(--shadow-sm); background: #fff; }
@media (max-width: 900px) { .doc-card { width: min(76vw, 300px); } }
@media (min-width: 901px) { .doc-card img { cursor: zoom-in; } }

/* click a review to view it larger in a floating window (desktop) */
.rev-lightbox {
  position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 24px;
  background: rgba(30,24,18,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), visibility .22s var(--ease);
}
.rev-lightbox.open { opacity: 1; visibility: visible; }
.rev-lightbox img {
  max-width: min(92vw, 560px); max-height: 92vh; width: auto; height: auto;
  border-radius: 20px; box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .22s var(--ease);
}
.rev-lightbox.open img { transform: scale(1); }
.rev-lightbox-x {
  position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: none; font-size: 26px; line-height: 1; color: var(--ink);
  cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow);
}
.rev-lightbox-x:hover { background: var(--cream); }
@media (prefers-reduced-motion: reduce) { .rev-lightbox, .rev-lightbox img { transition: none; } }

.slider-nav {
  position: absolute; top: calc(50% - 10px); transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: 50%;
  /* solid control with a clear ring + shadow so it reads as a button and text
     behind it never bleeds through */
  background: #fff;
  border: 1px solid rgba(44,39,35,.14);
  box-shadow: 0 6px 20px -6px rgba(44,39,35,.4), 0 1px 3px rgba(44,39,35,.18);
  display: grid; place-items: center; color: var(--ink); cursor: pointer;
  transition: opacity .25s var(--ease), box-shadow .2s, transform .15s, background .2s;
}
.slider-nav:hover { background: var(--cream); box-shadow: 0 10px 26px -8px rgba(44,39,35,.48), 0 1px 3px rgba(44,39,35,.2); }
.slider-nav:active { transform: translateY(-50%) scale(.94); }
.slider-nav svg { width: 22px; height: 22px; }
.slider-nav.prev { left: 5px; }
.slider-nav.next { right: 5px; }
.slider-nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
  /* sit the arrows on the card photo (not centered over the text below it) */
  .slider-nav { width: 40px; height: 40px; top: 120px; }
  .slider-nav.prev { left: 3px; }
  .slider-nav.next { right: 3px; }
  /* mobile: one card per view, a small consistent sliver of the next peeks */
  .programs.slider-track > .prog   { flex-basis: min(88vw, 420px); }
  .team-grid.slider-track > .tcard { flex-basis: min(88vw, 420px); }
}

/* ---- desktop: the big card is laid out horizontally (image ↔ text) ---- */
@media (min-width: 901px) {
  .programs.slider-track > .prog {
    flex-direction: row; align-items: stretch; min-height: 380px;
  }
  .programs.slider-track > .prog .prog-img {
    width: 46%; flex-shrink: 0; aspect-ratio: auto; align-self: stretch;
  }
  .programs.slider-track > .prog .prog-body {
    padding: 44px 208px 40px 48px; justify-content: center;   /* reserve right column for the mascot */
  }
  .programs.slider-track > .prog .prog-char { right: 30px; bottom: 6px; max-height: 226px; max-width: 164px; }
  .programs.slider-track > .prog .prog-body h3 { font-size: 30px; }
  .programs.slider-track > .prog .prog-age { font-size: 16px; margin: 6px 0 14px; }
  .programs.slider-track > .prog .prog-lead { font-size: 19px; max-width: 46ch; }
  .programs.slider-track > .prog .prog-desc { font-size: 17px; max-width: 46ch; }
  .programs.slider-track > .prog ul {
    grid-template-columns: 1fr; gap: 9px; margin-bottom: 24px; max-width: none;
  }
  .programs.slider-track > .prog ul li { font-size: 15px; }
  .programs.slider-track > .prog .btn { width: auto; align-self: flex-start; padding-inline: 30px; }

  .team-grid.slider-track > .tcard {
    flex-direction: row; align-items: stretch; height: 400px;
  }
  .team-grid.slider-track > .tcard .tcard-photo { width: 42%; flex-shrink: 0; position: relative; }
  .team-grid.slider-track > .tcard .tcard-photo img {
    position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: center 22%;
  }
  .team-grid.slider-track > .tcard .tcard-body { padding: 40px 46px; justify-content: center; }
  .team-grid.slider-track > .tcard .tcard-body h3 { font-size: 26px; }
  .team-grid.slider-track > .tcard .tags { margin: 14px 0 16px; }
  .team-grid.slider-track > .tcard .tag { font-size: 13px; padding: 6px 14px; }
  .team-grid.slider-track > .tcard .tcard-body p { font-size: 16px; line-height: 1.6; max-width: 52ch; margin-bottom: 22px; }
}

/* ============================================================
   Floating WhatsApp contact
   ============================================================ */
.wa-fab {
  position: fixed; right: clamp(16px, 3vw, 26px); bottom: clamp(16px, 3vw, 26px); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.55), 0 4px 10px rgba(0,0,0,.12);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-fab svg { width: 32px; height: 32px; }
/* hide the FAB while the hero CTA is on screen so it never overlaps the "Book a visit" button */
.wa-fab.fab-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.7); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.wa-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 34px -8px rgba(37,211,102,.65); }
.wa-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-fab::after { animation: none; } }

/* ---- cookie consent banner ---- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 150%);
  z-index: 150; width: min(680px, calc(100% - 24px));
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 15px 20px;
  opacity: 0; transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.cookie-banner.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-text { margin: 0; flex: 1; min-width: 200px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.cookie-more { color: var(--purple-d); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 11px 22px; font-size: 14.5px; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; bottom: 12px; gap: 12px; }
  .cookie-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: opacity .2s; transform: translate(-50%, 0); } }

/* ============================================================
   Booking modal
   ============================================================ */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-overlay {
  position: absolute; inset: 0; background: rgba(30,24,18,.5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.modal.open .modal-overlay { opacity: 1; }
.modal-card {
  position: relative; z-index: 1; width: min(500px, calc(100% - 32px));
  max-height: calc(100dvh - 40px); overflow-y: auto;
  margin: max(20px, 5vh) auto; background: var(--card);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 36px);
  transform: translateY(16px) scale(.98); opacity: 0;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-x {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--cream-2); border: none; display: grid; place-items: center; color: var(--ink);
  transition: background .2s;
}
.modal-x:hover { background: var(--line); }
.modal-x svg { width: 18px; height: 18px; }
.modal-card h3 { font-family: var(--font); font-weight: 600; font-size: 22px; color: var(--ink); margin: 0 40px 6px 0; }
.modal-sub { font-size: 14.5px; color: var(--muted); margin: 0 0 20px; }
/* phones: tighten the booking modal so the whole form fits without scrolling */
@media (max-width: 600px) {
  .modal-card { padding: 20px 18px; }
  .modal-card h3 { font-size: 20px; }
  .modal-card .modal-sub { margin-bottom: 14px; }
  .modal-card .field { margin-top: 8px; }
  .modal-card .field input, .modal-card .field select, .modal-card .field textarea { padding: 12px 15px; border-radius: 12px; }
  .modal-card .field textarea { min-height: 58px; }
  .modal-card .child-row { margin-bottom: 11px; }
  .modal-card .contact-hint { margin: 2px 0 8px; }
  .modal-card .form-card .btn { margin-top: 2px; }
}

/* ---- promo: "Current offers" button + offers window ---- */
.promo-cta { display: flex; justify-content: center; }
.btn-offers, .btn-offers:hover { color: var(--ink); }
.offers-card { width: min(460px, calc(100% - 32px)); }
.offers-eyebrow {
  display: inline-block; font-family: var(--font); font-weight: 700; font-size: 12px;
  letter-spacing: .5px; text-transform: uppercase; color: var(--orange);
  background: var(--t-yellow); padding: 5px 12px; border-radius: 100px; margin-bottom: 12px;
}
.offers-list { list-style: none; margin: 4px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.offer { display: flex; align-items: flex-start; gap: 14px; }
.offer-ic {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, currentColor 14%, var(--card));
}
.offer-ic svg { width: 24px; height: 24px; }
.offer > div { min-width: 0; }
.offer b { display: block; font-family: var(--font); font-weight: 600; font-size: 15.5px; color: var(--ink); margin-bottom: 2px; }
.offer > div > span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }
.offers-book { width: 100%; margin-top: 2px; }
.offers-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* per-child rows: name over its own group (full width so long names fit); age auto-written by the group */
.child-row { position: relative; display: grid; grid-template-columns: 1fr; gap: 9px; margin-bottom: 18px; }
.child-group { position: relative; }
.child-group select.c-group {
  padding-right: 88px;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23A79B8C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.c-age {
  position: absolute; right: 38px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-weight: 700; font-size: 14px; pointer-events: none; white-space: nowrap;
}
.child-remove {
  position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line-2); color: var(--muted);
  display: grid; place-items: center; font-size: 17px; line-height: 1; box-shadow: var(--shadow-sm); z-index: 2;
  transition: color .2s, border-color .2s;
}
.child-remove:hover { color: var(--coral); border-color: var(--coral); }
.child-remove[hidden] { display: none; }
.add-child {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 16px;
  background: none; border: 1.5px dashed var(--line-2); color: var(--purple-d);
  font-family: var(--font); font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 100px;
  transition: border-color .2s, background .2s, color .2s;
}
.add-child svg { width: 16px; height: 16px; }
.add-child:hover { border-color: var(--purple); background: var(--t-lav); }
.field-error { font-size: 11px; font-weight: 600; color: #C9372C; margin-top: 8px; }
.field-error[hidden] { display: none; }
.contact-hint { font-size: 12.5px; color: var(--muted); margin: 0 2px; }
.field-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 0 0 5px 2px; }
.field-extra { position: absolute; width: 0; height: 0; margin: 0; padding: 0; overflow: hidden; opacity: 0; pointer-events: none; z-index: -1; }
.form-error { display: none; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--coral); }
.form-error:not([hidden]) { display: block; }
.wa-fallback { width: 100%; margin-top: 10px; gap: 9px; color: #12894a; border-color: #bfe9cd; }
.wa-fallback[hidden] { display: none; }
.wa-fallback:hover { border-color: #25D366; background: #eafaf0; }
.wa-fallback svg { width: 20px; height: 20px; }

/* ============================================================
   Hero photo — big image bleeding right with a soft cream gradient
   (desktop); stacked soft-rounded image on mobile
   ============================================================ */
.hero-photo { display: none; }
.hero-media .ring { display: none; }                 /* unify to one soft-rounded shape */
.hero-media .blob { border-radius: var(--radius-lg); aspect-ratio: 4 / 3.1; }
@media (min-width: 861px) {
  .hero { padding-top: calc(var(--nav-h) + 14px); padding-bottom: 30px; }
  /* big image bleeds the full hero height; strong cream gradient keeps the text side solid */
  .hero-photo { display: block; position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: 0; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
  .hero-photo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(90deg, var(--cream) 0%, var(--cream) 17%, rgba(251,247,240,.5) 45%, rgba(251,247,240,0) 78%),
      linear-gradient(0deg,  var(--cream) 0%, rgba(251,247,240,0) 12%);
  }
  .hero .container { position: relative; z-index: 1; }
  /* the feature strip is an opaque card that overlaps the lower part of the photo */
  .hero-grid { grid-template-columns: 1fr; align-items: start; min-height: 38vh; }
  .hero-inner { max-width: 560px; align-self: start; }
  .hero-media { display: none; }
  .hero .doodle { z-index: 2; }                        /* keep left-side doodles above the photo */
}


/* doodles removed per request — hide all hand-drawn PNG doodles everywhere */
.doodle, .prog-doodle, img.doodle-art { display: none !important; }

/* ============================================================
   Large screens (1600px → 2K/4K): let the layout breathe so the
   content doesn't sit as a narrow, "compressed" column in the middle
   ============================================================ */
@media (min-width: 1600px) {
  :root { --maxw: 1460px; }
  .hero-inner { max-width: 600px; }
}
@media (min-width: 1920px) {
  :root { --maxw: 1600px; }
  .hero-inner { max-width: 640px; }
  .hero h1 { font-size: 51px; }
  .hero-lead { font-size: 22.1px; }
  .section-title { font-size: 39.1px; }
  body { font-size: 17px; }
}
@media (min-width: 2400px) {
  :root { --maxw: 1760px; }
  .hero-inner { max-width: 700px; }
  .hero h1 { font-size: 57.8px; }
  body { font-size: 18px; }
}

/* ============================================================
   GROUP LANDING PAGES (group.html) — per-group accent via --ga
   ============================================================ */
.gp-body { padding-top: 70px; }
#gp { --ga: var(--pink); --gas: var(--t-pink); --gad: #d1567f; }
.btn-book { background: var(--ga); color: #fff; box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--ga) 65%, transparent); }
.btn-book:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px color-mix(in srgb, var(--ga) 75%, transparent); color: #fff; }

.gp-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); padding-top: 22px; }
.gp-crumbs a:hover { color: var(--ga); }
.gp-crumbs b { color: var(--ink); font-weight: 700; }
.gp-crumbs span { color: var(--muted-2); }

/* hero */
.gp-hero { padding: 24px 0 40px; }
.gp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.gp-hero-text .gp-badge { position: static; inset: auto; width: auto; height: auto; display: inline-block; place-items: initial; box-shadow: none; font-weight: 700; font-size: 13px; color: var(--gad); background: var(--gas); padding: 7px 15px; border-radius: 100px; margin-bottom: 16px; }
.gp-title { font-family: var(--font); font-weight: 700; font-size: clamp(34px, 5.1vw, 62.9px); color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.gp-sub { font-family: var(--font); font-weight: 600; font-size: clamp(20px, 2.4vw, 27px); color: var(--ga); margin: 12px 0 18px; line-height: 1.2; }
.gp-intro { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 0 26px; }
.gp-hero-photo img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.gp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.gp-stat { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gp-stat-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--gas); color: var(--gad); display: grid; place-items: center; margin-bottom: 8px; }
.gp-stat-ic svg { width: 26px; height: 26px; }
.gp-stat b { font-family: var(--font); font-weight: 700; font-size: 18px; color: var(--ink); }
.gp-stat span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }

/* reasons */
.gp-reasons { background: var(--card-2); }
.gp-reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 8px; }
.gp-reason { text-align: center; padding: 0 8px; }
.gp-reason-ic { width: 66px; height: 66px; border-radius: 50%; background: var(--gas); color: var(--ga); display: grid; place-items: center; margin: 0 auto 16px; }
.gp-reason-ic svg { width: 30px; height: 30px; }
.gp-reason h3 { font-family: var(--font); font-weight: 600; font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.gp-reason p { color: var(--muted); font-size: 15px; }

/* language tracks (Preschool) */
.gp-tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 8px; }
.gp-track { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px 26px; border-top: 4px solid var(--ga); }
.gp-track-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--gas); color: var(--gad); display: grid; place-items: center; margin-bottom: 16px; }
.gp-track-ic svg { width: 26px; height: 26px; }
.gp-track h3 { font-family: var(--font); font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 14px; }
.gp-track ul { list-style: none; margin: 0; padding: 0; }
.gp-track ul li { position: relative; padding-left: 24px; margin-bottom: 11px; font-size: 15px; color: var(--ink-soft); line-height: 1.4; }
.gp-track ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--ga); }

/* schedule + program */
.gp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gp-two.single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.gp-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px 30px 26px; }
.gp-panel > h3 { font-family: var(--font); font-weight: 600; font-size: 21px; color: var(--ink); margin-bottom: 18px; }
.gp-sched ul, .gp-prog ul { list-style: none; margin: 0; padding: 0; }
.gp-sched li { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.gp-sched li:last-child { border-bottom: none; }
.gp-sc-ic { width: 30px; height: 30px; color: var(--ga); }
.gp-sc-ic svg { width: 20px; height: 20px; }
.gp-time { font-family: var(--font); font-weight: 700; font-size: 14px; color: var(--gad); white-space: nowrap; }
.gp-sc-l { font-size: 15px; color: var(--ink-soft); }
.gp-note-sm { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.gp-prog ul li { position: relative; padding-left: 26px; margin-bottom: 14px; font-size: 15.5px; color: var(--ink-soft); }
.gp-prog ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--ga); }
.gp-diary { display: flex; gap: 14px; align-items: flex-start; background: var(--gas); border-radius: var(--radius); padding: 18px 20px; margin-top: 8px; }
.gp-diary-ic { width: 30px; height: 30px; color: var(--gad); flex-shrink: 0; }
.gp-diary p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

/* activities */
.gp-acts-sec { background: var(--card-2); }
.gp-acts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 8px; }
.gp-act { text-align: center; }
.gp-act-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--gas); color: var(--ga); display: grid; place-items: center; margin: 0 auto 14px; }
.gp-act-ic svg { width: 32px; height: 32px; }
.gp-act h4 { font-family: var(--font); font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 5px; }
.gp-act p { color: var(--muted); font-size: 13.5px; line-height: 1.4; }

/* advantages */
.gp-advs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; background: var(--gas); border-radius: var(--radius-lg); padding: 30px 24px; }
.gp-advi { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gp-advi-ic { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ga); display: grid; place-items: center; }
.gp-advi-ic svg { width: 24px; height: 24px; }
.gp-advi p { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); line-height: 1.4; }

/* CTA band */
.gp-cta { }
.gp-cta-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--gas); border-radius: var(--radius-xl); padding: clamp(30px, 4vw, 54px); }
.gp-cta-text h2 { font-family: var(--font); font-weight: 700; font-size: clamp(22.1px, 2.9vw, 35.7px); color: var(--ink); line-height: 1.1; }
.gp-cta-text p { color: var(--ink-soft); font-size: 17px; margin: 14px 0 24px; }
.gp-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.gp-cta-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* popular questions about the group */
.gp-faq-sec { background: var(--card-2); }
.gp-faq { max-width: 720px; margin: 8px auto 0; display: flex; flex-direction: column; gap: 12px; }
.gp-qa { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.gp-qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-family: var(--font); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.gp-qa summary::-webkit-details-marker { display: none; }
.gp-qa summary > span:first-child { flex: 1; }
.gp-qa-ic { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--gas); color: var(--ga); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s, color .3s; }
.gp-qa-ic svg { width: 18px; height: 18px; }
.gp-qa[open] .gp-qa-ic { transform: rotate(180deg); background: var(--ga); color: #fff; }
.gp-qa[open] { border-color: color-mix(in srgb, var(--ga) 30%, var(--line)); }
.gp-qa-a { padding: 0 20px 18px; }
.gp-qa-a p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

@media (max-width: 980px) {
  .gp-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .gp-hero-photo { order: -1; max-width: 460px; }
  .gp-reason-grid { grid-template-columns: 1fr; gap: 24px; max-width: 460px; margin: 8px auto 0; }
  .gp-two { grid-template-columns: 1fr; }
  .gp-tracks { grid-template-columns: 1fr; max-width: 460px; margin: 8px auto 0; }
  .gp-acts { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .gp-advs { grid-template-columns: repeat(2, 1fr); }
  .gp-cta-in { grid-template-columns: 1fr; }
  .gp-cta-photo { order: -1; max-width: 460px; }
  /* keep the CTA card inside the same side gutter as every other block
     (its own padding otherwise overrides the container gutter → edge-to-edge) */
  .gp-cta { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 520px) {
  .gp-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
  .gp-acts { grid-template-columns: 1fr 1fr; }
  .gp-advs { grid-template-columns: 1fr; }
  .gp-panel { padding: 24px 20px; }
}

/* hero SEO tagline (small eyebrow above the H1) */
.hero-tag { margin-bottom: 14px; }
