@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
    --navy: #031c32;
    --navy2: #062947;
    --gold: #d7a64e;
    --cream: #f5f0e8;
    --ink: #0a2537;
    --muted: #69767e
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif
}

.site-header {
    height: 108px;
    padding: 0 clamp(22px, 5vw, 76px);
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--navy);
    color: var(--cream);
    border-bottom: 1px solid #ffffff26
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    color: inherit;
    text-decoration: none;
    margin-right: auto
}

.brand-mark {
    font: 42px/1 'DM Serif Display';
    letter-spacing: -8px;
    color: var(--gold);
    padding-right: 20px;
    border-right: 1px solid var(--gold)
}

.brand strong,
.brand small {
    display: block
}

.brand strong {
    font-size: 19px;
    letter-spacing: .2em;
    font-weight: 500
}

.brand small {
    font-size: 9px;
    letter-spacing: .28em;
    margin-top: 7px;
    color: #e1d8c9
}

nav {
    display: flex;
    align-items: center;
    gap: 32px
}

nav a {
    font-size: 14px;
    color: #e7e4dc;
    text-decoration: none
}

.header-cta {
    border: 1px solid var(--gold);
    padding: 14px 19px
}

.header-cta:hover,
.header-cta.active {
    background: var(--gold);
    color: var(--navy)
}

.menu-toggle {
    display: none
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 700px;
    background: var(--navy);
    color: var(--cream)
}

.hero-media {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--navy) 0%, #031c32e8 38%, #031c3240 73%), url('../images/africa-network-hero.png') right center/cover no-repeat
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding: 116px clamp(22px, 5vw, 76px);
    max-width: 800px
}

.eyebrow {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: .25em;
    font-weight: 600;
    margin: 13px 0 20px
}

.eyebrow.dark {
    color: #9c681e
}

h1,
h2,
h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -.04em
}

h1 {
    font-size: clamp(55px, 7vw, 100px);
    line-height: .94;
    margin: 0
}

h1 em,
h2 em {
    color: #e5d5b9
}

h2 {
    font-size: clamp(38px, 4.5vw, 63px);
    line-height: 1;
    margin: 0
}

.hero-copy>p:not(.eyebrow),
.page-hero>p:last-child,
.contact-page>section>p:last-child {
    max-width: 580px;
    font-size: 18px;
    line-height: 1.65;
    color: #d0d5d5;
    margin: 31px 0
}

.actions {
    display: flex;
    gap: 28px;
    align-items: center
}

.button {
    border: 0;
    cursor: pointer;
    background: var(--gold);
    color: var(--navy);
    padding: 17px 22px;
    text-decoration: none;
    font: 600 15px 'DM Sans';
    display: inline-flex;
    gap: 24px;
    align-items: center
}

.button:hover {
    filter: brightness(1.08)
}

.button span {
    font-size: 20px
}

.text-link {
    color: var(--cream);
    text-decoration: none;
    border-bottom: 1px solid #d6c69e;
    padding-bottom: 6px
}

.hero-points {
    position: absolute;
    z-index: 1;
    bottom: 36px;
    left: clamp(22px, 5vw, 76px);
    display: flex
}

.hero-points div {
    display: flex;
    gap: 15px;
    align-items: center;
    border: 1px solid #ffffff30;
    min-width: 210px;
    padding: 18px 25px
}

.hero-points b,
.service-grid b,
.capability-list>b,
.process b {
    color: var(--gold);
    font: 25px 'DM Serif Display'
}

.hero-points span {
    font-size: 13px;
    line-height: 1.4
}

.section {
    padding: 95px clamp(22px, 9vw, 160px)
}

.intro {
    display: grid;
    grid-template-columns: 24% 1fr;
    gap: 60px
}

.intro p:not(.eyebrow) {
    max-width: 700px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
    margin: 29px 0 0
}

.dark-section {
    background: var(--navy);
    color: var(--cream)
}

.dark-section h2 {
    margin-bottom: 58px
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ffffff30
}

.service-grid article {
    position: relative;
    min-height: 300px;
    padding: 29px;
    border-left: 1px solid #ffffff30
}

.service-grid article:last-child {
    border-right: 1px solid #ffffff30
}

.service-grid h3 {
    font-size: 31px;
    margin: 56px 0 12px
}

.service-grid p {
    color: #c2cdd1;
    line-height: 1.6;
    font-size: 14px
}

.service-grid a {
    position: absolute;
    bottom: 22px;
    right: 27px;
    color: var(--gold);
    text-decoration: none;
    font-size: 24px
}

.approach {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px
}

.approach ol {
    list-style: none;
    margin: 0;
    padding: 0
}

