/* =========================================================
   XCY EVENTS — ABOUT
   MASTER DESIGN SYSTEM
========================================================= */

:root {
    --paper: #f3f1ec;
    --paper-dark: #e9e6df;
    --ink: #171717;
    --soft-ink: #55534f;
    --muted: #85827b;
    --line: rgba(23,23,23,.15);
    --accent: #6f2e32;
    --white: #ffffff;

    --sans: "Inter", Arial, Helvetica, sans-serif;

    --ease: cubic-bezier(.22,1,.36,1);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    overflow-x: hidden;
}


body.menu-open {
    overflow: hidden;
}


img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


/* =========================================================
   HEADER — INDEX MASTER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;

    padding: 0 4vw;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;

    background: rgba(93,93,93,.708);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgb(171,171,171);

    z-index: 1000;
}


.brand {
    display: flex;
    align-items: center;
    width: max-content;
}


.brand img {
    width: auto;
    height: 100px;
    max-width: 140px;
    object-fit: contain;
}


.header-center {
    text-align: center;

    color: var(--white);

    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .18em;
}


.menu-button {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--white);

    background: none;
    border: 0;

    cursor: pointer;

    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .14em;
}


.menu-icon {
    width: 27px;

    display: flex;
    flex-direction: column;
    gap: 6px;
}


.menu-icon i {
    width: 100%;
    height: 1px;
    background: var(--white);
}


/* =========================================================
   MENU
========================================================= */

.menu-panel {
    position: fixed;
    inset: 0;

    background: var(--ink);
    color: var(--paper);

    z-index: 2000;

    transform: translateY(-100%);

    transition:
        transform .7s var(--ease);
}


.menu-panel.open {
    transform: translateY(0);
}


.menu-panel-inner {
    height: 100%;

    padding: 38px 5vw;

    display: flex;
    flex-direction: column;
}


.menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .16em;
}


.menu-top button {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--paper);

    background: none;
    border: 0;

    cursor: pointer;

    font-size: .62rem;
    letter-spacing: .14em;
}


.menu-top strong {
    font-size: 1rem;
    font-weight: 400;
}


.menu-panel nav {
    margin: auto 0;

    display: flex;
    flex-direction: column;
    gap: 22px;
}


.menu-nav-label {
    margin-bottom: 8px;

    color: var(--muted);

    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .08em;
}


.menu-panel nav a {
    width: max-content;

    display: flex;
    align-items: baseline;
    gap: 20px;

    font-family: var(--sans);
    font-size: clamp(2rem,4vw,4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.02em;

    transition:
        color .4s var(--ease),
        transform .5s var(--ease);
}


.menu-panel nav a:hover {
    color: #aaa59d;
    transform: translateX(10px);
}


.menu-panel nav small {
    min-width: 22px;

    color: var(--muted);

    font-family: var(--sans);
    font-size: .58rem;
    font-weight: 500;
}


.menu-bottom {
    display: flex;
    justify-content: space-between;

    color: var(--muted);

    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .16em;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.scroll-reveal {
    opacity: 0;

    transform: translateY(45px);

    transition:
        opacity .9s var(--ease),
        transform 1s var(--ease);

    transition-delay: var(--reveal-delay, 0ms);
}


.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


.image-scroll-reveal {
    opacity: 0;

    clip-path: inset(8% 0 8% 0);

    transform: scale(1.04);

    transition:
        opacity 1.1s var(--ease),
        clip-path 1.2s var(--ease),
        transform 1.4s var(--ease);
}


.image-scroll-reveal.image-visible {
    opacity: 1;

    clip-path: inset(0 0 0 0);

    transform: scale(1);
}


.hero-reveal {
    opacity: 0;

    transform: translateY(28px);

    animation:
        heroReveal 1s var(--ease) forwards;

    animation-delay: var(--hero-delay);
}


@keyframes heroReveal {

    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   HERO
========================================================= */

.about-hero {
    position: relative;

    min-height: 100vh;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #3a3a3a 0%,
            #5f5e5e 42%,
            #6b6a6a 78%
        );

    color: var(--white);

    border-bottom: 1px solid rgba(255,255,255,.14);
}


.about-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.18),
            transparent 50%,
            rgba(0,0,0,.22)
        );

    pointer-events: none;
}


