/* --- Reset --- */
* {
   box-sizing: border-box;
   padding: 0px;
   margin: 0px;
}

html,
body {
   height: 100%;
   width: 100%;
}

body {
   font-family: "articulat-cf", sans-serif;
   font-weight: 300;
   background:
      radial-gradient(circle 280px at 18% 34%, rgba(122, 207, 254, 0.26) 0%, rgba(122, 207, 254, 0) 72%),
      radial-gradient(circle 360px at 82% 22%, rgba(66, 165, 226, 0.22) 0%, rgba(66, 165, 226, 0) 72%),
      radial-gradient(circle 300px at 72% 90%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 68%),
      radial-gradient(circle 220px at 5% 78%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 78%),
      radial-gradient(circle 130px at 22% 32%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0) 74%),
      radial-gradient(circle 180px at 78% 20%, rgba(120, 193, 227, 0.38) 0%, rgba(120, 193, 227, 0.1) 34%, rgba(120, 193, 227, 0) 78%),
      radial-gradient(circle 150px at 84% 74%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.1) 32%, rgba(255, 255, 255, 0) 74%),
      radial-gradient(circle 210px at 10% 86%, rgba(87, 184, 217, 0.28) 0%, rgba(87, 184, 217, 0.06) 32%, rgba(87, 184, 217, 0) 78%),
      radial-gradient(circle 110px at 58% 65%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0) 76%),
      linear-gradient(155deg, rgba(3, 16, 52, 0.96) 0%, rgba(6, 30, 84, 0.94) 52%, rgba(13, 68, 122, 0.9) 100%);
   background-repeat: no-repeat;
   color: rgba(220, 239, 247, 0.9);
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
   color: #999;
   font-family: "articulat-cf", sans-serif;
   font-weight: 300;
}

p {
   font-size: 18px;
}

a,
input,
textarea,
select,
button {
   transition: background-color 0.8s ease;
   -webkit-appearance: none;
   appearance: none;
   font-family: "articulat-cf", sans-serif;
   font-size: 16px;
   /* Prevent iOS zoom */
}

.inner {
   max-width: 1400px;
   width: 100%;
   display: block;
   margin: 0 auto;
   padding: 0 clamp(20px, 3vw, 40px);
}

:root {
   --light-blue: #dceff7;
   --dark-blue: #051665;
   --sky-blue: #57b8d9;
   --yellow: #fcc956;
   --white: #ffffff;
   --black: #041225;
   --mid-blue: #2e679f;
   --deep-indigo: #040a2c;
}

main section {
   padding: clamp(80px, 12vh, 120px) 0;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
   justify-content: center;
}

main section .inner {
   display: grid;
   gap: 32px;
   grid-template-columns: minmax(0, 1fr);
}

main h2 {
   font-size: clamp(2rem, 3.5vw, 2.8rem);
   font-weight: 600;
   color: var(--white);
}

main p {
   font-size: 1.125rem;
   line-height: 1.7;
   color: rgba(220, 239, 247, 0.88);
}

.about-story {
   position: relative;
   isolation: isolate;
   overflow: hidden;
   border: 1px solid rgba(87, 184, 217, 0.2);
   background:
      linear-gradient(155deg, rgba(3, 16, 52, 0.96) 0%, rgba(6, 30, 84, 0.94) 50%, rgba(13, 68, 122, 0.9) 100%);
   box-shadow: 0 38px 68px rgba(4, 12, 48, 0.45);
}


.about-story .inner {
   position: relative;
   gap: 48px;
   grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
   padding: 0 48px;
}

.about-story__content {
   display: flex;
   flex-direction: column;
   gap: 24px;
}

.about-story__content p {
   color: rgba(220, 239, 247, 0.92);
}

.about-story__goals {
   list-style: none;
   display: grid;
   gap: 16px;
   margin: 0;
   padding: 0;
}

.about-story__goals li {
   display: flex;
   align-items: center;
   gap: 12px;
   color: rgba(220, 239, 247, 0.95);
   font-weight: 400;
   position: relative;
   padding-left: 36px;
}

.about-story__goals li::before {
   content: "";
   position: absolute;
   left: 0;
   top: 50%;
   transform: translateY(-50%);
   width: 22px;
   height: 22px;
   border-radius: 50%;
   background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(120, 193, 227, 0.8) 60%, rgba(120, 193, 227, 0) 100%);
   box-shadow: 0 12px 24px rgba(87, 184, 217, 0.35);
}

.about-story__media {
   display: grid;
   gap: 16px;
   justify-items: center;
   text-align: center;
}

.about-story__image-frame {
   width: min(360px, 100%);
   aspect-ratio: 1;
   border-radius: 50%;
   background: linear-gradient(145deg, rgba(87, 184, 217, 0.3), rgba(5, 22, 101, 0.52));
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 32px;
   box-shadow: 0 34px 60px rgba(4, 12, 48, 0.35);
   position: relative;
   overflow: hidden;
}

.about-story__image-frame::after {
   content: "";
   position: absolute;
   inset: 8px;
   border-radius: 50%;
   border: 1px solid rgba(220, 239, 247, 0.25);
   opacity: 0.6;
}

.about-story__image-frame img {
   width: 100%;
   height: auto;
   filter: drop-shadow(0 18px 28px rgba(4, 12, 48, 0.35));
}

.about-story__media figcaption {
   font-size: 0.95rem;
   color: rgba(220, 239, 247, 0.7);
   max-width: 28ch;
}

.about-page .about-story__image-frame {
   background: none;
   padding: 0;
   box-shadow: none;
   border-radius: 0;
   width: min(420px, 100%);
   aspect-ratio: auto;
   overflow: visible;
}

.about-page #about {
   border: 1px solid rgba(255, 255, 255, 0.08);
   background:
      radial-gradient(circle at 22% 18%, rgba(87, 184, 217, 0.2), transparent 60%),
      radial-gradient(circle at 78% 82%, rgba(255, 200, 87, 0.18), transparent 65%),
      linear-gradient(155deg, rgba(4, 12, 48, 0.96), rgba(6, 32, 92, 0.92));
   box-shadow: 0 28px 60px rgba(4, 12, 48, 0.45);
}

.about-page #about::before,
.about-page #about::after {
   opacity: 0.45;
   mix-blend-mode: normal;
   background: none;
}

.about-page .about-story__image-frame::after {
   display: none;
}

.about-page .about-story__image-frame img {
   filter: none;
   border-radius: 16px;
   width: 100%;
   height: auto;
}

.instruction-highlight {
   position: relative;
   overflow: hidden;
   border: 1px solid rgba(87, 184, 217, 0.18);
   background: linear-gradient(150deg, rgba(5, 22, 101, 0.96) 0%, rgba(6, 30, 84, 0.92) 52%, rgba(13, 68, 122, 0.88) 100%);
   box-shadow: 0 34px 64px rgba(4, 12, 48, 0.4);
}

