/* =========================================================
   KENMA-UK TEAM PAGE
   Clean editorial / modern association layout
   ========================================================= */

:root{
    --team-green:#073b2d;
    --team-green-deep:#052c22;
    --team-green-soft:#0c4a39;
    --team-lime:#b9ed82;
    --team-red:#8e1e2d;
    --team-ink:#10251f;
    --team-muted:#68756f;
    --team-line:#e4ebe7;
    --team-bg:#f7faf8;
    --team-white:#ffffff;
    --team-radius:24px;
}

/* =========================================================
   GLOBAL
   ========================================================= */

.team-page{
    overflow:hidden;
    background:var(--team-bg);
    color:var(--team-ink);
}

.team-container{
    width:min(var(--container,1240px),calc(100% - 44px));
    margin-inline:auto;
}

.team-page img{
    display:block;
    width:100%;
}

.team-page a{
    text-decoration:none;
}

.team-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:var(--team-green-soft);
    font-size:10px;
    font-weight:800;
    letter-spacing:.16em;
    line-height:1;
    text-transform:uppercase;
}

.team-eyebrow::before{
    content:"";
    width:24px;
    height:1px;
    background:currentColor;
}

/* =========================================================
   INTRO
   ========================================================= */

.team-intro{
    position:relative;
    display:flex;
    align-items:center;
    min-height:440px;
    padding:105px 0 85px;
    overflow:hidden;
    background:var(--team-green);
    color:#fff;
}

.team-intro::before{
    content:"";
    position:absolute;
    width:600px;
    height:600px;
    right:-230px;
    top:-300px;
    border:1px solid rgba(185,237,130,.13);
    border-radius:50%;
}

.team-intro::after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    right:-100px;
    bottom:-310px;
    border:1px solid rgba(185,237,130,.09);
    border-radius:50%;
}

.team-intro-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
    gap:80px;
    align-items:end;
}

.team-intro-copy h1{
    max-width:850px;
    margin:18px 0 0;
    font-family:"Manrope",sans-serif;
    font-size:clamp(55px,7.5vw,105px);
    font-weight:600;
    line-height:.91;
    letter-spacing:-.065em;
}

.team-intro-copy h1 span{
    display:block;
    color:var(--team-lime);
}

.team-intro .team-eyebrow{
    color:var(--team-lime);
}

.team-intro-side{
    max-width:410px;
    padding-bottom:6px;
}

.team-intro-side p{
    margin:0 0 28px;
    color:rgba(255,255,255,.67);
    font-size:14px;
    line-height:1.8;
}

.team-scroll-link{
    display:inline-flex;
    align-items:center;
    gap:15px;
    color:#fff;
    font-size:11px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.team-scroll-link span{
    width:31px;
    height:31px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.2);
    border-radius:50%;
    transition:transform .25s ease,background .25s ease;
}

.team-scroll-link:hover span{
    transform:translateY(3px);
    background:rgba(255,255,255,.08);
}

.team-intro-line{
    position:absolute;
    z-index:3;
    left:0;
    right:0;
    bottom:-1px;
    height:58px;
    background:var(--team-bg);
    clip-path:ellipse(70% 100% at 50% 100%);
}

/* =========================================================
   SECTION HEADING
   ========================================================= */

.team-section{
    padding:110px 0 125px;
}

.section-heading{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);
    gap:70px;
    align-items:end;
    margin-bottom:50px;
}

.section-heading h2{
    margin:14px 0 0;
    font-family:"Manrope",sans-serif;
    font-size:clamp(39px,5vw,68px);
    font-weight:600;
    line-height:1;
    letter-spacing:-.055em;
}

.section-heading>p{
    max-width:410px;
    margin:0 0 4px;
    color:var(--team-muted);
    font-size:13px;
    line-height:1.8;
}

/* =========================================================
   MEMBER GRID
   ========================================================= */

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

.member-card{
    position:relative;
    overflow:hidden;
    border:1px solid var(--team-line);
    border-radius:var(--team-radius);
    background:#fff;
    box-shadow:0 8px 28px rgba(12,48,38,.045);
    transition:
        transform .4s cubic-bezier(.2,.7,.2,1),
        box-shadow .4s ease,
        border-color .4s ease;
}

