/* Blue Magpie Foundation website styles. Colours are set as variables near the top of each block. */
.bmfx{--plum:#61117f;--plum-d:#3d0a52;--cream:#fff8bd;--mint:#c3ecde;--rose:#f8dcd4;--mauve:#e5d8df;--ink:#1d1424;--mute:#5d5166;--line:#e7dfe9;
font-family:Poppins,system-ui,sans-serif;color:var(--ink);line-height:1.6;font-size:17px}
.bmfx *{box-sizing:border-box}
.bmfx img{max-width:100%;height:auto;display:block}
.bmfx a{color:var(--plum)}
.bmfx .wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.bmfx section{padding:64px 0}
.bmfx h1,.bmfx h2,.bmfx h3{font-family:Poppins,system-ui,sans-serif;line-height:1.15;margin:0 0 16px;color:inherit;letter-spacing:-.01em}
.bmfx h2{font-size:clamp(28px,4vw,40px);font-weight:800;color:var(--plum)}
.bmfx h3{font-size:20px;font-weight:700}
.bmfx p{margin:0 0 14px}
.bmfx .eyebrow{font-size:13px;letter-spacing:.18em;text-transform:uppercase;font-weight:600;margin:0 0 12px}
.bmfx .lede{font-size:clamp(17px,2vw,20px);max-width:720px}
.bmfx .hero{background:radial-gradient(900px 500px at 85% 0%,#7f2aa3 0,rgba(127,42,163,0) 60%),linear-gradient(160deg,var(--plum) 0,var(--plum-d) 100%);color:#fff;padding:88px 0 72px;position:relative;overflow:hidden}
.bmfx .hero .eyebrow{color:var(--cream)}
.bmfx .hero h1{font-size:clamp(40px,7vw,76px);font-weight:800;margin-bottom:20px}
.bmfx .hero h1 span{color:var(--cream);white-space:nowrap}
.bmfx .hero .ten{position:absolute;right:-40px;bottom:-120px;font-size:clamp(260px,40vw,520px);font-weight:800;line-height:1;color:rgba(255,255,255,.06);pointer-events:none}
.bmfx .facts{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.18);border-radius:14px;overflow:hidden;margin:36px 0 32px;position:relative}
.bmfx .facts div{background:rgba(61,10,82,.55);padding:18px 20px}
.bmfx .facts b{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--cream);font-weight:600;margin-bottom:4px}
.bmfx .facts span{font-weight:600;font-size:16px;line-height:1.4}
.bmfx .btns{display:flex;flex-wrap:wrap;gap:12px;position:relative}
.bmfx .btn{display:inline-block;padding:14px 26px;border-radius:999px;font-weight:700;text-decoration:none;font-size:16px}
.bmfx .btn.pri{background:var(--cream);color:var(--plum-d)}
.bmfx .btn.sec{border:2px solid rgba(255,255,255,.6);color:#fff}
.bmfx .btn.plum{background:var(--plum);color:#fff}
.bmfx .note{font-size:14px;opacity:.85;margin-top:16px;position:relative}
.bmfx .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.bmfx .stat{border-radius:14px;padding:22px}
.bmfx .stat:nth-child(6n+1){background:var(--cream)}.bmfx .stat:nth-child(6n+2){background:var(--rose)}.bmfx .stat:nth-child(6n+3){background:var(--mint)}
.bmfx .stat:nth-child(6n+4){background:var(--mauve)}.bmfx .stat:nth-child(6n+5){background:var(--mint)}.bmfx .stat:nth-child(6n+6){background:var(--cream)}
.bmfx .stat strong{display:block;font-size:40px;font-weight:800;color:var(--plum);line-height:1.1}
.bmfx .stat span{font-size:15px;color:var(--ink)}
.bmfx .alt{background:#faf6fb}
.bmfx .prog{list-style:none;padding:0;margin:24px 0 0;border-top:1px solid var(--line)}
.bmfx .prog li{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.bmfx .prog time{font-weight:700;color:var(--plum)}
.bmfx .prog small{display:block;color:var(--mute);font-size:15px}
.bmfx .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:24px}
.bmfx .card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}
.bmfx .card .tag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--plum);background:var(--mauve);border-radius:999px;padding:3px 10px;margin-bottom:10px}
.bmfx .card p{font-size:15px;color:var(--mute);margin:0}
.bmfx .photos{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.bmfx figure{margin:0}
.bmfx figure img{border-radius:12px;aspect-ratio:3/4;object-fit:cover;width:100%}
.bmfx figure.wide img{aspect-ratio:16/9}
.bmfx figcaption{font-size:14px;color:var(--mute);margin-top:8px}
.bmfx .awards{background:var(--plum);color:#fff}
.bmfx .awards h2{color:#fff}
.bmfx .awards ol{margin:20px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;counter-reset:a}
.bmfx .awards li{counter-increment:a;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:18px;font-weight:600}
.bmfx .awards li::before{content:counter(a);display:block;color:var(--cream);font-size:26px;font-weight:800}
.bmfx .people{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:20px}
.bmfx .people div{border-left:4px solid var(--plum);padding:6px 0 6px 14px}
.bmfx .people b{display:block}
.bmfx .people span{color:var(--mute);font-size:15px}
.bmfx details{border-bottom:1px solid var(--line);padding:16px 0}
.bmfx summary{font-weight:700;cursor:pointer;font-size:17px}
.bmfx details p{margin:10px 0 0;color:var(--mute)}
.bmfx .cta{text-align:center}
.bmfx .cta p{max-width:620px;margin:0 auto 22px}
.bmfx .legal{font-size:13px;color:var(--mute);text-align:center;padding:0 0 40px}
.bmfx .posters{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:24px;align-items:start}
.bmfx .route{border-radius:16px;padding:26px}
.bmfx .route.a{background:var(--cream)}.bmfx .route.b{background:var(--mint)}
.bmfx .route ul{padding-left:20px;margin:0 0 16px}
.bmfx .route img{border-radius:10px;box-shadow:0 8px 24px rgba(61,10,82,.18);margin:18px 0 12px}
.bmfx .strip{background:var(--plum);color:#fff;text-align:center;padding:12px 16px;font-size:15px;font-weight:600}
.bmfx .strip a{color:var(--cream);margin-left:8px;white-space:nowrap}
.bmfx .split{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
@media (max-width:860px){
.bmfx .facts{grid-template-columns:1fr 1fr}
.bmfx .stats{grid-template-columns:1fr 1fr}
.bmfx .photos,.bmfx .posters,.bmfx .split{grid-template-columns:1fr}
}
@media (max-width:520px){
.bmfx section{padding:48px 0}
.bmfx .facts,.bmfx .stats{grid-template-columns:1fr}
.bmfx .prog li{grid-template-columns:78px 1fr}
.bmfx .hero{padding:64px 0 56px}
}
/* v2: review changes */
.bmfx .nw{white-space:nowrap}
.bmfx .hero h1 span{white-space:normal}
.bmfx .hero h1 span.nw{white-space:nowrap}
.bmfx .hero.photo{background:linear-gradient(160deg,rgba(97,17,127,.93) 0,rgba(61,10,82,.86) 100%),var(--bg) center/cover no-repeat}
.bmfx .eyebrow{font-size:14px}
.bmfx .facts b{font-size:13px}
.bmfx .card .tag{font-size:13px}
.bmfx .proof{background:var(--cream);padding:22px 0}
.bmfx .proof .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;text-align:center}
.bmfx .proof strong{display:block;font-size:clamp(28px,4vw,40px);font-weight:800;color:var(--plum);line-height:1.1}
.bmfx .proof span{font-size:15px;font-weight:600}
.bmfx .story{background:#faf6fb;border-radius:16px;overflow:hidden}
.bmfx .story img{width:100%;aspect-ratio:4/3;object-fit:cover}
.bmfx .story>div{padding:20px 22px}
.bmfx .story a{font-weight:700;display:inline-block;padding:10px 0}
.bmfx .video{position:relative;display:block;max-width:820px;margin-top:20px;border-radius:14px;overflow:hidden;background:#000}
.bmfx .video img{width:100%;aspect-ratio:16/9;object-fit:cover;opacity:.85}
.bmfx .video .play{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;background:var(--cream);box-shadow:0 6px 20px rgba(0,0,0,.3)}
.bmfx .video .play::after{content:"";position:absolute;left:30px;top:22px;border-style:solid;border-width:16px 0 16px 26px;border-color:transparent transparent transparent var(--plum-d)}
.bmfx .videoframe{width:100%;max-width:820px;aspect-ratio:16/9;border:0;border-radius:14px;margin-top:20px;display:block}
.bmfx .centres{list-style:none;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px 24px}
.bmfx .centres li{border-left:4px solid var(--plum);padding:4px 0 4px 12px}
.bmfx .centres b{display:block}
.bmfx .centres span{font-size:15px;color:var(--mute)}
.bmfx .venue{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}
.bmfx .btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;text-align:center}
.bmfx .btn.line{border:2px solid var(--plum);color:var(--plum)}
.bmfx summary{min-height:44px;display:flex;align-items:center;gap:10px;list-style:none;padding:6px 0}
.bmfx summary::-webkit-details-marker{display:none}
.bmfx summary::before{content:"+";flex:0 0 28px;height:28px;border-radius:50%;background:var(--mauve);color:var(--plum);display:flex;align-items:center;justify-content:center;font-weight:800}
.bmfx details[open] summary::before{content:"\2212"}
.bmfx details{padding:6px 0}
.bmfx details p{padding-left:38px}
.bmfx .strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;padding:8px 16px}
.bmfx .strip a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;background:var(--cream);color:var(--plum-d);text-decoration:none;margin:0}
.bmfx .trust{border-top:1px solid var(--line);padding:24px 0 36px;font-size:14px;color:var(--mute);text-align:center}
.bmfx .trust p{margin:0 0 6px}
.bmfx .stickybar{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:none;align-items:center;justify-content:space-between;gap:12px;background:var(--plum-d);color:#fff;padding:8px 16px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 16px rgba(0,0,0,.2);font-weight:600;font-size:15px}
.bmfx .stickybar .btn{min-height:44px;padding:10px 18px;font-size:15px;white-space:nowrap;flex:0 0 auto}
.bmfx .stickybar span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media (max-width:400px){.bmfx .stickybar{font-size:14px;padding-left:12px;padding-right:12px}.bmfx .stickybar .btn{padding:10px 14px}}
@media (max-width:860px){
.bmfx .stickybar.on{display:flex}
.bmfx .trust{padding-bottom:96px}
}
@media (max-width:640px){
.bmfx .proof .wrap{grid-template-columns:repeat(2,1fr);row-gap:16px}
}
@media (max-width:520px){
.bmfx .hero .facts{grid-template-columns:1fr 1fr;margin:14px 0 14px}
.bmfx .hero .facts div{padding:8px 12px}
.bmfx .hero .facts b{margin-bottom:2px}
.bmfx .hero .facts span{font-size:15px}
.bmfx .hero h1{font-size:clamp(32px,9.5vw,44px);margin-bottom:10px;line-height:1.05}
.bmfx .hero{padding:22px 0 30px}
.bmfx .hero .eyebrow{margin-bottom:8px}
.bmfx .hero .lede{font-size:16px;margin-bottom:0}
.bmfx .hero .btns{flex-wrap:nowrap;gap:8px}
.bmfx .hero .btns .btn{flex:1 1 0;padding:10px 12px;font-size:15px}
.bmfx .photos.three{grid-template-columns:repeat(3,1fr);gap:8px}
.bmfx .photos.three figcaption{font-size:13px}
.bmfx .stat strong{font-size:32px}
}
/* v3: homepage */
.bmfx.home .h-hero{padding:120px 0 104px;background:linear-gradient(90deg,rgba(61,10,82,.94) 0,rgba(97,17,127,.82) 45%,rgba(97,17,127,.25) 100%),var(--bg) center 30%/cover no-repeat}
.bmfx.home .h-hero h1{max-width:720px}
.bmfx.home .h-hero .lede{max-width:560px}
.bmfx.home .h-hero .btns{margin-top:26px}
.bmfx .h-feature{padding:48px 0 8px}
.bmfx .h-feature-in{display:grid;grid-template-columns:1.1fr 1fr;gap:0;align-items:stretch;padding:0;background:var(--plum-d);color:#fff;border-radius:22px;overflow:hidden;box-shadow:0 16px 40px rgba(61,10,82,.18)}
.bmfx .h-feature-img img{width:100%;height:100%;object-fit:cover;min-height:320px}
.bmfx .h-feature-txt{padding:48px 40px}
.bmfx .h-feature-txt .eyebrow{color:var(--cream)}
.bmfx .h-feature-txt h2{color:#fff}
.bmfx .h-arms{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}
.bmfx .h-arm{display:block;text-decoration:none;color:inherit;border-radius:18px;overflow:hidden;background:#fff;border:1px solid var(--line);transition:transform .2s,box-shadow .2s}
.bmfx .h-arm:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(61,10,82,.14)}
.bmfx .h-arm img{width:100%;aspect-ratio:16/9;object-fit:cover}
.bmfx .h-arm>div{padding:22px 24px 26px}
.bmfx .h-arm .tag{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--plum);background:var(--mauve);border-radius:999px;padding:3px 10px;margin-bottom:10px}
.bmfx .h-arm p{color:var(--mute);margin-bottom:12px}
.bmfx .more{color:var(--plum)}
.bmfx .more::after{content:" \2192"}
.bmfx .h-centres{display:grid;grid-template-columns:.9fr 1.1fr;gap:32px;align-items:start;margin-top:20px}
.bmfx .h-centres .centres{grid-template-columns:1fr;gap:14px;margin:0}
.bmfx .h-mosaic{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bmfx .h-mosaic img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px}
.bmfx .h-story{display:grid;grid-template-columns:240px 1fr;margin-top:32px;background:#fff;border:1px solid var(--line)}
.bmfx .h-story img{height:100%;aspect-ratio:auto;min-height:180px}
.bmfx .h-why{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.bmfx .h-why>div{border-radius:16px;padding:24px;background:var(--rose)}
.bmfx .h-why>div:nth-child(2){background:var(--mint)}
.bmfx .h-why>div:nth-child(3){background:var(--cream)}
.bmfx .h-why strong{display:block;font-size:clamp(32px,4vw,44px);font-weight:800;color:var(--plum);line-height:1.1;margin-bottom:6px}
.bmfx .h-why h3{margin-bottom:6px}
.bmfx .h-why p{font-size:15px;margin-bottom:10px}
.bmfx .h-why small{font-size:13px;color:var(--mute)}
.bmfx .h-line{margin-top:22px;font-weight:600;font-size:18px;max-width:720px}
.bmfx .h-progs{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}
.bmfx .h-progs article{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}
.bmfx .h-progs img{width:100%;aspect-ratio:16/9;object-fit:cover}
.bmfx .h-progs article>div{padding:20px 22px 22px}
.bmfx .h-progs p{font-size:15px;color:var(--mute)}
.bmfx .facts-l{list-style:none;padding:0;margin:0 0 12px;display:flex;flex-wrap:wrap;gap:6px}
.bmfx .facts-l li{font-size:13px;font-weight:600;background:var(--soft,#faf6fb);border:1px solid var(--line);border-radius:999px;padding:3px 10px;color:var(--plum-d)}
.bmfx .hl{border-left:4px solid var(--plum);background:#f6f0f8;padding:10px 14px;border-radius:0 10px 10px 0;color:var(--ink)!important;font-style:italic}
.bmfx .h-quote{background:var(--plum);color:#fff;text-align:center}
.bmfx .h-quote blockquote{color:#fff;font-style:normal;border:0;padding:0;background:none;quotes:none;margin:0 auto 16px;max-width:820px;font-size:clamp(22px,3vw,32px);font-weight:700;line-height:1.3}
.bmfx .h-quote blockquote::before{content:"\201C";display:block;font-size:64px;line-height:.6;color:var(--cream);margin-bottom:10px}
.bmfx .h-quote p{max-width:620px;margin:0 auto;opacity:.9}
.bmfx .h-press{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}
.bmfx .h-press a{display:block;text-decoration:none;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.bmfx .h-press img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:top}
.bmfx .h-press b{display:block;padding:12px 16px}
.bmfx .h-logos{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:22px}
.bmfx .h-logos img{width:100%;aspect-ratio:3/2;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:14px}
.bmfx .h-join{background:linear-gradient(160deg,var(--plum) 0,var(--plum-d) 100%);color:#fff}
.bmfx .h-join h2{color:#fff}
.bmfx .h-ways{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:22px}
.bmfx .h-ways>div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:22px;display:flex;flex-direction:column}
.bmfx .h-ways p{flex:1;font-size:15px;opacity:.9}
.bmfx .h-ways .btn{align-self:flex-start}
.bmfx .h-schools{margin-top:22px;font-weight:600}
.bmfx .h-schools a{color:var(--cream)}
.bmfx .h-trust{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}
.bmfx .h-trust img{height:48px;width:auto}
.bmfx .h-trust p{margin:0;max-width:620px;text-align:left}
@media (max-width:980px){
.bmfx .h-ways{grid-template-columns:1fr 1fr}
.bmfx .h-logos{grid-template-columns:repeat(4,1fr)}
}
.bmfx .h-feature-in{max-width:1080px}
@media (max-width:860px){
.bmfx .h-feature{padding:32px 16px 0}
.bmfx .h-feature-in,.bmfx .h-arms,.bmfx .h-centres,.bmfx .h-progs{grid-template-columns:1fr}
.bmfx .h-feature-txt{padding:32px 20px 40px}
.bmfx .h-why{grid-template-columns:1fr}
.bmfx .h-logos{grid-template-columns:repeat(3,1fr)}
.bmfx.home .h-hero{background:linear-gradient(180deg,rgba(61,10,82,.72) 0,rgba(61,10,82,.94) 70%),var(--bg) center 30%/cover no-repeat}
}
@media (max-width:640px){
.bmfx .h-press{grid-template-columns:repeat(3,1fr);gap:8px}
.bmfx .h-press b{padding:8px 10px;font-size:13px}
.bmfx .h-story{grid-template-columns:1fr}
.bmfx .h-story img{aspect-ratio:4/3;min-height:0}
.bmfx .h-logos{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:520px){
.bmfx.home .h-hero{padding:64px 0 48px}
.bmfx .h-ways{grid-template-columns:1fr}
.bmfx .h-trust p{text-align:center}
.bmfx .h-mosaic{gap:6px}
}
/* v4: people */
.bmfx .pgroup{margin:36px 0 6px;font-size:20px;color:var(--plum)}
.bmfx .pnote{color:var(--mute);font-size:15px;margin:0 0 10px}
.bmfx .people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin-top:12px}
.bmfx .person{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}
.bmfx .person .av{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:var(--mauve);color:var(--plum);font-weight:800;font-size:19px;display:flex;align-items:center;justify-content:center;object-fit:cover}
.bmfx .person:nth-child(4n+2) .av{background:var(--mint)}
.bmfx .person:nth-child(4n+3) .av{background:var(--cream)}
.bmfx .person:nth-child(4n+4) .av{background:var(--rose)}
.bmfx .person b{display:block;font-size:17px;line-height:1.3}
.bmfx .person .role{display:block;color:var(--plum);font-weight:600;font-size:14px;margin:2px 0 6px}
.bmfx .person p{margin:0;font-size:15px;color:var(--mute)}
.bmfx .people-grid.compact{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.bmfx .people-grid.compact .person{padding:14px;align-items:center}
.bmfx .people-grid.compact .role{margin:0}
.bmfx .people-grid.compact .av{flex-basis:46px;width:46px;height:46px;font-size:16px}
.bmfx .people-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
@media (min-width:861px){
.bmfx .people-grid:not(.compact) .person{flex-direction:column;gap:12px;padding:22px}
.bmfx .people-grid:not(.compact){grid-template-columns:repeat(4,1fr)}
}
.bmfx .people-grid.compact{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
@media (min-width:981px){.bmfx .people-grid.compact{grid-template-columns:repeat(5,1fr)}}
@media (min-width:641px) and (max-width:980px){.bmfx .people-grid.compact{grid-template-columns:repeat(3,1fr)}}
/* v5: where we work */
.bmfx .h-where{padding:56px 0 48px}
.bmfx .where-tiles{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px}
.bmfx .where{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:480px;padding:28px;border-radius:22px;overflow:hidden;text-decoration:none;color:#fff;
background:linear-gradient(180deg,rgba(29,10,40,0) 25%,rgba(29,10,40,.88) 72%),var(--bg) center/cover no-repeat;box-shadow:0 14px 34px rgba(61,10,82,.18);transition:transform .2s,box-shadow .2s}
.bmfx .where:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(61,10,82,.26)}
.bmfx .where .kicker{align-self:flex-start;background:var(--cream);color:var(--plum-d);font-weight:800;font-size:15px;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:6px 14px;margin-bottom:12px}
.bmfx .where h3{font-size:clamp(24px,3vw,32px);font-weight:800;margin:0 0 10px;color:#fff}
.bmfx .where ul{margin:0 0 16px;padding:0;list-style:none}
.bmfx .where li{padding:3px 0 3px 22px;position:relative;font-size:16px}
.bmfx .where li::before{content:"";position:absolute;left:0;top:11px;width:10px;height:10px;border-radius:50%;background:var(--cream)}
.bmfx .where .go{display:inline-flex;align-items:center;align-self:flex-start;min-height:48px;padding:0 22px;border-radius:999px;background:#fff;color:var(--plum-d)}
.bmfx .where .go::after{content:"\2192";margin-left:8px}
.bmfx .crumbs{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.bmfx .crumbs .wrap{display:flex;gap:8px;padding-top:10px;padding-bottom:10px}
.bmfx .crumbs a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;font-weight:700;text-decoration:none;color:var(--plum);border:2px solid var(--plum)}
.bmfx .crumbs a.on{background:var(--plum);color:#fff}
.bmfx .sl-centres{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}
.bmfx .sl-centres article{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.bmfx .sl-centres img,.bmfx .sl-centres .noimg{width:100%;aspect-ratio:16/10;object-fit:cover}
.bmfx .sl-centres .noimg{display:flex;align-items:center;justify-content:center;background:var(--mauve);color:var(--plum);font-size:48px;font-weight:800}
.bmfx .sl-centres article>div:last-child{padding:18px 20px 20px}
.bmfx .sl-centres p{font-size:15px;color:var(--mute);margin:0}
.bmfx .sl-centres .tag{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--plum);background:var(--mauve);border-radius:999px;padding:3px 10px;margin-bottom:8px}
.bmfx .streams{margin:0 0 12px;padding-left:18px;font-size:15px;color:var(--mute)}
.bmfx .uk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bmfx .uk-grid>div{border-top:4px solid var(--plum);padding-top:14px}
.bmfx .uk-grid p{font-size:15px;color:var(--mute)}
@media (max-width:860px){
.bmfx .where-tiles,.bmfx .uk-grid{grid-template-columns:1fr}
.bmfx .where{min-height:420px;padding:22px}
.bmfx .sl-centres{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
.bmfx .sl-centres{grid-template-columns:1fr}
.bmfx .crumbs a{flex:1;justify-content:center;padding:0 10px}
.bmfx .where{min-height:400px}
}
@media (min-width:861px){.bmfx .people-grid:not(.compact){grid-template-columns:repeat(var(--n,4),1fr)}}
/* v6: remaining pages */
.bmfx .vm{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.bmfx .vm>div{background:#faf6fb;border-radius:20px;padding:32px}
.bmfx .numlist{list-style:none;counter-reset:n;padding:0;margin:20px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.bmfx .numlist li{counter-increment:n;border-top:4px solid var(--plum);padding-top:14px}
.bmfx .numlist li::before{content:"0" counter(n);display:block;font-weight:800;color:var(--plum);font-size:14px;letter-spacing:.1em;margin-bottom:6px}
.bmfx .numlist b{display:block;font-size:18px}
.bmfx .numlist span{color:var(--mute);font-size:15px}
.bmfx .spend{width:100%;max-width:820px;border-collapse:collapse;margin-top:18px;font-size:16px}
.bmfx .spend td{padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.bmfx .spend td:last-child{text-align:right;font-weight:700;color:var(--plum);white-space:nowrap}
.bmfx .spend .tot td{border-top:2px solid var(--plum);border-bottom:0;font-weight:800}
.bmfx .ways-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}
.bmfx .way{border:1px solid var(--line);border-radius:18px;padding:26px;display:flex;flex-direction:column;background:#fff}
.bmfx .way .n{font-weight:800;color:var(--plum);opacity:.45;font-size:14px;letter-spacing:.12em}
.bmfx .way h3{margin:8px 0}
.bmfx .way p{flex:1;color:var(--mute);font-size:15px}
.bmfx .way .btn{align-self:flex-start}
.bmfx .give-list{list-style:none;padding:0;margin:14px 0 18px}
.bmfx .give-list li{display:flex;gap:16px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--line)}
.bmfx .give-list b{min-width:96px;font-size:24px;font-weight:800;color:var(--plum)}
.bmfx .camp{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.bmfx .camp article{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.bmfx .camp article>div{padding:22px}
.bmfx .camp .feat{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
.bmfx .camp .feat img{width:100%;height:100%;object-fit:cover}
.bmfx .camp p{color:var(--mute)}
.bmfx .camp .tag,.bmfx .post .tag{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--plum);background:var(--mauve);border-radius:999px;padding:3px 10px;margin-bottom:8px}
.bmfx .news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bmfx .post{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;background:#fff;transition:transform .2s,box-shadow .2s}
.bmfx .post:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(61,10,82,.12)}
.bmfx .post img{width:100%;aspect-ratio:16/10;object-fit:cover}
.bmfx .post>div{padding:20px 22px 24px}
.bmfx .post p{color:var(--mute);font-size:15px}
.bmfx .contact-list{list-style:none;padding:0;margin:0}
.bmfx .contact-list li{padding:16px 0;border-bottom:1px solid var(--line);font-size:18px;font-weight:600}
.bmfx .contact-list span{display:block;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);font-weight:600;margin-bottom:4px}
.bmfx .socials{display:flex;flex-wrap:wrap;gap:8px}
.bmfx .socials a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:2px solid var(--plum);border-radius:999px;font-weight:600;text-decoration:none}
.bmfx .cform{display:grid;gap:14px;background:#faf6fb;border:1px solid var(--line);border-radius:18px;padding:24px}
.bmfx .cform label{display:grid;gap:6px;font-weight:600;font-size:15px}
.bmfx .cform input,.bmfx .cform select,.bmfx .cform textarea{font:16px Poppins,sans-serif;padding:12px 14px;border:1px solid #d9cde0;border-radius:12px;background:#fff;min-height:48px;width:100%;box-sizing:border-box}
.bmfx .cform button{justify-self:start;border:0;cursor:pointer}
@media (max-width:860px){
.bmfx .vm,.bmfx .camp,.bmfx .camp .feat{grid-template-columns:1fr}
.bmfx .numlist,.bmfx .ways-grid,.bmfx .news-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){.bmfx .numlist,.bmfx .ways-grid,.bmfx .news-grid{grid-template-columns:1fr}.bmfx .vm>div{padding:22px}}
/* v7: benchmark pass (charity: water, Save the Children, Room to Read, Macmillan, Teach First, UNICEF UK) */
.bmfx{font-size:18px;line-height:1.6}
.bmfx .wrap{max-width:1200px;padding:0 24px}
.bmfx section{padding:88px 0}
.bmfx h2{font-size:clamp(26px,3.2vw,36px);font-weight:800;line-height:1.18;letter-spacing:-.015em;max-width:24ch}
.bmfx h3{font-size:21px;line-height:1.3}
.bmfx p{max-width:65ch}
.bmfx .lede{font-size:clamp(18px,1.6vw,20px);max-width:52ch}
.bmfx .eyebrow{font-size:13px;letter-spacing:.16em}
/* heroes: photo with gradient on the lower part, headline bottom left */
.bmfx .hero{display:flex;align-items:flex-end}
.bmfx .hero>.wrap{width:100%}
.bmfx .hero h1{font-size:clamp(34px,5vw,58px);line-height:1.05;letter-spacing:-.02em;max-width:18ch}
.bmfx .hero.photo{background:linear-gradient(180deg,rgba(29,8,40,.25) 0%,rgba(29,8,40,.35) 38%,rgba(29,8,40,.9) 100%),linear-gradient(90deg,rgba(61,10,82,.55) 0,rgba(61,10,82,0) 70%),var(--bg) center 35%/cover no-repeat}
@media (min-width:861px){.bmfx .hero.photo{min-height:520px}.bmfx.home .h-hero{min-height:640px}}
.bmfx.home .h-hero{background:linear-gradient(180deg,rgba(29,8,40,.1) 0%,rgba(29,8,40,.3) 40%,rgba(29,8,40,.92) 100%),linear-gradient(90deg,rgba(61,10,82,.6) 0,rgba(61,10,82,0) 65%),var(--bg) center 30%/cover no-repeat;padding:120px 0 72px}
/* flat cards, no shadows; hover is a border change */
.bmfx .card,.bmfx .person,.bmfx .way,.bmfx .post,.bmfx .h-arm,.bmfx .sl-centres article,.bmfx .h-progs article,.bmfx .camp article{border-radius:14px;box-shadow:none}
.bmfx .post:hover,.bmfx .h-arm:hover{transform:none;box-shadow:none;border-color:var(--plum)}
.bmfx .h-feature-in{box-shadow:none;border-radius:18px}
.bmfx .where{border-radius:18px;box-shadow:none}
.bmfx .where:hover{box-shadow:0 18px 40px rgba(61,10,82,.22)}
/* figures band: solid plum, cream figures */
.bmfx .proof{background:var(--plum);color:#fff;padding:36px 0}
.bmfx .proof strong{color:var(--cream);font-size:clamp(32px,4vw,48px)}
.bmfx .proof span{color:#fff;opacity:.92}
/* colour rhythm per page */
.bmfx.sl .alt{background:#eef9f4}
.bmfx.ukp .alt{background:#fdf1ee}
.bmfx.sl .hero .eyebrow,.bmfx.ukp .hero .eyebrow{display:inline-block;background:var(--cream);color:var(--plum-d);padding:5px 12px;border-radius:999px;letter-spacing:.1em}
/* portrait story cards */
.bmfx .stories{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}
.bmfx .storycard{display:grid;grid-template-columns:.8fr 1fr;border-radius:18px;overflow:hidden;background:#fff;border:1px solid var(--line)}
.bmfx .storycard img{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover}
.bmfx .storycard>div{padding:26px;display:flex;flex-direction:column}
.bmfx .storycard blockquote{margin:0 0 14px;font-size:19px;font-weight:600;line-height:1.4;color:var(--ink);border:0;padding:0;font-style:normal;quotes:none;background:none}
.bmfx .storycard .who{font-size:15px;color:var(--mute);margin-bottom:16px}
.bmfx .storycard a{margin-top:auto;font-weight:700}
/* donation block */
.bmfx .give{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;max-width:560px}
.bmfx .give h3{margin:0 0 4px}
.bmfx .amts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0 10px}
.bmfx .amts button{font:700 17px Poppins,sans-serif;min-height:52px;border-radius:12px;border:2px solid var(--line);background:#fff;color:var(--plum-d);cursor:pointer}
.bmfx .amts button[aria-pressed="true"]{border-color:var(--plum);background:var(--plum);color:#fff}
.bmfx .give .what{min-height:48px;font-size:16px;color:var(--ink);margin:6px 0 14px}
.bmfx .give .btn{width:100%}
.bmfx .give small{display:block;margin-top:10px;color:var(--mute);font-size:13px}
.bmfx .give-band{background:var(--cream);padding:56px 0}
.bmfx .give-band .wrap{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
@media (max-width:860px){
.bmfx section{padding:56px 0}
.bmfx .stories,.bmfx .storycard,.bmfx .give-band .wrap{grid-template-columns:1fr}
.bmfx .storycard img{aspect-ratio:16/11}
.bmfx .wrap{padding:0 18px}
}
@media (max-width:520px){.bmfx{font-size:17px}.bmfx .amts{grid-template-columns:repeat(2,1fr)}.bmfx.home .h-hero{padding:88px 0 44px}}
.bmfx .storycard .sq{font-size:19px;font-weight:600;line-height:1.45;color:var(--ink);margin:0 0 12px}
.bmfx .storycard>div>a,.bmfx .camp article div>a:not(.btn),.bmfx .h-progs p>a:only-child,.bmfx .split p>a:only-child{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
.bmfx .h-feature-in{padding:0}
.bmfx .cta h2{margin-left:auto;margin-right:auto}
.bmfx .contact{align-items:start}
.bmfx .prose{max-width:780px}
.bmfx .prose h2{font-size:24px;margin:34px 0 10px}
.bmfx .prose h2:first-child{margin-top:0}
.bmfx .prose ul{padding-left:20px}
.bmfx .prose li{margin-bottom:10px}
.bmfx button.btn{font-family:Poppins,system-ui,sans-serif;font-weight:700;font-size:16px}
.bmfx .hero h1{overflow-wrap:break-word}

/* v8: contact form states, landscape photo strip */
.bmfx .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.bmfx .form-status{margin:0;font-size:15px;color:var(--plum-d);min-height:1.4em}
.bmfx .photos.land figure img{aspect-ratio:4/3}
@media (max-width:640px){.bmfx .photos.three.land{grid-template-columns:1fr;gap:14px}.bmfx .photos.three.land figcaption{font-size:14px}}

/* Site shell for the single-file site: header, menus, drawer, footer. The WordPress site keeps its own header and footer. */
:root{--plum:#61117f;--plum-d:#3d0a52;--cream:#fff8bd;--ink:#1d1424;--mute:#5d5166;--line:#e7dfe9}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:Poppins,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.skip{position:absolute;left:-999px;top:0;background:var(--plum);color:#fff;padding:10px 16px;z-index:100}
.skip:focus{left:8px;top:8px}
main.page[hidden]{display:none}
.sh{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
.sh.scrolled{border-bottom-color:var(--line);box-shadow:0 6px 24px rgba(61,10,82,.06)}
.sh-in{max-width:1240px;margin:0 auto;padding:0 20px;height:72px;display:flex;align-items:center;gap:24px}
.sh-logo img{height:44px;width:auto;display:block}
.sh-nav{display:flex;align-items:center;gap:2px;margin-left:auto}
.nv-top{font:600 15px Poppins,sans-serif;color:var(--ink);text-decoration:none;background:none;border:0;padding:10px 14px;border-radius:10px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:44px}
.nv-top:hover,.nv-group.open>.nv-top{background:#f4edf6;color:var(--plum)}
.nv-top.cur{color:var(--plum)}
.nv-top i{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.nv-group{position:relative}
.nv-group.open>.nv-top i{transform:rotate(225deg) translateY(-1px)}
.nv-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:230px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px rgba(61,10,82,.14);padding:8px;display:none}
.nv-group.open .nv-menu{display:block}
.nv-menu a{display:block;padding:11px 14px;border-radius:10px;color:var(--ink);text-decoration:none;font-weight:500;font-size:15px}
.nv-menu a:hover,.nv-menu a.cur{background:#f4edf6;color:var(--plum)}
.sh-cta{display:flex;align-items:center;gap:10px}
.sh-ten{font:700 14px Poppins,sans-serif;color:var(--plum);text-decoration:none;border:2px solid var(--plum);border-radius:999px;padding:0 16px;min-height:42px;display:inline-flex;align-items:center}
.sh-ten.cur,.sh-ten:hover{background:var(--plum);color:#fff}
.sh-donate{font:700 15px Poppins,sans-serif;color:#fff;background:var(--plum);text-decoration:none;border-radius:999px;padding:0 24px;min-height:46px;display:inline-flex;align-items:center}
.sh-donate:hover{background:var(--plum-d)}
.burger{display:none;width:46px;height:46px;border:0;background:#f4edf6;border-radius:12px;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.burger span{display:block;width:20px;height:2px;background:var(--plum);border-radius:2px;transition:transform .2s,opacity .2s}
.nav-open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-open .burger span:nth-child(2){opacity:0}
.nav-open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.drawer{display:none}
@media (max-width:1000px){
.sh-nav,.sh-ten{display:none}
.burger{display:flex}
.sh-cta{margin-left:auto}
.drawer{display:block;position:fixed;inset:72px 0 0 0;z-index:49;background:#fff;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;visibility:hidden}
.nav-open .drawer{transform:none;visibility:visible}
.drawer nav{display:flex;flex-direction:column;padding:12px 20px 40px}
.drawer .nv-top{font-size:18px;justify-content:space-between;width:100%;padding:14px 8px;border-bottom:1px solid var(--line);border-radius:0}
.drawer .nv-menu{position:static;display:none;box-shadow:none;border:0;padding:4px 0 10px 12px;min-width:0}
.drawer .nv-group.open .nv-menu{display:block}
.drawer .nv-menu a{font-size:16px;padding:12px 8px}
.drawer .btn{margin-top:22px;justify-content:center}
.nav-open{overflow:hidden}
}
@media (max-width:420px){.sh-in{gap:10px;padding:0 14px}.sh-logo img{height:38px}.sh-donate{padding:0 16px}}
/* footer */
.sf{background:var(--plum-d);color:#e9dff0;margin-top:0}
.sf-in{max-width:1240px;margin:0 auto;padding:64px 20px 40px;display:grid;grid-template-columns:1.4fr .9fr .9fr 1fr 1.6fr;gap:28px}
.sf-about img:first-child{height:44px;width:auto;background:#fff;border-radius:10px;padding:6px 10px}
.sf-about p{font-size:15px;line-height:1.6;color:#cbbcd4;max-width:300px}
.sf-about .fr{height:46px;width:auto;background:#fff;border-radius:8px;padding:4px 8px;margin-top:6px}
.sf h4{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--cream);margin:6px 0 14px}
.sf a,.sf span{display:block;color:#e9dff0;text-decoration:none;font-size:15px;padding:5px 0;overflow-wrap:anywhere}
.sf a:hover{color:#fff;text-decoration:underline}
.sf-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.sf-social a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;font-size:13px}
.sf-base{border-top:1px solid rgba(255,255,255,.12);max-width:1240px;margin:0 auto;padding:18px 20px 28px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:#b9a8c4}
.sf-base span,.sf-base a{display:inline;padding:0;font-size:13px;color:#b9a8c4}
@media (max-width:980px){.sf-in{grid-template-columns:1fr 1fr}.sf-about{grid-column:1/-1}}
@media (max-width:520px){.sf-in{grid-template-columns:1fr;padding-top:44px}}
/* the anniversary strip and trust bars are part of page blocks; in the full site the footer carries trust, so hide duplicates */
main .trust,main .legal{display:none}
/* reveal on scroll */
.rv{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.rv{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}
/* pages built for the WordPress header: the in-page Sri Lanka/UK switch sits under this sticky header */
.bmfx .crumbs{top:72px}
.cform{display:grid;gap:14px;background:#faf6fb;border:1px solid var(--line);border-radius:18px;padding:24px}

.sf a[href^="mailto"]{font-size:14px;overflow-wrap:normal;word-break:normal}
