
:root {
  --navy:#062a49; --navy2:#041f36; --navy3:#0a3658; --green:#168753;
  --green2:#69aa43; --cream:#f7f3e9; --ivory:#fdfbf7; --ink:#0d2b46;
  --muted:#657381; --gold:#d5b35b; --line:#dbe1e4; --white:#fff;
}
.programme-page{color:var(--ink);background:var(--white);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.programme-page *{box-sizing:border-box}
.programme-shell{width:min(1180px,calc(100% - 40px));margin:0 auto}
.programme-kicker{margin:0 0 14px;color:var(--green);font-size:.78rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.programme-section-title{margin:0;color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,3.8vw,3.2rem);line-height:1.05}
.programme-copy{color:var(--muted);font-size:1rem;line-height:1.75}

/* Hero */
.programme-hero{background:radial-gradient(circle at 74% 35%,rgba(105,170,67,.1),transparent 28%),linear-gradient(180deg,var(--ivory),var(--cream));border-bottom:1px solid rgba(6,42,73,.05)}
.programme-hero-inner{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(360px,.97fr);gap:56px;align-items:center;min-height:570px;padding:70px 0 40px}
.programme-hero h1{margin:0;color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:clamp(3rem,6vw,5.3rem);line-height:.97;letter-spacing:-.035em}
.programme-subtitle{margin:18px 0 0;color:var(--green);font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.5rem,2.4vw,2rem);font-weight:700}
.programme-summary{max-width:700px;margin:24px 0 0;color:var(--ink);font-size:1.06rem;line-height:1.75}
.programme-summary>:first-child{margin-top:0}.programme-summary>:last-child{margin-bottom:0}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:30px}
.programme-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border:1px solid transparent;border-radius:7px;font-size:.93rem;font-weight:800;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.programme-btn:hover{transform:translateY(-1px)}
.programme-btn-primary{color:var(--white);background:linear-gradient(90deg,var(--green),var(--green2));box-shadow:0 9px 24px rgba(22,135,83,.18)}
.programme-btn-secondary{color:var(--navy);background:rgba(255,255,255,.72);border-color:rgba(6,42,73,.32)}
.programme-link{color:var(--navy);font-weight:800;text-underline-offset:3px}
.assessment-note{max-width:650px;margin:17px 0 0;color:var(--muted);font-size:.92rem;line-height:1.6}
.hero-media{position:relative;min-height:400px;display:flex;align-items:center;justify-content:center}
.hero-media::before{content:"";position:absolute;inset:3%;border-radius:32px;background:rgba(105,170,67,.08)}
.hero-media img,.hero-media video{position:relative;z-index:1;width:100%;max-height:430px;object-fit:contain;border-radius:18px}
.hero-media video{object-fit:cover;background:var(--navy2)}

/* Feature strip */
.feature-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-top:8px;padding:18px 0;border-top:1px solid rgba(6,42,73,.08)}
.feature-item{display:flex;gap:11px;align-items:center;padding:10px 18px;border-right:1px solid var(--line)}
.feature-item:first-child{padding-left:0}.feature-item:last-child{padding-right:0;border-right:0}
.feature-icon{width:36px;height:36px;flex:0 0 auto;border-radius:50%;padding:7px;background:rgba(22,135,83,.09)}
.feature-icon img{width:100%;height:100%;display:block}
.feature-text strong{display:block;color:var(--navy);font-size:.83rem}
.feature-text span{display:block;margin-top:2px;color:var(--muted);font-size:.75rem}