.instruction-highlight::before,
.instruction-highlight::after {
   content: "";
   position: absolute;
   inset: -15%;
   z-index: 0;
   opacity: 0.65;
   background:
      radial-gradient(circle 320px at 18% 32%, rgba(122, 207, 254, 0.28) 0%, rgba(122, 207, 254, 0) 70%),
      radial-gradient(circle 260px at 82% 18%, rgba(87, 184, 217, 0.35) 0%, rgba(87, 184, 217, 0) 72%),
      radial-gradient(circle 220px at 50% 88%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}

.instruction-highlight::after {
   opacity: 0.4;
   mix-blend-mode: screen;
   filter: blur(2px);
}

.instruction-highlight .inner {
   position: relative;
   z-index: 1;
   padding: clamp(40px, 5vw, 64px);
   display: block;
}

.instruction-highlight__layout {
   display: grid;
   gap: clamp(36px, 6vw, 80px);
   grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
   align-items: center;
}

.instruction-highlight__media {
   justify-self: center;
   width: min(420px, 95%);
}

.instruction-highlight__figure {
   margin: 0;
   width: 100%;
   padding: 0;
   background: none;
   box-shadow: none;
   overflow: hidden;
}

.instruction-highlight__figure img {
   width: 100%;
   height: 100%;
   display: block;
   object-fit: cover;
   border-radius: 0;
}

.instruction-highlight__copy {
   display: flex;
   flex-direction: column;
   gap: 20px;
}

.instruction-highlight__copy h2 {
   margin-bottom: 8px;
}

.instruction-highlight__list {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 20px;
   margin: 8px 0 24px;
}

.instruction-highlight__item {
   padding: 20px;
   border-radius: 20px;
   background: rgba(4, 12, 48, 0.52);
   border: 1px solid rgba(87, 184, 217, 0.35);
   box-shadow: inset 0 1px 8px rgba(255, 255, 255, 0.05);
}

.instruction-highlight__item h3 {
   font-size: 1.15rem;
   color: var(--white);
   margin-bottom: 8px;
}

.instruction-highlight__item p {
   font-size: 1rem;
   color: rgba(220, 239, 247, 0.8);
}


.lessons-page-hero {
   position: relative;
   overflow: hidden;
   min-height: 100vh;
   padding-top: clamp(200px, 22vh, 260px);
   padding-bottom: clamp(80px, 12vh, 140px);
}

.about-hero {
   position: relative;
   overflow: hidden;
}

@media (max-width: 768px) {
   .about-page .about-hero {
      min-height: 100vh;
      padding-top: 110px;  /* just enough to clear the fixed nav */
      padding-bottom: 80px;
   }
}


@media (max-width: 900px) {
   .lessons-page-hero {
      min-height: auto;
      padding-top: 140px;
      padding-bottom: 60px;
   }
}

.lessons-page-hero__layout {
   display: grid;
   gap: clamp(32px, 5vw, 80px);
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   align-items: center;
   justify-items: center;
}

.lessons-page-hero__copy {
   display: flex;
   flex-direction: column;
   gap: 20px;
   justify-self: start;
}

.lessons-page-hero__copy h1 {
   font-size: clamp(2.8rem, 5vw, 3.6rem);
   color: var(--white);
}

.lessons-page-hero__cta {
   display: flex;
   flex-wrap: wrap;
   gap: 14px;
}

.contact-overview {
   position: relative;
   overflow: hidden;
   min-height: 100vh;
   padding-top: clamp(200px, 22vh, 260px);
   padding-bottom: clamp(80px, 12vh, 140px);
}

.contact-overview__layout {
   display: grid;
   gap: clamp(32px, 5vw, 80px);
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   align-items: center;
}

.contact-overview__copy {
   display: flex;
   flex-direction: column;
   gap: 20px;
   justify-self: start;
   max-width: 620px;
}

.contact-overview__copy h1 {
   font-size: clamp(2.6rem, 5vw, 3.6rem);
   line-height: 1.1;
}

.contact-overview__copy p {
   font-size: 1.1rem;
   color: rgba(220, 239, 247, 0.92);
}

.contact-overview__cta {
   display: flex;
   flex-wrap: wrap;
   gap: 16px;
   margin-top: 8px;
}

.contact-overview__panel {
   background: rgba(4, 12, 48, 0.55);
   border: 1px solid rgba(87, 184, 217, 0.25);
   border-radius: 32px;
   padding: clamp(24px, 4vw, 40px);
   box-shadow: 0 28px 48px rgba(4, 12, 48, 0.45);
   display: flex;
   flex-direction: column;
   gap: 16px;
}

.contact-overview__panel-title {
   text-transform: uppercase;
   letter-spacing: 0.12em;
   font-size: 0.9rem;
   color: rgba(220, 239, 247, 0.75);
   font-weight: 600;
}

.contact-hours {
   margin: 0;
   display: grid;
   gap: 12px;
}

.contact-hours__row {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 14px 18px;
   border-radius: 18px;
   background: rgba(5, 22, 101, 0.55);
   border: 1px solid rgba(87, 184, 217, 0.25);
   font-weight: 600;
   color: rgba(220, 239, 247, 0.9);
}

.contact-hours__row dt {
   text-transform: uppercase;
   letter-spacing: 0.08em;
}

.contact-hours__row dd {
   margin: 0;
   font-size: 1rem;
}

.contact-overview__panel-note {
   color: rgba(220, 239, 247, 0.85);
}

.contact-overview__panel-note a {
   color: var(--yellow);
   font-weight: 600;
}

.lessons-page-hero__media {
   position: relative;
   border-radius: 32px;
   overflow: hidden;
   border: 1px solid rgba(255, 255, 255, 0.12);
   box-shadow: 0 32px 68px rgba(4, 12, 48, 0.45);
   justify-self: end;
}

.lessons-page-hero__media img:first-child {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

.awards-page-hero .lessons-page-hero__media {
   border: none;
   border-radius: 0;
   box-shadow: none;
   background: transparent;
   overflow: visible;
   justify-self: center;
}

.awards-page-hero .lessons-page-hero__media img {
   width: min(520px, 100%);
   height: auto;
   object-fit: contain;
}

.about-page .lessons-page-hero__media {
   border: none;
   box-shadow: none;
   background: none;
   max-width: 420px;
   width: 100%;
   justify-self: end;
}

.about-page .lessons-page-hero__media img:first-child {
   height: auto;
   width: 100%;
   max-width: 420px;
   object-fit: contain;
}

.about-page main section {
   min-height: auto;
   padding: clamp(48px, 8vh, 96px) 0;
}

.about-page .crash-courses {
   min-height: 100vh;
}

.lessons-support {
   background:
      radial-gradient(circle at 22% 18%, rgba(87, 184, 217, 0.2), transparent 60%),
      radial-gradient(circle at 78% 82%, rgba(255, 200, 87, 0.18), transparent 65%),
      linear-gradient(155deg, rgba(4, 12, 48, 0.96), rgba(6, 32, 92, 0.92));
}

.inner.lessons-support__layout {
   display: flex;
   flex-wrap: nowrap;
   align-items: center;
   justify-content: space-between;
   gap: 40px;
   flex-direction: row;
}

.lessons-support__content a[href^="mailto"],
.lessons-support__content a[href^="tel"],
.lessons-tiers__price a[href^="mailto"],
.lessons-tiers__price a[href^="tel"] {
   color: inherit;
   /* matches the surrounding body copy */
   font-weight: 600;
}


.lessons-support__layout {
   display: flex;
   flex-wrap: nowrap;
   align-items: center;
   justify-content: space-between;
   gap: 40px;
   flex-direction: row;
}

.lessons-support__content {
   display: flex;
   flex-direction: column;
   gap: 18px;
   max-width: 780px;
   flex: 1;
}

.lessons-support__media {
   min-height: 420px;
   overflow: hidden;
   box-shadow: none;
   border-radius: 0;
   flex-shrink: 0;
   width: 400px;
   display: flex;
   align-items: center;
}

.lessons-support__media img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.awards-detail__grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: clamp(24px, 5vw, 64px);
   align-items: center;
}

.awards-detail__copy.lessons-support__content {
   max-width: none;
}

.awards-detail__media {
   width: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
}

.awards-detail__media img {
   width: 100%;
   max-width: 520px;
   height: auto;
   object-fit: contain;
}

.lessons-support__social {
   display: flex;
   flex-wrap: wrap;
   gap: 16px;
}

.lessons-support__social-link {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 10px 18px;
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: 999px;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   font-size: 0.9rem;
   color: var(--white);
}

.lessons-support__icon {
   width: 26px;
   height: 26px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.1);
}

.lessons-support__icon img {
   width: 16px;
   height: 16px;
   object-fit: contain;
}

@media (max-width: 900px) {
   .lessons-support__layout {
      flex-direction: column;
      align-items: flex-start;
   }

   .lessons-support__media {
      width: 100%;
   }
}


.lessons-programmes {
   background:
      radial-gradient(circle at 75% 16%, rgba(255, 200, 87, 0.22), transparent 60%),
      linear-gradient(150deg, rgba(4, 18, 53, 0.95), rgba(3, 10, 36, 0.92));
}

.lessons-programmes__layout {
   display: flex;
   flex-direction: column;
   gap: 32px;
}

.lessons-programmes__grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
   gap: clamp(18px, 3vw, 32px);
}

.lessons-programmes__card {
   padding: clamp(20px, 3vw, 28px);
   border-radius: 24px;
   border: 1px solid rgba(87, 184, 217, 0.28);
   background-color: rgba(4, 12, 48, 0.8);
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   box-shadow: 0 28px 48px rgba(4, 8, 28, 0.35);
   display: flex;
   flex-direction: column;
   gap: 16px;
   overflow: hidden;
   position: relative;
   color: #fff;
}

.lessons-programmes__card h3 {
   font-size: 1.4rem;
}

.lessons-programmes__card--sen {
   background-image:
      linear-gradient(160deg, rgba(4, 12, 48, 0.7), rgba(4, 12, 48, 0.85)),
      url("assets/sens-img.jpg");
}

.lessons-programmes__card--children {
   background-image:
      linear-gradient(160deg, rgba(4, 12, 48, 0.65), rgba(4, 12, 48, 0.85)),
      url("assets/children-img.jpg");
}

.lessons-programmes__card--development {
   background-image:
      linear-gradient(160deg, rgba(4, 12, 48, 0.65), rgba(4, 12, 48, 0.9)),
      url("assets/dev-squad.jpg");
}

.sens-page main {
   padding-top: clamp(40px, 8vh, 80px);
}

.sens-page .lessons-programmes.sens-related {
   background:
      radial-gradient(circle at 22% 18%, rgba(87, 184, 217, 0.2), transparent 60%),
      radial-gradient(circle at 78% 82%, rgba(255, 200, 87, 0.18), transparent 65%),
      linear-gradient(155deg, rgba(4, 12, 48, 0.96), rgba(6, 32, 92, 0.92));
   border: 1px solid rgba(87, 184, 217, 0.28);
   box-shadow: 0 32px 64px rgba(4, 12, 48, 0.45);
}

.sens-focus,
.sens-spotlight {
   border: 1px solid rgba(87, 184, 217, 0.28);
   box-shadow: 0 32px 64px rgba(4, 12, 48, 0.45);
}

.sens-focus {
   background: #061a3f;
}

.sens-spotlight {
   background: #071f4d;
}

.sens-media {
   width: min(420px, 100%);
   border-radius: 32px;
   overflow: hidden;
   border: 1px solid rgba(255, 255, 255, 0.12);
   box-shadow: 0 28px 48px rgba(4, 12, 48, 0.35);
}

.sens-media img {
   object-fit: cover;
   width: 100%;
   height: 100%;
}

.sens-quote {
   margin: 4px 0 24px;
   padding: 20px 24px;
   border-left: 4px solid var(--sky-blue);
   border-radius: 12px;
   background: rgba(4, 12, 48, 0.65);
   color: rgba(220, 239, 247, 0.95);
}

.sens-quote p {
   margin: 0;
   font-size: 1rem;
   line-height: 1.7;
}

.sens-inclusion-list {
   list-style: none;
   margin: 0 0 16px;
   padding: 0;
   display: grid;
   gap: 10px;
}

.sens-inclusion-list li {
   position: relative;
   padding-left: 28px;
}

.sens-inclusion-list li::before {
   content: "";
   position: absolute;
   left: 0;
   top: 0.65em;
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background: var(--sky-blue);
   box-shadow: 0 0 12px rgba(87, 184, 217, 0.4);
}

.sens-inclusion-list strong {
   color: var(--white);
}

.sens-related .lessons-programmes__card {
   min-height: 0;
}

.lessons-tiers {
   background:
      radial-gradient(circle at 18% 30%, rgba(87, 184, 217, 0.26), transparent 60%),
      linear-gradient(160deg, rgba(4, 12, 48, 0.95), rgba(12, 54, 108, 0.9));
}

.lessons-tiers__layout {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: clamp(32px, 5vw, 80px);
   align-items: center;
}

.lessons-tiers__copy {
   display: flex;
   flex-direction: column;
   gap: 20px;
}

.lessons-tiers__list {
   list-style: none;
   margin: 0;
   padding: 0;
   display: grid;
   gap: 12px;
}

.lessons-tiers__list li {
   font-size: 1.15rem;
   color: rgba(220, 239, 247, 0.9);
   border-bottom: 1px solid rgba(255, 255, 255, 0.14);
   padding-bottom: 10px;
}

.lessons-tiers__price {
   padding: 18px 20px;
   border-radius: 18px;
   border: 1px solid rgba(255, 255, 255, 0.2);
   background: rgba(4, 12, 48, 0.6);
   box-shadow: inset 0 1px 6px rgba(255, 255, 255, 0.05);
}

.lessons-tiers__media {
   display: flex;
   justify-content: center;
}

.lessons-tiers__media img {
   width: min(320px, 80%);
   filter: drop-shadow(0 24px 44px rgba(4, 12, 48, 0.45));
}

@media (max-width: 720px) {
   .lessons-page main section {
      min-height: auto;
      padding: clamp(56px, 9vh, 90px) 0;
   }

   .lessons-page .lessons-page-hero {
      padding-top: 120px;
      padding-bottom: 48px;
   }

   .lessons-page .lessons-page-hero__layout {
      grid-template-columns: minmax(0, 1fr);
      gap: 24px;
      justify-items: start;
   }

   .lessons-page .lessons-page-hero__cta {
      width: 100%;
      justify-content: flex-start;
   }

   .lessons-page .lessons-page-hero__media {
      width: 100%;
      justify-self: stretch;
   }

   .lessons-page .lessons-support__layout {
      gap: 26px;
      align-items: flex-start;
   }

   .lessons-page .lessons-support__media {
      min-height: 260px;
      width: 100%;
   }

   .lessons-page .lessons-programmes__grid,
   .lessons-page .lessons-tiers__layout {
      grid-template-columns: minmax(0, 1fr);
   }

   .lessons-page .lessons-programmes__card {
      padding: 18px;
   }

   .lessons-page .lessons-tiers__copy {
      align-items: flex-start;
   }

   .lessons-page .lessons-tiers__media img {
      width: min(240px, 72%);
   }
}

