/* ==========================================================================
   ONE PURPOSE — DESIGN SYSTEM v2 ("Industrial Editorial")
   Oversized typography · full-bleed imagery · one acid-green accent ·
   hard diagonal cuts · mono index labels · animated route-line motif.
   Loaded AFTER style.css so it can override the baseline.
   ========================================================================== */

:root {
    --ink: #060E17;
    --navy: #0A1929;
    --navy-2: #0C1D2E;
    --navy-3: #12293F;
    --green: #00A86B;
    --green-bright: #00D68F;
    --green-soft: rgba(0, 168, 107, 0.12);
    --paper: #F6F8FA;
    --white: #FFFFFF;
    --line: #E5EAEF;
    --muted: #5A6B7B;
    --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.display {
    font-size: clamp(44px, 7.5vw, 96px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -2.5px;
    color: #fff;
    text-wrap: balance;
}
.display-sm { font-size: clamp(34px, 4.5vw, 58px); line-height: 1.02; }

.accent { color: var(--green); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green-bright);
    margin-bottom: 22px;
}
.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--green);
}
.eyebrow.on-dark { color: var(--green); }
.eyebrow.on-light { color: var(--green); }

.lead {
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.6;
    color: #CFDAE4;
    max-width: 620px;
}

/* ==========================================================================
   FULL-BLEED HERO (image + Ken Burns + route line)
   ========================================================================== */
.hero-fs {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}
.hero-bg {
    position: absolute;
    inset: -4%;
    background-size: cover;
    background-position: center 35%;
    animation: kenburns 26s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes kenburns {
    0%   { transform: scale(1.0) translate(0, 0); }
    100% { transform: scale(1.09) translate(-1.5%, -2%); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6,14,23,0.92) 0%, rgba(6,14,23,0.65) 45%, rgba(6,14,23,0.25) 100%),
        linear-gradient(0deg, rgba(6,14,23,0.85) 0%, rgba(6,14,23,0) 35%);
}
.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 140px 40px 120px;
}
.hero-inner .eyebrow { margin-bottom: 26px; }
.hero-inner .lead { margin-top: 26px; }

/* ==========================================================================
   DIAGONAL "RIBBON" — the signature shape between hero and content
   ========================================================================== */
.ribbon {
    position: relative;
    z-index: 4;
    height: 46px;
    margin-top: -46px;
    transform: skewY(-1.6deg);
    transform-origin: left;
    background: linear-gradient(100deg, #00A86B 0%, #00D68F 55%, #34E3F0 130%);
    border-top: 3px solid #051018;
    border-bottom: 3px solid #051018;
}
.ribbon + * { padding-top: 40px; }

/* ==========================================================================
   SECTIONS & CUTS
   ========================================================================== */
.section-dark {
    background:
        radial-gradient(700px 400px at 85% 0%, rgba(0,168,107,0.14), transparent 60%),
        var(--navy);
    color: #fff;
}

/* Hard diagonal edge on a dark block (bottom-right corner lifted) */
.cut-b {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), 0 100%);
    padding-bottom: 120px !important;
}
.cut-t {
    position: relative;
    clip-path: polygon(0 70px, 100% 0, 100% 100%, 0 100%);
    padding-top: 130px !important;
}

/* Centered content wrapper */
.wrap { max-width: 1180px; margin: 0 auto; }

/* Mono index label (01 / 02 …) */
.index {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 1px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 34px;
    border-radius: 2px;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn--solid {
    background: var(--green);
    color: #04100a;
    box-shadow: 0 18px 40px -18px rgba(0,168,107,0.8);
}
.btn--solid:hover { background: var(--green-bright); transform: translateY(-3px); }
.btn--ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.04);
}
.btn--ghost:hover { border-color: var(--green-bright); color: var(--green-bright); transform: translateY(-3px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-3); transform: translateY(-3px); }

/* ==========================================================================
   IMAGE FRAME
   ========================================================================== */
.frame {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 30px 70px -30px rgba(6,14,23,0.55);
}
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.14);
    pointer-events: none;
}

/* ==========================================================================
   TWO-COLUMN SPLIT (reuse/replace base .two-column)
   ========================================================================== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

/* ==========================================================================
   TEAM (editorial, 2-col, FULL bios)
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    margin-top: 56px;
}
.team-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 50px -30px rgba(6,14,23,0.35);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -36px rgba(6,14,23,0.5);
}
.team-photo {
    position: relative;
    background: linear-gradient(160deg, var(--navy), var(--navy-3));
    min-height: 300px;
}
.team-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(6,14,23,0.55));
}
.team-index {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: #03130b;
    background: var(--green-bright);
    padding: 4px 10px;
    border-radius: 2px;
    letter-spacing: 1px;
}
.team-body { padding: 28px 26px; display: flex; flex-direction: column; }
.team-name { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.4px; }
.team-role {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--green);
    margin: 8px 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.team-bio { color: #44525f; font-size: 14.5px; line-height: 1.68; }
.team-bio p + p { margin-top: 12px; }

/* ==========================================================================
   STATS BAND (counters)
   ========================================================================== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    overflow: hidden;
}
.stat {
    background: var(--navy);
    padding: 38px 24px;
    text-align: left;
}
.stat .count-up {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--green);
    font-variant-numeric: tabular-nums;
}
.stat .stat-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #8CA0B3;
    margin-top: 10px;
}

/* ==========================================================================
   COVERAGE MAP (Africa route network)
   ========================================================================== */
