:root {
  --cyan: #00aede;
  --cyan-dark: #056f8a;
  --pink: #ff4f92;
  --green: #45c876;
  --yellow: #ffd84d;
  --orange: #ff9838;
  --purple: #8d7cff;
  --cream: #fffdf5;
  --ink: #253238;
  --muted: #435c64;
  --sky: #bdefff;
  --mint: #bff3d8;
  --shadow: 0 18px 42px rgba(17, 105, 132, 0.24);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 216, 77, .28) 0 9rem, transparent 9.2rem),
    radial-gradient(circle at 95% 8%, rgba(255, 79, 146, .34) 0 11rem, transparent 11.2rem),
    radial-gradient(circle at 86% 72%, rgba(69, 200, 118, .34) 0 12rem, transparent 12.2rem),
    linear-gradient(160deg, var(--sky) 0%, #d8f8ff 45%, var(--mint) 100%);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 14% 78%, rgba(255, 216, 77, .86) 0 9rem, transparent 9.2rem),
    radial-gradient(circle at 90% 18%, rgba(255, 79, 146, .38) 0 10rem, transparent 10.2rem),
    radial-gradient(circle at 20% 20%, rgba(0, 174, 222, .28) 0 12rem, transparent 12.2rem),
    linear-gradient(160deg, #b9efff 0%, #d8f8ff 46%, #c4f3da 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}

.loader-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.loader-cloud {
  position: absolute;
  left: -16rem;
  width: 13rem;
  height: 4.8rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 58%, rgba(255, 255, 255, .96) 0 2.2rem, transparent 2.25rem),
    radial-gradient(circle at 48% 38%, #fff 0 3.3rem, transparent 3.35rem),
    radial-gradient(circle at 78% 62%, rgba(255, 255, 255, .94) 0 2.1rem, transparent 2.15rem);
  opacity: .86;
  filter: drop-shadow(0 8px 12px rgba(33, 125, 150, .08));
  animation: loaderCloud 14s linear infinite;
}

.loader-cloud-a {
  top: 14%;
}

.loader-cloud-b {
  top: 56%;
  width: 16rem;
  height: 5.8rem;
  opacity: .62;
  animation-duration: 18s;
  animation-delay: -7s;
}

.loader-cloud-c {
  top: 76%;
  width: 10rem;
  height: 4rem;
  opacity: .48;
  animation-duration: 22s;
  animation-delay: -12s;
}

.loader-shape,
.loader-star {
  position: absolute;
  display: block;
}

.loader-sun {
  top: 11%;
  left: 11%;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, #ffb347 0 10deg, transparent 10deg 22deg),
    radial-gradient(circle, #ffe275 0 58%, transparent 60%);
  animation: loaderSpin 12s linear infinite;
}

.loader-balloon-a,
.loader-balloon-b {
  width: 4rem;
  height: 5rem;
  border-radius: 52% 52% 48% 48%;
  animation: loaderFloat 3.2s ease-in-out infinite;
}

.loader-balloon-a {
  right: 12%;
  top: 24%;
  background: linear-gradient(145deg, #ff6b9d, #ff9dd1);
}

.loader-balloon-b {
  left: 18%;
  bottom: 16%;
  width: 3.5rem;
  height: 4.4rem;
  background: linear-gradient(145deg, #00b4d8, #64e7de);
  animation-delay: -1.2s;
}

.loader-balloon-a::after,
.loader-balloon-b::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 3.5rem;
  background: rgba(52, 80, 86, .22);
}

.loader-star {
  width: 3.6rem;
  height: 3.6rem;
  background: #ffe275;
  clip-path: polygon(50% 0, 61% 34%, 97% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 3% 35%, 39% 34%);
  opacity: .78;
  animation: loaderTwinkle 1.8s ease-in-out infinite;
}

.loader-star-a {
  right: 18%;
  bottom: 18%;
}

.loader-star-b {
  left: 29%;
  top: 18%;
  width: 2rem;
  height: 2rem;
  background: #a29bfe;
  animation-delay: -.6s;
}

.loader-star-c {
  right: 31%;
  top: 70%;
  width: 2.4rem;
  height: 2.4rem;
  background: #45c876;
  animation-delay: -1s;
}

body.is-ready .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 2rem;
  border: 4px solid rgba(255, 255, 255, .9);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 253, 245, .96)),
    radial-gradient(circle at 20% 0%, rgba(255, 226, 117, .28), transparent 42%);
  box-shadow: 0 22px 48px rgba(33, 125, 150, .22);
  animation: loaderCardPop .7s ease both;
}

.loader-card img {
  width: min(240px, 76vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(33, 125, 150, .16));
  animation: loaderLogoBounce 1.7s ease-in-out infinite;
}

.loader-card p {
  margin: 0;
  color: #345056;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.loader-bar {
  width: min(260px, 72vw);
  height: .65rem;
  overflow: hidden;
  border-radius: 999px;
  background: #d9f3fb;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75);
}

.loader-bar span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff4f8b, #ffb347, #00b4d8);
  animation: loaderSweep 1.1s ease-in-out infinite;
}

