/* =========================================
   ULTRA-PREMIUM FOUNDERS PAGE STYLES
   ========================================= */

/* Variables specifically for this page */
:root {
    --f-navy: #071827;
    --f-gold: #C99A3A;
    --f-gold-light: #dfb969;
    --f-white: #ffffff;
    --f-offwhite: #fcfcfc;
    --f-text-light: #5a6673;
    
    --f-font-heading: 'Playfair Display', serif;
    --f-font-body: 'Inter', sans-serif;
    
    --f-transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.page-founders {
    background-color: var(--f-white);
    color: var(--f-navy);
    font-family: var(--f-font-body);
}

/* ── Header ── */
.founders-main {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.founders-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.founders-title {
    font-family: var(--f-font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--f-navy);
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.founders-divider {
    width: 60px;
    height: 2px;
    background-color: var(--f-gold);
    margin: 0 auto 40px;
}

.founders-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--f-text-light);
    font-weight: 300;
}

/* ── Grid ── */
.founders-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 80px;
}

@media (min-width: 768px) {
    .founders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .founders-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* ── Premium Golden Box Cards ── */
.founder-card {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0a1628;
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    background: linear-gradient(45deg, transparent, rgba(197, 168, 128, 0.8), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(197, 168, 128, 0.15);
}

.founder-card:hover::before {
    opacity: 1;
}

.fcard-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 2px solid rgba(197, 168, 128, 0.5);
    background-color: var(--f-navy);
}

.fcard-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
    display: block;
}

.founder-card:hover .fcard-img-wrapper img {
    transform: scale(1.08);
}