.about-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background: black ;
        

    pointer-events: none;
}


.hero-index,
.hero-location {
    position: absolute;

    top: 120px;

    z-index: 2;

    color: rgba(255,255,255,.58);

    font-size: .52rem;
    font-weight: 500;
    letter-spacing: .17em;
}


.hero-index {
    left: 7vw;
}


.hero-location {
    right: 7vw;
}


.hero-logo-wrap {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


.hero-kicker {
    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .3em;
}


.hero-logo {
    width: min(58vw, 700px);

    margin: 42px 0 34px;

    display: flex;
    justify-content: center;
}


.hero-logo img {
    width: 100%;
    height: auto;

    object-fit: contain;

    filter:
        brightness(0)
        invert(1)
        drop-shadow(0 20px 55px rgba(0,0,0,.35));
}


.hero-caption {
    position: absolute;

    left: 7vw;
    bottom: 50px;

    z-index: 3;
}


.hero-caption p {
    color: rgba(255,255,255,.72);

    font-size: .55rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .08em;
}


/* =========================================================
   STATEMENT
========================================================= */

.statement {
    min-height: 750px;

    padding: 150px 7vw;

    display: grid;
    grid-template-columns: 1fr 3fr;

    border-bottom: 1px solid var(--line);
}


.statement-label,
.section-label {
    color: var(--muted);

    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .17em;
}


.statement-content {
    max-width: 850px;
}


.statement-lead {
    margin-bottom: 90px;

    font-size: clamp(3.5rem,6vw,6.5rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.055em;
}


.statement-content > p:not(.statement-lead) {
    max-width: 480px;

    margin-bottom: 35px;
    margin-left: 22%;

    color: var(--soft-ink);

    font-size: .72rem;
    line-height: 2;
}


/* =========================================================
   FOUNDER
========================================================= */

.founder {
    padding: 120px 7vw;

    display: grid;
    grid-template-columns: 1.1fr 1fr;

    gap: 9vw;

    border-bottom: 1px solid var(--line);
}


.founder-image {
    position: relative;
    overflow: hidden;
}


.founder-image img {
    height: 780px;

    transition:
        transform 1.2s var(--ease),
        filter 1.2s var(--ease);
}


.founder-image:hover img {
    transform: scale(1.035);
    filter: grayscale(0%);
}


.image-caption {
    position: absolute;

    left: 20px;
    bottom: 20px;

    z-index: 2;

    color: var(--white);

    font-size: .52rem;
    font-weight: 500;
    letter-spacing: .14em;
}


.image-caption span {
    margin-left: 20px;

    color: rgba(255,255,255,.6);
}


.founder-copy {
    align-self: center;
}


.founder-copy h2 {
    margin: 80px 0 60px;

    font-size: clamp(3.5rem,6vw,6.5rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}


.founder-copy h2 em {
    color: var(--accent);
    font-style: normal;
}


.founder-copy p {
    max-width: 430px;

    margin-bottom: 28px;

    color: var(--soft-ink);

    font-size: .72rem;
    line-height: 2;
}


.founder-copy .founder-intro {
    color: var(--ink);

    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
}


.founder-signature {
    margin-top: 80px;

    width: max-content;

    font-size: .32rem;
    font-weight: 400;
    letter-spacing: -.04em;

    transform: rotate(-5deg);
}


.founder-signature span {
    display: block;

    font-size: .22rem;
    font-weight: 500;
    letter-spacing: .2em;

    transform: rotate(5deg);
}


/* =========================================================
   TEAM
========================================================= */

.team {
    padding: 150px 7vw;

    background: var(--paper);

    border-bottom: 1px solid var(--line);
}


.team-heading {
    display: grid;

    grid-template-columns: 1fr 1.5fr;

    column-gap: 10vw;

    margin-bottom: 120px;
}


.team-heading-top {
    display: flex;
    justify-content: space-between;

    align-self: start;

    color: var(--muted);

    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .17em;
}


.team-heading h2 {
    grid-column: 2;

    margin-top: 60px;

    font-size: clamp(3.5rem,6vw,6.5rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}


.team-heading h2 em {
    color: var(--accent);
    font-style: normal;
}


.team-heading p {
    grid-column: 2;

    max-width: 430px;

    margin-top: 60px;

    color: var(--soft-ink);

    font-size: .72rem;
    line-height: 2;
}


.team-grid {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    column-gap: 3vw;
    row-gap: 100px;
}


.team-member {
    position: relative;
}


.team-photo {
    position: relative;

    overflow: hidden;

    background: var(--paper-dark);
}


.team-photo::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 60%,
            rgba(0,0,0,.25)
        );

    pointer-events: none;
}


.team-photo img {
    aspect-ratio: 4 / 5;

    object-fit: cover;

    transition:
        transform 1.2s var(--ease),
        filter 1.2s var(--ease);
}


.team-member:hover .team-photo img {
    transform: scale(1.035);
    filter: grayscale(0%);
}


.team-number {
    position: absolute;

    z-index: 2;

    top: 20px;
    left: 20px;

    color: var(--white);

    font-size: .52rem;
    font-weight: 500;
    letter-spacing: .12em;
}


.team-info {
    padding-top: 22px;

    display: flex;
    justify-content: space-between;

    gap: 30px;

    border-top: 1px solid var(--line);
}


.team-info h3 {
    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .22em;
}


.team-info span {
    color: var(--muted);

    font-size: .48rem;
    font-weight: 500;
    letter-spacing: .22em;

    text-align: right;
}


/* =========================================================
   RECRUITMENT
========================================================= */

.team-recruit {
    min-height: 650px;

    padding: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--ink);
    color: var(--paper);
}


.recruit-inner {
    width: 100%;
}


.recruit-number,
.recruit-label {
    display: block;

    color: #77716a;

    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .16em;
}


.recruit-label {
    margin-top: 80px;
    color: #85827b;
}


.recruit-inner h3 {
    margin-top: 25px;

    font-size: clamp(3rem,5vw,5.5rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}


.recruit-inner h3 em {
    color: #9d5a5c;
    font-style: normal;
}


.recruit-inner p {
    max-width: 340px;

    margin-top: 50px;

    color: #aaa49b;

    font-size: .7rem;
    line-height: 2;
}


.recruit-inner a {
    width: max-content;

    margin-top: 45px;
    padding-bottom: 10px;

    display: flex;
    align-items: center;
    gap: 40px;

    border-bottom: 1px solid rgba(255,255,255,.4);

    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .15em;

    transition: gap .5s var(--ease);
}


.recruit-inner a:hover {
    gap: 60px;
}


.recruit-inner a span {
    font-size: 1rem;
}


/* =========================================================
   PHILOSOPHY
========================================================= */

.philosophy {
    padding: 140px 7vw;

    background: var(--ink);
    color: var(--paper);
}


.philosophy-top {
    display: flex;
    justify-content: space-between;

    color: #85827b;

    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .17em;
}


.philosophy-title {
    padding: 140px 0;
}


.philosophy-title h2 {
    font-size: clamp(3.5rem,7vw,7rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}


.philosophy-title em {
    color: #9d5a5c;
    font-style: normal;
}


.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);

    border-top: 1px solid rgba(255,255,255,.17);
}


.philosophy-item {
    min-height: 300px;

    padding: 30px;

    border-right: 1px solid rgba(255,255,255,.17);
}


.philosophy-item:last-child {
    border-right: 0;
}


.philosophy-item > span {
    color: #77716a;

    font-size: .52rem;
    font-weight: 500;
}


.philosophy-item h3 {
    margin-top: 100px;

    font-size: .55rem;
    font-weight: 600;
    letter-spacing: .17em;
}


.philosophy-item p {
    margin-top: 20px;

    color: #aaa49b;

    font-size: .7rem;
    line-height: 2;
}


/* =========================================================
   EXPERTISE
========================================================= */

.expertise {
    padding: 150px 7vw;

    display: grid;
    grid-template-columns: 1fr 1.3fr;

    gap: 10vw;

    border-bottom: 1px solid var(--line);
}


.expertise-header h2 {
    margin-top: 80px;

    font-size: clamp(3.5rem,6vw,6.5rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}


.expertise-header h2 em {
    color: var(--accent);
    font-style: normal;
}


.expertise-content {
    padding-top: 10px;
}


.expertise-lead {
    margin-bottom: 60px;

    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.5;
}


.expertise-content > p:not(.expertise-lead) {
    max-width: 500px;

    margin-bottom: 28px;

    color: var(--soft-ink);

    font-size: .72rem;
    line-height: 2;
}


.expertise-list {
    margin-top: 100px;

    border-top: 1px solid var(--line);
}


.expertise-list div {
    padding: 22px 0;

    display: grid;
    grid-template-columns: 50px 1fr;

    border-bottom: 1px solid var(--line);
}


.expertise-list span {
    color: var(--muted);

    font-size: .52rem;
}


.expertise-list p {
    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .14em;
}


/* =========================================================
   WHERE WE WORK — FULL PAGE IMAGE
========================================================= */

.east-africa {
    position: relative;

    min-height: 100vh;
    height: 100vh;

    overflow: hidden;

    border-bottom: 1px solid rgba(255,255,255,.12);

    color: var(--white);
}


.africa-image {
    position: absolute;
    inset: 0;

    min-height: 0;
}


.africa-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(100%);

    transform: scale(1.02);

    transition:
        transform 2s var(--ease),
        filter 1.2s var(--ease);
}


.east-africa:hover .africa-image img {
    transform: scale(1.05);
    filter: grayscale(70%);
}


.africa-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.48) 42%,
            rgba(0,0,0,.22) 100%
        );
}


