/* «زى أكاديمى» (2026-10-27, after the Zee Academy site he sent): a full photo hero with a big wave, bands scattered with
   geometric marks, a blob poster with circle photos, programs in soft blobs with a colour behind, the parents' app, the
   parents' words over a blue wave, a dark footer. Colour sets: html[data-palette] 0–2, 3 = the nursery's own colours. */
@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700;800&family=Readex+Pro:wght@300;400;500;600;700&display=swap");

html[data-theme="zee"] { --band: #F5D94F; --g: #4FAF1E; --b: #2268F0; --o: #F7A600; --m: #7C1D1D; --dk: #14140A; --ink: #1B1B1B }
html[data-theme="zee"][data-palette="1"] { --band: #F9D7EA; --g: #6FA82E; --b: #7B2D8E; --o: #F2B705; --m: #D6177F; --dk: #24102C; --ink: #24102C }
html[data-theme="zee"][data-palette="2"] { --band: #BFEBDC; --g: #E5502F; --b: #1F6FEB; --o: #FFB627; --m: #0F6B5C; --dk: #0D2A26; --ink: #122A27 }
html[data-theme="zee"][data-palette="3"] { --band: color-mix(in srgb, var(--brand-a) 24%, #fff); --g: var(--brand-a); --b: var(--brand-p); --o: #F2B705; --m: var(--brand-p); --dk: color-mix(in srgb, var(--brand-p) 25%, #0b0b0b); --ink: #1F1A24 }
html[data-theme="zee"] {
  --primary: var(--b); --accent: var(--g); --soft: color-mix(in srgb, var(--band) 35%, #fff); --lav: color-mix(in srgb, var(--band) 45%, #fff);
  --line: color-mix(in srgb, var(--band) 60%, #ddd); --display: "Alexandria", "Cairo", sans-serif; --font: "Readex Pro", "Cairo", sans-serif;
}
[data-theme="zee"] body { font-family: var(--font) }
[data-theme="zee"] .btn { background: var(--g); color: #fff; box-shadow: none }
[data-theme="zee"] .btn.alt { background: var(--b) }
[data-theme="zee"] .btn.ghost { color: var(--b) }
[data-theme="zee"] .btn.light { background: #fff; color: var(--b) }
[data-theme="zee"] .hd { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); border: 0 }
[data-theme="zee"] .brand { color: var(--ink) }
[data-theme="zee"] .nav a:hover, [data-theme="zee"] .nav a[aria-current="page"] { background: none; color: var(--ink); text-decoration: underline 2px var(--g); text-underline-offset: 6px }
[data-theme="zee"] .sec h2, [data-theme="zee"] .pagehead h1, [data-theme="zee"] .infocard h3 { color: var(--ink); font-weight: 600 }
[data-theme="zee"] .pagehead { background: var(--band) }
[data-theme="zee"] .pagehead p { color: color-mix(in srgb, var(--ink) 75%, transparent) }
[data-theme="zee"] .form { border-top-color: var(--g) }
[data-theme="zee"] .band { background: var(--b) }
[data-theme="zee"] .ft { background: var(--dk) }
[data-theme="zee"] .ft h4 { color: var(--g) }
[data-theme="zee"] .ticks li::before { background: var(--g) }
[data-theme="zee"] .curr { background: var(--b) }
[data-theme="zee"] .quote::before { color: var(--b) }
[data-theme="zee"] .dotline { border-top-color: var(--b) }

/* the marks */
[data-theme="zee"] .dz { position: absolute; display: block; pointer-events: none; z-index: 0; animation: zfl 8s ease-in-out infinite }
[data-theme="zee"] .dz:nth-child(even) { animation-duration: 10s; animation-direction: reverse }
@keyframes zfl { 50% { transform: translateY(-10px) rotate(6deg) } }
[data-theme="zee"] .dz-squig { width: 120px; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 30'%3E%3Cpath d='M4 22 C14 2 24 2 34 18 S54 30 64 14 S84 0 94 16 S114 28 126 10' fill='none' stroke='%232268F0' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat }
[data-theme="zee"] .dz-zz { width: 46px; height: 54px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 70'%3E%3Cpath d='M6 4 L18 4 L14 24 L34 24 L30 46 L54 46 L52 66' fill='none' stroke='%232268F0' stroke-width='5' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat }
[data-theme="zee"] .dz-arc { width: 36px; height: 28px; border: 5px solid var(--b); border-color: transparent transparent var(--b) var(--b); border-radius: 50%; transform: rotate(-30deg) }
[data-theme="zee"] .dz-dia { width: 22px; height: 22px; border: 5px solid var(--g); transform: rotate(30deg) }
[data-theme="zee"] .dz-tri { width: 0; height: 0; border-top: 16px solid transparent; border-bottom: 16px solid transparent; border-inline-start: 26px solid var(--b); opacity: .9 }
[data-theme="zee"] .dz-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--g) }
[data-theme="zee"] .dz-ring { width: 28px; height: 28px; border-radius: 50%; border: 5px solid var(--ink) }
[data-theme="zee"] .dz-sq { width: 24px; height: 24px; background: var(--g); border-radius: 3px; transform: rotate(20deg) }
[data-theme="zee"] .dl { display: block; width: 130px; border-top: 3px dotted var(--b); margin: 8px 0 18px }
[data-theme="zee"] .c .dl, [data-theme="zee"] .z-prog .dl { margin-inline: auto }

/* hero */
.z-hero { position: relative; min-height: min(640px, 90vh); display: flex; align-items: center; color: #fff; overflow: hidden; padding: 60px 0 170px; background: var(--dk) }
.z-hero .slide { position: absolute; inset: 0; background: center/cover; opacity: 0; transition: opacity 1.2s }
.z-hero .slide.on { opacity: 1 }
.z-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45) }
.z-hero .in { position: relative; z-index: 2 }
.z-hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.2; margin: 0 0 12px; max-width: 900px; text-wrap: balance }
.z-hero .lead { font-size: 18px; max-width: 860px; margin: 0 0 22px }
.z-hero .row { display: flex; gap: 10px; flex-wrap: wrap }
.z-cta { background: var(--band); position: relative; z-index: 3; margin-top: -2px; padding: 4px 0 22px }
.z-cta .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center }
.z-wave { position: absolute; z-index: 2; bottom: -1px; left: 0; width: 100%; height: 240px; fill: var(--band) }
html[dir="ltr"] .z-wave { transform: scaleX(-1) }

/* the yellow band: poster + why */
.z-band { background: var(--band); position: relative; overflow: hidden; padding: 30px 0 70px }
.z-band .factsbar { background: none; padding: 0 0 10px }
.z-band .factsbar .facts { margin-top: 0 }
.z-band .fact { border-bottom: 0; box-shadow: none }
.z-why { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; padding-top: 30px; position: relative; z-index: 1 }
.poster { position: relative; width: min(340px, 100%); height: 470px; margin: auto; background: var(--m); border-radius: 20% 30% 26% 22% / 12% 16% 18% 14%; overflow: hidden; color: #fff; box-shadow: 0 0 0 8px var(--o) }
.poster .top { position: absolute; inset: 0 0 56% 0; background: center/cover }
.poster .cir { position: absolute; width: 112px; height: 112px; border-radius: 50%; border: 5px solid var(--o); background: #eee center/cover; inset-inline-start: 8px }
.poster .c0 { top: 8px } .poster .c1 { top: 124px; inset-inline-start: -8px; width: 100px; height: 100px } .poster .c2 { top: 228px }
.poster .t { position: absolute; inset-inline: 22px; bottom: 56px; text-align: end }
.poster .t img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 14px; padding: 4px; margin-inline-start: auto; margin-bottom: 8px; display: block }
.poster .t b { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.25; display: block }
.poster::after { content: ""; position: absolute; bottom: -24px; inset-inline-start: -10px; width: 70%; height: 64px; background: var(--o); border-radius: 50% }
.z-why h2, .z-split h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); margin: 0; color: var(--ink) }
ul.zl { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px }
ul.zl li { position: relative; padding-inline-start: 20px }
ul.zl li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--ink) }
ul.zl span { color: color-mix(in srgb, var(--ink) 70%, transparent) }
.z-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center }
.z-split.rev > :first-child { order: 0 }
.z-blob { aspect-ratio: 1; border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; background: center/cover; box-shadow: 0 0 0 10px var(--band) }
.z-photo { height: 320px; border-radius: 6px; background: center/cover }
.z-fac { padding: 70px 0 }

/* programs */
.z-progs { padding: 60px 0 0 }
.z-progs h2 { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.4vw, 52px); margin: 0 }
.z-progs .sub { color: color-mix(in srgb, var(--ink) 70%, transparent); max-width: 680px; margin: 6px auto 14px }
.z-progs .row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap }
.z-curve { display: block; width: 100%; height: 50px; margin-top: 30px; fill: var(--band) }
.z-pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 34px; padding: 30px 0 70px }
.z-prog { text-align: center; text-decoration: none; color: inherit; display: grid; justify-items: center }
.z-prog .bl { position: relative; width: 230px; height: 230px; margin-bottom: 16px }
.z-prog .bl::before { content: ""; position: absolute; inset: -14px -6px 4px 14px; background: var(--c); border-radius: var(--r2); transform: rotate(-8deg) }
.z-prog .ph { position: absolute; inset: 0; border-radius: var(--r); background: #eee center/cover; transition: border-radius 1.2s }
.z-prog:hover .ph { border-radius: var(--r2) }
.z-prog h3 { margin: 0; font-size: 20px; font-weight: 600 }
.z-prog h3 small { font-weight: 500; font-size: 15px; unicode-bidi: isolate }
.z-prog .dl { width: 80px; border-top-color: var(--c) }
.z-prog p { margin: 0; color: color-mix(in srgb, var(--ink) 72%, transparent); max-width: 300px; font-size: 15px }

/* the parents' app (shared part, this design's dress) */
[data-theme="zee"] .appgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center }
[data-theme="zee"] .appcard { background: var(--band); border-radius: 10px; padding: 40px }
[data-theme="zee"] .appcard h2 { font-family: var(--display); color: var(--ink); margin: 0 0 8px }
[data-theme="zee"] .appcard .ticks { margin: 16px 0 22px }

