/* =========================================================
   MARCUS SCIENCE GROUP — ABOUT PAGE
   ========================================================= */

:root {
    --about-green: #42b96c;
    --about-dark: #0b1419;
    --about-ink: #17201e;
    --about-muted: #687572;
    --about-light: #f5f8f6;
    --about-white: #ffffff;
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--about-ink);
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.about-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.about-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-top: 18px;
}

.about-nav {
    width: min(930px, calc(100% - 48px));
    min-height: 78px;
    margin: 0 auto;

    background: rgba(255,255,255,.97);

    border-radius: 0 0 24px 24px;

    box-shadow:
        0 14px 35px rgba(10,30,40,.14);

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 0 30px;
}

.about-nav-left,
.about-nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.about-nav-right {
    justify-content: flex-end;
}

.about-nav a,
.about-dropdown button {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #17201e;
}

.about-nav a {
    transition:
        color .25s ease,
        transform .25s ease;
}

.about-nav a:hover {
    color: var(--about-green);
    transform: translateY(-1px);
}

.about-nav a.active {
    color: var(--about-green);
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.about-dropdown {
    position: relative;
}

.about-dropdown button {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.about-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: -18px;

    width: 210px;

    padding: 10px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 18px 40px rgba(10,30,40,.14);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;
}

.about-dropdown:hover .about-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.about-dropdown-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 9px;
}

.about-dropdown-menu a:hover {
    background: #f1f7f3;
}


/* =========================================================
   BRAND
   ========================================================= */

.about-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.about-brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #10202d;

    overflow: hidden;
}

.about-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.about-brand-text strong {
    font-size: 15px;
    font-weight: 800;
}

.about-brand-text small {
    margin-top: 5px;
    color: #8d9795;
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================================
   ABOUT HERO
   ========================================================= */

.about-hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 170px 24px 100px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0b222d,
            #123d45
        );
}

.about-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(66,185,108,.20),
            transparent 38%
        );
}

.about-hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, 100%);
}

.about-eyebrow {
    display: inline-block;

    margin-bottom: 24px;

    padding: 9px 15px;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 999px;

    color: #ffffff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.about-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 82px);

    line-height: .98;

    letter-spacing: -4px;

    font-weight: 800;
}

.about-hero h1 span {
    color: var(--about-green);
}