@keyframes loaderCloud {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(100vw + 34rem));
  }
}

@keyframes loaderSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.05);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes loaderFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-1rem) rotate(4deg);
  }
}

@keyframes loaderTwinkle {

  0%,
  100% {
    transform: scale(.88) rotate(0deg);
    opacity: .45;
  }

  50% {
    transform: scale(1.12) rotate(12deg);
    opacity: .95;
  }
}

@keyframes loaderCardPop {
  0% {
    transform: translateY(1rem) scale(.96);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes loaderLogoBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  38% {
    transform: translateY(-.55rem);
  }

  62% {
    transform: translateY(.12rem);
  }
}

@keyframes loaderSweep {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(260%);
  }
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  left: -4rem;
  top: 16rem;
  width: 16rem;
  height: 6rem;
  background:
    radial-gradient(circle at 20% 55%, #fff 0 3rem, transparent 3.1rem),
    radial-gradient(circle at 48% 38%, #fff 0 4rem, transparent 4.1rem),
    radial-gradient(circle at 78% 60%, #fff 0 2.6rem, transparent 2.7rem);
  opacity: .68;
  animation: cloudDriftMain 34s linear infinite;
}

body::after {
  right: 2rem;
  top: 9rem;
  width: 8rem;
  height: 8rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M48 4l12 28 31 3-23 21 7 31-27-16-27 16 7-31L5 35l31-3z' fill='%23ffe275'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: .18;
}

.cloud-scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.moving-cloud {
  position: absolute;
  left: -18rem;
  display: block;
  width: 12rem;
  height: 4.8rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 58%, rgba(255, 255, 255, .9) 0 2.2rem, transparent 2.25rem),
    radial-gradient(circle at 47% 38%, rgba(255, 255, 255, .95) 0 3.3rem, transparent 3.35rem),
    radial-gradient(circle at 76% 60%, rgba(255, 255, 255, .88) 0 2rem, transparent 2.05rem);
  opacity: .62;
  animation: cloudAcross 38s linear infinite;
}

.cloud-one {
  top: 8rem;
}

.cloud-two {
  top: 22rem;
  width: 15rem;
  height: 5.5rem;
  opacity: .46;
  animation-duration: 48s;
  animation-delay: -16s;
}

.cloud-three {
  top: 35rem;
  width: 10rem;
  height: 4rem;
  opacity: .38;
  animation-duration: 56s;
  animation-delay: -28s;
}

@keyframes cloudAcross {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(100vw + 36rem));
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto;
  padding: .72rem .85rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 253, 245, .92);
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(42, 142, 166, .18);
  backdrop-filter: blur(12px);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.brand {
  width: 210px;
  background: #fff;
  border-radius: 999px;
  padding: .22rem .55rem;
  box-shadow: inset 0 0 0 2px rgba(0, 180, 216, .08);
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: .25rem;
  font-weight: 900;
  color: #345056;
}

.main-nav a {
  padding: .65rem .9rem;
  border-radius: 999px;
}

.main-nav a:hover {
  background: #d0f5ff;
  color: var(--cyan-dark);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.15rem;
  border-radius: 999px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff4f8b, #ff7a3d);
  border: 3px solid #fff;
  box-shadow: 0 12px 0 rgba(169, 48, 84, .22), 0 18px 34px rgba(255, 79, 139, .32);
  text-shadow: 0 1px 0 rgba(99, 22, 47, .2);
}

.header-cta {
  min-width: 150px;
  color: #fff;
}

.btn-soft {
  color: var(--cyan-dark);
  background: #fff;
  box-shadow: inset 0 0 0 2px #bde8f7;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 0 rgba(169, 48, 84, .24), 0 22px 38px rgba(255, 79, 139, .38);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #d0f5ff;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--cyan-dark);
}

.hero {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 2rem));
  max-width: 1240px;
  margin: 1.4rem auto 1.8rem;
  padding: 1.2rem 1.2rem 1.55rem;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .82);
  border-radius: 34px;
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 216, 77, .14) 0 5.2rem, transparent 5.35rem),
    radial-gradient(circle at 93% 10%, rgba(255, 79, 146, .2) 0 7rem, transparent 7.2rem),
    linear-gradient(135deg, rgba(255, 253, 245, .92), rgba(201, 243, 255, .72));
  box-shadow: 0 20px 52px rgba(17, 105, 132, .18);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0;
  width: 100%;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  margin: 0 auto;
  border: 14px solid #fffdf5;
  border-radius: 30px;
  background: #102f3b;
  box-shadow:
    inset 0 0 0 3px rgba(5, 111, 138, .16),
    0 18px 0 rgba(5, 111, 138, .14),
    0 30px 54px rgba(17, 105, 132, .26);
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .36);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .18rem;
  width: min(300px, 38%);
  height: 18px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(5, 111, 138, .2), rgba(5, 111, 138, .08));
  transform: translateX(-50%);
  z-index: 0;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 1.1s ease-in-out;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #102f3b;
}