.member-card:hover{
    transform:translateY(-8px);
    border-color:#cfddd6;
    box-shadow:0 25px 55px rgba(12,48,38,.11);
}

.member-card-featured{
    grid-row:span 1;
}

.member-photo{
    position:relative;
    aspect-ratio:1.15/1;
    overflow:hidden;
    background:#dfe9e4;
}

.member-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    transition:transform .7s cubic-bezier(.2,.7,.2,1);
}

.member-card:hover .member-photo img{
    transform:scale(1.045);
}

.member-photo-shade{
    position:absolute;
    inset:auto 0 0;
    height:42%;
    background:linear-gradient(to top,rgba(4,39,29,.48),transparent);
    pointer-events:none;
}

.member-number{
    position:absolute;
    top:16px;
    right:16px;
    z-index:2;
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.34);
    border-radius:50%;
    color:#fff;
    background:rgba(5,47,36,.30);
    backdrop-filter:blur(10px);
    font-size:9px;
    font-weight:800;
    letter-spacing:.08em;
}

.member-content{
    padding:23px 24px 26px;
}

.member-category{
    display:block;
    margin-bottom:9px;
    color:#6b7771;
    font-size:8px;
    font-weight:800;
    letter-spacing:.15em;
    line-height:1.3;
    text-transform:uppercase;
}

.member-content h3{
    margin:0;
    color:var(--team-red);
    font-family:"Manrope",sans-serif;
    font-size:27px;
    font-weight:650;
    line-height:1.05;
    letter-spacing:-.04em;
}

.member-role{
    margin:9px 0 0;
    color:var(--team-ink);
    font-size:12px;
    font-weight:750;
    line-height:1.5;
}

.member-specialism{
    margin:5px 0 0;
    color:var(--team-muted);
    font-size:10px;
    line-height:1.55;
}

/* =========================================================
   TRUSTEES
   ========================================================= */

.trustee-section{
    position:relative;
    padding:110px 0 120px;
    overflow:hidden;
    background:var(--team-green);
    color:#fff;
}

.trustee-section::before{
    content:"";
    position:absolute;
    width:750px;
    height:750px;
    left:-430px;
    bottom:-530px;
    border:1px solid rgba(185,237,130,.11);
    border-radius:50%;
}

.section-heading-light .team-eyebrow{
    color:var(--team-lime);
}

.section-heading-light h2{
    color:#fff;
}

.section-heading-light>p{
    color:rgba(255,255,255,.60);
}

.trustee-card{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(280px,430px) 1fr;
    min-height:390px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.12);
    border-radius:28px;
    background:rgba(255,255,255,.055);
    box-shadow:0 25px 70px rgba(0,0,0,.12);
    backdrop-filter:blur(10px);
}

.trustee-photo{
    position:relative;
    min-height:390px;
    overflow:hidden;
    background:#23483d;
}

.trustee-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    transition:transform .7s ease;
}

.trustee-card:hover .trustee-photo img{
    transform:scale(1.04);
}

.trustee-mark{
    position:absolute;
    left:22px;
    bottom:22px;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.2);
    border-radius:50%;
    color:var(--team-lime);
    background:rgba(0,0,0,.2);
    backdrop-filter:blur(8px);
    font-size:11px;
    font-weight:800;
}

.trustee-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:55px clamp(35px,6vw,85px);
}

.trustee-copy .member-category{
    color:var(--team-lime);
}

.trustee-copy h3{
    margin:0;
    color:#fff;
    font-family:"Manrope",sans-serif;
    font-size:clamp(35px,4vw,58px);
    font-weight:600;
    line-height:1;
    letter-spacing:-.055em;
}

.trustee-copy h3 span{
    color:var(--team-lime);
    font-size:.45em;
    vertical-align:top;
    letter-spacing:.02em;
}

.trustee-copy>p{
    margin:15px 0 0;
    color:rgba(255,255,255,.58);
    font-size:13px;
}

