/* ============ Juba Consultants — Modern Minimal ============ */
:root {
  --navy:       #0B2E6D;
  --navy-dark:  #071d45;
  --gold:       #C9A34E;
  --gold-light: #dbb96a;
  --ink:        #23201b;
  --muted:      #6f6a62;
  --line:       #ece8e1;
  --soft:       #f8f5ef;
  --warm:       #fbf8f2;
  --bg:         #ffffff;
  --shadow:     0 14px 40px rgba(11,46,109,.06);
  --shadow-sm:  0 6px 20px rgba(11,46,109,.05);
  --maxw:       1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px; font-size: 14px; font-weight: 500; transition: top .15s; }
.skip-link:focus { top: 0; }
.icon { width: 100%; height: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--border { border-top: 1px solid var(--line); }

/* Eyebrow / labels / titles */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section-title { color: var(--ink); font-weight: 700; letter-spacing: -.5px; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin: 14px 0 0; }
.section-sub { color: var(--muted); font-size: 16px; max-width: 620px; margin: 16px 0 0; }

/* Buttons */
.btn-primary, .btn-outline, .btn-navy { display: inline-block; padding: 13px 26px; border-radius: 7px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; border: 2px solid transparent; }
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-light); }
.btn-outline { background: transparent; color: var(--ink); border-color: #d7d7d7; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-primary:focus-visible, .btn-outline:focus-visible, .btn-navy:focus-visible,
.nav-hamburger:focus-visible, .nav-links a:focus-visible, .nav-mobile a:focus-visible,
.social-icon:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Navbar */
#navbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
#navbar.scrolled { box-shadow: 0 2px 14px rgba(7,29,69,.08); }
.nav-logo .logo-main { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: 3px; line-height: 1; }
.nav-logo .logo-sub { font-size: 8px; font-weight: 600; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: #444; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta { padding: 10px 20px; font-size: 13px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--navy); transition: .2s; }
.nav-mobile { display: none; }

/* Page banner (inner pages) */
.page-banner { background: var(--soft); border-bottom: 1px solid var(--line); padding: 56px 0; }
.page-banner .container { display: flex; flex-direction: column; gap: 6px; }
.page-banner--contact { position: relative; overflow: hidden; border-bottom: none; padding: 76px 0 84px; background: #10131a url("../images/contact-banner-bg.jpg") center 44%/cover; }
.page-banner--contact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,11,17,.86) 0%, rgba(8,11,17,.74) 50%, rgba(8,11,17,.46) 78%, rgba(8,11,17,.34) 100%); }
.page-banner--contact .container { position: relative; z-index: 1; }
.page-banner--contact .eyebrow { color: var(--gold-light); }
.page-banner--contact .section-title { color: #fff; }
.page-banner--contact .section-title span { color: var(--gold-light); }
.page-banner--contact .section-sub { color: #cdd7ea; }

/* Hero */
.hero { padding: 80px 0; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 50px); font-weight: 700; line-height: 1.08; letter-spacing: -1px; margin: 18px 0 18px; }
.hero h1 span { color: var(--navy); }
.hero-sub { color: var(--muted); font-size: 17px; max-width: 460px; margin-bottom: 28px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-panel { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.hero-panel-title { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-chip { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 7px 14px; font-size: 12px; font-weight: 500; color: #333; }
.hero-stats { display: flex; gap: 24px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-stat-num { display: block; color: var(--navy); font-size: 20px; font-weight: 700; }
.hero-stat-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* Hero programme dashboard mock */
.dash-wrap { width: 100%; }
.dash-mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.dash-bar { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); padding: 12px 16px; }
.dash-bar-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 1px; }
.dash-bar-brand em { font-style: normal; color: var(--gold-light); }
.dash-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--gold); color: var(--navy-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.dash-dots { display: flex; gap: 5px; }
.dash-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.dash-body { padding: 18px; }
.dash-welcome { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dash-hi { font-weight: 600; font-size: 15px; color: var(--ink); }
.dash-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dash-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(11,46,109,.1); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.dash-overview { display: flex; align-items: center; gap: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 18px; }
.dash-ring { position: relative; width: 64px; height: 64px; flex: none; }
.dash-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dash-ring-bg { fill: none; stroke: #e7e2d8; stroke-width: 3; }
.dash-ring-fg { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 72 100; }
.dash-ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: var(--navy); }
.dash-kpis { display: flex; gap: 8px; flex: 1; }
.dash-kpi { flex: 1; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 4px; }
.dash-kpi-num { display: block; font-weight: 700; font-size: 16px; color: var(--navy); }
.dash-kpi-label { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.dash-section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.dash-course { margin-bottom: 12px; }
.dash-course-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.dash-pct { color: var(--muted); font-size: 12px; }
.dash-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #1a7f37; }
.dash-badge svg { width: 12px; height: 12px; }
.dash-track { height: 7px; border-radius: 4px; background: #eee7da; overflow: hidden; }
.dash-track span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.dash-next { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 11px 12px; border-radius: 10px; background: rgba(11,46,109,.05); border: 1px dashed rgba(11,46,109,.22); }
.dash-next-icon { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--gold); color: var(--navy-dark); display: flex; align-items: center; justify-content: center; }
.dash-next-icon svg { width: 15px; height: 15px; }
.dash-next-title { font-size: 13px; font-weight: 600; }
.dash-next-time { font-size: 11px; color: var(--muted); }
.dash-caption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.dash-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: dashPulse 2.2s infinite; }
@keyframes dashPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 7px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) { .dash-live-dot { animation: none; } }

/* Two-column about */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-body { color: var(--muted); font-size: 16px; margin: 18px 0 24px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value { border-left: 2px solid var(--gold); padding: 4px 0 4px 16px; }
.value-name { font-weight: 600; font-size: 15px; }
.value-desc { font-size: 13px; color: var(--muted); }

/* About teaser with looping video background (Home) */
.about-video { position: relative; overflow: hidden; background: #171b22 url("../images/about-teaser-bg.jpg") center/cover; }
.about-video .bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.05); }
.about-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,11,17,.72) 0%, rgba(8,11,17,.5) 42%, rgba(8,11,17,.22) 70%, rgba(8,11,17,.14) 100%); }
.about-video .container { position: relative; z-index: 1; }
.about-video .section-title { color: #fff; }
.about-video .about-body { color: #cdd7ea; }
.about-video .eyebrow { color: var(--gold-light); }
.about-video .value-name { color: #fff; }
.about-video .value-desc { color: rgba(255,255,255,.82); }
.about-video .values-grid .value { background: rgba(8,11,17,.34); border-radius: 0 10px 10px 0; padding: 12px 16px; backdrop-filter: blur(2px); }
@media (prefers-reduced-motion: reduce) { .about-video .bg-video { display: none; } }

/* Full-width core-values band (About) — photo background panel */
.values-band { position: relative; margin-top: 60px; padding: 48px; border-radius: 22px; overflow: hidden; color: #fff; box-shadow: var(--shadow); background-image: linear-gradient(135deg, rgba(7,29,69,.92), rgba(11,46,109,.82)), url("../images/gallery/conference-audience.jpg"); background-size: cover; background-position: center; }
.values-band .section-title { color: #fff; }
.values-band .value { border-left-color: var(--gold); }
.values-band .value-name { color: #fff; }
.values-band .value-desc { color: rgba(255,255,255,.78); }
.values-wide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 28px; margin-top: 28px; }

/* Founder card */
.founder-card { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.founder-photo { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; margin-bottom: 18px; }
.founder-quote { font-size: 16px; font-style: italic; color: var(--ink); }
.founder-author { margin-top: 12px; font-weight: 600; color: var(--navy); font-size: 14px; }
.trust-badges { display: flex; gap: 14px; margin-top: 22px; }
.trust-badge { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 16px 8px; }
.trust-badge-icon { width: 26px; height: 26px; margin: 0 auto 8px; color: var(--navy); }
.trust-badge-label { font-size: 12px; font-weight: 500; }

/* Header row (section title + side link) */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Service cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.card-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
a.card-item, a.serve-card { display: block; }
.card-item:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(11,46,109,.07); color: var(--navy); display: flex; align-items: center; justify-content: center; padding: 12px; margin-bottom: 16px; }
.card-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.card-desc { font-size: 14px; color: var(--muted); }

/* Who We Serve */
.serve-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-sm); }
.serve-icon { width: 36px; height: 36px; color: var(--navy); margin-bottom: 14px; }
.serve-title { color: var(--navy); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.serve-desc { font-size: 14px; color: var(--muted); }

/* CTA strip */
.cta-strip { background: var(--navy); color: #fff; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; }
.cta-strip p { color: #c3cee0; margin-top: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-item-icon { flex: none; width: 44px; height: 44px; border-radius: 10px; background: rgba(11,46,109,.07); color: var(--navy); display: flex; align-items: center; justify-content: center; padding: 11px; }
.contact-item-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 600; }
.contact-item-value { font-size: 15px; }
.contact-form { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #dcdcdc; border-radius: 8px; font-family: inherit; font-size: 14px; background: #fff; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--navy); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 500; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #c0392b; }
.contact-form .btn-primary { width: 100%; }

/* Footer */
footer { background: var(--navy-dark); color: #b9c4da; padding: 56px 0 0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo-main { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 3px; }
.footer-logo-sub { font-size: 9px; font-weight: 600; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }
.footer-tagline { font-size: 13px; margin: 14px 0 18px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.social-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: .2s; }
.social-icon svg { width: 16px; height: 16px; fill: #fff; }
.social-icon:hover { background: var(--gold); }
.social-icon:hover svg { fill: var(--navy-dark); }
.footer-col-title { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; font-size: 13px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px; max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 8px; }

/* Gallery (uniform grid — equal tiles on every screen; full image shown in the lightbox) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.gallery-item { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--soft); cursor: pointer; margin: 0; transition: .2s; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; display: block; transition: transform .4s ease; }
.gallery-item:hover { border-color: var(--gold); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.video-item { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--navy-dark); }
.video-item video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; display: block; background: var(--navy-dark); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(7,29,69,.92); }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: min(1000px, 92vw); max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; transition: .2s; }
.lightbox-close:hover { background: var(--gold); color: var(--navy-dark); }
.lightbox-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Fade-up animation */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ============ Added: dropdown, division pages, warmer feel ============ */

/* Nav dropdown */
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-links .has-dropdown > a::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s; }
.nav-links .dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 248px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; list-style: none; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; }
.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.nav-links .has-dropdown:hover > a::after,
.nav-links .has-dropdown:focus-within > a::after { transform: rotate(-135deg); margin-top: 2px; }
.nav-links .dropdown li { margin: 0; }
.nav-links .dropdown a { display: block; padding: 10px 14px; border-radius: 9px; font-size: 13.5px; color: #444; transition: .15s; }
.nav-links .dropdown a:hover { background: var(--soft); color: var(--navy); }
.nav-mobile .nav-mobile-sub { padding-left: 16px; font-size: 14px; color: #555; }

/* Banner hero (division / inner pages) */
.banner-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; padding: 76px 0 84px; position: relative; overflow: hidden; }
.banner-hero .container { position: relative; z-index: 1; max-width: 820px; }
.banner-hero--video { background: #10131a url("../images/about-banner-bg.jpg") center/cover; }
.banner-hero--video .bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.04); }
.banner-hero--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,11,17,.86) 0%, rgba(8,11,17,.78) 52%, rgba(8,11,17,.5) 78%, rgba(8,11,17,.36) 100%); }
@media (prefers-reduced-motion: reduce) { .banner-hero--video .bg-video { display: none; } }
.banner-hero--sectors { background: #10131a url("../images/sectors-banner-bg.jpg") center 26%/cover; }
.banner-hero--sectors::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,11,17,.84) 0%, rgba(8,11,17,.7) 50%, rgba(8,11,17,.42) 78%, rgba(8,11,17,.3) 100%); }
.banner-hero--impact { background: #10131a url("../images/impact-banner-bg.jpg") center 40%/cover; }
.banner-hero--impact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,11,17,.86) 0%, rgba(8,11,17,.72) 50%, rgba(8,11,17,.44) 78%, rgba(8,11,17,.32) 100%); }
.banner-hero--solutions { background: #10131a url("../images/solutions-banner-bg.jpg") center 46%/cover; }
.banner-hero--solutions::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,11,17,.88) 0%, rgba(8,11,17,.8) 50%, rgba(8,11,17,.64) 78%, rgba(8,11,17,.58) 100%); }
.banner-hero--insights { background: #10131a url("../images/insights-banner-bg.jpg") center 48%/cover; }
.banner-hero--insights::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,11,17,.86) 0%, rgba(8,11,17,.74) 50%, rgba(8,11,17,.46) 78%, rgba(8,11,17,.34) 100%); }
.banner-hero .eyebrow { color: var(--gold-light); }
.banner-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: -.8px; line-height: 1.1; margin: 14px 0 0; }
.banner-hero h1 span { color: var(--gold-light); }
.banner-hero .banner-sub { color: #cdd7ea; font-size: 17px; margin-top: 18px; max-width: 620px; }
.banner-hero .trade-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 30px; padding: 8px 16px; font-size: 13px; font-weight: 500; }
.banner-hero .trade-pill strong { color: var(--gold-light); }

