/* =========================================================
command : php -S 0.0.0.0:8000
   ABOUT PAGE
   Loads AFTER main.css
=========================================================*/
/* =========================================================
   HERO
=========================================================*/

.about-hero{
    position:relative;
    min-height:900px;
    display:flex;
    align-items:center;
    overflow:hidden;
    padding:170px max(5vw,34px) 120px;
}

.about-hero-background,
.about-hero-shade{
    position:absolute;
    inset:0;
}

.about-hero-background img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.about-hero-shade{
    background:
    linear-gradient(
        90deg,
        rgba(4,19,47,.98) 0%,
        rgba(4,19,47,.90) 35%,
        rgba(4,19,47,.50) 65%,
        rgba(4,19,47,.15) 100%
    ),
    linear-gradient(
        0deg,
        rgba(4,19,47,.96),
        transparent 42%
    );
}

.about-hero-glow{

    position:absolute;

    width:500px;
    height:500px;

    top:22%;
    left:28%;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(53,199,89,.18),
        transparent 70%
    );

    filter:blur(25px);

}

.about-hero-inner{

    position:relative;
    z-index:2;

    width:min(100%,var(--page-width));

    margin:0 auto;

}

.about-eyebrow{

    color:var(--green-300);

    letter-spacing:.14em;

    text-transform:uppercase;

    font-size:13px;

    font-weight:800;

    margin-bottom:20px;

}

.about-hero h1{

    max-width:820px;

    margin:0;

    font-size:clamp(68px,7vw,105px);

    line-height:.95;

    letter-spacing:-.06em;

}

.about-hero h1 span{

    display:block;

    color:var(--green-400);

}

.about-hero-copy{

    max-width:640px;

    margin-top:28px;

    color:#c4d0e4;

    font-size:20px;

    line-height:1.7;

}

.about-hero-actions{

    display:flex;

    gap:15px;

    margin-top:42px;

}

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

.about-section-heading,
.about-process-heading,
.about-match-heading{

    width:min(100%,900px);

    margin:0 auto 60px;

    text-align:center;

}

.about-section-heading h2,
.about-process-heading h2,
.about-match-heading h2,
.about-mission h2,
.about-cta h2{

    margin:0;

    font-size:clamp(45px,5vw,72px);

    line-height:1.05;

    letter-spacing:-.05em;

}

/* =========================================================
   WHY ENGROUP
=========================================================*/

.about-why{

    padding:110px max(5vw,34px);

    background:var(--surface);

    color:var(--text-dark);

}

.about-why .about-section-heading h2{

    color:var(--text-dark);

}

.why-flow{

    width:min(100%,1180px);

    margin:auto;

    display:grid;

    grid-template-columns:

    1fr auto 1fr auto 1fr;

    align-items:center;

    gap:20px;

}

.why-card{

    background:white;

    border-radius:24px;

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

    min-height:310px;

    padding:35px;

    box-shadow:

    0 24px 60px rgba(13,35,77,.08);

    transition:.3s;

}

.why-card:hover{

    transform:translateY(-7px);

    border-color:rgba(53,199,89,.4);

    box-shadow:

    0 32px 75px rgba(13,35,77,.14);

}

.why-number{

    color:#28a64b;

    font-size:12px;

    font-weight:800;

    letter-spacing:.1em;

}

.why-symbol{

    width:72px;

    height:72px;

    margin-top:55px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:18px;

    background:

    linear-gradient(

        145deg,

        var(--green-400),

        var(--purple-400)

    );

    color:var(--navy-950);

    font-size:30px;

    font-weight:900;

}

.why-card h3{

    margin-top:28px;

    margin-bottom:10px;

    color:var(--text-dark);

    font-size:30px;

}

.why-card p{

    margin:0;

    color:var(--text-body);

    line-height:1.6;

}

.why-arrow{

    font-size:36px;

    color:#8191ab;

}

/* =========================================================
   TIMELINE
=========================================================*/

.about-process{

    padding:120px max(5vw,34px);

    background:

    radial-gradient(

        circle at center,

        rgba(53,199,89,.10),

        transparent 34%

    ),

    linear-gradient(

        180deg,

        var(--navy-950),

        #06183a

    );

}

.about-timeline{

    width:min(100%,1180px);

    margin:auto;

    display:grid;

    grid-template-columns:

    auto

    1fr

    auto

    1fr

    auto

    1fr

    auto;

    align-items:center;

    gap:18px;

}

.timeline-step{

    padding:24px;

    min-width:150px;

    border-radius:18px;

    background:

    rgba(255,255,255,.05);

    border:

    1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(16px);

    text-align:center;

}

.timeline-step span{

    display:block;

    color:var(--green-400);

    font-size:11px;

    font-weight:900;

    margin-bottom:10px;

    letter-spacing:.1em;

}

.timeline-step strong{

    font-size:17px;

}

