/* =========================================================
   WASMaN TEAM PAGE
   Premium editorial aquatic redesign
========================================================= */

:root {
    --ocean-deep: #052f43;
    --ocean-dark: #073e54;
    --ocean: #087f9c;
    --teal: #18a7b5;
    --mint: #4fd2c4;

    --seafoam: #e9f8f5;
    --mist: #f0f8f9;
    --ice: #f8fbfc;

    --white: #ffffff;

    --heading: #183746;
    --text: #050505;
    --muted: #000000;

    --border: rgba(8,127,156,0.12);

    --shadow-soft: 0 12px 34px rgba(5,47,67,0.07);
    --shadow-medium: 0 22px 52px rgba(5,47,67,0.11);
    --shadow-large: 0 32px 80px rgba(5,47,67,0.15);

    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 30px;

    --transition: all 0.34s ease;
}


/* =========================================================
   RESET / TYPOGRAPHY
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;

    background: var(--white);

    color: var(--text);

    line-height: 1.8;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}


/* =========================================================
   MAIN TEAM PAGE
========================================================= */

.team-page {
    position: relative;

    overflow: hidden;

    padding: 105px 7% 110px;

    background:
        radial-gradient(
            circle at 95% 9%,
            rgba(79,210,196,0.08),
            transparent 25%
        ),
        radial-gradient(
            circle at 5% 52%,
            rgba(8,127,156,0.05),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #fbfdfd 0%,
            #f1f9f8 48%,
            #fbfdfd 100%
        );
}

.team-page::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -270px;
    top: 100px;

    border-radius: 50%;

    border: 1px solid rgba(79,210,196,0.12);

    pointer-events: none;
}


/* =========================================================
   PAGE HERO
========================================================= */

.team-hero {
    position: relative;
    z-index: 2;

    max-width: 1240px;

    margin: 0 auto 110px;

    padding-bottom: 55px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(260px, 0.55fr);

    gap: 70px;

    align-items: end;

    border-bottom: 1px solid var(--border);
}

.team-hero-copy {
    max-width: 860px;
}

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: var(--ocean);

    font-size: 16pt;

    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 30px;
    height: 2px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--mint),
            var(--ocean)
        );
}

.team-hero h1 {
    color: var(--ocean-deep);

    font-size: clamp(3rem, 5vw, 4.7rem);

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -0.035em;
}

.team-hero h1 span {
    color: var(--ocean);
}

.team-hero p {
    max-width: 760px;

    margin-top: 24px;

    color: rgb(26, 26, 26);

    font-size: 16pt;

    line-height: 1.9;
}

.team-hero-card {
    min-height: 205px;

    padding: 28px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            var(--ocean-deep),
            var(--ocean)
        );

    box-shadow: var(--shadow-medium);
}

.hero-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(255,255,255,0.11);

    color: #73ded3;
}

.team-hero-card strong {
    margin-top: 25px;

    color: var(--white);

    font-size: 0.84rem;

    letter-spacing: 0.05em;
}

.team-hero-card p {
    margin-top: 8px;

    color: rgba(255,255,255,0.68);

    font-size: 0.78rem;

    line-height: 1.7;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading-row {
    position: relative;
    z-index: 2;

    max-width: 1240px;

    margin: 0 auto 50px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;
}

.section-heading-row > div {
    max-width: 650px;
}

.section-heading-row > p {
    max-width: 480px;

    color: rgb(29, 29, 29);

    font-size: 0.92rem;

    line-height: 1.8;
}

.section-label {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

    color: var(--teal);

    font-size:16pt;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.section-label::before {
    content: "";

    width: 28px;
    height: 2px;

    border-radius: 10px;

    background: var(--mint);
}

.section-heading-row h2 {
    color: var(--ocean-deep);

    font-size: clamp(2.4rem, 4vw, 3.5rem);

    font-weight: 600;

    line-height: 1.12;

    letter-spacing: -0.025em;
}


/* =========================================================
   EXECUTIVE COMMITTEE
========================================================= */

.leadership-section {
    position: relative;
    z-index: 2;
}

.team-grid {
    max-width: 1240px;

    margin: 0 auto 120px;

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 26px;
}

.team-grid .member {
    grid-column: span 2;
}

.team-grid .member:nth-child(4) {
    grid-column: 2 / span 2;
}

.team-grid .member:nth-child(5) {
    grid-column: 4 / span 2;
}


/* =========================================================
   EXECUTIVE CARD
========================================================= */

.member {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    border-radius: 24px;

    background: var(--white);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);

    transition: var(--transition);
}

.member::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    z-index: 5;

    background:
        linear-gradient(
            90deg,
            var(--ocean),
            var(--teal),
            var(--mint)
        );
}

