/* =========================================================
   Little Einstein: the logo as a sticker sheet
   Display: M PLUS Rounded 1c 800 (chunky, rounded, full Greek)
   Body: Ysabeau Infant (single-storey a and g, the letters children learn to write)
   Signature shapes: die-cut sticker (colour, white border, charcoal outline, hard drop)
   and the scalloped "Einstein hair" cloud.
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "M PLUS Rounded 1c"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/mplus-rounded-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "M PLUS Rounded 1c"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/mplus-rounded-greek-800.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Ysabeau Infant"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url("fonts/ysabeau-infant-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ysabeau Infant"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url("fonts/ysabeau-infant-greek-wght.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* ---------- Tokens (colours sampled from the logo) ---------- */
:root {
  --cyan: #08A5D1;      /* brand background */
  --blue: #038FCF;      /* the "E" */
  --sky: #3EBAEE;       /* the "i" */
  --pink: #E4067D;      /* "Little" */
  --orange: #F47721;
  --green: #8AC013;
  --yellow: #F9CB10;
  --purple: #922187;    /* the "t" */
  --ink: #292929;       /* the sticker outline */
  --cream: #FFF9EF;
  --white: #FFFFFF;
  --muted: #555049;
  --error: #B0005E;
  --tbc: #FFEFA3;

  --display: "M PLUS Rounded 1c", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Ysabeau Infant", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --line: 3px;                          /* outline weight, as in the logo */
  --drop: 4px 5px 0 var(--ink);         /* the logo's hard shadow */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pop: cubic-bezier(.2, 1.5, .4, 1);
  --header-h: 72px;
}
@media (min-width: 960px) { :root { --header-h: 84px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  font-weight: 480;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .btn { font-family: var(--display); font-weight: 800; font-synthesis: none; }
h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: 1.375rem; line-height: 1.25; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); padding: .6rem 1rem; border: var(--line) solid var(--ink); border-radius: 12px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }

/* Placeholders that still need real information */
.tbc { background: var(--tbc); box-shadow: 0 0 0 2px var(--tbc); border-radius: 4px; text-decoration-style: dashed; }
.tbc-note {
  display: inline-block; font-family: var(--body); font-weight: 700; font-size: .75rem; line-height: 1.4;
  padding: 0 .45em; border: 1.5px dashed #8A6D00; border-radius: 6px; color: #6B5600; background: var(--tbc);
  vertical-align: middle; letter-spacing: 0;
}