.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: .45rem;
}

.slider-dots span {
  width: .65rem;
  height: .65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 2px 8px rgba(20, 47, 56, .18);
}

.slider-dots .active {
  width: 1.7rem;
  background: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .8rem;
  color: #8a4a00;
  background: #fff2bf;
  border-radius: 999px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.eyebrow::before {
  content: "★";
  color: var(--orange);
}

h1,
h2,
h3 {
  font-family: "Fredoka", sans-serif;
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  margin-top: 1rem;
  font-size: clamp(3rem, 7vw, 5.9rem);
  color: #142f38;
}

.hero-copy p {
  max-width: 620px;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.hero-points {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.hero-points span {
  padding: .55rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  font-weight: 900;
  color: var(--cyan-dark);
}

@keyframes cloudDriftMain {
  0% {
    transform: translateX(-18rem);
  }

  100% {
    transform: translateX(calc(100vw + 24rem));
  }
}

section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 4rem;
}

.announcements {
  margin-top: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.section-heading.center {
  display: block;
  text-align: center;
}

.section-heading h2,
.why-copy h2,
.cta-band h2 {
  margin-top: .75rem;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  color: #142f38;
}

.notice-grid,
.approach-grid,
.programme-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

.notice-grid {
  grid-template-columns: repeat(3, 1fr);
}

.notice-card,
.approach-grid article,
.programme-card,
blockquote {
  padding: 1.4rem;
  border: 3px solid rgba(255, 255, 255, .88);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cream);
}

.notice-card {
  min-height: 230px;
}

.notice-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 1rem;
  border-radius: 22px;
  background: #fff;
  font-size: 2rem;
}

.notice-card h3,
.approach-grid h3,
.programme-card h3 {
  font-size: 1.55rem;
}

.notice-card p,
.approach-grid p,
.programme-card li,
blockquote p,
.why-copy p,
.cta-band p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.notice-card a {
  display: inline-flex;
  margin-top: .6rem;
  font-weight: 900;
  color: var(--cyan-dark);
}

.card-blue {
  background: linear-gradient(180deg, #c8f5ff, #fffdf5);
}

.card-pink {
  background: linear-gradient(180deg, #ffd9e9, #fffdf5);
}

.card-yellow {
  background: linear-gradient(180deg, #ffe987, #fffdf5);
}

.why {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 40px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(17, 105, 132, .16);
}

.why-image {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  gap: .8rem;
}

.photo-card {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end start;
  width: 100%;
  min-height: 0;
  height: 100%;
  border: 8px solid #fff;
  border-radius: 24px;
  font-family: "Fredoka", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.photo-card img,
.centre-tile img,
.about-gallery img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.photo-card img,
.centre-tile img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-gallery img {
  position: absolute;
  inset: 0;
}

.photo-card::after,
.centre-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 47, 56, 0) 35%, rgba(20, 47, 56, .55) 100%);
}

.photo-card span,
.centre-tile span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin: .75rem;
  padding: .34rem .62rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 47, 56, .58);
  font-size: .95rem;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .16);
  backdrop-filter: blur(8px);
}

.photo-one {
  grid-row: span 2;
}

.photo-two {}

.photo-three {}

.feature-list {
  display: grid;
  gap: .75rem;
  margin-top: 1.4rem;
}

.feature-list span {
  padding: .9rem 1rem;
  border-radius: 18px;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(33, 125, 150, .1);
}

.approach-grid {
  grid-template-columns: repeat(4, 1fr);
}

.approach-grid article span {
  display: block;
  margin-bottom: .9rem;
  font-size: 2.4rem;
}

.programme-grid {
  grid-template-columns: repeat(3, 1fr);
}

.programme-card {
  position: relative;
  overflow: hidden;
}

.programme-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -38px;
  bottom: -38px;
  border-radius: 50%;
  background: rgba(0, 180, 216, .16);
}

.programme-card.featured {
  background: linear-gradient(180deg, #c8f5ff, #fffdf5);
  transform: translateY(-14px);
}

.programme-age {
  display: inline-flex;
  padding: .45rem .7rem;
  margin-bottom: .85rem;
  border-radius: 999px;
  color: #8a4a00;
  background: var(--yellow);
  font-weight: 900;
}

.programme-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.centre-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1.2fr;
  gap: 1rem;
}

.centre-tile {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end start;
  min-height: 260px;
  border: 8px solid #fff;
  border-radius: 24px;
  font-family: "Fredoka", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.gallery-showcase {
  overflow: hidden;
}

.gallery-showcase .section-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.gallery-marquee {
  --gallery-gap: .85rem;
  --gallery-frame: min(1320px, calc(100vw - 2rem));
  --gallery-card: calc((var(--gallery-frame) - (3 * var(--gallery-gap))) / 4);
  position: relative;
  overflow: hidden;
  width: var(--gallery-frame);
  margin-left: 50%;
  transform: translateX(-50%);
  padding: .5rem 0 1.2rem;
}

.gallery-marquee::before,
.gallery-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(9vw, 110px);
  pointer-events: none;
}