@media (max-width: 1024px) {
   .lessons-page .lessons-support__layout {
      flex-direction: column;
      align-items: flex-start;
   }

   .lessons-page .lessons-support__content {
      order: 1;
   }

   .lessons-page .lessons-support__media {
      order: 2;
      width: 100%;
      min-height: 280px;
   }
}


.mainNav {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: 10;
   background: rgba(5, 22, 101, 0.5);
   backdrop-filter: blur(22px) saturate(175%);
   border-bottom: 1px solid rgba(255, 255, 255, 0.15);
   box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
   padding: 14px 0;
}

.mainNav .inner {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 0 32px;
   gap: 32px;
   min-height: 72px;
}

.mainNav ul {
   display: flex;
   align-items: center;
   list-style: none;
   gap: 22px;
}

.mainNav ul li a {
   position: relative;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 10px 18px;
   text-decoration: none;
   color: var(--light-blue);
   font-weight: 500;
   letter-spacing: 0.02em;
   border-radius: 999px;
   transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.mainNav ul li a:hover,
.mainNav ul li a:focus-visible {
   background-color: rgba(220, 239, 247, 0.16);
   color: var(--white);
   transform: translateY(-2px);
}

.mainNav ul li a[aria-current="page"] {
   background-color: rgba(220, 239, 247, 0.16);
   color: var(--white);
}

.mainNav ul li a[aria-current="page"]::after {
   opacity: 1;
   transform: translateY(0);
}

.mainNav ul li a::after {
   content: "";
   position: absolute;
   inset: auto 18px -12px;
   height: 2px;
   background: linear-gradient(90deg, rgba(255, 200, 87, 0.2), rgba(255, 200, 87, 0.85));
   opacity: 0;
   transform: translateY(4px);
   transition: opacity 0.2s ease, transform 0.2s ease;
}

.mainNav ul li a:hover::after,
.mainNav ul li a:focus-visible::after {
   opacity: 1;
   transform: translateY(0);
}

.mainNav .logo {
   display: inline-flex;
   align-items: center;
   text-decoration: none;
   padding: 4px 0;
}

.mainNav .logo img {
   height: 42px;
   width: auto;
   display: block;
}

.nav-toggle {
   display: none;
   width: 48px;
   height: 48px;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   gap: 7px;
   background: rgba(255, 255, 255, 0.08);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 14px;
   cursor: pointer;
   transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
   background: rgba(255, 255, 255, 0.16);
   border-color: rgba(255, 255, 255, 0.25);
   transform: translateY(-1px);
}

.nav-toggle span {
   display: block;
   width: 22px;
   height: 2px;
   background: var(--white);
   border-radius: 4px;
   transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
   transform: translateY(9px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
   opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
   transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
   position: fixed;
   inset: 0;
   padding: 88px 0 18px;
   z-index: 12;
   pointer-events: none;
   opacity: 0;
   transform: translateY(-6px);
   visibility: hidden;
   background: radial-gradient(circle at 20% 20%, rgba(87, 184, 217, 0.12), transparent 48%),
      radial-gradient(circle at 80% 18%, rgba(255, 200, 87, 0.12), transparent 50%),
      rgba(4, 12, 48, 0.9);
   overflow-y: auto;
   transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.mobile-menu__inner {
   margin: 0 16px;
   background: linear-gradient(180deg, rgba(4, 12, 48, 0.98), rgba(4, 10, 44, 0.94));
   border: 1px solid rgba(255, 255, 255, 0.12);
   border-radius: 18px;
   box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
   padding: 18px 18px 22px;
   backdrop-filter: blur(12px);
   max-width: 520px;
   width: calc(100% - 32px);
   margin-inline: auto;
   display: grid;
   gap: 14px;
}

.mobile-menu__logo {
   display: flex;
   justify-content: center;
}

.mobile-menu__logo img {
   height: 80px;
   width: auto;
}

.mainNav .mobile-menu__list {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 10px;
   margin: 0;
   padding: 0;
}

.mobile-menu__list a {
   display: block;
   padding: 14px 16px;
   border-radius: 12px;
   color: rgba(220, 239, 247, 0.95);
   text-decoration: none;
   border: 1px solid rgba(255, 255, 255, 0.08);
   background: rgba(255, 255, 255, 0.02);
   transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu__list a:hover,
.mobile-menu__list a:focus-visible {
   border-color: rgba(255, 200, 87, 0.8);
   background: rgba(255, 200, 87, 0.08);
   color: #fff;
   transform: translateX(2px);
}

.mobile-menu__list a[aria-current="page"] {
   border-color: rgba(255, 200, 87, 0.9);
   background: rgba(255, 200, 87, 0.14);
   color: #fff;
}

body.nav-open {
   overflow: hidden;
}

body.nav-open .mobile-menu {
   pointer-events: auto;
   opacity: 1;
   transform: translateY(0);
   visibility: visible;
}

@media (max-width: 980px) {
   .mainNav .inner {
      gap: 18px;
   }

   .mainNav>.inner>ul {
      display: none;
   }

   .nav-toggle {
      display: inline-flex;
   }
}

#hero {
   position: relative;
   display: flex;
   align-items: center;
   min-height: 100vh;
   padding: 180px 0 120px;
   color: #fff;
   overflow: hidden;
}

#hero::after {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
   z-index: 1;
}

#hero .inner {
   position: relative;
   z-index: 2;
   display: flex;
   flex-direction: column;
   gap: 24px;
   max-width: 800px;
   padding: 0 24px;
   justify-content: center;
   align-items: flex-start;
}

#backgroundVideo {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   z-index: 0;
}

#hero h1 {
   font-size: clamp(2.75rem, 5vw, 4.5rem);
   line-height: 1.05;
   font-weight: 600;
}

#hero p {
   font-size: 1.25rem;
   line-height: 1.6;
   max-width: 48ch;
   color: rgba(255, 255, 255, 0.85);
}

.btn-primary {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   padding: 14px 32px;
   background: #ffc857;
   color: #1b1b1b;
   border-radius: 999px;
   border: none;
   text-decoration: none;
   font-weight: 600;
   font-size: 1rem;
   transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
   transform: translateY(-2px);
   background: #ffb72e;
}

.btn-primary:focus-visible {
   outline: 3px solid rgba(255, 200, 87, 0.6);
   outline-offset: 3px;
}

.btn-secondary {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   padding: 12px 26px;
   border-radius: 999px;
   border: 1px solid rgba(120, 193, 227, 0.6);
   color: rgba(220, 239, 247, 0.92);
   text-decoration: none;
   font-weight: 500;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   font-size: 0.9rem;
   transition: transform 0.2s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
   background: rgba(4, 18, 37, 0.35);
   box-shadow: 0 12px 26px rgba(4, 12, 48, 0.32);
}

.btn-secondary:hover {
   transform: translateY(-2px);
   background: rgba(120, 193, 227, 0.18);
   box-shadow: 0 18px 34px rgba(4, 12, 48, 0.42);
}

.btn-secondary:focus-visible {
   outline: 3px solid rgba(120, 193, 227, 0.35);
   outline-offset: 4px;
}

#classes {
   background: radial-gradient(circle at top left, rgba(87, 184, 217, 0.2), transparent 45%),
      linear-gradient(135deg, rgba(4, 10, 44, 0.94), rgba(11, 48, 108, 0.9));
   border: 1px solid rgba(87, 184, 217, 0.18);
   box-shadow: 0 32px 60px rgba(4, 12, 48, 0.4);
}

#classes .lessons-hero__layout {
   position: relative;
   z-index: 1;
   display: grid;
   gap: clamp(36px, 5vw, 60px);
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   align-items: center;
   padding-inline: 32px;
}

#classes .lessons-hero__copy {
   display: flex;
   flex-direction: column;
   gap: 22px;
}

#classes h2 {
   font-size: clamp(2.4rem, 4vw, 3.2rem);
   font-weight: 600;
   margin-bottom: 6px;
}

#classes p {
   max-width: 42ch;
   font-size: 1.2rem;
   color: rgba(220, 239, 247, 0.9);
}

#classes .lessons-hero__cta {
   align-self: flex-start;
   padding-inline: 34px;
   box-shadow: 0 20px 45px rgba(4, 18, 53, 0.5);
}

#classes .lessons-hero__cta:hover {
   box-shadow: 0 24px 55px rgba(4, 18, 53, 0.6);
}

#classes .lessons-hero__media {
   position: relative;
   justify-self: center;
   width: min(400px, 90%);
   aspect-ratio: 1 / 1;
   border-radius: 50%;
   padding: 14px;
   background: linear-gradient(160deg, rgba(120, 193, 227, 0.55), rgba(4, 18, 53, 0.65));
   box-shadow: 0 24px 45px rgba(4, 12, 48, 0.45);
   overflow: hidden;
}

#classes .lessons-hero__image {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 50%;
}

.help-links {
   position: relative;
   min-height: auto;
   padding: clamp(60px, 9vw, 110px) 0;
   border-top: 1px solid rgba(87, 184, 217, 0.18);
   border-bottom: 1px solid rgba(87, 184, 217, 0.16);
   background:
      radial-gradient(circle at 18% 20%, rgba(87, 184, 217, 0.22), transparent 58%),
      radial-gradient(circle at 82% 78%, rgba(255, 200, 87, 0.16), transparent 60%),
      linear-gradient(140deg, rgba(4, 12, 48, 0.92), rgba(11, 48, 108, 0.88));
   box-shadow: 0 28px 52px rgba(4, 12, 48, 0.42);
}

.help-links::before {
   content: "";
   position: absolute;
   inset: 24px clamp(32px, 6vw, 72px);
   border-radius: 32px;
   border: 1px solid rgba(120, 193, 227, 0.22);
   opacity: 0.65;
   pointer-events: none;
}

.help-links .inner {
   position: relative;
   gap: clamp(32px, 6vw, 56px);
   padding: 0 clamp(32px, 6vw, 72px);
}

.help-links__copy {
   text-align: center;
   display: grid;
   gap: 12px;
   justify-items: center;
}

.help-links__eyebrow {
   font-size: 0.85rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: rgba(255, 200, 87, 0.75);
   font-weight: 600;
}

.help-links h3 {
   font-size: clamp(1.8rem, 3.2vw, 2.4rem);
   color: var(--white);
   max-width: 28ch;
}

.help-links__grid {
   list-style: none;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: clamp(24px, 5vw, 32px);
   padding: 0;
   margin: 0;
}

