/* Signature programmes (/our-programmes/) only: linked after pages.css by the page's front matter "css": ["p-our-programmes"].
   AEO package Phase 3, 18 Nov 2026 (a5); round 2 (w2d, 18 Nov 2026). Tokens from style.css; nothing here touches another page. */

/* FAQ questions are h3s inside the summary (one heading per question for engines); they look exactly like the summary */
.faq-item summary h3 { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; text-wrap: pretty; }

/* the four skills band under the Visible Learning chapter: a head (h3 left, the school's line right), then four cards
   with italic serif numerals 01-04 (signature move 2) in place of the bare gold rule */
.prog-skillband { margin-top: clamp(56px, 7vw, 96px); }
.prog-skillband__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.prog-skillband__title { margin: 0; font: 400 clamp(28px, 2.6vw, 40px)/1.1 var(--serif); letter-spacing: -.015em; color: var(--pine-dd); text-wrap: balance; }
.prog-skillband__head p { margin: 0; max-width: 46ch; justify-self: end; color: var(--muted); }
.prog-skills { counter-reset: sk; }
.prog-skills li { counter-increment: sk; padding: 26px 24px 28px; border-top: 3px solid var(--gold); border-radius: 0 0 10px 10px; }
.prog-skills li::before { content: counter(sk, decimal-leading-zero); width: auto; height: auto; background: none; margin: 0 0 14px;
  font: italic 400 46px/1 var(--serif); color: var(--gold-ink); letter-spacing: -.02em; }
.prog-skills b { font-size: 26px; }
.prog-skills span { font-size: 15.5px; line-height: 1.5; color: var(--ink); }
@media (max-width: 960px) {
  .prog-skillband__head { grid-template-columns: 1fr; gap: 12px; }
  .prog-skillband__head p { justify-self: start; }
}

/* HENKAN, on pine: a link in its words reads in light gold (the pine link colour would vanish on the pine ground) */
.sec--pine .duo__text a { color: var(--gold-l); font-weight: 600; }

/* the two HENKAN films (were inline styles); the pet-shelter film's title card has its lettering in the middle, so this
   grid's play disc sits bottom-left, where it covers no words */
.prog-films { margin-top: clamp(50px, 6vw, 80px); grid-template-columns: 1fr 1fr; }
.prog-films .yt::after { left: 18px; top: auto; bottom: 18px; margin: 0; }
@media (max-width: 760px) { .prog-films { grid-template-columns: 1fr; } .prog-films .yt::after { left: 12px; bottom: 12px; } }

/* Ignite: two portrait photos side by side (the mosaic's first photo no longer spans) */
.mosaic--2 { grid-template-columns: 1fr 1fr; align-self: start; }
.mosaic--2 figure:first-child { grid-column: auto; grid-row: auto; }
.mosaic--2 figure:first-child img { aspect-ratio: 4 / 5; }
.mosaic--2 figure { background: none; border-radius: 0; }
.mosaic--2 img { height: auto; border-radius: 8px; }
.mosaic--2 figcaption { padding: 12px 2px 0; font: 700 12px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }

/* Cultural Exchange: three photos (Saikyo wide across the top, the two Hagoromo Gakuen photos under it), each partner's
   name under its photo, on the page, never over the picture. pages.css gives .g img height: 100%, which stretched each
   photo over its caption and .g's overflow: hidden then clipped the caption away (round-1 Design, critical). The photo
   is height: auto here, so the figure holds photo + caption; overflow stays hidden so the reveal's 1.18 zoom of the
   photo never makes the phone page scroll sideways (overflow: visible did, by 12 px, in the gates). */
.prog-exchange { grid-template-columns: 1fr 1fr; gap: 26px 16px; align-self: start; }
.prog-exchange .g { overflow: hidden; background: none; border-radius: 0; }
.prog-exchange .g:first-child { grid-column: 1 / -1; }
.prog-exchange .g img { height: auto; aspect-ratio: 5 / 4; border-radius: 8px; }
.prog-exchange .g:first-child img { aspect-ratio: 3 / 2; object-position: 40% 50%; }
.prog-exchange .g:hover img { transform: none; }
.prog-exchange .g figcaption { position: static; padding: 12px 2px 0; background: none; color: var(--pine-dd); font-size: 19px; line-height: 1.25; }
.prog-exchange .g figcaption small { color: var(--gold-ink); line-height: 1.35; }
.duo__text > .prog-partners { margin: 28px 0 24px; max-width: 34em; }
.prog-partners dd small { font-size: 15px; }
@media (max-width: 760px) {
  .prog-exchange { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .prog-exchange .g figcaption { font-size: 17px; }
}

/* activities: the checklist and, under it, a parent's words (fills the column the chip row used to leave empty) */
#activities .prog-side { display: grid; gap: 26px; align-self: start; }
.prog-quote { margin: 0; padding: 4px 0 0 26px; border-left: 3px solid var(--gold); }
.prog-quote blockquote { margin: 0 0 12px; font: italic 400 clamp(19px, 1.6vw, 22px)/1.45 var(--serif); color: var(--pine-dd); }
.prog-quote figcaption { font: 700 12px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
@media (max-width: 960px) { #activities .duo { grid-template-columns: 1fr; } }

/* round 2 (w2d): the hero's small type (crumbs, kicker, lead, chips) at 4.5:1 or more over the photo, measured on the
   composited pixels (PIL) at 390, 768 and 1440: a deeper wash on the text side, the page-you-are-on crumb brighter */
.phero::before {
  background: linear-gradient(to top, rgba(7, 39, 36, .95) 0%, rgba(7, 39, 36, .74) 40%, rgba(7, 39, 36, .58) 70%, rgba(7, 39, 36, .72) 100%),
              linear-gradient(90deg, rgba(7, 39, 36, .86) 0%, rgba(7, 39, 36, .76) 46%, rgba(7, 39, 36, .3) 72%, transparent 90%);
}
.phero .crumbs li:last-child { color: rgba(251, 248, 242, .84); }
@media (max-width: 760px) {
  .phero::before { background: linear-gradient(to top, rgba(7, 39, 36, .96) 0%, rgba(7, 39, 36, .88) 50%, rgba(7, 39, 36, .86) 100%); }
}

/* round 2 (w2d): the "more to explore" cards' small gold labels and titles at 4.5:1 or more over their photos (measured) */
.next a::before { background: linear-gradient(to top, rgba(7, 39, 36, .95) 0%, rgba(7, 39, 36, .86) 55%, rgba(7, 39, 36, .5) 100%); }