.fcard-info {
    padding: 2rem 1.75rem;
    background: #0a1628;
    text-align: left;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fcard-name {
    font-family: var(--f-font-heading);
    color: #ffffff;
    font-size: 2rem; /* increased font size */
    font-weight: 500;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.founder-card:hover .fcard-name {
    color: var(--f-gold);
}

.fcard-role {
    font-size: 0.95rem; /* increased */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--f-gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.fcard-qual, .fcard-exp {
    font-size: 1.05rem; /* increased */
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
}

.fcard-btn {
    margin-top: 25px;
    background: none;
    border: none;
    padding: 0;
    font-family: var(--f-font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
}

.fcard-btn .arrow {
    margin-left: 10px;
    transition: transform 0.3s;
}

.founder-card:hover .fcard-btn {
    color: var(--f-gold);
}

.founder-card:hover .fcard-btn .arrow {
    transform: translateX(5px);
}

/* Entry Animation */
.founder-card {
    animation: fadeUpIn 0.8s ease backwards;
}
@keyframes fadeUpIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
.founders-grid > div:nth-child(1) { animation-delay: 0.1s; }
.founders-grid > div:nth-child(2) { animation-delay: 0.2s; }
.founders-grid > div:nth-child(3) { animation-delay: 0.3s; }
.founders-grid > div:nth-child(4) { animation-delay: 0.4s; }
.founders-grid > div:nth-child(5) { animation-delay: 0.5s; }
.founders-grid > div:nth-child(6) { animation-delay: 0.6s; }


/* ── Modals ── */
.founder-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.founder-modal.is-active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.fmodal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 24, 39, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fmodal-content {
    position: relative;
    width: 90vw;
    max-width: 1600px;
    height: 90vh;
    background-color: var(--f-white);
    background-image: url('data:image/svg+xml;utf8,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="200" height="200" filter="url(%23noise)" opacity="0.015"/></svg>');
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.founder-modal.is-active .fmodal-content {
    transform: scale(1) translateY(0);
}

@media (max-width: 1023px) {
    .fmodal-content {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
}

.fmodal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--f-navy);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s, color 0.3s;
    line-height: 1;
}

.fmodal-close:hover {
    transform: rotate(90deg);
    color: var(--f-gold);
}

.fmodal-grid {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    height: 100%;
}

@media (min-width: 1024px) {
    .fmodal-grid {
        flex-direction: row;
    }
}

.fmodal-text-col {
    flex: 1;
    padding: 60px 80px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1023px) {
    .fmodal-text-col {
        padding: 40px 30px;
    }
}

.fmodal-img-col {
    flex: 1;
    position: relative;
    background-color: var(--f-offwhite);
}

@media (max-width: 1023px) {
    .fmodal-img-col {
        min-height: 40vh;
    }
}

.fmodal-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Modal Typography & Inner Layout */
.fmodal-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--f-text-light);
    display: block;
    margin-bottom: 20px;
}

.fmodal-name {
    font-family: var(--f-font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--f-navy);
    margin-bottom: 10px;
    line-height: 1.1;
}

.fmodal-role {
    font-size: 1.25rem;
    color: var(--f-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.fmodal-qual {
    font-size: 1.1rem;
    color: var(--f-text-light);
    margin-bottom: 40px;
}

.fmodal-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(201, 154, 58, 0.3);
    margin-bottom: 40px;
}

.fmodal-body {
    flex: 1;
}

.fmodal-body h4 {
    font-family: var(--f-font-heading);
    font-size: 1.4rem;
    color: var(--f-navy);
    margin-top: 30px;
    margin-bottom: 15px;
    font-style: italic;
}

.fmodal-body h4:first-child {
    margin-top: 0;
}

.fmodal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--f-text-light);
    margin-bottom: 20px;
}

.fmodal-quote {
    font-family: var(--f-font-heading);
    font-size: 1.5rem !important;
    color: var(--f-gold) !important;
    border-left: 3px solid var(--f-gold);
    padding-left: 20px;
    margin-top: 40px !important;
    font-style: italic;
}

.fmodal-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.fmodal-footer p {
    font-size: 1rem;
    color: var(--f-text-light);
    margin-bottom: 10px;
}

.fmodal-footer a {
    color: var(--f-navy);
    text-decoration: underline;
    text-decoration-color: var(--f-gold);
}

.fmodal-cta {
    display: inline-block;
    margin-top: 20px;
    background-color: var(--f-navy);
    color: var(--f-white);
    padding: 15px 35px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.fmodal-cta:hover {
    background-color: var(--f-gold);
}

/* Mobile Responsiveness Overrides */
@media (max-width: 1023px) {
    .founders-grid-container {
        padding: 0 20px;
    }
    .founders-main {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    .founders-header {
        margin-bottom: 30px;
    }
    .founders-grid {
        gap: 30px;
    }
    .fmodal-close {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 50%;
        color: var(--f-navy);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        z-index: 100;
    }
    .fmodal-text-col {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .founders-grid-container {
        padding: 0 16px;
    }
    .fcard-name {
        font-size: 1.5rem;
    }
    .fcard-info {
        padding: 1.5rem 1.25rem;
    }
    .fmodal-name {
        font-size: 2rem;
    }
}

/* ==========================================================================
   ULTRA-PREMIUM HERO FOUNDERS SHOWCASE SECTION
   ========================================================================== */

.founders-showcase {
    position: relative;
    background-color: #050e17;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(201, 154, 58, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 20% 40%, rgba(15, 35, 55, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 40%, rgba(15, 35, 55, 0.5) 0%, transparent 50%);
    color: #ffffff;
    padding: 120px 0 140px;
    overflow: hidden;
    width: 100%;
}

/* Background Ambient Lighting Lines (mirroring photo background lights) */
.founders-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(201, 154, 58, 0.03) 20%, 
            transparent 21%, 
            transparent 40%, 
            rgba(201, 154, 58, 0.03) 41%, 
            transparent 42%, 
            transparent 60%, 
            rgba(201, 154, 58, 0.03) 61%, 
            transparent 62%, 
            transparent 80%, 
            rgba(201, 154, 58, 0.03) 81%, 
            transparent 82%
        );
    pointer-events: none;
    z-index: 1;
}

.founders-showcase__container {
    position: relative;
    z-index: 2;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 1 & 2. Eyebrow Label & Headline */
.founders-showcase__header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 56px;
}

.founders-showcase__eyebrow {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #C99A3A;
    margin-bottom: 18px;
    position: relative;
    padding: 0 12px;
}

.founders-showcase__eyebrow::before,
.founders-showcase__eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: rgba(201, 154, 58, 0.4);
}
.founders-showcase__eyebrow::before { left: -24px; }
.founders-showcase__eyebrow::after { right: -24px; }

.founders-showcase__headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

.founders-showcase__headline .gold-text,
.founders-showcase__headline span {
    color: #c8a45e !important;
    -webkit-text-fill-color: #c8a45e !important;
    background: none !important;
    font-style: italic !important;
    font-weight: 500;
}

/* 3. Group Visual Hero Frame */
.founders-showcase__visual-wrap {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 48px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(201, 154, 58, 0.35) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(201, 154, 58, 0.2) 100%);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85), 0 0 60px rgba(201, 154, 58, 0.06);
}