.help-links__item {
   display: flex;
}

.help-links__card {
   display: flex;
   flex-direction: column;
   gap: 20px;
   align-items: center;
   justify-content: flex-start;
   width: 100%;
   padding: 32px 24px 36px;
   border-radius: 28px;
   text-decoration: none;
   background: rgba(4, 18, 53, 0.6);
   border: 1px solid rgba(120, 193, 227, 0.25);
   box-shadow: 0 22px 38px rgba(4, 12, 48, 0.38);
   transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.help-links__card:hover,
.help-links__card:focus-visible {
   transform: translateY(-6px);
   border-color: rgba(255, 200, 87, 0.55);
   box-shadow: 0 30px 55px rgba(4, 12, 48, 0.45);
}

.help-links__card:focus-visible {
   outline: 3px solid rgba(255, 200, 87, 0.4);
   outline-offset: 6px;
}

.help-links__figure {
   display: grid;
   gap: 18px;
   justify-items: center;
   width: 100%;
}

.help-links__image {
   display: block;
   width: 100%;
   aspect-ratio: 4 / 3;
   object-fit: cover;
   border-radius: 20px;
   box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 16px 28px rgba(4, 12, 48, 0.38);
}

.help-links__label {
   font-size: 1.15rem;
   font-weight: 600;
   color: rgba(220, 239, 247, 0.94);
   text-align: center;
   letter-spacing: 0.02em;
}

.help-links__label::after {
   content: ">";
   font-size: 1.05rem;
   color: rgba(255, 200, 87, 0.85);
   display: inline-block;
   transition: transform 0.25s ease;
}

.help-links__card:hover .help-links__label::after,
.help-links__card:focus-visible .help-links__label::after {
   transform: translateX(4px);
}

#timetable {
   background: linear-gradient(180deg, rgba(4, 10, 44, 0.9), rgba(8, 26, 72, 0.9));
}

#timetable .inner {
   max-width: 760px;
   justify-items: start;
}

#timetable p {
   background: rgba(87, 184, 217, 0.12);
   border: 1px solid rgba(87, 184, 217, 0.35);
   border-radius: 18px;
   padding: 28px 32px;
   color: rgba(220, 239, 247, 0.92);
   box-shadow: 0 18px 35px rgba(5, 18, 53, 0.4);
}

#coaches {
   background: radial-gradient(circle at bottom right, rgba(255, 200, 87, 0.18), transparent 50%), linear-gradient(140deg, rgba(8, 30, 78, 0.94), rgba(4, 12, 48, 0.94));
}

#coaches .inner {
   max-width: 920px;
}

#coaches blockquote {
   background: rgba(5, 22, 101, 0.55);
   border-left: 4px solid var(--yellow);
   padding: 28px 32px;
   border-radius: 20px;
   margin: 0;
   box-shadow: 0 18px 35px rgba(4, 12, 48, 0.35);
}

#coaches blockquote p {
   font-size: 1.4rem;
   font-style: italic;
   color: rgba(255, 255, 255, 0.9);
}

#coaches blockquote footer {
   margin-top: 18px;
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   color: rgba(255, 200, 87, 0.85);
}

#coaches p {
   color: rgba(220, 239, 247, 0.85);
}

.section-kicker {
   font-size: 0.8rem;
   text-transform: uppercase;
   letter-spacing: 0.18em;
   font-weight: 600;
   color: rgba(255, 200, 87, 0.85);
}

.news {
   background:
      radial-gradient(circle at 12% 18%, rgba(87, 184, 217, 0.18), transparent 60%),
      radial-gradient(circle at 84% 24%, rgba(255, 200, 87, 0.14), transparent 55%),
      linear-gradient(150deg, rgba(4, 12, 48, 0.95), rgba(8, 28, 82, 0.94));
   border: 1px solid rgba(87, 184, 217, 0.24);
   box-shadow: 0 32px 60px rgba(4, 12, 48, 0.4);
}

.news__layout {
   display: grid;
   gap: clamp(40px, 6vw, 72px);
}

.news__header {
   max-width: 640px;
   display: grid;
   gap: 18px;
}

.news__header h2 {
   color: var(--white);
}

.news__header p {
   color: rgba(220, 239, 247, 0.82);
}

.news__grid {
   display: grid;
   gap: clamp(28px, 4vw, 40px);
   grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.news-card {
   position: relative;
   display: grid;
   gap: 16px;
   padding: clamp(24px, 4vw, 32px);
   border-radius: 22px;
   background: rgba(4, 18, 53, 0.65);
   border: 1px solid rgba(87, 184, 217, 0.28);
   box-shadow: 0 24px 48px rgba(4, 12, 48, 0.32);
   overflow: hidden;
}

.news-card::after {
   content: "";
   position: absolute;
   inset: 12px 12px 12px auto;
   width: 120px;
   border-radius: 18px;
   background: linear-gradient(120deg, rgba(255, 200, 87, 0.18), rgba(87, 184, 217, 0));
   opacity: 0.6;
   pointer-events: none;
}

.news-card__tag {
   font-size: 0.75rem;
   text-transform: uppercase;
   letter-spacing: 0.14em;
   color: rgba(255, 200, 87, 0.82);
   font-weight: 600;
}

.news-card__title {
   font-size: 1.25rem;
   font-weight: 600;
   color: var(--white);
   line-height: 1.4;
}

.news-card__excerpt {
   color: rgba(220, 239, 247, 0.85);
}

.news-card__link {
   justify-self: start;
   font-weight: 600;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   font-size: 0.85rem;
   color: rgba(255, 200, 87, 0.92);
   text-decoration: none;
   position: relative;
   padding-bottom: 2px;
}

.news-card__link::after {
   content: "";
   position: absolute;
   left: 0;
   right: 0;
   bottom: 0;
   height: 2px;
   background: linear-gradient(90deg, rgba(255, 200, 87, 0.1), rgba(255, 200, 87, 0.8));
   transition: transform 0.2s ease;
   transform-origin: left;
   transform: scaleX(0.6);
}

.news-card__link:hover::after,
.news-card__link:focus-visible::after {
   transform: scaleX(1);
}

.testimonials {
   background:
      radial-gradient(circle at 22% 20%, rgba(87, 184, 217, 0.2), transparent 62%),
      radial-gradient(circle at 76% 16%, rgba(255, 200, 87, 0.16), transparent 58%),
      linear-gradient(145deg, rgba(6, 24, 82, 0.94), rgba(4, 12, 48, 0.93));
   border: 1px solid rgba(87, 184, 217, 0.24);
   box-shadow: 0 32px 62px rgba(4, 12, 48, 0.4);
}

.testimonials__layout {
   display: grid;
   gap: clamp(44px, 6vw, 72px);
}

.testimonials__intro {
   max-width: 620px;
   display: grid;
   gap: 18px;
}

.testimonials__intro h2 {
   color: var(--white);
}

.testimonials__intro p {
   color: rgba(220, 239, 247, 0.8);
}

.testimonials__carousel {
   position: relative;
   overflow: hidden;
   padding-bottom: 72px;
}

.testimonials__track {
   display: grid;
   gap: clamp(24px, 4vw, 36px);
   grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
   transition: opacity 0.2s ease;
}

.testimonial-card {
   display: flex;
   flex-direction: column;
   gap: 18px;
   padding: clamp(24px, 4vw, 32px);
   border-radius: 22px;
   background: rgba(4, 18, 53, 0.68);
   border: 1px solid rgba(87, 184, 217, 0.28);
   box-shadow: 0 24px 46px rgba(4, 12, 48, 0.32);
   opacity: 1;
}

.testimonial-card__quote {
   font-size: 1.05rem;
   line-height: 1.6;
   color: rgba(220, 239, 247, 0.92);
}

.testimonial-card__meta {
   font-size: 0.85rem;
   text-transform: uppercase;
   letter-spacing: 0.14em;
   color: rgba(255, 200, 87, 0.75);
   font-weight: 600;
}

.testimonial-card__toggle {
   align-self: flex-start;
   padding: 8px 18px;
   border-radius: 999px;
   border: 1px solid rgba(255, 200, 87, 0.6);
   background: transparent;
   color: var(--white);
   font-size: 0.95rem;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   cursor: pointer;
   transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-card__toggle:hover,
.testimonial-card__toggle:focus-visible {
   background: rgba(255, 200, 87, 0.2);
   color: var(--white);
   transform: translateY(-1px);
   border-color: rgba(255, 200, 87, 0.85);
}

.testimonial-card__toggle:focus-visible {
   outline: 3px solid rgba(255, 200, 87, 0.35);
   outline-offset: 3px;
}

.testimonial-card--expanded .testimonial-card__toggle {
   background: rgba(255, 200, 87, 0.18);
   border-color: rgba(255, 200, 87, 0.85);
}

.testimonial-card__toggle--placeholder {
   visibility: hidden;
   pointer-events: none;
}


.testimonials__controls {
   position: absolute;
   inset: auto 0 -60px;
   display: flex;
   justify-content: flex-end;
   gap: 14px;
}

.testimonials__control {
   width: 42px;
   height: 42px;
   border-radius: 999px;
   border: 1px solid rgba(255, 200, 87, 0.5);
   background: rgba(4, 12, 48, 0.65);
   color: rgba(255, 200, 87, 0.85);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonials__control span {
   font-size: 1.25rem;
   line-height: 1;
}

.testimonials__control:hover,
.testimonials__control:focus-visible {
   transform: translateY(-2px);
   background: rgba(255, 200, 87, 0.18);
   box-shadow: 0 10px 20px rgba(4, 12, 48, 0.32);
}

.testimonials__control:focus-visible {
   outline: 3px solid rgba(255, 200, 87, 0.35);
   outline-offset: 3px;
}

.enrol-invite {
   position: relative;
   isolation: isolate;
   overflow: hidden;
   border: 1px solid rgba(87, 184, 217, 0.28);
   background:
      linear-gradient(160deg, rgba(4, 12, 48, 0.95) 0%, rgba(6, 30, 84, 0.92) 52%, rgba(26, 104, 154, 0.88) 100%);
   box-shadow: 0 32px 62px rgba(4, 12, 48, 0.42);
}

.enrol-invite::before {
   content: "";
   position: absolute;
   inset: -18% -12%;
   z-index: -1;
   background:
      radial-gradient(circle 280px at 18% 32%, rgba(87, 184, 217, 0.32) 0%, rgba(87, 184, 217, 0) 70%),
      radial-gradient(circle 340px at 78% 20%, rgba(255, 200, 87, 0.22) 0%, rgba(255, 200, 87, 0) 72%),
      radial-gradient(circle 260px at 85% 82%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
   opacity: 0.85;
}

.enrol-invite__layout {
   position: relative;
   z-index: 1;
   max-width: 980px;
   margin-inline: auto;
   padding: clamp(60px, 9vw, 92px) clamp(36px, 7vw, 72px);
   gap: clamp(64px, 8vw, 140px);
   grid-template-columns: minmax(320px, 1fr) minmax(280px, 1fr);
   align-items: center;
   justify-items: stretch;
}

.enrol-invite__copy {
   display: flex;
   flex-direction: column;
   gap: 20px;
}

.enrol-invite__copy h2 {
   font-size: clamp(2.2rem, 4vw, 3rem);
   letter-spacing: 0.01em;
}

.enrol-invite__copy p {
   max-width: 46ch;
   color: rgba(220, 239, 247, 0.92);
}

.enrol-invite__cta {
   align-self: flex-start;
   padding-inline: 42px;
   box-shadow: 0 24px 48px rgba(4, 12, 48, 0.5);
}

.enrol-invite__cta-group {
   display: flex;
   flex-wrap: wrap;
   gap: 14px;
}

.enrol-invite__cta-group .enrol-invite__cta {
   align-self: center;
}

.enrol-invite__cta:hover {
   box-shadow: 0 28px 58px rgba(4, 12, 48, 0.58);
}

.enrol-invite__media {
   justify-self: end;
   max-width: min(420px, 100%);
   box-shadow: none;
}

.enrol-invite__media img {
   display: block;
   width: 100%;
   height: auto;
   object-fit: cover;
}

#venues {
   position: relative;
   isolation: isolate;
   overflow: hidden;
   border: 1px solid rgba(87, 184, 217, 0.22);
   background:
      radial-gradient(circle at 20% 22%, rgba(120, 193, 227, 0.18), transparent 62%),
      radial-gradient(circle at 78% 18%, rgba(255, 200, 87, 0.16), transparent 58%),
      radial-gradient(circle at 52% 85%, rgba(87, 184, 217, 0.14), transparent 68%),
      linear-gradient(148deg, rgba(6, 24, 82, 0.95), rgba(4, 12, 48, 0.94));
   box-shadow: 0 32px 60px rgba(4, 12, 48, 0.4);
}

#venues::before {
   content: "";
   position: absolute;
   inset: -18% -12%;
   background: url("assets/map.svg") center / cover no-repeat;
   opacity: 0.32;
   mix-blend-mode: screen;
   z-index: 0;
   pointer-events: none;
}

#venues .inner {
   position: relative;
   z-index: 1;
   max-width: 780px;
   text-align: center;
   justify-items: center;
   gap: 20px;
}

#venues .venues-tagline {
   font-size: clamp(1.1rem, 2.4vw, 1.5rem);
   font-weight: 600;
   color: rgba(255, 200, 87, 0.96);
   letter-spacing: 0.05em;
}

