:root {
  --ink: #183333;
  --muted: #536b69;
  --teal: #155b57;
  --teal-dark: #0d4542;
  --coral: #ed765d;
  --sun: #f4c64f;
  --sky: #d9eef1;
  --cream: #fffaf0;
  --paper: #ffffff;
  --line: #dce8e5;
  --shadow: 0 18px 50px rgba(17, 73, 70, 0.12);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-dark);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 10px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid rgba(21, 91, 87, 0.12);
  background: rgba(255, 250, 240, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 1.05rem;
}

.brand-copy span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: var(--teal);
  border-radius: 14px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span {
  margin: 5px 0;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.7rem 0.72rem;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--teal);
}

.site-nav .nav-contact {
  margin-left: 0.35rem;
  color: var(--ink);
  background: var(--sun);
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 840px);
  margin-inline: auto;
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(244, 198, 79, 0.35) 0 6%, transparent 6.2%),
    radial-gradient(circle at 95% 88%, rgba(237, 118, 93, 0.22) 0 10%, transparent 10.2%),
    linear-gradient(135deg, #eef8f5 0%, #fffaf0 60%);
}

.hero-grid {
  padding: 5.2rem 0;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 740px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.button-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  min-height: 50px;
  padding: 0.75rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(21, 91, 87, 0.18);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 14px 30px rgba(21, 91, 87, 0.26);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--teal);
  background: transparent;
  border-color: var(--teal);
  box-shadow: none;
}

.button-secondary:hover {
  color: #fff;
}

.hero-image {
  position: relative;
}

.hero-image::before,
.hero-image::after {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  content: "";
}

.hero-image::before {
  width: 140px;
  height: 140px;
  top: -35px;
  right: -35px;
  background: var(--sun);
}

.hero-image::after {
  width: 90px;
  height: 90px;
  bottom: -25px;
  left: -25px;
  background: var(--coral);
}

.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(540px, 60vw);
  min-height: 390px;
  object-fit: cover;
  border: 10px solid #fff;
  border-radius: 42% 58% 48% 52% / 48% 38% 62% 52%;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  z-index: 2;
  right: -12px;
  bottom: 42px;
  width: 132px;
  height: 132px;
  padding: 1rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--sun);
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transform: rotate(5deg);
}

.trust-strip {
  background: var(--teal);
}

.trust-grid {
  padding: 1.15rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  color: #fff;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 800;
  text-align: center;
}

.trust-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  background: var(--sun);
  border-radius: 50%;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-white {
  background: #fff;
}

.section-teal {
  color: #fff;
  background: var(--teal);
}

.section-teal .eyebrow,
.section-teal p {
  color: #e9fffb;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(17, 73, 70, 0.07);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--sun);
  border-radius: 16px;
  font-size: 1.45rem;
}

.card:nth-child(2) .card-icon {
  background: var(--sky);
}

.card:nth-child(3) .card-icon {
  background: #ffdcd4;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.split-image {
  position: relative;
}

.split-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.split-copy p,
.prose p,
.prose li {
  color: var(--muted);
}

.check-list,
.feature-list {
  padding: 0;
  list-style: none;
}

.check-list li,
.feature-list li {
  position: relative;
  margin: 0.7rem 0;
  padding-left: 2rem;
}

.check-list li::before,
.feature-list li::before {
  position: absolute;
  top: 0.08rem;
  left: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  content: "✓";
  font-size: 0.74rem;
  font-weight: 900;
}

.feature-list li::before {
  content: "•";
  color: var(--ink);
  background: var(--sun);
}

.hours-panel {
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 69, 66, 0.94), rgba(21, 91, 87, 0.9)),
    url("../images/learning-room.webp") center / cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hours-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hours-item {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
}

.hours-item strong {
  display: block;
  color: var(--sun);
  font-size: 1.18rem;
}

.cta {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--sky);
  border-radius: 32px;
}

.cta h2 {
  margin-bottom: 0.5rem;
}

.cta p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(244, 198, 79, 0.32) 0 9%, transparent 9.3%),
    linear-gradient(135deg, var(--teal-dark), var(--teal));
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #e5f7f5;
  font-size: 1.15rem;
}

.breadcrumbs {
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.breadcrumbs a,
.breadcrumbs span {
  color: #d7eeec;
}

.breadcrumbs span {
  margin: 0 0.45rem;
}

.notice {
  padding: 1.2rem 1.35rem;
  border-left: 5px solid var(--coral);
  background: #fff3ef;
  border-radius: 0 14px 14px 0;
}

.notice strong {
  color: var(--ink);
}

.quote {
  margin: 2rem 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--ink);
  background: var(--sky);
  border-radius: var(--radius);
  font-size: 1.18rem;
  font-weight: 700;
}

.quote p {
  color: inherit;
}

.facts {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ofsted-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.ofsted-photo-card {
  position: relative;
  padding-bottom: 3.8rem;
}

.ofsted-photo-card > img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.ofsted-rating {
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: 0;
  left: clamp(1rem, 4vw, 2.5rem);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(17, 73, 70, 0.18);
}

.ofsted-rating-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 1.55rem;
  font-weight: 900;
}

.ofsted-rating span:last-child {
  display: grid;
  line-height: 1.25;
}

.ofsted-rating small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ofsted-rating strong {
  color: var(--teal-dark);
  font-size: 1.45rem;
}