.africa-overlay::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.35),
            transparent 30%,
            rgba(0,0,0,.48)
        );
}


.africa-copy {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    padding: 120px 7vw;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


.africa-copy .section-label {
    color: rgba(255,255,255,.65);
}


.africa-copy h2 {
    margin: 65px 0 55px;

    font-size: clamp(3.5rem,7vw,7rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}


.africa-copy h2 em {
    color: #c47a7d;
    font-style: normal;
}


.africa-copy > p {
    max-width: 480px;

    margin-bottom: 24px;

    color: rgba(255,255,255,.78);

    font-size: .72rem;
    line-height: 2;
}


.africa-countries {
    margin-top: 35px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.africa-countries span {
    padding: 10px 14px;

    border: 1px solid rgba(255,255,255,.35);

    color: var(--white);

    font-size: .5rem;
    font-weight: 500;
    letter-spacing: .13em;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    background: rgba(255,255,255,.04);
}


/* =========================================================
   CREDENTIALS
========================================================= */

.credentials {
    padding: 150px 7vw;

    display: grid;
    grid-template-columns: 1fr 1.5fr;

    gap: 10vw;

    border-bottom: 1px solid var(--line);
}


.credential-heading h2 {
    margin-top: 80px;

    font-size: clamp(3.5rem,6vw,6.5rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}


.credential-heading h2 em {
    color: var(--accent);
    font-style: normal;
}


.credential-list {
    border-top: 1px solid var(--line);
}


.credential-row {
    padding: 25px 0;

    display: grid;
    grid-template-columns: 1fr 2fr;

    border-bottom: 1px solid var(--line);
}


.credential-row span {
    color: var(--muted);

    font-size: .52rem;
    font-weight: 500;
    letter-spacing: .15em;
}


.credential-row strong {
    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .08em;
}


/* =========================================================
   CLOSING
========================================================= */

.about-closing {
    min-height: 800px;

    padding: 140px 7vw;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: var(--paper-dark);
}


.closing-small {
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .17em;
}


.about-closing h2 {
    margin: 70px 0 60px;

    font-size: clamp(3.5rem,7vw,7rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}


.about-closing h2 em {
    color: var(--accent);
    font-style: normal;
}


.closing-link {
    width: max-content;

    padding-bottom: 10px;

    display: flex;
    align-items: center;
    gap: 60px;

    border-bottom: 1px solid var(--ink);

    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .15em;

    transition: gap .5s var(--ease);
}


.closing-link:hover {
    gap: 80px;
}


.closing-link span {
    font-size: 1rem;
}


/* =========================================================
   FOOTER — INDEX MASTER
========================================================= */

.footer {
    padding: 90px 7vw 30px;

    background: var(--ink);
    color: var(--paper);
}


.footer-brand {
    padding-bottom: 65px;

    border-bottom: 1px solid rgba(255,255,255,.17);
}


.footer-brand img {
    width: auto;
    height: 65px;
    max-width: 180px;

    object-fit: contain;
}


.footer-brand p {
    margin-top: 25px;

    color: #85827b;

    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .18em;
}


.footer-columns {
    padding: 65px 0;

    display: grid;
    grid-template-columns: repeat(3,1fr);

    gap: 50px;

    border-bottom: 1px solid rgba(255,255,255,.17);
}


.footer-columns div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.footer-columns span {
    margin-bottom: 23px;

    color: #85827b;

    font-size: .5rem;
    font-weight: 600;
    letter-spacing: .18em;
}


.footer-columns a,
.footer-columns p {
    color: #d8d4cc;

    font-size: .6rem;
    line-height: 2;
}


.footer-columns a {
    transition: color .3s ease;
}


.footer-columns a:hover {
    color: white;
}


.footer-bottom {
    padding-top: 25px;

    display: flex;
    justify-content: space-between;

    color: #706d67;

    font-size: .5rem;
    font-weight: 500;
    letter-spacing: .14em;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
}


.reduce-motion .scroll-reveal,
.reduce-motion .image-scroll-reveal,
.reduce-motion .hero-reveal {
    opacity: 1;

    transform: none;

    clip-path: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .header {
        height: 76px;

        grid-template-columns: 1fr 1fr;
    }


    .brand img {
        height: 36px;
        max-width: 110px;
    }


    .header-center {
        display: none;
    }


    .menu-button {
        font-size: .58rem;
    }


    .menu-icon {
        width: 25px;
    }


    .menu-panel-inner {
        padding: 28px 7vw;
    }


    .menu-panel nav {
        gap: 17px;
    }


    .menu-panel nav a {
        font-size: clamp(2.3rem,10vw,4rem);
    }


    .menu-bottom {
        font-size: .48rem;
    }


    /* HERO */

    .about-hero {
        min-height: 650px;
        height: 100svh;
    }


    .hero-index,
    .hero-location {
        top: 100px;

        font-size: .45rem;
    }


    .hero-index {
        left: 7vw;
    }


    .hero-location {
        right: 7vw;
    }


    .hero-logo {
        width: 68vw;

        margin: 35px 0 27px;
    }


    .hero-kicker {
        font-size: .5rem;
    }


    .hero-caption {
        left: 7vw;
        bottom: 35px;
    }


    /* STATEMENT */

    .statement {
        display: block;

        min-height: auto;

        padding: 100px 7vw;
    }


    .statement-label {
        margin-bottom: 70px;
    }


    .statement-lead {
        margin-bottom: 70px;

        font-size: clamp(3rem,12vw,5rem);
    }


    .statement-content > p:not(.statement-lead) {
        margin-left: 0;
    }


    /* FOUNDER */

    .founder {
        display: block;

        padding: 80px 7vw;
    }


    .founder-image img {
        height: 600px;
    }


    .founder-copy {
        margin-top: 100px;
    }


    .founder-copy h2 {
        margin: 60px 0;

        font-size: clamp(3rem,12vw,5rem);
    }


    /* TEAM */

    .team {
        padding: 100px 7vw;
    }


    .team-heading {
        display: block;

        margin-bottom: 80px;
    }


    .team-heading-top {
        margin-bottom: 70px;
    }


    .team-heading h2 {
        margin-top: 0;

        font-size: clamp(3rem,12vw,5rem);
    }


    .team-heading p {
        margin-top: 50px;
    }


    .team-grid {
        grid-template-columns: 1fr;

        row-gap: 70px;
    }


    .team-info {
        flex-direction: column;
        gap: 10px;
    }


    .team-info span {
        text-align: left;
    }


    .team-recruit {
        min-height: 600px;

        padding: 45px;
    }


    .recruit-inner h3 {
        font-size: clamp(3rem,12vw,5rem);
    }


    .recruit-label {
        margin-top: 60px;
    }


    /* PHILOSOPHY */

    .philosophy {
        padding: 100px 7vw;
    }


    .philosophy-top {
        gap: 30px;
    }


    .philosophy-title {
        padding: 100px 0;
    }


    .philosophy-title h2 {
        font-size: clamp(3rem,12vw,5rem);
    }


    .philosophy-grid {
        grid-template-columns: 1fr 1fr;
    }


    .philosophy-item {
        min-height: 270px;

        padding: 20px;

        border-bottom: 1px solid rgba(255,255,255,.17);
    }


    .philosophy-item:nth-child(2) {
        border-right: 0;
    }


    /* EXPERTISE */

    .expertise {
        display: block;

        padding: 100px 7vw;
    }


    .expertise-header h2 {
        margin-top: 60px;

        font-size: clamp(3rem,12vw,5rem);
    }


    .expertise-content {
        padding-top: 90px;
    }


    .expertise-list {
        margin-top: 70px;
    }


    /* WHERE WE WORK */

    .east-africa {
        min-height: 100svh;
        height: 100svh;
    }


    .africa-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0,0,0,.78),
                rgba(0,0,0,.4)
            );
    }


    .africa-copy {
        min-height: 100%;
        height: 100%;

        padding: 90px 7vw;
    }


    .africa-copy h2 {
        margin: 55px 0 45px;

        font-size: clamp(3rem,12vw,5rem);
    }


    .africa-copy > p {
        max-width: 100%;
    }


    /* CREDENTIALS */

    .credentials {
        display: block;

        padding: 100px 7vw;
    }


    .credential-heading {
        margin-bottom: 90px;
    }


    .credential-heading h2 {
        margin-top: 60px;

        font-size: clamp(3rem,12vw,5rem);
    }


    .credential-row {
        grid-template-columns: 1fr 2fr;
    }


    /* CLOSING */

    .about-closing {
        min-height: 650px;

        padding: 100px 7vw;
    }


    .about-closing h2 {
        margin: 55px 0;

        font-size: clamp(3rem,12vw,5rem);
    }


    .closing-link {
        gap: 35px;
    }


    /* FOOTER */

    .footer {
        padding: 70px 7vw 25px;
    }


    .footer-brand {
        padding-bottom: 50px;
    }


    .footer-brand img {
        height: 55px;
    }


    .footer-columns {
        grid-template-columns: 1fr 1fr;

        gap: 45px 30px;

        padding: 50px 0;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hero-logo {
        width: 62vw;
    }


    .hero-caption p {
        font-size: .5rem;
    }


    .philosophy-grid {
        grid-template-columns: 1fr;
    }


    .philosophy-item {
        min-height: 240px;

        border-right: 0;
    }


    .philosophy-item:nth-child(2) {
        border-right: 0;
    }


    .credential-row {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .footer-columns {
        grid-template-columns: 1fr;
    }


    .team-recruit {
        min-height: 560px;

        padding: 35px;
    }

}















/* =========================================================
   HERO
========================================================= */

.about-hero {
    position: relative;

    min-height: 100vh;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #3a3a3a 0%,
            #232323 42%,
            #171717 78%
        );

    color: var(--white);

    border-bottom: 1px solid rgba(255,255,255,.14);

    isolation: isolate;
}


/* SIDE LIGHT / VIGNETTE */

.about-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.18),
            transparent 50%,
            rgba(0,0,0,.22)
        );

    pointer-events: none;

    z-index: 0;
}