#venues h2 {
   color: var(--white);
}

#venues .venues-button {
   margin-top: 8px;
   padding: 14px 48px;
}

#venues .venues-marker {
   width: clamp(180px, 24vw, 260px);
   color: rgba(255, 200, 87, 0.88);
   margin-bottom: clamp(24px, 5vw, 40px);
   filter: drop-shadow(0 32px 48px rgba(4, 12, 48, 0.55));
}

#venues .venues-marker svg {
   display: block;
   width: 100%;
   height: auto;
   fill: currentColor;
}

#enrol {
   background: linear-gradient(160deg, rgba(4, 10, 44, 0.92), rgba(7, 40, 96, 0.92));
   position: relative;
   overflow: hidden;
}

#enrol::before {
   content: "";
   position: absolute;
   inset: -18% -12% -22%;
   background-image:
      radial-gradient(circle at 22% 24%, rgba(120, 193, 227, 0.28) 0, rgba(120, 193, 227, 0) 55%),
      radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.32) 0, rgba(255, 255, 255, 0) 58%),
      radial-gradient(circle at 60% 76%, rgba(120, 193, 227, 0.24) 0, rgba(120, 193, 227, 0) 54%);
   background-size: 320px 320px, 280px 280px, 340px 340px;
   background-repeat: no-repeat;
   filter: blur(0);
   opacity: 0.45;
   pointer-events: none;
}

#enrol .inner {
   position: relative;
   z-index: 1;
   max-width: 1220px;
   grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
   align-items: center;
   gap: 48px;
}

#enrol .contact-area {
   display: flex;
   flex-direction: column;
   gap: 32px;
   align-items: flex-start;
}

.pool-rules-page #enrol {
   margin-top: 0;
   padding-block: clamp(32px, 5vw, 72px);
}

.pool-rules-page #enrol .inner {
   padding: clamp(28px, 5vw, 60px);
}

#enrol h2 {
   text-align: left;
}

#enrol .contact-intro {
   color: rgba(220, 239, 247, 0.82);
   font-size: 1.05rem;
   line-height: 1.7;
   max-width: 38ch;
}

#enrol .contact-details {
   width: 100%;
   display: flex;
   gap: 24px;
   flex-wrap: wrap;
   background: rgba(4, 12, 48, 0.55);
   border-radius: 22px;
   border: 1px solid rgba(87, 184, 217, 0.28);
   padding: 20px 24px;
   box-shadow: 0 18px 40px rgba(4, 12, 48, 0.32);
}

#enrol .contact-detail {
   display: flex;
   gap: 16px;
   align-items: center;
   flex: 1 1 220px;
   min-width: 200px;
}

#enrol .contact-icon {
   width: 52px;
   height: 52px;
   border-radius: 16px;
   background: rgba(87, 184, 217, 0.16);
   border: 1px solid rgba(87, 184, 217, 0.3);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   color: rgba(255, 255, 255, 0.9);
   box-shadow: 0 10px 20px rgba(4, 12, 48, 0.3);
}

#enrol .contact-icon svg {
   width: 24px;
   height: 24px;
   fill: currentColor;
}

#enrol .contact-method-copy {
   display: flex;
   flex-direction: column;
   gap: 6px;
}

#enrol .contact-details-label {
   font-size: 0.78rem;
   letter-spacing: 0.14em;
   text-transform: uppercase;
   color: rgba(220, 239, 247, 0.7);
   font-weight: 600;
}

#enrol .contact-method-copy a {
   color: rgba(255, 255, 255, 0.92);
   font-weight: 600;
   text-decoration: none;
   transition: color 0.2s ease;
}

#enrol .contact-method-copy a:hover,
#enrol .contact-method-copy a:focus-visible {
   color: var(--yellow);
   outline: none;
}

#enrol .mascot-splash {
   width: clamp(260px, 28vw, 340px);
   height: clamp(260px, 28vw, 340px);
   border-radius: 999px;
   background: radial-gradient(circle at 35% 30%, rgba(255, 200, 87, 0.25), transparent 55%), rgba(87, 184, 217, 0.18);
   border: 1px solid rgba(87, 184, 217, 0.35);
   display: grid;
   place-items: center;
   box-shadow: 0 20px 45px rgba(4, 12, 48, 0.35);
   position: relative;
   overflow: hidden;
}

#enrol .mascot-panel {
   display: flex;
   justify-content: center;
   align-items: center;
}

#enrol .mascot-splash::after {
   content: "";
   position: absolute;
   inset: 26px;
   border-radius: 50%;
   background: radial-gradient(circle, rgba(220, 239, 247, 0.2), transparent 70%);
   pointer-events: none;
}

#enrol .duck-mascot {
   width: 70%;
   height: auto;
   position: relative;
   z-index: 1;
}

.contact-meta {
   display: flex;
   flex-direction: column;
   gap: 10px;
   font-size: 0.95rem;
   color: rgba(220, 239, 247, 0.75);
   max-width: 560px;
}

.contact-meta__copy a {
   color: var(--yellow);
   font-weight: 600;
}

.contact-meta__copy a:hover,
.contact-meta__copy a:focus-visible {
   text-decoration: underline;
}

.local-areas-page main section {
   min-height: auto;
}

.local-areas-hero {
   position: relative;
   overflow: hidden;
   min-height: 100vh;
   height: 100vh;
   display: flex;
   align-items: center;
   box-sizing: border-box;
   padding-top: clamp(200px, 22vh, 260px);
   padding-bottom: clamp(80px, 12vh, 140px);
   background-image:
      linear-gradient(135deg, rgba(4, 12, 48, 0.92), rgba(7, 30, 84, 0.88)),
      url("assets/map.svg");
   background-size: cover;
   background-position: center;
}

.local-areas-hero .inner {
   max-width: 960px;
   display: flex;
   flex-direction: column;
   gap: 20px;
}

.local-areas-hero h1 {
   font-size: clamp(2.6rem, 5vw, 3.6rem);
   line-height: 1.1;
}

.local-areas-hero p {
   max-width: 60ch;
}

.local-areas-hero__cta {
   display: flex;
   flex-wrap: wrap;
   gap: 16px;
   margin-top: 8px;
}

.local-areas {
   padding-block: clamp(80px, 12vh, 140px);
   background:
      radial-gradient(circle at 25% 20%, rgba(87, 184, 217, 0.2), transparent 58%),
      radial-gradient(circle at 80% 15%, rgba(255, 200, 87, 0.18), transparent 64%),
      linear-gradient(160deg, rgba(4, 10, 44, 0.96), rgba(6, 28, 84, 0.94));
   box-shadow: 0 40px 80px rgba(4, 12, 48, 0.55);
}

.local-areas__intro {
   max-width: 760px;
   display: flex;
   flex-direction: column;
   gap: 16px;
   margin-bottom: clamp(32px, 6vh, 48px);
}

.local-areas-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
   gap: clamp(20px, 3vw, 32px);
}

.local-area-card {
   background: rgba(4, 12, 48, 0.55);
   border: 1px solid rgba(87, 184, 217, 0.2);
   border-radius: 24px;
   overflow: hidden;
   box-shadow: 0 28px 48px rgba(4, 12, 48, 0.4);
   display: flex;
   flex-direction: column;
}

.local-area-card__media img {
   display: block;
   width: 100%;
   height: 220px;
   object-fit: cover;
}

.local-area-card__body {
   display: flex;
   flex-direction: column;
   gap: 12px;
   padding: 24px;
}

.local-area-card__body h3 {
   font-size: 1.4rem;
   color: var(--white);
}

.local-area-card__body p {
   color: rgba(220, 239, 247, 0.9);
}

.local-area-card__body .btn-secondary {
   align-self: flex-start;
   margin-top: 8px;
}

#enrol form {
   background: rgba(5, 22, 101, 0.6);
   border-radius: 28px;
   padding: 40px 44px;
   border: 1px solid rgba(220, 239, 247, 0.12);
   box-shadow: 0 25px 50px rgba(4, 12, 48, 0.45);
   display: grid;
   gap: 22px;
   width: 100%;
   grid-template-columns: 1fr;
   align-items: start;
}

#enrol .form-row {
   display: grid;
   gap: 22px;
   grid-template-columns: repeat(2, minmax(0, 1fr));
}

#enrol .form-field {
   display: flex;
   flex-direction: column;
   gap: 10px;
}

