@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght,SOFT,WONK@9..144,500,30,1;9..144,600,30,1&display=swap');

:root {
  color-scheme: light dark;
  --surface: #ffffff;
  --surface-accent: #fff8dc;
  --glass: rgb(255 255 255 / 88%);
  --text: #301e21;
  --muted: #645154;
  --red: #b21f32;
  --red-hover: #8f1727;
  --link: #a6192e;
  --on-red: #ffffff;
  --yellow: #ffd451;
  --on-yellow: #46202a;
  --purple-soft: #f0e5f7;
  --purple-ink: #593466;
  --green-soft: #e1efe5;
  --green-ink: #285239;
  --border: #edd9d8;
  --shadow: #4a182326;
  --band: #961a2c;
  --footer: #651523;
  --on-band: #fff5f4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #21171a;
    --surface-accent: #30251b;
    --glass: rgb(33 23 26 / 88%);
    --text: #fff6f4;
    --muted: #dcc9cb;
    --red: #bb243b;
    --red-hover: #a91e33;
    --link: #ff9fa8;
    --purple-soft: #392645;
    --purple-ink: #ead1fa;
    --green-soft: #263a2e;
    --green-ink: #c4ead0;
    --border: #634149;
    --shadow: #00000055;
    --band: #791528;
    --footer: #4d111c;
  }
}
:root{font-family:'DM Sans',sans-serif;color:var(--text);background:var(--surface);font-size:16px;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height, 83px) + 20px)}*{box-sizing:border-box}body{margin:0}a{color:inherit}button{font:inherit}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}.skip{position:absolute;top:-80px;left:12px;background:var(--surface);padding:12px;z-index:10}.skip:focus{top:12px}.site-header{background:var(--surface);position:sticky;top:0;z-index:5;border-bottom:1px solid var(--border)}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:82px}.brand{display:inline-flex;gap:11px;align-items:center;text-decoration:none;font-family:'Fraunces',serif;font-weight:600;font-size:25px;line-height:.85;white-space:nowrap}.brand small{display:block;font:600 11px/1.5 'DM Sans',sans-serif;letter-spacing:.055em;text-transform:uppercase;margin-top:7px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:var(--yellow);color:var(--on-yellow);border-radius:50%;font:31px 'DM Sans',sans-serif}.site-header nav{display:flex;align-items:center;gap:32px}.site-header nav a{text-decoration:none;font-size:14px;font-weight:700}.site-header nav a:hover{text-decoration:underline;text-underline-offset:5px}.nav-cta{background:var(--red);color:var(--on-red);padding:13px 20px;border-radius:100px}.menu-toggle{display:none}.hero{background:var(--surface);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;min-height:520px;align-items:center;gap:65px;padding:45px 0}.hero-copy{padding:35px 0}.eyebrow{font-size:13px;letter-spacing:.15em;font-weight:700;text-transform:uppercase}.sparkle{color:var(--yellow);text-shadow:0 0 1px var(--on-yellow);font-size:21px;margin-right:8px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Fraunces',serif}h1{font-size:clamp(38px,5.2vw,76px);line-height:1.06;letter-spacing:-.055em;margin:24px 0}h1 em{font-weight:500;color:var(--link)}p{font-size:17px;line-height:1.75;color:var(--muted)}.hero-copy>p{max-width:510px}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:25px;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:100px;text-decoration:none;font-weight:700;font-size:15px;min-height:52px;padding:0 25px;transition:transform .2s,background .2s}.button:hover{transform:translateY(-3px)}.primary{background:var(--red);color:var(--on-red)}.primary:hover{background:var(--red-hover)}.text-button{padding:0;gap:4px}.section{padding:clamp(64px,7vw,100px) 0}.split{display:grid;grid-template-columns:1fr 1fr;gap:90px}h2{font-size:clamp(40px,4.3vw,65px);line-height:1.12;letter-spacing:-.045em;margin:20px 0 0}.learning{background:var(--surface-accent)}.section-heading{margin-bottom:40px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card{background:var(--surface);box-shadow:inset 0 0 0 1px var(--border);border-radius:20px;padding:35px}.card-icon{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;font-size:29px;margin-bottom:35px}.card h3{font-size:27px;margin-bottom:9px}.card p{font-size:15px;line-height:1.6}.contact{background:var(--band);color:var(--on-red)}.contact h2{max-width:700px}.contact p{color:var(--on-band);max-width:560px}footer{background:var(--footer);color:var(--on-red);padding:35px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}footer .brand{font-size:21px}footer p{color:var(--on-band);font-size:14px;margin:0}footer a{font-size:14px}a:focus-visible,button:focus-visible{outline:3px solid var(--link);outline-offset:4px}@media(max-width:900px){.hero-grid{gap:24px}.cards{gap:12px}.card{padding:25px}}@media(max-width:760px){.wrap{width:min(100% - 32px,560px)}:root{--header-height:71px}.header-inner{min-height:70px;flex-wrap:wrap}.brand{font-size:21px}.brand-mark{height:36px;width:36px}.menu-ready .menu-toggle{display:block;min-height:44px;background:none;border:0;color:var(--link);font-size:14px;font-weight:700;padding:12px;cursor:pointer}.site-header nav{flex-wrap:wrap;gap:8px;padding-bottom:12px}.site-header.menu-ready nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--surface);padding:20px 24px 26px;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 15px 20px var(--shadow)}.site-header.menu-ready nav.open{display:flex;max-height:calc(100dvh - 70px);overflow:auto}.site-header nav a{padding:14px}.site-header nav .nav-cta{text-align:center;margin-top:10px}.hero-grid,.split{grid-template-columns:1fr}.hero-grid{padding:40px 0 48px}.hero-copy{padding:0}.section{padding:75px 0}.split{gap:20px}.cards{grid-template-columns:1fr}.card-icon{margin-bottom:20px}.footer-inner{flex-direction:column;align-items:flex-start}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.site-header nav a:not(.nav-cta),
.text-button,
.skip {
  color: var(--link);
}

.nav-cta:hover {
  background: var(--red-hover);
}

.contact a:focus-visible,
footer a:focus-visible {
  outline-color: var(--yellow);
}


.school-motto {
  margin: 24px 0 0;
  border-inline-start: 4px solid var(--yellow);
  padding-inline-start: 16px;
  font: 500 italic 1.4rem/1.5 'Fraunces', serif;
}

.icon-purple {
  background: var(--purple-soft);
  color: var(--purple-ink);
}

.icon-green {
  background: var(--green-soft);
  color: var(--green-ink);
}

.programme-note {
  margin: 24px 0 0;
}

.programme-note a {
  color: var(--link);
  font-weight: 700;
  text-underline-offset: 3px;
}

.intro .split {
  align-items: center;
}

.intro .school-motto {
  margin-bottom: 24px;
}

.school-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.hero-frame,
.photo-frame {
  overflow: hidden;
  border-radius: 20px;
}

.hero-photo {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery {
  border-top: 1px solid var(--border);
}

.gallery .section-heading::after {
  content: '';
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 16px;
  border-radius: 4px;
  background: var(--yellow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 26px 18px;
}

.gallery-photo {
  grid-column: span 5;
  min-width: 0;
  margin: 0;
}

.gallery-photo:first-child,
.gallery-photo:last-child {
  grid-column: span 7;
}

.gallery-photo .school-photo {
  height: clamp(220px, 26vw, 334px);
  object-fit: cover;
  object-position: right center;
}

.gallery-photo figcaption {
  margin: 10px 3px 0;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-photo {
    animation: hero-settle 1.25s cubic-bezier(.2,.65,.35,1) both;
  }

  .photo-reveal.is-visible {
    animation: photo-reveal .6s ease-out both;
  }

  @media (hover: hover) {
    .gallery-photo .school-photo {
      transition: transform .42s ease;
    }

    .gallery-photo:hover .school-photo {
      transform: scale(1.025);
    }
  }
}

@keyframes hero-settle {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@keyframes photo-reveal {
  from { opacity: .78; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .hero-photo {
    aspect-ratio: auto;
  }

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

  .gallery-photo,
  .gallery-photo:first-child,
  .gallery-photo:last-child {
    grid-column: 1;
  }

  .gallery-photo .school-photo {
    height: auto;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 36px;
}

.contact-grid h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.contact-methods {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-methods dt,
.map-link {
  color: var(--yellow);
  font-weight: 700;
}

.contact-methods dd {
  margin: 4px 0 0;
  color: var(--on-band);
}

.contact address {
  margin-bottom: 12px;
  font-style: normal;
  line-height: 1.65;
}

.map-link {
  text-underline-offset: 3px;
}

.hours {
  margin: 20px 0 0;
  font-size: 15px;
}

@media (max-width: 760px) {
  .site-header:not(.menu-ready) {
    position: static;
  }

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

@media (prefers-reduced-motion: reduce) {
  .button:hover {
    transform: none;
  }
}
