:root {
  --navy-950: #0a2944;
  --navy-900: #103c5e;
  --navy-800: #17618b;
  --blue-300: #b9d9ec;
  --gold: #e9b949;
  --gold-light: #f6d982;
  --paper: #f5f8fb;
  --white: #ffffff;
  --muted: #d5e0e9;
  --line: rgba(255,255,255,.2);
}

* { box-sizing: border-box; }

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-width: 320px;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open { overflow: hidden; }

a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: .8rem 1rem;
  background: var(--white);
  color: var(--navy-900);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 38px 92px minmax(0, 1fr) 76px;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--navy-900);
}

.backdrop-gallery,
.gallery-slide,
.gallery-shade,
.gallery-texture {
  position: absolute;
  inset: 0;
}

.backdrop-gallery {
  z-index: -3;
  overflow: hidden;
  background: var(--navy-800);
}

.gallery-slide {
  z-index: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 2.4s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity;
}

.gallery-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.gallery-slide.is-leaving {
  z-index: 2;
  opacity: 0;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.025);
  transition: transform 9.5s cubic-bezier(.15, .7, .2, 1);
  will-change: transform;
}

.gallery-slide.is-active img,
.gallery-slide.is-leaving img {
  transform: scale(1.085) translate3d(-.65%, -.35%, 0);
}

.gallery-slide img { object-position: 58% 43%; }
.gallery-slide.slide-student-life img { object-position: 58% 45%; }
.gallery-slide.slide-campus img { object-position: 58% 42%; }
.gallery-slide.slide-belonging img { object-position: 62% 42%; }
.gallery-slide.slide-friendship img {
  object-position: 50% 38%;
  transform: scale(1);
}

.gallery-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8,39,65,.88) 0%, rgba(11,53,84,.72) 31%, rgba(12,56,88,.3) 54%, rgba(8,39,65,.05) 72%, rgba(8,39,65,.02) 100%),
    linear-gradient(180deg, rgba(8,39,65,.04) 44%, rgba(8,39,65,.38) 100%);
}

.gallery-texture {
  z-index: 3;
  opacity: .18;
  background-image: radial-gradient(rgba(255,255,255,.45) .55px, transparent .55px);
  background-size: 6px 6px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.contact-strip {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  padding: 0 clamp(1.4rem, 5vw, 5.5rem);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(8,39,65,.46);
  color: var(--blue-300);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.contact-numbers {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-size: .875rem;
  letter-spacing: .08em;
}

.contact-numbers a { text-decoration: none; }

.contact-numbers a:hover { color: var(--gold-light); }

.contact-numbers i,
.dialog-phones i {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.35);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.4rem, 5vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(190px, 17vw, 238px);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 15px rgba(0,0,0,.18));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.header-enquiry {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.16);
  background: #1fa855;
  color: var(--white);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease;
}

.header-enquiry:hover {
  border-color: rgba(255,255,255,.38);
  background: #188b47;
}

.header-enquiry svg,
.button svg,
.form-submit svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .25s ease;
}

.header-enquiry:hover svg,
.button-primary:hover svg,
.form-submit:hover svg { transform: translateX(4px); }

.hero {
  position: relative;
  z-index: 5;
  display: grid;
  min-height: 0;
  align-items: center;
  padding: clamp(2.7rem, 6.5vh, 5.6rem) clamp(1.5rem, 6.5vw, 7.5rem);
}

.hero-content {
  width: min(680px, 61vw);
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: .72rem;
  margin-bottom: clamp(1.8rem, 4vh, 3.2rem);
  padding: .72rem .95rem;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 12px 32px rgba(3,20,35,.26);
  color: var(--navy-950);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: 0 0 0 6px rgba(10,41,68,.1);
}

.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(10,41,68,.34);
  border-radius: 50%;
  animation: pulse 2.4s ease-out infinite;
}

.kicker {
  margin: 0 0 1.2rem;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-style: italic;
  letter-spacing: .02em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 5.8vw, 6.25rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .91;
  text-shadow: 0 6px 42px rgba(0,0,0,.35);
}

h1 em {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.78);
  font-weight: 400;
}