#enrol label {
   font-weight: 500;
   font-size: 0.95rem;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   color: rgba(220, 239, 247, 0.75);
}

#enrol input,
#enrol select,
#enrol textarea {
   background: rgba(4, 12, 48, 0.65);
   border: 1px solid rgba(87, 184, 217, 0.35);
   border-radius: 14px;
   padding: 14px 16px;
   color: rgba(220, 239, 247, 0.95);
   font-size: 1rem;
   transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#enrol textarea {
   resize: vertical;
   min-height: 140px;
}

#enrol input:focus,
#enrol select:focus,
#enrol textarea:focus {
   outline: none;
   border-color: rgba(255, 200, 87, 0.75);
   box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.25);
}

#enrol button {
   background: var(--yellow);
   color: var(--black);
   border: none;
   border-radius: 999px;
   padding: 14px 28px;
   font-weight: 600;
   font-size: 1rem;
   cursor: pointer;
   justify-self: start;
   transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
   box-shadow: 0 18px 30px rgba(255, 200, 87, 0.35);
}

#enrol button:hover {
   transform: translateY(-2px);
   background-color: #ffb72e;
}

#enrol button:focus-visible {
   outline: 3px solid rgba(255, 200, 87, 0.4);
   outline-offset: 4px;
}

.mainNav ul li a:focus-visible,
#enrol button:focus-visible,
.btn-primary:focus-visible {
   box-shadow: 0 0 0 3px rgba(220, 239, 247, 0.25);
}

#enrol select option {
   color: #132c4f;
}

.site-footer {
   background:
      radial-gradient(circle 380px at 18% 24%, rgba(87, 184, 217, 0.18), rgba(87, 184, 217, 0) 70%),
      radial-gradient(circle 360px at 78% 16%, rgba(255, 200, 87, 0.18), rgba(255, 200, 87, 0) 74%),
      linear-gradient(180deg, rgba(4, 10, 44, 1), rgba(4, 12, 48, 0.98));
   padding: clamp(48px, 8vh, 80px) 0 0;
   border-top: 1px solid rgba(255, 255, 255, 0.08);
   color: rgba(220, 239, 247, 0.8);
}

.footer__layout {
   display: grid;
   gap: clamp(32px, 4vw, 60px);
   grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.2fr);
   align-items: flex-start;
}

.footer__brand {
   display: flex;
   flex-direction: column;
   gap: 18px;
}

.footer__logo {
   width: 180px;
   height: auto;
}

.footer__brand p {
   margin: 0;
   color: rgba(220, 239, 247, 0.85);
}

.footer__social {
   display: flex;
   gap: 14px;
}

.footer__social a {
   width: 42px;
   height: 42px;
   border-radius: 50%;
   border: 1px solid rgba(255, 255, 255, 0.2);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   color: inherit;
   transition: border-color 0.2s ease, transform 0.2s ease;
}

.footer__social a:hover,
.footer__social a:focus-visible {
   border-color: var(--yellow);
   transform: translateY(-2px);
}

.footer__social svg {
   width: 20px;
   height: 20px;
   fill: currentColor;
   opacity: 0.8;
}