.member:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-medium);

    border-color: rgba(24,167,181,0.24);
}

.member-image {
    position: relative;

    width: 100%;
    height: 320px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    overflow: hidden;

    padding: 0;

    background: #eef8f7;
}

.member-image::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(5,47,67,0.42)
        );

    pointer-events: none;
}

.member-image img {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 20%;

    transition: transform 0.5s ease;
}

.member:hover .member-image img {
    transform: scale(1.015);
}

.member-badge {
    position: absolute;

    left: 18px;
    bottom: 16px;

    z-index: 4;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    border-radius: 50px;

    background: rgba(255,255,255,0.94);

    color: var(--ocean-deep);

    font-size: 0.7rem;
    font-weight: 800;

    box-shadow: 0 8px 24px rgba(5,47,67,0.15);
}

.member-badge i {
    color: var(--teal);
}

.member-info {
    position: relative;

    min-height: 245px;

    padding: 26px 26px 30px;
}

.member-index {
    position: absolute;

    top: 20px;
    right: 22px;

    color: rgba(8,127,156,0.10);

    font-size: 2.7rem;

    font-weight: 800;

    line-height: 1;
}

.member-info h3 {
    position: relative;

    z-index: 2;

    max-width: 250px;

    margin-bottom: 13px;

    color: var(--ocean-deep);

    font-size: 1.35rem;

    font-weight: 600;

    line-height: 1.3;
}

.member-specialty {
    position: relative;

    z-index: 2;

    display: inline-block;

    margin-bottom: 16px;

    padding: 7px 10px;

    border-radius: 10px;

    background: var(--seafoam);

    color: var(--ocean);

    font-size: 0.7rem;

    font-weight: 700;

    line-height: 1.45;
}

.member-info p {
    position: relative;

    z-index: 2;

    color: var(--text);

    font-size: 0.78rem;

    line-height: 1.75;
}


/* =========================================================
   NETWORK MEMBERS
========================================================= */

.network-members {
    position: relative;
    /* height: 300px; */

    z-index: 2;

    margin-left: -7%;
    margin-right: -7%;

    padding: 105px 7% 110px;

    background:
        linear-gradient(
            135deg,
            #edf8f6,
            #f7fbfb 55%,
            #e9f6f4
        );

    border-top: 1px solid rgba(8,127,156,0.08);

    border-bottom: 1px solid rgba(8,127,156,0.08);
}

.network-heading {
    margin-bottom: 55px;
}
.network-heading p,.leadership-section p,.values-section p {
    font-size: 13pt;
    color: rgb(27, 26, 26);
}

.members-grid {
    max-width: 1200px;
    /* height: 300px; */

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.network-member {
    height: 200px;
    position: relative;

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 15px;

    border-radius: 18px;

    background: rgba(255,255,255,0.92);

    border: 1px solid rgba(8,127,156,0.09);

    box-shadow: 0 8px 24px rgba(5,47,67,0.05);

    transition: var(--transition);
}

.network-member:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-soft);
}

.network-member-image {
    flex: 0 0 78px;

    width: 50%;
    height: 100%;

    overflow: hidden;


    /* border: 3px solid rgba(79,210,196,0.18); */
     /* background-color: #f90505; */
}

.network-member-image img {
    width: 100%;
    height: 60%;
    border-radius: 50%; 
    border: 3px solid rgba(79,210,196,0.18);
    object-fit: cover;
   
}
.network-member-info{
    width: 50%;
    height: 100%;
    /* background-color: #e0f905; */
}
.network-member-info h3 {
    margin-bottom: 4px;

    color: black;

    font-size: 16pt;

    font-weight: 600;
}

.network-member-info span {
    color: rgba(2, 26, 57, 0.751);

    font-size: 12pt;
    font-weight: 700;
}

