/* A warm classroom moment followed by three illustrated learning worlds. */
.manifesto {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fbfaf5;
  padding: 105px 0 120px;
}
.manifesto::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  top: -270px;
  right: -140px;
  border: 1px solid #d9c9aa;
  border-radius: 50%;
  box-shadow: 0 0 0 46px #ffffff88, 0 0 0 47px #e7decf;
}
.manifesto-grid {
  grid-template-columns: .88fr 1.12fr;
  column-gap: 8%;
  row-gap: 50px;
  align-items: start;
}
.world-heading { position: relative; align-self: center; }
.world-heading .eyebrow { color: #8063a6; }
.manifesto h2 { max-width: 590px; margin: 24px 0 27px; }
.manifesto h2 em { color: #488b3c; }
.world-heading-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #9f7937;
  font: 700 14px/1.35 var(--play, "Fredoka", sans-serif);
}
.world-heading-mark i { font-style: normal; color: #69577d; }
.manifesto-copy {
  padding: 15px 0 15px 38px;
  border-left: 1px solid #cfc3d9;
}
.manifesto-copy p { max-width: 580px; font-size: 18px; }
.manifesto-copy span { line-height: 1.8; }
.world-photo {
  position: relative;
  grid-column: 1 / -1;
  height: clamp(340px, 44vw, 570px);
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  background: #e8e3d6;
  box-shadow: 0 30px 65px #2b194421;
}
.world-photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #181133a3);
  pointer-events: none;
}
.world-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.world-photo figcaption {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  left: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  font: 600 clamp(1.6rem, 3vw, 2.8rem)/1.05 var(--play, "Fredoka", sans-serif);
  text-shadow: 0 2px 16px #1b153777;
}
.world-photo figcaption strong { color: #ffe092; font-weight: 600; }
.world-photo-spark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid #ffffffa0;
  border-radius: 50%;
  background: #ffffff2b;
  backdrop-filter: blur(10px);
  color: #ffe092;
  font-size: 34px;
}

.program-section {
  isolation: isolate;
  background: radial-gradient(circle at 5% 10%, #eaf5e4, transparent 28%), radial-gradient(circle at 93% 92%, #f0e8fc, transparent 31%), #fffdf9;
}
.program-intro .eyebrow { color: #7651a7; }
.program-intro .title em { color: #468939; }
.journey-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  margin-top: 65px;
  color: #6c5383;
  font: 800 11px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: .14em;
  text-align: center;
}
.journey-line span { position: relative; padding-bottom: 21px; }
.journey-line span::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  border-bottom: 1px solid #d6c9e3;
}
.journey-line span::after {
  content: "✦";
  position: absolute;
  bottom: -5px;
  left: calc(50% - 10px);
  width: 20px;
  color: #e6b444;
  background: #fffdf9;
  font-size: 18px;
}
.programs { margin-top: 25px; gap: 23px; }
.program, .program:first-child, .program:last-child {
  border: 1px solid #e8e1e9;
  border-radius: 29px;
  box-shadow: 0 20px 54px #34205418;
}
.program:hover { box-shadow: 0 29px 60px #34205425; }
.program-art { aspect-ratio: 1.16; overflow: hidden; background-image: none; }
.program-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, #1f15351f 0%, transparent 36%, transparent 60%, #1d103b36 100%), url('assets/program-worlds.webp');
  background-size: 100% 100%, 300% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: transform .65s cubic-bezier(.2,.75,.2,1);
}
.art-garden::before { background-position: center, left center; }
.art-observatory::before { background-position: center, center center; }
.art-rainbow::before { background-position: center, right center; }
.program:hover .program-art::before { transform: scale(1.05); }
.program-number {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid #ffffffb8;
  border-radius: 15px;
  background: #ffffffd9;
  backdrop-filter: blur(8px);
  color: #402359;
  font: 800 14px Manrope, Arial, sans-serif;
  box-shadow: 0 6px 17px #24153a2b;
}
.journey-badge { z-index: 1; bottom: 18px; left: 18px; }
.program-content { padding: 29px 28px 31px; }
.program .age { color: #765d89; font-size: 12px; }
.program h3 { margin: 9px 0 13px; }
.program-skills span { background: #f6f1f8; border-color: #eee5ef; }
.program-cta { margin-top: 1px; min-height: 50px; }

@media (max-width: 900px) {
  .manifesto-grid { column-gap: 5%; }
  .manifesto-copy { padding-left: 25px; }
}
@media (max-width: 700px) {
  .manifesto { padding: 78px 0 83px; }
  .manifesto-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .manifesto h2 { margin: 16px 0 20px; }
  .manifesto-copy { border-left: 0; border-top: 1px solid #d6c9dd; padding: 24px 0 0; }
  .manifesto-copy p { font-size: 17px; }
  .world-photo { grid-column: auto; height: 370px; margin-top: 7px; border-radius: 24px; }
  .world-photo img { object-position: center 55%; }
  .world-photo figcaption { bottom: 23px; left: 22px; gap: 12px; }
  .world-photo-spark { width: 45px; height: 45px; font-size: 25px; }
  .journey-line { display: none; }
  .programs { margin-top: 37px; }
  .program-art { aspect-ratio: 1.23; }
  .program-content { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .program:hover { transform: none; }
  .program-art::before { transition: none; }
  .program:hover .program-art::before { transform: none; }
}
