:root {
    --dark: #2c2c25;
    --muted: #6a6a6a;
    --teal: #00A499;
    --teal-light: #9CDBD9;
    --white: #ffffff;
    --soft: #faf9f5;
}

/* ============================================================
   BASE TYPOGRAPHY & SECTION SHELL
   ============================================================ */

section {
    width: 100%;
    padding: 48px 20px;
    text-align: center;
}

section > * {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

section:nth-of-type(even) {
    background: var(--soft);
}

h1, h2, h3 {
    font-weight: 800;
    color: var(--dark);
}

p, li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
}

@media (min-width: 768px) {
    section {
        padding: 60px 32px;
    }

    p, li {
        font-size: 1.05rem;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 70px 32px;
    }
}

/* ============================================================
   SECTION HEADER (Our Team heading)
   ============================================================ */

.nc-section-header {
    position: relative;
    text-align: center;
    background: #fafafa;
    padding: 48px 20px 40px;
}

.nc-header-inner {
    max-width: 850px;
    margin: 0 auto;
}

.nc-header-inner h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 700;
}

.nc-header-inner p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

@media (min-width: 768px) {
    .nc-section-header {
        padding: 80px 40px 60px;
    }
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */

.nc-section-divider {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    margin: -40px 0;
}

.nc-section-divider__line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--teal) 40%, var(--teal) 60%, transparent);
}

.nc-section-divider__icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    padding: 16px;
    object-fit: contain;
    background: var(--white);
    border-radius: 50%;
    border: 2px solid var(--teal);
    box-shadow: 0 4px 20px rgba(0, 164, 153, 0.3);
    margin: 0 2rem;
}

.nc-section-divider--fade-center .nc-section-divider__line:first-child {
    background: linear-gradient(to right, transparent, rgba(0, 164, 153, 0.4));
}

.nc-section-divider--fade-center .nc-section-divider__line:last-child {
    background: linear-gradient(to left, transparent, rgba(0, 164, 153, 0.4));
}

.nc-fade-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(0, 164, 153, 0.4) 30%, rgba(0, 164, 153, 0.4) 70%, transparent);
}

/* ============================================================
   CTA BUTTON
   ============================================================ */

.nc-cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--teal);
    color: var(--white);
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease;
}

.nc-cta:hover {
    background: var(--teal-light);
}

@media (min-width: 768px) {
    .nc-cta {
        padding: 14px 30px;
    }
}

/* ============================================================
   ECOSYSTEM SPLIT (sections 2 & 7)
   Mobile: stacked → lg: side by side
   ============================================================ */

.nc-ecosystem {
    background: var(--white);
}

.nc-ecosystem > * {
    max-width: 1400px;
}

.nc-ecosystem h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
}

.nc-ecosystem__subtitle {
    max-width: 780px;
    margin: 0 auto 32px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    color: var(--muted);
    text-align: center;
}

.nc-ecosystem__inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.nc-ecosystem__content {
    flex: 1;
    text-align: left;
    background: var(--soft);
    border: 2px solid var(--teal);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nc-ecosystem__intro {
    font-size: 1rem;
    margin: 0 0 16px;
}

.nc-ecosystem__img {
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    min-height: 240px;
}

.nc-ecosystem__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .nc-ecosystem__subtitle {
        margin-bottom: 40px;
    }
}

@media (min-width: 1024px) {
    .nc-ecosystem__inner {
        flex-direction: row;
        gap: 3rem;
        align-items: stretch;
    }

    .nc-ecosystem__content {
        padding: 3.5rem;
    }

    .nc-ecosystem__img {
        flex: 1.3;
        min-height: unset;
    }

    .nc-ecosystem__intro {
        font-size: 1.1rem;
    }
}

/* ============================================================
   THREE TILES (Mission / Vision / Purpose)
   Mobile: 1 col → md: 2 col → lg: 3 col
   ============================================================ */

.nc-three-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
}

.nc-tile {
    text-align: center;
    padding: 24px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid var(--teal);
    box-shadow: 0 12px 35px rgba(0, 164, 153, 0.15);
}

.nc-tile__icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 20px;
}

.nc-tile h2 {
    margin-bottom: 12px;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #1a1a1a;
}

.nc-tile p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .nc-three-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        padding: 60px 32px;
    }

    .nc-tile {
        padding: 30px;
        transform: translateY(-8px);
    }

    .nc-tile__icon {
        width: 80px;
        height: 80px;
        margin-bottom: 24px;
    }
}

@media (min-width: 1024px) {
    .nc-three-tiles {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
        padding: 80px 0;
    }
}