/* ---------- Icons ---------- */
.ico, .doodle, .btn-ico, .dock-call svg { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.ico .fill, .doodle .fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .75rem 1.35rem;
  font-size: 1.05rem; line-height: 1.2; text-align: center; text-decoration: none;
  color: var(--ink); background: var(--white);
  border: var(--line) solid var(--ink); border-radius: 16px;
  box-shadow: var(--drop);
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
}
.btn:hover { transform: translate(-1px, -2px) rotate(-1deg); box-shadow: 6px 8px 0 var(--ink); }
.btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn-sun { background: var(--yellow); }
.btn-sun:hover { background: #FFD83A; }
.btn-paper { background: var(--white); }
.btn-paper:hover { background: var(--cream); }
.btn-lg { min-height: 60px; padding: .95rem 1.7rem; font-size: 1.15rem; }
.btn-sm { min-height: 44px; padding: .5rem 1rem; font-size: .95rem; border-radius: 13px; box-shadow: 3px 4px 0 var(--ink); }
.btn-block { width: 100%; }
.btn-ico { width: 22px; height: 22px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.1rem; }

.text-link {
  font-weight: 750; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px;
  text-decoration-color: var(--accent, var(--cyan));
}
.text-link:hover { text-decoration-color: var(--ink); }

/* ---------- Sticker lettering (how the logo's letters are built) ---------- */
.sticker-type .w {
  display: inline-block;
  color: var(--c);
  -webkit-text-stroke: .2em var(--white);
  paint-order: stroke fill;
  filter:
    drop-shadow(.028em 0 0 var(--ink)) drop-shadow(-.028em 0 0 var(--ink))
    drop-shadow(0 .028em 0 var(--ink)) drop-shadow(0 -.028em 0 var(--ink))
    drop-shadow(.05em .06em 0 var(--ink));
  transform: rotate(var(--r, 0deg));
  margin-right: .06em;
}
.sticker-type .w:nth-child(4n+1) { --r: -2deg; }
.sticker-type .w:nth-child(4n+2) { --r: 1.5deg; }
.sticker-type .w:nth-child(4n+3) { --r: -.5deg; }
.sticker-type .w:nth-child(4n+4) { --r: 2deg; }

/* Small die-cut labels */
.tag {
  position: absolute; z-index: 3;
  font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1.2;
  padding: .45rem .85rem; border: var(--line) solid var(--ink); border-radius: 14px;
  box-shadow: 0 0 0 5px var(--white), 3px 4px 0 5px var(--ink);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: var(--line) solid var(--ink);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 0 rgba(41, 41, 41, .12); }
.header-inner {
  width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: block; flex: none; border-radius: 10px; }
.brand img { width: 132px; height: auto; }
@media (min-width: 960px) { .brand img { width: 168px; } }

.nav-list a {
  text-decoration: none; font-weight: 750; font-size: 1.05rem;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 88% / 0 .38em no-repeat;
  transition: background-size .25s var(--ease);
}
.nav-list a:hover { background-size: 100% .38em; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 46px; padding: .4rem .85rem;
  background: var(--cream); border: var(--line) solid var(--ink); border-radius: 14px;
  font-weight: 750; cursor: pointer;
}
.menu-bars { display: grid; gap: 4px; width: 20px; }
.menu-bars span { display: block; height: 3px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1179px) {
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: var(--line) solid var(--ink);
    padding: .75rem var(--gutter) 1.5rem;
    display: grid; gap: 1rem;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list li + li { border-top: 2px dashed rgba(41, 41, 41, .18); }
  .nav-list a { display: block; padding: .8rem 0; font-size: 1.2rem; background: none; }
  .nav-cta { justify-self: start; }
}
@media (min-width: 1180px) {
  .menu-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 2rem; }
  .nav-list { display: flex; gap: 1.6rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 2;
  background: var(--cyan);
  padding: clamp(40px, 6vw, 88px) 0 clamp(88px, 9vw, 120px);
}
/* Einstein-hair scallops along the bottom edge */
.hero::after, .enrol::before, .meet::before {
  content: ""; position: absolute; left: 0; right: 0; height: 22px;
  background-size: 44px 22px; background-repeat: repeat-x; pointer-events: none;
}
.hero::after { top: calc(100% - 1px); background-image: radial-gradient(circle at 50% 0, var(--cyan) 21px, transparent 22px); }

.hero-inner {
  position: relative; z-index: 1;
  width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto;
  display: grid; gap: clamp(40px, 6vw, 64px); align-items: center;
}
@media (min-width: 960px) { .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }

.hero-title { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.6rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: clamp(20px, 3vw, 32px); }
.hero-lead { max-width: 34em; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 620; line-height: 1.5; margin-bottom: clamp(24px, 3vw, 36px); }

.hero-visual { position: relative; width: min(100%, 520px); justify-self: center; margin-bottom: 24px; }
@media (min-width: 960px) { .hero-visual { justify-self: end; } }

/* Scalloped photo frame with a white sticker border and charcoal outline */
.cloud-frame {
  position: relative; aspect-ratio: 1;
  filter:
    drop-shadow(3px 0 0 var(--ink)) drop-shadow(-3px 0 0 var(--ink))
    drop-shadow(0 3px 0 var(--ink)) drop-shadow(0 -3px 0 var(--ink))
    drop-shadow(7px 9px 0 var(--ink));
}
.cloud-frame::before { content: ""; position: absolute; inset: 0; background: var(--white); clip-path: url(#cloud); }
.cloud-frame .cloud-photo { position: absolute; inset: 4.5%; clip-path: url(#cloud); }

.tag-hello { top: 9%; left: -2%; background: var(--pink); color: var(--white); transform: rotate(-9deg); font-size: 1.15rem; }
.tag-hello::after {
  content: ""; position: absolute; left: 22px; bottom: -13px; width: 18px; height: 18px;
  background: var(--pink); border-right: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink);
  transform: rotate(45deg) skew(10deg, 10deg);
}
.tag-place { right: 0; bottom: 12%; background: var(--yellow); transform: rotate(5deg); }

.hero-mascot { position: absolute; z-index: 4; left: -6%; bottom: -10%; width: clamp(110px, 28%, 210px); }
.hero-mascot img { width: 100%; filter: drop-shadow(5px 6px 0 rgba(41, 41, 41, .9)); }
@media (max-width: 959px) {
  .hero-visual { width: min(100% - 24px, 400px); }
  .hero-mascot { left: -4%; bottom: -8%; }
}

/* Chalk doodles: science and school, drawn white over the cyan */
.hero-doodles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: var(--white); }
.doodle { position: absolute; opacity: .5; }
.hero-doodles .d1 { width: 76px; height: 76px; left: 3%; top: 6%; transform: rotate(-12deg); }
.hero-doodles .d2 { width: 46px; height: 46px; left: 47%; top: 4%; }
.hero-doodles .d3 { width: 62px; height: 62px; right: 4%; top: 2%; transform: rotate(12deg); }
.hero-doodles .d4 { width: 58px; height: 58px; left: 50%; bottom: 14%; }
.hero-doodles .d7 { width: 70px; height: 70px; right: 6%; top: 12%; transform: rotate(8deg); }
.hero-doodles .emc, .hero-doodles .abc { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: transparent; -webkit-text-stroke: 1.6px var(--white); }
.hero-doodles .d5 { left: 4%; bottom: 10%; transform: rotate(-8deg); }
.hero-doodles .d6 { right: 40%; bottom: 6%; transform: rotate(10deg); font-size: 2rem; }
@media (max-width: 959px) {
  .hero-doodles .d2, .hero-doodles .d5, .hero-doodles .d6 { display: none; }
  .hero-doodles .d1 { width: 52px; height: 52px; left: auto; right: 4%; top: 2%; }
  .hero-doodles .d3 { display: none; }
  .hero-doodles .d4 { left: 6%; bottom: 3%; width: 40px; height: 40px; }
}

/* The one orchestrated moment: the headline sticks on word by word, then Einstein pops up */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .w { animation: stick .55s var(--pop) both; }
  .hero-title .w:nth-child(1) { animation-delay: .10s; }
  .hero-title .w:nth-child(2) { animation-delay: .18s; }
  .hero-title .w:nth-child(3) { animation-delay: .26s; }
  .hero-title .w:nth-child(4) { animation-delay: .34s; }
  .hero-title .w:nth-child(5) { animation-delay: .42s; }
  .hero-title .w:nth-child(6) { animation-delay: .50s; }
  .hero-title .w:nth-child(7) { animation-delay: .58s; }
  .hero-mascot { animation: peek .7s var(--pop) .85s both; transform-origin: 50% 100%; }
  .hero-doodles .d2, .hero-doodles .d4 { animation: twinkle 5s ease-in-out infinite; }
  .hero-doodles .d4 { animation-delay: -2.5s; }
}
@keyframes stick {
  from { opacity: 0; transform: translateY(.25em) scale(1.3) rotate(calc(var(--r) * -3)); }
  to { opacity: 1; transform: rotate(var(--r)); }
}
@keyframes peek {
  from { opacity: 0; transform: translateY(35%) rotate(-10deg); }
  to { opacity: 1; transform: none; }
}
@keyframes twinkle { 50% { transform: scale(.8) rotate(18deg); opacity: .3; } }

/* ---------- Highlights ---------- */
.highlights { position: relative; z-index: 3; margin-top: -40px; padding-inline: var(--gutter); }
.highlight-list {
  width: min(100%, 1120px); margin-inline: auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
@media (min-width: 900px) { .highlight-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.highlight {
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1rem .8rem .8rem;
  background: var(--white); border: var(--line) solid var(--ink); border-radius: 18px; box-shadow: var(--drop);
  font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1.25;
}
.highlight:nth-child(odd) { transform: rotate(-1.2deg); }
.highlight:nth-child(even) { transform: rotate(1deg); }
.highlight .ico { flex: none; width: 46px; height: 46px; padding: 7px; background: var(--accent); border: 2.5px solid var(--ink); border-radius: 50%; stroke-width: 3.6; }
@media (max-width: 480px) {
  .highlight { gap: .55rem; padding: .6rem .7rem .6rem .55rem; font-size: .92rem; border-radius: 14px; }
  .highlight .ico { width: 38px; height: 38px; padding: 5px; }
}

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 + p { margin-top: 1rem; font-size: 1.2rem; max-width: 40em; }
.section-head.on-dark { color: var(--white); }

/* ---------- Programs: a staircase, one step per level ---------- */
.programs { padding: var(--section) 0; background: var(--cream); }
.course-steps { display: grid; gap: 28px; align-items: start; }
@media (min-width: 640px) and (max-width: 1079px) { .course-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .course-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .course:nth-child(1) { margin-top: 120px; }
  .course:nth-child(2) { margin-top: 80px; }
  .course:nth-child(3) { margin-top: 40px; }
}

.course {
  position: relative;
  background: var(--white); border: var(--line) solid var(--ink);
  border-radius: 28px 28px 28px 10px;
  box-shadow: 7px 8px 0 var(--accent), 7px 8px 0 var(--line) var(--ink);
  transition: transform .25s var(--ease);
}
.course:nth-child(2) { border-radius: 10px 28px 28px 28px; }
.course:nth-child(3) { border-radius: 28px 10px 28px 28px; }
.course:nth-child(4) { border-radius: 28px 28px 10px 28px; }
.course:hover { transform: translateY(-4px) rotate(-.6deg); }
.course-art {
  background: var(--accent); border-bottom: var(--line) solid var(--ink);
  border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  padding: 18px 18px 26px;
}
.course .art { display: block; width: min(100%, 220px, 46vw); margin-inline: auto; height: auto; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.course .art text { font-family: var(--display); font-weight: 800; font-size: 30px; fill: var(--ink); stroke: none; }
.course .art text.say { font-size: 26px; }
.course .art .lines { stroke-width: 2.6; opacity: .55; }
.course .art .dot { fill: var(--ink); stroke: none; }
.course .art .art-doodle { fill: var(--white); stroke: var(--ink); }
.course .art .block { transition: transform .35s var(--pop); transform-box: fill-box; transform-origin: center; }
.course-body { padding: 0 22px 24px; display: grid; gap: .65rem; justify-items: start; }
.level {
  margin-top: -18px; position: relative;
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  padding: .3rem .7rem; background: var(--white); border: 2.5px solid var(--ink); border-radius: 10px;
  font-weight: 800; font-size: .95rem; transform: rotate(-2.5deg);
}
.course h3 { font-size: 1.6rem; color: var(--accent-ink); margin-top: .2rem; }
.course-body > p { font-size: 1.05rem; }

.more {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: .3rem;
  padding: .3rem 0; background: none; border: 0; cursor: pointer;
  font-weight: 800; font-size: 1.05rem; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--accent);
}
.more::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid var(--ink); background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 3px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 3px 12px no-repeat,
    var(--accent);
  transition: transform .25s var(--ease);
}
.more[aria-expanded="true"]::before { transform: rotate(45deg); }
.more-panel { width: 100%; padding-top: .4rem; border-top: 2px dashed rgba(41, 41, 41, .25); display: grid; gap: .8rem; }
.more-panel:not([hidden]) { animation: open .25s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
.facts { display: grid; gap: .5rem; font-size: 1rem; }
.facts dt { font-weight: 800; font-size: .9rem; color: var(--muted); }

/* ---------- Why ---------- */
.why { padding: var(--section) 0; background: var(--white); }
.why-grid { display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.why-visual { position: relative; width: min(100% - 16px, 460px); justify-self: center; }
.sticker-photo {
  aspect-ratio: 4 / 5; border-radius: 30px;
  border: 12px solid var(--white); outline: var(--line) solid var(--ink);
  box-shadow: 10px 12px 0 var(--yellow), 10px 12px 0 var(--line) var(--ink);
  transform: rotate(-2deg);
}
.tag-why { right: -10px; top: 8%; background: var(--green); transform: rotate(6deg); font-size: 1.15rem; }
.why-lead { font-size: 1.25rem; margin: 1.1rem 0 clamp(32px, 4vw, 48px); max-width: 36em; }
.benefits { display: grid; gap: 28px 32px; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.benefits li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.benefits .ico {
  width: 58px; height: 58px; padding: 10px; background: var(--accent);
  border: var(--line) solid var(--ink); border-radius: 46% 54% 50% 50% / 55% 48% 52% 45%;
  box-shadow: 3px 4px 0 var(--ink);
}
.benefits li:nth-child(even) .ico { border-radius: 55% 45% 48% 52% / 46% 55% 45% 54%; }
.benefits h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.benefits p { font-size: 1.05rem; color: #3b3835; }

/* ---------- Photo placeholders ---------- */
.photo {
  position: relative; overflow: hidden; margin: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23292929' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='9' width='38' height='30' rx='6'/%3E%3Ccircle cx='17' cy='20' r='4'/%3E%3Cpath d='M6 35l11-10 8 7 6-5 11 9'/%3E%3C/svg%3E") center 40% / 56px no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, .55) 2px, transparent 2.5px) 0 0 / 18px 18px,
    color-mix(in srgb, var(--ph, var(--sky)) 45%, var(--white));
}
.photo::after {
  content: "Φωτογραφία: " attr(data-ph);
  position: absolute; left: 50%; top: calc(40% + 44px); transform: translateX(-50%);
  max-width: 86%; padding: .2rem .55rem; border-radius: 8px;
  background: var(--white); font-size: .8rem; font-weight: 700; line-height: 1.3; text-align: center;
}
.photo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Learning in action ---------- */
.action { position: relative; padding: var(--section) 0 calc(var(--section) + 24px); background: var(--purple); }
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
.shot { position: relative; transform: rotate(var(--tilt)); }
.shot .photo { border: 9px solid var(--white); outline: var(--line) solid var(--ink); border-radius: 20px; box-shadow: 8px 10px 0 var(--ink); aspect-ratio: 1; }
.s-speak, .s-teacher { grid-column: span 2; }
.s-speak .photo, .s-teacher .photo { aspect-ratio: 16 / 10; }
.caption {
  position: absolute; z-index: 2; left: 14px; bottom: -16px;
  padding: .3rem .75rem; background: var(--accent); color: var(--cap-ink, var(--ink));
  border: 2.5px solid var(--ink); border-radius: 12px; transform: rotate(-3deg);
  font-family: var(--display); font-weight: 800; font-size: .98rem;
}
.s-teacher .caption { --cap-ink: var(--white); }
@media (min-width: 900px) {
  .collage { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 44px 28px; }
  .s-speak { grid-column: 1 / 6; grid-row: 1 / 3; }
  .s-speak .photo { aspect-ratio: 3 / 4; }
  .s-read { grid-column: 6 / 13; }
  .s-read .photo { aspect-ratio: 16 / 10; }
  .s-games { grid-column: 6 / 9; }
  .s-team { grid-column: 9 / 13; }
  .s-teacher { grid-column: 3 / 11; }
  .s-teacher .photo { aspect-ratio: 21 / 9; }
  .photo::after { font-size: .85rem; }
}

/* ---------- Meet Einstein ---------- */
.meet { position: relative; padding: clamp(64px, 8vw, 104px) 0; background: var(--yellow); }
.meet::before { bottom: calc(100% - 1px); background-image: radial-gradient(circle at 50% 100%, var(--yellow) 21px, transparent 22px); }
.meet-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .meet-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; } }
.meet-mascot { width: min(64%, 330px); justify-self: center; transform: rotate(-4deg); }
.meet-mascot img { width: 100%; filter: drop-shadow(7px 8px 0 var(--ink)); }
.meet-bubble {
  position: relative;
  background: var(--white); border: var(--line) solid var(--ink); border-radius: 36px;
  box-shadow: 9px 10px 0 var(--ink);
  padding: clamp(26px, 4vw, 48px);
}
.meet-bubble::before {
  content: ""; position: absolute; width: 30px; height: 30px; background: var(--white);
  border-left: var(--line) solid var(--ink); border-top: var(--line) solid var(--ink);
  left: 50%; top: -17px; transform: translateX(-50%) rotate(45deg);
}
@media (min-width: 860px) {
  .meet-bubble::before { left: -17px; top: 46%; transform: rotate(-45deg); }
}
.meet-bubble h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); margin-bottom: 1rem; }
.meet-bubble p { font-size: 1.2rem; max-width: 36em; }
.words { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 1.6rem; }
.words li {
  font-family: var(--display); font-weight: 800; font-size: 1.15rem;
  padding: .35rem .85rem; background: var(--accent); border: 2.5px solid var(--ink); border-radius: 12px;
  box-shadow: 3px 4px 0 var(--ink); transform: rotate(var(--tilt));
}
.words li:first-child { color: var(--white); }

/* ---------- Testimonials ---------- */
.voices { padding: var(--section) 0 calc(var(--section) + 20px); background: var(--cream); }
.sample-banner {
  max-width: 760px; margin: -24px 0 40px; padding: .7rem 1rem;
  background: var(--tbc); border: 2px dashed #8A6D00; border-radius: 12px; font-size: 1rem;
}
.quotes { display: grid; gap: 40px 28px; }
@media (min-width: 900px) {
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .quote:nth-child(2) { margin-top: 48px; }
}
.quote {
  position: relative; padding: 46px 28px 26px;
  background: var(--white); border: 2px solid rgba(41, 41, 41, .2); border-radius: 26px;
}
.quote::before {
  content: "“"; position: absolute; left: 20px; top: -34px;
  font-family: var(--display); font-weight: 800; font-size: 6rem; line-height: 1; color: var(--accent);
  -webkit-text-stroke: 8px var(--white); paint-order: stroke fill;
}
.quote blockquote p { font-size: 1.22rem; line-height: 1.5; font-weight: 560; }
.who { margin-top: 1.1rem; font-weight: 800; font-size: .95rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }

/* ---------- Enrolment ---------- */
.enrol { position: relative; padding: clamp(72px, 9vw, 120px) 0; background: var(--cyan); }
.enrol::before { bottom: calc(100% - 1px); background-image: radial-gradient(circle at 50% 100%, var(--cyan) 21px, transparent 22px); }
.enrol-grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .enrol-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); } }
.enrol-title { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4rem); line-height: 1.14; margin-bottom: 1.2rem; }
.enrol-lead { font-size: 1.3rem; font-weight: 620; max-width: 32em; margin-bottom: 2rem; }
.enrol-mascot { width: min(90%, 260px); justify-self: center; transform: rotate(5deg); }
.enrol-mascot img { width: 100%; filter: drop-shadow(7px 8px 0 var(--ink)); }
@media (max-width: 899px) { .enrol-mascot { order: -1; width: 150px; justify-self: start; } }