.timeline-line{

    height:2px;

    background:

    linear-gradient(

        90deg,

        var(--green-500),

        var(--purple-400)

    );

}
/* =========================================================
   TEAM MATCH SECTION
=========================================================*/

.about-match{
    padding:120px max(5vw,34px);
    background:#f7f9fc;
    color:var(--text-dark);
}

.about-match-heading h2{
    color:var(--text-dark);
}

.match-stage{
    width:min(100%,1180px);
    margin:auto;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:32px;
}

.profile-preview{
    min-height:260px;
    padding:34px;
    display:flex;
    align-items:center;
    gap:24px;
    background:#ffffff;
    border:1px solid var(--light-border);
    border-radius:24px;
    box-shadow:0 24px 60px rgba(13,35,77,.09);
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.profile-preview:hover{
    transform:translateY(-7px);
    box-shadow:0 34px 80px rgba(13,35,77,.15);
}

.founder-preview:hover{
    border-color:rgba(53,199,89,.45);
}

.collaborator-preview:hover{
    border-color:rgba(138,92,246,.42);
}

.profile-avatar{
    flex:0 0 auto;
    width:88px;
    height:88px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:24px;
    background:linear-gradient(145deg,var(--green-400),var(--green-600));
    color:var(--navy-950);
    font-size:25px;
    font-weight:900;
    letter-spacing:-.03em;
    box-shadow:0 15px 35px rgba(53,199,89,.22);
}

.profile-avatar-purple{
    background:linear-gradient(145deg,var(--purple-300),var(--purple-500));
    color:#ffffff;
    box-shadow:0 15px 35px rgba(138,92,246,.25);
}

.profile-type{
    margin:0 0 7px;
    color:#6f7e97;
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.profile-preview h3{
    margin:0;
    color:var(--text-dark);
    font-size:29px;
    line-height:1.15;
}

.profile-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:20px;
}

.profile-tags span{
    padding:8px 11px;
    border-radius:999px;
    background:#eef3f8;
    color:#46546a;
    font-size:12px;
    font-weight:700;
}

.match-connection{
    min-width:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.match-line{
    width:48px;
    height:2px;
    background:linear-gradient(90deg,var(--green-500),var(--purple-400));
}

.match-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--green-400);
    box-shadow:0 0 18px rgba(53,199,89,.85);
}

.match-dot-purple{
    background:var(--purple-400);
    box-shadow:0 0 18px rgba(138,92,246,.75);
}

.match-connection strong{
    display:flex;
    align-items:center;
    justify-content:center;
    width:82px;
    height:82px;
    border-radius:50%;
    background:linear-gradient(145deg,var(--navy-900),var(--navy-700));
    color:#ffffff;
    font-size:12px;
    letter-spacing:.13em;
    box-shadow:0 20px 45px rgba(4,19,47,.25);
}

/* =========================================================
   FEATURE GRID
=========================================================*/

.about-features{
    padding:25px max(5vw,34px) 120px;
    background:#f7f9fc;
}

