:root {
  --bg: #0a0a0a;
  --card: #161616;
  --line: #303030;
  --muted: #b9b9b9;
  --blue: #0084d6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: #fff; font-family: Inter, Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
figure, p { margin: 0; }
header, footer, .hero, .section { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  margin-top: 14px;
  padding: 0 20px;
  background: rgba(5, 10, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { width: auto; height: 80px; max-width: 100%; object-fit: contain; }
nav { display: flex; gap: 28px; align-items: center; font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: white; padding: 14px 20px; border: 1px solid var(--blue); border-radius: 5px; font: 600 15px Inter, Arial, sans-serif; line-height: 1.4; cursor: pointer; text-align: center; }
.button:hover { background: #0099ef; }
.small { padding: 10px 18px; }
.secondary { background: transparent; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-block: 40px 48px; }
.hero-copy { min-width: 0; }
.eyebrow { font-size: 12px; letter-spacing: 1.6px; font-weight: 700; color: #63bdf6; margin-bottom: 16px; }
h1 { font-size: clamp(42px, 4.6vw, 64px); letter-spacing: -2.5px; line-height: 1.1; margin: 0 0 22px; }
h1 span { color: #55b8f7; }
.intro { font-size: 18px; max-width: 430px; color: var(--muted); margin-bottom: 25px; }
.text-link { display: inline-block; color: #7ccaff; font-size: 14px; }
.hero-copy > .text-link { display: block; margin-top: 17px; }
.hero-photo { position: relative; border-radius: 8px; overflow: hidden; }
.hero-photo img { height: 490px; object-fit: cover; object-position: center 46%; }
.hero-photo figcaption { position: absolute; inset: auto 0 0; padding: 40px 20px 20px; background: linear-gradient(transparent, #000d); font-size: 14px; }
.section { padding-block: 48px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -1.2px; line-height: 1.2; margin: 0; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.3px; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-bottom: 26px; }
.section-heading p { max-width: 440px; color: var(--muted); }
.photo-story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.photo-story figure { background: var(--card); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.photo-story img { height: 280px; object-fit: cover; }
.photo-story figure:first-child img { object-position: 60% center; }
.photo-story figure:last-child img { object-position: center 35%; }
.photo-story figcaption { padding: 18px; }
.photo-story p, .gallery p, .wide-story p { font-size: 15px; color: var(--muted); }
#syllabus { margin-top: 45px; }
.syllabus-intro { margin: 10px 0 22px; color: var(--muted); }
.syllabus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.syllabus-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.syllabus-card > a { display: block; background: #fff; }
.syllabus-card img { height: auto; aspect-ratio: 595 / 842; object-fit: contain; }
.syllabus-card > div { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.syllabus-card .eyebrow { margin-bottom: 8px; font-size: 11px; }
.syllabus-card h3 { font-size: 17px; margin-bottom: 14px; }
.syllabus-card .text-link { margin-top: auto; font-size: 13px; }
.draft-note { font-size: 13px; color: var(--muted); margin-top: 20px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gallery img { aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; }
.gallery figcaption { padding-top: 14px; }
.wide-story { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-top: 30px; }
.wide-story img { aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; }
.wide-story h3 { max-width: 340px; font-size: 25px; }
.event-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 25px; font-size: 13px; color: var(--muted); }
.school { padding: 32px; background: #0b1c28; border-radius: 6px; margin-bottom: 40px; }
.school > p:not(.eyebrow) { color: var(--muted); max-width: 650px; margin: 15px 0 22px; }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.enquiry h2 { max-width: 420px; }
.enquiry > div > p:last-child { color: var(--muted); max-width: 380px; margin-top: 18px; }
form { padding: 24px; border: 1px solid var(--line); background: var(--card); border-radius: 6px; }
label { display: block; font-size: 14px; margin-bottom: 15px; }
input, select, textarea { width: 100%; display: block; margin-top: 6px; padding: 11px; background: #0a0a0a; border: 1px solid #444; color: #fff; border-radius: 4px; font: 16px Inter, Arial, sans-serif; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
#form-status { font-size: 13px; margin-top: 10px; }
#form-status:empty { display: none; }
footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); font-size: 13px; }
.skip { position: absolute; left: 10px; top: -100px; }
.skip:focus { top: 10px; padding: 12px; background: white; color: black; z-index: 10; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #70c5ff; outline-offset: 3px; }
@media (max-width: 960px) {
  .syllabus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { gap: 28px; }
  .hero-photo img { height: 430px; }
  .photo-story img { height: 230px; }
}
@media (max-width: 680px) {
  header, footer, .hero, .section { width: calc(100% - 36px); }
  header { padding-inline: 14px; }
  .brand img { height: 48px; }
  nav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 30px; gap: 24px; }
  h1 { font-size: clamp(38px, 9vw, 52px); letter-spacing: -1.7px; }
  .intro { font-size: 16px; }
  .hero-photo img { height: 390px; }
  .section { padding-block: 32px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
  .photo-story { grid-template-columns: 1fr; gap: 18px; }
  .photo-story img { height: auto; aspect-ratio: 4/3; }
  .photo-story figure:last-child img { aspect-ratio: 1; object-position: center 25%; }
  .syllabus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .syllabus-card > div { padding: 12px; }
  .syllabus-card h3 { font-size: 15px; }
  .syllabus-card .text-link { font-size: 12px; }
  #syllabus { margin-top: 30px; }
  .gallery, .wide-story, .enquiry { grid-template-columns: 1fr; gap: 20px; }
  .wide-story { margin-top: 24px; }
  .event-footer { display: block; }
  .event-footer .text-link { margin-top: 12px; }
  .school { padding: 24px; margin-bottom: 0; }
  footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.video-grid video{display:block;width:100%;height:310px;object-fit:contain;background:#151515;border-radius:6px}.video-grid figcaption{padding-top:14px}.video-grid p{color:var(--muted);font-size:14px}@media(max-width:680px){.video-grid{grid-template-columns:1fr}.video-grid video{height:360px}}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.stories-grid img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.stories-grid figcaption { padding-top: 14px; }
.stories-grid p { color: var(--muted); }

@media (max-width: 680px) {
  .stories-grid { grid-template-columns: 1fr; }
}

.programme-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
  margin: 14px 0 24px;
  list-style: none;
  color: var(--muted);
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.level-grid article {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.level-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.level-copy { padding: 18px; }
.level-copy p:not(.eyebrow) { color: var(--muted); }
.level-copy .eyebrow { margin-bottom: 8px; }
.level-copy .text-link { margin: 14px 12px 0 0; }

@media (max-width: 680px) {
  .level-grid { grid-template-columns: 1fr; gap: 12px; }
}

.school .level-copy { padding: 16px; }
.school-cta { margin-top: 20px; }
