/* Myswim — site styles (warm edition) */
:root {
  /* water */
  --lagoon: #1e9ec9;
  --lagoon-deep: #147aa0;
  --ocean: #0e5877;
  --ocean-ink: #0b3f57;
  --aqua: #62cbe4;
  --aqua-soft: #d6f1f7;
  /* warmth */
  --coral: #f0654a;
  --coral-deep: #d94d33;
  --coral-shadow: #b93d26;
  --sun: #ffc247;
  --sun-deep: #e6a51e;
  --peach: #ffe1cf;
  --peach-soft: #fff0e5;
  --sand: #fff8ef;
  --cream: #fffdf9;
  /* text */
  --ink: #23303a;
  --ink-soft: #5b6b76;
  --ink-mute: #8797a2;
  --line: #f0e2d3;
  --line-cool: #d9ecf2;
  /* stage colours */
  --st-baby: #f7a33a;
  --st-pre: #6cbb4b;
  --st-lts: #1e9ec9;
  --st-adv: #2f5f8f;
  --st-adult: #6b7f8f;
  --st-private: #f0654a;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(120, 74, 30, 0.10);
  --shadow-lift: 0 18px 40px rgba(120, 74, 30, 0.16);
  --max: 1160px;
  --font-display: "Baloo 2", "Nunito", "Segoe UI", Arial, sans-serif;
  --font-body: "Nunito", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.45em;
  text-wrap: balance;
  color: var(--ocean-ink);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.32rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 0.7em;
}
.eyebrow::before { content: ""; width: 22px; height: 6px; border-radius: 3px; background: var(--sun); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 64px 0; position: relative; }
.section--sand { background: var(--sand); }
.section--peach { background: linear-gradient(180deg, var(--peach-soft), var(--sand)); }
.section--ocean { background: linear-gradient(160deg, var(--ocean) 0%, var(--lagoon-deep) 100%); color: #fff; }
.section--ocean h2, .section--ocean h3 { color: #fff; }
.section--ocean .lead { color: #d7eef6; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* Wave dividers */
.wave { display: block; width: 100%; height: 42px; }
.wave--bottom { position: absolute; left: 0; right: 0; bottom: -1px; }
.wave--top { position: absolute; left: 0; right: 0; top: -1px; transform: scaleY(-1); }

/* Buttons — chunky, friendly pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em;
  padding: 13px 26px; border-radius: 999px; text-decoration: none; border: 0;
  cursor: pointer; line-height: 1.2; min-height: 50px; position: relative;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--coral {
  background: linear-gradient(180deg, #ff7a5e 0%, var(--coral) 60%, var(--coral-deep) 100%);
  color: #fff; box-shadow: 0 4px 0 var(--coral-shadow), 0 10px 22px rgba(240, 101, 74, 0.32);
}
.btn--coral:hover { box-shadow: 0 6px 0 var(--coral-shadow), 0 16px 28px rgba(240, 101, 74, 0.36); }
.btn--coral:active { box-shadow: 0 2px 0 var(--coral-shadow), 0 6px 14px rgba(240, 101, 74, 0.3); }
.btn--sun {
  background: linear-gradient(180deg, #ffd36b 0%, var(--sun) 60%, #f5b62f 100%);
  color: var(--ocean-ink); box-shadow: 0 4px 0 var(--sun-deep), 0 10px 22px rgba(255, 194, 71, 0.35);
}
.btn--sun:hover { box-shadow: 0 6px 0 var(--sun-deep), 0 16px 28px rgba(255, 194, 71, 0.4); }
.btn--lagoon {
  background: linear-gradient(180deg, #34b1da 0%, var(--lagoon) 60%, var(--lagoon-deep) 100%);
  color: #fff; box-shadow: 0 4px 0 #0f6484, 0 10px 22px rgba(30, 158, 201, 0.3);
}
.btn--lagoon:hover { box-shadow: 0 6px 0 #0f6484, 0 16px 28px rgba(30, 158, 201, 0.35); }
.btn--ghost {
  background: #fff; color: var(--lagoon-deep); box-shadow: inset 0 0 0 2px var(--line-cool), 0 4px 0 var(--line-cool);
}
.btn--ghost:hover { background: var(--aqua-soft); box-shadow: inset 0 0 0 2px var(--aqua), 0 6px 0 var(--line-cool); }
.btn--light { background: #fff; color: var(--ocean); box-shadow: 0 4px 0 rgba(0,0,0,.12), 0 10px 22px rgba(0,0,0,.15); }
.btn--light:hover { background: var(--sand); }
.btn--sm { padding: 10px 20px; min-height: 42px; font-size: .98rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; align-items: center; }

/* Header */
.topbar { background: var(--ocean-ink); color: #cfe7f2; font-size: 0.9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--sun); }
.topbar__phones { display: flex; gap: 20px; flex-wrap: wrap; }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 4px 20px rgba(120, 74, 30, 0.06);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-family: var(--font-display); font-weight: 700; font-size: 1.04rem;
  color: var(--ink); text-decoration: none; padding: 10px 15px; border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--peach-soft); color: var(--coral-deep); }
.nav a[aria-current="page"] { background: var(--aqua-soft); color: var(--ocean); }
.nav .btn { margin-left: 10px; padding: 10px 22px; min-height: 44px; font-size: 1rem; }
.nav .btn:hover { background: linear-gradient(180deg, #ff7a5e 0%, var(--coral) 60%, var(--coral-deep) 100%); color: #fff; }
.menu-btn {
  display: none; background: #fff; border: 2px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink); cursor: pointer;
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--ocean); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,63,87,.92) 0%, rgba(14,88,119,.78) 48%, rgba(30,158,201,.28) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 110px; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: .4em; text-shadow: 0 2px 12px rgba(0,0,0,.15); }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero p { font-size: 1.2rem; max-width: 50ch; color: #e6f4fa; }
.hero .eyebrow { color: var(--sun); }
.hero .eyebrow::before { background: var(--sun); }
.hero .wave--bottom { z-index: 1; }
.hero__badge {
  position: absolute; right: 6%; bottom: 16%; z-index: 1;
  background: var(--sun); color: var(--ocean-ink); font-family: var(--font-display); font-weight: 800;
  padding: 10px 18px; border-radius: 999px; transform: rotate(-4deg); box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.hero__phones { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.hero__phones a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.hero__phones a:hover { color: var(--sun); }
.hero__phones svg { width: 18px; height: 18px; color: var(--sun); }
.side__link { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--coral-deep); }

/* Fact strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { background: #fff; border-radius: var(--radius-sm); padding: 18px 20px 18px 22px; border: 1px solid var(--line); position: relative; box-shadow: 0 6px 18px rgba(120,74,30,.05); }
.fact::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 0 4px 4px 0; background: var(--sun); }
.fact:nth-child(2)::before { background: var(--coral); }
.fact:nth-child(3)::before { background: var(--lagoon); }
.fact:nth-child(4)::before { background: var(--st-pre); }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ocean); line-height: 1.2; }
.fact span { color: var(--ink-soft); font-size: .95rem; }

/* Stage cards (find your level) */
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.stage {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; text-decoration: none; color: inherit; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease; position: relative;
}
.stage:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.stage__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.stage__age {
  position: absolute; top: 14px; left: 14px; background: #fff; color: var(--ocean); font-size: .78rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.stage__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.stage h3 { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stage h3::after { content: "›"; color: var(--coral); font-size: 1.5rem; line-height: 1; }
.stage p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.stage__levels { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-block; font-size: .8rem; font-weight: 800; padding: 5px 11px; border-radius: 999px;
  background: var(--peach); color: #8a3f2b;
}

/* Level pathway ladder */
.ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 14px 0 6px; }
.ladder__item {
  text-align: center; text-decoration: none; color: var(--ink); min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 10px 14px;
  position: relative; box-shadow: 0 6px 18px rgba(120,74,30,.06); transition: transform .15s ease, box-shadow .15s ease;
}
.ladder__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ladder__item img, .ladder__item .initials { width: 78px; height: 78px; object-fit: contain; margin: 0 auto 8px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff 0%, var(--peach-soft) 100%); padding: 8px; box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--stage, var(--lagoon)) 55%, #fff); }
.ladder__item strong { display: block; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.2; }
.ladder__item small { color: var(--ink-soft); font-size: .78rem; }
.ladder__item .stagebar { position: absolute; top: 0; left: 18px; right: 18px; height: 5px; border-radius: 0 0 5px 5px; background: var(--stage, var(--lagoon)); }
.ladder__item[aria-current="page"] { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(240,101,74,.18); }

/* Two column */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lift); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split .frame { position: relative; }
.split .frame::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 120px; height: 120px; border-radius: 50%; background: var(--sun); opacity: .9; z-index: 0; }
.split .frame img { position: relative; z-index: 1; }

/* Why list */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why > div { background: #fff; border-radius: var(--radius); padding: 26px 26px 28px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(120,74,30,.05); display: flex; flex-direction: column; gap: 6px; transition: transform .15s ease, box-shadow .15s ease; }
.why > div:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why h3 { margin: 0; font-size: 1.22rem; }
.why p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.why .ico { width: 56px; height: 56px; border-radius: 50%; background: #fff3d1; color: #b8730a; display: grid; place-items: center; margin-bottom: 12px; box-shadow: inset 0 0 0 2px #ffe3a3; }
.why .ico svg { width: 28px; height: 28px; }
.why > div:nth-child(3n+2) .ico { background: var(--aqua-soft); color: var(--lagoon-deep); box-shadow: inset 0 0 0 2px #b9e6f1; }
.why > div:nth-child(3n) .ico { background: var(--peach); color: var(--coral-deep); box-shadow: inset 0 0 0 2px #ffc9ae; }

/* Testimonial */
.quote { max-width: 780px; margin: 0 auto; text-align: center; }
.quote .mark { font-family: var(--font-display); font-size: 5rem; line-height: .5; color: var(--sun); display: block; margin-bottom: 22px; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 600; line-height: 1.45; margin: 0 0 16px; }
.quote cite { font-style: normal; color: var(--sun); font-weight: 800; }

/* Locations */
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.loc { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 26px 28px; box-shadow: 0 6px 18px rgba(120,74,30,.05); position: relative; overflow: hidden; }
.loc::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--aqua-soft); }
.loc > * { position: relative; z-index: 1; }
.loc h3 { margin-bottom: .2em; }
.loc address { font-style: normal; color: var(--ink-soft); margin-bottom: 12px; }
.loc .tel { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; text-decoration: none; display: inline-block; margin-bottom: 10px; color: var(--coral-deep); }

/* Level page */
.level-hero { background: linear-gradient(180deg, var(--peach-soft) 0%, var(--sand) 100%); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.level-hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: color-mix(in srgb, var(--stage, var(--lagoon)) 14%, #fff0); }
.level-hero .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 44px; position: relative; }
.level-hero__mascot {
  background: radial-gradient(circle at 50% 30%, #fff 0%, var(--peach-soft) 100%); border-radius: 50%; padding: 26px; aspect-ratio: 1;
  box-shadow: 0 0 0 6px #fff, 0 0 0 11px color-mix(in srgb, var(--stage, var(--lagoon)) 45%, #fff), var(--shadow);
}
.level-hero__mascot img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.level-hero h1 { margin-bottom: .2em; }
.level-hero .lead { margin-bottom: 18px; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 10px; }
.crumbs a { color: var(--ink-soft); }
.stage-tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--stage, var(--lagoon)); padding: 6px 14px; border-radius: 999px; margin-bottom: 12px; box-shadow: 0 3px 0 rgba(0,0,0,.12); }

.level-body { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 34px; }
.keyfacts div { background: linear-gradient(180deg, #fff 0%, var(--sand) 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; box-shadow: 0 6px 18px rgba(120,74,30,.06); }
.keyfacts svg { width: 44px; height: 44px; color: var(--lagoon-deep); background: var(--aqua-soft); border-radius: 50%; padding: 10px; box-shadow: inset 0 0 0 2px #b9e6f1; }
.keyfacts dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.keyfacts dd { margin: -6px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--ocean-ink); line-height: 1.2; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 38px; }
.checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sun); color: var(--ocean-ink); font-weight: 900; display: grid; place-items: center; font-size: .9rem; box-shadow: 0 2px 0 var(--sun-deep);
}
.note { background: #fff5d9; border: 1px solid #f6dd9a; border-left: 6px solid var(--sun); border-radius: var(--radius-sm); padding: 16px 20px; color: #6b4d12; }
.side { position: sticky; top: 96px; display: grid; gap: 20px; }
.side__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side__card--cta { background: linear-gradient(160deg, #fff 0%, var(--peach-soft) 100%); }
.side__card h3 { margin-bottom: .5em; }
.side__card .btn { width: 100%; margin-bottom: 10px; }
.side__list { list-style: none; margin: 0; padding: 0; }
.side__list li a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 7px 10px; border-radius: 10px; font-weight: 700; }
.side__list li a:hover { background: var(--peach-soft); }
.side__list li a[aria-current="page"] { background: var(--aqua-soft); color: var(--ocean-ink); }
.side__list img { width: 30px; height: 30px; object-fit: contain; }
.side__list .grp { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin: 12px 10px 4px; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.prevnext a { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: 0 4px 14px rgba(120,74,30,.05); transition: transform .15s ease; }
.prevnext a:hover { transform: translateY(-2px); border-color: var(--coral); }
.prevnext small { display: block; color: var(--ink-mute); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.prevnext strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ocean); }
.prevnext .next { text-align: right; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: 0 6px 18px rgba(120,74,30,.08); }

/* Programs page */
.program-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px 0; border-bottom: 2px dashed var(--line); }
.program-block:last-child { border-bottom: 0; }
.program-block img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-lift); }
.program-block.rev > div:first-child { order: 2; }
.level-links { display: grid; gap: 10px; margin-top: 16px; }
.level-link {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 16px 10px 10px; box-shadow: 0 4px 14px rgba(120,74,30,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.level-link:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--peach); }
.level-link img, .level-link .initials { width: 60px; height: 60px; object-fit: contain; border-radius: 50%; background: var(--peach-soft); padding: 6px; }
.level-link strong { font-family: var(--font-display); font-size: 1.12rem; display: block; line-height: 1.2; color: var(--ocean-ink); }
.level-link span { color: var(--ink-soft); font-size: .92rem; }
.level-link .arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; box-shadow: 0 3px 0 var(--coral-shadow); }

/* Generic content */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.timeline { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 34px; top: 10px; bottom: 10px; width: 3px; background: var(--peach); border-radius: 2px; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: baseline; padding: 8px 0; position: relative; }
.timeline li strong { font-family: var(--font-display); color: var(--coral-deep); font-size: 1.15rem; background: var(--cream); position: relative; z-index: 1; padding-right: 4px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 6px 18px rgba(120,74,30,.05); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.big { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--coral); line-height: 1; display: inline-block; margin-bottom: 8px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 16px; }
.team div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 14px; text-align: center; box-shadow: 0 4px 14px rgba(120,74,30,.05); }
.team .avatar { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 10px; background: linear-gradient(160deg, var(--sun), #ffd97a); color: var(--ocean-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; box-shadow: 0 3px 0 var(--sun-deep); }
.team div:nth-child(3n) .avatar { background: linear-gradient(160deg, var(--aqua), #a9e3f0); box-shadow: 0 3px 0 var(--lagoon); }
.team div:nth-child(3n+2) .avatar { background: linear-gradient(160deg, #ff8f78, var(--peach)); box-shadow: 0 3px 0 var(--coral); }
.team strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.team span { color: var(--ink-soft); font-size: .92rem; }
.policy h3 { margin-top: 1.7em; color: var(--coral-deep); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.policy ol { padding-left: 1.3em; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; background: #fff; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(120,74,30,.04); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; padding: 12px 0; cursor: pointer; color: var(--ocean-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 26px; height: 26px; border-radius: 50%; background: var(--peach); color: var(--coral-deep); display: grid; place-items: center; font-weight: 900; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { color: var(--coral-deep); }
.faq p { color: var(--ink-soft); }

/* Forms */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-weight: 800; font-size: .92rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  font: inherit; padding: 13px 16px; border: 2px solid var(--line); border-radius: 14px; width: 100%; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--lagoon); box-shadow: 0 0 0 4px var(--aqua-soft); outline: none; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { justify-self: start; }
.form.card { padding: 28px; }

/* Footer */
.footer { background: var(--ocean-ink); color: #c9dfe9; padding: 0 0 110px; position: relative; }
.footer .wave--top { top: -40px; transform: none; height: 42px; }
.footer .wrap { padding-top: 70px; }
.footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: var(--sun); font-size: 1.05rem; margin-bottom: .7em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { color: var(--sun); }
.footer__logo { background: #fff; display: inline-block; padding: 8px 14px; border-radius: 14px; margin-bottom: 14px; }
.footer__logo img { height: 44px; }
.footer__assoc { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.footer__assoc img { height: 42px; width: auto; background: #fff; border-radius: 10px; padding: 5px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 20px; font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Mobile action bar */
.mobile-bar {
  display: none; position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 60; background: rgba(255,253,249,.96);
  backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 8px; gap: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.mobile-bar .btn { flex: 1; padding: 12px 10px; font-size: 1rem; min-height: 46px; }
.mobile-bar .btn--ghost { box-shadow: inset 0 0 0 2px var(--line-cool); }

/* Responsive */
@media (max-width: 960px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: repeat(4, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .split, .program-block, .level-body { grid-template-columns: 1fr; }
  .program-block.rev > div:first-child { order: 0; }
  .side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .level-hero .wrap { grid-template-columns: 160px 1fr; gap: 26px; }
  .keyfacts { grid-template-columns: repeat(2, 1fr); }
  .hero__badge { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .header .wrap { min-height: 68px; }
  .logo img { height: 44px; }
  .menu-btn { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; font-size: 1.1rem; }
  .nav .btn { margin: 10px 0 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 84px; }
  .hero::after { background: linear-gradient(180deg, rgba(11,63,87,.78) 0%, rgba(14,88,119,.9) 100%); }
  .section { padding: 48px 0; }
  .wave { height: 28px; }
  .level-hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .level-hero__mascot { width: 170px; margin: 0 auto; }
  .level-hero .btn-row { justify-content: center; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext .next { text-align: left; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .locations { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .mobile-bar .btn { padding: 12px 6px; font-size: .95rem; gap: 6px; }
  .mobile-bar .btn svg { width: 16px; height: 16px; }
  .ladder { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ladder__item { padding: 12px 6px 10px; }
  .ladder__item img, .ladder__item .initials { width: 62px; height: 62px; }
  .ladder__item strong { font-size: .95rem; }
  .why { grid-template-columns: 1fr; }
  .split .frame::before { display: none; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fact { padding: 14px 14px 14px 18px; }
  .fact strong { font-size: 1.12rem; }
  .btn { padding: 12px 20px; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .ladder__item small { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .stage, .ladder__item, .level-link, .prevnext a { transition: none; }
}

/* mascot fallbacks */
.level-hero__mascot .initials { width: 100%; font-size: 2.6rem; }
.ladder__item .initials { width: 78px; height: 78px; margin: 0 auto 8px; }
.level-link .initials { width: 60px; height: 60px; font-size: 1.1rem; }

/* Policies page */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.toc a { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--ocean); }
.toc a:hover { background: var(--peach-soft); border-color: var(--peach); color: var(--coral-deep); }
.policy__block { padding: 8px 0 20px; border-bottom: 2px dashed var(--line); margin-bottom: 20px; scroll-margin-top: 96px; }
.policy__block:last-of-type { border-bottom: 0; }
.policy__block h2 { margin-top: .6em; }
.policy__block h3 { margin-top: 1.6em; color: var(--coral-deep); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.policy__block ul { padding-left: 1.2em; }
.policy__updated { color: var(--ink-mute); font-size: .92rem; }
.tablewrap { overflow-x: auto; margin: 12px 0 20px; }
.tablewrap table { border-collapse: collapse; width: 100%; background: #fff; border-radius: var(--radius-sm); overflow: hidden; font-size: .96rem; }
.tablewrap th, .tablewrap td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tablewrap th { background: var(--sand); font-family: var(--font-display); color: var(--ocean-ink); }
.tablewrap td:last-child { font-variant-numeric: tabular-nums; font-weight: 700; }

.form input[type=file] { padding: 10px 12px; background: var(--sand); cursor: pointer; }
.form input[type=file]::file-selector-button { font: inherit; font-weight: 800; font-family: var(--font-display); border: 0; border-radius: 999px; padding: 8px 14px; margin-right: 12px; background: var(--lagoon); color: #fff; cursor: pointer; }
.form .hint { font-weight: 600; color: var(--ink-mute); font-size: .85rem; }

/* Enrolment modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(11,63,87,.62); backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center; padding: 24px 12px; overflow-y: auto; }
.modal { position: relative; width: 100%; max-width: 640px; background: var(--cream); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.35); border-top: 6px solid var(--coral); margin: auto; }
.modal__close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--peach-soft); color: var(--coral-deep); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.modal__close:hover { background: var(--peach); }
.enrol { padding: 28px 28px 24px; display: grid; gap: 6px; }
.enrol__head h2 { margin-bottom: .2em; }
.enrol__head p { color: var(--ink-soft); margin: 0; }
.enrol__section { border: 0; padding: 18px 0 8px; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.enrol__section legend { font-family: var(--font-display); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ocean-ink); display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 8px; }
.enrol__section .num { width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.enrol label, .enrol .lbl { font-weight: 800; font-size: .9rem; display: grid; gap: 6px; }
.enrol .req { color: var(--coral); }
.enrol input:not([type=radio]), .enrol textarea { font: inherit; padding: 11px 14px; border: 2px solid var(--line); border-radius: 12px; width: 100%; background: #fff; color: var(--ink); }
.enrol input:focus, .enrol textarea:focus { border-color: var(--lagoon); box-shadow: 0 0 0 4px var(--aqua-soft); outline: none; }
.enrol .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipopt { position: relative; display: block; }
.chipopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chipopt span { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--ink); }
.chipopt small { color: var(--ink-mute); font-weight: 600; }
.chipopt input:checked + span { background: var(--aqua-soft); border-color: var(--lagoon); color: var(--ocean-ink); }
.chipopt input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.kids { display: grid; gap: 10px; }
.kid { display: grid; grid-template-columns: 28px 1fr 170px; gap: 10px; align-items: end; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.kid__n { width: 26px; height: 26px; border-radius: 50%; background: var(--peach); color: var(--coral-deep); font-weight: 800; font-size: .8rem; display: grid; place-items: center; margin-bottom: 12px; }
.enrol .hint { font-size: .82rem; color: var(--ink-mute); margin: 0; }
.enrol__foot { padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.enrol__foot .btn { width: 100%; }
.enrol__foot .form__note, .enrol__done p { font-size: .85rem; color: var(--ink-soft); text-align: center; margin: 0; }
.enrol__done { padding: 36px 28px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.enrol__done p { font-size: 1rem; }
.enrol__done .btn-row { justify-content: center; }
body.modal-open { overflow: hidden; }
@media (max-width: 600px) {
  .modal-backdrop { padding: 0; }
  .modal { border-radius: 0; min-height: 100%; }
  .enrol { padding: 22px 18px; }
  .enrol .row { grid-template-columns: 1fr; }
  .kid { grid-template-columns: 28px 1fr; }
  .kid label:last-child { grid-column: 2; }
}
/* fixes: hidden must always win; inline required markers */
[hidden] { display: none !important; }
.enrol label, .enrol .lbl { display: block; }
.enrol label > input:not([type=radio]), .enrol label > textarea { margin-top: 6px; }
.kid { align-items: start; }
.kid__n { margin-top: 34px; margin-bottom: 0; }

/* Gallery video */
.vtile { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 6px 18px rgba(120,74,30,.08); }
.vtile video { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--ocean-ink); display: block; pointer-events: none; }
.vtile__badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(11,63,87,.78); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.vtile__badge svg { width: 16px; height: 16px; }
.vtile:hover .vtile__badge { background: var(--coral); }
.vtile:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.vmodal { align-items: center; background: rgba(5,25,38,.9); }
.vmodal__box { position: relative; width: auto; max-width: min(96vw, 900px); margin: auto; }
.vmodal__box video { display: block; max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--radius-sm); background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vmodal .modal__close { top: -14px; right: -14px; background: #fff; }
@media (max-width: 600px) { .vmodal .modal__close { top: 8px; right: 8px; } .vmodal__box video { border-radius: 0; max-height: 100vh; } }