.about-feature-grid{
    width:min(100%,1180px);
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.about-feature-card{
    min-height:235px;
    padding:30px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border-radius:22px;
    background:#ffffff;
    border:1px solid var(--light-border);
    box-shadow:0 20px 50px rgba(13,35,77,.07);
    transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.about-feature-card:hover{
    transform:translateY(-7px);
    border-color:rgba(53,199,89,.38);
    box-shadow:0 30px 65px rgba(13,35,77,.12);
}

.feature-mark{
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:linear-gradient(145deg,var(--green-400),var(--purple-400));
    color:var(--navy-950);
    font-weight:900;
    font-size:18px;
}

.about-feature-card h3{
    margin:0;
    color:var(--text-dark);
    font-size:25px;
    line-height:1.2;
    letter-spacing:-.025em;
}

/* =========================================================
   MISSION
=========================================================*/

.about-mission{
    position:relative;
    overflow:hidden;
    min-height:560px;
    padding:120px max(5vw,34px);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:
        radial-gradient(circle at 50% 30%,rgba(53,199,89,.14),transparent 35%),
        linear-gradient(180deg,#06183a,var(--navy-950));
}

.about-mission-glow{
    position:absolute;
    width:620px;
    height:620px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(138,92,246,.14),transparent 68%);
    filter:blur(25px);
}

.about-mission > *{
    position:relative;
    z-index:1;
}

.about-mission h2{
    max-width:950px;
    color:#ffffff;
}

.about-mission .section-eyebrow{
    color:var(--green-300);
}

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

.about-cta{
    padding:110px max(5vw,34px);
    background:#eef3f7;
}

.about-cta-content{
    width:min(100%,1180px);
    margin:auto;
    padding:75px 40px;
    text-align:center;
    border-radius:30px;
    background:
        radial-gradient(circle at 70% 10%,rgba(53,199,89,.15),transparent 30%),
        linear-gradient(140deg,var(--navy-950),#0b2854);
    box-shadow:0 30px 80px rgba(4,19,47,.22);
}

.about-cta-content h2{
    max-width:820px;
    margin:0 auto;
    color:#ffffff;
}

.about-cta-content .button{
    margin-top:34px;
}

.about-cta-content .section-eyebrow{
    color:var(--green-300);
}

/* =========================================================
   GENERAL ABOUT PAGE DETAILS
=========================================================*/

.section-eyebrow{
    margin:0 0 16px;
    color:#28a64b;
    font-size:12px;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.about-hero .button,
.about-cta .button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-height:54px;
    padding:0 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:800;
    transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.about-hero .button:hover,
.about-cta .button:hover{
    transform:translateY(-3px);
}

.about-hero .button-primary,
.about-cta .button-primary{
    background:var(--green-400);
    color:var(--navy-950);
    box-shadow:0 14px 30px rgba(53,199,89,.22);
}

.about-hero .button-primary:hover,
.about-cta .button-primary:hover{
    background:var(--green-300);
    box-shadow:0 20px 42px rgba(53,199,89,.3);
}

.about-hero .button-secondary{
    border:1px solid rgba(255,255,255,.25);
    background:rgba(255,255,255,.07);
    color:#ffffff;
    backdrop-filter:blur(12px);
}

.about-hero .button-secondary:hover{
    background:rgba(255,255,255,.12);
}

/* =========================================================
   ENTRY ANIMATIONS
=========================================================*/

@keyframes aboutFadeUp{
    from{
        opacity:0;
        transform:translateY(24px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.about-hero-inner,
.about-section-heading,
.about-process-heading,
.about-match-heading,
.why-card,
.timeline-step,
.profile-preview,
.about-feature-card,
.about-mission h2,
.about-cta-content{
    animation:aboutFadeUp .8s ease both;
}

.why-card:nth-of-type(2),
.timeline-step:nth-of-type(2),
.about-feature-card:nth-child(2){
    animation-delay:.08s;
}

.why-card:nth-of-type(3),
.timeline-step:nth-of-type(3),
.about-feature-card:nth-child(3){
    animation-delay:.16s;
}

.timeline-step:nth-of-type(4),
.about-feature-card:nth-child(4){
    animation-delay:.24s;
}

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

@media (max-width:1100px){

    .about-hero{
        min-height:780px;
    }

    .about-hero h1{
        font-size:clamp(58px,8vw,85px);
    }

    .why-flow{
        grid-template-columns:1fr;
    }

    .why-arrow{
        transform:rotate(90deg);
        text-align:center;
    }

    .why-card{
        min-height:auto;
    }

    .why-symbol{
        margin-top:35px;
    }

    .match-stage{
        grid-template-columns:1fr;
    }

    .match-connection{
        transform:rotate(90deg);
        margin:10px auto;
    }

    .match-connection strong{
        transform:rotate(-90deg);
    }

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

@media (max-width:850px){

    .about-hero{
        min-height:720px;
        padding-top:145px;
    }

    .about-hero-shade{
        background:
            linear-gradient(
                90deg,
                rgba(4,19,47,.98) 0%,
                rgba(4,19,47,.88) 70%,
                rgba(4,19,47,.68) 100%
            ),
            linear-gradient(
                0deg,
                rgba(4,19,47,.98),
                transparent 45%
            );
    }

    .about-hero-inner{
        text-align:left;
    }

    .about-hero-copy{
        font-size:18px;
    }

    .about-timeline{
        grid-template-columns:1fr;
    }

    .timeline-line{
        width:2px;
        height:42px;
        margin:auto;
    }

    .timeline-step{
        width:100%;
    }

    .profile-preview{
        min-height:auto;
    }
}

@media (max-width:650px){

    .about-hero{
        min-height:680px;
        padding:135px 20px 80px;
    }

    .about-hero h1{
        font-size:clamp(48px,15vw,68px);
    }

    .about-hero-copy{
        font-size:16px;
        line-height:1.65;
    }

    .about-hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .about-hero .button{
        width:100%;
    }

    .about-why,
    .about-process,
    .about-match,
    .about-mission,
    .about-cta{
        padding-left:20px;
        padding-right:20px;
    }

    .about-section-heading h2,
    .about-process-heading h2,
    .about-match-heading h2,
    .about-mission h2,
    .about-cta h2{
        font-size:clamp(39px,12vw,54px);
    }

    .profile-preview{
        flex-direction:column;
        align-items:flex-start;
    }

    .match-connection{
        min-width:170px;
    }

    .about-feature-grid{
        grid-template-columns:1fr;
    }

    .about-feature-card{
        min-height:190px;
    }

    .about-cta-content{
        padding:60px 24px;
        border-radius:24px;
    }
}

@media (prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        scroll-behavior:auto !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}