.member-mini-icon {
    position: absolute;

    right: 16px;
    top: 16px;

    color: rgba(8,127,156,0.18);

    font-size: 0.9rem;
}


/* =========================================================
   MEMBER STATS
========================================================= */

.member-count {
    max-width: 900px;

    margin: 65px auto 0;

    padding-top: 35px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(5,47,67,0.10);
}

.count-item {
    position: relative;

    text-align: center;
}

.count-item:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 10px;

    width: 1px;
    height: 70px;

    background: rgba(5,47,67,0.10);
}

.count-icon {
    width: 38px;
    height: 38px;

    margin: 0 auto 9px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(255,255,255,0.62);

    color: var(--teal);
}

.count-item strong {
    display: block;

    color: var(--ocean);

    font-family: 'Playfair Display', serif;

    font-size: 2.2rem;

    line-height: 1.15;
}

.count-item span {
    color: var(--muted);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.10em;

    text-transform: uppercase;
}


/* =========================================================
   VALUES
========================================================= */

.values-section {
    position: relative;

    z-index: 2;

    max-width: 1240px;

    margin: 105px auto 0;
}

.values {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.value-box {
    position: relative;

    min-height: 260px;

    padding: 30px;

    border-radius: 20px;

    background: var(--white);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);

    overflow: hidden;

    transition: var(--transition);
}

.value-box:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-medium);
}

.value-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 35px;

    border-radius: 14px;

    background: var(--seafoam);

    color: var(--ocean);
}

.value-number {
    position: absolute;

    right: 25px;
    top: 27px;

    color: var(--teal);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.14em;
}

.value-box h3 {
    margin-bottom: 10px;

    color: var(--ocean-deep);

    font-size: 17pt;

    font-weight: 600;
}

.value-box p {
    color: rgb(36, 35, 35);

    font-size: 16pt;

    line-height: 1.78;
}


/* =========================================================
   JOIN CTA
========================================================= */

.join-team {
    position: relative;

    z-index: 2;

    max-width: 1240px;

    min-height: 370px;

    margin: 105px auto 0;

    padding: 65px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(250px, 0.65fr);

    gap: 60px;

    align-items: center;

    border-radius: 26px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #052f43,
            #075f70 55%,
            #087f8c
        );

    box-shadow: var(--shadow-large);
}

.join-team::after {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    right: -150px;
    top: -170px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.12);
}

.join-content {
    position: relative;

    z-index: 2;
}

.join-content > span {
    display: block;

    margin-bottom: 12px;

    color: #67d8cf;

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.16em;
}

.join-content h2 {
    max-width: 680px;

    margin-bottom: 18px;

    color: var(--white);

    font-size: clamp(2.3rem, 4vw, 3.4rem);

    font-weight: 600;

    line-height: 1.15;
}

.join-content p {
    max-width: 650px;

    margin-bottom: 28px;

    color: rgba(255,255,255,0.72);

    font-size: 0.9rem;

    line-height: 1.8;
}

.join-content a {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 13px 22px;

    border-radius: 50px;

    background: var(--mint);

    color: var(--ocean-deep);

    font-size: 0.8rem;

    font-weight: 800;

    transition: var(--transition);
}

.join-content a:hover {
    transform: translateY(-3px);

    background: var(--white);
}

.join-visual {
    width: 300px;
    position: relative;

    z-index: 2;

    min-height: 180px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    border-radius: 20px;

    /* background: rgba(172, 169, 169, 0.61); */

    border: 1px solid rgba(255, 255, 255, 0.393);
}

.join-visual {
    width: 300px;
    height: 200px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;
    font-size: 150pt;
    /* background: rgba(255,255,255,0.10); */

    color: white;
}

.join-visual span {
    color: rgba(255,255,255,0.72);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    position: relative;

    background:
        linear-gradient(
            135deg,
            #042d42 0%,
            #07586b 55%,
            #087f8d 100%
        );

    color: rgba(255,255,255,0.75);

    overflow: hidden;
}

.footer::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -230px;
    top: -260px;

    border-radius: 50%;

    border: 1px solid rgba(79,210,196,0.16);
}


/* FOOTER TOP */