.trustee-line{
    width:55px;
    height:1px;
    margin:28px 0;
    background:var(--team-lime);
}

.back-to-top{
    align-self:flex-start;
    color:rgba(255,255,255,.72);
    font-size:10px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.back-to-top span{
    margin-left:7px;
    color:var(--team-lime);
}

/* =========================================================
   CLOSING
   ========================================================= */

.team-closing{
    padding:120px 0;
    background:#fff;
    text-align:center;
}

.team-closing-inner{
    max-width:790px;
    margin:0 auto;
}

.team-closing .team-eyebrow{
    color:var(--team-green-soft);
}

.team-closing h2{
    margin:18px 0 20px;
    font-family:"Manrope",sans-serif;
    font-size:clamp(42px,5.6vw,76px);
    font-weight:600;
    line-height:.98;
    letter-spacing:-.06em;
}

.team-closing h2 span{
    display:block;
    color:var(--team-green-soft);
}

.team-closing p{
    max-width:530px;
    margin:0 auto 30px;
    color:var(--team-muted);
    font-size:13px;
    line-height:1.8;
}

.team-primary-btn{
    display:inline-flex;
    align-items:center;
    gap:18px;
    padding:14px 17px 14px 20px;
    border-radius:999px;
    color:#fff;
    background:var(--team-green);
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    transition:transform .25s ease,background .25s ease;
}

.team-primary-btn span{
    width:27px;
    height:27px;
    display:grid;
    place-items:center;
    border-radius:50%;
    color:var(--team-green);
    background:var(--team-lime);
    font-size:15px;
}

.team-primary-btn:hover{
    transform:translateY(-3px);
    background:var(--team-green-soft);
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.team-page .reveal{
    opacity:0;
    transform:translateY(22px);
    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.2,.7,.2,1);
}

.team-page .reveal.is-visible{
    opacity:1;
    transform:none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1050px){

    .team-intro-grid{
        gap:45px;
    }

    .team-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .section-heading{
        gap:40px;
    }
}

@media(max-width:800px){

    .team-intro{
        min-height:auto;
        padding:90px 0 90px;
    }

    .team-intro-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .team-intro-copy h1{
        font-size:clamp(52px,13vw,80px);
    }

    .section-heading{
        grid-template-columns:1fr;
        gap:20px;
        margin-bottom:35px;
    }

    .team-section{
        padding:80px 0 90px;
    }

    .trustee-section{
        padding:80px 0 90px;
    }

    .trustee-card{
        grid-template-columns:1fr;
    }

    .trustee-photo{
        min-height:390px;
        max-height:520px;
    }
}

@media(max-width:600px){

    .team-container{
        width:calc(100% - 30px);
    }

    .team-intro{
        padding:75px 0 75px;
    }

    .team-intro-copy h1{
        font-size:52px;
    }

    .team-section{
        padding:70px 0 75px;
    }

    .team-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .member-photo{
        aspect-ratio:1.2/1;
    }

    .member-content{
        padding:21px 20px 23px;
    }

    .member-content h3{
        font-size:25px;
    }

    .trustee-section{
        padding:70px 0 75px;
    }

    .trustee-photo{
        min-height:330px;
    }

    .trustee-copy{
        padding:38px 25px 42px;
    }

    .team-closing{
        padding:85px 0;
    }

    .team-closing h2{
        font-size:44px;
    }
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
    .team-page *,
    .team-page *::before,
    .team-page *::after{
        scroll-behavior:auto !important;
        transition:none !important;
        animation:none !important;
    }

    .team-page .reveal{
        opacity:1;
        transform:none;
    }
}



/* =========================================================
   KENMA-UK HOMEPAGE — ORGANISATION INFORMATION (ADOPTED FROM HOME.CSS)
   ========================================================= */

.about-section{
    position:relative;
    padding:120px 0 110px;
    overflow:hidden;
    background:radial-gradient(circle at 10% 15%,rgba(11,90,67,.055),transparent 30%),#fff;
}
.about-shell,.objectives-shell{
    width:min(var(--container),calc(100% - 44px));
    margin:0 auto;
}
.section-heading{max-width:780px}
.section-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:var(--kenma-green);
    font-size:10px;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
}
.section-eyebrow::before{
    content:"";
    width:24px;
    height:2px;
    background:var(--kenma-lime);
}
.section-heading h2{
    margin:14px 0 15px;
    color:var(--ink);
    font-family:"Manrope",sans-serif;
    font-size:clamp(36px,4.6vw,65px);
    font-weight:650;
    line-height:1.02;
    letter-spacing:-.055em;
}
.section-heading p{
    max-width:680px;
    margin:0;
    color:var(--muted);
    font-size:15px;
    line-height:1.75;
}
.about-intro-grid{
    display:grid;
    grid-template-columns:.86fr 1.14fr;
    align-items:center;
    gap:clamp(45px,7vw,110px);
    margin-top:76px;
}
.about-number{
    display:block;
    margin-bottom:12px;
    color:var(--kenma-green);
    font-family:"Manrope",sans-serif;
    font-size:11px;
    font-weight:800;
    letter-spacing:.16em;
}
.about-copy h3{
    margin:0 0 18px;
    font-family:"Manrope",sans-serif;
    font-size:clamp(25px,2.5vw,36px);
    line-height:1.08;
    letter-spacing:-.04em;
}
.about-copy p{
    max-width:550px;
    margin:0 0 15px;
    color:#5d6964;
    font-size:14px;
    line-height:1.78;
}
.text-link{
    display:inline-flex;
    align-items:center;
    gap:12px;
    margin-top:10px;
    padding-bottom:5px;
    color:var(--kenma-green);
    border-bottom:1px solid rgba(11,90,67,.35);
    font-size:12px;
    font-weight:800;
    transition:gap .25s var(--ease),color .2s ease;
}
.text-link:hover{gap:17px;color:var(--kenma-green-dark)}

