/* Secondary & IGCSE (/curriculum/secondary/) only: linked after pages.css by the page's front matter
   "css": ["p-curriculum--secondary"]. AEO package Phase 3, 18 Nov 2026 (author a1; round 2 w2c). Tokens from style.css. */

/* phase2-lessons 10: each FAQ question is an h3 inside its summary; it looks exactly like the summary did */
.faq-item summary h3 { flex: 1; margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }

/* the banner (wave 2, w2c): the wash under the crumbs, kicker and title is deep enough for 4.5:1 at 390, 768 and 1440
   (measured with PIL on fresh screenshots, P/scratch/w2c); the page you are on, in the crumbs, a touch brighter */
.phero .crumbs li:last-child { color: rgba(251, 248, 242, .8); }
.phero::before {
  background: linear-gradient(to top, rgba(7, 39, 36, .95) 0%, rgba(7, 39, 36, .7) 40%, rgba(7, 39, 36, .5) 66%, rgba(7, 39, 36, .62) 100%),
              linear-gradient(90deg, rgba(7, 39, 36, .84) 0%, rgba(7, 39, 36, .62) 46%, rgba(7, 39, 36, .12) 76%, transparent 90%);
}
@media (max-width: 760px) {
  .phero::before { background: linear-gradient(to top, rgba(7, 39, 36, .96) 0%, rgba(7, 39, 36, .84) 55%, rgba(7, 39, 36, .8) 80%, rgba(7, 39, 36, .68) 100%); }
}

/* Lower Secondary: the class photo is landscape, the quote card hangs over its lower edge */
#lower .duo__media { position: relative; padding-bottom: 60px; }
@media (max-width: 760px) { #lower .duo__media { padding-bottom: 0; } #lower .quote-card { position: relative; left: 0; bottom: 0; width: auto; margin: -40px 14px 0; } }

/* the fifteen subject chips, then four rooms where they are taught */
.lsubj-gallery { margin-top: 36px; }

/* the two IGCSE years: steps, then the school's words; the students' photo stays in view beside the steps (r2) */
#upper .duo__text .steps { margin-top: 30px; }
#upper .steps-after { margin-top: 24px; color: var(--muted); font-size: 15.5px; }
@media (min-width: 961px) { #upper .upper-photo { position: sticky; top: 130px; } }

/* the IGCSE subjects head: kicker, h2, then the lead under it (r2), so the table starts higher */
#subjects .sec__head--stack > p.lead { color: var(--ink); max-width: 62ch; }
#subjects .dtable td[rowspan] { vertical-align: middle; }

/* the exam chapter on pine: two numbers, larger (r2) */
.sec--pine .duo__text > p:not(.lead):not(.kicker) { color: rgba(251, 248, 242, .82); }
.sec--pine .duo__text > p a { color: var(--gold-l); }
.exam-stats { margin: 34px 0 0; }
.exam-stats .stat__big { font-size: clamp(54px, 5.6vw, 84px); }
.exam-stats .stat span { color: rgba(251, 248, 242, .78); }

/* beyond the timetable: courts and sports day as a pair, the parent's words hanging over the courts (r2) */
.cca-pair { position: relative; }
.cca-quote { left: -30px; bottom: 34px; width: min(300px, 50%); }
@media (max-width: 960px) {
  .cca-quote { position: relative; left: auto; bottom: auto; width: auto; margin: 22px 0 0; }
}
/* the school's three programmes as a named list across the page */
.cca-progs { margin-top: clamp(48px, 6vw, 80px); padding-top: 30px; border-top: 1px solid var(--line); }
.cca-progs__lead { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; font: 400 clamp(22px, 1.9vw, 27px)/1.25 var(--serif); color: var(--pine-dd); }
.cca-progs__lead .link-arrow { font: 600 15px/1.3 var(--sans); }
.cca-progs .ticks--named { margin-top: 24px; }
@media (min-width: 961px) { .cca-progs .ticks--named { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 44px; } }

/* the close: words and the WhatsApp action under the chapter title (the shared tour section below is the one close) */
.visit-side p { margin: 0; color: var(--muted); max-width: 60ch; }
.visit-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* the gallery captions over the photos: a deeper wash behind both lines (wave 2: 4.5:1 or more, measured) */
.lsubj-gallery figcaption { padding-top: 46px; background: linear-gradient(to top, rgba(7, 39, 36, .92) 0%, rgba(7, 39, 36, .84) 62%, rgba(7, 39, 36, 0) 100%); }

/* the read-next cards: a deeper wash under the small caps label and the title (wave 2: 4.5:1 or more, measured) */
.next a::before { background: linear-gradient(to top, rgba(7, 39, 36, .94) 0%, rgba(7, 39, 36, .86) 48%, rgba(7, 39, 36, .4) 100%); }