.footer-top {
    position: relative;

    z-index: 2;

    width: min(1200px, 86%);

    margin: auto;

    padding: 70px 0 55px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 45px;

    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-newsletter {
    max-width: 590px;
}

.footer-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: var(--mint);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.16em;
}

.footer-newsletter h2 {
    margin-bottom: 10px;

    color: var(--white);

    font-size: 2rem;

    font-weight: 600;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.66);

    font-size: 0.84rem;

    line-height: 1.8;
}

.subscribe-form {
    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 420px;
}

.subscribe-field {
    flex: 1;

    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 15px;

    border-radius: 50px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.14);
}

.subscribe-field i {
    color: var(--mint);

    font-size: 0.8rem;
}

.subscribe-field input {
    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: var(--white);

    font-size: 0.8rem;
}

.subscribe-field input::placeholder {
    color: rgba(255,255,255,0.46);
}

.subscribe-form button {
    min-height: 48px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 0 18px;

    border: none;

    border-radius: 50px;

    background: var(--mint);

    color: var(--ocean-deep);

    font-size: 0.78rem;

    font-weight: 800;

    cursor: pointer;

    transition: var(--transition);
}

.subscribe-form button:hover {
    background: var(--white);

    transform: translateY(-2px);
}


/* FOOTER CONTENT */

.footer-content {
    position: relative;

    z-index: 2;

    width: min(1200px, 86%);

    margin: auto;

    padding: 58px 0;

    display: grid;

    grid-template-columns:
        1.45fr
        0.8fr
        1fr
        1fr;

    gap: 50px;
}

.footer-brand-mark {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 13px;

    background: rgba(255,255,255,0.09);

    color: var(--mint);
}

.footer-box h3 {
    margin-bottom: 18px;

    color: var(--white);

    font-size: 1.05rem;

    font-weight: 600;
}

.footer-box h3::after {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    margin-top: 8px;

    border-radius: 10px;

    background: var(--mint);
}

.footer-box p {
    color: rgba(255,255,255,0.66);

    font-size: 0.78rem;

    line-height: 1.82;
}

.footer-box ul {
    list-style: none;
}

.footer-box li {
    margin-bottom: 10px;

    color: rgba(255,255,255,0.66);

    font-size: 0.78rem;
}

.footer-box li a {
    color: rgba(255,255,255,0.66);

    transition: var(--transition);
}

.footer-box li a:hover {
    color: var(--mint);

    padding-left: 4px;
}

.focus-list li {
    display: flex;

    align-items: center;

    gap: 8px;
}

.focus-list i {
    width: 15px;

    color: var(--mint);

    font-size: 0.7rem;
}

.footer-contact-item {
    display: flex;

    gap: 11px;

    margin-bottom: 16px;
}

.footer-contact-item > i {
    width: 33px;
    height: 33px;

    flex: 0 0 33px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(255,255,255,0.08);

    color: var(--mint);

    font-size: 0.75rem;
}

.footer-contact-item span {
    display: block;

    margin-bottom: 2px;

    color: rgba(255,255,255,0.43);

    font-size: 0.62rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.footer-contact-item a,
.footer-contact-item p {
    color: rgba(255,255,255,0.75);

    font-size: 0.76rem;
}


/* FOOTER BOTTOM */

.footer-bottom {
    position: relative;

    z-index: 2;

    width: min(1200px, 86%);

    margin: auto;

    padding: 24px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-bottom p {
    color: rgba(255,255,255,0.46);

    font-size: 0.7rem;
}

.social-icons {
    display: flex;

    gap: 9px;
}

.social-icons a {
    width: 37px;
    height: 37px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: rgba(255,255,255,0.78);

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.10);

    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--ocean-deep);

    background: var(--mint);

    border-color: var(--mint);

    transform: translateY(-4px);
}


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

@media (max-width: 1080px) {

    .team-hero {
        grid-template-columns: 1fr;
    }

    .team-hero-card {
        max-width: 330px;
    }

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

    .team-grid .member,
    .team-grid .member:nth-child(4),
    .team-grid .member:nth-child(5) {
        grid-column: auto;
    }

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

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

    .network-members {
        margin-left: -7%;
        margin-right: -7%;
    }
}