.founders-showcase__image-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background-color: #071827;
    line-height: 0;
}

.founders-showcase__group-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.005);
}

.founders-showcase__visual-wrap:hover .founders-showcase__group-img {
    transform: scale(1.02);
}

/* Vignette Edges for smooth blending */
.founders-showcase__vignette-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(to bottom, rgba(5, 14, 23, 0.25) 0%, transparent 20%, transparent 80%, rgba(5, 14, 23, 0.7) 100%),
        linear-gradient(to right, rgba(5, 14, 23, 0.3) 0%, transparent 10%, transparent 90%, rgba(5, 14, 23, 0.3) 100%);
    pointer-events: none;
    z-index: 2;
}

/* 5 Spotlight Overlay Columns */
.founders-showcase__spotlights {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    z-index: 3;
    pointer-events: none;
}

.founders-showcase__spotlight-col {
    flex: 1;
    height: 100%;
    background: linear-gradient(180deg, rgba(201, 154, 58, 0.18) 0%, rgba(201, 154, 58, 0.03) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-left: 1px solid rgba(201, 154, 58, 0.08);
    border-right: 1px solid rgba(201, 154, 58, 0.08);
}

.founders-showcase__spotlight-col.active {
    opacity: 1;
}

/* 4 & 5. Names + Designations Navigation Index */
.founders-showcase__names-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto 64px;
    padding: 0 10px;
}

.founders-showcase__name-item {
    text-align: center;
    padding: 20px 12px 24px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    user-select: none;
}

.founders-showcase__name-item:hover,
.founders-showcase__name-item.active {
    background: rgba(201, 154, 58, 0.06);
    border-color: rgba(201, 154, 58, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 154, 58, 0.08);
}

.founders-showcase__name {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #ffffff;
    margin: 0 0 6px 0;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.founders-showcase__name-item:hover .founders-showcase__name,
.founders-showcase__name-item.active .founders-showcase__name {
    color: #C99A3A;
}

.founders-showcase__role {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    transition: color 0.3s ease;
}

.founders-showcase__name-item:hover .founders-showcase__role,
.founders-showcase__name-item.active .founders-showcase__role {
    color: rgba(255, 255, 255, 0.85);
}

.founders-showcase__name-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C99A3A, transparent);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.founders-showcase__name-item:hover .founders-showcase__name-line,
.founders-showcase__name-item.active .founders-showcase__name-line {
    width: 70%;
}

/* 6. Founder Words Area */
.founders-showcase__words-area {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid rgba(201, 154, 58, 0.15);
    position: relative;
}

.founders-showcase__words-sub {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #C99A3A;
    margin-bottom: 24px;
    opacity: 0.9;
}

.founders-showcase__quote-card {
    position: relative;
    padding: 10px 20px;
}

.founders-showcase__quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 0.4;
    color: rgba(201, 154, 58, 0.25);
    margin-bottom: 12px;
    user-select: none;
}

.founders-showcase__quotes-wrapper {
    position: relative;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founders-showcase__quote-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}

.founders-showcase__quote-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.founders-showcase__quote-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-style: italic;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.founders-showcase__quote-author {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C99A3A;
    font-style: normal;
}

/* Minimal Quote Indicator Dots */
.founders-showcase__quote-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.founders-showcase__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(201, 154, 58, 0.3);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.founders-showcase__dot:hover,
.founders-showcase__dot.active {
    background: #C99A3A;
    width: 28px;
    border-radius: 6px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .founders-showcase {
        padding: 90px 0 100px;
    }
    .founders-showcase__names-nav {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
    .founders-showcase__name {
        font-size: 0.95rem;
    }
    .founders-showcase__role {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .founders-showcase {
        padding: 70px 0 80px;
    }
    .founders-showcase__header {
        margin-bottom: 40px;
    }
    .founders-showcase__names-nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 12px;
        gap: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .founders-showcase__name-item {
        flex: 0 0 180px;
        scroll-snap-align: center;
        padding: 16px 10px;
    }
    .founders-showcase__words-area {
        padding-top: 36px;
    }
    .founders-showcase__quotes-wrapper {
        min-height: 140px;
    }
}

@media (max-width: 480px) {
    .founders-showcase__name-item {
        flex: 0 0 150px;
    }
    .founders-showcase__name {
        font-size: 0.9rem;
    }
    .founders-showcase__role {
        font-size: 0.7rem;
    }
}


