:root {
  --blue: #145991;
  --blue-deep: #0a3b65;
  --blue-ink: #123f67;
  --blue-pale: #dbeaf6;
  --sky: #85b7d8;
  --cream: #fbf8f1;
  --paper: #fffdf9;
  --green: #728f70;
  --green-pale: #e8eee5;
  --text: #25445d;
  --muted: #637789;
  --line: rgba(18, 63, 103, 0.16);
  --white: #fff;
  --shadow: 0 18px 50px rgba(12, 53, 87, 0.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --hand: "Segoe Print", "Bradley Hand", cursive;
  --max: 1240px;
  --header-h: 112px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e2a83b; outline-offset: 4px; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  color: #fff;
  background: var(--blue-deep);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 820px); margin-inline: auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow.light { color: rgba(255,255,255,.9); }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { color: var(--blue-ink); font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { margin: 0; font-size: clamp(3.2rem, 7vw, 6.8rem); letter-spacing: -.045em; }
h2 { margin: 0 0 22px; font-size: clamp(2.35rem, 4.7vw, 4.7rem); letter-spacing: -.035em; }
h3 { margin: 0 0 12px; font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
p { margin: 0 0 1.15em; }
.lead { max-width: 760px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.hand-note { font: 400 clamp(1.25rem, 2vw, 1.8rem)/1.22 var(--hand); transform: rotate(-3deg); }
.section { padding: clamp(64px, 6.5vw, 96px) 0; }
.section--paper { background: var(--paper); }
.section--blue { color: #fff; background: var(--blue-deep); }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--green { background: var(--green-pale); }
.section-rule { border-top: 1px solid var(--line); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}
.split--reverse > :first-child { order: 2; }
.copy > :last-child { margin-bottom: 0; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn::after { content: "→"; transition: transform .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(5px); }
.btn--blue { color: #fff; background: var(--blue); box-shadow: var(--shadow); }
.btn--blue:hover { background: var(--blue-deep); }
.btn--light { color: var(--blue-deep); background: #fff; }
.btn--outline { color: var(--blue-ink); border-color: currentColor; background: transparent; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.65); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 750;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }

/* Shared header */
.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,253,249,.97);
  border-radius: 0 0 44px 0;
  box-shadow: 0 2px 20px rgba(21,66,101,.05);
}
.site-header__inner {
  width: min(calc(100% - 48px), 1450px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(195px, .7fr) auto auto;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
}
.brand { display: inline-flex; flex-direction: column; width: fit-content; color: var(--blue); text-decoration: none; line-height: 1; }
.brand__script { font: 500 clamp(2.35rem, 3.4vw, 3.65rem)/.78 var(--hand); letter-spacing: -.09em; }
.brand__sub { margin: 11px 0 0 12px; font-size: .61rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 26px); }
.site-nav > a, .nav-group > summary { position: relative; padding: 14px 0; color: var(--blue-ink); font-size: .86rem; text-decoration: none; white-space: nowrap; }
.site-nav > a::after, .nav-group > summary::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 1px; background: var(--blue); transition: right .22s ease; }
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after, .nav-group:hover > summary::after, .nav-group.is-current > summary::after { right: 0; }
.nav-group { position: relative; }
.nav-group > summary { display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::before { content: "⌄"; order: 2; color: var(--blue); font-size: .9rem; }
.site-subnav { position: absolute; top: calc(100% + 1px); left: 50%; min-width: 220px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px 18px 2px 18px; box-shadow: var(--shadow); transform: translateX(-50%); }
.site-subnav a { display: block; padding: 9px 12px; color: var(--blue-ink); font-size: .86rem; text-decoration: none; white-space: nowrap; border-radius: 6px; }
.site-subnav a:hover, .site-subnav a[aria-current="page"] { background: var(--blue-pale); }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 11px; border: 0; border-radius: 50%; color: var(--blue-ink); background: var(--blue-pale); cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Homepage */
.home-hero {
  position: relative;
  min-height: clamp(650px, calc(100svh - var(--header-h)), 810px);
  overflow: hidden;
  color: #fff;
  background: var(--blue-deep);
  isolation: isolate;
}
.home-hero__image { position: absolute; inset: -4% 0 0; z-index: -3; width: 100%; height: 108%; object-fit: cover; object-position: 58% 48%; transform: translateY(var(--hero-shift, 0)); }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4,24,39,.92) 0%, rgba(5,34,55,.75) 34%, rgba(6,39,61,.28) 62%, rgba(6,39,61,.04) 78%), linear-gradient(0deg, rgba(4,24,39,.2), transparent 45%); }
.home-hero__inner { min-height: inherit; display: flex; align-items: center; padding: 70px 0 120px; }
.home-hero__copy { width: min(625px, 53%); animation: rise-in .8s .08s both cubic-bezier(.2,.8,.2,1); }
.home-hero h1 { color: #fff; font-size: clamp(3.6rem, 6.6vw, 6.65rem); }
.home-hero .lead { max-width: 590px; margin-top: 24px; color: rgba(255,255,255,.95); }
.home-hero__age { margin: 16px 0 0; font-size: 1.05rem; font-weight: 650; }
.home-hero__note { position: absolute; top: 15%; right: 4.5vw; width: 190px; text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,.3); animation: fade-in 1s .55s both; }
.home-hero__note::after { content: "♡"; display: block; margin-top: 6px; font-size: 1.5em; }
.hero-wave { position: absolute; z-index: 2; left: -1%; bottom: -2px; width: 102%; height: 84px; color: var(--cream); pointer-events: none; }
.hero-wave--back { bottom: 15px; color: #9fc6e2; opacity: .95; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.ofsted-trust { padding: 20px 0 22px; color: var(--blue-ink); background: var(--cream); }
.ofsted-trust__inner { min-height: 126px; display: grid; grid-template-columns: auto minmax(230px, 1fr) auto auto; align-items: center; gap: clamp(18px, 3vw, 42px); padding: 18px clamp(20px, 2.8vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: 2px 30px 2px 30px; box-shadow: 0 12px 35px rgba(12,53,87,.07); }
.ofsted-trust__logo { width: 104px; height: auto; }
.ofsted-trust__copy > span { display: block; margin-bottom: 4px; color: var(--blue); font-size: .67rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.ofsted-trust__copy strong { display: block; color: var(--blue-ink); font: 400 clamp(1.6rem, 2.2vw, 2.05rem)/1.05 var(--serif); }
.ofsted-trust__copy p { margin: 7px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.ofsted-trust__details { display: flex; gap: clamp(20px, 3vw, 38px); margin: 0; padding: 2px clamp(20px, 3vw, 38px); border-inline: 1px solid var(--line); }
.ofsted-trust__details div { min-width: 112px; }
.ofsted-trust__details dt { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ofsted-trust__details dd { margin: 3px 0 0; color: var(--blue-ink); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.ofsted-trust .btn { min-height: 46px; padding: 12px 19px; font-size: .84rem; white-space: nowrap; }
.benefits { position: relative; z-index: 3; padding: 22px 0 30px; background: var(--cream); }
.benefits__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.benefit { min-width: 0; padding: 6px clamp(14px, 2.3vw, 34px); text-align: center; border-right: 1px solid var(--line); }
.benefit:last-child { border-right: 0; }
.benefit svg { width: 44px; height: 44px; margin: 0 auto 13px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit h2 { margin: 0 0 9px; font: 750 clamp(.98rem, 1.25vw, 1.15rem)/1.22 var(--sans); letter-spacing: -.015em; }
.benefit p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.photo-frame { position: relative; overflow: hidden; min-height: 520px; border-radius: 2px 44px 2px 44px; box-shadow: var(--shadow); }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.photo-frame:hover img { transform: scale(1.035); }
.photo-frame__note { position: absolute; left: 8%; bottom: 10%; color: #fff; text-shadow: 0 2px 15px rgba(0,0,0,.6); }
#welcome { padding: clamp(56px, 5.4vw, 78px) 0; }
#welcome .photo-frame { min-height: 480px; }
#welcome .split + .quick-facts { margin-top: clamp(38px, 4vw, 52px); }
.signature-line { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-block: 1px solid var(--line); }
.signature-line div { padding: 24px 24px 24px 0; }
.signature-line div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.signature-line strong { display: block; color: var(--blue-ink); font-family: var(--serif); font-size: 1.28rem; font-weight: 400; }
.signature-line span { color: var(--muted); font-size: .9rem; }
.statement { position: relative; overflow: hidden; padding: clamp(70px, 6.3vw, 84px) 0; color: #fff; background: var(--blue-deep); isolation: isolate; }
.statement::after { content: ""; position: absolute; z-index: -1; width: min(48vw, 660px); aspect-ratio: 1; right: -10%; top: -50%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.02); }
.statement__copy { width: min(720px, 75%); }
.statement h2 { color: #fff; }
.rooms-intro { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.rooms-intro h2 { max-width: 720px; margin-bottom: 0; }
.room-row { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 370px; border-top: 1px solid var(--line); }
.room-row:last-child { border-bottom: 1px solid var(--line); }
.room-row__copy { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(20px, 5vw, 72px) 48px 0; }
.room-row__number { color: var(--sky); font: 400 1rem/1 var(--serif); }
.room-row__image { min-height: 370px; overflow: hidden; }
.room-row__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.room-row:hover img { transform: scale(1.025); }
.section--rooms-pathway { position: relative; overflow: hidden; padding: clamp(54px, 5vw, 76px) 0 clamp(62px, 6vw, 86px); background: linear-gradient(128deg, #edf4f8 0%, var(--cream) 66%); }
.section--rooms-pathway::before { content: ""; position: absolute; right: -160px; top: -220px; width: 500px; aspect-ratio: 1; border: 1px solid rgba(20,89,145,.12); border-radius: 50%; box-shadow: 0 0 0 72px rgba(20,89,145,.025), 0 0 0 144px rgba(20,89,145,.02); }
.section--rooms-pathway .container { position: relative; }
.section--rooms-pathway .rooms-intro { margin-bottom: 30px; }
.room-directory { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; color: #fff; background: var(--blue-deep); border-radius: 2px 42px 2px 42px; box-shadow: 0 20px 55px rgba(10,59,101,.18); isolation: isolate; }
.room-directory::before { content: ""; position: absolute; z-index: -1; inset: auto -4% -68% 34%; height: 110%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; transform: rotate(-6deg); box-shadow: 0 0 0 58px rgba(255,255,255,.022), 0 0 0 116px rgba(255,255,255,.018); }
.room-directory a { position: relative; min-height: 252px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 16px; padding: 27px clamp(24px, 2.6vw, 38px) 25px; color: #fff; text-decoration: none; transition: background .25s ease; }
.room-directory a + a { border-left: 1px solid rgba(255,255,255,.2); }
.room-directory a:nth-child(2) { background: rgba(255,255,255,.035); }
.room-directory a:nth-child(3) { background: rgba(133,183,216,.09); }
.room-directory a:hover { background: rgba(255,255,255,.1); }
.room-directory__number { display: grid; grid-column: 1; grid-row: 1; width: 54px; height: 54px; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font: 400 1rem/1 var(--serif); transition: color .25s ease, background .25s ease, transform .25s ease; }
.room-directory__age { align-self: center; color: var(--sky); font-size: .66rem; font-weight: 800; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; }
.room-directory h3 { grid-column: 1 / -1; margin: 23px 0 8px; color: #fff; font-size: clamp(2rem, 3vw, 2.65rem); }
.room-directory p { grid-column: 1 / -1; margin: 0; color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.55; }
.room-directory__arrow { grid-column: 1 / -1; align-self: end; justify-self: end; display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.room-directory__arrow b { font-size: 1.25rem; font-weight: 400; transition: transform .2s ease; }
.room-directory a:hover .room-directory__number { color: var(--blue-deep); background: #fff; transform: translateY(-2px); }
.room-directory a:hover .room-directory__arrow b { transform: translateX(5px); }
.science-ribbon { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.science-ribbon__image { min-height: 500px; }
.science-ribbon__image img { width: 100%; height: 100%; object-fit: cover; }
.science-ribbon__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(52px, 6vw, 82px); color: #fff; background: var(--blue-deep); }
.science-ribbon__copy h2 { color: #fff; }

/* Inner pages */
.page-hero { position: relative; min-height: 475px; overflow: hidden; display: flex; align-items: end; color: #fff; background: var(--blue-deep); isolation: isolate; }
.page-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,32,52,.9), rgba(8,48,76,.58) 48%, rgba(8,48,76,.12) 78%), linear-gradient(0deg, rgba(4,24,39,.35), transparent 55%); }
.page-hero__copy { width: min(750px, 72%); padding: 64px 0 70px; animation: rise-in .7s both; }
.page-hero h1 { color: #fff; font-size: clamp(3.35rem, 5.5vw, 5.35rem); }
.page-hero .lead { margin-top: 20px; color: rgba(255,255,255,.94); }
.page-hero__scribble { position: absolute; right: 6vw; bottom: 75px; max-width: 235px; color: #fff; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.page-hero--graphic { min-height: 390px; background: linear-gradient(120deg, #082f50, #145991); }
.page-hero--graphic::before { background: radial-gradient(circle at 82% 28%, rgba(255,255,255,.13), transparent 19%), radial-gradient(circle at 91% 56%, rgba(255,255,255,.08), transparent 25%); }
.page-hero--graphic::after { content: ""; position: absolute; right: 7vw; bottom: -115px; width: 390px; height: 260px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transform: rotate(-10deg); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.principle { padding: 38px clamp(20px, 3vw, 42px); }
.principle + .principle { border-left: 1px solid var(--line); }
.principle__number { display: block; margin-bottom: 30px; color: var(--sky); font: 400 1rem/1 var(--serif); }
.principle p { color: var(--muted); }
.editorial-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.editorial-list li { display: grid; grid-template-columns: minmax(180px,.65fr) 1.35fr; gap: 34px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.editorial-list strong { color: var(--blue-ink); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.editorial-list span { color: var(--muted); }
.quote { margin: 0; padding: 0; border: 0; }
.quote p { margin: 0; color: var(--blue-ink); font: 400 clamp(2rem, 4.2vw, 4.2rem)/1.14 var(--serif); }
.quote footer { margin-top: 22px; color: var(--muted); }
.image-band { height: clamp(300px, 36vw, 480px); overflow: hidden; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }
.age-sections { border-top: 1px solid var(--line); }
.age-section { display: grid; grid-template-columns: minmax(190px,.55fr) 1fr 1fr; gap: 45px; padding: 64px 0; border-bottom: 1px solid var(--line); }
.age-section__label span { display: block; margin-top: 8px; color: var(--muted); font-size: .9rem; }
.age-section h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 4rem); }
.age-section__image { min-height: 280px; }
.age-section__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px 34px 2px 34px; }
.food-list { columns: 2; column-gap: 80px; margin: 34px 0 0; padding: 0; list-style: none; }
.food-list li { break-inside: avoid; padding: 16px 0; border-bottom: 1px solid var(--line); }
.food-list li::before { content: "✓"; margin-right: 12px; color: var(--green); font-weight: 800; }
.team-profile { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.team-profile__image { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px 52px 2px 52px; }
.team-profile__image img { width: 100%; height: 100%; object-fit: cover; }
.fees-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.fees-table th, .fees-table td { padding: 26px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fees-table th { color: var(--blue-ink); font: 400 1.3rem/1.25 var(--serif); }
.fees-table thead th { width: auto; color: var(--muted); background: var(--blue-pale); font: 800 .76rem/1.35 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.fees-table tbody th { width: 30%; }
.fees-table td { color: var(--muted); }
.fees-table td strong { color: var(--blue-ink); font: 400 1.55rem/1 var(--serif); }
.notice { margin-top: 34px; padding: 24px 28px; color: var(--blue-ink); background: var(--blue-pale); border-left: 4px solid var(--blue); }
.quick-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.split + .quick-facts { margin-top: clamp(48px, 6vw, 76px); }
.quick-facts div { padding: 28px clamp(14px, 2.5vw, 36px); }
.quick-facts div + div { border-left: 1px solid var(--line); }
.quick-facts strong { display: block; color: var(--blue-ink); font: 400 1.25rem/1.2 var(--serif); }
.quick-facts span { color: var(--muted); font-size: .88rem; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(55px, 9vw, 130px); }
.contact-details { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-details li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-details span { display: block; color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-details a { color: var(--blue); font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { color: var(--blue-ink); font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; color: var(--text); background: #fff; border: 1px solid #aab8c3; border-radius: 4px; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .86rem; }
.gallery { columns: 3 290px; column-gap: 18px; }
.gallery figure { position: relative; margin: 0 0 18px; overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.gallery img { width: 100%; height: auto; transition: transform .55s ease, filter .3s ease; }
.gallery figure:hover img { transform: scale(1.025); filter: saturate(1.04); }
.lightbox { width: min(94vw, 1100px); max-height: 92vh; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(3,20,33,.88); backdrop-filter: blur(8px); }
.lightbox img { max-width: 100%; max-height: 86vh; margin: auto; object-fit: contain; }
.lightbox__close { position: fixed; top: 22px; right: 26px; width: 48px; height: 48px; border: 0; border-radius: 50%; color: var(--blue-ink); background: #fff; font-size: 1.5rem; cursor: pointer; }
.cta-strip { padding: clamp(50px, 5vw, 72px) 0; color: #fff; background: var(--blue); }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.cta-strip h2 { margin-bottom: 10px; color: #fff; font-size: clamp(2.5rem, 5vw, 4.5rem); }

/* Footer */
.site-footer { color: rgba(255,255,255,.82); background: #082f50; }
.site-footer__top { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 70px; padding: 58px 0 44px; }
.site-footer .brand { color: #fff; }
.site-footer .brand__script { font-size: 3rem; }
.site-footer p { max-width: 470px; }
.site-footer h2 { margin: 0 0 18px; color: #fff; font: 800 .76rem/1.4 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer nav a, .site-footer address a { text-decoration: none; }
.site-footer nav a:hover, .site-footer address a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,.15); font-size: .83rem; }
.site-footer__bottom p { margin: 0; }

[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .42s ease, transform .42s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  :root { --header-h: 94px; }
  .site-header__inner { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto; max-height: calc(100svh - var(--header-h)); overflow: auto; display: grid; gap: 0; padding: 18px 24px 28px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-130%); opacity: 0; transition: transform .28s ease, opacity .2s ease; }
  .site-nav.open { transform: none; opacity: 1; }
  .site-nav > a, .nav-group > summary { padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav > a::after, .nav-group > summary::after { display: none; }
  .nav-group > summary { justify-content: space-between; }
  .site-subnav { position: static; min-width: 0; padding: 5px 0 8px 15px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; transform: none; }
  .site-subnav a { padding: 10px 6px; font-size: .95rem; }
  .ofsted-trust__inner { grid-template-columns: auto minmax(220px, 1fr) auto; }
  .ofsted-trust__details { border-right: 0; }
  .ofsted-trust .btn { grid-column: 2 / -1; justify-self: start; }
}

@media (max-width: 820px) {
  :root { --header-h: 84px; }
  .container, .narrow { width: min(calc(100% - 36px), var(--max)); }
  .site-header { border-radius: 0 0 28px 0; }
  .site-header__inner { width: calc(100% - 36px); grid-template-columns: 1fr auto; }
  .brand__script { font-size: 2.35rem; }
  .brand__sub { margin-top: 8px; font-size: .5rem; }
  .site-header .header-cta { display: none; }
  .split, .science-ribbon, .team-profile, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: initial; }
  .home-hero { min-height: 670px; }
  .home-hero__image { object-position: 62% 45%; }
  .home-hero::before { background: linear-gradient(90deg, rgba(4,24,39,.91), rgba(5,34,55,.6) 70%, rgba(6,39,61,.18)), linear-gradient(0deg, rgba(4,24,39,.35), transparent 60%); }
  .home-hero__inner { align-items: end; padding: 90px 0 128px; }
  .home-hero__copy { width: 100%; }
  .home-hero h1 { font-size: clamp(3.5rem, 15vw, 5rem); }
  .home-hero__note { display: none; }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .ofsted-trust { padding-block: 14px; }
  .ofsted-trust__inner { grid-template-columns: auto 1fr; gap: 14px 18px; padding: 18px 20px; border-radius: 2px 24px 2px 24px; }
  .ofsted-trust__logo { width: 82px; }
  .ofsted-trust__details { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); }
  .ofsted-trust__details div { min-width: 0; }
  .ofsted-trust .btn { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .benefit { padding: 27px 15px; border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit:nth-child(odd) { border-right: 1px solid var(--line); }
  .benefit:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
  .photo-frame { min-height: 420px; }
  #welcome .photo-frame { min-height: 400px; }
  .signature-line { grid-template-columns: 1fr; }
  .signature-line div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .statement { background-attachment: scroll; }
  .statement__copy { width: 100%; }
  .rooms-intro { display: block; }
  .rooms-intro .text-link { margin-top: 22px; }
  .room-directory { grid-template-columns: 1fr; }
  .room-directory::before { inset: 22% -35% -35% 25%; height: 80%; }
  .room-directory a { min-height: 205px; padding-block: 22px 20px; }
  .room-directory a + a { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .room-directory__number { width: 48px; height: 48px; }
  .room-directory h3 { margin-top: 14px; font-size: 2rem; }
  .room-directory p { font-size: .86rem; }
  .room-row { grid-template-columns: 1fr; }
  .room-row__copy { padding-right: 0; }
  .room-row__image { min-height: 320px; }
  .science-ribbon__copy { order: -1; }
  .science-ribbon__image { min-height: 360px; }
  .page-hero { min-height: 500px; }
  .page-hero--graphic { min-height: 400px; }
  .page-hero__copy { width: 100%; padding: 62px 0 72px; }
  .page-hero__scribble { display: none; }
  .principles { grid-template-columns: 1fr; }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--line); }
  .editorial-list li { grid-template-columns: 1fr; gap: 8px; }
  .age-section { grid-template-columns: 1fr; gap: 25px; }
  .food-list { columns: 1; }
  .quick-facts { grid-template-columns: 1fr 1fr; }
  .quick-facts div:nth-child(odd) { border-left: 0; }
  .quick-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .team-profile__image { aspect-ratio: 5/4; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .cta-strip__inner { align-items: flex-start; flex-direction: column; gap: 26px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 45px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  h2 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .section { padding: 58px 0; }
  .home-hero h1 { font-size: 3.55rem; }
  .home-hero .lead { font-size: 1rem; }
  .section--rooms-pathway { padding: 52px 0 58px; }
  .section--rooms-pathway .rooms-intro { margin-bottom: 25px; }
  .ofsted-trust__inner { grid-template-columns: 72px 1fr; padding: 16px; }
  .ofsted-trust__logo { width: 72px; }
  .ofsted-trust__copy strong { font-size: 1.5rem; }
  .ofsted-trust__copy p { font-size: .79rem; }
  .ofsted-trust__details dd { white-space: normal; }
  .ofsted-trust .btn { width: 100%; }
  .button-row .btn { width: 100%; }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 3.6rem); }
  .page-hero--graphic { min-height: 380px; }
  .fees-table, .fees-table tbody, .fees-table tr, .fees-table th, .fees-table td { display: block; width: 100%; }
  .fees-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fees-table tbody tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .fees-table tbody th, .fees-table tbody td { padding: 7px 0; border: 0; }
  .fees-table tbody td::before { display: block; margin-bottom: 3px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .fees-table tbody td:nth-child(2)::before { content: "Full day · 7.30am–6.30pm"; }
  .fees-table tbody td:nth-child(3)::before { content: "Half day · 7.30am–12.30pm"; }
  .cta-strip { padding: 46px 0; }
  .cta-strip h2 { font-size: 2.75rem; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding: 44px 0 34px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__bottom { flex-wrap: wrap; padding: 20px 0 24px; }
}

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

@media print {
  .site-header, .cta-strip, .site-footer, .btn { display: none !important; }
  body { color: #111; background: #fff; }
  .page-hero { min-height: auto; color: #111; background: #fff; }
  .page-hero__image, .page-hero::before { display: none; }
  .page-hero h1 { color: #111; }
}