/* DARK OVERLAY */

.about-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.18);

    pointer-events: none;

    z-index: 1;
}


/* TOP INFORMATION */

.hero-index,
.hero-location {
    position: absolute;

    top: 120px;

    z-index: 4;

    color: rgba(255,255,255,.58);

    font-size: .52rem;
    font-weight: 500;
    letter-spacing: .17em;
}


.hero-index {
    left: 7vw;
}


.hero-location {
    right: 7vw;
}


/* MAIN LOGO AREA */

.hero-logo-wrap {
    position: relative;

    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    width: 100%;
}


/* THIS IS / EVENTS */

.hero-kicker {
    position: relative;

    display: block;

    color: var(--white);

    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .3em;

    z-index: 6;
}


/* LOGO CONTAINER */

.hero-logo {
    position: relative;

    width: min(58vw, 700px);

    margin: 42px 0 34px;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 6;
}


/* LOGO IMAGE */

.hero-logo img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;

    opacity: 1;

    filter:
        brightness(0)
        invert(1)
        drop-shadow(0 20px 55px rgba(0,0,0,.35));
}


/* CAPTION */

.hero-caption {
    position: absolute;

    left: 7vw;
    bottom: 50px;

    z-index: 5;
}


.hero-caption p {
    color: rgba(255,255,255,.72);

    font-size: .55rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .08em;
}