.ofsted-heading h2,
.ofsted-heading p:last-child {
  color: #fff;
}

.ofsted-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ofsted-highlight {
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
}

.ofsted-highlight > span {
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--sun);
  border-radius: 14px;
  font-size: 1.25rem;
  font-weight: 900;
}

.ofsted-highlight h3 {
  color: #fff;
  font-size: 1.15rem;
}

.ofsted-highlight p {
  margin-bottom: 0;
  color: #dff3f0;
  font-size: 0.95rem;
}

.ofsted-quote {
  position: relative;
  padding-left: clamp(2rem, 6vw, 4rem);
}

.ofsted-quote::before {
  position: absolute;
  top: 0.35rem;
  left: 1rem;
  color: var(--teal);
  content: "“";
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.ofsted-details-title {
  margin-top: 3.5rem;
}

.fact {
  padding: 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.fact dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-weight: 800;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.area-card {
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.area-card strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--teal);
}

.gallery-toolbar {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-toolbar p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  margin: 0;
}

.gallery-item button {
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  background: #d9e7e5;
  border-radius: 16px;
  box-shadow: 0 7px 20px rgba(17, 73, 70, 0.08);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 13 / 9;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item button:hover img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.gallery-pages {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.gallery-page {
  width: 48px;
  height: 48px;
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
  border-radius: 50%;
  font-weight: 900;
  cursor: pointer;
}

.gallery-page:hover,
.gallery-page[aria-current="page"] {
  color: #fff;
  background: var(--teal);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 1rem;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 60px;
  align-items: center;
  gap: 0.75rem;
  background: rgba(4, 24, 23, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 5rem);
  margin: auto;
  display: grid;
  justify-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin-top: 0.7rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  color: var(--ink);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
}

.lightbox-nav {
  width: 54px;
  height: 54px;
  font-size: 1.7rem;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: var(--sun);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: #fff;
  background: var(--teal);
  border-radius: 28px;
}

.contact-panel p,
.contact-panel a {
  color: #e8faf7;
}

.contact-panel address {
  font-style: normal;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #cbdedb;
  color: var(--ink);
  background: #fff;
  border-radius: 12px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(244, 198, 79, 0.5);
}

.form-field textarea {
  min-height: 155px;
  resize: vertical;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 1rem 1.15rem;
  border-radius: 12px;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  color: #174d33;
  background: #e2f7e9;
}

.form-status.error {
  color: #7a271a;
  background: #ffebe7;
}

.success-section {
  min-height: 68vh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 198, 79, 0.3) 0 7%, transparent 7.3%),
    radial-gradient(circle at 91% 82%, rgba(237, 118, 93, 0.2) 0 10%, transparent 10.3%),
    linear-gradient(135deg, #eef8f5, #fffaf0);
}

.success-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.2rem, 7vw, 5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.success-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border: 8px solid #dff3ee;
  border-radius: 50%;
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1;
}

.success-card h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 7vw, 4.25rem);
}

.success-card > p {
  max-width: 610px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.12rem;
}

.success-card .button-row {
  justify-content: center;
}

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

.site-footer {
  padding: 4rem 0 1.5rem;
  color: #d8e9e7;
  background: #102f2e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 76px;
  height: 76px;
  padding: 0.35rem;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
}

.footer-title {
  margin: 0 0 0.8rem;
  color: var(--sun);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0.38rem 0;
}

.site-footer a {
  color: #e7f5f3;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aac3c1;
  font-size: 0.85rem;
}

@media (max-width: 1060px) {
  .brand-copy {
    display: none;
  }

  .site-nav a {
    padding-inline: 0.58rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    max-height: calc(100vh - 78px);
    padding: 1rem;
    overflow: auto;
    background: var(--cream);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav ul {
    display: grid;
    gap: 0.35rem;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .site-nav .nav-contact {
    margin: 0.35rem 0 0;
    text-align: center;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid,
  .split,
  .ofsted-feature,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 4rem 0;
  }

  .hero-image {
    max-width: 680px;
  }

  .trust-grid,
  .cards,
  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ofsted-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container,
  .narrow,
  .header-inner {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .hero-grid {
    padding: 3.1rem 0;
  }

  .hero-image img {
    height: 390px;
    min-height: 0;
    border-width: 7px;
  }

  .hero-badge {
    right: -3px;
    bottom: 15px;
    width: 112px;
    height: 112px;
    font-size: 0.76rem;
  }

  .trust-grid,
  .cards,
  .hours-grid,
  .facts,
  .ofsted-highlights,
  .areas-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ofsted-photo-card > img {
    min-height: 360px;
  }

  .ofsted-rating {
    right: 0.7rem;
    left: 0.7rem;
  }

  .trust-item {
    justify-content: flex-start;
  }

  .cta,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .lightbox {
    padding: 0.7rem;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 0.35rem;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

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

  .form-field {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.explore-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.explore-links a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 132px;
  padding: 1.4rem;
  border: 1px solid rgba(21, 91, 87, 0.16);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.explore-links a::after {
  content: "→";
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
}

.explore-links a:hover,
.explore-links a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.explore-links strong {
  color: var(--teal-dark);
  font-size: 1.15rem;
}

.explore-links span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .explore-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .explore-links {
    grid-template-columns: 1fr;
  }
}