.gallery-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #d0f5ff, rgba(208, 245, 255, 0));
}

.gallery-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #d0f5ff, rgba(208, 245, 255, 0));
}

.gallery-track {
  display: flex;
  gap: var(--gallery-gap);
  width: max-content;
  animation: galleryDrift 64s linear infinite;
  will-change: transform;
}

.gallery-marquee:hover .gallery-track {
  animation-play-state: paused;
}

.gallery-track figure {
  position: relative;
  overflow: hidden;
  flex: 0 0 var(--gallery-card);
  width: var(--gallery-card);
  height: clamp(220px, 17.2vw, 245px);
  margin: 0;
  border: 6px solid #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: #fff;
}

.gallery-track img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 32%;
}

.gallery-track figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 47, 56, 0) 46%, rgba(20, 47, 56, .6) 100%);
}

.gallery-track figcaption {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  z-index: 1;
  padding: .35rem .65rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 47, 56, .58);
  font-family: "Fredoka", sans-serif;
  font-size: .9rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.gallery-view,
.video-play {
  position: absolute;
  z-index: 2;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #ff4f8b, #ff7a3d);
  box-shadow: 0 10px 22px rgba(20, 47, 56, .2);
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.gallery-view {
  right: .65rem;
  bottom: .65rem;
  min-height: 34px;
  padding: .42rem .7rem;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.gallery-track figure:hover .gallery-view,
.gallery-view:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 1rem;
  margin-top: .5rem;
}

.video-feature,
.gallery-note {
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 28px;
  background: rgba(255, 253, 245, .92);
  box-shadow: var(--shadow);
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding: 1rem;
}

.video-poster {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 22px;
  background: #dff8ef;
}

.video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 47, 56, .05), rgba(20, 47, 56, .42));
}

.video-poster span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff6b9d, #00b4d8);
  box-shadow: 0 14px 32px rgba(20, 47, 56, .22);
  font-size: 1.7rem;
  text-indent: .16rem;
}

.video-play {
  left: 50%;
  bottom: 1rem;
  min-height: 42px;
  padding: .58rem 1rem;
  border-radius: 999px;
  transform: translateX(-50%);
}

.video-feature h3,
.gallery-note h3 {
  margin-top: .7rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #142f38;
}

.video-feature p,
.gallery-note p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.gallery-note {
  display: grid;
  align-content: center;
  gap: .7rem;
  padding: 1.35rem;
  background: linear-gradient(180deg, #ffe987, #fffdf5);
}

.gallery-note span {
  width: fit-content;
  padding: .4rem .7rem;
  border-radius: 999px;
  color: #8a4a00;
  background: #fff2bf;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.gallery-all-link {
  position: static;
  width: fit-content;
  min-height: 44px;
  margin-top: .35rem;
}

.gallery-page-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 2.6rem 1rem 1.2rem;
}

.gallery-page-hero h1 {
  max-width: 880px;
  margin-top: .9rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  color: #102f3b;
}

.gallery-page-hero p {
  max-width: 680px;
  margin: .9rem 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.65;
}

.gallery-page-notice {
  padding: .75rem 1rem;
  border: 3px solid rgba(255, 255, 255, .88);
  border-radius: 999px;
  background: rgba(255, 253, 245, .86);
  box-shadow: 0 10px 22px rgba(17, 105, 132, .12);
}

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

.gallery-page-card,
.gallery-empty {
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 24px;
  background: rgba(255, 253, 245, .95);
  box-shadow: var(--shadow);
}

.gallery-page-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #102f3b;
}

.gallery-page-media img,
.gallery-page-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-page-media video {
  background: #102f3b;
}

.gallery-page-copy {
  padding: 1rem;
}

.gallery-page-copy span {
  display: inline-flex;
  width: fit-content;
  padding: .35rem .65rem;
  border-radius: 999px;
  color: #8a4a00;
  background: #fff2bf;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.gallery-page-copy h2 {
  margin-top: .7rem;
  font-size: 1.45rem;
  color: #102f3b;
}

.gallery-page-copy p,
.gallery-empty p {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.gallery-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 2rem;
}

/* ── Gallery Group Card ── */
.gallery-group-card {
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 24px;
  background: rgba(255, 253, 245, .95);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery-group-card:hover,
.gallery-group-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(14, 138, 175, .22);
  outline: none;
}

.gallery-group-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #102f3b;
  overflow: hidden;
}