/* =========================================================
   MOBILE HERO
========================================================= */

@media (max-width: 850px) {

    .about-hero {
        min-height: 650px;
        height: 100svh;

        isolation: isolate;
    }


    .hero-index,
    .hero-location {
        top: 100px;

        font-size: .45rem;

        z-index: 10;
    }


    .hero-index {
        left: 7vw;
    }


    .hero-location {
        right: 7vw;
    }


    .hero-logo-wrap {
        position: relative;

        z-index: 10;

        width: 100%;
    }


    .hero-logo {
        position: relative;

        width: 68vw;
        max-width: 420px;

        margin: 35px 0 27px;

        z-index: 11;
    }


    .hero-logo img {
        display: block;

        width: 100%;
        height: auto;

        opacity: 1;

        visibility: visible;

        object-fit: contain;

        filter:
            brightness(0)
            invert(1)
            drop-shadow(0 15px 40px rgba(0,0,0,.4));
    }


    .hero-kicker {
        position: relative;

        z-index: 12;

        font-size: .5rem;
    }


    .hero-caption {
        left: 7vw;
        bottom: 35px;

        z-index: 10;
    }

}



@media (max-width: 480px) {

    .hero-logo {
        width: 62vw;
        max-width: 360px;
    }


    .hero-caption p {
        font-size: .5rem;
    }

}



