/* Mahirs Foundation CIC: launch design v3 (October 2026)
   Built on the v2 "mothership" shell: same fonts, same dark and teal, but lighter and photo led. */
/* EDITABLE: colours | design-tokens | Foundation colours and the nine pillar colours. Teal stays #2FB9D6 */
:root {
  --dark: #1A0A2E;
  --dark-2: #241339;
  --teal: #2FB9D6;
  --teal-dark: #1E8AA3;
  --teal-soft: #E4F6FB;
  --cream: #FDF6EC;
  --light: #F5EFF8;
  --muted: #5A3A7A;
  --rule: #D4C0E8;
  --ink: #1A0A2E;
  --p-food: #8B5CC8;
  --p-train: #EE007E;
  --p-sport: #2FB9D6;
  --p-arts: #C9A84C;
  --p-events: #FF8A00;
  --p-aware: #E63946;
  --p-school: #4CAF50;
  --p-facil: #5C6BC0;
  --p-fund: #F5A623;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--cream); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 40px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--dark); border-bottom: 3px solid var(--teal); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand img { height: 38px; }
.nav-brand .div { width: 1px; height: 28px; background: rgba(255,255,255,.25); }
.nav-brand .lab { font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 8px; }
.nav-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.nav-links a:hover, .nav-links a.on { color: var(--teal); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }
.drawer { display: none; position: fixed; inset: 0; z-index: 60; background: rgba(15,6,30,.97); flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.drawer.open { display: flex; }
.drawer a { font-family: 'Bebas Neue', sans-serif; font-size: 34px; color: #fff; letter-spacing: .05em; }
.drawer .x { position: absolute; top: 18px; right: 24px; font-size: 38px; color: rgba(255,255,255,.6); background: none; border: 0; cursor: pointer; }

/* Type */
.eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px; }
.dark .eyebrow, .hero .eyebrow { color: var(--teal); }
.h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(52px, 8vw, 104px); line-height: .9; letter-spacing: .01em; }
.h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(38px, 5vw, 58px); line-height: .95; letter-spacing: .02em; margin-bottom: 18px; }
.h2 em, .h1 em { font-style: normal; color: var(--teal); }
.script { font-family: 'Kaushan Script', cursive; color: var(--teal); }
.lead { font-size: 18px; line-height: 1.7; color: var(--ink); font-weight: 500; }
.body p { font-size: 15.5px; color: var(--muted); margin-bottom: 16px; }
.body p strong { color: var(--ink); }