/* the parents' words over a wave */
.z-testi { position: relative; background: var(--band); min-height: 420px; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff }
.z-tw { position: absolute; top: 0; left: 0; width: 100%; height: 330px; fill: var(--b) }
.z-testi .q { position: relative; z-index: 2; max-width: 680px; padding: 50px 16px 130px }
.z-testi .q > i { font-style: normal; font-size: 46px; line-height: 1 }
.z-testi .qs { display: grid }
.z-testi blockquote { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .6s; pointer-events: none }
.z-testi blockquote.on { opacity: 1; pointer-events: auto }
.z-testi blockquote p { font-size: 20px; font-weight: 500; margin: 8px 0 }
.z-testi blockquote footer { font-size: 14px; font-weight: 700 }
.z-testi .qd { display: flex; gap: 6px; justify-content: center; margin-top: 16px }
.z-testi .qd button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer }
.z-testi .qd button.on { background: #fff }
.z-testi .shp { position: absolute; bottom: 22px; z-index: 2 }
.z-testi .par { width: 120px; height: 70px; background: var(--g); transform: skewX(-20deg) rotate(-10deg); inset-inline-start: 6% }
.z-testi .orect { width: 110px; height: 80px; border: 5px solid var(--ink); border-radius: 8px; transform: rotate(30deg); inset-inline-start: 10%; bottom: 30px }
.z-testi .bcir { width: 40px; height: 40px; border-radius: 50%; background: var(--b); inset-inline-start: 22%; bottom: 70px }
.z-testi .ln { width: 6px; height: 120px; background: var(--ink); transform: rotate(-40deg); border-radius: 3px; inset-inline-start: 26% }

@media (max-width: 860px) {
  .z-hero { min-height: 0; padding: 50px 0 120px }
  .z-wave { height: 110px }
  .z-why, .z-split, [data-theme="zee"] .appgrid { grid-template-columns: 1fr; gap: 30px }
  .poster { height: 400px; width: 280px }
  .poster .cir { width: 88px; height: 88px }
  .poster .c1 { top: 104px; width: 80px; height: 80px } .poster .c2 { top: 192px }
  .z-prog .bl { width: 200px; height: 200px }
  .z-testi .shp { display: none }
  [data-theme="zee"] .appcard { padding: 26px }
}
@media (prefers-reduced-motion: reduce) { [data-theme="zee"] .dz { animation: none } }

/* outline buttons stay outlined over this design's filled .btn */
[data-theme="zee"] .btn.ghost, [data-theme="zee"] .btn.ghostw { background: transparent; box-shadow: none }
[data-theme="zee"] .btn.light { background: #fff; color: var(--primary); box-shadow: none }
