.founder-page {
    font-family: "DM Sans", sans-serif;
    background: #ffffff;
}

/* ── Color overrides (aligned with about.html) ── */
:root {
    --bandika-blue: #1e73be;
    --bandika-blue-dark: #0f5a9e;
    --bandika-green: #2c6e2f;
    --bandika-gray-light: #f8fafc;
    --bandika-bg-soft: #f4f7fa;
    --bandika-text-dark: #0f172a;
    --bandika-text-muted: #475569;
}

/* ── Stats ribbon (lighter bg) ── */
.stats-ribbon {
    background: var(--bandika-bg-soft);
    padding: 42px 0;
    border-top: 1px solid rgba(30, 115, 190, 0.08);
    border-bottom: 1px solid rgba(30, 115, 190, 0.08);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: "Playfair Display", serif;
    font-size: 46px;
    font-weight: 700;
    color: var(--bandika-blue);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #5b6e8c;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-sep {
    width: 1px;
    height: 52px;
    background: #dce5ef;
}

/* ── Profile section (softer bg) ── */
.founder-profile-section {
    padding: 90px 0 110px;
    background: var(--bandika-bg-soft);
    position: relative;
    overflow: hidden;
}

.founder-profile-section[data-watermark]::before {
    content: attr(data-watermark);
    position: absolute;
    top: 40px;
    right: -20px;
    font-family: "Playfair Display", serif;
    font-size: 260px;
    font-weight: 700;
    color: rgba(30, 115, 190, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Left identity column */
/* Left identity column - fully centered */
.founder-sticky-col {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Center the avatar ring */
.avatar-ring {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, var(--bandika-blue), #4893db);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    box-shadow: 0 18px 45px -12px rgba(30, 115, 190, 0.4);
}

/* Center name and subtitle */
.fn-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--bandika-text-dark);
    line-height: 1.2;
    margin-bottom: 6px;
    text-align: center;
}

.fn-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--bandika-blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 22px;
    text-align: center;
}

/* Center role pills container */
.role-pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    /* Space between pills */
    margin-bottom: 16px;
}

.role-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    /* Increased padding for better touch targets */
    border-radius: 30px;
    margin: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Optional hover effect for pills */
.role-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Center the quote */
.founder-quote {
    position: relative;
    margin-top: 22px;
    padding-left: 22px;
    padding-right: 10px;
    border-left: 3px solid var(--bandika-blue);
    text-align: left;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Center geo-line */
.geo-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    color: #5f6f90;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}

.geo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bandika-blue);
    flex-shrink: 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 991px) {
    .founder-content-col {
        padding-left: 15px;
        margin-top: 44px;
    }

    .founder-sticky-col {
        position: static;
        margin-bottom: 40px;
    }

    .founder-profile-section[data-watermark]::before {
        display: none;
    }

    /* Ensure all content stays centered on mobile */
    .founder-quote {
        max-width: 100%;
    }

    .role-pill {
        font-size: 11px;
        padding: 5px 11px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .avatar-ring {
        width: 200px;
        height: 200px;
    }

    .fn-name {
        font-size: 24px;
    }

    .fn-subtitle {
        font-size: 11px;
    }

    .founder-quote p {
        font-size: 14px;
    }

    .role-pill {
        font-size: 10px;
        padding: 4px 10px;
    }
}

.avatar-ring img {
    width: 100%;
    height: 100%;
    padding: auto;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.avatar-ring::after {
    content: "";
    position: absolute;
    inset: -11px;
    /* matches new size perfectly */
    border-radius: 50%;
    border: 2px dashed rgba(30, 115, 190, 0.35);
    animation: slowspin 22s linear infinite;
}

@keyframes slowspin {
    to {
        transform: rotate(360deg);
    }
}

.pill-blue {
    background: #e6f1fb;
    color: #185fa5;
    border: 1px solid #c2dcf6;
}

.pill-green {
    background: #e8f3e2;
    color: #2c6e2f;
    border: 1px solid #c2e0b5;
}

.pill-amber {
    background: #fef4e6;
    color: #a55c1a;
    border: 1px solid #fadc9f;
}

/* Right content */
.founder-content-col {
    padding-left: 60px;
}

@media (max-width: 991px) {
    .founder-content-col {
        padding-left: 15px;
        margin-top: 44px;
    }

    .founder-sticky-col {
        position: static;
    }

    .founder-profile-section[data-watermark]::before {
        display: none;
    }
}

.bio-pull {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: #1e2f44;
    border-left: 3px solid var(--bandika-blue);
    padding-left: 22px;
    margin-bottom: 26px;
}

.bio-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--bandika-text-muted);
    margin-bottom: 44px;
}

