/* ============================================
   Galaxy Infant School — Inner page layouts
   ============================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 3.5rem;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(0, 174, 239, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 60% at 10% 80%, rgba(247, 148, 29, 0.2), transparent 50%),
    linear-gradient(165deg, #1b1464 0%, #2d1b69 40%, #3f3c8d 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23f7f4ff' d='M0,24 C240,40 480,0 720,14 C960,28 1200,40 1440,18 L1440,40 L0,40 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.page-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero .starfield {
  opacity: 0.55;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: left;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb-sep {
  opacity: 0.45;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 5vw, 3rem);
  margin-bottom: 0.85rem;
  line-height: 1.15;
  max-width: 18ch;
}

.page-hero-lead {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  max-width: 48ch;
  line-height: 1.65;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.page-hero .btn-secondary:hover {
  background: #fff;
  color: var(--navy);
}

/* Content grids */
.split-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .split-grid.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split-grid.reverse .split-media {
    order: -1;
  }
}

.split-copy .section-label {
  margin-bottom: 0.75rem;
}

.split-copy h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  margin-bottom: 0.85rem;
}

.split-copy p {
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 1rem;
}

.split-copy p:last-child {
  margin-bottom: 0;
}

.split-media {
  position: relative;
}

.split-media figure {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(63, 60, 141, 0.22);
  background: var(--navy);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  transition: transform 0.6s ease;
}

.split-media.infant-media img {
  aspect-ratio: 3 / 4;
  max-height: 520px;
  object-position: center top;
}

.split-media.infant-media-fit figure {
  aspect-ratio: 3 / 4;
  max-width: min(100%, 420px);
  margin-inline: auto;
  background: linear-gradient(160deg, #f7f4ff 0%, #eef9f4 55%, #fff5eb 100%);
}

.split-media.infant-media-fit img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
}

.infant-photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

@media (min-width: 900px) {
  .infant-photo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .infant-photo-strip.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.infant-photo-strip figure {
  margin: 0;
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 12px 32px rgba(16, 24, 68, 0.14);
  aspect-ratio: 3 / 4;
}

.infant-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s ease;
}

.infant-photo-strip figure:hover img {
  transform: scale(1.05);
}

.infant-photo-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.85rem 0.85rem;
  background: linear-gradient(transparent, rgba(16, 24, 68, 0.82));
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
}

.lkg-photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .lkg-photo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.lkg-photo-strip figure {
  margin: 0;
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 12px 32px rgba(16, 24, 68, 0.14);
  aspect-ratio: 16 / 10;
}

.lkg-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}

.lkg-photo-strip figure:hover img {
  transform: scale(1.04);
}

.lkg-photo-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(16, 24, 68, 0.82));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.grade1-photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 800px) {
  .grade1-photo-strip {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1rem;
    align-items: stretch;
  }
}

.grade1-photo-strip figure {
  margin: 0;
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 12px 32px rgba(16, 24, 68, 0.14);
}

.grade1-shot-tall {
  aspect-ratio: 3 / 4;
}

.grade1-shot-wide {
  aspect-ratio: 16 / 10;
}

.grade1-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}

.grade1-photo-strip figure:hover img {
  transform: scale(1.04);
}

.grade1-photo-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(16, 24, 68, 0.82));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.ukg-photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 900px) {
  .ukg-photo-strip {
    grid-template-columns: 0.9fr 1.05fr 1.05fr;
    gap: 1rem;
    align-items: stretch;
  }
}

.ukg-photo-strip figure {
  margin: 0;
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 12px 32px rgba(16, 24, 68, 0.14);
}

.ukg-shot-tall {
  aspect-ratio: 3 / 4;
}

.ukg-shot-wide {
  aspect-ratio: 16 / 10;
}

.ukg-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}

.ukg-photo-strip figure:hover img {
  transform: scale(1.04);
}

.ukg-photo-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(16, 24, 68, 0.82));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.split-media:hover img {
  transform: scale(1.04);
}

.split-media figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(27, 20, 100, 0.78);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Value / feature cards */
.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .card-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.info-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(16, 24, 68, 0.06);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.info-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  background: var(--cyan-soft);
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.info-card p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.55;
}