.about-feature-image{
    position:relative;
    min-height:420px;
    overflow:hidden;
    border-radius:24px;
    background:#e9efeb;
}
.about-feature-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(130deg,rgba(5,53,39,.04),transparent 50%),linear-gradient(0deg,rgba(5,35,27,.20),transparent 35%);
    pointer-events:none;
}
.about-feature-image img{
    width:100%;
    height:100%;
    min-height:420px;
    display:block;
    object-fit:cover;
    object-position:center;
    transition:transform .8s var(--ease);
}
.about-feature-image:hover img{transform:scale(1.035)}
.image-tag{
    position:absolute;
    z-index:2;
    left:18px;
    bottom:18px;
    padding:10px 13px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:999px;
    color:#fff;
    background:rgba(8,48,38,.72);
    backdrop-filter:blur(12px);
    font-size:9px;
    font-weight:800;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.mission-vision-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
    margin-top:82px;
}
.mission-card,.vision-card{
    overflow:hidden;
    border-radius:22px;
    background:#101d19;
    color:#fff;
    box-shadow:0 18px 55px rgba(7,34,25,.10);
}
.vision-card{background:#092f26}
.card-image{
    position:relative;
    height:245px;
    overflow:hidden;
}
.card-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(0deg,rgba(3,25,19,.60),transparent 55%);
}
.card-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .7s var(--ease);
}
.mission-card:hover .card-image img,
.vision-card:hover .card-image img{transform:scale(1.045)}
.card-index{
    position:absolute;
    z-index:2;
    left:20px;
    bottom:17px;
    color:rgba(255,255,255,.74);
    font-size:9px;
    font-weight:800;
    letter-spacing:.16em;
}
.card-body{padding:28px 30px 31px}
.card-label{
    display:block;
    margin-bottom:9px;
    color:var(--kenma-lime);
    font-size:9px;
    font-weight:800;
    letter-spacing:.17em;
    text-transform:uppercase;
}
.card-body h3{
    margin:0 0 15px;
    font-family:"Manrope",sans-serif;
    font-size:clamp(23px,2.3vw,32px);
    line-height:1.08;
    letter-spacing:-.04em;
}
.card-body p{
    margin:0 0 11px;
    color:rgba(255,255,255,.68);
    font-size:12px;
    line-height:1.75;
}