/* Expertise strips (refined) */
.exp-strip {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.exp-strip-head {
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #1b2982, #1f3187); /* Default background for all */
}

.exp-strip-head.cto {
    background: linear-gradient(135deg, #1b2982, #1f3187);
}

.exp-strip-head.cfo {
    background: linear-gradient(135deg, #1b2982, #1f3187);
}

.exp-strip-head.coo {
    background: linear-gradient(135deg, #1b2982, #1f3187);
}

.exp-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exp-strip-head .exp-role-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 4px;
}

.exp-strip-head .exp-role-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff !important;
}

.exp-strip-body {
    background: #fff;
    border: 1px solid #eef2f8;
    border-top: none;
    border-radius: 0 0 20px 20px;
    padding: 24px 28px;
}

.exp-strip-body p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

/* ── NEW: Credentials grid (cards row, 3 per row) ── */
.credentials-grid-section {
    margin-top: 64px;
    background: transparent;
}

.section-eyebrow {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--bandika-blue);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-heading-modern {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--bandika-text-dark);
    margin-bottom: 36px;
}

.cred-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 20px;
    transition: all 0.25s ease;
    border: 1px solid #eef2f8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.cred-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 115, 190, 0.25);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.06);
}

.cred-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.ci-bg-blue {
    background: #e6f1fb;
    color: #185fa5;
}

.ci-bg-amber {
    background: #fef4e6;
    color: #b55f1a;
}

.ci-bg-purple {
    background: #f0efff;
    color: #5e49b5;
}

.ci-bg-green {
    background: #e8f3e2;
    color: #2c6e2f;
}

.ci-bg-teal {
    background: #e1f0f5;
    color: #1f6e6e;
}

.cred-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8b9bb0;
    margin-bottom: 8px;
}

.cred-card-value {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 6px;
}

.cred-card-sub {
    font-size: 13px;
    color: #5f6f90;
    line-height: 1.5;
}

/* full-width light quote (soft gradient) */
.full-width-quote {
    width: 100%;
    background: linear-gradient(105deg, #eef5fc 0%, #f7fafd 100%);
    margin: 70px 0 0;
    padding: 70px 0;
    border-top: 1px solid rgba(30, 115, 190, 0.12);
    border-bottom: 1px solid rgba(30, 115, 190, 0.12);
}

.quote-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.full-width-quote p {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.45;
    color: #1a3f5c;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.quote-attr-light {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.quote-line {
    width: 32px;
    height: 2px;
    background: var(--bandika-blue);
    opacity: 0.5;
}

.quote-attr-light span {
    font-size: 14px;
    font-weight: 500;
    color: #4a6a85;
    letter-spacing: 0.02em;
}

/* CTA section */
.founder-cta {
    padding: 90px 0;
    background: #ffffff;
    text-align: center;
}

.founder-cta h2 {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

.founder-quote {
    position: relative;
    margin-top: 22px;
    padding-left: 22px;
    border-left: 3px solid var(--bandika-blue);
}

.founder-quote p {
    font-family: "Playfair Display", serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1e2f44;
    margin: 0;
}

.quote-mark {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 48px;
    color: rgba(30, 115, 190, 0.15);
    font-family: "Playfair Display", serif;
}

/* Scroll fade-up */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.d1 {
    transition-delay: 0.1s;
}

.d2 {
    transition-delay: 0.2s;
}

.d3 {
    transition-delay: 0.3s;
}

.d4 {
    transition-delay: 0.4s;
}

@media (max-width: 768px) {
    .full-width-quote p {
        font-size: 20px;
    }

    .cred-card-value {
        font-size: 15px;
    }

    .stat-number {
        font-size: 34px;
    }
}

/* Hub: founder directory cards */
/* Hub: founder directory cards - images fully occupy card space */
.founders-hub-grid {
    padding: 72px 0 96px;
    background: var(--bandika-bg-soft);
}

.founder-hub-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 28px;
    border: 1px solid #eef2f8;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.founder-hub-card:hover {
    transform: translateY(-6px);
    border-color: rgba(30, 115, 190, 0.28);
    box-shadow: 0 22px 40px -14px rgba(30, 115, 190, 0.18);
    color: inherit;
}

/* IMAGE AREA — fill the card edge-to-edge */
.founder-hub-card-media {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
    position: relative;
}

/* Remove the conditional media query and data-orientation rules */

/* Optional: Add a subtle dark overlay fallback for better text contrast if needed */
.founder-hub-card-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.02);
    pointer-events: none;
}

/* Keep responsive adjustments */
@media (max-width: 768px) {
    .founder-hub-card-media {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .founder-hub-card-media {
        height: 240px;
    }
}

/* Portrait images still fill card area */
.founder-hub-card-media[data-orientation="portrait"] {
    background-size: cover;
    background-position: center 25%;
}

/* Hover effect subtle */
.founder-hub-card:hover .founder-hub-card-media {
    transform: scale(1.02);
}

/* Body styling */
.founder-hub-card-body {
    padding: 28px 26px 32px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.founder-hub-card-body h2 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--bandika-text-dark);
    margin-bottom: 8px;
}

.founder-hub-role {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bandika-blue);
    margin-bottom: 14px;
}

.founder-hub-teaser {
    font-size: 15px;
    line-height: 1.65;
    color: var(--bandika-text-muted);
    margin: 0;
}

.founder-hub-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bandika-blue);
    opacity: 1;
    visibility: visible;
    transition: gap 0.2s ease;
}

.founder-hub-card:hover .founder-hub-link {
    gap: 12px;
}

/* Responsive: maintain image space */
@media (max-width: 768px) {
    .founder-hub-card-media {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .founder-hub-card-media {
        height: 240px;
    }
}