/* Academic stage layouts, scoped to these three pages. */
.stage-page { --stage-accent: #e58a00; --stage-line: #eee2d2; color: var(--navy); }
.stage-page section { padding: 24px 0; }
.stage-page h1, .stage-page h2, .stage-page h3, .stage-page p { margin-top: 0; }
.stage-page h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); letter-spacing: -.035em; margin-bottom: 12px; }
.stage-page h2 { font-size: clamp(1.65rem, 2.6vw, 2rem); letter-spacing: -.025em; margin-bottom: 6px; }
.stage-page h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; }
.stage-page p { line-height: 1.5; margin-bottom: 0; }
.stage-page img { height: auto; }
.stage-page .stage-eyebrow { display: flex; align-items: center; gap: 10px; color: #e45519; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px; }
.stage-page .stage-eyebrow::before { content: ''; width: 25px; height: 2px; background: #f16c30; flex: none; }
.stage-page .stage-hero { padding: 28px 0 24px; background: linear-gradient(115deg, #faf6ef, #fffdfa); position: relative; overflow: hidden; }
.stage-page .stage-hero::after { content: ''; position: absolute; width: 310px; height: 310px; border: 1px solid #e4bf8740; border-radius: 50%; right: -190px; top: 70px; pointer-events: none; }
.stage-page .stage-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .72rem; margin-bottom: 20px; color: #686d70; }
.stage-page .stage-breadcrumb a:hover { text-decoration: underline; }
.stage-page .stage-breadcrumb { flex-wrap: wrap; }
.stage-page .stage-breadcrumb [aria-current="page"] { color: #a85c00; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.stage-page .stage-breadcrumb svg { width: 15px; height: 15px; }
.stage-page .stage-hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 36px; position: relative; z-index: 1; }
.stage-page .stage-hero-copy { min-width: 0; }
.stage-page .stage-subtitle { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.3rem, 2.1vw, 1.65rem); line-height: 1.3; font-weight: 600; margin-bottom: 14px; }
.stage-page.stage-primary .stage-subtitle { font-style: italic; }
.stage-page .stage-range { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #f5d7a2; border-radius: 25px; padding: 6px 18px; margin-bottom: 14px; color: #a75b04; background: linear-gradient(110deg, #ffeac4, #fff5e1); font-size: 1.15rem; font-weight: 700; }
.stage-page .stage-range svg { width: 25px; height: 25px; }
.stage-page.stage-secondary .stage-range { background: linear-gradient(100deg, #e6a12b, #9c580c); color: white; border-radius: 12px; }
.stage-page .stage-hero-image { width: 100%; aspect-ratio: 1.9; object-fit: cover; border-radius: 22px; display: block; }
.stage-page .stage-hero-image.stage-reading-photo { object-position: center 58%; }
.stage-page .stage-section-heading { margin-bottom: 16px; }
.stage-page .stage-learn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stage-page .stage-learn-card { padding: 16px 20px 18px; background: linear-gradient(130deg, #fff, #fcfaf6); border: 1px solid var(--stage-line); border-radius: 16px; box-shadow: 0 5px 10px #17324d08; }
.stage-page .stage-learn-card h3 { margin-bottom: 10px; }
.stage-page .stage-learn-card p { font-size: .94rem; }
.stage-page .stage-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: #fff1da; border-radius: 50%; color: var(--stage-accent); margin-bottom: 8px; }
.stage-page .stage-icon svg { width: 34px; height: 34px; }
.stage-page.stage-primary .stage-icon { border-radius: 14px; }
.stage-page .stage-activities { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
.stage-page.stage-pre-primary .stage-activities { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stage-page .stage-activity { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 110px; padding: 12px 8px; background: linear-gradient(120deg, #fffcf7, #fcf2e2); border: 1px solid var(--stage-line); border-radius: 16px; text-align: center; box-shadow: 0 4px 8px #17324d05; }
.stage-page .stage-activity svg { width: 36px; height: 36px; color: var(--stage-accent); }
.stage-page .stage-activity strong { font-size: .9rem; line-height: 1.25; font-weight: 600; }
.stage-page.stage-pre-primary .stage-activity strong { font-family: 'Fraunces', Georgia, serif; font-size: 1.05rem; }
.stage-page .stage-emoji { font-size: 2.2rem; line-height: 1.2; }
.stage-page .stage-approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.stage-page .stage-approach-image { width: 100%; aspect-ratio: 2.4; display: block; object-fit: cover; border-radius: 16px; }
.stage-page .stage-checklist { list-style: none; margin: 0; padding: 0; }
.stage-page .stage-checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; font-size: .92rem; line-height: 1.4; }
.stage-page .stage-checklist li::before { content: '✓'; display: grid; place-items: center; flex: 0 0 20px; height: 20px; margin-top: 2px; color: white; background: linear-gradient(120deg, #f4b43c, #d87800); border: 1px solid white; border-radius: 50%; box-shadow: 0 2px 4px #bc7a1320; font-size: 13px; }
.stage-page .stage-checklist h3 { font-size: 1.08rem; margin: 0 0 2px; }
.stage-page .stage-checklist p { font-size: .8rem; color: #415168; }
.stage-page.stage-primary .stage-checklist { padding: 10px 24px; border: 1px solid var(--stage-line); border-radius: 16px; background: linear-gradient(120deg, #fffcf8, #faf6ee); }
.stage-page.stage-primary .stage-checklist li { padding: 9px 0; }
.stage-page.stage-primary .stage-checklist li + li { border-top: 1px solid var(--stage-line); }
.stage-page .stage-approach-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; padding: 20px; border: 1px solid var(--stage-line); border-radius: 24px; background: linear-gradient(120deg, #f9f6f0, #fffdfa); }
.stage-page .stage-approach-panel .stage-approach-image { aspect-ratio: 1.85; }
.stage-page .stage-approach-panel .stage-checklist { margin-top: 8px; }
.stage-page .stage-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stage-page.stage-primary .stage-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stage-page .stage-gallery figure { margin: 0; position: relative; min-width: 0; }
.stage-page .stage-gallery img { display: block; width: 100%; aspect-ratio: 1.8; object-fit: cover; border-radius: 15px; }
.stage-page .stage-gallery figcaption { display: inline-flex; align-items: center; gap: 8px; position: relative; margin-top: -28px; z-index: 1; padding: 8px 14px; background: #fff5e5; border: 1px solid #f5dab3; border-radius: 10px; box-shadow: 0 3px 8px #17324d08; font-size: .76rem; font-weight: 700; }
.stage-page .stage-gallery figcaption svg { width: 20px; height: 20px; color: #d17c00; }
.stage-page .stage-admissions { padding: 10px 0 28px; }
.stage-page .stage-admissions-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; padding: 20px 30px; border: 1px solid #f2d4a4; border-radius: 20px; background: linear-gradient(110deg, #fff2da, #fffdf7, #fff1d8); }
.stage-page .stage-admissions-banner::after { content: ''; position: absolute; width: 190px; height: 190px; border: 1px solid #edbd723d; border-radius: 50%; right: -100px; bottom: -135px; pointer-events: none; }
.stage-page .stage-admissions-symbol { width: 115px; text-align: center; flex: none; color: var(--stage-accent); font-size: 4rem; line-height: 1; }
.stage-page .stage-admissions-symbol svg { width: 60px; height: 60px; }
.stage-page .stage-admissions-copy { flex: 1; }
.stage-page .stage-admissions-copy h2 { font-size: 1.55rem; margin-bottom: 4px; }
.stage-page .stage-admissions-copy p { font-size: .9rem; }
.stage-page .stage-admissions-banner .btn { flex: none; gap: 10px; color: white; background: linear-gradient(100deg, #ed9400, #9d5403); border: 1px solid #df900c; box-shadow: 0 3px 5px #9d540326; }
.stage-page .stage-admissions-banner .btn svg { width: 19px; height: 19px; }
@media (max-width: 950px) {
  .stage-page .stage-hero-grid { gap: 24px; }
  .stage-page .stage-learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-page .stage-activities, .stage-page.stage-pre-primary .stage-activities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stage-page .stage-approach-grid, .stage-page .stage-approach-panel { gap: 22px; }
  .stage-page .stage-admissions-banner { gap: 16px; padding: 20px; }
  .stage-page .stage-admissions-symbol { width: 60px; font-size: 3rem; }
  .stage-page .stage-admissions-banner .btn { padding: 10px 12px; }
}
@media (max-width: 620px) {
  .stage-page section { padding: 20px 0; }
  .stage-page .stage-hero-grid, .stage-page .stage-approach-grid, .stage-page .stage-approach-panel { grid-template-columns: minmax(0, 1fr); }
  .stage-page .stage-hero-image { border-radius: 16px; }
  .stage-page .stage-learn-grid { gap: 12px; }
  .stage-page .stage-learn-card { padding: 15px; }
  .stage-page .stage-learn-card h3 { font-size: 1.1rem; }
  .stage-page .stage-activities, .stage-page.stage-pre-primary .stage-activities { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .stage-page .stage-gallery, .stage-page.stage-primary .stage-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stage-page .stage-gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stage-page .stage-approach-image { aspect-ratio: 1.8; }
  .stage-page .stage-admissions-banner { flex-wrap: wrap; border-radius: 16px; }
  .stage-page .stage-admissions-symbol { display: none; }
  .stage-page .stage-admissions-copy { flex-basis: 100%; }
}
@media (max-width: 360px) {
  .stage-page .stage-learn-grid { grid-template-columns: minmax(0, 1fr); }
  .stage-page .stage-activities, .stage-page.stage-pre-primary .stage-activities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