/* Sections */
section { padding: 90px 0; }
.dark { background: var(--dark); color: #fff; }
.dark .body p { color: rgba(255,255,255,.72); }
.light { background: var(--light); }
.white { background: #fff; }
.two { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }

/* Photo slots: replaced with real photography before launch */
.photo { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #2b1747, #1A0A2E 60%, #12384a); min-height: 220px; }
.photo::after { content: attr(data-slot); position: absolute; left: 14px; bottom: 12px; right: 14px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.has-img::after { display: none; }
/* Homepage (29 Oct 2026 copy) */
.hero .campaign { font-family: 'Kaushan Script', cursive; font-size: 26px; color: var(--teal); margin-top: 22px; }
.hero .sub + .sub { margin-top: 12px; }
.intro { max-width: 760px; color: var(--muted); margin: -6px 0 26px; }
.nums.areas { grid-template-columns: repeat(2, 1fr); }
.nums.areas .l { font-family: 'Bebas Neue', sans-serif; font-size: 26px; font-weight: 400; letter-spacing: .02em; margin-top: 0; }
.nums.areas .d { font-size: 14px; }
.cta .contact-line { margin-top: 18px; font-weight: 600; letter-spacing: .04em; }
#story .body p + p { margin-top: 12px; }
#story .lead { margin-top: 18px; font-weight: 700; }
@media (max-width: 700px) { .nums.areas { grid-template-columns: 1fr; } .hero .campaign { font-size: 21px; } }
/* Privacy and other text pages */
.legal { max-width: 760px; }
.legal h2 { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: .02em; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 15px; color: var(--muted); }
.legal ul { margin: 8px 0 0 20px; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--teal-dark); text-decoration: underline; }
/* Launch: empty slots hidden (see content.js launch) */
.launch-photos .photo:not(.has-img) { display: none; }
.launch-photos .prog.feature { grid-template-columns: 1fr; }
.launch-photos .prog .pb { border-top: 5px solid var(--c, var(--teal)); }
.two.one { grid-template-columns: 1fr; max-width: 820px; }

/* Hero */
.hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; }
.hero .bg .photo { position: absolute; inset: 0; border-radius: 0; min-height: 0; }
.hero .shade { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 70% 30%, rgba(47,185,214,.28), transparent 65%), linear-gradient(to top, rgba(26,10,46,.96) 8%, rgba(26,10,46,.55) 55%, rgba(26,10,46,.35)); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: 70px; padding-top: 120px; width: 100%; }
.hero .h1 { max-width: 900px; }
.hero .sub { font-size: 17px; color: rgba(255,255,255,.82); max-width: 620px; margin-top: 22px; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-block; padding: 14px 30px; border-radius: 4px; background: var(--teal); color: var(--dark); font-family: 'Bebas Neue', sans-serif; font-size: 19px; letter-spacing: .07em; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; border: 2px solid var(--teal); color: #fff; }
.light .btn.ghost, .cream .btn.ghost, .white .btn.ghost { color: var(--ink); }

/* Ribbon */
.ribbon { background: var(--teal); color: var(--dark); padding: 18px 0; }
.ribbon .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: .06em; }
.ribbon span b { color: #fff; font-weight: 400; }

/* Story */
.quote { border-left: 4px solid var(--teal); padding: 6px 0 6px 22px; margin: 26px 0 0; }
.quote p { font-family: 'Kaushan Script', cursive; font-size: 24px; line-height: 1.35; color: var(--ink); margin: 0; }
.quote span { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.story-photos .photo:first-child { grid-row: span 2; min-height: 460px; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tl { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-top: 4px solid var(--c, var(--teal)); border-radius: 10px; padding: 22px 20px; }
.tl .yr { font-family: 'Bebas Neue', sans-serif; font-size: 38px; line-height: 1; color: var(--c, var(--teal)); }
.tl .t { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: .02em; margin: 8px 0 6px; color: #fff; }
.tl p { font-size: 13px; color: rgba(255,255,255,.66); }
.tl.full { grid-column: 1 / -1 !important; }
.tl.big { grid-column: span 2; background: rgba(47,185,214,.12); border-color: rgba(47,185,214,.4); }

/* Numbers */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.num { background: #fff; border-radius: 14px; padding: 30px 26px; border: 1px solid var(--rule); border-top: 5px solid var(--c, var(--teal)); }
.num .n { font-family: 'Bebas Neue', sans-serif; font-size: 58px; line-height: 1; color: var(--c, var(--teal)); }
.num .l { font-weight: 700; font-size: 14px; margin-top: 8px; color: var(--ink); }
.num .d { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.note { font-size: 12px; color: var(--muted); margin-top: 22px; }

/* Programmes */
.progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prog { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); display: flex; flex-direction: column; }
.prog .photo { border-radius: 0; min-height: 180px; }
.prog .pb { padding: 24px; display: flex; flex-direction: column; flex: 1; border-top: 5px solid var(--c, var(--teal)); }
.tag { align-self: flex-start; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--c, var(--teal)); padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.prog h3 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; line-height: 1; letter-spacing: .02em; margin-bottom: 10px; }
.prog p { font-size: 13.5px; color: var(--muted); }
.prog ul { margin: 12px 0 0 18px; font-size: 13px; color: var(--muted); }
.prog.feature { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; }
.prog.feature .photo { min-height: 320px; }
.prog.feature .pb { border-top: 0; border-left: 5px solid var(--c); padding: 36px; justify-content: center; }
.prog.feature h3 { font-size: 40px; }

/* Pillars */
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pill { font-size: 12px; font-weight: 700; padding: 9px 16px; border-radius: 30px; color: #fff; background: var(--c); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.gallery .photo { min-height: 0; }
.gallery .w2 { grid-column: span 2; }
.gallery .h2r { grid-row: span 2; }

/* Voices */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 28px 26px; display: flex; flex-direction: column; }
.white .voice, .light .voice, .cream .voice { background: #fff; border-color: var(--rule); }
.voice .q { font-size: 16px; line-height: 1.6; font-weight: 500; }
.voice .q::before { content: "\201C"; display: block; font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: .6; color: var(--teal); margin-bottom: 8px; }
.voice .who { margin-top: auto; padding-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.voice .org { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 3px; }
.white .voice .org, .light .voice .org, .cream .voice .org { color: var(--muted); }
.voice.video { padding: 0; overflow: hidden; }
.voice.video .photo { min-height: 220px; border-radius: 0; }
.voice.video .vb { padding: 20px 22px; }
.play { position: absolute; left: 50%; top: 45%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(47,185,214,.9); display: flex; align-items: center; justify-content: center; }
.play::before { content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }

/* People */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person .photo { aspect-ratio: 1; min-height: 0; border-radius: 50%; margin-bottom: 16px; }
.person h4 { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: .02em; }
.person .role { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin: 2px 0 8px; }
.person p { font-size: 13px; color: var(--muted); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.partner { background: #fff; border: 1px solid var(--rule); border-radius: 10px; min-height: 96px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; font-family: 'Bebas Neue', sans-serif; font-size: 19px; letter-spacing: .03em; color: var(--ink); }

/* CTA */
.cta { text-align: center; }
.cta .h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.75); max-width: 640px; margin: 0 auto; }
.cta .btns { justify-content: center; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact b { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: .04em; margin-top: 16px; }
.contact a { color: var(--teal-dark); font-weight: 600; }
.cic { background: #fff; border-left: 4px solid var(--teal); border-radius: 8px; padding: 24px 26px; font-size: 13px; color: var(--muted); }
.cic b { display: inline; font-family: inherit; font-size: inherit; letter-spacing: 0; margin: 0; color: var(--ink); }

/* Footer */
footer { background: #0a0408; color: rgba(255,255,255,.45); border-top: 3px solid var(--teal); padding: 34px 0; font-size: 11px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer img { height: 34px; }
footer img.greencheck { height: auto; width: 200px; max-width: 100%; }
footer p { letter-spacing: .08em; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer .links a { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 9.5px; }
footer .links a:hover { color: var(--teal); }

/* Page header (inner pages) */
.page-head { background: var(--dark); color: #fff; padding: 110px 0 70px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 80% 20%, rgba(47,185,214,.3), transparent 65%); }
.page-head .wrap { position: relative; }
.page-head p { color: rgba(255,255,255,.78); max-width: 640px; font-size: 17px; margin-top: 16px; }

@media (max-width: 960px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .nums, .progs, .voices { grid-template-columns: repeat(2, 1fr); }
  .prog.feature { grid-column: span 2; }
  .people, .partners { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-brand .lab { display: none; }
  .two, .contact { grid-template-columns: 1fr; gap: 34px; }
  .timeline, .nums, .progs, .voices { grid-template-columns: 1fr; }
  .tl.big, .prog.feature { grid-column: span 1; }
  .prog.feature { grid-template-columns: 1fr; }
  .story-photos .photo:first-child { min-height: 280px; }
  .ribbon .wrap { font-size: 18px; }
}

/* Hero testimonial (inspired by Kaleidoscope Plus) */
.hero-quote { margin-top: 40px; max-width: 520px; border-left: 4px solid var(--teal); background: rgba(255,255,255,.07); backdrop-filter: blur(4px); padding: 18px 22px; border-radius: 0 10px 10px 0; }
.hero-quote blockquote { font-size: 15.5px; line-height: 1.55; color: #fff; font-style: italic; }
.hero-quote figcaption { margin-top: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }

/* Nine pillar cards (rendered from content.js) */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-top: 4px solid var(--c); border-radius: 10px; padding: 24px 22px; }
.pillar .pn { font-family: 'Bebas Neue', sans-serif; font-size: 30px; line-height: 1; color: var(--c); }
.pillar h3 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: .02em; line-height: 1.05; margin: 10px 0 8px; color: #fff; }
.pillar p { font-size: 13px; color: rgba(255,255,255,.66); }

/* Programme link */
.prog-link { margin-top: auto; padding-top: 14px; align-self: flex-start; font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: .06em; color: var(--c); }

/* Stories (news and impact) */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story { background: #fff; border: 1px solid var(--rule); border-top: 5px solid var(--c); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.story-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.status, .ptag { font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
.ptag { color: #fff; background: var(--c); }
.status { color: var(--ink); background: var(--teal-soft); border: 1px solid var(--teal); }
.status.developing, .status.proposed { background: #FFF4E0; border-color: var(--p-fund); }
.story-date { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.story h3 { font-family: 'Bebas Neue', sans-serif; font-size: 25px; line-height: 1.05; margin-bottom: 10px; }
.story p { font-size: 13.5px; color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--dark); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media (max-width: 960px) { .pillar-grid, .stories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .pillar-grid, .stories { grid-template-columns: 1fr; } }

.voice figcaption { margin-top: auto; padding-top: 18px; }
.voice .who { padding-top: 0; }
.voice .ctx { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 4px; }
.white .voice .ctx, .light .voice .ctx, .cream .voice .ctx { color: var(--muted); }
blockquote.q { margin: 0; }

/* Story filters */
.filters { margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip { font: 600 12px 'Montserrat', sans-serif; padding: 8px 14px; border-radius: 30px; border: 1.5px solid var(--c, var(--rule)); background: #fff; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--c, var(--dark)); color: #fff; border-color: var(--c, var(--dark)); }
.status.upcoming { background: #FCE7F3; border-color: var(--p-train); }
.story[hidden] { display: none; }
.status.historical { background: #EFE8F7; border-color: var(--muted, #5A3A7A); }

/* Photos: homepage gallery and story pictures */
.pics { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; margin-top: 30px; }
.pic { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--dark); }
.pic.big { grid-column: span 2; grid-row: span 2; }
.pic.wide { grid-column: span 2; }
.pic.tall { grid-row: span 2; }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 11.5px; line-height: 1.35; color: #fff; background: linear-gradient(transparent, rgba(10,4,20,.82)); }
.story-img { margin: -24px -24px 18px; }
.story-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 7px 7px 0 0; }
.story-img figcaption { font-size: 11px; color: var(--muted); padding: 8px 24px 0; }
@media (max-width: 960px) { .pics { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 520px) { .pics { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } .pic.big { grid-column: span 2; grid-row: span 2; } .pic figcaption { font-size: 10.5px; } }
/* Impact figures: four across on wide screens (eight figures) */
@media (min-width: 1100px) { #impact .nums { grid-template-columns: repeat(4, 1fr); } #impact .num .n { font-size: 50px; } }

/* Hero slideshow */
.hero .bg .photo.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero .bg .photo.slides img.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero .bg .photo.slides img { transition: none; } }

/* Site notice under the menu */
.site-notice { background: var(--teal-soft); color: var(--dark); font-size: 12.5px; line-height: 1.45; padding: 9px 0; border-bottom: 1px solid rgba(47,185,214,.35); }
.site-notice a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; }
.site-notice a { white-space: nowrap; }
.person .photo img { object-position: center 25%; }
.people { margin: 34px 0 40px; }
@media (min-width: 961px) { .people { grid-template-columns: repeat(4, 1fr); } }

/* Where we came from */
#heritage .intro { color: rgba(255,255,255,.82); max-width: 760px; margin-top: 18px; }
.heritage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.heri { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-top: 4px solid var(--teal); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.heri figure { margin: 0; }
.heri figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.heri .hb { padding: 18px 20px 20px; }
.heri .yr { font-family: 'Bebas Neue', sans-serif; font-size: 40px; line-height: 1; color: var(--teal); }
.heri h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 6px 0 8px; }
.heri p { font-size: 13px; color: rgba(255,255,255,.75); }
.heri .amt { margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
@media (max-width: 960px) { .heritage { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .heritage { grid-template-columns: 1fr; } }

/* Hero: lighter shade so the slideshow shows through; text kept to the lower left */
.hero .shade { background: linear-gradient(to top, rgba(26,10,46,.92) 0%, rgba(26,10,46,.55) 32%, rgba(26,10,46,.08) 62%, rgba(26,10,46,0) 100%), linear-gradient(to right, rgba(26,10,46,.55), rgba(26,10,46,0) 60%); }
.hero .h1 { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero .campaign { text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.intro-band { background: var(--dark); color: rgba(255,255,255,.85); padding: 34px 0 38px; }
.intro-band p { max-width: 820px; font-size: 17px; line-height: 1.6; }
.intro-band p + p { margin-top: 12px; }
@media (max-width: 700px) { .intro-band p { font-size: 15.5px; } }

/* Heritage cards: a charity logo where the old page had no photo for that year */
.heri figure.logo { background: #fff; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 28px; }
.heri figure.logo img { width: auto; max-width: 80%; max-height: 70%; aspect-ratio: auto; object-fit: contain; }

/* Director without a photo yet: initials in a teal circle */
.person .photo.initials { background: var(--dark); display: flex; align-items: center; justify-content: center; }
.person .photo.initials span { font-family: 'Bebas Neue', sans-serif; font-size: 72px; color: var(--teal); letter-spacing: .04em; }
.heri figure.logo img[src*="2019-"] { max-width: 92%; }

/* Header and footer in the Mahirs Experience family style (30 Oct 2026) */
.nav { background: var(--dark); border-bottom: 3px solid var(--teal); }
.nav .wrap { height: 92px; }
.nav-brand img { height: 66px; width: auto; display: block; }
.nav-links { align-items: center; gap: 28px; }
.nav-links a { font-size: 11px; letter-spacing: .18em; }
.nav-links a.nav-cta { color: var(--dark); background: var(--teal); padding: 12px 20px; border-radius: 2px; }
.nav-links a.nav-cta:hover { background: #fff; color: var(--dark); }
@media (max-width: 960px) { .nav .wrap { height: 74px; } .nav-brand img { height: 52px; } }
footer.site-foot { background: #575d68; color: rgba(255,255,255,.82); border-top: 0; padding: 46px 0 50px; font-size: 13px; text-align: center; }
footer.site-foot .wrap { display: block; }
footer.site-foot .foot-logo img { height: 74px; width: auto; display: inline-block; margin-bottom: 18px; }
footer.site-foot p { letter-spacing: 0; margin: 0 auto 12px; max-width: 900px; }
footer.site-foot .foot-addr { font-size: 14px; color: rgba(255,255,255,.8); }
footer.site-foot .foot-contact { font-size: 14.5px; font-weight: 600; color: #fff; }
footer.site-foot .foot-contact a, footer.site-foot .foot-links a { color: #fff; }
footer.site-foot .foot-links { font-size: 14px; font-weight: 500; }
footer.site-foot span { color: rgba(255,255,255,.35); margin: 0 10px; }
footer.site-foot a:hover { color: var(--teal); }
footer.site-foot .foot-copy { font-size: 12px; color: rgba(255,255,255,.85); }
footer.site-foot .foot-ip { font-size: 12px; color: rgba(255,255,255,.55); max-width: 680px; }
footer.site-foot img.greencheck { display: block; margin: 12px auto 0; width: 200px; height: auto; }
@media (max-width: 700px) { footer.site-foot span { margin: 0 6px; } footer.site-foot .foot-links a, footer.site-foot .foot-contact a { display: inline-block; padding: 4px 0; } }

/* Leadership: four equal columns that line up. Each card uses the parent grid rows (subgrid), so photos, names,
   titles and bios all start on the same line across a row; titles keep room for two lines. */
.people { row-gap: 0; column-gap: 28px; grid-template-rows: auto; }
.person { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; margin-bottom: 44px; }
.person .photo { width: 100%; max-width: 240px; justify-self: start; margin: 0 0 20px; }
.person h4 { font-size: 26px; line-height: 1.05; margin: 0; align-self: end; }
.person .role { min-height: 2.9em; line-height: 1.45; margin: 6px 0 12px; }
.person p { font-size: 14px; line-height: 1.65; margin: 0; }
@supports not (grid-template-rows: subgrid) { .person { display: block; } }
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } .person .photo { max-width: 220px; justify-self: center; } .person { text-align: center; } .person .role { min-height: 0; } }

/* People and partnerships statement, under the leadership cards */
.ethos { background: var(--dark); color: #fff; border-radius: 14px; border-top: 4px solid var(--teal); padding: 44px 48px 40px; margin-top: 8px; }
.ethos-lead { font-family: 'Bebas Neue', sans-serif; font-size: 40px; line-height: 1.08; letter-spacing: .01em; max-width: 900px; margin: 0 0 30px; }
.ethos-lead em { font-style: normal; color: var(--teal); }
.ethos-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ethos-points > div { border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; }
.ethos-k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.ethos-points p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.8); margin: 0; }
@media (max-width: 860px) { .ethos { padding: 34px 26px 30px; } .ethos-lead { font-size: 32px; } .ethos-points { grid-template-columns: 1fr; gap: 20px; } }

/* Menu links land below the sticky header instead of underneath it */
html { scroll-padding-top: 104px; }
@media (max-width: 960px) { html { scroll-padding-top: 86px; } }

/* Contact buttons (email and call) until a form is added */
.contact-btns { margin-top: 22px; gap: 12px; flex-wrap: wrap; }
.btn.ghost-dark { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn.ghost-dark:hover { background: var(--dark); color: #fff; }
.contact .contact-btns a.btn { color: var(--dark); text-decoration: none; }
.contact .contact-btns a.btn.ghost-dark:hover { color: #fff; }

/* Lighter palette (Harvir, 30 Oct 2026): white, cream, lavender, pale sky and teal. The deep purple is kept only
   for text and the shading on the hero photos, so there are no dark sections or dark panels. */
.white { background: #fff; }
.cream { background: var(--cream); }
.sky { background: var(--teal-soft); }
.sky .btn.ghost, .white .btn.ghost { color: var(--ink); }
.sky .eyebrow, .white .eyebrow, .cream .eyebrow { color: var(--teal-dark); }

/* Header: white, teal logo */
.nav { background: #fff; border-bottom: 3px solid var(--teal); box-shadow: 0 2px 14px rgba(26,10,46,.06); }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--teal-dark); }
.nav-links a.nav-cta { color: var(--ink); background: var(--teal); }
.nav-links a.nav-cta:hover { background: var(--ink); color: #fff; }
.burger span { background: var(--ink); }
.drawer { background: rgba(255,255,255,.98); }
.drawer a { color: var(--ink); }
.drawer .x { color: var(--muted); }

/* Under the hero */
.intro-band { background: #fff; color: var(--muted); }

/* Pillars on pale sky */
.pillar { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--c); }
.pillar h3 { color: var(--ink); }
.pillar p { color: var(--muted); }

/* In their words on white */
.white .voice { background: var(--light); border-color: var(--rule); }

/* Born in 2014 on cream */
.heri { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--teal); }
.heri h3 { color: var(--ink); }
.heri p { color: var(--muted); }
.heri .yr, .heri .amt { color: var(--teal-dark); }
.heri figure.logo { border-bottom: 1px solid var(--rule); }

/* Get involved on pale sky */
.cta .h2 { color: var(--ink); }
.cta p { color: var(--muted); }

/* People and partnerships panel: white card */
.ethos { background: #fff; color: var(--ink); border: 1px solid var(--rule); border-top: 4px solid var(--teal); }
.ethos-lead em { color: var(--teal-dark); }
.ethos-points > div { border-top-color: var(--rule); }
.ethos-k { color: var(--teal-dark); }
.ethos-points p { color: var(--muted); }

/* Policy page headings */
.page-head { background: var(--teal-soft); color: var(--ink); }
.page-head::before { background: radial-gradient(ellipse 50% 70% at 80% 20%, rgba(47,185,214,.22), transparent 65%); }
.page-head p { color: var(--muted); }
.page-head .eyebrow { color: var(--teal-dark); }

/* Footer: pale sky, teal logo */
footer.site-foot { background: var(--teal-soft); color: var(--muted); border-top: 3px solid var(--teal); }
footer.site-foot .foot-addr { color: var(--muted); }
footer.site-foot .foot-contact, footer.site-foot .foot-contact a, footer.site-foot .foot-links a { color: var(--ink); }
footer.site-foot span { color: var(--rule); }
footer.site-foot a:hover { color: var(--teal-dark); }
footer.site-foot .foot-copy { color: var(--ink); }
footer.site-foot .foot-ip { color: var(--muted); }
#heritage .intro { color: var(--muted); }

/* Light grey replaces beige (Harvir, 30 Oct 2026). Section order: white, grey, lavender, white, lavender, grey, sky,
   white, grey, sky, white, then the grey footer */
:root { --cream: #F3F4F6; --grey-foot: #E7E9ED; }
footer.site-foot { background: var(--grey-foot); border-top: 3px solid var(--teal); }

/* Opening statement under the hero */
.intro-band { background: #fff; padding: 64px 0 60px; border-bottom: 1px solid #E7E9ED; }
.intro-band .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.intro-band p { max-width: none; }
.intro-band .ib-lead { font-family: 'Bebas Neue', sans-serif; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.05; letter-spacing: .01em; color: var(--ink); padding-left: 22px; border-left: 4px solid var(--teal); }
.intro-band .ib-lead em { font-style: normal; color: var(--teal-dark); }
.intro-band .ib-text { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.intro-band p + p { margin-top: 0; }
@media (max-width: 860px) { .intro-band { padding: 44px 0 40px; } .intro-band .wrap { grid-template-columns: 1fr; gap: 18px; } .intro-band .ib-lead { font-size: 32px; } .intro-band .ib-text { font-size: 15.5px; } }