@media (max-width: 860px) {

    .section-heading-row {
        flex-direction: column;

        align-items: flex-start;
    }

    .values {
        grid-template-columns: 1fr;
    }

    .join-team {
        grid-template-columns: 1fr;
    }

    .join-visual {
        max-width: 320px;
    }

    .footer-top {
        flex-direction: column;

        align-items: flex-start;
    }

    .subscribe-form {
        width: 100%;

        min-width: 0;
    }
}


@media (max-width: 650px) {

    .team-page {
        padding: 78px 5% 80px;
    }

    .team-hero {
        margin-bottom: 75px;

        padding-bottom: 40px;
    }

    .team-hero h1 {
        font-size: 2.65rem;
    }

    .team-grid {
        grid-template-columns: 1fr;

        max-width: 430px;

        margin-left: auto;
        margin-right: auto;
    }

    .member {
        min-height: auto;
    }

    .member-image {
        height: 300px;
    }

    .network-members {
        margin-left: -5%;
        margin-right: -5%;

        padding: 80px 5%;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .member-count {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .count-item:not(:last-child)::after {
        display: none;
    }

    .join-team {
        padding: 40px 28px;

        margin-top: 75px;
    }

    .join-content h2 {
        font-size: 2.2rem;
    }

    .footer-top,
    .footer-content,
    .footer-bottom {
        width: 88%;
    }

    .subscribe-form {
        flex-direction: column;

        align-items: stretch;
    }

    .subscribe-form button {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }
}


@media (max-width: 420px) {

    .team-hero h1 {
        font-size: 2.25rem;
    }

    .member-image {
        height: 270px;
    }

    .section-heading-row h2 {
        font-size: 2.2rem;
    }
}


/* =========================================================
   LEADERSHIP BIO POPUP
   Added without changing the existing team-page layout
========================================================= */
.leadership-card { cursor: pointer; }
.leadership-card:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
.bio-card-hint { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--ocean); font-size: .74rem; font-weight: 800; }
.bio-card-hint i { font-size: .68rem; }
body.modal-open { overflow: hidden; }
.leader-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 30px; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
.leader-modal.is-open { visibility: visible; opacity: 1; }
.leader-modal-backdrop { position: absolute; inset: 0; background: rgba(3, 29, 42, .78); backdrop-filter: blur(7px); }
.leader-modal-dialog { position: relative; z-index: 2; width: min(1050px, 96vw); max-height: 88vh; overflow: auto; border-radius: 28px; background: #fff; box-shadow: 0 35px 100px rgba(0,0,0,.30); transform: translateY(18px) scale(.985); transition: transform .28s ease; }
.leader-modal.is-open .leader-modal-dialog { transform: translateY(0) scale(1); }
.leader-modal-close { position: absolute; top: 18px; right: 18px; z-index: 5; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ocean-deep); box-shadow: 0 8px 25px rgba(5,47,67,.15); cursor: pointer; font-size: 1.05rem; }
.leader-modal-layout { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); min-height: 590px; }
.leader-modal-photo { position: relative; min-height: 590px; overflow: hidden; background: var(--seafoam); }
.leader-modal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.leader-modal-photo::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(5,47,67,.70)); pointer-events: none; }
.leader-modal-role { position: absolute; left: 24px; bottom: 24px; z-index: 2; padding: 10px 16px; border-radius: 50px; background: rgba(255,255,255,.95); color: var(--ocean-deep); font-size: .78rem; font-weight: 800; }
.leader-modal-content { padding: 58px 52px 48px; }
.leader-modal-eyebrow { display: inline-block; margin-bottom: 12px; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.leader-modal-content h2 { margin: 0 0 13px; color: var(--ocean-deep); font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.12; }
.leader-modal-specialty { display: inline-block; margin-bottom: 27px; padding: 8px 12px; border-radius: 10px; background: var(--seafoam); color: var(--ocean); font-size: .78rem; font-weight: 700; }
.leader-modal-bio p { margin: 0 0 18px; color: #344f5b; font-size: .94rem; line-height: 1.85; }
.leader-modal-bio p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .leader-modal { padding: 16px; } .leader-modal-dialog { max-height: 92vh; border-radius: 22px; } .leader-modal-layout { grid-template-columns: 1fr; } .leader-modal-photo { min-height: 330px; height: 42vh; } .leader-modal-content { padding: 36px 26px 34px; } .leader-modal-close { top: 12px; right: 12px; } }
@media (max-width: 480px) { .leader-modal { padding: 8px; } .leader-modal-dialog { width: 100%; max-height: 95vh; border-radius: 18px; } .leader-modal-photo { min-height: 280px; height: 36vh; } .leader-modal-content { padding: 30px 20px; } .leader-modal-content h2 { font-size: 1.85rem; } }


/* =========================================================
   LEADERSHIP + NETWORK SECRETARIAT — UNIFIED TYPOGRAPHY
========================================================= */

/* Member names */
.leadership-section .member-info h3,
.network-members .network-member-info h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--ocean-deep);
}