/* ============================================================
   SPLIT SECTION (Research-informed)
   Mobile: stacked → lg: side by side
   ============================================================ */

.nc-why-split {
    width: 100%;
    padding: 48px 20px;
    background: var(--soft);
}

.nc-split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nc-why-split__note {
    max-width: 1400px;
    margin: 2rem auto 0;
    text-align: center;
    font-style: italic;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.nc-split-text {
    background: var(--white);
    color: var(--dark);
    padding: 2rem 1.5rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.nc-split-text h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--dark);
    text-align: center;
}

.nc-split-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    opacity: 0.92;
    margin-bottom: 1.1em;
}

.nc-split-text ul {
    margin: 0 0 1.1em 1.2rem;
    text-align: left;
}

.nc-split-text li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    opacity: 0.92;
    margin-bottom: 0.4em;
}

.nc-split-img {
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    min-height: 240px;
}

.nc-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

@media (min-width: 768px) {
    .nc-why-split {
        padding: 60px 32px;
    }

    .nc-split-text {
        padding: 2.5rem 2rem;
    }

    .nc-split-text p,
    .nc-split-text li {
        font-size: 1.05rem;
    }
}

@media (min-width: 1024px) {
    .nc-why-split {
        padding: 5rem 2rem;
    }

    .nc-split {
        flex-direction: row;
        gap: 3.5rem;
        align-items: stretch;
    }

    .nc-split-text {
        flex: 1.15;
        padding: 3.5rem 3rem;
    }

    .nc-split-text p,
    .nc-split-text li {
        font-size: 1.13rem;
    }

    .nc-split-img {
        flex: 1.5;
        min-height: unset;
    }
}

/* ============================================================
   TEAM GRID
   Mobile: 1 col → lg: 2 col
   ============================================================ */

.nc-team-section {
    padding: 48px 20px 60px;
    background: var(--white);
}

.nc-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.nc-team-card {
    padding: 32px 24px 36px;
    text-align: center;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid rgba(0, 164, 153, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nc-team-card:hover {
    transform: translateY(-10px);
    border-color: var(--teal);
    box-shadow: 0 20px 50px rgba(0, 164, 153, 0.2);
}

.nc-team-card__image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin-bottom: 20px;
    border: 3px solid rgba(0, 164, 153, 0.3);
    background: #f5f5f5;
}

.nc-team-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nc-team-card__name {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.nc-team-card__title {
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 1rem;
}

.nc-team-card__flags {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
}

.nc-flag-img {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nc-flag-img:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.nc-team-card__description p {
    color: #555;
    line-height: 1.75;
    font-size: 1rem;
    text-align: left;
    margin-bottom: 0.75rem;
}

.nc-team-card:not(.expanded) .nc-team-card__description p {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-team-card:not(.expanded) .nc-team-card__description p:not(:first-child) {
    display: none;
}

.nc-team-card__readmore {
    margin-top: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--teal);
    font-weight: 700;
    font-size: 1rem;
    padding: 0;
    transition: color 0.3s ease;
}

.nc-team-card__readmore:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .nc-team-section {
        padding: 60px 32px 80px;
    }

    .nc-team-card__image {
        width: 180px;
        height: 180px;
        margin-bottom: 24px;
    }
}

@media (min-width: 1024px) {
    .nc-team-section {
        padding: 60px 40px 100px;
    }

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

    .nc-team-card {
        padding: 40px 30px 44px;
    }
}

/* ============================================================
   BRAIN TRUST GRID
   Mobile: 1 col → sm: 2 col → lg: 4 col
   ============================================================ */

.nc-brain-trust {
    padding: 48px 20px;
    background: var(--white);
    text-align: center;
}

.nc-brain-trust__header {
    max-width: 780px;
    margin: 0 auto 36px;
}

.nc-brain-trust__header h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.nc-brain-trust__header p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--muted);
    line-height: 1.7;
}

.nc-brain-trust__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nc-bt-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 164, 153, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nc-bt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.nc-bt-card__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    display: block;
    margin: 20px auto 0;
}

.nc-bt-card__body {
    padding: 20px 16px;
    background: #f7f7f7;
    flex: 1;
    text-align: center;
}

.nc-bt-card__body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.nc-bt-card__flags {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 10px;
}

.nc-bt-card__body p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

@media (min-width: 480px) {
    .nc-brain-trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nc-brain-trust {
        padding: 60px 32px;
    }
}

@media (min-width: 768px) {
    .nc-brain-trust__header {
        margin-bottom: 48px;
    }
}

@media (min-width: 1024px) {
    .nc-brain-trust {
        padding: 70px 40px;
    }

    .nc-brain-trust__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