.approach li {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    border-top: 1px solid #c8c5bc;
    padding: 25px 0
}

.approach strong {
    font: 25px 'DM Serif Display'
}

.approach li p {
    margin: 0;
    line-height: 1.6;
    color: var(--muted)
}

.page-hero {
    padding: 115px clamp(22px, 9vw, 160px);
    background: linear-gradient(120deg, #062947, var(--navy));
    color: var(--cream)
}

.capability-list {
    padding-top: 80px;
    padding-bottom: 80px
}

.capability-list article {
    display: grid;
    grid-template-columns: 15% 1fr;
    gap: 30px;
    border-top: 1px solid #c8c5bc;
    padding: 35px 0
}

.capability-list article:last-child {
    border-bottom: 1px solid #c8c5bc
}

.capability-list h2 {
    font-size: 39px
}

.capability-list p {
    max-width: 600px;
    line-height: 1.7;
    color: var(--muted)
}

.cta-band {
    background: #d7a64e;
    color: var(--navy)
}

.cta-band .eyebrow {
    color: #433012
}

.cta-band h2 {
    margin-bottom: 35px
}

.cta-band h2 em {
    color: #264256
}

.process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px
}

.process article {
    padding: 28px 0;
    border-top: 1px solid #c8c5bc
}

.process h2 {
    font-size: 38px;
    margin: 55px 0 13px
}

.process p {
    color: var(--muted);
    line-height: 1.7
}

.contact-page {
    min-height: calc(100vh - 108px);
    padding: 105px clamp(22px, 9vw, 160px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    background: var(--navy);
    color: var(--cream)
}

.contact-form {
    padding: 35px;
    background: #f5f0e8;
    color: var(--ink);
    display: grid;
    gap: 17px
}

.contact-form label {
    font-size: 13px;
    font-weight: 600
}

.contact-form input:not([type=checkbox]),
.contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    border: 1px solid #bcb8b0;
    background: #fffdf9;
    padding: 12px;
    font: 15px 'DM Sans';
    color: var(--ink)
}

.contact-form textarea {
    resize: vertical
}

.contact-form .consent {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-weight: 400;
    line-height: 1.45
}

.honeypot {
    position: absolute !important;
    left: -9999px !important
}

footer {
    background: #021525;
    color: #c7d0d2;
    padding: 35px clamp(22px, 5vw, 76px);
    display: grid;
    grid-template-columns: 1fr 2fr auto auto;
    gap: 25px;
    align-items: center;
    font-size: 13px
}

footer div strong,
footer div span {
    display: block
}

footer div strong {
    letter-spacing: .2em;
    color: #f4efe5
}

footer div span {
    color: var(--gold);
    letter-spacing: .17em;
    font-size: 8px;
    margin-top: 5px
}

footer a {
    color: var(--gold);
    text-decoration: none
}

footer p {
    margin: 0
}

.thank-you {
    min-height: 100vh;
    background: var(--navy);
    color: var(--cream);
    display: grid;
    place-items: center
}

.thank-you main {
    max-width: 760px;
    padding: 50px
}

.thank-you main p:not(.eyebrow) {
    font-size: 19px;
    line-height: 1.6;
    color: #cad2d4;
    margin: 25px 0 35px
}

@media(max-width:800px) {
    .site-header {
        height: 86px
    }

    .brand-mark {
        font-size: 31px;
        padding-right: 13px
    }

    .brand strong {
        font-size: 15px
    }

    .brand small {
        font-size: 7px
    }

    .menu-toggle {
        display: block;
        background: transparent;
        border: 0;
        color: var(--cream);
        font: inherit
    }

    .site-header nav {
        display: none;
        position: absolute;
        top: 86px;
        left: 0;
        right: 0;
        z-index: 10;
        background: var(--navy);
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--gold)
    }

    .site-header nav.open {
        display: flex
    }

    .hero {
        min-height: 650px
    }

    .hero-copy {
        padding-top: 96px
    }

    .hero-media {
        background-position: 60% center;
        opacity: .7
    }

    .hero-points {
        display: none
    }

    .actions {
        align-items: flex-start;
        flex-direction: column
    }

    .intro,
    .approach,
    .contact-page {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .section {
        padding-top: 75px;
        padding-bottom: 75px
    }

    .service-grid,
    .process {
        grid-template-columns: 1fr
    }

    .service-grid article:last-child {
        border-bottom: 1px solid #ffffff30
    }

    .approach li,
    .capability-list article {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .contact-page {
        padding-top: 70px;
        padding-bottom: 70px
    }

    .page-hero {
        padding-top: 80px;
        padding-bottom: 80px
    }

    footer {
        grid-template-columns: 1fr;
        gap: 13px
    }
}