.hero-logo img {
    opacity: 1;
    visibility: visible;
}













@media (max-width: 850px) {

    .about-hero {
        min-height: 650px;
        height: 100svh;
        isolation: isolate;
    }

    .hero-index,
    .hero-location {
        top: 100px;
        font-size: .45rem;
        z-index: 10;
    }

    .hero-index {
        left: 7vw;
    }

    .hero-location {
        right: 7vw;
    }

    .hero-logo-wrap {
        position: relative;
        z-index: 10;
        width: 100%;
    }

    .hero-logo {
        width: 68vw;
        max-width: 420px;
        margin: 35px 0 27px;
        position: relative;
        z-index: 11;
    }

    /* FORCE LOGO WHITE ON MOBILE */
    .about-hero .hero-logo img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        opacity: 1 !important;
        visibility: visible !important;

        filter:
            brightness(0)
            invert(1)
            drop-shadow(0 15px 40px rgba(0,0,0,.45)) !important;
    }

    .hero-kicker {
        position: relative;
        z-index: 12;
        font-size: .5rem;
    }

    .hero-caption {
        left: 7vw;
        bottom: 35px;
        z-index: 10;
    }
}


@media (max-width: 480px) {

    .hero-logo {
        width: 62vw;
    }

    .about-hero .hero-logo img {
        filter:
            brightness(0)
            invert(1)
            drop-shadow(0 15px 40px rgba(0,0,0,.45)) !important;
    }

    .hero-caption p {
        font-size: .5rem;
    }
}





























/* =========================================================
   XCY EVENTS — HERO LOGO
   KEEP WHITE REGARDLESS OF PHONE DARK MODE
========================================================= */

.about-hero .hero-logo img {
    filter:
        brightness(0)
        invert(1)
        drop-shadow(0 20px 55px rgba(0,0,0,.35)) !important;
}


/* Prevent device dark-mode from altering the hero logo */
@media (prefers-color-scheme: dark) {

    .about-hero .hero-logo img {
        filter:
            brightness(0)
            invert(1)
            drop-shadow(0 20px 55px rgba(0,0,0,.35)) !important;
    }

}


/* Mobile */
@media (max-width: 850px) {

    .about-hero .hero-logo img {
        filter:
            brightness(0)
            invert(1)
            drop-shadow(0 15px 40px rgba(0,0,0,.45)) !important;
    }

}


/* Mobile + phone dark mode */
@media (max-width: 850px) and (prefers-color-scheme: dark) {

    .about-hero .hero-logo img {
        filter:
            brightness(0)
            invert(1)
            drop-shadow(0 15px 40px rgba(0,0,0,.45)) !important;
    }

}