:root {
  --blue-950: #082b5c;
  --blue-900: #0a376f;
  --blue-800: #124b88;
  --blue-100: #e7eff7;
  --blue-50: #f2f6fa;
  --ink: #172334;
  --muted: #596575;
  --chalk: #fdfcf8;
  --paper: #f8f5ee;
  --stone: #eee9df;
  --white: #fff;
  --gold: #d9a928;
  --gold-light: #f2df9e;
  --orange: #df6f2c;
  --orange-dark: #c85b1f;
  --sage: #7d9583;
  --sage-light: #e7ece6;
  --line: #d9d9d3;
  --container: 68.04rem;
  --reading: 42rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --sans: Arial, Helvetica, sans-serif;
  --serif: Arial, Helvetica, sans-serif;
  --radius-sm: .35rem;
  --radius: .8rem;
  --radius-lg: 1.25rem;
  --shadow: 0 18px 50px rgb(12 35 64 / .1);
  --transition: 180ms ease;
  --home-section-space: 3rem;
  --home-section-half-space: 1.5rem;
}

html { scroll-behavior: smooth; scroll-padding-block-start: 2rem; }
body { overflow-x: hidden; background: var(--chalk); color: var(--ink); font-family: var(--sans); font-size: 1.075rem; line-height: 1.68; -webkit-font-smoothing: antialiased; }
body.menu-active { overflow: hidden; }
.container { inline-size: min(calc(100% - 2 * var(--gutter)), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; inset: .75rem auto auto .75rem; padding: .75rem 1rem; background: var(--gold-light); color: var(--blue-950); font-weight: 750; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
a, button { transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* Header */
.site-header { position: relative; z-index: 50; background: var(--chalk); color: var(--blue-950); border-block-end: 3px solid var(--gold); }
.header-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.2vw, 2.5rem); min-block-size: clamp(8.5rem, 11vw, 10rem); }
.brand { display: inline-flex; inline-size: fit-content; align-items: center; color: var(--blue-950); line-height: 1.05; text-decoration: none; }
.brand img { inline-size: clamp(20rem, 30vw, 27rem); block-size: auto; }
.ofsted-logo { inline-size: clamp(6.25rem, 8vw, 7.5rem); block-size: clamp(6.25rem, 8vw, 7.5rem); object-fit: contain; }
.primary-nav { min-inline-size: 0; background: var(--blue-950); border-block-start: 1px solid rgb(255 255 255 / .18); }
.nav-inner { display: flex; min-block-size: 2.8rem; align-items: center; justify-content: center; gap: .75rem; }
.nav-label, .primary-nav .nav-action { display: none; }
.primary-nav ul { display: flex; flex-wrap: nowrap; justify-content: center; gap: .3rem clamp(.55rem, 1.1vw, 1rem); list-style: none; }
.primary-nav li { flex: none; }
.primary-nav a { position: relative; color: rgb(255 255 255 / .9); font-size: clamp(.889rem, .995vw, 1.006rem); font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.nav-link-label-mobile { display: none; }
.primary-nav a::after { position: absolute; inset: auto 0 -.55rem; block-size: 2px; background: var(--gold); content: ""; opacity: 0; transform: scaleX(.3); transition: opacity var(--transition), transform var(--transition); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--white); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { opacity: 1; transform: none; }
.menu-button { display: none; min-block-size: 3rem; align-items: center; gap: .65rem; padding: .6rem 1rem; background: transparent; color: var(--blue-950); border: 1px solid rgb(8 43 92 / .45); border-radius: 999px; font-size: .82rem; font-weight: 750; }
.is-enhanced .menu-button { display: flex; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; inline-size: 1.2rem; block-size: 2px; background: currentColor; content: ""; transition: transform var(--transition), top var(--transition); }
.menu-icon { position: relative; }
.menu-icon::before { position: absolute; inset-block-start: -.35rem; }
.menu-icon::after { position: absolute; inset-block-start: .35rem; }
.menu-open .menu-icon { background: transparent; }
.menu-open .menu-icon::before { inset-block-start: 0; transform: rotate(45deg); }
.menu-open .menu-icon::after { inset-block-start: 0; transform: rotate(-45deg); }
.is-enhanced .primary-nav { display: none; }
.is-enhanced.menu-open .primary-nav { display: block; }

/* Shared typography and actions */
.eyebrow, .kicker { display: flex; align-items: center; gap: .7rem; color: var(--blue-800); font-size: 1.04rem; font-weight: 710; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.eyebrow::before, .kicker::before { inline-size: 2.25rem; block-size: 2px; background: var(--gold); content: ""; }
h1, .section-title, .enquiries h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
h1 { max-inline-size: 10ch; margin-block: 1rem 1.5rem; color: var(--blue-950); font-family: var(--sans); font-size: clamp(3.22rem, 5.244vw, 5.75rem); font-weight: 720; letter-spacing: -.041em; line-height: .98; }
.section-title { max-inline-size: 15ch; margin-block: .8rem 2rem; color: var(--blue-950); font-size: clamp(2.0125rem, 3.864vw, 3.82375rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.button, .text-button { display: inline-flex; min-block-size: 3rem; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .35rem .4rem .35rem 1.25rem; border: 1px solid transparent; border-radius: 999px; font-size: .81rem; font-weight: 800; letter-spacing: .055em; line-height: 1.2; text-decoration: none; text-transform: uppercase; }
.button span, .text-button span { position: relative; display: grid; inline-size: 2.15rem; block-size: 2.15rem; flex: none; place-items: center; background: var(--blue-950); color: var(--white); border-radius: 50%; font-size: 0; line-height: 0; transition: transform var(--transition); }
.button span::before, .text-button span::before { position: absolute; inset-block-start: calc(50% - 1px); inset-inline-start: .67rem; inline-size: .78rem; block-size: 2px; background: currentColor; content: ""; }
.button span::after, .text-button span::after { position: absolute; inset-block-start: calc(50% - .22rem); inset-inline-end: .66rem; inline-size: .42rem; block-size: .42rem; border-block-start: 2px solid currentColor; border-inline-end: 2px solid currentColor; content: ""; transform: rotate(45deg); }
.text-link span { font-size: 1.1em; transition: transform var(--transition); }
.button:hover span, .text-button:hover span, .text-link:hover span { transform: translateX(.18rem); }
.button-primary, .text-button { background: var(--orange); color: var(--white); font-weight: 700; text-rendering: geometricPrecision; }
.button-primary:hover, .text-button:hover { background: var(--orange-dark); color: var(--white); }
.button-secondary { background: transparent; color: var(--blue-900); border-color: var(--blue-900); }
.button-secondary:hover { background: var(--blue-50); }
.button-accent { background: var(--orange); color: var(--white); font-weight: 700; text-rendering: geometricPrecision; }
.button-accent:hover { background: var(--orange-dark); color: var(--white); }
.button-light { background: var(--white); color: var(--blue-900); }
.button-light:hover { background: var(--paper); }
.section { position: relative; padding-block: var(--home-section-half-space); }

/* Hero */
.hero { padding-block: var(--home-section-space) var(--home-section-half-space); background: var(--paper); }
.hero-grid { --hero-gutter: .6875rem; position: relative; display: grid; grid-template-columns: minmax(0, .43fr) minmax(0, .57fr); grid-template-areas: "copy montage"; column-gap: var(--hero-gutter); align-items: stretch; }
.hero-copy { display: grid; min-inline-size: 0; grid-area: copy; grid-template-rows: minmax(0, 1fr) auto auto; gap: var(--hero-gutter); }
.hero-welcome { position: relative; display: flex; min-inline-size: 0; flex-direction: column; justify-content: center; gap: .35rem; padding: clamp(1.2rem, 2vw, 1.75rem); overflow: hidden; isolation: isolate; background: var(--chalk); border: 1px solid rgb(8 43 92 / .06); border-radius: var(--radius); }
.hero-heading-row { display: contents; }
.hero-ofsted-logo { display: none; }
.hero-copy .eyebrow { gap: .55rem; font-size: .77rem; letter-spacing: .12em; }
.hero-copy .eyebrow::before { inline-size: 1.75rem; }
.hero-copy h1 { position: relative; z-index: 1; max-inline-size: none; margin: 0; font-size: clamp(2.8rem, 5.15vw, 4.7rem); letter-spacing: -.05em; line-height: .92; }
.hero-intro { max-inline-size: 25rem; color: var(--muted); font-size: clamp(1.1rem, 1.9vw, 1.55rem); font-weight: 600; line-height: 1.32; }
.funding-ribbon { display: grid; inline-size: 100%; grid-template-columns: auto minmax(0, 1fr); align-items: center; margin: 0; padding: .55rem .9rem .55rem .8rem; background: var(--gold-light); color: var(--blue-950); border: 1px solid #dfc66d; border-inline-start: 6px solid var(--orange); border-radius: var(--radius-sm); }
.funding-ribbon strong { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; text-rendering: geometricPrecision; white-space: nowrap; }
.funding-ribbon span { max-inline-size: none; margin-inline-start: .8rem; padding-inline-start: .8rem; border-inline-start: 2px solid var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .1em; line-height: 1.25; text-rendering: geometricPrecision; text-transform: uppercase; }
.hero-booking { display: flex; align-items: center; padding: .75rem .9rem; background: #e8f0ea; border: 1px solid rgb(8 43 92 / .06); border-radius: var(--radius); }
.hero-montage { display: grid; min-inline-size: 0; min-block-size: clamp(25rem, 34vw, 31rem); grid-area: montage; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--hero-gutter); }
.hero-tile { min-inline-size: 0; min-block-size: 0; margin: 0; overflow: hidden; background: var(--blue-50); border-radius: var(--radius); }
.hero-tile img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.hero-tile--main { grid-column: 1; grid-row: 1 / span 2; }
.hero-tile--main img { object-position: 62% center; }
.hero-tile--outdoor { grid-column: 2; grid-row: 1; }
.hero-motto { position: relative; display: flex; min-inline-size: 0; grid-column: 2; grid-row: 2; align-items: center; padding: 1rem 1rem 1rem clamp(2rem, 3vw, 2.75rem); overflow: hidden; isolation: isolate; background: var(--blue-950); color: var(--white); border-radius: var(--radius); }
.hero-motto::before { position: absolute; inset: 1rem auto 1rem 1rem; inline-size: 4px; background: var(--gold); content: ""; }
.hero-motto-heart { position: absolute; z-index: 0; inset: 8% 7% auto auto; inline-size: clamp(3.5rem, 6vw, 5rem); block-size: auto; overflow: visible; color: rgb(136 174 160 / .16); fill: none; pointer-events: none; }
.hero-motto-heart path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.motto { position: relative; z-index: 1; min-inline-size: 0; padding: 0; background: transparent; color: var(--white); border: 0; border-radius: 0; box-shadow: none; font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: .04em; line-height: 1.12; list-style: none; text-rendering: geometricPrecision; text-transform: uppercase; }
.motto li + li { margin-block-start: .12rem; }
.hero-highlights { position: relative; z-index: 2; grid-area: highlights; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; margin-block: 2.25rem -2.75rem; list-style: none; }
.hero-highlights li { position: relative; display: grid; grid-template-rows: 3.5rem minmax(3.5rem, auto); gap: 1.05rem; min-block-size: 12rem; align-content: center; justify-items: center; padding: 1.6rem clamp(1.25rem, 2.5vw, 2rem); overflow: hidden; color: var(--blue-950); border: 1px solid rgb(8 43 92 / .09); border-radius: var(--radius); box-shadow: 0 14px 34px rgb(12 35 64 / .08); font-size: 1.24rem; font-weight: 850; letter-spacing: -.02em; line-height: 1.22; text-align: center; transition: box-shadow var(--transition), transform var(--transition); }
.hero-highlights li:nth-child(1) { background: #f3dfd2; }
.hero-highlights li:nth-child(2) { background: #dfe9df; }
.hero-highlights li:nth-child(3) { background: #e8e3ef; }
.hero-highlights li:nth-child(4) { background: #eee5cd; }
.hero-highlights li:hover { box-shadow: 0 20px 42px rgb(12 35 64 / .12); transform: translateY(-.25rem); }
.hero-highlights span { display: block; inline-size: 3.3rem; block-size: 3.3rem; color: var(--orange-dark); }
.hero-highlights svg { inline-size: 100%; block-size: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }

/* Evidence strip */
.strengths { padding-block: var(--home-section-half-space); background: var(--chalk); }
.strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.strength { position: relative; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.3rem; min-block-size: 13rem; align-content: start; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 34px rgb(12 35 64 / .08); transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.strength::after { position: absolute; inset: auto 1.5rem 0; block-size: 3px; background: var(--gold); content: ""; opacity: 0; transform: scaleX(.3); transform-origin: left; transition: opacity var(--transition), transform var(--transition); }
.strength:hover { background: var(--blue-50); box-shadow: 0 20px 42px rgb(12 35 64 / .12); transform: translateY(-.2rem); }
.strength:hover::after { opacity: 1; transform: none; }
.roundel { display: grid; inline-size: 3.35rem; block-size: 3.35rem; place-items: center; color: var(--orange-dark); border: 1px solid rgb(8 43 92 / .08); border-radius: var(--radius-sm); box-shadow: .35rem .35rem 0 var(--blue-100); }
.strength:nth-child(1) .roundel, .strength:nth-child(5) .roundel { background: #f3dfd2; }
.strength:nth-child(2) .roundel, .strength:nth-child(6) .roundel { background: #dfe9df; }
.strength:nth-child(3) .roundel { background: #e8e3ef; }
.strength:nth-child(4) .roundel { background: #eee5cd; }
.roundel svg { inline-size: 1.85rem; block-size: 1.85rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.strength h2 { color: var(--blue-950); font-size: .966rem; font-weight: 850; letter-spacing: -.02em; line-height: 1.2; }
.strength p { max-inline-size: 25rem; margin-block-start: .45rem; color: var(--muted); font-size: 1.274rem; line-height: 1.55; }

/* Why Beecroft */
.about { overflow: hidden; background: var(--stone); }
.about::before { position: absolute; inset: 0 0 auto; block-size: .35rem; background: linear-gradient(90deg, var(--gold) 0 18%, transparent 18%); content: ""; }
.about-heading .section-title { max-inline-size: none; font-size: clamp(1.47rem, 2.8vw, 3.15rem); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.feature-visual { position: relative; padding-block-end: 3.5rem; }
.feature-visual::before { position: absolute; inset: -1.2rem auto auto -1.2rem; inline-size: 42%; block-size: 48%; border-block-start: 2px solid var(--gold); border-inline-start: 2px solid var(--gold); content: ""; }
.feature-visual > img { position: relative; inline-size: calc(100% - 3rem); aspect-ratio: 4 / 4.1; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.belief { position: absolute; z-index: 2; inset: auto 0 0 auto; max-inline-size: 18rem; padding: 1.7rem 1.8rem; background: var(--blue-900); color: var(--white); border-block-start: 3px solid var(--gold); }
.belief span { color: var(--gold-light); font-size: 1.4rem; }
.belief p { margin-block-start: .3rem; font-family: var(--serif); font-size: 1.56rem; line-height: 1.35; }
.reasons { position: relative; padding: clamp(2rem, 4vw, 3.5rem); background: var(--chalk); border-block-start: 4px solid var(--gold); box-shadow: 0 24px 60px rgb(12 35 64 / .1); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 4vw, 3rem); margin-block-end: 2.25rem; border-block-end: 1px solid #c5c0b5; list-style: none; }
.check-list li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .75rem; align-items: start; padding: 1rem .15rem; border-block-start: 1px solid #c5c0b5; color: var(--blue-950); font-size: 1.3rem; font-weight: 650; line-height: 1.4; }
.check-list li::before { inline-size: .75rem; block-size: .4rem; margin-block-start: .4rem; border-block-end: 3px solid var(--orange); border-inline-start: 3px solid var(--orange); content: ""; transform: rotate(-45deg); }

@media (min-width: 48rem) {
  .about-heading .section-title { margin-block-end: 2rem; }
  .about .split { grid-template-columns: minmax(0, 1.65fr) minmax(15rem, .7fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: stretch; }
  .about .feature-visual { grid-column: 2; grid-row: 1; min-block-size: 100%; padding-block-end: 0; overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
  .about .feature-visual::before { display: none; }
  .about .feature-visual > img { inline-size: 100%; block-size: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; box-shadow: none; }
  .about .belief { inset: auto 0 0; max-inline-size: none; padding: 1rem 1.2rem; }
  .about .belief span { display: none; }
  .about .belief p { margin-block-start: 0; font-size: 1.15rem; }
  .about .reasons { grid-column: 1; grid-row: 1; padding: clamp(1.5rem, 2.5vw, 2.25rem); }
  .about .check-list { grid-template-columns: repeat(2, 1fr); gap: 0 clamp(1rem, 2vw, 2rem); margin-block-end: 1.5rem; }
  .about .check-list li { padding-block: .85rem; font-size: 1.15rem; }
}

/* Explore */
.explore { background: var(--chalk); }
.explore-heading { display: block; }
.explore-heading .section-title { margin-block-end: 0; }
.explore .section-title { max-inline-size: none; font-size: clamp(1.47rem, 2.8vw, 3.15rem); white-space: nowrap; }
.text-link { display: inline-flex; flex: none; align-items: center; gap: 1.25rem; padding-block: .55rem; color: var(--blue-900); border-block-end: 2px solid var(--gold); font-size: .82rem; font-weight: 800; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 17rem; gap: 6px; margin-block-start: 2.25rem; }
.gallery-grid figure { position: relative; min-inline-size: 0; margin: 0; overflow: hidden; background: var(--blue-50); }
.gallery-grid img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.gallery-grid figcaption { position: absolute; inset: auto 0 0; padding: 2.7rem 1.15rem .9rem; background: linear-gradient(transparent, rgb(4 27 55 / .8)); color: var(--white); font-size: 1rem; font-weight: 750; line-height: 1.2; }

/* Sessions */
.sessions { overflow: hidden; background: var(--blue-900); color: var(--white); }
.sessions::after { position: absolute; inset: auto -10rem -14rem auto; inline-size: 28rem; aspect-ratio: 1; border: 1px solid rgb(255 255 255 / .12); border-radius: 50%; box-shadow: 0 0 0 5rem rgb(255 255 255 / .025), 0 0 0 10rem rgb(255 255 255 / .025); content: ""; pointer-events: none; }
.sessions-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.sessions-heading { align-self: start; }
.sessions .kicker { color: #dce8f4; }
.sessions .section-title { max-inline-size: none; margin-block-end: 0; color: var(--white); font-size: clamp(1.47rem, 2.8vw, 3.15rem); white-space: nowrap; }
.session-grid { position: relative; z-index: 1; display: grid; grid-auto-rows: auto; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.session-grid article { display: flex; min-block-size: 0; flex-direction: column; padding: 1.5rem; color: var(--blue-950); border: 1px solid rgb(255 255 255 / .45); border-radius: var(--radius-lg); box-shadow: 0 16px 35px rgb(3 20 43 / .16); }
.session-grid article:nth-child(1) { background: #f3dfd2; }
.session-grid article:nth-child(2) { background: #dfe9df; }
.session-grid article:nth-child(3) { background: #e8e3ef; }
.session-grid article:nth-child(4) { background: #eee5cd; }
.session-grid article > div { display: flex; flex-direction: column; }
.line-icon { display: grid; inline-size: 4.5rem; block-size: 4.5rem; margin-block-end: 1.5rem; place-items: center; background: var(--orange); color: var(--white); border-radius: 50%; box-shadow: .35rem .35rem 0 rgb(8 43 92 / .12); font-size: 1.25rem; font-weight: 900; }
.line-icon svg { inline-size: 2.4rem; block-size: 2.4rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.session-grid h3 { color: var(--blue-950); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; text-rendering: geometricPrecision; }
.session-grid p { margin-block: .75rem .25rem; color: #465569; font-size: 1.1rem; line-height: 1.55; }
.session-grid a { margin-block-start: 1rem; color: var(--blue-900); font-size: .85rem; font-weight: 700; letter-spacing: .04em; line-height: 1.3; text-rendering: geometricPrecision; text-transform: uppercase; text-underline-offset: .25rem; }

/* Parent voices */
.testimonials { background: var(--sage-light); }
.testimonial-heading .section-title { max-inline-size: none; }
.testimonials .section-title { font-size: clamp(1.47rem, 2.8vw, 3.15rem); }
.quote-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-areas: "featured second" "featured third"; gap: 1rem; }
.quote-grid blockquote { position: relative; min-block-size: 13rem; padding: 2rem clamp(1.5rem, 3vw, 3rem); background: rgb(255 255 255 / .48); border: 1px solid #c4cec3; border-radius: var(--radius-sm); }
.quote-grid blockquote:first-child { grid-area: featured; display: flex; min-block-size: 27rem; flex-direction: column; justify-content: center; background: var(--blue-900); border-color: var(--blue-900); color: var(--white); }
.quote-grid blockquote:nth-child(2) { grid-area: second; }
.quote-grid blockquote:nth-child(3) { grid-area: third; }
.quote-grid blockquote:first-child > span, .quote-grid blockquote:first-child cite { color: var(--gold-light); }
.quote-grid blockquote:first-child p { color: var(--white); font-size: clamp(1.65rem, 2.3vw, 2.15rem); }
.quote-grid blockquote > span { display: block; block-size: 3.8rem; color: var(--gold); font-family: var(--serif); font-size: 5.5rem; font-weight: 800; line-height: .8; }
.rating { margin-block: .25rem 1rem; color: var(--gold); font-size: 1.25rem; letter-spacing: .18em; line-height: 1; }
.quote-grid blockquote:first-child .rating { color: var(--gold-light); }
.quote-grid p { color: #283648; font-family: var(--serif); font-size: clamp(1.365rem, 1.95vw, 1.664rem); line-height: 1.55; }
.quote-grid cite { display: block; margin-block-start: 1.5rem; color: var(--blue-900); font-size: .78rem; font-style: normal; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

@media (min-width: 1025px) {
  .quote-grid { grid-template-columns: repeat(3, 1fr); grid-template-areas: "featured second third"; }
  .quote-grid blockquote, .quote-grid blockquote:first-child { display: flex; min-block-size: 18rem; flex-direction: column; justify-content: flex-start; padding: 1.5rem clamp(1.25rem, 2vw, 2rem); }
  .quote-grid blockquote > span { block-size: 2.7rem; font-size: 4.5rem; }
  .quote-grid blockquote:first-child p, .quote-grid p { font-size: clamp(1.2rem, 1.35vw, 1.45rem); line-height: 1.45; }
  .quote-grid cite { margin-block-start: auto; padding-block-start: 1rem; }
}

/* Enquiries and footer */
.enquiries { padding-block: var(--home-section-half-space); background: linear-gradient(105deg, var(--paper) 0 68%, var(--gold-light) 68% 100%); }
.enquiries + .site-footer { padding-block-start: var(--home-section-half-space); }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; padding-inline-start: clamp(1.5rem, 4vw, 3.5rem); border-inline-start: 3px solid var(--gold); }
.enquiries h2 { max-inline-size: 18ch; margin-block: .7rem 1rem; color: var(--blue-950); font-size: clamp(1.47rem, 2.8vw, 3.15rem); }
.enquiries p:not(.kicker) { color: var(--muted); font-size: 1.365rem; }

/* Reusable internal-page content system */
.internal-page { background: var(--chalk); }
.page-hero { padding-block: clamp(3.15rem, 5.6vw, 5.25rem); background: var(--paper); border-block-end: 1px solid var(--line); }
.breadcrumbs { margin-block-end: clamp(2.5rem, 5vw, 4rem); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; color: var(--muted); font-size: .85rem; font-weight: 700; list-style: none; }
.breadcrumbs li + li::before { margin-inline-end: .55rem; color: var(--orange); content: "/"; }
.breadcrumbs a { color: var(--blue-900); text-underline-offset: .2rem; }
.page-hero h1 { max-inline-size: none; margin-block: 1rem 1.5rem; font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.04; }
.page-intro { max-inline-size: 42rem; color: var(--muted); font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 550; line-height: 1.5; }
.page-section { padding-block: clamp(3.5rem, 6.3vw, 6.3rem); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(20rem, .65fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.prose { max-inline-size: 52rem; }
.prose h2 { margin-block: 0 1.5rem; color: var(--blue-950); font-size: clamp(1.4rem, 2.45vw, 2.275rem); line-height: 1.08; }
.prose p { color: #465569; font-size: 1.25rem; line-height: 1.75; }
.prose p + p { margin-block-start: 1.25rem; }
.prose .text-link { margin-block-start: 2rem; }
.notice-panel { margin-block-start: clamp(4rem, 8vw, 7rem); padding: clamp(2rem, 4vw, 3.25rem); background: #f3dfd2; border-inline-start: 5px solid var(--orange); }
.notice-panel .notice-label { margin-block-end: .65rem; color: var(--orange-dark); font-size: .8rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.notice-panel h2 { margin-block-end: 1rem; font-size: clamp(1.225rem, 2.1vw, 1.75rem); }
.info-panel { padding: clamp(2rem, 4vw, 3rem); background: var(--blue-950); color: var(--white); border-block-start: 5px solid var(--gold); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.info-panel .info-label { color: var(--gold-light); font-size: .8rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.info-panel h2 { margin-block: .7rem 1.75rem; color: var(--white); font-size: clamp(1.26rem, 2.1vw, 1.75rem); line-height: 1.1; }
.info-panel address { color: #e3ebf3; font-size: 1.15rem; font-style: normal; font-weight: 650; line-height: 1.7; }
.contact-links { display: grid; gap: 0; margin-block-start: 2rem; border-block-start: 1px solid rgb(255 255 255 / .25); }
.contact-links a { padding-block: 1.15rem; color: var(--white); border-block-end: 1px solid rgb(255 255 255 / .25); font-size: 1rem; overflow-wrap: anywhere; text-decoration: none; }
.contact-links a:hover { color: var(--gold-light); }
.contact-links span { display: block; margin-block-end: .2rem; color: var(--gold-light); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-action { margin-block-start: 1rem; padding: 2rem; background: var(--sage-light); border-radius: var(--radius-sm); }
.sidebar-action h2 { color: var(--blue-950); font-size: 1.19rem; line-height: 1.15; }
.sidebar-action p { margin-block: .75rem 1.5rem; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.sidebar-action .button { inline-size: 100%; }
.contact-phone-button { font-size: 1.05rem; font-weight: 900; letter-spacing: .04em; }
.contact-phone-display { display: none; }
@media (min-width: 768px) {
  .contact-phone-mobile { display: none; }
  .contact-phone-display { display: flex; inline-size: 100%; min-block-size: 3rem; align-items: center; justify-content: center; padding: .35rem 1.25rem; background: var(--orange); color: var(--white); border: 1px solid transparent; border-radius: 999px; font-size: 1.05rem; font-weight: 900; letter-spacing: .04em; line-height: 1.2; text-align: center; }
}
.contact-map { inline-size: 100%; block-size: clamp(25rem, 31vw, 28.125rem); margin-block: 1.5rem 1rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.contact-map iframe { display: block; inline-size: 100%; block-size: 100%; border: 0; }

/* About Us page */
.page-hero--compact .breadcrumbs { margin-block-end: 1.5rem; }
.page-hero--compact { padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.page-hero--compact h1 { margin-block-end: .8rem; }
.parent-subpage .page-editorial--sections .prose h2 { margin-block: 2rem .65rem; color: var(--blue-950); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.15; }
.parent-subpage .page-editorial--sections .prose > h2:first-child { margin-block-start: 0; }
.about-page .page-hero--compact h2 { max-inline-size: 32ch; margin-block-end: .5rem; color: var(--blue-900); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; line-height: 1.2; }
.about-page .page-hero--compact .page-intro { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.about-page .page-hero--compact .breadcrumbs { margin-block-end: .75rem; }
.about-hero-layout, .page-hero-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.about-hero-layout { align-items: center; }
.page-hero-layout { align-items: start; }
.about-hero-copy, .page-hero-copy { min-inline-size: 0; }
.about-hero-visual, .page-hero-visual { --about-hero-shape-gap: 1.12%; position: relative; inline-size: min(100%, 40rem); aspect-ratio: 16 / 7; justify-self: end; isolation: isolate; }
.page-hero--illustrated { --hero-accent-left: var(--gold-light); --hero-accent-top: var(--orange); --hero-accent-bottom: var(--sage-light); }
.page-hero--illustrated .breadcrumbs { margin-block-end: .75rem; }
.page-hero--illustrated .page-intro { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.hero-palette-curriculum { --hero-accent-left: #D7E5CB; --hero-accent-top: #1e7b83; --hero-accent-bottom: #E9DDE8; }
.hero-palette-forest { --hero-accent-left: #C8DDBF; --hero-accent-top: #dd524f; --hero-accent-bottom: #E8D9AE; }
.hero-palette-music { --hero-accent-left: #E6D5E8; --hero-accent-top: #4854a1; --hero-accent-bottom: #F4E2A5; }
.hero-palette-fees { --hero-accent-left: #D7E7E8; --hero-accent-top: #2f337e; --hero-accent-bottom: #F1E0C4; }
.hero-palette-parents { --hero-accent-left: #F0D8CA; --hero-accent-top: #c74693; --hero-accent-bottom: #DCE8D9; }
.hero-palette-contact { --hero-accent-left: #E8DCA7; --hero-accent-top: #1482b3; --hero-accent-bottom: #E5D8CC; }
/* Shared edge slope: dx / dy = 0.3456. The offsets below normalize this angle to each shape's own width and height within the 16:7 composition. */
.about-hero-image, .page-hero-image { --edge-shift: 18%; position: absolute; z-index: 1; inset-block: 0; inset-inline-start: 8%; display: block; inline-size: 84%; block-size: 100%; object-fit: cover; object-position: 58% 42%; clip-path: polygon(0 0, calc(100% - var(--edge-shift)) 0, 100% 100%, var(--edge-shift) 100%); }
.about-hero-accent, .page-hero-accent { position: absolute; display: block; }
.about-hero-accent--gold, .page-hero-accent--left { --edge-shift: 73.76%; z-index: 0; inset-inline-start: calc(2.64% - var(--about-hero-shape-gap)); inset-block: 0; inline-size: 20.5%; background: var(--hero-accent-left, var(--gold-light)); clip-path: polygon(0 0, calc(100% - var(--edge-shift)) 0, 100% 100%, var(--edge-shift) 100%); }
.about-hero-accent--orange, .page-hero-accent--top { --edge-shift: 32.5%; z-index: 0; inset-inline-end: 2%; inset-block-start: 0; inline-size: 20%; block-size: 43%; background: var(--hero-accent-top, var(--orange)); clip-path: polygon(0 0, 100% 0, calc(100% - var(--edge-shift)) 100%, var(--edge-shift) 100%); }
.about-hero-accent--sage, .page-hero-accent--bottom { --edge-shift: 56.15%; z-index: 0; inset-inline-end: calc(1.86% - var(--about-hero-shape-gap)); inset-block-end: 0; inline-size: 14%; block-size: 52%; background: var(--hero-accent-bottom, var(--sage-light)); clip-path: polygon(0 0, calc(100% - var(--edge-shift)) 0, 100% 100%, var(--edge-shift) 100%); }
.page-editorial { padding-block: clamp(1rem, 2vw, 1.5rem); }
.page-editorial .prose { max-inline-size: none; }
.page-editorial .prose p { color: #465569; font-size: 1.2rem; line-height: 1.75; }
.page-editorial .prose p + p { margin-block-start: 1.25rem; }
.page-editorial--sections .prose h2 { margin-block: 2.5rem .75rem; }
.page-editorial--sections .prose h3 { margin-block: 1.75rem .65rem; color: var(--blue-900); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.15; }
.page-editorial--sections .prose h4 { margin-block: 1.25rem .5rem; color: var(--blue-950); font-size: 1.2rem; line-height: 1.25; }
.page-editorial--sections .prose ul { margin-block: .5rem 1.25rem; padding-inline-start: 1.5rem; color: #465569; font-size: 1.2rem; line-height: 1.65; list-style: disc; }
.page-editorial--sections .prose li + li { margin-block-start: .4rem; }
.page-editorial--sections .prose ul ul { margin-block: .4rem 0; list-style: circle; }
.page-editorial--sections .prose a { color: var(--blue-900); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .2rem; overflow-wrap: anywhere; }
.sessions-fees-content > p { max-inline-size: 58rem; }
.page-editorial--sections .sessions-fees-content > h2 { margin-block: 2rem .5rem; color: var(--blue-950); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.2; }
.page-editorial--sections .sessions-fees-content > h2:first-of-type { margin-block-start: 2rem; }
.page-editorial--sections .sessions-fees-content > .fees-entitlement-title { margin-block-start: 2.25rem; }
.fees-section { --fee-accent: var(--orange); scroll-margin-block-start: 1.5rem; margin-block-start: 1.25rem; padding-block-start: 1rem; border-block-start: 1px solid var(--line); }
.fees-section--times { --fee-accent: #d9a38a; }
.fees-section--15 { --fee-accent: var(--sage); }
.fees-section--30 { --fee-accent: #9382aa; }
.fees-section--additional { --fee-accent: #c0a34f; }
.page-editorial--sections .fees-section h3 { margin: 0 0 .9rem; padding-inline-start: .75rem; color: var(--blue-950); border-inline-start: 3px solid var(--fee-accent); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
.page-editorial--sections .fees-section--additional h2 { margin: 0 0 .9rem; padding-inline-start: .75rem; color: var(--blue-950); border-inline-start: 3px solid var(--fee-accent); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
.fees-section > p { max-inline-size: 58rem; margin-block: .55rem; color: #465569; font-size: 1.1rem; line-height: 1.65; }
.fees-section .fees-section-intro { font-weight: 650; }
.fees-section .fees-instruction { margin-block: .9rem .45rem; color: var(--blue-950); font-size: 1rem; font-weight: 650; }
.fees-rows, .attendance-rows { border-block-start: 1px solid var(--line); }
.fees-row, .attendance-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .8rem .75rem; border-block-end: 1px solid var(--line); }
.fees-row { background: #fcf8f5; }
.fees-row > span, .attendance-row > strong, .attendance-row__main > strong { color: var(--blue-950); font-weight: 700; }
.fees-row > strong { color: var(--blue-950); font-size: 1.12rem; font-weight: 750; text-align: end; white-space: nowrap; }
.attendance-row { background: #f7f9f6; }
.attendance-row > span, .attendance-row__main > span { color: var(--muted); font-size: 1rem; }
.attendance-row--lunch { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
.attendance-row__main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; }
.lunch-note { margin: 0; padding: .65rem .85rem; background: #f1f4f0; color: #465569; border-inline-start: 2px solid var(--sage); font-size: .98rem; line-height: 1.55; }
.sessions-fees-content .fees-eligibility-link { margin-block-start: .9rem; gap: .65rem; }
.fees-price-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-block-start: .8rem; padding: .8rem .75rem; background: #fbf8ee; border-block: 1px solid var(--line); border-inline-start: 3px solid #c0a34f; }
.fees-price-row > span { color: var(--muted); }
.fees-price-row > strong { color: var(--blue-950); font-size: 1.12rem; }
.parent-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1rem clamp(3rem, 5vw, 4.5rem); }
.parent-info-card { display: flex; min-block-size: 8.5rem; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.25rem clamp(1.25rem, 2.5vw, 1.75rem); background: var(--chalk); color: var(--blue-950); border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); border-radius: var(--radius-sm); text-decoration: none; transition: border-color var(--transition), background-color var(--transition); }
.parent-info-card:hover { background: var(--blue-50); border-color: var(--gold); }
.parent-info-card h2 { color: var(--blue-950); font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.2; }
.parent-info-card > span { flex: none; color: var(--orange-dark); font-size: 1.5rem; font-weight: 700; transition: transform var(--transition); }
.parent-info-card:hover > span { transform: translateX(.2rem); }
.parent-subpage-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(15rem, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.parent-subpage-content { min-inline-size: 0; }
.parent-sidebar { padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.parent-sidebar h2, .parent-topic-nav summary { margin-block-end: .8rem; color: var(--blue-950); font-size: 1.1rem; font-weight: 750; line-height: 1.25; }
.parent-sidebar ul, .parent-topic-nav ul { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.parent-sidebar a, .parent-topic-nav a { display: block; padding: .7rem .8rem; color: var(--blue-900); border-inline-start: 3px solid transparent; font-size: .98rem; font-weight: 650; line-height: 1.35; text-decoration: none; }
.parent-sidebar a:hover, .parent-topic-nav a:hover { background: var(--blue-50); }
.parent-sidebar a[aria-current="page"], .parent-topic-nav a[aria-current="page"] { background: var(--blue-100); color: var(--blue-950); border-inline-start-color: var(--orange); }
.parent-topic-nav { display: none; }
.about-quote { margin-block: clamp(2.5rem, 4vw, 3.5rem); padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--sage-light); border-inline-start: 3px solid var(--gold); }
.about-quote-mark { display: block; margin-block-end: .126rem; color: var(--gold); font-family: var(--serif); font-size: clamp(3rem, 5vw, 4rem); font-weight: 700; line-height: .65; }
.about-page .about-quote p { color: var(--blue-950); font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 1.95rem); line-height: 1.45; }
.about-quote cite { display: block; margin-block-start: .75rem; color: var(--muted); font-size: .95rem; font-style: normal; line-height: 1.55; }
.page-contact { padding-block: clamp(2rem, 3.5vw, 3rem); background: var(--blue-950); }
.page-contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: center; }
.page-contact p { max-inline-size: 58rem; color: var(--white); font-size: 1.2rem; }
.page-contact .button { white-space: nowrap; }

/* Reusable page gallery: place img elements in page-gallery__item; choose --one, --two or --three. */
.page-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.25rem); margin-block: clamp(.75rem, 1.5vw, 1.25rem); }
.page-gallery--one { grid-template-columns: minmax(0, 1fr); max-inline-size: 27rem; }
.page-gallery--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-gallery--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-gallery__item { min-inline-size: 0; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.page-gallery__item img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.page-gallery__placeholder { display: grid; inline-size: 100%; block-size: 100%; place-items: center; color: var(--blue-900); font-size: 1rem; font-weight: 700; }

.site-footer { padding-block: clamp(4rem, 7vw, 6rem) 1.5rem; background: var(--chalk); color: var(--blue-950); border-block-start: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.15fr .6fr 1.25fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.site-footer p { color: var(--muted); font-size: 1.1rem; }
.site-footer a { color: var(--blue-900); font-size: .95rem; }
.footer-intro address { max-inline-size: 25rem; color: var(--blue-950); font-size: 1.2rem; font-style: normal; line-height: 1.55; }
.footer-intro address > strong { display: block; padding-block: .2rem 1rem; font-size: 1.55rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
.footer-address-row { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: center; padding-block: 1rem; color: var(--blue-950); border-block-start: 1px solid var(--line); text-decoration: none; }
.footer-intro .footer-address-row { font-size: 1.15rem; }
.footer-address-row span { overflow-wrap: anywhere; }
.footer-address-row svg { inline-size: 2.5rem; block-size: 2.5rem; padding: .6rem; background: var(--gold-light); color: var(--orange-dark); border-radius: 50%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.footer-address-row:hover { color: var(--orange-dark); }
.footer-label { margin-block-end: .75rem; color: var(--orange-dark) !important; font-size: .8rem !important; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.site-footer nav ul { display: grid; gap: .25rem; list-style: none; }
.site-footer nav a { text-underline-offset: .2rem; }
.awards { justify-self: end; inline-size: min(100%, 34rem); }
.awards img { inline-size: 100%; block-size: auto; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-block-start: 3rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--line); }

/* Desktop: 1025px and above */
@media (min-width: 1025px) {
  .menu-button, .is-enhanced .menu-button { display: none; }
  .primary-nav, .is-enhanced .primary-nav { display: block; }
}

/* Tablet and mobile navigation/layout: through 1024px */
@media (max-width: 1024px) {
  .header-bar { grid-template-columns: minmax(0, 1fr) auto auto; min-block-size: 7.5rem; }
  .is-enhanced .primary-nav { position: fixed; z-index: -1; inset: 0; display: block; padding: 8rem var(--gutter) 2rem; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-.75rem); transition: none; }
  .is-enhanced .primary-nav::before { position: fixed; z-index: 1; inset: 0 0 auto; block-size: 7.5rem; background: var(--chalk); box-shadow: 0 1px 0 var(--line); content: ""; pointer-events: none; }
  .is-enhanced.menu-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .ofsted-logo { opacity: 0; }
  .menu-open .menu-button { position: fixed; z-index: 2; inset: 1.5rem var(--gutter) auto auto; background: var(--blue-900); color: var(--white); }
  .nav-inner { min-block-size: 100%; block-size: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; }
  .nav-label { display: block; margin-block-end: 1rem; color: var(--blue-800); font-size: .91rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .primary-nav ul { display: block; inline-size: 100%; border-block-start: 1px solid var(--blue-950); }
  .primary-nav li { border-block-end: 1px solid var(--line); }
  .primary-nav a { display: block; padding-block: .65rem; color: var(--blue-950); font-family: var(--serif); font-size: clamp(1.625rem, 4.55vw, 2.275rem); font-weight: 500; white-space: normal; }
  .nav-link-label-desktop { display: none; }
  .nav-link-label-mobile { display: inline; }
  .primary-nav a:hover { background: var(--blue-50); color: var(--blue-950); }
  .primary-nav a:focus-visible { background: var(--blue-50); color: var(--blue-950); outline-color: var(--blue-900); }
  .primary-nav a[aria-current="page"] { background: #fff1e6; color: var(--orange-dark); }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-action { display: flex !important; justify-content: space-between; inline-size: 100%; margin-block-start: auto; padding: .9rem 1rem !important; background: var(--blue-900); color: var(--white) !important; border-radius: var(--radius-sm); font-family: var(--sans); font-size: .975rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .strength { min-block-size: 0; padding: 1.625rem; }
  .split { gap: 3rem; }
  .reasons { padding: 2rem; }
  .session-grid { grid-template-columns: repeat(2, 1fr); }
  :root { --home-section-space: 2.25rem; --home-section-half-space: 1.125rem; }
  .parent-subpage-layout { grid-template-columns: 1fr; }
  .parent-sidebar { display: none; }
  .parent-topic-nav { display: block; margin-block-start: 2rem; padding: 1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .parent-topic-nav summary { margin: 0; cursor: pointer; }
  .parent-topic-nav[open] summary { margin-block-end: .7rem; }
}

/* Mobile: up to 767px */
@media (max-width: 767px) {
  .about-hero-layout, .page-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .about-hero-visual, .page-hero-visual { inline-size: 100%; max-inline-size: none; aspect-ratio: 1 / 1; justify-self: stretch; overflow: hidden; border-radius: var(--radius-sm); }
  .about-hero-image, .page-hero-image { inset: 0; inline-size: 100%; block-size: 100%; clip-path: none; object-position: 50% 45%; }
  .about-hero-accent, .page-hero-accent { display: none; }
  .contact-map { block-size: clamp(18.75rem, 80vw, 21.875rem); }
  .fees-row, .attendance-row { gap: .5rem; padding: .75rem .5rem; }
  .fees-row > strong { font-size: 1rem; }
  :root { --home-section-space: 1.75rem; --home-section-half-space: .875rem; }
  .header-bar { min-block-size: 7rem; gap: .75rem; }
  .brand img { inline-size: clamp(15rem, 60vw, 18.75rem); }
  .header-bar > .ofsted-logo { display: none; }
  .menu-button { position: relative; inline-size: 2.75rem; min-block-size: 2.75rem; justify-content: center; padding: .4rem; }
  .menu-button [data-menu-label] { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .hero { background: var(--chalk); }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "montage"; row-gap: .75rem; }
  .hero-copy { min-block-size: 0; grid-template-rows: auto auto auto; gap: .75rem; padding: 0; background: transparent; border: 0; border-radius: 0; }
  .hero-welcome { gap: .75rem; padding: 0; overflow: visible; background: transparent; border: 0; border-radius: 0; }
  .hero-heading-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .75rem; }
  .hero-ofsted-logo { display: block; inline-size: clamp(3rem, 12vw, 3.5rem); block-size: auto; flex: none; object-fit: contain; }
  .hero-copy h1 { font-size: clamp(2.8rem, 9vw, 4rem); }
  .hero-intro { max-inline-size: none; }
  .funding-ribbon { grid-template-columns: auto auto; justify-content: center; padding: .65rem .7rem; border: 0; border-inline-start: 4px solid var(--gold); }
  .funding-ribbon span { margin-inline-start: .6rem; padding-inline-start: .6rem; }
  .hero-booking { padding: 0; background: transparent; border: 0; }
  .hero-booking .button-row, .hero-booking .button { inline-size: 100%; }
  .hero-booking .button { min-block-size: 2.875rem; align-items: center; justify-content: center; gap: .75rem; padding-inline: 1rem; }
  .hero-montage { min-block-size: 0; block-size: clamp(19rem, 78vw, 24rem); }
  .hero-motto { padding: .9rem .75rem .9rem 1.6rem; }
  .hero-motto::before { inset-inline-start: .75rem; }
  .motto { font-size: clamp(1.15rem, 5vw, 1.6rem); }
  .hero-highlights { grid-template-columns: 1fr 1fr; gap: .8rem; margin-block: 1.25rem -2rem; }
  .hero-highlights li { grid-template-rows: 3rem minmax(4.2rem, auto); min-block-size: 11.5rem; padding: 1.2rem; font-size: 1.15rem; }
  .hero-highlights span { inline-size: 2.8rem; block-size: 2.8rem; }
  .strengths-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .strength, .strength:nth-child(odd), .strength:nth-child(even) { min-block-size: 0; padding: 1.5rem; }
  .split { grid-template-columns: 1fr; }
  .feature-visual { order: 2; }
  .feature-visual > img { inline-size: calc(100% - 1.5rem); }
  .belief { max-inline-size: 16rem; }
  .about .feature-visual { padding-block-end: 0; }
  .about .feature-visual::before { display: none; }
  .about .feature-visual > img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
  .about .belief { position: relative; inset: auto; inline-size: 100%; max-inline-size: none; padding: 1.25rem 1.5rem; }
  .check-list { grid-template-columns: 1fr; }
  .explore .section-title { white-space: normal; }
  .text-link { margin-block-start: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 12rem; gap: 6px; }
  .gallery-grid figure:last-child img { object-position: 50% 25%; }
  .sessions-layout { grid-template-columns: 1fr; }
  .session-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; grid-template-areas: "featured" "second" "third"; }
  .quote-grid blockquote, .quote-grid blockquote:first-child { min-block-size: 0; padding: 2rem 1.5rem; }
  .quote-grid blockquote > span { block-size: 2.65rem; font-size: 4.5rem; }
  .rating { margin-block: 0 1rem; }
  .enquiries { background: var(--paper); }
  .enquiry-grid { grid-template-columns: 1fr; gap: 2rem; }
  .enquiries h2 br, .enquiries p br { display: none; }
  .page-layout { grid-template-columns: 1fr; gap: 3rem; }
  .prose { max-inline-size: none; }
  .page-sidebar { display: grid; gap: 1rem; }
  .sidebar-action { margin-block-start: 0; }
  .page-contact-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .parent-info-grid { grid-template-columns: 1fr; gap: .75rem; }
  .parent-info-card { min-block-size: 6.5rem; }
  .page-gallery { grid-template-columns: minmax(0, 1fr); }
  .page-gallery--one { max-inline-size: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 22rem) {
  .fees-row { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .fees-row > strong { text-align: start; }
}

@media (max-width: 33rem) {
  .header-bar { gap: .3rem; }
  .brand img { inline-size: 60vw; }
  .ofsted-logo { inline-size: 3rem; block-size: 3rem; }
}

@media (max-width: 22rem) {
  .brand img { inline-size: 60vw; }
  .ofsted-logo { inline-size: 2.5rem; block-size: 2.5rem; }
  .menu-button { inline-size: 2.4rem; min-block-size: 2.4rem; }
}

@media (max-width: 25rem) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure:first-child { grid-column: auto; grid-row: span 2; }
  .button-row { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto; transition-duration: .01ms !important; }
}