.intro {
  max-width: 660px;
  margin: clamp(1.8rem, 3.2vw, 2.55rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.72;
  text-shadow: 0 2px 20px rgba(0,0,0,.45);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .95rem 1.35rem;
  border: 1px solid transparent;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--gold);
  color: var(--navy-950);
}

.button-primary:hover { background: var(--gold-light); }

.button-secondary {
  border-color: rgba(255,255,255,.38);
  background: rgba(4,18,36,.18);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}

.school-note {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: clamp(2.4rem, 4.5vh, 4rem);
}

.note-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(155,201,233,.48);
  border-radius: 50%;
  color: var(--blue-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9rem;
}

.school-note p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.55;
}

.school-note strong {
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .03em;
}

.slider-control {
  position: absolute;
  right: clamp(1.4rem, 5vw, 5.5rem);
  bottom: clamp(1.6rem, 4vh, 3.2rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slide-count {
  color: rgba(255,255,255,.74);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .82rem;
  font-style: italic;
  letter-spacing: .06em;
}

.slide-dots {
  display: flex;
  align-items: center;
  gap: .42rem;
}

.slide-dot {
  width: 30px;
  height: 3px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slide-dot::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.35);
  transition: background .25s ease, transform .25s ease;
}

.slide-dot:hover::before,
.slide-dot.is-active::before {
  background: var(--gold);
  transform: scaleY(1.6);
}

.site-footer {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  padding: 0 clamp(1.4rem, 5vw, 5.5rem);
  border-top: 1px solid var(--line);
  background: rgba(8,39,65,.84);
  backdrop-filter: blur(16px);
}

.social-footer-copy {
  display: grid;
  min-width: 0;
  gap: .15rem;
}

.social-footer-copy strong {
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.social-footer-copy span {
  color: var(--muted);
  font-size: .78rem;
  white-space: nowrap;
}

.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.footer-social-links a {
  display: inline-flex;
  min-width: 104px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(255,255,255,.17);
  color: var(--white);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.social-icon {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}

.social-icon-instagram { color: #e4405f; }
.social-icon-facebook { color: #1877f2; }
.social-icon-linkedin { color: #0a66c2; }
.social-icon-tiktok {
  color: #fff;
  filter: drop-shadow(-1.4px 0 #25f4ee) drop-shadow(1.4px 0 #fe2c55);
}

.footer-social-links a:hover {
  border-color: rgba(233,185,73,.7);
  background: rgba(233,185,73,.12);
  color: var(--gold-light);
}

.footer-location {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .72s ease, transform .72s ease;
}

.is-ready .reveal { opacity: 1; transform: translateY(0); }
.is-ready .reveal:nth-child(2) { transition-delay: .08s; }
.is-ready .reveal:nth-child(3) { transition-delay: .15s; }
.is-ready .reveal:nth-child(4) { transition-delay: .22s; }
.is-ready .reveal:nth-child(5) { transition-delay: .29s; }
.is-ready .reveal:nth-child(6) { transition-delay: .36s; }

.enquiry-dialog {
  width: min(690px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 1px solid rgba(155,201,233,.34);
  background: transparent;
  color: var(--navy-900);
  overflow: auto;
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
}

.enquiry-dialog::backdrop {
  background: rgba(2,10,21,.78);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  position: relative;
  background: var(--paper);
}

.dialog-shell::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--blue-300), var(--navy-800));
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 1.2rem;
  right: 1.2rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(7,28,55,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.74);
  color: var(--navy-900);
  cursor: pointer;
}

.dialog-close:hover { background: var(--white); }

.dialog-close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.dialog-heading {
  padding: 2.4rem 4.2rem 1.35rem 2.2rem;
  background: linear-gradient(145deg, #eaf3f9, #fff 70%);
}

.dialog-heading span {
  color: #467c9f;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dialog-heading h2 {
  margin: .5rem 0 .7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -.035em;
}

.dialog-heading p {
  max-width: 540px;
  margin: 0;
  color: #50647a;
  font-size: .95rem;
  line-height: 1.6;
}

.enquiry-form {
  display: grid;
  gap: 1rem;
  padding: 1.55rem 2.2rem 1.7rem;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.enquiry-form label {
  display: grid;
  gap: .42rem;
}

.enquiry-form label > span {
  color: #243b54;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid #c9d4df;
  border-radius: 0;
  outline: none;
  background: var(--white);
  color: var(--navy-900);
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.enquiry-form input,
.enquiry-form select { height: 49px; padding: 0 .85rem; }
.enquiry-form textarea { min-height: 108px; padding: .75rem .85rem; resize: vertical; }

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: #4d90ba;
  box-shadow: 0 0 0 3px rgba(77,144,186,.14);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: .25rem;
}

.form-actions p {
  max-width: 310px;
  margin: 0;
  color: #64778a;
  font-size: .76rem;
  line-height: 1.5;
}

.form-actions p.is-error {
  color: #9d2f2f;
  font-weight: 700;
}

.form-submit {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .8rem 1.2rem;
  border: 0;
  background: var(--navy-900);
  color: var(--white);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form-submit:hover { background: var(--navy-800); }

.form-submit:disabled {
  cursor: wait;
  opacity: .68;
}

.enquiry-confirmation {
  padding: 2.35rem 2.2rem 2.55rem;
  text-align: center;
  transition: opacity .35s ease, transform .35s ease;
}

.enquiry-confirmation[hidden] { display: none; }

.enquiry-confirmation.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}

.confirmation-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 50%;
  background: #1fa855;
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(31,168,85,.12);
}

.confirmation-mark svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.confirmation-kicker {
  margin: 0 0 .55rem;
  color: #467c9f;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.enquiry-confirmation h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -.035em;
}

.enquiry-confirmation > p:not(.confirmation-kicker) {
  max-width: 520px;
  margin: .8rem auto 0;
  color: #50647a;
  font-size: .96rem;
  line-height: 1.65;
}

.enquiry-confirmation .confirmation-timer {
  margin-top: 1.15rem;
  color: #73879a;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .04em;
}

.dialog-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .72rem;
  padding: 1rem 2.2rem;
  background: var(--navy-900);
  color: var(--white);
  font-size: .875rem;
  font-weight: 750;
}

.dialog-phones span {
  color: var(--blue-300);
  font-weight: 650;
}

.dialog-phones a { text-decoration: none; }
.dialog-phones a:hover { color: var(--gold-light); }

@keyframes pulse {
  from { opacity: .75; transform: scale(.65); }
  to { opacity: 0; transform: scale(1.55); }
}

@media (max-width: 1100px) {
  .page-shell { grid-template-rows: 36px 86px minmax(0, 1fr) 72px; }
  .hero-content { width: min(680px, 67vw); }
  .site-footer { grid-template-columns: minmax(190px, 1fr) auto; }
  .footer-location { display: none; }
  .footer-social-links a { min-width: 90px; }
}

@media (max-width: 760px) {
  .page-shell { grid-template-rows: 36px 72px minmax(0, 1fr) 72px; }
  .contact-strip {
    justify-content: center;
    gap: .65rem;
    padding-inline: .75rem;
  }
  .contact-strip > span { display: none; }
  .contact-numbers {
    gap: .48rem;
    font-size: .78rem;
    letter-spacing: .03em;
  }
  .site-header { padding-inline: 1rem; }
  .brand-logo { width: 162px; max-height: 54px; }
  .header-enquiry { min-height: 40px; padding: .55rem .72rem; font-size: .72rem; }
  .hero {
    display: flex;
    min-height: 0;
    align-items: center;
    padding: clamp(.75rem, 2.4vh, 1.35rem) 1rem 2.4rem;
  }
  .hero-content { width: 100%; }
  .gallery-slide img { object-position: 62% center; }
  .gallery-slide.slide-student-life img { object-position: 60% center; }
  .gallery-slide.slide-campus img { object-position: 58% center; }
  .gallery-slide.slide-belonging img { object-position: 62% center; }
  .gallery-slide.slide-friendship img { object-position: 50% 38%; }
  .gallery-shade {
    background:
      linear-gradient(90deg, rgba(8,39,65,.9), rgba(11,53,84,.68)),
      linear-gradient(180deg, rgba(8,39,65,.12) 32%, rgba(8,39,65,.72) 100%);
  }
  .eyebrow { margin-bottom: clamp(.7rem, 2vh, 1.1rem); }
  .kicker { margin-bottom: .45rem; font-size: clamp(.92rem, 3.8vw, 1.1rem); }
  h1 { font-size: clamp(2.65rem, 12vw, 4.1rem); }
  .intro {
    max-width: 560px;
    margin-top: clamp(.65rem, 2vh, 1rem);
    font-size: clamp(.9rem, 3.4vw, 1rem);
    line-height: 1.45;
  }
  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
    margin-top: clamp(.75rem, 2.3vh, 1.2rem);
  }
  .button { min-height: 44px; padding: .68rem .6rem; font-size: .72rem; }
  .school-note { display: none; }
  .slider-control { right: 1rem; bottom: .55rem; }
  .site-footer {
    grid-template-columns: auto 1fr;
    gap: .75rem;
    padding: 0 1rem;
  }
  .social-footer-copy span { display: none; }
  .social-footer-copy strong { max-width: 92px; font-size: .67rem; line-height: 1.25; }
  .footer-social-links { justify-content: flex-end; gap: .3rem; }
  .footer-social-links a {
    min-width: 36px;
    min-height: 36px;
    padding: .35rem;
    font-size: .7rem;
  }
  .social-full { display: none; }
  .social-icon { width: 17px; height: 17px; }
  .field-grid { grid-template-columns: 1fr; }
  .dialog-heading { padding: 2rem 3.7rem 1.2rem 1.25rem; }
  .enquiry-form { padding: 1.25rem; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-submit { width: 100%; }
  .enquiry-confirmation { padding: 2rem 1.25rem 2.2rem; }
  .dialog-phones {
    flex-wrap: wrap;
    gap: .48rem;
    padding-inline: 1rem;
    font-size: .78rem;
  }
  .dialog-phones span { width: 100%; text-align: center; }
}

@media (max-width: 460px) {
  .brand-logo { width: 138px; }
  .header-enquiry svg { display: none; }
  .button { width: 100%; }
  .contact-numbers i { height: 12px; }
  .slide-count { display: none; }
}

@media (max-height: 740px) and (min-width: 761px) {
  .page-shell { grid-template-rows: 32px 76px minmax(0, 1fr) 64px; }
  .hero { padding-block: 1.1rem 2rem; }
  .eyebrow { margin-bottom: .75rem; }
  .kicker { margin-bottom: .45rem; }
  h1 { font-size: clamp(2.8rem, 5.1vw, 4.7rem); }
  .intro { margin-top: .75rem; line-height: 1.42; }
  .actions { margin-top: .85rem; }
  .button { min-height: 46px; padding-block: .7rem; }
  .school-note { display: none; }
  .slider-control { bottom: .65rem; }
}

@media (max-height: 640px) and (max-width: 760px) {
  .page-shell { grid-template-rows: 32px 62px minmax(0, 1fr) 62px; }
  .contact-strip { font-size: .62rem; }
  .contact-numbers { font-size: .72rem; }
  .brand-logo { width: 130px; max-height: 48px; }
  .header-enquiry { min-height: 36px; padding-block: .45rem; }
  .hero { padding-block: .45rem 1.7rem; }
  .eyebrow { margin-bottom: .45rem; padding: .48rem .68rem; font-size: .62rem; }
  .kicker { font-size: .88rem; }
  h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .intro { margin-top: .45rem; font-size: .84rem; line-height: 1.32; }
  .actions { margin-top: .5rem; }
  .button { min-height: 38px; padding-block: .48rem; font-size: .66rem; }
  .footer-social-links a { min-width: 32px; min-height: 32px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .page-shell { grid-template-rows: 28px 54px minmax(0, 1fr) 52px; }
  .contact-strip { font-size: .58rem; }
  .contact-numbers { font-size: .68rem; }
  .brand-logo { width: 122px; max-height: 42px; }
  .header-enquiry { min-height: 34px; }
  .hero { padding: .3rem 1rem 1.5rem; }
  .kicker,
  .intro,
  .school-note { display: none; }
  .eyebrow { margin-bottom: .4rem; padding: .42rem .6rem; font-size: .58rem; }
  h1 { font-size: clamp(2.05rem, 7vw, 3rem); }
  .actions { max-width: 430px; margin-top: .5rem; }
  .button { min-height: 36px; padding-block: .42rem; }
  .slider-control { bottom: .25rem; }
  .site-footer { padding-inline: 1rem; }
  .social-footer-copy span { display: none; }
  .footer-social-links a { min-width: 32px; min-height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