/* Benefits */
.benefits-section{padding:76px 0 34px}
.section-heading-centred{max-width:760px;margin:0 auto 30px;text-align:center}
.benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}
.benefit-card{min-height:220px;padding:28px 22px;border:1px solid rgba(6,42,73,.09);border-radius:16px;background:var(--white);box-shadow:0 10px 30px rgba(6,42,73,.045)}
.benefit-icon{width:62px;height:62px;margin-bottom:22px;border-radius:50%;padding:15px}
.benefit-icon img{width:100%;height:100%;display:block}
.benefit-card:nth-child(4n+1) .benefit-icon{background:#e9f6ed}.benefit-card:nth-child(4n+2) .benefit-icon{background:#eaf2fb}
.benefit-card:nth-child(4n+3) .benefit-icon{background:#fbf4de}.benefit-card:nth-child(4n+4) .benefit-icon{background:#f1ebfb}
.benefit-card h3{margin:0;color:var(--navy);font-size:1.04rem}.benefit-card p{margin:10px 0 0;color:var(--muted);font-size:.92rem;line-height:1.6}

/* How we teach */
.teach-section{padding:40px 0 75px}
.teach-panel{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:stretch;padding:28px;border:1px solid rgba(6,42,73,.08);border-radius:20px;background:linear-gradient(135deg,#f9fcf9,#f7f9fb)}
.teach-image-wrap{min-height:390px;overflow:hidden;border-radius:15px;background:var(--cream)}
.teach-image-wrap img{width:100%;height:100%;min-height:390px;object-fit:cover;display:block}
.teach-copy{padding:16px 8px 8px}
.teach-copy h2{margin:0 0 24px;color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,3.1vw,2.8rem)}
.teach-list{display:grid;gap:15px;margin:0;padding:0;list-style:none}
.teach-list li{position:relative;padding-left:34px;color:var(--ink);line-height:1.55}
.teach-list li::before{content:"✓";position:absolute;left:0;top:0;width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(22,135,83,.4);border-radius:50%;color:var(--green);font-size:.78rem;font-weight:900}

/* Curriculum */
.curriculum-section{padding:72px 0;background:var(--ivory);border-top:1px solid rgba(6,42,73,.05);border-bottom:1px solid rgba(6,42,73,.05)}
.curriculum-layout{display:flex;flex-direction:column;gap:24px;margin-top:30px}
.curriculum-box{padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--white)}
.curriculum-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.curriculum-tab{border:1px solid var(--line);border-radius:999px;padding:9px 15px;color:var(--navy);background:#f5f7f7;font:inherit;font-size:.84rem;font-weight:750;cursor:pointer}
.curriculum-tab[aria-selected="true"]{border-color:var(--green);color:var(--white);background:var(--green)}
.curriculum-panel[hidden]{display:none}.curriculum-panel h3{margin:0 0 8px;color:var(--navy);font-size:1.25rem}
.curriculum-panel p{color:var(--muted);line-height:1.65}
.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px;margin:22px 0 0;padding:0;list-style:none}
.topic-grid li{position:relative;padding-left:22px;color:var(--ink);font-size:.92rem;line-height:1.5}.topic-grid li::before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:900}
/* Full-width banner below the curriculum box, not a narrow sticky sidebar
   next to it -- icon, copy and the CTA sit in one row and wrap on narrow
   screens instead of stacking beside a 300px column. */
.assessment-card{display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding:24px 28px;border:1px solid rgba(22,135,83,.16);border-radius:16px;background:linear-gradient(145deg,#f4faf5,#eef6eb)}
.programme-assessment-card{margin-bottom:56px}
.assessment-card .assessment-icon{width:46px;height:46px;flex:0 0 auto}
.assessment-body{flex:1 1 320px;min-width:220px}
.assessment-body .programme-kicker{margin:0 0 6px}
.assessment-card h3{margin:0 0 4px;color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:1.35rem}
.assessment-card p{margin:0;color:var(--muted);line-height:1.55}
.assessment-cta{flex:0 0 auto;white-space:nowrap}

/* Batches */
.batches-section{padding:78px 0}.batch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(275px,1fr));gap:18px;margin-top:30px}
.batch-card{display:flex;flex-direction:column;min-height:390px;padding:25px;border:1px solid var(--line);border-radius:16px;background:var(--white);box-shadow:0 12px 30px rgba(6,42,73,.04)}
.batch-topline{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.batch-card h3{margin:0;color:var(--navy);font-size:1.08rem;line-height:1.35}
.delivery-pill{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eaf6ed;color:var(--green);font-size:.72rem;font-weight:800;white-space:nowrap}
.batch-details{display:grid;gap:10px;margin:22px 0;color:var(--muted);font-size:.9rem}.batch-details strong{color:var(--ink)}
.batch-price{margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}.price-list{color:var(--muted);font-size:.9rem}
.price-effective{margin-top:4px;color:var(--navy);font-size:1.85rem;font-weight:850}.price-cycle{color:var(--muted);font-size:.83rem}
.offer-name{display:inline-block;margin-top:9px;color:var(--green);font-size:.78rem;font-weight:800}.batch-card .programme-btn{width:100%;margin-top:18px}
.batch-empty{margin-top:28px;padding:34px;border:1px dashed var(--line);border-radius:14px;text-align:center;background:var(--ivory)}.batch-empty h3{margin-top:0;color:var(--navy)}

/* Multi-subject umbrella programme: horizontal pill tabs on top (GCSE ->
   Maths/Physics/..., Foundations -> Year 6/7/.../11), full-width content
   below -- matches the Page Builder subjectTabs pattern instead of a
   vertical sidebar, so switching year/subject reads as one flow: pick a
   tab, then curriculum, then the assessment banner, then batches. */
.subject-tabs-layout{margin-top:30px}
.subject-tabs-nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px;margin-bottom:34px}
.subject-tab{text-align:center;border:1px solid var(--line);border-radius:999px;padding:10px 20px;color:var(--navy);background:var(--white);font:inherit;font-size:.88rem;font-weight:750;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}
.subject-tab:hover{background:#f5f7f7}
.subject-tab[aria-selected="true"]{border-color:var(--navy);color:var(--white);background:var(--navy)}
.subject-comingsoon-badge{display:inline-block;font-size:.65rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#7a5b12;background:var(--gold);border-radius:999px;padding:2px 8px;margin-left:6px;vertical-align:middle}
.subject-tab[aria-selected="true"] .subject-comingsoon-badge{color:#fff;background:rgba(255,255,255,.22)}
.comingsoon-note{display:flex;align-items:center;gap:8px;background:var(--cream);border:1px solid var(--gold);border-radius:8px;padding:12px 16px;margin:0 0 20px;font-size:.9rem;color:var(--ink)}
.comingsoon-note .subject-comingsoon-badge{margin-left:0}
.subject-panel[hidden]{display:none}
.subject-batches{margin-top:44px;padding-top:36px;border-top:1px solid var(--line)}
.subject-batches .programme-section-title{font-size:clamp(1.5rem,2.6vw,2rem)}

/* Guarantee */
.guarantee-section{padding:0 0 74px}.guarantee-panel{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:start;padding:28px 32px;border:1px solid rgba(213,179,91,.35);border-radius:18px;background:linear-gradient(105deg,#fffaf0,#fbf3dc)}
.guarantee-icon{width:58px;height:58px;padding:11px;border:2px solid var(--green);border-radius:50%;background:var(--white)}
.guarantee-icon img{width:100%;height:100%}.guarantee-panel h2{margin:0 0 7px;color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:1.65rem}
.guarantee-panel p{margin:0;color:var(--ink);line-height:1.7}

/* Accessibility/focus */
.programme-btn:focus-visible,.programme-link:focus-visible,.curriculum-tab:focus-visible{outline:3px solid rgba(213,179,91,.75);outline-offset:3px}

/* Responsive */
@media(max-width:980px){
  .programme-hero-inner,.teach-panel,.curriculum-layout{grid-template-columns:1fr}
  .programme-hero-inner{padding-top:55px;gap:26px}.hero-media{min-height:300px}
  .feature-strip{grid-template-columns:repeat(2,1fr)}.feature-item{border-right:0;border-bottom:1px solid var(--line);padding-left:0}
  .assessment-card{position:static}
}
@media(max-width:640px){
  .programme-shell{width:min(100% - 26px,1180px)}.programme-hero-inner{min-height:auto;padding:44px 0 30px}
  .programme-hero h1{font-size:clamp(2.8rem,15vw,4rem)}.hero-actions{align-items:stretch}.programme-btn{width:100%}.hero-actions .programme-link{width:100%;padding:6px 2px}
  .feature-strip{grid-template-columns:1fr}.feature-item{min-height:62px}.benefits-section,.curriculum-section,.batches-section{padding-top:58px;padding-bottom:58px}
  .teach-panel{padding:18px}.teach-image-wrap,.teach-image-wrap img{min-height:260px}.topic-grid{grid-template-columns:1fr}.guarantee-panel{grid-template-columns:1fr;padding:24px}
}
@media(prefers-reduced-motion:reduce){.programme-btn{transition:none}}

.batch-demo-link{margin-top:22px;text-align:center;color:var(--navy)}

/* Deep link from the /classes timetable: the batch card the visitor clicked through from. */
.batch-grid:has(>.batch-card:only-child){grid-template-columns:minmax(0,440px);justify-content:center}
.batch-card{scroll-margin-top:110px}
.batch-card.is-linked{position:relative;border-color:var(--green);box-shadow:0 0 0 3px rgba(22,135,83,.28),0 14px 34px rgba(6,42,73,.12);animation:batch-linked-pulse 1.6s ease-out 1}
.batch-card.is-linked::before{content:"Selected from the timetable";position:absolute;top:-11px;left:18px;padding:2px 10px;border-radius:999px;background:var(--green);color:#fff;font-size:.7rem;font-weight:800;letter-spacing:.02em}
.batch-card.is-linked:focus{outline:none}
@keyframes batch-linked-pulse{from{box-shadow:0 0 0 10px rgba(22,135,83,.35),0 14px 34px rgba(6,42,73,.12)}}
@media (prefers-reduced-motion:reduce){.batch-card.is-linked{animation:none}}