.gallery-group-cover img,
.gallery-group-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-group-cover video { background: #102f3b; }

/* Badge showing media count */
.gallery-group-badge {
  position: absolute;
  bottom: .6rem;
  right: .65rem;
  z-index: 1;
  padding: .3rem .72rem;
  border-radius: 999px;
  background: rgba(20, 47, 56, .82);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(4px);
}
.gallery-group-badge--video {
  background: rgba(220, 38, 38, .82);
}

.gallery-group-copy {
  padding: 1rem;
}

.gallery-group-copy span {
  display: inline-flex;
  width: fit-content;
  padding: .35rem .65rem;
  border-radius: 999px;
  color: #8a4a00;
  background: #fff2bf;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.gallery-group-copy h2 {
  margin-top: .7rem;
  font-size: 1.45rem;
  color: #102f3b;
}

.gallery-group-copy p {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

@keyframes galleryDrift {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - (var(--gallery-gap) / 2)));
  }
}

/* ── Gallery Lightbox ── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  place-items: center;
  padding: 1rem;
}
.gallery-lightbox.is-open {
  display: grid;
}
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 47, 59, .72);
  backdrop-filter: blur(10px);
}
.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(20,47,56,.85);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.gallery-lightbox-close:hover {
  background: #c92a2a;
  border-color: #c92a2a;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(20,47,56,.82);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s, border-color .2s;
}
.gallery-lightbox-prev { left: 1rem; }
.gallery-lightbox-next { right: 1rem; }
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: #0e8aaf;
  border-color: #0e8aaf;
}
.gallery-lightbox-prev:disabled,
.gallery-lightbox-next:disabled {
  opacity: .3;
  cursor: default;
  background: rgba(20,47,56,.55);
}

.gallery-lightbox-stage {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: min(1080px, 92vw);
  max-height: 88vh;
}

.gallery-lightbox-media {
  width: 100%;
  max-height: 68vh;
  border-radius: 20px;
  overflow: hidden;
  background: #102f3b;
  display: grid;
  place-items: center;
}
.gallery-lightbox-media img,
.gallery-lightbox-media video {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 20px;
}
.gallery-lightbox-media video {
  width: 100%;
  max-width: 100%;
}

.gallery-lightbox-info {
  text-align: center;
  color: #fff;
  padding: .4rem 1rem 0;
}
.gallery-lightbox-counter {
  display: inline-block;
  margin-bottom: .2rem;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-family: "Fredoka", sans-serif;
  font-size: .85rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.gallery-lightbox-info h3 {
  margin: .3rem 0 .1rem;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.gallery-lightbox-info p {
  margin: 0;
  font-size: .9rem;
  opacity: .78;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 1rem;
}

.media-modal.is-open {
  display: grid;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 47, 56, .58);
  backdrop-filter: blur(6px);
}

.media-modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 1rem;
  border: 4px solid #fff;
  border-radius: 24px;
  background: #fffdf5;
  box-shadow: 0 24px 60px rgba(20, 47, 56, .35);
}

.media-modal-close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #142f38;
  font-size: 1.7rem;
  cursor: pointer;
}

.media-modal-card h3 {
  padding-right: 3rem;
  margin-bottom: .8rem;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  color: #142f38;
}

.media-modal-body img {
  display: block;
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  border-radius: 18px;
  background: #d0f5ff;
}

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 2rem;
  border-radius: 18px;
  text-align: center;
  color: #142f38;
  background: linear-gradient(135deg, #c8f5ff, #ffe987);
}

.media-placeholder strong {
  display: block;
  margin-bottom: .5rem;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
}

.testimonial-grid {
  grid-template-columns: repeat(2, 1fr);
}

.home-branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.home-branch-grid article {
  display: grid;
  align-content: start;
  gap: .65rem;
  min-height: 240px;
  padding: 1.35rem;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffdf5, #e7fbff);
  box-shadow: var(--shadow);
}

.home-branch-grid article:nth-child(2) {
  background: linear-gradient(180deg, #ffd9e9, #fffdf5);
}

.home-branch-grid article:nth-child(3) {
  background: linear-gradient(180deg, #ffe987, #fffdf5);
}

.home-branch-grid span {
  width: fit-content;
  padding: .38rem .68rem;
  border-radius: 999px;
  color: #8a4a00;
  background: #fff2bf;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.home-branch-grid h3 {
  font-size: 1.65rem;
  color: #142f38;
}

.home-branch-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.home-branch-grid a {
  margin-top: auto;
  font-weight: 900;
  color: var(--cyan-dark);
}

blockquote {
  margin: 0;
}

blockquote p {
  margin-top: 0;
  font-size: 1.15rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
}

.parent-avatar {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd84d, #ff6fa8 55%, #45c876);
  color: #113642;
  box-shadow: 0 10px 20px rgba(17, 54, 66, .15);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  overflow: hidden;
}

.parent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

cite {
  font-style: normal;
  font-weight: 900;
  color: var(--cyan-dark);
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 40px;
  background: linear-gradient(135deg, #009bd2, #45c876);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.visitor-counter {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 253, 245, .94);
  box-shadow: 0 10px 24px rgba(33, 125, 150, .12);
}

.visitor-counter::before,
.visitor-counter::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  opacity: .45;
  pointer-events: none;
}

.visitor-counter::before {
  left: 1.1rem;
  top: -.7rem;
  background: #fff2bf;
  animation: visitorFloat 4s ease-in-out infinite;
}

.visitor-counter::after {
  right: 1.25rem;
  bottom: -.8rem;
  background: #dff8ef;
  animation: visitorFloat 4.8s ease-in-out infinite reverse;
}

.visitor-counter span {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-weight: 900;
}

.visitor-counter strong {
  position: relative;
  z-index: 1;
  min-width: 4.5rem;
  padding: .42rem .8rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #009bd2, #45c876);
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 180, 216, .22);
}

.visitor-counter strong.is-counting {
  animation: countPop .55s ease;
}

.visitor-mascot {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff !important;
  background: linear-gradient(135deg, #ffb347, #ff6b9d);
  box-shadow: 0 8px 16px rgba(255, 107, 157, .22);
  animation: mascotBounce 1.8s ease-in-out infinite;
}

@keyframes mascotBounce {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  45% {
    transform: translateY(-6px) rotate(-8deg);
  }

  70% {
    transform: translateY(1px) rotate(6deg);
  }
}

@keyframes countPop {
  0% {
    transform: scale(.86);
  }

  55% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes visitorFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(8px) scale(1.08);
  }
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-weight: 800;
}

.site-footer a {
  font-weight: 900;
  color: var(--cyan-dark);
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(20, 47, 56, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.social-link span {
  font-family: "Fredoka", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.social-link svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(20, 47, 56, .22);
}

.social-link.fb {
  background: #1877f2;
}

.social-link.ig {
  background: linear-gradient(135deg, #feda75, #fa7e1e 35%, #d62976 68%, #4f5bd5);
}

.social-link.tt {
  background: #111;
}

.contact-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.4rem;
  align-items: center;
  padding: 3rem 0 1rem;
}

.contact-hero h1 {
  max-width: 840px;
  font-size: clamp(2.5rem, 5.8vw, 5rem);
}

.contact-hero p {
  max-width: 760px;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.7;
}

.contact-quick-card,
.branch-card {
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 28px;
  background: rgba(255, 253, 245, .92);
  box-shadow: var(--shadow);
}

.contact-quick-card {
  display: grid;
  gap: .75rem;
  padding: 1.3rem;
}

.contact-quick-card span,
.branch-badge {
  color: #8a4a00;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.contact-quick-card strong {
  font-family: "Fredoka", sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.branch-card {
  display: grid;
  align-content: start;
  gap: .85rem;
  min-height: 320px;
  padding: 1.35rem;
}

.branch-main {
  background: linear-gradient(180deg, #e7fbff, #fffdf5);
}

.branch-note {
  background: linear-gradient(180deg, #ffe987, #fffdf5);
}

.branch-badge {
  width: fit-content;
  padding: .42rem .75rem;
  border-radius: 999px;
  background: #fff2bf;
}

.branch-card h3 {
  font-size: 1.65rem;
  color: #142f38;
}

.branch-card p,
.contact-band p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.branch-lines {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.branch-lines a {
  display: inline-flex;
  padding: .5rem .7rem;
  border-radius: 999px;
  color: var(--cyan-dark);
  background: #d0f5ff;
  font-weight: 900;
}

.branch-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4rem;
  align-items: center;
  padding: 2rem;
  border-radius: 36px;
  background: linear-gradient(135deg, #fffdf5, #e7fbff);
  border: 3px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.contact-band h2 {
  margin-top: .7rem;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: #142f38;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.4rem;
  align-items: center;
  padding: 2rem 0 .5rem;
}

.about-hero-copy {
  max-width: 850px;
  padding: 1.15rem 1.25rem 1.25rem;
  border: 3px solid rgba(255, 255, 255, .78);
  border-radius: 28px;
  background: rgba(255, 253, 245, .62);
  box-shadow: 0 16px 34px rgba(17, 105, 132, .12);
  backdrop-filter: blur(3px);
}

.about-hero h1 {
  max-width: 760px;
  font-size: clamp(2.15rem, 4.4vw, 3.8rem);
  color: #102f3b;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .55);
}

.about-hero p,
.source-note {
  max-width: 780px;
  color: #435c64;
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.7;
}

.about-hero p {
  margin-bottom: 0;
}

.about-fact-card {
  display: grid;
  gap: .7rem;
  align-content: center;
  min-height: 230px;
  padding: 1.25rem;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffe987, #fffdf5);
  box-shadow: var(--shadow);
}

.about-fact-card span {
  width: fit-content;
  padding: .38rem .7rem;
  border-radius: 999px;
  color: #8a4a00;
  background: #fff2bf;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.about-fact-card strong {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1;
  color: #142f38;
}

.about-fact-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 1rem;
  align-items: start;
}

.story-panel,
.story-list article,
.value-grid article,
.about-branches {
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 28px;
  background: rgba(255, 253, 245, .92);
  box-shadow: var(--shadow);
}

.story-panel {
  padding: 1.45rem;
}

.story-panel h2 {
  margin-top: .7rem;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  color: #142f38;
}

.story-panel p,
.story-list p,
.value-grid p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.story-list {
  display: grid;
  gap: 1rem;
}

.story-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .85rem;
  padding: 1rem;
}

.story-list span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #009bd2, #45c876);
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.story-list h3,
.story-list p {
  grid-column: 2;
}

.story-list h3 {
  align-self: center;
}

.story-list p {
  margin-top: .35rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1.1fr .95fr .95fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.about-gallery figure {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  margin: 0;
  border: 6px solid #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.about-gallery figure:first-child {
  min-height: 260px;
}

.about-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 47, 56, 0) 42%, rgba(20, 47, 56, .62) 100%);
}

.about-gallery figcaption {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  z-index: 1;
  padding: .36rem .62rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 47, 56, .58);
  font-family: "Fredoka", sans-serif;
  font-size: .92rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.value-grid article {
  overflow: hidden;
  min-height: 0;
  padding: 1.35rem;
}

.value-grid article img {
  width: calc(100% + 2.7rem);
  max-width: none;
  height: 190px;
  margin: -1.35rem -1.35rem 1rem;
  object-fit: cover;
  object-position: center;
}

.value-grid article:nth-child(1) {
  background: linear-gradient(180deg, #e7fbff, #fffdf5);
}

.value-grid article:nth-child(2) {
  background: linear-gradient(180deg, #ffd9e9, #fffdf5);
}

.value-grid article:nth-child(3) {
  background: linear-gradient(180deg, #ffe987, #fffdf5);
}

.value-grid h3 {
  font-size: 1.65rem;
  color: #142f38;
}

.about-branches {
  padding: 1.7rem;
}

.about-branch-list {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1rem 0;
}

.about-branch-list span {
  display: inline-flex;
  padding: .62rem .85rem;
  border-radius: 999px;
  color: var(--cyan-dark);
  background: #d0f5ff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    width: 180px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .main-nav {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    gap: .25rem;
    padding: .5rem;
  }

  .site-header.nav-open .header-cta {
    grid-column: 1 / -1;
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 1rem, 1240px);
  }

  .notice-grid,
  .approach-grid,
  .programme-grid,
  .home-branch-grid,
  .media-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why {
    grid-template-columns: 1fr;
  }

  .centre-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-marquee {
    --gallery-frame: min(760px, calc(100vw - 2rem));
    --gallery-card: calc((var(--gallery-frame) - var(--gallery-gap)) / 2);
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .contact-hero,
  .contact-band,
  .about-hero,
  .about-story,
  .video-feature {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {

  .site-header,
  section,
  .site-footer {
    width: min(100% - 1rem, 1180px);
  }

  .hero {
    width: min(100% - .75rem, 1240px);
    margin: .8rem auto 1.4rem;
    padding: .65rem;
    border-radius: 24px;
  }

  .hero-slider {
    height: auto;
    aspect-ratio: 16 / 7;
    border-width: 8px;
    border-radius: 20px;
  }

  .hero-slide img {
    object-fit: contain;
    object-position: center;
    background: #102f3b;
  }

  .site-header {
    margin-top: .5rem;
    border-radius: 24px;
  }

  .brand {
    width: 160px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .btn,
  .header-cta {
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .notice-grid,
  .approach-grid,
  .programme-grid,
  .home-branch-grid,
  .media-grid,
  .value-grid,
  .about-gallery,
  .testimonial-grid,
  .branch-grid,
  .centre-strip {
    grid-template-columns: 1fr;
  }

  .gallery-page-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page-hero {
    padding-top: 1.4rem;
  }

  .gallery-all-link {
    width: 100%;
  }

  .gallery-showcase .section-heading p {
    margin-top: .8rem;
  }

  .gallery-track {
    gap: var(--gallery-gap);
    animation-duration: 60s;
  }

  .gallery-marquee {
    --gallery-gap: .65rem;
    --gallery-frame: min(360px, calc(100vw - 1rem));
    --gallery-card: var(--gallery-frame);
  }

  .gallery-track figure {
    flex-basis: var(--gallery-card);
    width: var(--gallery-card);
    height: 230px;
    border-width: 5px;
    border-radius: 18px;
  }

  .gallery-view {
    opacity: 1;
    transform: none;
    min-height: 32px;
    padding: .36rem .62rem;
    font-size: .82rem;
  }

  .video-feature {
    padding: .8rem;
    border-radius: 22px;
  }

  .video-poster {
    min-height: 190px;
    border-radius: 18px;
  }

  .media-modal-card {
    border-radius: 20px;
    padding: .8rem;
  }

  .media-placeholder {
    min-height: 260px;
  }

  .programme-card.featured {
    transform: none;
  }

  .why {
    padding: 1rem;
  }

  .why-image {
    grid-auto-rows: 150px;
  }

  .photo-card {
    border-width: 6px;
    border-radius: 20px;
  }

  .photo-card span,
  .centre-tile span {
    margin: .55rem;
    font-size: .82rem;
  }

  .centre-tile {
    min-height: 210px;
    border-width: 6px;
    border-radius: 20px;
  }

  .about-gallery figure,
  .about-gallery figure:first-child {
    min-height: 210px;
  }

  .cta-band {
    padding: 1.3rem;
    border-radius: 28px;
  }

  .contact-hero {
    padding-top: 1.4rem;
  }

  .about-hero {
    padding-top: 1.4rem;
  }

  .contact-quick-card,
  .branch-card,
  .about-fact-card,
  .story-panel,
  .story-list article,
  .value-grid article,
  .about-branches,
  .contact-band {
    border-radius: 22px;
  }

  .site-footer {
    display: grid;
    text-align: center;
    justify-items: center;
  }

  .visitor-counter {
    display: grid;
    gap: .45rem;
    border-radius: 24px;
  }

  .footer-social {
    order: 3;
  }
}

/* Final phone polish for cramped browser viewports. */
@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 1rem);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .6rem;
    padding: .7rem;
  }

  .brand {
    width: min(54vw, 190px);
    padding: .28rem .7rem;
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .visitor-counter {
    width: min(100% - 2rem, 430px);
    margin: 1.15rem auto 1.6rem;
    padding: 1.35rem 1.1rem 1.1rem;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .65rem;
    border-radius: 26px;
    overflow: visible;
  }

  .visitor-counter::before,
  .visitor-counter::after {
    width: 58px;
    height: 58px;
  }

  .visitor-counter::before {
    left: .65rem;
    top: -.9rem;
  }

  .visitor-counter::after {
    right: .75rem;
    bottom: -.95rem;
  }

  .visitor-mascot {
    width: 58px;
    height: 58px;
    padding: .65rem;
    border: 5px solid rgba(255, 255, 255, .88);
    font-size: 1.45rem;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(255, 107, 157, .25);
  }

  .visitor-counter>span:not(.visitor-mascot) {
    font-size: 1.25rem;
    line-height: 1.15;
    text-align: center;
  }

  .visitor-counter strong {
    min-width: min(190px, 68vw);
    padding: .55rem 1rem;
    font-size: 1.25rem;
  }

  .site-footer {
    width: min(100% - 2rem, 430px);
    margin-bottom: 1.4rem;
    padding: 1.4rem 1rem;
    gap: 1.05rem;
    border: 3px solid rgba(255, 255, 255, .72);
    border-radius: 26px;
    background: rgba(255, 253, 245, .54);
    box-shadow: 0 12px 28px rgba(33, 125, 150, .1);
  }

  .site-footer img {
    width: min(170px, 54vw);
    height: auto;
  }

  .site-footer p {
    max-width: 18rem;
    margin: 0;
    line-height: 1.35;
    font-size: 1rem;
  }

  .footer-social {
    order: 4;
    gap: .85rem;
  }

  .social-link {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .site-footer>a {
    order: 3;
    display: inline-flex;
    justify-content: center;
    width: min(100%, 220px);
    padding: .55rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .6);
  }

  .gallery-lightbox {
    z-index: 5000;
    align-items: stretch;
    justify-items: stretch;
    padding: max(.55rem, env(safe-area-inset-top)) .55rem max(.75rem, env(safe-area-inset-bottom));
  }

  .gallery-lightbox.is-open {
    display: grid;
  }

  .gallery-lightbox-stage {
    align-self: stretch;
    justify-self: stretch;
    align-content: center;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    gap: .6rem;
    padding: calc(env(safe-area-inset-top) + .45rem) 0 calc(env(safe-area-inset-bottom) + .45rem);
  }

  .gallery-lightbox-media {
    width: 100%;
    max-height: calc(100dvh - 94px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: 18px;
  }

  .gallery-lightbox-media img,
  .gallery-lightbox-media video {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 94px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    object-fit: contain;
    border-radius: 18px;
  }

  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    top: 50%;
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
    background: rgba(20,47,56,.74);
  }

  .gallery-lightbox-prev { left: .4rem; }
  .gallery-lightbox-next { right: .4rem; }

  .gallery-lightbox-close {
    top: calc(env(safe-area-inset-top) + .55rem);
    right: .55rem;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .gallery-lightbox-info {
    width: 100%;
    padding: .1rem .5rem 0;
  }

  .gallery-lightbox-counter {
    margin-bottom: .15rem;
  }

  .gallery-lightbox-info h3 {
    font-size: 1rem;
    line-height: 1.25;
  }

  .gallery-lightbox-info p {
    font-size: .85rem;
  }
}
