:root {
  --royal: #4169e1;       /* the brand blue: change it here and the whole site follows */
  --blue: #2c4fc0;        /* a shade deeper, for letters on white: royal itself is too light to read small */
  --blue-deep: #12296a;   /* a deeper royal: hovers, words on gold, a block that sits beside royal */
  --gold: #f6b91b;        /* the gold of the academy t-shirts */
  --gold-pale: #fff3cf;
  --sky: #edf2fb;
  --line: #cdd6e8;
  --text: #17223f;
  --muted: #4d5a78;
  --display: "Bahnschrift", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--body);
  font-size: 1.1875rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-stretch: 87%; font-weight: 700; color: var(--blue);
  line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--royal); color: #fff; padding: 12px 16px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px;
  border-radius: 6px; border: 2px solid transparent; font: 700 1.1rem/1.2 var(--body); text-decoration: none; }
.btn-royal { background: var(--royal); color: #fff; }
.btn-royal:hover { background: var(--blue-deep); color: #fff; }
/* small words on gold take the deeper royal: royal itself is too close to gold to read at this size */
.btn-gold { background: var(--gold); color: var(--blue-deep); }
.btn-gold:hover { background: #ffcc3d; color: var(--blue-deep); }
.btn-line { border-color: var(--blue-deep); color: var(--blue-deep); background: transparent; }
.btn-line:hover { background: var(--blue-deep); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }

/* header */
.site-header { background: #fff; border-bottom: 4px solid var(--gold); position: sticky; top: 0; z-index: 20; }

/* the band under the menu, on every page: the school and its grades, then the diploma button.
   Not sticky, so it scrolls away under the header; a <p>, so each page keeps its own h1. */
.school-band { background: var(--royal); color: #fff; padding-block: 22px 24px; text-align: center; }
.school-band-name, .school-band-link { font-family: var(--display); font-stretch: 87%; font-weight: 800;
  font-size: clamp(1.7rem, 5vw, 3.2rem); line-height: 1.15; color: #fff; }
.school-band-name { margin: 0; }
/* on the inner pages the two lines are smaller; the home page keeps the larger size */
.school-band-grades { display: block; margin-top: 6px; }
.school-band-motto { display: block; margin-top: 2px; font: italic 700 clamp(1.35rem, 3.3vw, 2rem)/1.2 var(--body); color: var(--gold); }
.home .school-band-link { font-size: clamp(1.25rem, 3.4vw, 2.2rem); }
.band-slim { padding-block: 12px; }
.band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; text-align: left; }
.band-slim .school-band-name, .band-slim .school-band-link { font-size: clamp(1.05rem, 2.2vw, 1.35rem); margin: 0; }
.band-slim .school-band-grades { display: inline; margin: 0; }
.band-slim .school-band-grades::before { content: "· "; color: var(--gold); }
.band-slim .school-band-link { display: inline-flex; align-items: center; gap: 6px; text-decoration-thickness: 2px;
  text-underline-offset: 5px; }
.band-slim .band-call { flex: 1 1 100%; margin: 4px 0 0; }
.school-band-link { display: inline-block; margin-top: 6px; text-decoration: underline;
  text-decoration-thickness: 3px; text-underline-offset: 6px; }
.school-band-link:hover { color: #fff; text-decoration-thickness: 5px; }
/* "Year-Round Open Enrollment" and the vouchers line, under the grades in every band (2026-10-18): a white card with
   the gold edge of the site, the two lines in the band's own letters at one weight, red then black, a thin line between */
.band-open { display: table; margin: 14px auto 8px; padding: 12px 28px 14px; background: #fff; border-radius: 12px;
  border-top: 5px solid var(--gold); box-shadow: 0 6px 18px rgba(18, 41, 106, .28); }
.band-open-note, .band-voucher { margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 87%;
  line-height: 1.2; letter-spacing: .01em; text-wrap: balance; }
.band-open-note { font-size: clamp(1.4rem, 2.9vw, 1.85rem); color: #c8102e; }   /* one size and weight for both */
.band-voucher { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e3e7f0; font-size: clamp(1.4rem, 2.9vw, 1.85rem);
  color: #000; }
.band-slim .band-open { margin: 0; padding: 6px 16px 8px; border-top-width: 4px; }
.band-slim .band-voucher { margin-top: 4px; padding-top: 4px; font-size: 1.15rem; }
/* the grade's name at the foot of its band: the bold italic serif of the gold motto bar, in gold, set apart by a line */
.band-grade { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%;   /* the width of the section's content */
  margin: 18px auto -24px; padding: 14px 30px 16px; background: #fff; border-radius: 16px 16px 0 0;
  border-top: 5px solid var(--gold); box-shadow: 0 -6px 16px rgba(18, 41, 106, .18);
  font: italic 700 clamp(1.6rem, 5.4vw, 2.9rem)/1.15 Georgia, "Times New Roman", serif; color: var(--blue-deep); }
/* the name larger (was up to 2rem), so it reads at a glance; the circle is 1.5em so it grows with it (2026-10-18) */
/* ...in the colour of the section under it, so it reads as that section's tab rising into the band (2026-10-18) */
.feed-alt .band-grade { background: var(--sky); }
.band-grade-ico { display: inline-flex; flex: none; width: 1.5em; height: 1.5em; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--royal); color: var(--gold); }
.band-grade-ico .ico { width: 59%; height: 59%; }   /* circle and icon grow with the name (2026-10-18) */
.band-slim .band-open-note { font-size: 1.15rem; }
.band-call { display: none; margin: 16px 0 0; }  /* phones only: Call is here, away from Menu (see the 520px rule) */
/* the number alone, large and underlined: no icon, no "Call", not a button (2026-10-16) */
.phone-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--gold); text-decoration: underline;
  text-decoration-thickness: 3px; text-underline-offset: 6px; font: 800 clamp(1.6rem, 3.4vw, 2.2rem)/1.1 var(--display); }
.phone-link:hover { color: #fff; }
@media print { .school-band { display: none; } }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); margin-right: auto; }
.brand-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; flex: none; }
.brand-mark img { width: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-stretch: 87%; font-size: 1.4rem; }
.brand-text span { font-size: .9rem; color: var(--muted); }
/* the name is one line and "God Is Here" the second, whatever the screen: the brand keeps its own width
   and the menu gives way to it, never the other way round */
.brand { flex: none; }
.brand-text strong { white-space: nowrap; }
/* the brand, a thin upright line, the menu; Call (always with the number) at the far end (2026-10-15) */
.brand { margin-right: 0; }
.site-nav { display: flex; align-items: center; align-self: stretch; padding-left: 18px; border-left: 2px solid var(--line);
  margin-block: 14px; }
.nav-list { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; gap: 4px; }
.nav-group { position: relative; }
.nav-top { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; border: 0; border-radius: 999px;
  white-space: nowrap; background: none; color: var(--blue); font: 600 1.05rem/1.2 var(--body); text-decoration: none; }
.nav-top .ico { flex: none; opacity: .85; }
.nav-top:hover { background: var(--sky); color: var(--blue-deep); }
/* where you are: a filled royal pill, not a line under the word */
.nav-group.is-here > .nav-top { background: var(--royal); color: #fff; }
.nav-group.is-here > .nav-top .ico { opacity: 1; }
.nav-short, .nav-tel { display: none; }
.nav-call { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 48px; padding: 8px 16px;
  font-size: 1rem; white-space: nowrap; }

/* hero: the one loud moment, in t-shirt gold */
.hero { background: var(--gold); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  padding-block: clamp(36px, 7vw, 84px) clamp(32px, 5vw, 56px); }
.hero h1 { font-size: clamp(2.15rem, 4.7vw, 3.9rem); line-height: 1.02; margin-bottom: .45em; letter-spacing: -.005em; }
/* the grades, above the headline: the first thing a parent needs to know */
.hero-grades { font-family: var(--display); font-size: clamp(1.15rem, 2.2vw, 1.6rem);
               letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep);
               margin: 0 0 .5em; opacity: .85; }
.hero-text p { font-size: 1.3rem; font-weight: 600; color: var(--blue-deep); margin-bottom: .35em; max-width: 34ch; }
.hero-photo { position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--blue); }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 30%;
  border: 8px solid #fff; }

/* under the headline: the "Since 1986" label and its two paragraphs, as supporting words; the headline stays the largest thing here */
.hero-support { padding-bottom: clamp(36px, 7vw, 84px); }
.hero-support .kicker { color: var(--blue-deep); margin: 0 0 16px; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.hero-card { background: #fff; border-top: 5px solid var(--blue); padding: clamp(20px, 3vw, 30px) clamp(18px, 2.5vw, 28px); }
.hero .hero-card p { font-size: 1.2rem; font-weight: 500; max-width: none; margin: 0; color: var(--text); }

/* sections */
.section { padding-block: clamp(44px, 7vw, 84px); }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 56ch; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: #fff;
  border: 1px solid var(--line); border-bottom: 6px solid var(--blue); }
.tile:hover { border-bottom-color: var(--gold); color: var(--text); }
.tile img { width: 100%; aspect-ratio: 80 / 81; object-fit: cover; object-position: 50% 12%; }
.tile-text { display: flex; flex-direction: column; padding: 20px 20px 24px; gap: 2px; }
.tile-text strong { font-family: var(--display); font-stretch: 87%; font-size: 1.75rem; font-weight: 800; color: var(--blue); line-height: 1.1; }
.tile-text em { font-style: normal; font-weight: 800; font-size: 1.35rem; color: var(--blue); }
.tile-text span { font-size: 1.15rem; line-height: 1.45; margin-top: 6px; }
#programs h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
#programs .lede { font-size: 1.3rem; }
.more-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.more-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Notebook-paper grid and two soft glows over a deep blue; gradients only, no asset URLs (the CSS is served from two paths) */
.about-all { color: #fff; border-top: 4px solid var(--gold); padding-block: clamp(48px, 7vw, 88px); text-align: center;
  background:
    radial-gradient(circle at 92% 6%, rgba(246, 185, 27, .16), transparent 38%),
    radial-gradient(circle at 6% 94%, rgba(120, 160, 255, .22), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 32px),
    linear-gradient(135deg, var(--blue-deep), #1d3a99); }
/* the main statement of the page: the title and the tradition under it are set large, and wide enough to keep each on few lines */
.about-all-title { color: #fff; font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.04; margin: 0 auto .7em; max-width: 22ch; }
.about-all-title::after { content: ""; display: block; width: 72px; height: 4px; background: var(--gold); margin: .45em auto 0; }
/* under the title: the tradition and the motto */
.about-all-center { margin: 0 auto; max-width: 1000px; }
.about-all-center h3 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.02; margin: 0 0 .3em; }
.kicker { font-family: var(--display); font-stretch: 87%; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; font-size: 1.05rem; margin: 0 0 .7em; }
/* gold on #1d3a99 is 5.6:1, on #12296a 7.7:1: fine for this large size */
.motto { font-family: var(--display); font-stretch: 87%; font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin: 0; }
/* "How are we preparing your student": its own section after the statement, on pale blue so it reads as a new part */
.prepares { background: var(--sky); padding-block: clamp(44px, 7vw, 80px); text-align: center; }
.prepares h2 { color: var(--blue-deep); font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12; margin: 0 auto; max-width: 28ch; }
.prepares-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prepares-grid li { background: #fff; color: var(--text); border-top: 5px solid var(--gold); padding: 24px 22px 26px;
  box-shadow: 0 8px 26px rgba(13, 26, 56, .16); }
.prepares-grid img { width: 64px; height: 64px; display: block; margin: 0 auto 14px; }
.prepares-grid h4 { font-size: 1.5rem; margin: 0 0 .35em; color: var(--blue); }
.prepares-grid p { margin: 0; font-size: 1.1rem; }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: var(--gold-pale);
  border-left: 5px solid var(--gold); padding: 12px 16px; margin: 0 0 26px; }
.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; }
.jump a { font-weight: 700; }
.prose h2[id] { border-left: 5px solid var(--gold); padding-left: 14px; scroll-margin-top: 130px; }  /* below the two-row header */
.story { background: var(--sky); }
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.story-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid #fff; box-shadow: 0 10px 30px rgba(13, 26, 56, .14); }
/* the picture is not made yet: an empty frame, in builds that carry the page numbers only (as on the grade pages) */
.story-frame { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #fff; border: 3px dashed var(--gold); border-radius: 8px; color: var(--blue-deep); font-weight: 700; font-size: 1.15rem; }
.story-grid.no-art { grid-template-columns: minmax(0, 46rem); }
.plain-links { list-style: none; padding: 0; margin: 1.2em 0 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.plain-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.voices { background: var(--royal); color: #fff; padding-block: clamp(44px, 7vw, 80px); }
.voices h2 { color: #fff; }
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 24px; }
.voices blockquote { margin: 0; padding-top: 18px; border-top: 4px solid var(--gold); }
.voices blockquote p { font-family: var(--display); font-stretch: 87%; font-size: 1.6rem; line-height: 1.2; margin-bottom: .6em; }
.voices blockquote footer { color: #fff; font-size: 1.05rem; }

/* testimonial videos: upright cards, and one player that opens over the page */
.clips { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.clip { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-bottom: 6px solid var(--blue); }
.clip-play { position: relative; display: block; flex: none; background: var(--royal); }
.clip-play img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 4px 16px rgba(13, 26, 56, .4); }
.play::before { content: ""; position: absolute; left: 27px; top: 20px; border-left: 22px solid var(--royal);
  border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.clip-play:hover .play { background: #ffcc3d; }
.clip-text { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 10px; font-size: 1rem; line-height: 1.45; }
.clip-text h3 { font-size: 1.5rem; margin: 0; }
.clip-text p { margin: 0 0 .6em; }
.clip-role { font-weight: 700; color: var(--blue); }
.clip-text blockquote { margin: 0; }
.clip-text blockquote p { font-family: var(--display); font-stretch: 87%; font-size: 1.3rem; line-height: 1.2; color: var(--blue); }
.clip-full { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font-size: .95rem; }
.player { padding: 0; border: 0; background: var(--royal); max-width: calc(100vw - 24px); max-height: none; overflow: hidden; }
.player::backdrop { background: rgba(18, 41, 106, .9); }
.player video { display: block; height: min(80vh, 160vw); aspect-ratio: 9 / 16; max-width: 100%; background: #000; }
.player-close { display: block; width: 100%; min-height: 52px; border: 0; background: var(--gold); color: var(--blue-deep);
  font: 700 1.1rem/1.2 var(--body); cursor: pointer; }


.visit { background: var(--blue-deep); color: #fff; padding-block: clamp(40px, 6vw, 68px); }
.visit h2, .visit h3 { color: #fff; }
.visit a:not(.btn) { color: #fff; font-weight: 700; font-size: 1.5rem; display: inline-block; padding-block: 6px; }
.visit-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.visit-big { font-family: var(--display); font-stretch: 87%; font-size: 1.7rem; line-height: 1.2; }
.visit .btn-royal { background: var(--gold); color: var(--blue-deep); }
.visit .btn-royal:hover { background: #ffcc3d; }

.kinder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.kinder.no-art { grid-template-columns: minmax(0, 1fr); }
.kinder-art figure { margin: 0; } .kinder-art img { width: 100%; border-radius: 8px; }
.kinder-frame { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--sky); border: 3px dashed var(--gold); border-radius: 8px; color: var(--blue-deep); font-weight: 700; font-size: 1.15rem; }
.kinder-copy > p { font-size: 1.15rem; }
.kinder-copy > p:first-child { font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.25 var(--display); color: var(--blue); }
.kinder-copy > p:nth-child(2) { font-weight: 700; font-size: 1.3rem; }
.kinder.no-art .kinder-copy { max-width: 75ch; }
.kinder-illustration { margin: 22px 0 0; max-width: 260px; } .kinder-illustration img { width: 100%; border-radius: 8px; }
.kinder-illustration .kinder-frame { aspect-ratio: 16 / 7; font-size: .95rem; }
.kinder-video { margin: 40px 0 0; }
.kinder-player { aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.excel-site-row { margin: 14px 0 0; } .level-page > .excel-site-row { margin: 4px 0 28px; }
.kinder-self { position: relative; }
.kinder-self video { display: block; width: 100%; height: 100%; background: #000; object-fit: contain; }
.kinder-self-play { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  background: transparent; cursor: pointer; }
.kinder-self-play:hover .play { background: #ffcc3d; }
.kinder-player iframe, .kinder-video-play { display: block; width: 100%; height: 100%; border: 0; }
.kinder-video-play { position: relative; padding: 0; background: #000; cursor: pointer; }
.kinder-video-play img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.kinder-quote { margin: 18px 0 0; padding: 4px 0 4px 18px; border-left: 5px solid var(--gold); }
.kinder-quote p { margin: 0 0 6px; font: 400 clamp(1.3rem, 2.4vw, 1.7rem)/1.3 var(--display); color: var(--blue-deep); }
.kinder-quote footer { color: var(--blue); font-size: 1.05rem; }
.kinder-pending { font-style: italic; color: var(--muted, #555); }
@media (max-width: 760px) { .kinder { grid-template-columns: minmax(0, 1fr); } }
@media print { .kinder-frame { display: none; } }
/* Level pages other than Kindergarten (Grades 1-5, ...): .level, .level-copy, .level-art, .level-closing, .level-videos */
.level { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.level.no-art { grid-template-columns: minmax(0, 1fr); }
.level-copy { max-width: 75ch; }
.level-art { order: 2; } .level-art figure { margin: 0; } .level-art img { width: 100%; border-radius: 8px; }
.level-frame { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--sky); border: 3px dashed var(--gold); border-radius: 8px; color: var(--blue-deep); font-weight: 700; font-size: 1.15rem; }
.level-copy p, .level-closing p { font-size: 1.2rem; max-width: 75ch; }
.level-copy > p:first-child { font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.25 var(--display); color: var(--blue); }
.level-copy > p:nth-child(2) { font-weight: 700; font-size: 1.3rem; }
.level-closing { margin-top: 1.4em; }
.level-pending { font-style: italic; color: var(--muted, #555); }
/* The page's own text is the main content; the paragraphs every grade page repeats sit in a plain panel (2026-10-13) */
.level-own { margin: 1.6em 0; }
.level-own > p { font-size: 1.3rem; max-width: 75ch; }
.level-own > p:first-child { font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.25 var(--display); color: var(--blue); }
.level-shared { background: var(--sky); border-radius: 8px; padding: 14px 20px 6px; }
.level-shared-top { margin-top: 0; }
.level-shared p { font-size: 1.15rem; max-width: 75ch; }
.level-shared > p:first-child { margin-top: 0; }
.page-head-line { padding-block: clamp(10px, 1.6vw, 18px); }
.page-head-line .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px clamp(16px, 3vw, 36px); }
.page-head-line .crumb { margin: 0; }
.page-grid.level-grid { padding-top: clamp(14px, 2vw, 24px); }
.level-videos { margin: 40px 0 0; }
.level-video-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); align-items: start; }
.level-video { margin: 0; }
.level-video .kinder-video-play img { object-fit: cover; }
.level-video-title { display: block; margin-top: 12px; color: var(--blue-deep); font-size: 1.1rem; }
.level-quote { margin: 14px 0 0; padding: 4px 0 4px 18px; border-left: 5px solid var(--gold); }
.level-quote p { margin: 0 0 6px; font: 400 clamp(1.2rem, 2vw, 1.5rem)/1.3 var(--display); color: var(--blue-deep); }
.level-quote footer { color: var(--blue); font-size: 1.05rem; }
/* Grades 1-5: the main video is the centrepiece; the rest sit in a blue "What families say" band beside a picture */
.level.level-feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }  /* the picture slot is wider here: the video is the page's main feature */
.level-main .kinder-video-play img { object-fit: cover; }
.level-main .level-video-title { display: block; margin-top: 12px; font-size: 1.1rem; }
.level-main .level-quote { margin-top: 12px; }
.level-main .level-quote p { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.level-voices { margin-top: 24px; }
.voices-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: 24px; }
.voices-row.no-art { grid-template-columns: minmax(0, 1fr); }
.voices-video { margin: 0; }
.voices-video .kinder-video-play img { object-fit: cover; }
.voices-video figcaption { margin-top: 12px; font-size: 1.05rem; color: #fff; }
.voices-photo { margin: 0; } .voices-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
/* a pupil standing (Lyla, grades 1-5) is a portrait: shown whole, not cut to the landscape frame */
.level-voices .voices-photo img { aspect-ratio: 3 / 4; max-height: 640px; object-position: 50% 15%; }
.voices-frame { aspect-ratio: 3 / 2; display: grid; place-items: center; border: 3px dashed var(--gold); border-radius: 8px; color: #fff; font-weight: 700; font-size: 1.15rem; }
@media (max-width: 760px) { .level { grid-template-columns: minmax(0, 1fr); } .level-art { order: 0; } .level-video-row { grid-template-columns: minmax(0, 1fr); }
  .level.level-feature, .voices-row { grid-template-columns: minmax(0, 1fr); } }
@media print { .voices-frame { display: none; } }
@media print { .level-frame { display: none; } }
/* Parent Information: three groups of large links */
.info-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.info-group h2 { margin: 0 0 .5em; font-size: 1.5rem; padding-bottom: 6px; border-bottom: 3px solid var(--gold); }
.info-links { list-style: none; margin: 0; padding: 0; }
.info-links a { display: flex; align-items: center; min-height: 56px; padding: 10px 14px; margin-bottom: 8px; background: var(--sky);
  border-left: 5px solid var(--blue); border-radius: 6px; color: var(--blue); font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.info-links a:hover { background: #fff; border-color: var(--gold); outline: 1px solid var(--line); }
.info-group h2 { display: flex; align-items: center; gap: 10px; }
.info-ico, .grade-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%;
  background: var(--gold); color: var(--blue-deep); }
.info-ico { width: 44px; height: 44px; }
@media (max-width: 980px) { .info-groups { grid-template-columns: minmax(0, 1fr); } }
/* ---- the diploma page (.xl): same brand, set apart. Navy and gold, no band, no voucher line ---- */
.xl main { background: #fff; }
.xl-hero { background: var(--royal); color: #fff; padding-block: clamp(18px, 3vw, 32px) clamp(32px, 5vw, 64px);
  background-image: radial-gradient(circle at 85% 20%, rgba(244, 185, 28, .18), transparent 45%); }
.xl-hero .crumb, .xl-hero .crumb a { color: rgba(255, 255, 255, .85); }
.xl-hero-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: 10px; }
.xl-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; font-size: .95rem; color: var(--gold); }
.xl-hero .xl-title { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.02; margin: 0 0 16px; }
.xl-promise { font: 600 clamp(1.3rem, 2.4vw, 1.75rem)/1.3 var(--display); margin: 0 0 10px; }
.xl-promise em { font-style: normal; color: var(--gold); }
.xl-intro { font-size: 1.15rem; color: rgba(255, 255, 255, .88); margin: 0; }
.xl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.xl-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.xl-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .7); }
.xl-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.xl-hero-video .kinder-player { box-shadow: 0 14px 40px rgba(0, 0, 0, .45); border: 3px solid var(--gold); }
.xl-hero-video .kinder-video-play img { object-fit: cover; }
.xl-video-title { margin: 10px 0 0; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.xl-how { padding-block: clamp(36px, 5vw, 64px); background: #fbf7ec; }
.xl-how h2, .xl-story h2, .xl-voices h2, .xl-careers h2, .xl-visit h2 { color: var(--blue-deep); }
.xl-how-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.xl-how-grid li { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #fff; border-radius: 10px;
  border-top: 5px solid var(--gold); box-shadow: 0 2px 10px rgba(18, 41, 106, .08); }
.xl-ico { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 12px;
  background: var(--royal); color: var(--gold); margin-bottom: 6px; }
.xl-how-grid strong { font: 700 1.3rem/1.2 var(--display); color: var(--blue-deep); }
.xl-how-grid span:last-child { font-size: 1.08rem; }
.xl-story { padding-block: clamp(36px, 5vw, 64px); }
.xl-story-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.xl-story-text p { font-size: 1.2rem; max-width: 60ch; }
.xl-story-photo { margin: 0; } .xl-story-photo img { width: 100%; border-radius: 10px; border: 4px solid var(--gold); }
.xl-numbers { background: var(--royal); color: #fff; padding-block: 28px; }
.xl-numbers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; text-align: center; }
.xl-numbers h2 { color: #fff; text-align: center; margin: 0 0 18px; }
.xl-hours { list-style: none; margin: 0 0 10px 28px; padding: 0; }
.xl-numbers strong { display: block; font: 800 clamp(2.2rem, 5vw, 3.4rem)/1 var(--display); color: var(--gold); }
.xl-numbers span { font-size: 1.05rem; }
.xl-voices { padding-block: clamp(36px, 5vw, 64px); }
.xl-voices-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 20px; }
.xl-voice { margin: 0; } .xl-voice figcaption { margin-top: 10px; font-weight: 700; color: var(--blue-deep); }
.xl-voice .kinder-video-play img { object-fit: cover; }
.xl-careers { padding-block: clamp(36px, 5vw, 64px); }
.xl-career-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.xl-career-list li { padding: 6px 14px; border-radius: 999px; background: #fbf7ec; border: 1px solid #ecdfb8; font-weight: 600; }
.xl-careers-more { margin-top: 14px; color: var(--muted); }
.xl-visit { background: var(--gold); padding-block: clamp(28px, 4vw, 48px); }
.xl-visit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.xl-visit h2 { margin: 0 0 6px; }
.xl-visit p + p { margin-top: 6px; }
.xl-visit p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.15rem; color: var(--blue-deep); }
.xl-visit .btn-gold { background: var(--blue-deep); color: #fff; }
.xl-visit .phone-link { color: var(--blue-deep); font-weight: 700; }
.xl-visit .xl-btn-ghost { color: var(--blue-deep); border-color: var(--blue-deep); }
.xl-visit .xl-actions { margin: 0; }
@media (max-width: 980px) {
  .xl-hero-row, .xl-story-row, .xl-voices-row { grid-template-columns: minmax(0, 1fr); }
  .xl-how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xl-numbers ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
}
@media (max-width: 560px) { .xl-how-grid { grid-template-columns: minmax(0, 1fr); } .xl-actions .btn { flex: 1 1 100%; justify-content: center; } }
/* plainer (2026-10-16): one column, every part under the one before; no cards, icons, pills or gradients */
.xl-hero { background-image: none; }
.xl-hero-row, .xl-story-row, .xl-voices-row { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.xl-hero-row, .xl-story-row { margin-inline: auto; }
.xl-how .wrap, .xl-numbers .wrap, .xl-visit .wrap, .xl-voices .wrap { max-width: 52rem; }
.xl-story-photo { max-width: 34rem; }
.xl-how-grid, .xl-numbers ul { display: block; text-align: left; }
.xl-how-grid li { display: block; padding: 14px 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.xl-how-grid li:first-child { border-top: 0; }
.xl-ico { display: none; }
.xl-how-grid strong, .xl-how-grid span:last-child { display: inline; font-size: 1.2rem; }
.xl-how-grid strong + span::before { content: " \2014 "; }
.xl-numbers { padding-block: 32px; }
.xl-numbers li { display: block; padding: 8px 0; font-size: 1.2rem; }
.xl-numbers strong { display: inline; font: 800 1.5rem/1.2 var(--display); margin-right: .4em; }
.xl-visit-row { display: block; }
.xl-visit h3 { color: var(--blue-deep); margin: 0 0 6px; }
.xl-visit-col + .xl-visit-col { margin-top: 16px; }
/* desktop (2026-10-18): How it works and By the numbers each in one row of 6 narrow columns, thin bars between them */
@media (min-width: 981px) {
  .xl-how .wrap, .xl-numbers .wrap { max-width: 72rem; }
  .xl-how { padding-block: 32px; }
  .xl-numbers { padding-block: 24px; }
  .xl-how h2, .xl-numbers h2 { margin: 0 0 14px; }
  .xl-how-grid, .xl-numbers ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 0;
    text-align: center; }
  .xl-how-grid li, .xl-numbers li { padding: 4px 12px; border: 0; border-left: 1px solid var(--line); }
  .xl-numbers li { border-left-color: rgba(255, 255, 255, .3); }
  .xl-how-grid li:first-child, .xl-numbers li:first-child { border-left: 0; }
  .xl-how-grid strong, .xl-how-grid span:last-child, .xl-numbers strong, .xl-numbers span { display: block; }
  .xl-how-grid strong { font-size: 1.05rem; }
  .xl-how-grid span:last-child { font-size: .98rem; margin-top: 4px; }
  .xl-how-grid strong + span::before { content: none; }
  .xl-numbers strong { margin: 0 0 4px; font-size: 1.9rem; }
  .xl-numbers span { font-size: .98rem; line-height: 1.25; }
  .xl-how h2 { text-align: center; }
  /* How the program works in two columns of text, easier to read than one long line (2026-10-18) */
  .xl-story-row { max-width: 72rem; }
  .xl-story-text { columns: 2; column-gap: 48px; column-rule: 1px solid var(--line); }
  .xl-story-text h2 { column-span: all; margin-bottom: 18px; }
  .xl-story-text p { max-width: none; margin-top: 0; }
  /* Contact us the same way: 3 columns (phone, hours, address), in slightly bigger letters */
  .xl-visit .wrap { max-width: 72rem; }
  .xl-visit { padding-block: 28px; }
  .xl-visit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .xl-visit-col, .xl-visit-col + .xl-visit-col { margin: 0; padding: 4px 24px; border-left: 1px solid rgba(18, 41, 106, .3); }
  .xl-visit-col:first-child { border-left: 0; padding-left: 0; }
  .xl-visit h2, .xl-visit h3 { margin: 0 0 8px; font-size: 1.6rem; }
  .xl-visit p, .xl-hours { font-size: 1.3rem; }
  .xl-hours { margin: 4px 0 0 28px; color: var(--blue-deep); }
}
html { scroll-behavior: smooth; }
.xl #contact, .xl #program, .xl #info { scroll-margin-top: 90px; }
.xl-big { font: 800 clamp(3rem, 9vw, 6.5rem)/1 var(--display); color: var(--gold); margin: 0 0 14px; text-transform: uppercase; }
.xl-guar { background: var(--gold); padding-block: clamp(14px, 3vw, 28px); text-align: center; }
.xl-guar p { margin: 0; font: 800 clamp(2.6rem, 11vw, 8rem)/1 var(--display); letter-spacing: .04em; color: var(--blue-deep); }
.xl-promise { font-size: clamp(1.5rem, 3vw, 2.2rem); }
/* a grade page's head: the breadcrumb and the grade's name on the left, the four grades 2 x 2 in the right */
.grade-head { padding-block: clamp(14px, 2vw, 22px); }
.grade-head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.grade-head h1 { margin: 0; }
.grade-head .crumb { margin: 0 0 4px; }
.grade-switch ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.grade-switch a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 999px;
  white-space: nowrap; border: 2px solid var(--line); background: #fff; color: var(--blue); font-weight: 700; text-decoration: none; }
.grade-switch a:hover { border-color: var(--royal); }
.grade-switch a[aria-current] { background: var(--royal); border-color: var(--royal); color: #fff; }
@media (max-width: 640px) {
  .grade-head-row { display: block; }
  .grade-switch { margin-top: 12px; }
  .grade-switch a { min-height: 44px; padding: 6px 10px; font-size: .95rem; gap: 6px; }
  .grade-switch .ico { width: 18px; height: 18px; flex: none; }
}
/* the testimony first: the video large, the quote beside it in the space that was empty */
.grade-lead { background: var(--sky); padding-block: clamp(20px, 3vw, 40px); }
.grade-lead-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.grade-lead-video .kinder-player { box-shadow: 0 10px 30px rgba(18, 41, 106, .22); }
.grade-lead-video .kinder-video-play img { object-fit: cover; }
.grade-lead-kicker { margin: 0 0 10px; font: 800 1rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--royal); }
.lead-quote { margin: 0; padding: 4px 0 4px 20px; border-left: 6px solid var(--gold); }
.lead-quote p { margin: 0 0 10px; font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.25 var(--display); color: var(--blue-deep); }
.lead-quote footer { color: var(--blue); font-size: 1.1rem; font-weight: 600; }
.grade-lead-title { margin: 16px 0 0; color: var(--muted); font-size: 1rem; }
.grade-lead-read { margin: 14px 0 0; }
.grade-lead-read a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
@media (max-width: 860px) { .grade-lead-row { grid-template-columns: minmax(0, 1fr); } }
body:not(.home) .voucher-note { padding: 10px 16px; font-size: 1rem; }
.page-grid + .level-voices, .level-voices + .wrap > .pager, .page-grid + .wrap > .pager { margin-bottom: 44px; }
.grade-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px); }
.grade-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; padding: 26px 22px 22px;
  background: #fff; border: 1px solid var(--line); border-bottom: 5px solid var(--royal); border-radius: 8px;
  color: var(--text); text-decoration: none; }
.grade-card:hover { border-bottom-color: var(--gold); color: var(--text); }
/* the icon beside the grade's name, as tall as the name's line (2026-10-18) */
.grade-title { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-stretch: 87%; font-size: 1.7rem;
  font-weight: 800; color: var(--blue); line-height: 1.1; }
.grade-ico { width: 1.25em; height: 1.25em; }
.grade-ico .ico { width: 62%; height: 62%; }
.grade-card strong { font: inherit; }
.grade-more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-weight: 700; color: var(--blue); }
@media (max-width: 1100px) { .grade-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .grade-cards { grid-template-columns: minmax(0, 1fr); }
  .grade-card { padding: 18px 16px; }
}
.prose.level-page { max-width: none; }  /* the grade pages use the full width: text beside the picture, videos across */

/* preview-only tag on facts the school still has to confirm */
.tc { display: inline-block; vertical-align: middle; font: 600 .7rem/1 var(--body); padding: 4px 7px; border-radius: 999px;
  border: 1px dashed currentColor; opacity: .75; white-space: nowrap; letter-spacing: .01em; }

/* inner pages */
.page-head { background: var(--sky); border-bottom: 1px solid var(--line); padding-block: clamp(18px, 3vw, 36px); }
.page-head h1 { margin: 0; }
.crumb { margin: 0 0 8px; font-size: 1rem; color: var(--muted); font-weight: 600; }
.crumb a { display: inline-block; padding-block: 6px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(28px, 5vw, 64px); align-items: start;
  padding-block: clamp(32px, 5vw, 60px); }
.page-grid.no-side { grid-template-columns: minmax(0, 1fr); }
.page-contact .page-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.contact-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 3px solid var(--blue); border-radius: 10px; }
.contact-map p { margin: 10px 0 0; font-weight: 700; }
@media (max-width: 980px) { .page-contact .page-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 70ch; }
.prose > p { margin-bottom: 1.15em; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose .shout { font-family: var(--display); font-stretch: 87%; font-size: 1.5rem; line-height: 1.2; color: var(--blue); font-weight: 700; }
.admission-line { margin: 1.6em 0 0; padding: 16px 20px; background: var(--gold-pale); border-left: 6px solid var(--gold);
  font-size: 1.3rem; font-weight: 700; color: var(--blue-deep); }
.admission-line a { white-space: nowrap; }
.lead-photo { margin: 0 0 28px; }
.lead-photo img { width: 100%; max-height: 430px; object-fit: cover; object-position: 50% 25%; border-bottom: 6px solid var(--gold); }
.portrait { float: right; width: 210px; margin: 4px 0 18px 28px; }
.portrait img { width: 100%; border: 6px solid #fff; box-shadow: 0 8px 22px rgba(13, 26, 56, .18); }
.portrait figcaption { font-size: .95rem; color: var(--muted); margin-top: 8px; line-height: 1.35; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 6px; top: 17px; width: 18px; height: 10px;
  border-left: 4px solid var(--blue); border-bottom: 4px solid var(--blue); transform: rotate(-45deg); }
.quote { margin: 0 0 24px; padding: 22px 24px; background: var(--gold-pale); border-left: 6px solid var(--gold); }
.quote p { font-family: var(--display); font-stretch: 87%; font-size: 1.6rem; line-height: 1.2; color: var(--blue); margin-bottom: .4em; }
.quote footer { color: var(--muted); }
.side { position: sticky; top: 132px; border-top: 6px solid var(--blue); background: var(--sky); padding: 18px 14px 14px; }
.side h2 { font-size: 1.3rem; margin: 0 6px 8px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side a { display: flex; align-items: center; min-height: 46px; padding: 8px 10px; border-radius: 6px; color: var(--blue);
  text-decoration: none; font-size: 1.05rem; }
.side a:hover { background: #fff; }
.side a[aria-current] { background: #fff; font-weight: 700; box-shadow: inset 4px 0 0 var(--gold); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); clear: both; }
.pager a { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 6px; text-decoration: none; font-weight: 700; color: var(--blue); line-height: 1.25; }
.pager a:hover { border-color: var(--blue); background: var(--sky); }
.pager a span { font-weight: 600; font-size: .9rem; color: var(--muted); }
.pager-next { text-align: right; }

.call-band { background: var(--gold); padding-block: clamp(30px, 5vw, 48px); }
.call-band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.call-band h2 { margin-bottom: .2em; }
.call-band p { margin: 0; font-weight: 600; color: var(--blue-deep); }
.call-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.site-footer { background: var(--royal); color: #fff; padding-top: clamp(30px, 4vw, 48px); font-size: 1.1rem;
  border-top: 4px solid var(--gold); }
/* three columns (2026-10-15): who we are | visit or call | the pages. Under 1100px the brand takes the top row, and on a
   phone they stack, the address and phone first after the name */
.footer-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr) minmax(0, .9fr); align-items: start;
  gap: 28px clamp(24px, 3vw, 44px); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { flex: none; width: 56px; height: auto; }
/* small headings over each column, gold-underlined like the page headings; a <p> so the page outline is unchanged */
.footer-h { grid-column: 1 / -1; justify-self: start; margin: 0 0 6px; padding-bottom: 6px; border-bottom: 3px solid var(--gold);
  font: 800 1.05rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.footer-nav ul { display: grid; gap: 2px; }
.site-footer .footer-nav a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding-block: 6px; font-weight: 700;
  font-size: 1.15rem; line-height: 1.25; }
.footer-nav a .ico, .fc-more .ico { flex: none; color: var(--gold); }
.site-footer .footer-nav a:hover { text-decoration: none; } .footer-nav a:hover span { text-decoration: underline; }
/* the address, phone and hours, large and one to a line, with links that look like links (2026-10-16) */
/* a grid of three columns, an icon, the words and their copy icon, so the icons line up whatever the screen. On a deep
   blue card (2026-10-15): the gold number is 2.7:1 on royal but 8:1 on the deep blue */
.footer-contact { display: grid; grid-template-columns: 28px minmax(0, max-content) 44px; align-items: center; gap: 8px 12px;
  justify-content: start; padding: 20px clamp(18px, 2.4vw, 28px) 16px; border-radius: 14px; background: var(--blue-deep); }
.footer-contact p:not(.footer-h) { display: contents; }
.footer-contact > p > .ico { justify-self: center; color: var(--gold); }
.fc-hours > span { grid-column: 2 / -1; }
.fc-more > a { grid-column: 1 / -1; justify-self: start; }
.site-footer .footer-contact a { padding-block: 4px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
  overflow-wrap: anywhere; }
.fc-addr { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 600; }
.fc-phone { font: 800 clamp(1.9rem, 4vw, 2.6rem)/1.1 var(--display); }
.fc-phone a { color: var(--gold) !important; }
.fc-hours { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.35; }
.fc-more { font-size: 1.15rem; font-weight: 700; }
.site-footer .fc-more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; }
/* the last line (2026-10-15): the year is the build's, so it is never out of date */
.footer-base { margin-top: clamp(30px, 4vw, 44px); padding-block: 16px; background: var(--blue-deep); }
.footer-base p { margin: 0 auto; font-size: 1.05rem; color: #fff; }
.footer-base-tel { color: var(--gold); font-weight: 700; white-space: nowrap; }   /* the number at the foot of every page */
.footer-base-tel:hover { color: #fff; }
@media (max-width: 1100px) {
  .footer-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .footer-row { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .site-footer, .footer-contact, .footer-base { background: none; color: #000; border-color: #000; }
  .site-footer a, .site-footer .fc-phone a, .footer-h, .footer-name, .footer-motto { color: #000 !important; }
  .footer-nav, .copy-btn, .site-footer .ico, .footer-brand img { display: none !important; }
}
.copy-btn { display: none; position: relative; place-items: center; width: 40px; height: 40px; padding: 0; border: 0;
  border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .75); cursor: pointer; justify-self: start; }
.copy-btn:hover, .copy-btn:focus-visible { background: rgba(255, 255, 255, .15); color: #fff; }
.can-copy .copy-btn { display: inline-grid; }
.copy-btn.done::after { content: "Copied"; position: absolute; left: 100%; margin-left: 4px; padding: 3px 8px; border-radius: 6px;
  background: #fff; color: var(--blue-deep); font: 700 .85rem/1.2 var(--body); white-space: nowrap; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #fff; text-decoration: none; display: inline-block; padding-block: 10px; line-height: 1.5; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
/* Right under the band at the top of every page, on white, so it can be in black as the school asked. */
.voucher-note { margin: 0; padding: 18px 20px; background: #fff; color: #000; font-weight: 800; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .06em;
  text-align: center; border-bottom: 4px solid var(--gold); }
.footer-brand p { margin: 0; }
.footer-name { font-family: var(--display); font-stretch: 87%; font-weight: 700; font-size: 1.5rem; line-height: 1.1; color: #fff; }
/* the motto under the name, as the owner asked (note #18, 2026-10-14) */
.footer-brand .footer-motto { margin-top: 4px; font: italic 600 1.15rem/1.3 var(--body); color: var(--gold); }

/* the home page as one feed (2026-10-15): each grade a section with its video, a child and a few words */
.feed-intro { background: var(--sky); padding-block: clamp(26px, 4vw, 48px); }
.feed-intro h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.04; margin: 0 0 20px; max-width: 22ch; color: var(--blue-deep); }
.feed-intro .hero-cards { margin-bottom: 22px; }
/* under the menu bar of the home page, where the in-page menu was until 2026-10-16 (she wants the page read through):
   the motto in bold italic serif, black on gold. No web font. */
.motto-bar { margin: 0; padding: 8px 16px 10px; background: var(--gold); color: #111; text-align: center; letter-spacing: .08em;
  font: italic 700 clamp(1.45rem, 3vw, 2rem)/1.2 Georgia, "Times New Roman", serif; }   /* bold italic serif, black (2026-10-16) */
.feed-grade { padding-block: 0 clamp(30px, 5vw, 64px); background: #fff; scroll-margin-top: 90px; }
.feed-grade > .grade-band + .wrap { padding-top: clamp(22px, 4vw, 44px); }
/* the school band at the head of each grade: the home page's band repeated at full size (2026-10-18) */
.feed-grade.feed-alt { background: var(--sky); }
/* a texture on each grade's blue band, so the four do not look alike (2026-10-15). Pure CSS, no files, each from the
   grade's icon: dots (blocks), notebook lines (pencil), graph paper (book), diagonal stripes (cap). */
#k1 .grade-band { background-image: radial-gradient(rgba(255, 255, 255, .16) 2.5px, transparent 3px); background-size: 22px 22px; }
#grades-1-5 .grade-band { background-image: repeating-linear-gradient(to bottom, transparent 0 21px, rgba(255, 255, 255, .16) 21px 22px); }
#grades-6-8 .grade-band { background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px); background-size: 22px 22px; }
#grades-9-12 .grade-band { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 3px, transparent 3px 16px); }
@media print { .grade-band { background-image: none !important; } }
.feed-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 800 1.05rem/1.2 var(--body);
  letter-spacing: .08em; text-transform: uppercase; color: var(--royal); }
.feed-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--royal); color: #fff; }
.feed-grade h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin: 0 0 20px; color: var(--blue-deep); }
/* computer: the video with its quote on the left. A wide photo has the words under it on the right; a tall one
   (.child-tall) stands the height of the row and the words go under the quote, so neither side is left empty
   (2026-10-16). Tablet: the photo and the words side by side under the
   video. Phone: one column. */
.feed-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "video child" "video words";
  grid-template-rows: auto 1fr; column-gap: clamp(20px, 3vw, 44px); row-gap: 22px; align-items: start; }
.feed-row.child-tall { grid-template-areas: "video child" "words child"; row-gap: 26px; }
.feed-row > .feed-video { grid-area: video; } .feed-row > .feed-words { grid-area: words; } .feed-row > .feed-child { grid-area: child; }
.feed-row.no-child { grid-template-areas: "video words"; grid-template-rows: auto; }
.feed-video .kinder-player { box-shadow: 0 10px 30px rgba(18, 41, 106, .22); }
.feed-video .kinder-video-play img { object-fit: cover; }
.feed-quote { margin: 18px 0 0; padding: 2px 0 2px 18px; border-left: 6px solid var(--gold); }
.feed-quote p { margin: 0 0 6px; font: 400 clamp(1.25rem, 2vw, 1.6rem)/1.3 var(--display); color: var(--blue-deep); }
.feed-quote footer { color: var(--blue); font-weight: 600; }
/* wide enough for the player's own buttons (play, time, sound, full screen): never under 320px; on a phone the
   video stands above its quote instead of beside it */
.feed-short { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); margin-top: 28px; }
.feed-short .kinder-upright { flex: 0 0 auto; width: 340px; max-width: 100%; aspect-ratio: 9 / 16;
  box-shadow: 0 10px 30px rgba(18, 41, 106, .22); }
.feed-short .feed-quote { margin: 0; min-width: 0; }
@media (max-width: 760px) {
  .feed-short { flex-direction: column; align-items: stretch; }
  .feed-short .kinder-upright { width: min(100%, 400px); margin-inline: auto; }
}
.feed-short-more { margin: 10px 0 0; font: inherit; color: var(--muted); }
.feed-child { margin: 0; }
/* the whole photograph, in its own shape: never cropped (Lyla's portrait lost her head in a 4:3 frame, 2026-10-16).
   A tall one is held to a height and centred rather than cut. */
.feed-child img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(80vh, 640px); margin-inline: auto;
  border-radius: 8px; border: 5px solid #fff; box-shadow: 0 6px 20px rgba(18, 41, 106, .16); }
.feed-words p { margin: 0 0 10px; font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.45; }
.feed-words p:first-child { font: 800 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--display); color: var(--blue-deep); margin-bottom: 14px; }
/* the lines every grade ends with (her "★★★", 2026-10-18), in bold */
.feed-all { margin: 26px 0 0; padding: 14px 0 0 1.2em; border-top: 3px solid var(--gold); font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.45; }
.feed-all li { margin: 0 0 6px; }
.feed-diploma { background: var(--royal); color: #fff; padding-block: clamp(32px, 5vw, 64px); scroll-margin-top: 90px; }
/* the graduates, after the diploma program and its contact band (2026-10-16) */
.feed-graduation { background: var(--royal); padding-block: clamp(32px, 5vw, 64px); }
.feed-graduation-photo { margin: 0 auto; max-width: 1100px; }
.feed-graduation-photo img { display: block; width: 100%; height: auto; border: 3px solid var(--gold); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.feed-appointment { background: var(--gold); padding-block: clamp(30px, 5vw, 56px); scroll-margin-top: 90px; }
.feed-appointment-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.feed-appointment h2 { margin: 0 0 8px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--blue-deep); }
.feed-appointment p { margin: 0 0 6px; font-size: 1.15rem; color: var(--blue-deep); }
.feed-where { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.feed-call .btn { font-size: 1.3rem; min-height: 60px; padding: 12px 28px; background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.feed-else { padding-block: 22px; background: #fff; color: var(--muted); }
.feed-else p { margin: 0; }
@media (max-width: 980px) {
  .feed-row, .feed-row.child-tall { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-areas: "video video" "child words";
    grid-template-rows: auto auto; align-items: center; }
  .feed-row.no-child { grid-template-columns: minmax(0, 1fr); grid-template-areas: "video" "words"; }
}
@media (max-width: 640px) {
  .feed-row, .feed-row.child-tall { grid-template-columns: minmax(0, 1fr); grid-template-areas: "video" "child" "words"; row-gap: 20px; }
  .feed-child img { max-height: min(70vh, 520px); }
  .feed-intro .hero-card p { font-size: 1rem; }
  .feed-kicker { letter-spacing: .04em; font-size: .95rem; }
  .feed-call, .feed-call .btn { width: 100%; justify-content: center; }
}

/* the owner's line in red letters (2026-10-15): #c8102e is 5.9:1 on white and 5.3:1 on the sky blue */
.red-band { background: #fff; border-top: 3px solid var(--gold); padding-block: clamp(26px, 4vw, 44px); }
.red-line { margin: 0; color: #c8102e; font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.25 var(--display); text-align: center;
  text-wrap: balance; overflow-wrap: anywhere; }
.red-band .red-line { font-size: clamp(1.4rem, 2.6vw, 2rem); }
@media (max-width: 640px) { .red-line { font-size: 1.3rem; } }

@media print { .site-nav, .nav-call { display: none; } body { padding-bottom: 0; } }
/* tablet */
@media (max-width: 1200px) {
}

/* the brand, the line, four items with icons and Call with its number need about 1300px: below that the menu's icons go */
@media (min-width: 1101px) and (max-width: 1320px) {
  .nav-top .ico { display: none; }
  .nav-top { padding: 8px 11px; }
  .header-row { gap: 12px; } .site-nav { padding-left: 12px; }
  .brand-text strong { font-size: 1.25rem; }
}

/* small tablet and phone: one column */
@media (max-width: 980px) {
  body { font-size: 1.125rem; }
  .hero-grid { grid-template-columns: 1fr; }
  /* The words come first on a narrow screen: the grades and the headline say what the school is
     before the photograph is reached. (The photo used to be pulled above them with order: -1.) */
  .hero-photo { margin-right: 14px; }
  .hero-photo::before { inset: 12px -12px -12px 12px; }
  .hero-photo img { aspect-ratio: 4 / 3; border-width: 6px; }
  .hero-text p { font-size: 1.15rem; }
  .actions .btn, .call-band-actions .btn { flex: 1 1 100%; }
  .call-band-actions { width: 100%; }
  .story-grid, .visit-grid, .voices-grid, .hero-cards, .prepares-grid { grid-template-columns: 1fr; }
  .story-photo { order: -1; }
  .voices blockquote p { font-size: 1.4rem; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .portrait { float: none; width: 180px; margin: 0 0 20px; }
  .clips { grid-template-columns: repeat(2, 1fr); }
}
/* tablet: no Menu button (the school found it confusing, 2026-10-15). The brand and Call with its number share the
   first row; the four items, with their icons, are always shown on a second row, under a thin line */
@media (max-width: 1100px) {
  .header-row { min-height: 0; gap: 8px 12px; flex-wrap: wrap; padding-top: 8px; }
  .brand { flex: 1 1 auto; min-width: 0; gap: 9px; }
  .brand-mark { width: 44px; height: 44px; } .brand-mark img { width: 30px; }
  .brand-text strong { font-size: 1.1rem; line-height: 1.05; } .brand-text span { font-size: .8rem; }
  .nav-call { order: 2; min-height: 44px; padding: 6px 14px; }
  .site-nav { order: 3; flex: 1 1 100%; margin: 0; padding: 6px 0 8px; border-left: 0; border-top: 2px solid var(--line); }
  .nav-list { flex: 1 1 auto; justify-content: space-between; }
  .nav-top { padding: 8px 14px; }
}
/* phone: a tab bar fixed to the foot of the screen, the way phone apps do it. It is always there and always the same,
   and it covers nothing at the top: the header is only the brand and scrolls away with the page. Each tab is an icon
   with a one-word label: Home, Diploma and Call (2026-10-18). The number itself is at the foot of the band, on every page (.band-call). */
@media (max-width: 640px) {
  .site-header { position: sticky; top: 0; }   /* floats on a phone too (2026-10-16); the tab bar stays at the foot */
  .header-row { padding-block: 8px; }
  .brand { gap: 8px; }
  .brand-mark { flex: none; width: 40px; height: 40px; } .brand-mark img { width: 28px; }
  .brand-text strong { font-size: clamp(.95rem, 4.6vw, 1.15rem); }
  .nav-call { display: none; }
  .site-nav { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 0 4px env(safe-area-inset-bottom);
    background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 -6px 18px rgba(18, 41, 106, .14); }
  .nav-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; width: 100%; }   /* Home, Diploma, Call */
  .nav-tel { display: block; }
  .nav-top { flex-direction: column; justify-content: center; gap: 3px; width: 100%; min-height: 64px; padding: 6px 2px;
    border-radius: 10px; font-size: .82rem; font-weight: 700; color: var(--blue); }
  .nav-top .ico { width: 24px; height: 24px; opacity: 1; }
  .nav-label { display: none; } .nav-short { display: block; }
  .nav-group.is-here > .nav-top { background: var(--sky); color: var(--blue-deep); box-shadow: inset 0 3px 0 var(--royal); }
  .nav-tel .nav-top { background: var(--gold); color: var(--blue-deep); margin-block: 6px; min-height: 52px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .band-call { display: block; }
}

@media (max-width: 560px) {
  .wrap { width: min(1280px, 100% - 32px); }
  .tiles { grid-template-columns: 1fr; }
  .tile { flex-direction: row; align-items: stretch; }
  .tile img { width: 112px; aspect-ratio: auto; flex: none; }
  .tile-text { padding: 16px 16px 18px; }
  .tile-text strong { font-size: 1.45rem; }
  .tile-text span { font-size: 1.1rem; }
  .clips { grid-template-columns: 1fr; gap: 20px; }
  .clip { flex-direction: row; align-items: stretch; }
  .clip-play { width: 128px; align-self: flex-start; }
  .play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .play::before { left: 21px; top: 15px; border-left-width: 17px; border-top-width: 11px; border-bottom-width: 11px; }
  .clip-text { padding: 12px 14px 6px; min-width: 0; }

  .pager { grid-template-columns: 1fr; }
  .pager-next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