/* Section variants */
.section--warm { background: var(--warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; margin-top: 16px; }

/* Feature list (checkmark) */
.feature-list { list-style: none; display: grid; gap: 13px; margin-top: 8px; }
.feature-list li { position: relative; padding-left: 32px; font-size: 14.5px; color: #41403b; line-height: 1.5; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(201,163,78,.16); }
.feature-list li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(40deg); }
.feature-list li strong { color: var(--ink); font-weight: 600; }

/* Offering block (icon + title + feature list, in a card) */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 36px; }
.offer-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); }
.offer-card .card-icon { margin-bottom: 14px; }
.offer-card h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.offer-card > p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

/* Split: text + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Photo strip (row of rounded photos) */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.photo-strip figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-sm); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-strip figure:hover img { transform: scale(1.05); }

/* Notable projects */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 36px; }
.project-card { background: var(--navy); color: #fff; border-radius: 18px; padding: 28px; position: relative; overflow: hidden; }
.project-card .project-tag { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.project-card h3 { font-size: 19px; font-weight: 700; margin: 8px 0 10px; position: relative; z-index: 1; }
.project-card p { font-size: 14px; color: #c7d1e6; position: relative; z-index: 1; }

/* Mission strip */
.mission-strip { background: var(--warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mission-strip .container { padding: 64px 24px; text-align: center; }
.mission-strip .eyebrow { justify-content: center; }
.mission-strip p { font-size: clamp(20px, 2.8vw, 26px); font-weight: 500; color: var(--ink); max-width: 860px; margin: 16px auto 0; line-height: 1.45; }
.mission-strip p span { color: var(--navy); }

/* Services hub cards */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.hub-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.hub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hub-media { aspect-ratio: 16 / 10; overflow: hidden; }
.hub-media img { width: 100%; height: 100%; object-fit: cover; }
.hub-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.hub-body h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.hub-body p { font-size: 14px; color: var(--muted); flex: 1; }
.hub-link { margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.hub-card:hover .hub-link { color: var(--gold); }

/* Contact: departmental emails */
.contact-emails { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 26px; }
.email-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; box-shadow: var(--shadow-sm); }
.email-card .email-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.email-card a { display: inline-block; font-size: 13.5px; color: var(--navy); overflow-wrap: anywhere; word-break: normal; hyphens: none; }
.email-card a:hover { color: var(--gold); }

/* WhatsApp button */
.btn-whatsapp { display: inline-flex; align-items: center; gap: 9px; background: #25d366; color: #06351a; padding: 13px 24px; border-radius: 7px; font-size: 14px; font-weight: 600; transition: .2s; }
.btn-whatsapp:hover { background: #1ebe5b; }
.btn-whatsapp svg { width: 18px; height: 18px; fill: currentColor; }
.btn-whatsapp:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Responsive */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: none; flex-direction: column; gap: 4px; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  #navbar.menu-open .nav-mobile { display: flex; }
  .nav-mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-mobile a.active { color: var(--navy); font-weight: 700; }
  .nav-mobile a.btn-navy { text-align: center; border: none; margin-top: 8px; color: #fff; }
  .hero-inner, .about-inner, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .offer-grid, .projects-grid, .hub-grid, .contact-emails { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .values-wide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .values-grid, .values-wide, .footer-inner, .video-grid { grid-template-columns: 1fr; }
  .values-band { padding: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-badges { flex-direction: column; }
  .photo-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ============ Added: social-impact restructure ============ */

/* Methodology band (ADVISE → MANAGE → IMPLEMENT → MEASURE) */
.method-strip { background: var(--navy); color: #fff; }
.method-strip .container { padding-top: 64px; padding-bottom: 64px; }
.method-strip .eyebrow { color: var(--gold-light); }
.method-strip .section-title { color: #fff; }
.method-strip .section-sub { color: #c3cee0; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 32px; }
.method-step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 24px; }
.method-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--gold); color: var(--navy-dark); font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.method-name { font-size: 16px; font-weight: 700; letter-spacing: 1.5px; }
.method-q { font-size: 13px; color: var(--gold-light); font-style: italic; margin: 6px 0 10px; }
.method-desc { font-size: 13px; color: #c3cee0; line-height: 1.5; }

/* Impact metric tiles ("what we measure" — no numbers) */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.metric-tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.metric-tile .card-icon { width: 42px; height: 42px; padding: 10px; margin-bottom: 12px; }
.metric-name { font-size: 15px; font-weight: 600; color: var(--navy); }
.metric-desc { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Bursary lifecycle band */
.lifecycle { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 32px; }
.lifecycle-step { background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 1px; padding: 10px 18px; border-radius: 30px; }
.lifecycle-arrow { color: var(--gold); font-weight: 700; }

/* Structured case study */
.case-study { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); padding: 30px; margin-top: 36px; display: grid; gap: 18px; }
.cs-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.cs-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; padding-top: 3px; }
.cs-text { font-size: 14.5px; color: #41403b; line-height: 1.55; }

/* Sector blocks (anchored sections) */
.sector-block { scroll-margin-top: 90px; border-top: 1px solid var(--line); padding: 56px 0; }
.sector-block:first-of-type { border-top: none; }
.sector-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.solution-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.chip { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 7px 14px; font-size: 12.5px; font-weight: 500; color: var(--navy); transition: .2s; }
a.chip:hover { border-color: var(--gold); color: var(--gold); }

/* Insights */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.insight-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.insight-cat { align-self: flex-start; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; color: var(--gold); background: rgba(201,163,78,.12); border-radius: 20px; padding: 5px 12px; margin-bottom: 14px; }
.insight-card h3 { font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.insight-card p { font-size: 14px; color: var(--muted); margin-top: 10px; flex: 1; }
.insight-card .hub-link { margin-top: 16px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.filter-chips button { cursor: pointer; font-family: inherit; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 8px 16px; font-size: 13px; font-weight: 500; color: #444; transition: .2s; }
.filter-chips button:hover { border-color: var(--navy); color: var(--navy); }
.filter-chips button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-chips button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Article layout */
.article-head { max-width: 760px; }
.article-meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 16px; flex-wrap: wrap; }
.article-body { max-width: 760px; margin-top: 8px; }
.article-body h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 34px 0 12px; letter-spacing: -.3px; }
.article-body p { font-size: 15.5px; color: #41403b; margin-bottom: 16px; }
.article-body ul { margin: 0 0 16px 22px; font-size: 15.5px; color: #41403b; }
.article-body li { margin-bottom: 8px; }
.pullquote { border-left: 3px solid var(--gold); background: var(--soft); border-radius: 0 12px 12px 0; padding: 18px 22px; font-size: 17px; font-weight: 500; color: var(--navy); margin: 26px 0; }

/* Host companies (Trusted Collaboration) */
.section-head--center { display: block; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }
.partners-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.partner-tile { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; min-height: 92px; }
.partner-tile img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.partner-tile:hover img { filter: none; opacity: 1; }
.partner-tile--text { font-size: 15px; font-weight: 600; letter-spacing: .5px; color: var(--muted); }

/* Media-backed banners: the desktop scrims are left-weighted because the copy
   sits in the left column. Below desktop the copy spans the full width, so the
   scrim has to be even or text lands on the bright side of the image. */
@media (max-width: 980px) {
  .about-video::after,
  .banner-hero--video::after,
  .banner-hero--sectors::after,
  .banner-hero--impact::after,
  .banner-hero--insights::after,
  .banner-hero--solutions::after,
  .page-banner--contact::after { background: rgba(8,11,17,.74); }
}

/* Phones fall back to the poster still: the two loops cost ~2.8MB on cellular
   and each section already paints the same frame as its background. */
@media (max-width: 768px) {
  .about-video .bg-video,
  .banner-hero--video .bg-video { display: none; }
}

/* Responsive for new components */
@media (max-width: 860px) {
  .method-grid, .metrics-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .sector-inner { grid-template-columns: 1fr; gap: 24px; }
  .cs-row { grid-template-columns: 1fr; gap: 4px; }
  .partners-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .method-grid, .metrics-grid { grid-template-columns: 1fr; }
  .partners-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .partner-tile { min-height: 76px; padding: 14px 16px; }
  .partner-tile img { max-height: 44px; }
}
