:root {
  --green: #1fa85a;
  --green-dark: #14783e;
  --green-deep: #0e5130;
  --green-pale: #eaf6ee;
  --maroon: #8e1b2e;
  --maroon-dark: #681222;
  --gold: #f5b800;
  --gold-pale: #fff5d2;
  --ink: #18241d;
  --muted: #5c685f;
  --paper: #fffefa;
  --warm: #f7f7f1;
  --line: #e4e9e3;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow: 0 18px 55px rgba(14, 58, 35, .11);
  --max-width: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(245, 184, 0, .36); color: var(--ink); }

.container { width: min(var(--max-width), calc(100% - 40px)); margin-inline: auto; }
.icon { display: inline-block; width: 23px; height: 23px; flex: 0 0 auto; }
.skip-link {
  position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-160%);
  padding: 12px 16px; border-radius: 8px; background: #fff; color: var(--green-deep);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #d79800; outline-offset: 3px; }

.site-header {
  position: sticky; z-index: 100; top: 0; background: rgba(255, 254, 250, .96);
  border-bottom: 1px solid rgba(23, 75, 43, .08); backdrop-filter: blur(15px);
}
.header-inner {
  width: min(1320px, calc(100% - 40px)); min-height: 82px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; }
.brand img { width: 55px; height: 55px; object-fit: contain; border-radius: 13px; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { color: var(--green-deep); font-family: Georgia, serif; font-size: 16px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.primary-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); }
.primary-nav a {
  padding: 10px 0; color: #38463b; font-size: 13px; font-weight: 650; text-decoration: none;
  transition: color .18s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--green-dark); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--green); }
.primary-nav .nav-enquire {
  padding: 10px 18px; border-radius: 999px; background: var(--green); color: white;
  box-shadow: 0 8px 16px rgba(31, 168, 90, .18);
}
.primary-nav .nav-enquire:hover { background: var(--green-dark); color: white; }
.menu-toggle { display: none; }