.info-card.accent-orange .card-icon { background: var(--orange-soft); }
.info-card.accent-purple .card-icon { background: var(--purple-soft); }
.info-card.accent-mint .card-icon { background: var(--mint-soft); }
.info-card.accent-yellow .card-icon { background: var(--yellow-soft); }

/* ---------- About: Our Compass (color mosaic) ---------- */
.compass-section {
  background:
    radial-gradient(ellipse 50% 45% at 10% 15%, rgba(247, 148, 29, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 90% 20%, rgba(0, 174, 239, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 35% at 50% 95%, rgba(192, 132, 252, 0.16), transparent 50%),
    linear-gradient(180deg, #fff8ee 0%, #f4f0ff 55%, #eaf7ff 100%);
}

.compass-mosaic {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .compass-mosaic {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.compass-tile {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 1.5rem 1.35rem 1.55rem;
  min-height: 14rem;
  color: var(--navy);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.compass-tile::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: -40px;
  bottom: -50px;
  opacity: 0.32;
  pointer-events: none;
}

.compass-tile:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 18px 40px rgba(27, 20, 100, 0.16);
}

.compass-emoji {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 20px rgba(16, 24, 68, 0.08);
}

.compass-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

.compass-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
  color: inherit;
}

.compass-tile > p:not(.compass-kicker) {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(16, 24, 68, 0.74);
  max-width: 30ch;
}

.compass-aim {
  background: linear-gradient(155deg, #dff6ff 0%, #9fe3f8 55%, #5dcef5 100%);
}
.compass-aim::after { background: #00aeef; }

.compass-goal {
  background: linear-gradient(155deg, #fff1df 0%, #ffd39a 55%, #f7a94a 100%);
}
.compass-goal::after { background: #f7941d; }

.compass-approach {
  background: linear-gradient(155deg, #ecebff 0%, #c5c2f2 55%, #8f8bd4 100%);
  color: #1b1464;
}
.compass-approach::after { background: #3f3c8d; }

/* ---------- About: What We Provide (color mosaic) ---------- */
.provide-section {
  background:
    radial-gradient(ellipse 50% 45% at 8% 20%, rgba(0, 174, 239, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 92% 15%, rgba(247, 148, 29, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 35% at 70% 90%, rgba(126, 217, 184, 0.18), transparent 50%),
    linear-gradient(180deg, #fff7ef 0%, #f3f0ff 48%, #eaf8ff 100%);
}

.provide-mosaic {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .provide-mosaic {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .provide-mosaic {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.provide-tile {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 1.45rem 1.3rem 1.5rem;
  min-height: 11.5rem;
  color: var(--navy);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.provide-tile::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  right: -36px;
  bottom: -48px;
  opacity: 0.35;
  pointer-events: none;
}

.provide-tile:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 18px 40px rgba(27, 20, 100, 0.16);
}

.provide-emoji {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 1rem;
  font-size: 1.55rem;
  margin-bottom: 0.95rem;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 20px rgba(16, 24, 68, 0.08);
}

.provide-tile h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
  color: inherit;
}

.provide-tile p {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(16, 24, 68, 0.72);
  max-width: 28ch;
}

.tile-cyan {
  background: linear-gradient(155deg, #dff6ff 0%, #9fe3f8 55%, #6fd4f2 100%);
}
.tile-cyan::after { background: #00aeef; }

.tile-mint {
  background: linear-gradient(155deg, #e7fbf3 0%, #b6efd8 55%, #7ed9b8 100%);
}
.tile-mint::after { background: #2bb98a; }

.tile-purple {
  background: linear-gradient(155deg, #ecebff 0%, #c5c2f2 55%, #8f8bd4 100%);
  color: #1b1464;
}
.tile-purple::after { background: #3f3c8d; }

.tile-orange {
  background: linear-gradient(155deg, #fff1df 0%, #ffd39a 55%, #f7a94a 100%);
}
.tile-orange::after { background: #f7941d; }

.tile-sky {
  background: linear-gradient(155deg, #eef2ff 0%, #c7d4ff 55%, #8ea8ff 100%);
}
.tile-sky::after { background: #5b7cfa; }

.tile-sun {
  background: linear-gradient(155deg, #fff9d4 0%, #ffe566 55%, #f5cf3a 100%);
}
.tile-sun::after { background: #e6b800; }

/* ---------- About: Our Growth Path (color journey) ---------- */
.growth-section {
  background:
    radial-gradient(ellipse 55% 50% at 15% 10%, rgba(0, 174, 239, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 45% at 85% 30%, rgba(63, 60, 141, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 40% at 50% 100%, rgba(247, 148, 29, 0.16), transparent 50%),
    linear-gradient(180deg, #1b1464 0%, #2d1b69 42%, #3f3c8d 100%);
  color: #fff;
}

.growth-section .section-label {
  background: rgba(255, 255, 255, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.growth-section .section-header h2 {
  color: #fff;
}

.growth-section .section-header h2::after {
  background: linear-gradient(90deg, var(--yellow), var(--cyan), transparent);
}

.growth-section .section-header p {
  color: rgba(255, 255, 255, 0.78);
}

.growth-path {
  display: grid;
  gap: 0;
  position: relative;
}

.growth-stage {
  display: grid;
  gap: 1.1rem;
  align-items: start;
  padding: 1.35rem 1.25rem;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.growth-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
}

.growth-orb,
.growth-copy {
  position: relative;
  z-index: 1;
}

.growth-orb {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.growth-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.growth-copy h3 {
  color: #fff;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  margin-bottom: 0.45rem;
}

.growth-copy > p:not(.growth-kicker) {
  margin: 0 0 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
  max-width: 42ch;
}

.growth-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.growth-tags li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.growth-connector {
  width: 4px;
  height: 1.35rem;
  margin: 0.15rem auto;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 229, 102, 0.9), rgba(0, 174, 239, 0.85));
  box-shadow: 0 0 16px rgba(0, 174, 239, 0.45);
}

.stage-cyan {
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.95), rgba(56, 189, 248, 0.75));
}
.stage-cyan .growth-orb {
  background: linear-gradient(145deg, #ffe566, #f7941d);
  color: var(--navy);
}

.stage-violet {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(139, 92, 246, 0.8));
}
.stage-violet .growth-orb {
  background: linear-gradient(145deg, #67e8f9, #00aeef);
  color: var(--navy);
}

.stage-amber {
  background: linear-gradient(135deg, rgba(247, 148, 29, 0.98), rgba(251, 191, 36, 0.88));
}
.stage-amber .growth-orb {
  background: linear-gradient(145deg, #fff, #ffe566);
  color: #9a3412;
  font-size: 1.45rem;
}
.stage-amber .growth-copy h3,
.stage-amber .growth-kicker,
.stage-amber .growth-copy > p:not(.growth-kicker) {
  color: #3b1d08;
}
.stage-amber .growth-copy > p:not(.growth-kicker) {
  color: rgba(59, 29, 8, 0.82);
}
.stage-amber .growth-tags li {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(59, 29, 8, 0.12);
  color: #3b1d08;
}

@media (min-width: 900px) {
  .growth-path {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0.65rem;
  }

  .growth-stage {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.5rem 1.35rem;
    min-height: 100%;
  }

  .growth-connector {
    width: 2.25rem;
    height: 4px;
    margin: auto 0;
    background: linear-gradient(90deg, rgba(255, 229, 102, 0.95), rgba(0, 174, 239, 0.9));
  }
}

@media (max-width: 899px) {
  .provide-tile {
    min-height: 0;
  }
}

/* Quote / principal */
.quote-panel {
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(0, 174, 239, 0.12), transparent 55%),
    linear-gradient(145deg, #1b1464, #3f3c8d);
  color: #fff;
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(27, 20, 100, 0.28);
}

.quote-panel::before {
  content: "“";
  position: absolute;
  top: -0.2rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.quote-panel p {
  position: relative;
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.65;
  max-width: 52ch;
}

.quote-panel footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-weight: 800;
}

.quote-panel footer span {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Principal's Message — editorial letter */
.principal-section {
  background:
    radial-gradient(ellipse 50% 40% at 12% 15%, rgba(247, 148, 29, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 80%, rgba(0, 174, 239, 0.1), transparent 50%),
    linear-gradient(180deg, #fffaf3 0%, #f7f4ff 55%, #eef8ff 100%);
}

.principal-letter {
  display: grid;
  gap: 2rem;
  align-items: start;
  background: #fff;
  border-radius: 32px;
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  box-shadow: 0 18px 48px rgba(27, 20, 100, 0.1);
  border: 1px solid rgba(16, 24, 68, 0.06);
  position: relative;
  overflow: hidden;
}

.principal-letter::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--cyan), var(--orange), var(--purple));
}

@media (min-width: 900px) {
  .principal-letter {
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 2.75rem;
    padding: 2.5rem 2.75rem 2.5rem 2.5rem;
  }

  .principal-aside {
    position: sticky;
    top: 7.5rem;
  }
}

.principal-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(16, 24, 68, 0.16);
  border: 4px solid #fff;
  outline: 1px solid rgba(16, 24, 68, 0.08);
  background: var(--purple-soft);
}

.principal-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.principal-meta {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.principal-meta strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}

.principal-meta span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--purple);
}

.principal-meta em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.principal-body {
  min-width: 0;
}

.principal-pull {
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border-left: 4px solid var(--orange);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(247, 148, 29, 0.12), rgba(247, 148, 29, 0.02));
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
}

.principal-body > p {
  margin: 0 0 1.05rem;
  color: rgba(16, 24, 68, 0.78);
  font-weight: 600;
  font-size: clamp(0.98rem, 1.7vw, 1.05rem);
  line-height: 1.75;
}

.principal-close {
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.principal-sign {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(16, 24, 68, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.principal-sign-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.principal-sign-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .principal-aside {
    max-width: 260px;
    margin: 0 auto;
    text-align: center;
  }

  .principal-meta {
    align-items: center;
  }

  .principal-letter {
    border-radius: 24px;
  }
}

/* Intelligence / pillar lists */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  background: #fff;
  border: 1px solid rgba(16, 24, 68, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(27, 20, 100, 0.06);
}

/* Timeline / roadmap to 12th */
.roadmap {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .roadmap {
    grid-template-columns: repeat(3, 1fr);
  }
}

.roadmap-step {
  background: #fff;
  border-radius: 22px;
  padding: 1.25rem;
  border: 1px solid rgba(16, 24, 68, 0.06);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.roadmap-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
}

.roadmap-step .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.roadmap-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.roadmap-step p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.roadmap-step.future {
  background: linear-gradient(160deg, #eef2ff, #fff);
}

.roadmap-step.future .step-num {
  color: var(--orange);
}

/* Program page specifics */
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 800;
  font-size: 0.8rem;
}

.program-nav {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1099px) {
  .program-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .program-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.program-nav a {
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 0.85rem 0.55rem;
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.25s ease, box-shadow 0.3s ease;
  text-align: center;
  min-width: 0;
}

.program-nav a:hover,
.program-nav a.current {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lift);
}

.program-nav a.current {
  background: var(--cyan-soft);
}

.program-nav strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  color: var(--navy);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.program-nav span {
  font-size: clamp(0.68rem, 0.9vw, 0.76rem);
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.25;
  display: block;
}

/* Zones detail */
.zone-detail-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .zone-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .zone-detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.zone-detail {
  background: #fff;
  border-radius: 22px;
  padding: 1.35rem 1.2rem;
  border: 1px solid rgba(16, 24, 68, 0.06);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
}

.zone-detail:hover {
  transform: translateY(-6px) scale(1.01);
}

.zone-detail .zone-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}

.zone-detail .nick {
  font-size: 0.78rem;
  font-weight: 800;
  font-style: italic;
  color: var(--purple);
  margin-bottom: 0.25rem;
}

.zone-detail h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.zone-detail p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Facilities checklist */
.check-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.check-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(16, 24, 68, 0.06);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.check-item:hover {
  transform: translateX(4px);
}

.check-item .tick {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mint-soft);
  font-size: 1rem;
}

.check-item p {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.45;
}

/* CTA band */
.page-cta {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(0, 174, 239, 0.25), transparent 55%),
    linear-gradient(165deg, #1b1464, #3f3c8d);
  text-align: center;
}

.page-cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.65rem;
}

.page-cta p {
  margin: 0 auto 1.5rem;
  max-width: 42ch;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.page-cta .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* Nav dropdown for programs */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: inline-flex !important;
  align-items: center;
  gap: 0.3rem;
}

.has-dropdown .caret {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.has-dropdown.open .caret,
.has-dropdown:hover .caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 210px;
  padding: 0.55rem 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 100;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(27, 20, 100, 0.18);
  border: 1px solid rgba(16, 24, 68, 0.06);
  z-index: -1;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block !important;
  position: relative;
  z-index: 1;
  padding: 0.6rem 0.9rem !important;
  margin: 0 0.35rem;
  border-radius: 10px;
  font-size: 0.84rem !important;
  white-space: nowrap;
  color: var(--navy-soft) !important;
  background: transparent !important;
}

.nav-dropdown a:first-child {
  margin-top: 0.35rem;
}

.nav-dropdown a:last-child {
  margin-bottom: 0.35rem;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: var(--cyan-soft) !important;
  color: var(--cyan) !important;
}

.mobile-submenu {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.15rem 0 0.45rem 0.65rem;
  border-left: 2px solid rgba(0, 174, 239, 0.3);
  margin: 0.1rem 0 0.25rem 0.35rem;
}

.mobile-submenu a {
  font-size: 0.88rem !important;
  padding: 0.55rem 0.5rem !important;
  min-height: 40px;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
}

@media (max-width: 1099px) {
  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    display: none;
  }
}

/* Contact page form on its own */
.contact-page-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-page-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.contact-info h3 {
  color: #fff;
  font-size: 1.55rem;
  margin-bottom: 1.25rem;
}

.contact-list .ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.contact-list a {
  display: block;
}

.contact-form-wrap h3 {
  margin-bottom: 0.35rem;
}

.contact-form-wrap > p {
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 1.25rem;
}

/* Body class for inner pages */
body.is-inner .navbar {
  background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 899px) {
  .page-hero {
    padding: 2rem 0 2.75rem;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 7.5vw, 2.25rem);
  }

  .page-hero-lead {
    font-size: 0.95rem;
  }

  .page-hero-actions {
    flex-direction: column;
  }

  .page-hero-actions .btn {
    width: 100%;
  }

  .page-cta {
    padding: 2.5rem 0;
  }

  .page-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-cta-actions .btn {
    width: 100%;
  }

  .split-grid {
    gap: 1.5rem;
  }

  .split-media img {
    max-height: 280px;
  }

  .split-media.infant-media img {
    max-height: 420px;
  }

  .split-media.infant-media-fit figure {
    max-width: min(100%, 360px);
  }

  .split-media.infant-media-fit img {
    max-height: none;
  }

  .info-card {
    padding: 1.15rem 1.05rem;
  }

  .zone-detail {
    padding: 1.15rem 1rem;
  }

  .check-item {
    padding: 0.9rem 1rem;
  }

  .quote-panel {
    border-radius: 22px;
  }

  .program-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .has-dropdown:hover .nav-dropdown {
    display: none;
  }
}

@media (max-width: 480px) {
  .program-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .roadmap {
    gap: 0.75rem;
  }
}


/* Unique inner-page hero atmospheres */
.page-hero.hero-theme-about {
  background:
    radial-gradient(ellipse 70% 80% at 88% 18%, rgba(247, 148, 29, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 60% at 8% 75%, rgba(0, 174, 239, 0.24), transparent 50%),
    linear-gradient(165deg, #15104f 0%, #2a1a6e 45%, #4a3f9a 100%);
}
.page-hero.hero-theme-facilities {
  background:
    radial-gradient(ellipse 65% 70% at 15% 25%, rgba(0, 174, 239, 0.32), transparent 55%),
    radial-gradient(ellipse 50% 55% at 90% 70%, rgba(126, 217, 184, 0.22), transparent 50%),
    linear-gradient(165deg, #0f2a44 0%, #1b1464 40%, #2f5f7a 100%);
}
.page-hero.hero-theme-curriculum {
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(99, 102, 241, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 50% at 12% 80%, rgba(255, 229, 102, 0.18), transparent 50%),
    linear-gradient(165deg, #1b1464 0%, #3f3c8d 50%, #5b4db8 100%);
}
.page-hero.hero-theme-zones {
  background:
    radial-gradient(ellipse 70% 75% at 70% 15%, rgba(247, 148, 29, 0.3), transparent 55%),
    radial-gradient(ellipse 55% 55% at 15% 70%, rgba(192, 132, 252, 0.28), transparent 50%),
    linear-gradient(165deg, #2d1b69 0%, #4c1d95 45%, #7c3aed 100%);
}
.page-hero.hero-theme-contact {
  background:
    radial-gradient(ellipse 60% 70% at 20% 30%, rgba(0, 174, 239, 0.3), transparent 55%),
    radial-gradient(ellipse 50% 55% at 85% 65%, rgba(247, 148, 29, 0.24), transparent 50%),
    linear-gradient(165deg, #101844 0%, #1b1464 45%, #00aeef55 100%);
}
.page-hero.hero-theme-program {
  background:
    radial-gradient(ellipse 65% 70% at 75% 20%, rgba(0, 174, 239, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 55% at 18% 80%, rgba(247, 148, 29, 0.22), transparent 50%),
    linear-gradient(165deg, #1b1464 0%, #2d1b69 40%, #3f3c8d 100%);
}

.page-hero .shooting-star {
  z-index: 1;
}

.page-hero.hero-theme-infant {
  background:
    radial-gradient(ellipse 65% 70% at 20% 18%, rgba(255, 182, 193, 0.34), transparent 55%),
    radial-gradient(ellipse 50% 55% at 88% 78%, rgba(255, 229, 102, 0.22), transparent 50%),
    linear-gradient(165deg, #3a1848 0%, #5c2a6e 42%, #f7941d44 100%);
}
.page-hero.hero-theme-toddler {
  background:
    radial-gradient(ellipse 65% 70% at 18% 20%, rgba(255, 154, 162, 0.32), transparent 55%),
    radial-gradient(ellipse 50% 55% at 88% 75%, rgba(0, 174, 239, 0.22), transparent 50%),
    linear-gradient(165deg, #2a1450 0%, #4a2068 45%, #f7941d55 100%);
}
.page-hero.hero-theme-prekg {
  background:
    radial-gradient(ellipse 60% 70% at 82% 22%, rgba(255, 229, 102, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 55% at 12% 78%, rgba(126, 217, 184, 0.24), transparent 50%),
    linear-gradient(165deg, #1a3a4a 0%, #1b1464 42%, #00aeef55 100%);
}
.page-hero.hero-theme-lkg {
  background:
    radial-gradient(ellipse 65% 70% at 75% 18%, rgba(0, 174, 239, 0.3), transparent 55%),
    radial-gradient(ellipse 50% 55% at 15% 80%, rgba(247, 148, 29, 0.22), transparent 50%),
    linear-gradient(165deg, #101844 0%, #243b7a 48%, #3f3c8d 100%);
}
.page-hero.hero-theme-ukg {
  background:
    radial-gradient(ellipse 60% 70% at 20% 25%, rgba(192, 132, 252, 0.32), transparent 55%),
    radial-gradient(ellipse 50% 55% at 90% 70%, rgba(255, 229, 102, 0.2), transparent 50%),
    linear-gradient(165deg, #2d1b69 0%, #3f3c8d 45%, #7c5cbf 100%);
}
.page-hero.hero-theme-grade1 {
  background:
    radial-gradient(ellipse 65% 70% at 78% 20%, rgba(0, 174, 239, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 55% at 16% 75%, rgba(126, 217, 184, 0.22), transparent 50%),
    linear-gradient(165deg, #0f2a44 0%, #1b1464 40%, #2f6b8a 100%);
}

.page-hero.hero-theme-gallery {
  background:
    radial-gradient(ellipse 60% 70% at 18% 22%, rgba(247, 148, 29, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 60% at 88% 70%, rgba(0, 174, 239, 0.26), transparent 50%),
    linear-gradient(165deg, #1b1464 0%, #3f3c8d 48%, #101844 100%);
}

/* ---------- Gallery album redesign ---------- */
.gallery-album {
  padding-top: 2.5rem;
}

.gallery-album-head {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.gallery-album-head h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.gallery-album-head p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.65;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}

.gallery-filter {
  appearance: none;
  border: 1.5px solid rgba(16, 24, 68, 0.12);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.gallery-filter:hover {
  border-color: rgba(0, 174, 239, 0.45);
  transform: translateY(-1px);
}

.gallery-filter.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .gallery-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.gm-item {
  margin: 0;
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 3 / 4;
  box-shadow: 0 10px 28px rgba(16, 24, 68, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease;
  cursor: zoom-in;
}

.gm-item:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.gm-item.is-hidden {
  display: none;
}

.gm-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 24, 68, 0.18);
}

.gm-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.65s ease;
}

.gm-item:hover img {
  transform: scale(1.05);
}

.gm-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 2.25rem 0.85rem 0.85rem;
  background: linear-gradient(transparent, rgba(16, 24, 68, 0.88));
  color: #fff;
  font-weight: 800;
  font-size: 0.86rem;
}

@media (min-width: 768px) {
  .gm-feature {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .gm-wide {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .gm-tall {
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
  }
}

/* ---------- Gallery lightbox ---------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(10, 14, 40, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.gallery-lightbox__stage {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  min-height: 0;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #0a0e28;
}

.gallery-lightbox__caption {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox__count {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  font-size: 0.82rem;
}

.gallery-lightbox__btn {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 1.35rem;
  line-height: 1;
  font-family: inherit;
}

.gallery-lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox__btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.gallery-lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
}

.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.gallery-lightbox__prev {
  left: 0.35rem;
}

.gallery-lightbox__next {
  right: 0.35rem;
}

@media (min-width: 768px) {
  .gallery-lightbox__prev {
    left: -0.25rem;
  }

  .gallery-lightbox__next {
    right: -0.25rem;
  }

  .gallery-lightbox {
    padding: 1.5rem;
  }
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-page-intro .narrow-copy {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.gallery-page-intro p {
  margin: 0;
  font-weight: 600;
  color: rgba(16, 24, 68, 0.78);
  line-height: 1.65;
}

.gallery-page-grid {
  margin-top: 0.35rem;
}

.gallery-teaser-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

/* Curriculum — weekly rhythm */
.curriculum-week {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.1rem;
  margin-top: 0.5rem;
}

.week-card {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: 1.35rem;
  overflow: hidden;
  color: var(--navy);
}

.week-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
}

.week-academic {
  background:
    linear-gradient(160deg, #e8f7ff 0%, #d5efff 48%, #bfe6fb 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 174, 239, 0.18);
}

.week-fun {
  background:
    linear-gradient(160deg, #fff4e4 0%, #ffe0b5 48%, #ffd08a 100%);
  box-shadow: inset 0 0 0 1px rgba(247, 148, 29, 0.2);
}

.week-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
}

.week-fun .week-badge {
  background: linear-gradient(90deg, #f7941d, #ffb347);
  color: #101844;
}

.week-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
}

.week-card > p {
  margin: 0 0 1rem;
  font-weight: 600;
  color: rgba(16, 24, 68, 0.82);
  line-height: 1.55;
}

.week-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.week-points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.week-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan);
}

.week-fun .week-points li::before {
  background: var(--orange);
}

.curriculum-week-media {
  margin: 1.5rem 0 0;
  border-radius: 1.4rem;
  overflow: hidden;
  background: #fff;
}

.curriculum-week-media img {
  display: block;
  width: 100%;
  height: min(42vw, 420px);
  object-fit: cover;
}

.curriculum-week-media figcaption {
  padding: 0.85rem 1.1rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(16, 24, 68, 0.7);
}

.curriculum-promise .narrow-copy {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.curriculum-promise h2 {
  margin-bottom: 0.85rem;
}

.curriculum-promise p {
  margin: 0 auto 0.9rem;
  max-width: 42rem;
  font-weight: 600;
  color: rgba(16, 24, 68, 0.78);
}

.curriculum-promise .promise-close {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.35;
}

@media (max-width: 860px) {
  .curriculum-week {
    grid-template-columns: 1fr;
  }

  .curriculum-week-media img {
    height: 240px;
  }
}

