/* about.css — extracted verbatim from pages/about.php */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
        --dark:        #0A0A0A;
        --amber:       #D97706;
        --amber-hover: #B45309;
        --muted:       #666666;
        --border:      rgba(255,255,255,0.08);
        --max-w:       1200px;
        --gutter:      2.5rem;
    }

    html { scroll-behavior: smooth; }

    body {
        font-family: 'DM Sans', sans-serif;
        background: var(--dark);
        color: #fff;
        line-height: 1.75;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
    }

    .wrap {
        width: 100%;
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 0 var(--gutter);
    }

    h1, h2, h3 {
        font-family: 'Sora', sans-serif;
        font-weight: 800;
        letter-spacing: -0.03em;
        line-height: 1.08;
    }

    p { color: rgba(255,255,255,0.7); line-height: 1.8; }

    .eyebrow {
        display: block;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 1.25rem;
    }

    .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .fade-up.visible { opacity: 1; transform: translateY(0); }

    /* ── NAV ── */
    #nav {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem var(--gutter);
        background: rgba(10,10,10,0.6);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid var(--border);
    }
    .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #F9FAFB; }
        .logo-rect { fill: #ffffff; transition: fill 0.3s ease, stroke 0.3s ease; stroke: none; stroke-width: 2; }
        .logo-text { fill: #0A0A0A; transition: fill 0.3s ease; }
        .logo-wordmark { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; color: #ffffff; }
        .nav-scrolled .logo-rect { fill: #ffffff; stroke: none; }
        .nav-scrolled .logo-text { fill: #0A0A0A; }
        .nav-scrolled .logo-wordmark { color: #ffffff; }
        .nav-light .logo-rect { fill: #0A0A0A; }
        .nav-light .logo-text { fill: #ffffff; }
        .nav-light .logo-wordmark { color: #0A0A0A; }
    
    .nav-links {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        list-style: none;
    }
    .nav-links a {
        font-size: 0.85rem;
        font-weight: 500;
        color: rgba(255,255,255,0.65);
        text-decoration: none;
        padding: 0.4rem 0.8rem;
        font-family: 'DM Sans', sans-serif;
        transition: color 0.2s;
    }
    .nav-links a:hover { color: #fff; }
    .nav-pill {
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 1.25rem;
        border: none;
        border-radius: 100px;
        font-size: 0.82rem;
        font-weight: 600;
        color: #0A0A0A;
        cursor: pointer;
        background: white;
        font-family: 'DM Sans', sans-serif;
        transition: all 0.2s;
    }
    .nav-pill:hover { background: #f0f0f0; transform: translateY(-1px); }

    /* ── HERO ── */
    #about-hero {
        padding: 10rem var(--gutter) 6rem;
        max-width: var(--max-w);
        margin: 0 auto;
    }
    #about-hero .eyebrow { color: var(--amber); }
    #about-hero h1 {
        font-size: clamp(2.8rem, 6vw, 5rem);
        margin-bottom: 1.5rem;
        max-width: 700px;
    }
    #about-hero .lead {
        font-size: 1.2rem;
        color: rgba(255,255,255,0.6);
        max-width: 580px;
        line-height: 1.7;
    }

    /* ── OUTCOMES SECTION ── */
    #outcomes {
        padding: 4rem var(--gutter) 5rem;
        max-width: var(--max-w);
        margin: 0 auto;
    }
    .outcomes-wrap { width: 100%; }
    .outcomes-header { margin-bottom: 3rem; max-width: 680px; }
    .outcomes-header .eyebrow { color: var(--amber); }
    .outcomes-header h2 {
        font-size: clamp(1.8rem, 3.6vw, 2.8rem);
        margin-bottom: 1rem;
    }
    .outcomes-sub {
        font-size: 1.02rem;
        color: rgba(255,255,255,0.55);
    }
    .outcomes-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .outcome-card {
        background: rgba(255,255,255,0.02);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 1.75rem 1.5rem;
    }
    .outcome-num {
        font-family: 'Sora', sans-serif;
        font-size: 2rem;
        font-weight: 800;
        color: var(--amber);
        letter-spacing: -0.04em;
        display: block;
        line-height: 1;
        margin-bottom: 1rem;
    }
    .outcome-card h3 {
        font-size: 1.02rem;
        font-weight: 700;
        margin-bottom: 0.6rem;
        letter-spacing: -0.015em;
    }
    .outcome-card p {
        font-size: 0.88rem;
        color: rgba(255,255,255,0.55);
        line-height: 1.65;
    }
    @media (max-width: 900px) {
        .outcomes-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
        .outcomes-grid { grid-template-columns: 1fr; }
    }

    /* ── STORY SECTION ── */
    #story {
        padding: 5rem var(--gutter);
        max-width: var(--max-w);
        margin: 0 auto;
    }
    .story-layout {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 6rem;
        align-items: start;
    }
    .story-photo {
        position: sticky;
        top: 7rem;
    }
    .story-photo img {
        width: 100%;
        aspect-ratio: 3/4;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }
    .story-photo-caption {
        margin-top: 1rem;
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }
    .story-text h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        margin-bottom: 2rem;
    }
    .story-text p {
        margin-bottom: 1.5rem;
        font-size: 1.05rem;
    }
    .story-text p:last-child { margin-bottom: 0; }

    .story-divider {
        border: none;
        border-top: 1px solid rgba(255,255,255,0.08);
        margin: 3rem 0;
    }

    .stat-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 3rem;
        padding-top: 3rem;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .stat-item-about {}
    .stat-num {
        font-family: 'Sora', sans-serif;
        font-size: 2.5rem;
        font-weight: 800;
        color: white;
        letter-spacing: -0.04em;
        display: block;
        line-height: 1;
        margin-bottom: 0.4rem;
    }
    .stat-label {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

    /* ── STORY PHOTO + GALLERY (new for team images) ── */
    .story-photo-link {
        display: block;
        position: relative;
        cursor: pointer;
        text-decoration: none;
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.3s ease;
    }
    .story-photo-link:hover { transform: translateY(-2px); }
    .story-photo-hover {
        position: absolute;
        bottom: 16px;
        right: 16px;
        background: rgba(0,0,0,0.78);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        color: #fff;
        padding: 0.6rem 1rem;
        border-radius: 100px;
        font-size: 0.78rem;
        font-weight: 500;
        opacity: 0;
        transform: translateY(6px);
        transition: opacity 0.25s, transform 0.25s;
        pointer-events: none;
        border: 1px solid rgba(255,255,255,0.12);
    }
    .story-photo-link:hover .story-photo-hover {
        opacity: 1;
        transform: translateY(0);
    }
    .story-gallery-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 2.5rem;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.12);
        color: #fff;
        padding: 0.85rem 1.75rem;
        border-radius: 100px;
        font-family: 'DM Sans', sans-serif;
        font-size: 0.92rem;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.2s, border-color 0.2s, transform 0.2s;
    }
    .story-gallery-btn:hover {
        background: rgba(255,255,255,0.09);
        border-color: rgba(255,255,255,0.22);
        transform: translateY(-1px);
    }

    /* ── TEAM GALLERY LIGHTBOX ── */
    .team-gallery-overlay {
        position: fixed;
        inset: 0;
        background: rgba(5,5,8,0.92);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 9999;
        display: none;
        align-items: flex-start;
        justify-content: center;
        padding: 4rem 2rem 2rem;
        overflow-y: auto;
        opacity: 0;
        transition: opacity 0.25s ease;
    }
    .team-gallery-overlay.open {
        display: flex;
        opacity: 1;
    }
    .team-gallery-close {
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.18);
        color: #fff;
        border-radius: 50%;
        font-size: 1.25rem;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s, transform 0.2s;
        z-index: 10000;
        font-family: inherit;
    }
    .team-gallery-close:hover {
        background: rgba(255,255,255,0.18);
        transform: rotate(90deg);
    }
    .team-gallery-inner {
        max-width: 1180px;
        width: 100%;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        align-items: start;
    }
    .team-gallery-item {
        margin: 0;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        overflow: hidden;
        transition: transform 0.3s ease, border-color 0.2s;
    }
    .team-gallery-item:hover {
        transform: translateY(-3px);
        border-color: rgba(255,255,255,0.14);
    }
    .team-gallery-item picture,
    .team-gallery-item img {
        display: block;
        width: 100%;
        height: auto;
    }
    .team-gallery-item figcaption {
        padding: 1.25rem 1.4rem 1.4rem;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.65);
        line-height: 1.55;
    }
    .team-gallery-item figcaption strong {
        display: block;
        color: #fff;
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 0.3rem;
    }
    .team-gallery-note {
        grid-column: 1 / -1;
        margin-top: 1rem;
        padding: 1.4rem 1.75rem;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.55);
        line-height: 1.65;
        text-align: center;
    }
    .team-gallery-note strong {
        color: rgba(255,255,255,0.85);
        font-weight: 600;
    }
    @media (max-width: 900px) {
        .team-gallery-inner { grid-template-columns: 1fr; gap: 1.25rem; }
        .team-gallery-overlay { padding: 3rem 1rem 1rem; }
        .team-gallery-close { top: 1rem; right: 1rem; }
    }

    /* ── VALUES ── */
    #values {
        padding: 5rem var(--gutter);
        background: #0D0D0D;
        border-top: 1px solid rgba(255,255,255,0.06);
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .values-wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }
    .values-header {
        margin-bottom: 3rem;
    }
    .values-header h2 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        margin-top: 0.75rem;
    }
    .values-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .value-card {
        padding: 2rem;
        border: 1px solid rgba(255,255,255,0.07);
        border-radius: 12px;
        background: rgba(255,255,255,0.02);
    }
    .value-num {
        font-family: 'Sora', sans-serif;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--amber);
        letter-spacing: 0.1em;
        margin-bottom: 1rem;
        display: block;
    }
    .value-card h3 {
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
        letter-spacing: -0.02em;
        line-height: 1.2;
    }
    .value-card p { font-size: 0.9rem; color: #666; line-height: 1.65; }

    /* ── CTA ── */
    #about-cta {
        padding: 6rem var(--gutter);
        text-align: center;
        max-width: var(--max-w);
        margin: 0 auto;
    }
    #about-cta h2 {
        font-size: clamp(2rem, 4vw, 3.5rem);
        margin-bottom: 1rem;
    }
    #about-cta p {
        font-size: 1.05rem;
        color: rgba(255,255,255,0.5);
        max-width: 480px;
        margin: 0 auto 2.5rem;
    }
    .btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-family: 'DM Sans', sans-serif;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        border: none;
        transition: all 0.22s ease;
        white-space: nowrap;
    }
    .btn-primary {
        background: white;
        color: #0A0A0A;
        padding: 0.75rem 2rem;
        border-radius: 100px;
    }
    .btn-primary:hover { background: #f0f0f0; transform: translateY(-1px); }

    /* ── FOOTER ── */
    footer {
        padding: 2rem var(--gutter);
        border-top: 1px solid rgba(255,255,255,0.06);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }
    footer p { font-size: 0.8rem; color: #444; }
    footer a { color: #555; text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
    footer a:hover { color: #fff; }

    @media (max-width: 768px) {
        .story-layout { grid-template-columns: 1fr; gap: 3rem; }
        .story-photo { position: static; }
        .stat-row { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
        .values-grid { grid-template-columns: 1fr; }
        .nav-links { display: none; }
    }
    
        /* ── Services mega menu ── */
        .nav-links .has-dropdown { position: relative; }
        .nav-links .has-dropdown > button {
            display: flex; align-items: center; gap: 0.3rem;
            padding: 0.4rem 0.8rem;
            color: rgba(255,255,255,0.65);
            font-size: 0.85rem; font-weight: 500;
            font-family: 'DM Sans', sans-serif;
            background: none; border: none; cursor: pointer;
            transition: color 0.2s; white-space: nowrap;
        }
        .nav-links .has-dropdown > button:hover { color: white; }
        .nav-links .has-dropdown > button svg { transition: transform 0.2s; }
        .nav-links .has-dropdown.open > button svg { transform: rotate(180deg); }
        .chevron-icon { width: 12px; height: 12px; opacity: 0.5; }
        .nav-dropdown {
            display: none; position: absolute;
            top: calc(100% + 1rem); left: 50%; transform: translateX(-50%);
            background: rgba(13,13,13,0.95);
            backdrop-filter: blur(24px) saturate(160%);
            -webkit-backdrop-filter: blur(24px) saturate(160%);
            border: 1px solid rgba(255,255,255,0.08); border-radius: 4px;
            padding: 1.5rem; z-index: 100;
            box-shadow: 0 24px 60px rgba(0,0,0,0.5);
            animation: ddSlideDown 0.2s ease;
        }
        .nav-links .has-dropdown.open .nav-dropdown { display: block; }
        @keyframes ddSlideDown {
            from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
            to   { opacity: 1; transform: translateX(-50%) translateY(0); }
        }
        .mega-menu { width: 1060px; }
        .mega-groups { display: grid; grid-template-columns: repeat(6, 1fr); }
        .mega-group { padding: 0.25rem 1.25rem 0.25rem 0; }
        .mega-group + .mega-group { padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,0.07); }
        .mega-group-label {
            font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
            text-transform: uppercase; color: #D97706;
            margin-bottom: 0.65rem; display: block;
        }
        .mega-link { display: block; padding: 0.45rem 0.5rem; border-radius: 4px; text-decoration: none; transition: background 0.15s; margin: 0 -0.5rem; }
        .mega-link:hover { background: rgba(255,255,255,0.06); }
        .mega-link-name { display: block; font-family: 'Sora', sans-serif; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.85); }
        .mega-link:hover .mega-link-name { color: white; }
        .mega-link-desc { display: block; font-size: 0.7rem; color: #555; margin-top: 0.1rem; line-height: 1.35; }
        .mega-link:hover .mega-link-desc { color: #777; }
        .mega-badge { display: inline-block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #D97706; color: white; padding: 0.1rem 0.35rem; border-radius: 2px; margin-top: 0.2rem; width: fit-content; }