.footer__partners img {
   max-width: 140px;
   width: 100%;
   height: auto;
   filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.footer__links {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
   gap: 24px;
}

.footer__links-group {
   display: flex;
   flex-direction: column;
   gap: 10px;
}

.footer__heading {
   margin: 0;
   font-size: 0.85rem;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   color: var(--yellow);
}

.footer__links-group ul {
   list-style: none;
   margin: 0;
   padding: 0;
   display: flex;
   flex-direction: column;
   gap: 8px;
}

.footer__links-group a {
   color: rgba(220, 239, 247, 0.8);
   text-decoration: none;
   font-weight: 500;
   transition: color 0.2s ease, transform 0.2s ease;
}

.footer__links-group a:hover,
.footer__links-group a:focus-visible {
   color: var(--yellow);
   transform: translateX(3px);
}

.footer__legal {
   border-top: 1px solid rgba(255, 255, 255, 0.08);
   margin-top: clamp(36px, 6vh, 60px);
   padding: 28px 0;
}

.footer__legal p {
   margin: 0;
   color: rgba(220, 239, 247, 0.7);
   font-size: 0.9rem;
   line-height: 1.6;
}



/* --- Venues page --- */
.page-hero {
   position: relative;
   overflow: hidden;
   min-height: 100vh;
   display: flex;
   align-items: center;
   padding: clamp(160px, 24vh, 240px) 0 clamp(120px, 18vh, 150px);
   background:
      radial-gradient(circle 320px at 10% 32%, rgba(122, 207, 254, 0.32) 0%, rgba(122, 207, 254, 0) 72%),
      radial-gradient(circle 280px at 88% 12%, rgba(87, 184, 217, 0.28) 0%, rgba(87, 184, 217, 0) 78%),
      radial-gradient(circle 220px at 75% 84%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 72%),
      linear-gradient(150deg, rgba(4, 10, 44, 0.96) 0%, rgba(5, 22, 101, 0.94) 58%, rgba(13, 68, 122, 0.9) 100%);
}

.page-hero::after {
   content: "";
   position: absolute;
   inset: 0;
   background: url("assets/map.svg") center/cover no-repeat;
   opacity: 0.25;
   pointer-events: none;
   z-index: 0;
}

.page-hero .inner {
   max-width: 900px;
   display: grid;
   gap: clamp(20px, 3vw, 32px);
   justify-items: flex-start;
   position: relative;
   z-index: 1;
}

.page-hero h1 {
   font-size: clamp(2.6rem, 5vw, 3.4rem);
   line-height: 1.12;
   color: var(--white);
}

.page-hero p {
   max-width: 60ch;
}

.page-hero__eyebrow {
   font-size: 0.85rem;
   letter-spacing: 0.24em;
   text-transform: uppercase;
   font-weight: 500;
   color: var(--yellow);
}

.page-hero__cta {
   display: flex;
   gap: 18px;
   flex-wrap: wrap;
}

.section-heading {
   display: grid;
   gap: 16px;
   max-width: 72ch;
}

.section-eyebrow {
   text-transform: uppercase;
   letter-spacing: 0.18em;
   font-size: 0.78rem;
   font-weight: 500;
   color: var(--yellow);
}

.venues-intro,
.venues-list,
.venues-experience {
   min-height: auto;
   justify-content: flex-start;
   padding: clamp(90px, 14vh, 130px) 0;
   position: relative;
}

.venues-intro::before,
.venues-list::before,
.venues-experience::before {
   content: "";
   position: absolute;
   inset: 8%;
   border-radius: 32px;
   z-index: -1;
   opacity: 0.4;
   background:
      radial-gradient(circle 320px at 18% 28%, rgba(122, 207, 254, 0.28) 0%, rgba(122, 207, 254, 0) 72%),
      radial-gradient(circle 260px at 82% 18%, rgba(87, 184, 217, 0.24) 0%, rgba(87, 184, 217, 0) 72%);
}

.venues-intro,
.venues-experience {
   background:
      linear-gradient(150deg, rgba(4, 10, 44, 0.92) 0%, rgba(6, 30, 84, 0.9) 56%, rgba(13, 68, 122, 0.88) 100%);
}

.venues-list {
   background:
      linear-gradient(150deg, rgba(4, 12, 48, 0.92) 0%, rgba(7, 36, 102, 0.9) 52%, rgba(14, 72, 128, 0.88) 100%);
}

.venues-intro .inner,
.venues-list .inner,
.venues-experience .inner {
   position: relative;
   z-index: 1;
   gap: clamp(36px, 6vw, 52px);
}

.venues-intro__grid {
   display: grid;
   gap: clamp(24px, 4vw, 36px);
   grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-card,
.venue-card,
.experience-card {
   border: 1px solid rgba(87, 184, 217, 0.32);
   border-radius: 28px;
   padding: clamp(26px, 4vw, 32px);
   background:
      linear-gradient(160deg, rgba(6, 22, 84, 0.94) 0%, rgba(13, 68, 122, 0.92) 52%, rgba(16, 86, 148, 0.9) 100%);
   box-shadow: 0 24px 50px rgba(4, 12, 48, 0.45);
   display: grid;
   gap: 14px;
}

.intro-card h3,
.venue-card h3,
.experience-card h3 {
   font-size: clamp(1.45rem, 2.6vw, 1.7rem);
   color: var(--white);
}

.intro-card p,
.venue-card p,
.experience-card p {
   color: rgba(220, 239, 247, 0.88);
}

.venue-card {
   gap: 18px;
   align-content: start;
}

.venue-card__media {
   width: 100%;
   border-radius: 22px;
   overflow: hidden;
   aspect-ratio: 16 / 9;
   background: rgba(220, 239, 247, 0.08);
   box-shadow: 0 18px 36px rgba(4, 12, 48, 0.35);
}

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

.venue-card__summary {
   font-weight: 500;
   color: var(--yellow);
}

.venue-card__details,
.experience-list {
   list-style: none;
   display: grid;
   gap: 12px;
   padding: 0;
   margin: 0;
}

.venue-card__details li,
.experience-list li {
   position: relative;
   padding-left: 22px;
   color: rgba(220, 239, 247, 0.86);
}

.venue-card__details a {
   color: inherit;
   text-decoration: underline;
   text-decoration-color: currentColor;
}

.venue-card__details a:hover,
.venue-card__details a:focus-visible {
   color: inherit;
}

.venue-card__details li::before,
.experience-list li::before {
   content: "";
   position: absolute;
   top: 10px;
   left: 0;
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: var(--yellow);
   box-shadow: 0 0 12px rgba(252, 201, 86, 0.5);
}

.venues-grid {
   display: grid;
   gap: clamp(28px, 4vw, 36px);
   grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experience-grid {
   display: grid;
   gap: clamp(24px, 4vw, 36px);
   grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experience-callout {
   border-radius: 26px;
   border: 1px solid rgba(252, 201, 86, 0.3);
   background:
      linear-gradient(160deg, rgba(252, 201, 86, 0.16) 0%, rgba(87, 184, 217, 0.12) 100%);
   padding: clamp(24px, 4vw, 32px);
   color: rgba(220, 239, 247, 0.94);
   font-weight: 400;
   max-width: 72ch;
}

.experience-callout a {
   color: var(--white);
   font-weight: 600;
   text-decoration: none;
}

.experience-callout a:hover,
.experience-callout a:focus-visible {
   text-decoration: underline;
}

.venues-list .btn-secondary {
   justify-self: flex-start;
}


.page-anchor {
   display: block;
   height: 0;
}

.pool-rules-page main {
   display: flex;
   flex-direction: column;
   gap: 0;
}

.pool-rules-page main section {
   min-height: 100vh;
   padding: 0;
}

.pool-rules-hero {
   background:
      radial-gradient(circle at 22% 18%, rgba(87, 184, 217, 0.25), transparent 60%),
      radial-gradient(circle at 78% 12%, rgba(252, 201, 86, 0.18), transparent 58%),
      radial-gradient(circle at 18% 86%, rgba(255, 255, 255, 0.08), transparent 70%),
      linear-gradient(150deg, rgba(4, 10, 44, 0.96), rgba(6, 32, 94, 0.9), rgba(10, 58, 128, 0.88));
}

.pool-rules-hero .lessons-page-hero__media {
   max-width: min(540px, 95%);
}

.pool-rules-page .lessons-page-hero {
   padding-bottom: clamp(36px, 5vw, 80px);
}

.rules-guidance {
   position: relative;
   isolation: isolate;
   margin: 0;
   border-radius: 0;
   border: 1px solid rgba(87, 184, 217, 0.28);
   background:
      radial-gradient(circle at 78% 18%, rgba(252, 201, 86, 0.16), transparent 60%),
      linear-gradient(160deg, rgba(4, 10, 44, 0.92), rgba(6, 26, 84, 0.92), rgba(12, 60, 126, 0.88));
   box-shadow: 0 32px 64px rgba(4, 12, 48, 0.45);
}

.rules-guidance .inner {
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: clamp(24px, 4vw, 52px);
   padding: clamp(32px, 6vw, 72px);
}

.rules-guidance__summary,
.rules-guidance__callout {
   display: flex;
   flex-direction: column;
   gap: 18px;
}

.rules-guidance__callout {
   border-radius: 28px;
   border: 1px solid rgba(252, 201, 86, 0.32);
   background: rgba(4, 12, 48, 0.6);
   padding: clamp(20px, 4vw, 32px);
   box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.05);
}

.rules-guidance__list {
   list-style: none;
   padding: 0;
   margin: 0;
   display: grid;
   gap: 12px;
}

.rules-guidance__list li {
   position: relative;
   padding-left: 28px;
   color: rgba(220, 239, 247, 0.9);
}

.rules-guidance__list li::before {
   content: "";
   position: absolute;
   left: 0;
   top: 10px;
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background: var(--yellow);
   box-shadow: 0 0 12px rgba(252, 201, 86, 0.4);
}

.rules-grid-section {
   border-radius: 0;
   border: 1px solid rgba(87, 184, 217, 0.24);
   margin: 0;
   background:
      radial-gradient(circle at 82% 18%, rgba(87, 184, 217, 0.2), transparent 62%),
      linear-gradient(160deg, rgba(4, 12, 48, 0.94), rgba(6, 28, 86, 0.92), rgba(12, 56, 126, 0.88));
   box-shadow: 0 36px 68px rgba(4, 12, 48, 0.45);
}

.rules-grid-section .inner {
   padding: clamp(36px, 6vw, 80px);
   gap: clamp(28px, 4vw, 48px);
}

.rules-grid-intro {
   max-width: 760px;
   display: flex;
   flex-direction: column;
   gap: 16px;
}

.rules-grid {
   display: flex;
   flex-wrap: wrap;
   gap: clamp(20px, 3vw, 28px);
   justify-content: center;
}

.rule-card {
   display: flex;
   gap: 18px;
   align-items: flex-start;
   padding: clamp(22px, 3vw, 32px);
   border-radius: 26px;
   border: 1px solid rgba(255, 255, 255, 0.12);
   background: rgba(4, 10, 44, 0.65);
   box-shadow: inset 0 1px 12px rgba(255, 255, 255, 0.04);
   flex: 1 1 clamp(300px, 32vw, 360px);
   max-width: 420px;
   width: 100%;
}

.rule-card__number {
   width: clamp(44px, 5vw, 56px);
   height: clamp(44px, 5vw, 56px);
   border-radius: 50%;
   background: var(--yellow);
   color: var(--black);
   font-weight: 700;
   font-size: 1.1rem;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   box-shadow: 0 14px 26px rgba(4, 12, 48, 0.4);
}

.rule-card__content {
   display: flex;
   flex-direction: column;
   gap: 10px;
}

.rule-card__content h3 {
   font-size: 1.2rem;
   color: var(--white);
}

.rule-card__content p {
   color: rgba(220, 239, 247, 0.88);
   font-size: 1rem;
}

.rules-note {
   border-left: 4px solid var(--yellow);
   padding-left: 20px;
   margin: 0;
   font-weight: 400;
   color: rgba(220, 239, 247, 0.9);
}


/* --- Meet the team page --- */
.team-hero {
   background:
      radial-gradient(circle 320px at 12% 32%, rgba(122, 207, 254, 0.32) 0%, rgba(122, 207, 254, 0) 70%),
      radial-gradient(circle 260px at 82% 18%, rgba(87, 184, 217, 0.28) 0%, rgba(87, 184, 217, 0) 72%),
      linear-gradient(150deg, rgba(4, 10, 44, 0.96) 0%, rgba(5, 22, 101, 0.94) 58%, rgba(13, 68, 122, 0.9) 100%);
}

.team-hero__media {
   max-width: min(520px, 90vw);
   width: 100%;
   border: none;
   background: none;
   box-shadow: none;
   border-radius: 0;
}

.team-hero__media img {
   height: 100%;
   min-height: 360px;
   object-fit: cover;
}

.team-section {
   position: relative;
   padding: clamp(90px, 14vh, 140px) 0;
   min-height: auto;
}

.team-section--instructors {
   background:
      radial-gradient(circle 320px at 16% 28%, rgba(122, 207, 254, 0.26) 0%, rgba(122, 207, 254, 0) 70%),
      radial-gradient(circle 320px at 78% 18%, rgba(87, 184, 217, 0.24) 0%, rgba(87, 184, 217, 0) 70%),
      linear-gradient(150deg, rgba(4, 12, 48, 0.94) 0%, rgba(6, 30, 84, 0.92) 52%, rgba(14, 72, 128, 0.9) 100%);
}

.team-section--assistants {
   background:
      radial-gradient(circle 320px at 12% 20%, rgba(255, 209, 92, 0.18) 0%, rgba(255, 209, 92, 0) 70%),
      radial-gradient(circle 280px at 72% 80%, rgba(122, 207, 254, 0.24) 0%, rgba(122, 207, 254, 0) 70%),
      linear-gradient(150deg, rgba(5, 22, 72, 0.94) 0%, rgba(10, 58, 120, 0.9) 56%, rgba(16, 96, 160, 0.88) 100%);
}

.team-section__intro {
   display: grid;
   gap: 18px;
   max-width: 72ch;
}

.team-groups {
   display: grid;
   gap: clamp(28px, 5vw, 48px);
}

.team-group {
   display: grid;
   gap: 18px;
}

.team-group__label {
   font-size: 0.95rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: rgba(252, 201, 86, 0.9);
   margin: 0;
}

.team-grid {
   display: grid;
   gap: clamp(24px, 4vw, 36px);
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-grid--duo {
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.team-card {
   border: 1px solid rgba(87, 184, 217, 0.35);
   border-radius: 32px;
   padding: clamp(22px, 3vw, 32px);
   background:
      linear-gradient(156deg, rgba(6, 22, 84, 0.9) 0%, rgba(13, 68, 122, 0.88) 52%, rgba(16, 86, 148, 0.86) 100%);
   box-shadow: 0 26px 60px rgba(4, 12, 48, 0.45);
   display: grid;
   gap: 18px;
   height: 100%;
}

.team-grid--assistants .team-card {
   background:
      linear-gradient(156deg, rgba(6, 30, 84, 0.9) 0%, rgba(17, 90, 150, 0.88) 52%, rgba(19, 110, 168, 0.86) 100%);
}

.team-card__media {
   border-radius: 999px;
   overflow: hidden;
   aspect-ratio: 1 / 1;
   border: 1px solid rgba(255, 255, 255, 0.1);
   max-width: 220px;
   width: 100%;
   margin: 0 auto 24px;
}

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

.team-card__body {
   display: grid;
   gap: 12px;
}

.team-card__body h3 {
   margin: 0;
   font-size: 1.4rem;
   color: var(--white);
}

.team-card__body p {
   margin: 0;
   color: rgba(220, 239, 247, 0.86);
   line-height: 1.6;
}

.team-cta {
   background:
      radial-gradient(circle 320px at 20% 24%, rgba(122, 207, 254, 0.24) 0%, rgba(122, 207, 254, 0) 72%),
      linear-gradient(150deg, rgba(4, 10, 44, 0.94) 0%, rgba(5, 32, 101, 0.92) 58%, rgba(13, 68, 122, 0.9) 100%);
   padding: clamp(80px, 12vh, 120px) 0;
}

.team-cta__layout {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: clamp(24px, 4vw, 48px);
}

.team-cta__layout>div:first-child {
   max-width: 56ch;
   display: grid;
   gap: 14px;
}

.team-cta .lessons-page-hero__cta {
   justify-content: flex-end;
}

.team-cta h2 {
   margin: 0;
}

/* --- Dark mode --- */
@media (prefers-color-scheme: dark) {
   body {
      background-color: #2b2b2b;
      color: #ccc !important;
   }
}

/* Small desktop sizing issues --- */
@media only screen and (max-width: 1100px) {
   .page-hero {
      padding: clamp(140px, 24vh, 200px) 0 clamp(100px, 18vh, 130px);
   }

   .page-hero .inner {
      max-width: 760px;
   }

   .venues-intro__grid,
   .experience-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }

   .about-story::before,
   .about-story::after {
      opacity: 0.62;
   }

   .about-story .inner {
      grid-template-columns: 1fr;
      justify-items: center;
      text-align: center;
      padding: 0 36px;
   }

   .about-story__content {
      align-items: center;
   }

   .about-story__goals li {
      justify-content: center;
      padding-left: 0;
      padding-top: 28px;
   }

   .about-story__goals li::before {
      left: 50%;
      top: 0;
      transform: translate(-50%, 0);
   }

   .about-story__media {
      margin-top: 12px;
   }

   #enrol .inner {
      gap: 40px;
   }

   #enrol .mascot-splash {
      width: 320px;
      height: 320px;
   }
}

/* --- Mobile styles --- */
@media only screen and (max-width: 900px) {
   .page-hero {
      padding: clamp(120px, 22vh, 180px) 0 clamp(80px, 16vh, 110px);
   }

   .page-hero .inner {
      justify-items: center;
      text-align: center;
   }

   .pool-rules-page main section {
      padding: 0;
   }

   .rules-guidance,
   .rules-grid-section {
      margin: 0;
   }

   .rules-guidance .inner,
   .rules-grid-section .inner {
      padding: 32px 24px;
   }

   .page-hero__cta {
      justify-content: center;
   }

   .section-heading {
      text-align: center;
      justify-items: center;
   }

   .venues-intro::before,
   .venues-list::before,
   .venues-experience::before {
      inset: 12% 8%;
   }

   .venues-intro__grid,
   .venues-grid,
   .experience-grid {
      grid-template-columns: minmax(0, 1fr);
   }

   .experience-callout {
      text-align: center;
   }

   .rule-card {
      flex-direction: column;
   }

   .rule-card__number {
      width: 38px;
      height: 38px;
   }

   .enrol-invite__layout {
      padding: 48px 24px;
      grid-template-columns: 1fr;
      justify-items: center;
   }

   .enrol-invite__copy {
      align-items: center;
      text-align: center;
   }

   .footer__layout {
      grid-template-columns: minmax(0, 1fr);
      text-align: center;
   }

   .footer__brand,
   .footer__links {
      align-items: center;
      text-align: center;
   }

   .footer__social {
      justify-content: center;
   }

   .footer__links {
      grid-template-columns: minmax(0, 1fr);
   }

   .enrol-invite__cta-group {
      justify-content: center;
      width: 100%;
   }

   .enrol-invite__cta {
      align-self: center;
      max-width: 260px;
      width: 100%;
      text-align: center;
   }

   .enrol-invite__media {
      max-width: min(360px, 100%);
      justify-self: center;
   }

   .news__grid {
      grid-template-columns: minmax(0, 1fr);
   }

   .testimonials__track {
      grid-template-columns: minmax(0, 1fr);
   }

   .testimonials__controls {
      inset: auto 0 -48px;
      justify-content: center;
   }

   #classes .lessons-hero__layout {
      padding-inline: 24px;
   }

   #enrol .inner {
      grid-template-columns: 1fr;
      justify-items: center;
      text-align: center;
   }

   #classes .lessons-hero__copy {
      align-items: center;
      text-align: center;
   }

   #classes .lessons-hero__cta {
      align-self: center;
   }

   #classes p {
      max-width: 46ch;
   }

   .about-story .inner {
      padding: 0 28px;
   }

   .about-story__image-frame {
      width: min(320px, 100%);
      padding: 26px;
   }

   .about-story::after {
      opacity: 0.58;
   }

   #enrol .contact-area {
      align-items: center;
      text-align: center;
      gap: 28px;
   }

   #enrol h2 {
      text-align: center;
   }

   #enrol .contact-intro {
      max-width: 45ch;
   }

   #enrol .contact-details {
      justify-content: center;
   }

   #enrol .form-row {
      grid-template-columns: 1fr;
   }

   #enrol button {
      justify-self: center;
      width: 100%;
   }

   .mainNav .inner {
      padding: 0 20px;
   }

   .mainNav>.inner>ul {
      display: none;
   }

   .help-links {
      padding: clamp(48px, 14vw, 84px) 0;
   }

   .help-links::before {
      inset: 18px 24px;
      border-radius: 26px;
   }

   .help-links .inner {
      padding: 0 24px;
      gap: 36px;
   }

   .help-links__card {
      padding: 28px 20px 30px;
   }

   .about-page .lessons-page-hero__layout {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 32px;
   }

   .about-page .lessons-page-hero__copy {
      align-items: flex-start;
      justify-self: auto;
      text-align: left;
      width: 100%;
   }

   .about-page .lessons-page-hero__cta {
      width: auto;
      justify-content: flex-start;
      flex-wrap: wrap;
   }

   .about-page .lessons-page-hero__cta .btn-primary,
   .about-page .lessons-page-hero__cta .btn-secondary {
      flex: 0 0 auto;
      min-width: auto;
   }

   .about-page .lessons-page-hero__media {
      align-self: stretch;
      width: 100%;
      max-width: none;
   }

   .about-page .lessons-support__layout {
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      gap: 32px;
   }

   .about-page .lessons-support__content {
      align-items: flex-start;
      text-align: left;
      gap: 20px;
      width: 100%;
   }

   .about-page .lessons-support__media {
      order: 2;
      width: 100%;
      max-width: none;
      justify-content: flex-start;
      min-height: auto;
   }

   .about-page .lessons-support__media img {
      width: 100%;
      height: auto;
   }

}