.coverage-map {
    position: relative;
    background:
        radial-gradient(600px 400px at 30% 20%, rgba(0,168,107,0.08), transparent 60%),
        #08111c;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}
.map-svg { display: block; width: 100%; height: auto; }
.land { fill: #10263a; stroke: rgba(255,255,255,0.1); stroke-width: 1.2; }
.route-seg {
    stroke: rgba(0,168,107,0.55);
    stroke-width: 1.4;
    stroke-dasharray: 3 8;
    animation: dashMove 30s linear infinite;
}
@keyframes dashMove { to { stroke-dashoffset: -220; } }
.pin { fill: #00A86B; }
.pin-halo {
    fill: rgba(0,168,107,0.25);
    transform-box: fill-box;
    transform-origin: center;
    animation: pinPulse 2.6s ease-in-out infinite;
}
.hub { fill: #00D68F; }
.hub-halo {
    fill: rgba(0,168,107,0.3);
    transform-box: fill-box;
    transform-origin: center;
    animation: pinPulse 2.2s ease-in-out infinite;
}
@keyframes pinPulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50%      { opacity: 0.95; transform: scale(1.7); }
}
.map-hub-label {
    position: absolute;
    left: 20px;
    bottom: 16px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 1px;
    color: #00D68F;
    background: rgba(8,17,28,0.82);
    border: 1px solid rgba(0,168,107,0.4);
    padding: 6px 12px;
    border-radius: 2px;
}
.coverage-legend h3 { text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #E5EAEF;
    color: #44525f;
    padding: 8px 14px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #00A86B; flex-shrink: 0; }
@media (max-width: 900px) {
    .coverage { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   PROCESS GRID (4 phases)
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.process-step {
    background: #fff;
    border: 1px solid #E5EAEF;
    border-radius: 8px;
    padding: 28px 24px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.process-step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(6,14,23,0.4); }
.process-step span {
    font-family: var(--mono); font-size: 12px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; color: #00A86B;
}
.process-step h3 { font-size: 20px; color: #060E17; margin: 10px 0 8px; }
.process-step p { color: #5A6B7B; font-size: 14px; line-height: 1.65; }
.process-step::after {
    content: "→"; position: absolute; top: 50%; right: -20px;
    transform: translateY(-50%); color: #00A86B; font-size: 20px; font-weight: 800; z-index: 2;
}
.process-step:last-child::after { content: none; }
@media (max-width: 900px) {
    .process-grid { grid-template-columns: 1fr 1fr; }
    .process-step::after { content: none; }
}
@media (max-width: 560px) {
    .process-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FORM STYLES (quote / enquiry) — fixes the "excel table" look
   ========================================================================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: #F8FAFC;
    color: #0A1929;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #00A86B;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,168,107,0.15);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input[type="file"] {
    padding: 12px;
    background: #F1F5F9;
    border: 1px dashed #CBD5E1;
}
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HEXAGON SCROLL JOURNEY (horizontal, scroll-driven)
   ========================================================================== */
.hex-scroll { position: relative; height: 440vh; background: #fff; }
.hex-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hex-track { position: relative; z-index: 0; display: flex; align-items: center; height: 100%; will-change: transform; }
.hex-spacer { flex: 0 0 50vw; }
.hex-card { position: relative; z-index: 1; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; width: 240px; }
.hex-card:nth-child(odd)  { transform: translateY(-66px); }
.hex-card:nth-child(even) { transform: translateY(66px); }
.hex-node {
    position: relative; width: 210px; height: 192px;
    filter: drop-shadow(0 18px 34px rgba(6,14,23,0.22));
    transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.hex-node .hex6 {
    width: 100%; height: 100%;
    clip-path: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 25%, 6.7% 75%);
    overflow: hidden; position: relative;
    background: linear-gradient(160deg, #0A1929, #123353);
}
.hex-node .hex6 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hex-node .hex6::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(6,14,23,0.68)); }
.hex-num {
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    z-index: 2; font-family: var(--mono);
    font-size: 12px; font-weight: 700; letter-spacing: 2px;
    color: #03130b; background: #00D68F; padding: 4px 12px; border-radius: 2px;
}
.hex-ring {
    position: absolute; inset: -14px; border-radius: 50%;
    border: 2px solid transparent; opacity: 0; transition: opacity .35s ease;
}
.hex-card.is-active .hex-ring { border-color: #00A86B; opacity: 1; animation: hexRing 2.1s ease-out infinite; }
.hex-card.is-active .hex-node { transform: scale(1.14); }
@keyframes hexRing {
    0%   { box-shadow: 0 0 0 0 rgba(0,168,107,0.45); }
    70%  { box-shadow: 0 0 0 20px rgba(0,168,107,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,168,107,0); }
}
.hex-caption {
    max-width: 240px; text-align: center; margin-top: 24px;
    opacity: 0; transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
}
.hex-card.is-active .hex-caption { opacity: 1; transform: none; }
.hex-caption h3 { font-size: 20px; color: #060E17; margin-bottom: 8px; letter-spacing: -0.3px; }
.hex-caption p { color: #5A6B7B; font-size: 14px; line-height: 1.6; }
.hex-svg { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.hex-svg .hex-bg { stroke: rgba(0,168,107,0.12); stroke-width: 2; fill: none; }
.hex-svg .hex-draw { fill: none; stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(0,168,107,0.55)); }

@media (max-width: 760px) {
    .hex-card { width: 180px; }
    .hex-node { width: 158px; height: 145px; }
    .hex-card:nth-child(odd)  { transform: translateY(-46px); }
    .hex-card:nth-child(even) { transform: translateY(46px); }
    .hex-caption { max-width: 180px; }
    .hex-caption h3 { font-size: 17px; }
    .hex-caption p { font-size: 13px; }
}

/* ==========================================================================
   LEAFLET AFRICA MAP (real geography)
   ========================================================================== */
.africa-map {
    height: clamp(400px, 54vh, 520px);
    border-radius: 8px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #08111c;
    position: relative; z-index: 1;
}
.leaflet-pin { position: relative; width: 16px; height: 16px; }
.leaflet-pin::before {
    content: ""; position: absolute; inset: -9px; border-radius: 50%;
    background: rgba(0,168,107,0.28); animation: leafPulse 2.4s ease-out infinite;
}
.leaflet-pin::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: #00A86B; border: 2px solid #06101a;
}
.leaflet-pin.hub::after { background: #00D68F; }
@keyframes leafPulse {
    0%   { transform: scale(0.4); opacity: 0.9; }
    80%  { transform: scale(1.9); opacity: 0; }
    100% { transform: scale(1.9); opacity: 0; }
}
.africa-map .leaflet-control-attribution { background: rgba(8,17,28,0.75); color: #7d93a6; font-size: 10px; }
.africa-map .leaflet-control-attribution a { color: #00A86B; }
.map-tip {
    background: #0A1929; color: #fff; border: 1px solid rgba(0,168,107,0.4);
    border-radius: 3px; font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
    box-shadow: none;
}
.leaflet-tooltip-top.map-tip::before { border-top-color: rgba(0,168,107,0.4); }

/* ==========================================================================
   CHAPTER (editorial authority layout)
   ========================================================================== */
.chapter-index {
    font-family: var(--mono);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,168,107,0.55);
    margin-bottom: 14px;
}
.chapter-lede {
    font-size: 20px;
    font-weight: 600;
    color: #0A1929;
    line-height: 1.4;
    letter-spacing: -0.2px;
    margin-bottom: 18px;
}
.prose { color: #44525f; line-height: 1.8; font-size: 16.5px; }
.prose p + p { margin-top: 16px; }
.prose strong { color: #0A1929; }

/* Ensure text inside dark sections is always light (prevents navy-on-navy) */
.section-dark .prose,
.section-dark .prose p { color: #AFC0CE; }
.section-dark .prose strong { color: #fff; }
.section-dark .chapter-lede { color: #fff; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
                transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-zoom  { transform: scale(0.94); }
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .team-grid { grid-template-columns: 1fr; gap: 24px; }
    .team-card { grid-template-columns: 1fr; }
    .team-photo { min-height: 340px; }
    .split { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .hero-inner { padding: 110px 24px 120px; }
    .cut-b, .cut-t { clip-path: none; padding: inherit; }
}
@media (max-width: 560px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .team-card { grid-template-columns: 1fr; }
    .ribbon { height: 28px; margin-top: -28px; }
}

/* ==========================================================================
   MOBILE NAV — bulletproof hamburger (covers tablets & landscape phones too)
   ========================================================================== */
@media (max-width: 991px) {
    .navbar { flex-wrap: wrap; }
    .menu-toggle {
        display: block !important;
        font-size: 30px;
        line-height: 1;
        color: #0A1929;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px 4px 8px 16px;
    }
    .nav-links {
        display: none !important;
        flex-basis: 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-top: 1px solid #E8ECEF;
        margin-top: 8px;
    }
    .nav-links.show {
        display: flex !important;
    }
    .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid #F1F5F9;
        font-size: 16px;
    }
    .nav-links a.login-btn {
        margin: 12px 0 4px;
        text-align: center;
    }
}