.about-hero p {
    max-width: 680px;

    margin: 30px auto 0;

    color: rgba(255,255,255,.78);

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   WHO WE ARE
   ========================================================= */

.about-introduction {
    padding: 120px 0;
    background: #ffffff;
}

.about-section-label {
    margin-bottom: 18px;

    color: var(--about-green);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 90px;
}

.about-intro-grid h2 {
    margin: 0;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.04;

    letter-spacing: -2.5px;
}

.about-intro-grid h2 span {
    color: var(--about-green);
}

.about-intro-grid p {
    margin: 0 0 20px;

    color: var(--about-muted);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   MISSION / VISION
   ========================================================= */

.mission-section {
    padding: 100px 0;

    background: var(--about-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 24px;
}

.mission-card {
    padding: 50px;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 15px 40px rgba(10,30,40,.07);

    display: grid;
    grid-template-columns: auto 1fr;

    gap: 30px;
}

.mission-card.dark {
    color: #ffffff;
    background: var(--about-dark);
}

.mission-number {
    font-size: 14px;
    font-weight: 800;
    color: var(--about-green);
}

.mission-card h3 {
    margin: 0 0 18px;

    font-size: 30px;

    line-height: 1.15;

    letter-spacing: -1px;
}

.mission-card p {
    margin: 0;

    color: var(--about-muted);

    line-height: 1.7;
}

.mission-card.dark p {
    color: rgba(255,255,255,.65);
}


/* =========================================================
   WHAT WE DO
   ========================================================= */

.what-we-do {
    padding: 120px 0;
    background: #ffffff;
}

.about-section-heading {
    max-width: 760px;
    margin-bottom: 60px;
}

.about-section-heading h2 {
    margin: 0;

    font-size: clamp(38px, 5vw, 64px);

    line-height: 1;

    letter-spacing: -3px;
}

.about-section-heading h2 span {
    color: var(--about-green);
}

.about-section-heading p {
    margin-top: 24px;

    color: var(--about-muted);

    font-size: 16px;

    line-height: 1.7;
}

.about-feature-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.about-feature-card {
    padding: 34px 28px;

    min-height: 250px;

    border: 1px solid #e8eeeb;

    border-radius: 22px;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.about-feature-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(10,30,40,.10);
}

.about-feature-card span {
    color: var(--about-green);

    font-size: 13px;

    font-weight: 800;
}

.about-feature-card h3 {
    margin: 45px 0 14px;

    font-size: 21px;
}

.about-feature-card p {
    margin: 0;

    color: var(--about-muted);

    line-height: 1.6;

    font-size: 14px;
}


/* =========================================================
   IMPACT
   ========================================================= */

.about-impact {
    padding: 110px 0;

    color: #ffffff;

    background: var(--about-dark);
}

.about-impact h2 {
    margin: 0;

    font-size: clamp(40px, 5vw, 65px);

    letter-spacing: -3px;
}

.about-impact > .about-container > p {
    max-width: 680px;

    color: rgba(255,255,255,.65);

    line-height: 1.7;
}

.impact-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    margin-top: 70px;

    border-top: 1px solid rgba(255,255,255,.12);
}

.impact-grid div {
    padding: 35px 20px;

    border-right: 1px solid rgba(255,255,255,.12);
}

.impact-grid div:last-child {
    border-right: 0;
}

.impact-grid strong {
    display: block;

    color: var(--about-green);

    font-size: 42px;

    letter-spacing: -2px;
}

.impact-grid span {
    display: block;

    margin-top: 8px;

    color: rgba(255,255,255,.65);

    font-size: 13px;
}


/* =========================================================
   CTA
   ========================================================= */

.about-cta {
    padding: 100px 0;

    background: #f5f8f6;
}

.about-cta-box {
    padding: 75px 50px;

    text-align: center;

    background: #ffffff;

    border-radius: 30px;

    box-shadow:
        0 20px 55px rgba(10,30,40,.08);
}

.about-cta-box h2 {
    margin: 0;

    font-size: clamp(38px, 5vw, 62px);

    line-height: 1;

    letter-spacing: -3px;
}

.about-cta-box h2 span {
    color: var(--about-green);
}

.about-cta-box p {
    max-width: 650px;

    margin: 25px auto 35px;

    color: var(--about-muted);

    line-height: 1.7;
}

.about-cta-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;
}

.about-primary-button,
.about-secondary-button {
    padding: 15px 24px;

    border-radius: 12px;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.about-primary-button {
    color: #ffffff;

    background: var(--about-green);
}

.about-secondary-button {
    background: #eef3f0;
}

.about-primary-button:hover,
.about-secondary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(10,30,40,.12);
}


/* =========================================================
   FOOTER
   ========================================================= */

.about-footer {
    padding-top: 80px;

    color: #ffffff;

    background: #081117;
}

.about-footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1.2fr;

    gap: 60px;

    padding-bottom: 60px;
}

.about-footer-brand {
    font-size: 20px;

    font-weight: 800;
}

.about-footer p {
    color: rgba(255,255,255,.58);

    line-height: 1.7;

    font-size: 14px;
}

.about-footer h4 {
    margin: 0 0 20px;

    font-size: 14px;
}

.about-footer a {
    display: block;

    margin-bottom: 12px;

    color: rgba(255,255,255,.60);

    font-size: 13px;
}

.about-footer a:hover {
    color: var(--about-green);
}

.about-footer-bottom {
    padding: 22px;

    text-align: center;

    border-top: 1px solid rgba(255,255,255,.08);

    color: rgba(255,255,255,.45);

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .about-nav {
        width: calc(100% - 24px);
        padding: 0 18px;
    }

    .about-nav-left,
    .about-nav-right {
        gap: 14px;
    }

    .about-brand-text {
        display: none;
    }

    .about-intro-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .impact-grid div:nth-child(2) {
        border-right: 0;
    }

    .about-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 600px) {

    .about-header {
        padding-top: 10px;
    }

    .about-nav {
        min-height: 64px;
    }

    .about-nav-left a:first-child {
        display: none;
    }

    .about-nav-left,
    .about-nav-right {
        gap: 10px;
    }

    .about-nav a,
    .about-dropdown button {
        font-size: 11px;
    }

    .about-hero {
        min-height: 600px;
        padding: 140px 20px 80px;
    }

    .about-hero h1 {
        font-size: clamp(42px, 12vw, 58px);
        letter-spacing: -2.5px;
    }

    .about-hero p {
        font-size: 14px;
    }

    .about-introduction,
    .what-we-do {
        padding: 80px 0;
    }

    .mission-section,
    .about-impact {
        padding: 80px 0;
    }

    .mission-card {
        padding: 30px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-feature-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .impact-grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .about-cta-box {
        padding: 50px 25px;
    }

    .about-cta-buttons {
        flex-direction: column;
    }

    .about-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-container {
        width: min(100% - 32px, 1180px);
    }
}