@media only screen and (max-width: 600px) {
   .page-hero {
      padding: clamp(110px, 26vh, 160px) 0 clamp(70px, 18vh, 100px);
   }

   .page-hero h1 {
      font-size: clamp(2.1rem, 8vw, 2.5rem);
   }

   .page-hero__eyebrow {
      letter-spacing: 0.18em;
   }

   .rules-guidance,
   .rules-grid-section {
      margin: 0;
   }

   .rules-guidance .inner,
   .rules-grid-section .inner {
      padding: 28px 20px;
   }

   .rule-card__number {
      width: 34px;
      height: 34px;
   }

   .rules-note {
      padding-left: 16px;
   }

   .experience-callout {
      padding: 24px 20px;
   }

   .enrol-invite__layout {
      padding: 40px 20px;
   }

   .enrol-invite__cta-group {
      flex-direction: column;
      gap: 12px;
   }

   .news-card {
      padding: 22px;
   }

   .testimonials__control {
      width: 38px;
      height: 38px;
   }

   #enrol form {
      padding: 32px 28px;
   }

   .about-story {
      padding: 84px 0;
   }

   .about-story::before,
   .about-story::after {
      opacity: 0.5;
   }

   #enrol .contact-details {
      padding: 20px 20px;
   }

   .help-links {
      padding: 42px 0;
   }

   .help-links::before {
      inset: 14px 16px;
      border-radius: 24px;
   }

   .help-links .inner {
      padding: 0 16px;
      gap: 28px;
   }

   .help-links__grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 20px;
   }

   .help-links__card {
      padding: 24px 18px 28px;
   }

   .help-links__eyebrow {
      letter-spacing: 0.16em;
   }

   .about-page .lessons-page-hero__cta {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: flex-start;
      gap: 12px;
   }

   .about-page .lessons-page-hero__cta .btn-primary,
   .about-page .lessons-page-hero__cta .btn-secondary {
      width: auto;
      min-width: auto;
   }

   .about-page .about-story__content {
      align-items: stretch;
      text-align: left;
      gap: 20px;
   }

   .about-page .about-story__goals li {
      text-align: left;
   }

   .about-page .lessons-support__content {
      gap: 16px;
   }

   .about-page .news__header {
      width: 100%;
   }

}

@media only screen and (max-width: 1100px) {
   .team-cta__layout {
      flex-direction: column;
      text-align: center;
      align-items: center;
   }

   .team-cta .lessons-page-hero__cta {
      justify-content: center;
   }

   .footer__layout {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
   }
}

@media only screen and (max-width: 900px) {
   .team-grid {
      grid-template-columns: minmax(0, 1fr);
   }

   .team-hero__media img {
      min-height: 280px;
   }

   .contact-overview__layout {
      justify-items: start;
   }

   .contact-overview__panel {
      width: 100%;
   }

   .local-areas-hero {
      padding-top: 160px;
      min-height: auto;
   }

   .local-area-card__media img {
      height: 200px;
   }
}

@media only screen and (max-width: 600px) {
   .team-card {
      padding: 20px;
   }

   .team-card__media {
      aspect-ratio: 1 / 1;
   }

   .team-cta__layout {
      gap: 24px;
   }

   .contact-overview__cta {
      flex-direction: column;
   }

   .contact-overview__cta .btn-primary,
   .contact-overview__cta .btn-secondary {
      width: 100%;
      text-align: center;
   }

   .local-areas-hero__cta {
      flex-direction: column;
   }

   .local-areas-hero__cta .btn-primary,
   .local-areas-hero__cta .btn-secondary {
      width: 100%;
      text-align: center;
   }
}

.terms-page main,
.privacy-page main,
.faqs-page main {
   background: linear-gradient(180deg, #030d2f, #071d4c);
}

.terms-content,
.policy-content,
.faq-content {
   padding: 4rem 0 5rem;
   color: rgba(220, 239, 247, 0.92);
}

.terms-content__layout,
.policy-content__layout,
.faq-content__layout {
   max-width: 960px;
   margin: 0 auto;
}

.terms-content__body,
.policy-content__body,
.faq-content__body {
   background: rgba(7, 20, 52, 0.85);
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: 24px;
   padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
   box-shadow: 0 35px 80px rgba(3, 9, 28, 0.6);
}

.terms-content__body h2,
.policy-content__body h2,
.faq-content__body h2 {
   margin-top: 2.25rem;
   margin-bottom: 1rem;
   font-size: clamp(1.4rem, 2vw, 1.95rem);
   color: #ffcc4d;
}

.terms-content__body h2:first-of-type,
.policy-content__body h2:first-of-type,
.faq-content__body h2:first-of-type {
   margin-top: 0;
}

.terms-content__body p,
.policy-content__body p,
.faq-content__body p {
   margin-bottom: 1rem;
   line-height: 1.7;
}

.terms-content__body ul,
.policy-content__body ul,
.faq-content__body ul {
   margin: 0 0 1.5rem 1.25rem;
   padding: 0;
   display: grid;
   gap: 0.5rem;
   list-style: disc;
}

.terms-content__body li,
.policy-content__body li,
.faq-content__body li {
   line-height: 1.6;
}

.terms-content__body a,
.policy-content__body a,
.faq-content__body a {
   color: #7ed9ff;
   text-decoration: underline;
   text-decoration-thickness: 2px;
   text-decoration-color: rgba(255, 255, 255, 0.45);
}

.terms-content__body a:hover,
.terms-content__body a:focus-visible,
.policy-content__body a:hover,
.policy-content__body a:focus-visible,
.faq-content__body a:hover,
.faq-content__body a:focus-visible {
   color: #fff6c7;
   text-decoration-color: currentColor;
}

.terms-content__body a.btn-primary,
.terms-content__body a.btn-primary:hover,
.terms-content__body a.btn-primary:focus-visible {
   text-decoration: none;
   color: #1b1b1b;
}

.terms-content__body a.btn-secondary,
.terms-content__body a.btn-secondary:hover,
.terms-content__body a.btn-secondary:focus-visible {
   text-decoration: none;
   color: rgba(220, 239, 247, 0.92);
}

.faq-list {
   display: grid;
   gap: 1.75rem;
   margin-top: 2rem;
}

.faq-item {
   padding: 1.5rem 1.25rem;
   border-radius: 18px;
   border: 1px solid rgba(255, 255, 255, 0.08);
   background: rgba(10, 25, 66, 0.7);
   box-shadow: 0 25px 60px rgba(4, 9, 30, 0.4);
}

.faq-item h2 {
   margin: 0 0 0.75rem;
   font-size: 1.2rem;
   color: #f9f6ff;
}

@media (max-width: 768px) {

   .terms-content,
   .policy-content,
   .faq-content {
      padding: 3rem 0;
   }

   .terms-content__body,
   .policy-content__body,
   .faq-content__body {
      padding: 2rem 1.5rem;
   }

   .terms-content__body ul,
   .policy-content__body ul,
   .faq-content__body ul {
      margin-left: 1rem;
   }
}