/* Specialty / role */
.leadership-section .member-specialty,
.network-members .network-member-info span {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

/* Supporting text */
.leadership-section .member-info p,
.network-members .section-heading-row > p {
    font-family: 'Manrope', sans-serif;
}

/* Section labels */
.leadership-section .section-label,
.network-members .section-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
}

/* Section titles */
.leadership-section .section-heading-row h2,
.network-members .section-heading-row h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* =========================================================
   NETWORK SECRETARIAT — REDESIGNED MEMBER CARDS
   Larger portraits, cleaner hierarchy, premium aquatic style
========================================================= */
.members-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.network-member {
    position: relative;
    height: auto;
    min-height: 285px;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(8,127,156,0.12);
    box-shadow: 0 14px 38px rgba(5,47,67,0.08);
    transition: transform .34s ease, box-shadow .34s ease, border-color .34s ease;
}

.network-member::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 5;
    background: linear-gradient(90deg, var(--ocean), var(--teal), var(--mint));
}

.network-member:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 55px rgba(5,47,67,0.13);
    border-color: rgba(24,167,181,0.26);
}

.network-member-image {
    position: relative;
    width: 210px;
    height: 100%;
    min-height: 285px;
    flex: none;
    overflow: hidden;
    background: #e8f5f4;
}

.network-member-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(5,47,67,.18));
    pointer-events: none;
}

.network-member-image img {
    width: 100%;
    height: 100%;
    min-height: 285px;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center 18%;
    transition: transform .5s ease;
}

.network-member:hover .network-member-image img {
    transform: scale(1.035);
}

.network-member-info {
    position: relative;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 38px 34px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.network-member-info::before {
    content: "SECRETARIAT";
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 15px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--seafoam);
    color: var(--ocean);
    font-family: 'Manrope', sans-serif;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.network-member-info h3 {
    margin: 0 0 10px;
    color: var(--ocean-deep);
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.25;
}

.network-member-info span {
    display: block;
    color: #405b68;
    font-family: 'Manrope', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.65;
}

.member-mini-icon {
    position: absolute;
    right: 24px;
    bottom: 22px;
    top: auto;
    color: rgba(8,127,156,0.11);
    font-size: 2.2rem;
}

@media (max-width: 1050px) {
    .members-grid {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .network-member {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .network-member-image {
        width: 230px;
    }
}

@media (max-width: 620px) {
    .network-member {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .network-member-image {
        width: 100%;
        height: 320px;
        min-height: 320px;
    }

    .network-member-image img {
        min-height: 320px;
        object-position: center 15%;
    }

    .network-member-info {
        padding: 27px 24px 32px;
    }

    .network-member-info h3 {
        font-size: 1.4rem;
    }

    .member-mini-icon {
        right: 20px;
        bottom: 18px;
        font-size: 1.8rem;
    }
}


/* Secretariat portfolio refinements */
.network-member-info span {
    display: block;
    line-height: 1.35;
}
.network-member-info span small {
    display: block;
    margin-top: 3px;
    font-size: 10.5pt;
    font-weight: 600;
    color: rgba(2, 26, 57, 0.62);
}


/* Secretariat profile interaction */
.secretariat-card { cursor: pointer; }
.secretariat-card:focus-visible { outline: 3px solid rgba(24,167,181,.35); outline-offset: 4px; }
.secretariat-bio-hint { margin-top: 16px; display: inline-flex !important; align-items: center; gap: 7px; color: var(--ocean) !important; font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .02em; }
.secretariat-bio-hint i { font-size: .68rem; }
.secretariat-card:hover .secretariat-bio-hint { transform: translateX(3px); }