/* ---------- Contact ---------- */
.contact { padding: var(--section) 0; background: var(--white); }
.contact-grid { display: grid; gap: clamp(48px, 6vw, 72px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.contact-info > p { font-size: 1.2rem; margin: 1rem 0 2rem; max-width: 30em; }
.info-list { display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.info-list li { display: flex; gap: .9rem; align-items: center; }
.info-list .ico { flex: none; width: 46px; height: 46px; padding: 8px; background: var(--accent); border: 2.5px solid var(--ink); border-radius: 50%; }
.info-list div { display: grid; }
.info-list .info-label { font-size: .9rem; font-weight: 800; color: var(--muted); }
.info-list a, .info-list span:not(.info-label) { font-size: 1.15rem; font-weight: 700; }
.info-list a:not(.tbc) { text-decoration-thickness: 2px; text-underline-offset: 4px; }

.map {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: var(--line) solid var(--ink); border-radius: 24px; background: #DDF2F9;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-art .road { fill: none; stroke: var(--white); stroke-width: 14; stroke-linecap: round; }
.map-art .road.thin { stroke-width: 8; }
.map-note {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: .6rem; width: max-content; max-width: 86%;
  padding: .6rem .9rem; background: var(--white); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 3px 4px 0 var(--ink);
  font-weight: 700; font-size: .98rem; line-height: 1.35;
}
.map-note .ico { flex: none; width: 30px; height: 30px; color: var(--pink); }

.form-card {
  position: relative;
  background: var(--white); border: var(--line) solid var(--ink); border-radius: 30px;
  box-shadow: 10px 12px 0 var(--cyan), 10px 12px 0 var(--line) var(--ink);
  padding: clamp(24px, 4vw, 40px);
}
.enquiry { display: grid; gap: 1.2rem; }
.form-title { font-size: 1.6rem; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.choice legend { font-weight: 800; margin-bottom: .5rem; padding: 0; }
.choice label {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .45rem .9rem .45rem .7rem; border: 2.5px solid var(--ink); border-radius: 12px; font-weight: 700;
  transition: background-color .15s;
}
.choice label:has(input:checked) { background: var(--yellow); }
.choice input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 800; }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .7rem .95rem;
  background: var(--cream); border: 2.5px solid var(--ink); border-radius: 14px;
  font-size: 1.1rem; font-weight: 550;
  transition: box-shadow .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; padding-right: 2.6rem;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292929' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 20px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--white); box-shadow: 0 0 0 4px var(--sky); }
.field [aria-invalid="true"] { border-color: var(--error); background-color: #FFF0F6; }
.hint { font-size: .95rem; color: var(--muted); }
.error { font-size: .98rem; font-weight: 750; color: var(--error); display: flex; gap: .4rem; align-items: center; }
.error::before { content: "!"; display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--error); color: var(--white); font-size: .8rem; font-weight: 900; }
.form-note { font-size: .95rem; color: var(--muted); }
.form-note a { color: var(--ink); font-weight: 700; }

.form-done { display: grid; justify-items: center; text-align: center; gap: .8rem; padding: 12px 0; }
.form-done:focus { outline: none; }
.form-done img { width: 130px; }
.form-done h3 { font-size: 1.7rem; }
.form-done p { max-width: 26em; }
@media (prefers-reduced-motion: no-preference) {
  .form-done:not([hidden]) img { animation: peek .6s var(--pop) both; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 220px; margin-bottom: 1rem; }
.footer-nav ul, .footer-contact { display: grid; gap: .6rem; align-content: start; }
.site-footer a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.site-footer a:not(.tbc) { color: var(--white); text-decoration-color: var(--yellow); }
.site-footer .tbc { color: var(--ink); }
.footer-nav a { font-weight: 700; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }
.social { display: flex; gap: .8rem; margin-top: .4rem; }
.social a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.social .ico { width: 26px; height: 26px; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 48px; padding-top: 22px;
  border-top: 2px dashed rgba(255, 255, 255, .25); font-size: .95rem; color: #D8D4CE;
}

/* ---------- Mobile CTA dock ---------- */
.dock { display: none; }
@media (max-width: 719px) {
  .dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; gap: 10px;
    transform: translateY(calc(100% + 30px)); transition: transform .3s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .dock .btn { flex: 1; }
  .dock-call {
    display: grid; place-items: center; flex: none; width: 56px;
    background: var(--white); border: var(--line) solid var(--ink); border-radius: 16px; box-shadow: var(--drop); color: var(--ink);
  }
  .dock-call svg { width: 26px; height: 26px; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