.hero {
  position: relative; min-height: 610px; display: flex; align-items: center; overflow: hidden;
  isolation: isolate; background: #163c28; color: white;
}
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero-shade { background: linear-gradient(90deg, rgba(8, 42, 25, .94) 0%, rgba(8, 42, 25, .8) 39%, rgba(8, 42, 25, .36) 75%, rgba(8, 42, 25, .18) 100%); }
.hero-content { position: relative; padding-block: 92px 115px; }
.eyebrow {
  margin: 0 0 14px; color: var(--green-dark); font-size: 11px; font-weight: 800;
  letter-spacing: .14em; line-height: 1.4; text-transform: uppercase;
}
.eyebrow-light { color: #c9f0d5; }
.eyebrow > span:first-child {
  display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%;
  background: var(--gold); vertical-align: 1px;
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.hero h1 { max-width: 700px; margin-bottom: 22px; font-size: clamp(42px, 6.5vw, 74px); }
.hero-lede { max-width: 560px; margin: 0; color: rgba(255,255,255,.87); font-size: clamp(17px, 2vw, 21px); }
.hero-intake { display: inline-flex; margin: 22px 0 0; padding: 8px 13px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 14px;
  font-weight: 750; line-height: 1.3; text-align: center; text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button .icon { width: 17px; height: 17px; }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 10px 22px rgba(31, 168, 90, .18); }
.button-primary:hover { background: var(--green-dark); }
.button-gold { background: var(--gold); color: #241d04; }
.button-gold:hover { background: #ffd13d; }
.button-outline-light { border-color: rgba(255,255,255,.62); color: #fff; }
.button-outline-light:hover { background: rgba(255,255,255,.13); }
.hero-location { display: inline-flex; align-items: center; gap: 8px; margin-top: 25px; color: rgba(255,255,255,.82); font-size: 13px; text-decoration: none; }
.hero-location .icon { width: 18px; height: 18px; }
.hero-badge {
  position: absolute; right: max(5vw, calc((100vw - var(--max-width)) / 2)); bottom: 45px;
  width: 132px; height: 132px; display: grid; align-content: center; justify-items: center;
  border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(31,168,90,.92);
  box-shadow: 0 18px 45px rgba(0,0,0,.2); text-align: center; transform: rotate(7deg);
}
.hero-badge span { color: #fff1bc; font-family: Georgia, serif; font-size: 29px; font-weight: 700; line-height: 1; }
.hero-badge strong { margin-top: 7px; color: white; font-size: 12px; line-height: 1.2; text-transform: uppercase; }

.intro-band { padding-block: 38px; background: var(--gold-pale); }
.intro-band-inner { display: grid; grid-template-columns: 1.1fr .95fr auto; align-items: center; gap: 35px; }
.intro-band .eyebrow { margin-bottom: 8px; }
.intro-band h2 { margin-bottom: 0; color: var(--green-deep); font-size: clamp(25px, 3vw, 36px); }
.intro-band-inner > p { max-width: 440px; margin: 0; color: #52543e; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-dark); font-size: 14px; font-weight: 750; text-decoration: none; }
.text-link:hover { color: var(--maroon); }
.text-link .icon { width: 17px; height: 17px; transition: transform .18s ease; }
.text-link:hover .icon { transform: translateX(3px); }

.section { padding-block: 88px; }
.section-soft { background: var(--warm); }
.section-heading { max-width: 690px; margin-bottom: 35px; }
.section-heading h2 { margin-bottom: 13px; font-size: clamp(34px, 4vw, 48px); }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.section-heading-centered { margin-inline: auto; text-align: center; }
.section-heading-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading-row h2 { margin-bottom: 0; }
.reason-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.reason-card {
  min-height: 190px; padding: 24px 18px; border: 1px solid var(--line); border-radius: var(--radius-md);
  background: white; box-shadow: 0 8px 22px rgba(37,64,44,.035); transition: transform .2s, box-shadow .2s;
}
.reason-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reason-card h3 { max-width: 150px; margin: 20px 0 0; font-size: 17px; line-height: 1.3; }
.icon-disc, .activity-icon {
  display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px;
  background: var(--green-pale); color: var(--green-dark);
}
.icon-disc .icon, .activity-icon .icon { width: 26px; height: 26px; }
.icon-disc-1 { background: #fff1ed; color: var(--maroon); }
.icon-disc-2 { background: var(--gold-pale); color: #856200; }
.activity-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.activity-item {
  display: flex; min-height: 142px; flex-direction: column; align-items: center; justify-content: center;
  gap: 13px; padding: 19px 12px; border: 1px solid var(--line); border-radius: var(--radius-md);
  background: #fff; text-align: center; font-size: 14px; font-weight: 700;
}
.activity-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--green-pale); }
.activity-item:nth-child(3n + 2) .activity-icon { background: #fff0e8; color: var(--maroon); }
.activity-item:nth-child(3n) .activity-icon { background: var(--gold-pale); color: #886300; }
.activity-extra { margin: 21px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

.results-section { position: relative; overflow: hidden; background: var(--green-deep); color: white; }
.results-section::before, .results-section::after { position: absolute; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; }
.results-section::before { top: -150px; right: -60px; }
.results-section::after { right: 90px; bottom: -230px; width: 360px; height: 360px; }
.results-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.results-copy h2 { max-width: 440px; margin-bottom: 16px; font-size: clamp(38px, 5vw, 56px); }
.results-copy > p:not(.eyebrow) { max-width: 420px; margin: 0 0 25px; color: rgba(255,255,255,.78); }
.results-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.result-stat { padding: 28px 23px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-md); background: rgba(255,255,255,.075); }
.result-stat > span { display: block; color: #d3efdc; font-size: 13px; font-weight: 700; }
.result-stat > strong { display: block; margin-top: 17px; color: var(--gold); font-family: Georgia, serif; font-size: clamp(42px, 5vw, 62px); line-height: 1; }
.result-stat > strong small { font-family: inherit; font-size: 20px; }
.result-stat > small { display: block; margin-top: 8px; color: rgba(255,255,255,.8); }

.feature-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(38px, 7vw, 95px); }
.feature-layout-reverse { grid-template-columns: 1.1fr .9fr; }
.feature-photo { position: relative; overflow: hidden; min-height: 360px; border-radius: var(--radius-lg); background: #d9e9dc; box-shadow: var(--shadow); }
.feature-photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.feature-photo-tall { min-height: 450px; }
.feature-photo-tall img { min-height: 450px; }
.photo-caption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 11px 14px; border-radius: 12px; background: rgba(17,41,26,.78); color: white; font-size: 13px; font-weight: 650; backdrop-filter: blur(10px); }
.feature-copy h2 { max-width: 550px; margin-bottom: 19px; font-size: clamp(36px, 4vw, 48px); }
.feature-copy p:not(.eyebrow) { margin: 0 0 17px; color: var(--muted); }
.feature-copy .text-link, .feature-copy .button { margin-top: 10px; }
.home-gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 17px; }
.home-gallery a { overflow: hidden; border-radius: var(--radius-md); background: var(--green-pale); }
.home-gallery img { width: 100%; height: 270px; object-fit: cover; transition: transform .4s ease; }
.home-gallery a:hover img { transform: scale(1.04); }
.empty-news { display: flex; align-items: center; gap: 20px; padding: 25px; border: 1px dashed #cbd9ce; border-radius: var(--radius-md); background: #fff; }
.empty-news-mark { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--green-pale); color: var(--green-dark); font-family: Georgia, serif; font-size: 25px; }
.empty-news h3 { margin: 0 0 5px; font-size: 17px; }
.empty-news p { margin: 0; color: var(--muted); font-size: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.news-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.news-card h2, .news-card h3 { margin: 9px 0; font-family: Georgia, serif; font-size: 23px; line-height: 1.2; }
.news-card p { margin: 0; color: var(--muted); white-space: pre-line; }
.news-card time { display: block; margin-top: 16px; color: var(--green-dark); font-size: 12px; font-weight: 750; }
.news-category { display: inline-block; padding: 5px 9px; border-radius: 99px; background: var(--green-pale); color: var(--green-dark); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.enquiry-strip { padding-block: 47px; background: var(--maroon); color: white; }
.enquiry-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.enquiry-strip .eyebrow { margin-bottom: 8px; color: #ffd6bc; }
.enquiry-strip h2 { margin: 0 0 10px; font-size: clamp(31px, 4vw, 43px); }
.enquiry-strip p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.82); }
.enquiry-strip-actions { display: grid; justify-items: start; gap: 11px; }
.strip-phone { color: white; font-size: 14px; font-weight: 700; text-decoration: none; }

.page-hero { position: relative; overflow: hidden; min-height: 340px; display: flex; align-items: center; color: white; }
.page-hero-green { background: linear-gradient(115deg, var(--green-deep), var(--green) 83%); }
.page-hero-maroon { background: linear-gradient(115deg, var(--maroon-dark), var(--maroon) 83%); }
.page-hero-gold { background: linear-gradient(115deg, #f1b000, #ffcf48); color: #302506; }
.page-hero-content { position: relative; z-index: 2; padding-block: 54px; }
.page-hero h1 { max-width: 760px; margin-bottom: 13px; font-size: clamp(40px, 5.5vw, 65px); }
.page-hero-content > p:not(.eyebrow) { max-width: 620px; margin: 0; color: rgba(255,255,255,.85); font-size: 17px; }
.page-hero-gold .page-hero-content > p:not(.eyebrow) { color: rgba(48,37,6,.82); }
.page-hero-gold .eyebrow { color: #573f00; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin-top: 29px; color: rgba(255,255,255,.72); font-size: 12px; }
.page-hero-gold .breadcrumbs { color: rgba(48,37,6,.7); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero-decoration { position: absolute; right: 8%; bottom: -75px; width: 300px; height: 300px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: rgba(255,255,255,.14); transform: rotate(-12deg); }
.page-hero-decoration::before, .page-hero-decoration::after { position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: inherit; content: ""; }
.page-hero-decoration::after { inset: 45px; }
.page-hero-decoration span { font-family: Georgia, serif; font-size: 55px; font-weight: 700; }

.story-layout, .crest-layout { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: clamp(35px, 7vw, 90px); }
.story-image { overflow: hidden; border-radius: var(--radius-lg); background: var(--green-pale); }
.story-image img { width: 100%; height: 390px; object-fit: cover; }
.story-copy h2, .crest-layout h2 { max-width: 500px; margin-bottom: 18px; font-size: clamp(37px, 4vw, 49px); }
.story-copy p:not(.eyebrow), .crest-layout p:not(.eyebrow) { color: var(--muted); }
.motto-callout { margin: 25px 0 0; padding: 17px 19px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--gold-pale); color: var(--green-deep) !important; font-family: Georgia, serif; font-size: 20px; font-weight: 700; }
.statement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.statement-card { min-height: 205px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.statement-card h3 { margin: 22px 0 8px; font-family: Georgia, serif; font-size: 27px; }
.statement-card p { margin: 0; color: var(--muted); }
.statement-label { display: inline-flex; padding: 6px 10px; border-radius: 100px; background: var(--green-pale); color: var(--green-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.statement-label-maroon { background: #f9e9ec; color: var(--maroon); }
.statement-label-gold { background: var(--gold-pale); color: #856200; }
.crest-section { background: #fff; }
.crest-image { width: min(330px, 100%); margin-inline: auto; padding: 15px; border: 1px solid var(--line); border-radius: 50%; background: white; box-shadow: var(--shadow); }
.crest-image img { width: 100%; border-radius: 50%; }
.placeholder-note { margin: 22px 0; padding: 15px 17px; border: 1px solid #efd477; border-radius: 12px; background: var(--gold-pale); color: #5f4b0e; font-size: 14px; }

.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.level-card { position: relative; min-height: 264px; overflow: hidden; padding: 30px 27px; border-radius: var(--radius-md); }
.level-card-green { background: var(--green-pale); }
.level-card-gold { background: var(--gold-pale); }
.level-card-maroon { background: #faeaed; }
.level-number { position: absolute; top: 13px; right: 18px; color: rgba(13,64,36,.12); font-family: Georgia, serif; font-size: 68px; line-height: 1; }
.level-card .eyebrow { margin: 0 0 11px; }
.level-card h3 { position: relative; margin-bottom: 13px; font-family: Georgia, serif; font-size: 32px; }
.level-card p:not(.eyebrow) { max-width: 290px; margin: 0; color: #526056; font-size: 14px; }
.notice-card { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 19px 22px; border-radius: 16px; }
.notice-card-gold { background: var(--gold-pale); }
.notice-icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: white; color: #886300; }
.notice-card h3 { margin: 0 0 4px; font-size: 17px; }
.notice-card p { margin: 0; color: #6d5c23; font-size: 14px; }
.academics-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px; border-radius: var(--radius-md); background: var(--green-pale); }
.academics-bottom h2 { margin-bottom: 8px; font-size: 34px; }
.academics-bottom p:not(.eyebrow) { margin: 0; color: var(--muted); }

.intake-highlight { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 25px; padding: 28px; border: 1px solid #e7e4d6; border-radius: var(--radius-md); background: #fffdf4; }
.intake-mark { display: grid; width: 94px; height: 94px; align-content: center; justify-items: center; border-radius: 50%; background: var(--gold); color: #3c2b00; transform: rotate(-7deg); }
.intake-mark span { font-family: Georgia, serif; font-size: 25px; font-weight: 700; line-height: 1; }
.intake-mark strong { margin-top: 6px; font-size: 10px; line-height: 1.15; text-align: center; text-transform: uppercase; }
.intake-highlight h2 { margin: 0 0 8px; font-size: 32px; }
.intake-highlight p:not(.eyebrow) { margin: 0; color: var(--muted); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { padding: 24px 21px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.step-card > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--green-pale); color: var(--green-dark); font-size: 12px; font-weight: 800; }
.step-card h3 { margin: 19px 0 8px; font-size: 17px; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; }
.document-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 45px; align-items: start; }
.document-layout h2 { margin-bottom: 13px; font-size: clamp(34px, 4vw, 45px); }
.document-layout > div:first-child p:not(.eyebrow) { color: var(--muted); }
.document-list { border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.document-item { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; padding: 18px; }
.document-item + .document-item { border-top: 1px solid var(--line); }
.document-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: var(--green-pale); color: var(--green-dark); }
.document-item strong, .document-item small { display: block; }
.document-item small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.document-status { padding: 6px 9px; border-radius: 99px; background: #f4f3ee; color: #667067; font-size: 10px; font-weight: 750; white-space: nowrap; }

.form-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(35px, 6vw, 75px); align-items: start; }
.form-intro { position: sticky; top: 118px; }
.form-intro h2 { margin-bottom: 15px; font-size: clamp(37px, 4vw, 48px); }
.form-intro > p:not(.eyebrow) { color: var(--muted); }
.form-contact-details { display: grid; gap: 12px; margin-top: 26px; }
.form-contact-details a { display: flex; align-items: center; gap: 9px; color: var(--green-dark); font-weight: 750; text-decoration: none; }
.form-contact-details .icon { width: 19px; height: 19px; }
.form-panel { padding: 29px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: 0 15px 45px rgba(30,58,38,.06); }
.enquiry-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: #36423a; font-size: 13px; font-weight: 750; }
.form-field label span { color: var(--maroon); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #d8e0d8; border-radius: 10px;
  background: #fff; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,168,90,.12); }
.form-field [aria-invalid="true"] { border-color: var(--maroon); }
.field-error { color: var(--maroon); font-size: 12px; }
.form-message { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.form-message-error { background: #fcebed; color: #75172a; }
.form-message-success { background: var(--green-pale); color: var(--green-deep); }
.form-success-wrap { padding-top: 16px; }
.form-success-wrap .form-message { margin: 0; }
.form-privacy { margin: -4px 0 0; color: var(--muted); font-size: 11px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.contact-overview { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(35px, 6vw, 78px); align-items: stretch; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: 31px; border-radius: var(--radius-lg); }
.contact-card-primary { background: var(--green-deep); color: white; }
.contact-card-icon { display: grid; width: 54px; height: 54px; margin-bottom: 27px; place-items: center; border-radius: 16px; background: rgba(255,255,255,.12); color: #d5f3df; }
.contact-card > a:not(.button) { margin-bottom: 7px; color: white; font-size: 22px; font-weight: 700; text-decoration: none; }
.contact-card-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.contact-card-actions .button { min-height: 42px; padding: 10px 14px; font-size: 12px; }
.contact-detail-list { display: grid; align-content: center; gap: 23px; }
.contact-detail-list article { display: flex; gap: 16px; }
.contact-detail-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: var(--green-pale); color: var(--green-dark); }
.contact-detail-list h2 { margin: 0 0 4px; font-family: inherit; font-size: 15px; font-weight: 750; letter-spacing: 0; }
.contact-detail-list p { margin: 0 0 5px; color: var(--muted); font-size: 14px; }
.contact-detail-list small { color: var(--muted); font-size: 11px; }
.contact-detail-list a:not(.text-link) { color: var(--green-dark); text-decoration: none; }
.contact-detail-list .text-link { font-size: 12px; }
.contact-detail-list .text-link .icon { width: 15px; height: 15px; }
.contact-social { margin-top: 24px; }
.contact-social a { display: inline-flex; align-items: center; gap: 6px; color: var(--green-dark); font-size: 13px; font-weight: 700; text-decoration: none; }
.contact-social .icon { width: 16px; height: 16px; }
.map-section { padding-block: 20px 66px; background: var(--warm); }
.map-heading { margin-bottom: 18px; }
.map-heading h2 { margin: 0; font-size: 33px; }
.map-section iframe { display: block; width: min(var(--max-width), calc(100% - 40px)); height: 360px; margin: 0 auto; border: 0; border-radius: var(--radius-lg); background: #e7efe8; }
.whatsapp-mark { display: inline-grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #1fbf6b; color: white; font-size: 12px; font-weight: 800; }

.student-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(35px, 7vw, 90px); }
.student-intro h2 { max-width: 520px; margin-bottom: 16px; font-size: clamp(37px, 4vw, 48px); }
.student-intro-copy > p:not(.eyebrow) { color: var(--muted); }
.student-intro-photo { overflow: hidden; border-radius: var(--radius-lg); }
.student-intro-photo img { width: 100%; height: 350px; object-fit: cover; }
.student-offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.student-offer-card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.student-offer-card h3 { margin: 18px 0 7px; font-size: 17px; }
.student-offer-card p { margin: 0; color: var(--muted); font-size: 13px; }
.transport-section { padding-block: 55px; background: var(--gold-pale); }
.transport-layout { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 25px; }
.transport-icon { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 20px; background: white; color: var(--green-dark); }
.transport-icon .icon { width: 32px; height: 32px; }
.transport-layout h2 { margin-bottom: 8px; font-size: 34px; }
.transport-layout p:not(.eyebrow) { margin: 0; color: #5b5947; }
.interest-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.interest-tags span { padding: 11px 16px; border: 1px solid #dce6dd; border-radius: 99px; background: #fff; color: var(--green-deep); font-size: 13px; font-weight: 700; }
.student-talent { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 23px; }
.student-talent h2 { margin-bottom: 8px; font-size: 35px; }
.student-talent p:not(.eyebrow) { margin: 0; color: var(--muted); }

.gallery-intro { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.gallery-intro p { margin: 0; }
.gallery-intro span { font-size: 12px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 25px; }
.filter-button { min-height: 40px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: #4b584e; cursor: pointer; font-size: 12px; font-weight: 750; }
.filter-button:hover { border-color: var(--green); color: var(--green-dark); }
.filter-button.is-active { border-color: var(--green-dark); background: var(--green-dark); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; color: inherit; cursor: pointer; text-align: left; transition: transform .2s, box-shadow .2s; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-item[hidden] { display: none; }
.gallery-image-wrap { display: block; overflow: hidden; aspect-ratio: 1.18; background: var(--green-pale); }
.gallery-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 15px; font-size: 13px; font-weight: 700; }
.gallery-caption small { color: var(--green-dark); font-size: 10px; font-weight: 750; white-space: nowrap; }
.gallery-no-results { padding: 35px; color: var(--muted); text-align: center; }
.lightbox { width: min(900px, calc(100% - 28px)); max-width: none; padding: 0; overflow: visible; border: 0; border-radius: 18px; background: #101712; color: white; }
.lightbox::backdrop { background: rgba(7, 19, 11, .88); backdrop-filter: blur(4px); }
.lightbox-inner { position: relative; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; gap: 8px; padding: 22px; }
.lightbox figure { min-width: 0; margin: 0; }
.lightbox figure img { display: block; max-height: 76vh; width: 100%; object-fit: contain; }
.lightbox figcaption { padding-top: 13px; color: rgba(255,255,255,.88); font-size: 14px; text-align: center; }
.lightbox-close, .lightbox-prev, .lightbox-next { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(255,255,255,.1); color: white; cursor: pointer; font-size: 27px; line-height: 1; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.lightbox-prev, .lightbox-next { justify-self: center; }
.news-page-content { max-width: 900px; }
.news-empty-state { padding: 48px 25px; border: 1px dashed #cbd9ce; border-radius: var(--radius-lg); background: var(--warm); text-align: center; }
.news-empty-state .empty-news-mark { margin: 0 auto 20px; }
.news-empty-state h2 { margin-bottom: 10px; font-size: 34px; }
.news-empty-state p:not(.eyebrow) { max-width: 530px; margin: 0 auto 17px; color: var(--muted); }
.news-grid-page { grid-template-columns: 1fr 1fr; }
.news-grid-page h2 { font-size: 25px; }
.news-edit-note { margin-top: 25px; padding: 14px 16px; border-radius: 10px; background: var(--gold-pale); color: #5e4c15; font-size: 12px; }
.news-edit-note code { font-size: 12px; }

.site-footer { background: #102b1b; color: white; }
.footer-main { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1fr; gap: 35px; padding-block: 55px 43px; }
.brand-footer .brand-copy strong { color: white; font-size: 16px; }
.brand-footer .brand-copy small { color: rgba(255,255,255,.65); }
.brand-footer img { background: white; }
.footer-brand > p { max-width: 270px; margin: 18px 0 0; color: rgba(255,255,255,.7); font-size: 13px; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h2 { margin-bottom: 6px; font-family: inherit; font-size: 13px; font-weight: 750; letter-spacing: .02em; }
.footer-column a, .footer-column p, .footer-column .muted { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; text-decoration: none; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-block: 16px 22px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.62); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.mobile-action-bar { display: none; }

@media (max-width: 1100px) {
  .header-inner { width: min(var(--max-width), calc(100% - 32px)); gap: 15px; }
  .brand img { width: 48px; height: 48px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 9px; }
  .primary-nav { gap: 12px; }
  .primary-nav a { font-size: 12px; }
  .primary-nav .nav-enquire { padding-inline: 14px; }
  .reason-grid { grid-template-columns: repeat(3, 1fr); }
  .activity-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .header-inner { min-height: 72px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--line);
    border-radius: 999px; background: white; color: var(--green-deep); cursor: pointer; font-size: 12px; font-weight: 750;
  }
  .menu-toggle-lines { display: grid; gap: 4px; }
  .menu-toggle-lines i { display: block; width: 16px; height: 2px; border-radius: 3px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav {
    position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0;
    padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 14px 20px rgba(16,43,27,.09);
  }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 12px 8px; border-bottom: 1px solid #edf0ec; font-size: 14px; }
  .primary-nav a[aria-current="page"] { box-shadow: inset 3px 0 var(--green); padding-left: 14px; }
  .primary-nav .nav-enquire { align-self: flex-start; margin-top: 10px; padding: 11px 19px; border-bottom: 0; }
  .hero { min-height: 600px; align-items: end; }
  .hero-image img { object-position: 55% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,42,25,.94) 0%, rgba(8,42,25,.74) 46%, rgba(8,42,25,.2) 100%); }
  .hero-content { padding-block: 130px 82px; }
  .hero-badge { right: 27px; bottom: 29px; width: 105px; height: 105px; }
  .hero-badge span { font-size: 23px; }
  .hero-badge strong { font-size: 10px; }
  .intro-band-inner { grid-template-columns: 1fr 1fr; gap: 19px 24px; }
  .intro-band-inner .text-link { grid-column: 1 / -1; }
  .results-layout { grid-template-columns: 1fr; gap: 35px; }
  .feature-layout, .feature-layout-reverse { grid-template-columns: 1fr 1fr; gap: 28px; }
  .feature-photo, .feature-photo img { min-height: 320px; }
  .feature-photo-tall, .feature-photo-tall img { min-height: 380px; }
  .home-gallery img { height: 220px; }
  .story-layout, .crest-layout { grid-template-columns: 1fr 1fr; gap: 30px; }
  .story-image img { height: 330px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .document-layout { grid-template-columns: 1fr; gap: 20px; }
  .form-layout, .contact-overview { grid-template-columns: 1fr; gap: 28px; }
  .form-intro { position: static; }
  .contact-card { max-width: none; }
  .student-offer-grid { grid-template-columns: repeat(2, 1fr); }
  .transport-layout { grid-template-columns: 60px 1fr; }
  .transport-layout .button { grid-column: 2; justify-self: start; }
  .student-talent { grid-template-columns: 50px 1fr; gap: 15px; }
  .student-talent .button { grid-column: 2; justify-self: start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-address { grid-column: 2 / -1; }
}
@media (max-width: 580px) {
  body { padding-bottom: 66px; font-size: 15px; }
  .container { width: calc(100% - 34px); }
  .header-inner { width: calc(100% - 28px); min-height: 68px; }
  .brand { gap: 8px; }
  .brand img { width: 42px; height: 42px; border-radius: 10px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { max-width: 205px; font-size: 8px; letter-spacing: .015em; }
  .menu-toggle { padding: 9px 10px; }
  .menu-toggle-label { font-size: 11px; }
  .hero { min-height: 590px; }
  .hero-content { padding-block: 123px 96px; }
  .hero h1 { max-width: 470px; font-size: clamp(41px, 11vw, 56px); }
  .hero-lede { max-width: 360px; font-size: 16px; }
  .hero-intake { margin-top: 17px; font-size: 12px; }
  .hero-actions { display: grid; justify-items: start; gap: 10px; margin-top: 21px; }
  .hero-actions .button { min-height: 44px; padding: 10px 16px; font-size: 12px; }
  .hero-location { margin-top: 18px; font-size: 11px; }
  .hero-badge { right: 17px; bottom: 19px; width: 82px; height: 82px; }
  .hero-badge span { font-size: 19px; }
  .hero-badge strong { margin-top: 4px; font-size: 8px; }
  .intro-band { padding-block: 27px; }
  .intro-band-inner { grid-template-columns: 1fr; gap: 12px; }
  .intro-band h2 { max-width: 400px; font-size: 29px; }
  .intro-band-inner > p { font-size: 13px; }
  .section { padding-block: 62px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading h2 { font-size: 36px; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 16px; }
  .reason-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .reason-card { min-height: 145px; padding: 17px 14px; }
  .reason-card h3 { margin-top: 15px; font-size: 14px; }
  .icon-disc { width: 43px; height: 43px; border-radius: 13px; }
  .icon-disc .icon { width: 22px; height: 22px; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .activity-item { min-height: 125px; gap: 8px; padding: 14px 8px; font-size: 12px; }
  .activity-icon { width: 46px; height: 46px; }
  .results-stats { gap: 9px; }
  .result-stat { padding: 19px 14px; }
  .result-stat > span { min-height: 34px; font-size: 11px; }
  .result-stat > strong { margin-top: 12px; font-size: 42px; }
  .result-stat > strong small { font-size: 15px; }
  .result-stat > small { font-size: 11px; }
  .feature-layout, .feature-layout-reverse { grid-template-columns: 1fr; gap: 25px; }
  .feature-layout-reverse .feature-copy { order: 2; }
  .feature-layout-reverse .feature-photo { order: 1; }
  .feature-photo, .feature-photo img { min-height: 290px; }
  .feature-photo-tall, .feature-photo-tall img { min-height: 340px; }
  .feature-copy h2, .story-copy h2, .crest-layout h2 { font-size: 37px; }
  .home-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .home-gallery a:first-child { grid-column: 1 / -1; }
  .home-gallery a:first-child img { height: 235px; }
  .home-gallery img { height: 170px; }
  .empty-news { align-items: flex-start; padding: 17px; }
  .empty-news-mark { width: 43px; height: 43px; }
  .empty-news h3 { font-size: 15px; }
  .empty-news p { font-size: 12px; }
  .enquiry-strip { padding-block: 35px; }
  .enquiry-strip-inner { align-items: flex-start; flex-direction: column; gap: 21px; }
  .enquiry-strip h2 { font-size: 34px; }
  .enquiry-strip-actions { width: 100%; }
  .page-hero { min-height: 315px; }
  .page-hero-content { padding-block: 42px; }
  .page-hero h1 { max-width: 510px; font-size: 43px; }
  .page-hero-content > p:not(.eyebrow) { font-size: 14px; }
  .page-hero-decoration { right: -125px; bottom: -115px; width: 270px; height: 270px; opacity: .6; }
  .page-hero-decoration span { font-size: 43px; }
  .breadcrumbs { margin-top: 22px; }
  .story-layout, .crest-layout, .student-intro { grid-template-columns: 1fr; gap: 25px; }
  .story-image img { height: 260px; }
  .story-copy { order: -1; }
  .statement-grid { grid-template-columns: 1fr; gap: 11px; }
  .statement-card { min-height: 0; padding: 21px; }
  .statement-card h3 { margin-top: 14px; font-size: 23px; }
  .crest-image { width: 230px; }
  .level-grid { grid-template-columns: 1fr; }
  .level-card { min-height: 220px; padding: 24px; }
  .level-card h3 { font-size: 29px; }
  .academics-bottom { align-items: flex-start; flex-direction: column; padding: 23px; }
  .academics-bottom h2 { font-size: 30px; }
  .intake-highlight { grid-template-columns: 68px 1fr; gap: 15px; padding: 19px; }
  .intake-mark { width: 65px; height: 65px; }
  .intake-mark span { font-size: 18px; }
  .intake-mark strong { font-size: 7px; }
  .intake-highlight h2 { font-size: 25px; }
  .intake-highlight p:not(.eyebrow) { font-size: 12px; }
  .intake-highlight .button { grid-column: 1 / -1; justify-self: start; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step-card { padding: 17px 14px; }
  .step-card > span { width: 35px; height: 35px; }
  .step-card h3 { margin-top: 13px; font-size: 14px; }
  .step-card p { font-size: 12px; }
  .document-item { grid-template-columns: 39px 1fr; padding: 14px; gap: 11px; }
  .document-icon { width: 38px; height: 38px; }
  .document-status { grid-column: 2; justify-self: start; }
  .form-layout { gap: 22px; }
  .form-intro h2 { font-size: 38px; }
  .form-panel { padding: 19px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .form-field-wide { grid-column: auto; }
  .contact-card { padding: 23px; border-radius: 22px; }
  .contact-card > a:not(.button) { font-size: 20px; }
  .contact-detail-list { gap: 19px; }
  .map-section { padding-bottom: 48px; }
  .map-heading h2 { font-size: 28px; }
  .map-section iframe { width: calc(100% - 34px); height: 290px; border-radius: 20px; }
  .student-intro-copy { order: 1; }
  .student-intro-photo { order: 0; }
  .student-intro-photo img { height: 260px; }
  .student-offer-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .student-offer-card { padding: 16px; }
  .student-offer-card h3 { margin-top: 13px; font-size: 14px; }
  .student-offer-card p { font-size: 12px; }
  .transport-layout { grid-template-columns: 48px 1fr; gap: 14px; }
  .transport-icon { width: 48px; height: 48px; border-radius: 14px; }
  .transport-icon .icon { width: 25px; height: 25px; }
  .transport-layout h2 { font-size: 28px; }
  .transport-layout .button { grid-column: 1 / -1; }
  .student-talent { grid-template-columns: 1fr; gap: 16px; }
  .student-talent .button { grid-column: auto; justify-self: start; }
  .student-talent h2 { font-size: 29px; }
  .interest-tags { gap: 8px; }
  .interest-tags span { padding: 9px 12px; font-size: 11px; }
  .gallery-intro { flex-direction: column; gap: 5px; }
  .gallery-filters { gap: 7px; }
  .filter-button { min-height: 36px; padding: 7px 11px; font-size: 11px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-image-wrap { aspect-ratio: .96; }
  .gallery-caption { align-items: flex-start; flex-direction: column; gap: 4px; padding: 11px; font-size: 11px; }
  .lightbox-inner { grid-template-columns: 34px 1fr 34px; gap: 3px; padding: 12px 8px; }
  .lightbox figure img { max-height: 68vh; }
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 33px; height: 33px; font-size: 21px; }
  .news-empty-state { padding: 34px 18px; }
  .news-empty-state h2 { font-size: 29px; }
  .news-grid-page { grid-template-columns: 1fr; }
  .news-card { padding: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-block: 38px 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-address { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; padding-bottom: 14px; }
  .mobile-action-bar {
    position: fixed; z-index: 200; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr);
    min-height: 62px; padding: 6px 8px max(6px, env(safe-area-inset-bottom)); border-top: 1px solid #dce7df;
    background: rgba(255,254,250,.97); box-shadow: 0 -8px 24px rgba(19,52,31,.1); backdrop-filter: blur(14px);
  }
  .mobile-action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--green-deep); font-size: 10px; font-weight: 750; text-decoration: none; }
  .mobile-action-bar .icon { width: 20px; height: 20px; }
  .mobile-action-bar .whatsapp-mark, .mobile-action-bar .enquire-mark { width: 20px; height: 20px; }
  .mobile-action-bar .enquire-mark { display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 18px; line-height: 1; }
  .mobile-action-bar .mobile-action-enquire { color: var(--green-dark); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Visual refresh: quiet motion, more depth, and stronger school navigation cues. */
.hero { background-image: radial-gradient(ellipse at 76% 18%, rgba(245, 184, 0, .2), transparent 31%); }
.hero-image img { animation: hero-photo-arrive 18s ease-out both; }
.hero-content > * { animation: hero-content-arrive .7s cubic-bezier(.2,.75,.25,1) both; }
.hero-content > *:nth-child(2) { animation-delay: 90ms; }
.hero-content > *:nth-child(3) { animation-delay: 170ms; }
.hero-content > *:nth-child(4) { animation-delay: 240ms; }
.hero-content > *:nth-child(5) { animation-delay: 310ms; }
.hero-content > *:nth-child(6) { animation-delay: 380ms; }
.hero-badge { isolation: isolate; }
.hero-badge::before {
  position: absolute; z-index: -1; inset: -9px; border: 1px solid rgba(255,255,255,.52);
  border-radius: inherit; content: ""; animation: badge-ring 3.2s ease-out infinite;
}
.hero-badge::after {
  position: absolute; z-index: -2; inset: -20px; border: 1px solid rgba(255,255,255,.25);
  border-radius: inherit; content: ""; animation: badge-ring 3.2s 1s ease-out infinite;
}
.trust-strip { position: relative; z-index: 2; margin-top: -1px; background: #fff; box-shadow: 0 12px 35px rgba(14,58,35,.075); }
.trust-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  display: flex; min-height: 96px; align-items: center; gap: 13px; padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-icon {
  display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 14px;
  background: var(--green-pale); color: var(--green-dark);
}
.trust-icon .icon { width: 21px; height: 21px; }
.trust-icon-gold { background: var(--gold-pale); color: #856200; }
.trust-icon-maroon { background: #f9e9ec; color: var(--maroon); }
.trust-item strong, .trust-item small { display: block; }
.trust-item strong { color: var(--green-deep); font-size: 13px; line-height: 1.35; }
.trust-item small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; }

.primary-nav a { position: relative; }
.primary-nav a:not(.nav-enquire)::after {
  position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; border-radius: 2px;
  background: var(--gold); content: ""; transform: scaleX(0); transform-origin: left center;
  transition: transform .2s ease;
}
.primary-nav a:not(.nav-enquire):hover::after,
.primary-nav a:not(.nav-enquire)[aria-current="page"]::after { transform: scaleX(1); }
.nav-enquire { transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.nav-enquire:hover { transform: translateY(-2px); box-shadow: 0 11px 22px rgba(31,168,90,.25); }
.button { position: relative; overflow: hidden; box-shadow: 0 9px 22px rgba(20,67,39,.1); }
.button::after {
  position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.28) 48%, transparent 72%);
  content: ""; transform: translateX(-125%); transition: transform .55s ease;
}
.button:hover::after { transform: translateX(125%); }
.button > * { position: relative; z-index: 1; }
.reason-card, .activity-item, .student-offer-card, .step-card, .statement-card, .news-card {
  transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease, border-color .28s ease;
}
.reason-card:hover, .activity-item:hover, .student-offer-card:hover, .step-card:hover, .statement-card:hover, .news-card:hover {
  border-color: rgba(31,168,90,.32); box-shadow: 0 20px 48px rgba(18,65,37,.11); transform: translateY(-5px);
}
.feature-photo, .story-image, .student-intro-photo, .home-gallery a { box-shadow: 0 18px 48px rgba(14,58,35,.1); }
.feature-photo img, .story-image img, .student-intro-photo img { transition: transform .65s cubic-bezier(.2,.75,.25,1); }
.feature-photo:hover img, .story-image:hover img, .student-intro-photo:hover img { transform: scale(1.035); }
.page-hero { isolation: isolate; }
.page-hero::before {
  position: absolute; z-index: -1; top: -170px; right: 13%; width: 390px; height: 390px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: "";
}
.page-hero::after {
  position: absolute; z-index: -1; top: -130px; right: calc(13% + 40px); width: 310px; height: 310px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: "";
}
.page-hero-decoration { animation: page-mark-drift 10s ease-in-out infinite; }
.form-panel { transition: box-shadow .25s ease, transform .25s ease; }
.form-panel:focus-within { box-shadow: 0 20px 60px rgba(30,58,38,.12); }
.filter-button, .gallery-item, .lightbox-close, .lightbox-prev, .lightbox-next {
  transition: background .18s ease, color .18s ease, transform .2s ease, border-color .18s ease, box-shadow .2s ease;
}
.filter-button:active, .lightbox-close:active, .lightbox-prev:active, .lightbox-next:active { transform: scale(.96); }
.contact-card-primary { background-image: radial-gradient(circle at 100% 0%, rgba(245,184,0,.2), transparent 38%); }

.reveal-item { --reveal-delay: 0ms; }
.has-motion .reveal-item {
  opacity: 0; transform: translateY(19px);
  transition: opacity .65s cubic-bezier(.2,.75,.25,1) var(--reveal-delay), transform .65s cubic-bezier(.2,.75,.25,1) var(--reveal-delay);
}
.has-motion .reveal-item.is-visible { opacity: 1; transform: translateY(0); }

@keyframes hero-photo-arrive {
  from { opacity: .7; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes hero-content-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes badge-ring {
  0% { opacity: .65; transform: scale(.9); }
  100% { opacity: 0; transform: scale(1.25); }
}
@keyframes page-mark-drift {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-12px) rotate(-8deg); }
}

@media (max-width: 1100px) {
  .trust-item { gap: 10px; padding-inline: 12px; }
  .trust-item strong { font-size: 12px; }
  .trust-item small { font-size: 10px; }
}
@media (max-width: 820px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); padding-block: 8px; }
  .trust-item { min-height: 76px; border-right: 0; }
  .trust-item:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .trust-item:nth-child(even) { padding-right: 0; padding-left: 18px; }
  .trust-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .trust-icon { width: 39px; height: 39px; border-radius: 12px; }
}
@media (max-width: 580px) {
  .trust-item { min-height: 70px; padding-block: 12px; }
  .trust-item:nth-child(even) { padding-left: 10px; }
  .trust-item strong { font-size: 11px; }
  .trust-item small { font-size: 9px; }
  .trust-icon { width: 34px; height: 34px; }
  .trust-icon .icon { width: 18px; height: 18px; }
  .hero-badge::before { inset: -6px; }
  .hero-badge::after { inset: -14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image img, .hero-content > *, .hero-badge::before, .hero-badge::after, .page-hero-decoration { animation: none !important; }
  .has-motion .reveal-item { opacity: 1; transform: none; transition: none; }
}
