/*
Theme Name: SpaceG Designers
Theme URI: https://spacegdesigners.com/
Author: SpaceG Designers
Description: Exact WordPress conversion of the supplied SpaceG Designers single-page HTML design. Includes responsive layout, About route, 12 service cards with modal details, animated hero services, client marquee, contact form/map placeholders, and mobile navigation.
Version: 1.0.0
Text Domain: spaceg-designers
*/


@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
    --bg:#070814;
    --bg2:#0d1020;
    --panel:#101426;
    --text:#f6f7fb;
    --muted:#a9aec1;
    --line:rgba(255,255,255,.10);
    --gold:#d7b36a;
    --gold2:#f1d28b;
    --purple:#6b2cff;
    --blue:#4e7cff;
    --max:1400px;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"DM Sans",sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
    overflow-x:hidden;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(
            circle at 75% 10%,
            rgba(107,44,255,.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 55%,
            rgba(78,124,255,.08),
            transparent 25%
        );
    z-index:-1;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:min(calc(100% - 80px),var(--max));
    margin:auto;
}

/* =========================
   HEADER
========================= */

header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1000;
    background:rgba(7,8,20,.72);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,.06);
}

.nav{
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
}

.brand img{
    width:82px;
    height:64px;
    object-fit:contain;
    object-position:center;
    border-radius:10px;
}

.brand-text strong{
    display:block;
    font-family:Manrope;
    font-size:16px;
    letter-spacing:.08em;
}

.brand-text span{
    display:block;
    color:var(--muted);
    font-size:10px;
    letter-spacing:.22em;
    text-transform:uppercase;
}

nav{
    display:flex;
    gap:34px;
    align-items:center;
}

nav a{
    font-size:13px;
    color:#d7d9e3;
    transition:.25s;
}

nav a:hover{
    color:var(--gold2);
}

.menu{
    display:none;
    background:none;
    border:0;
    color:white;
    font-size:28px;
}

/* =========================
   HERO
========================= */

.hero{
    min-height:760px;
    position:relative;
    display:flex;
    align-items:center;
    padding:140px 0 90px;
    overflow:hidden;
}

.hero::after{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    border-radius:50%;
    right:-150px;
    top:120px;
    background:
        radial-gradient(
            circle,
            rgba(107,44,255,.25),
            transparent 65%
        );
    filter:blur(10px);
    pointer-events:none;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.04fr .96fr;
    gap:60px;
    align-items:center;
    position:relative;
    z-index:2;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--gold2);
    font-size:11px;
    letter-spacing:.25em;
    text-transform:uppercase;
    margin-bottom:24px;
}

.eyebrow::before{
    content:"";
    width:28px;
    height:1px;
    background:var(--gold);
}

h1{
    font-family:Manrope;
    font-size:clamp(48px,6vw,82px);
    line-height:1.02;
    letter-spacing:-.055em;
}

h1 span{
    color:var(--gold2);
}

.hero-copy{
    font-size:18px;
    color:var(--muted);
    max-width:610px;
    margin:28px 0 36px;
}

.hero-meta{
    display:flex;
    gap:34px;
    flex-wrap:wrap;
}

.meta strong{
    font-family:Manrope;
    font-size:26px;
    display:block;
}

.meta span{
    font-size:11px;
    color:var(--muted);
    letter-spacing:.12em;
    text-transform:uppercase;
}

/* =========================
   HERO SERVICE POPUP
========================= */

.hero-services{
    position:relative;
    height:450px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.orbit{
    position:absolute;
    width:430px;
    height:430px;
    border:1px solid rgba(215,179,106,.22);
    border-radius:50%;
    animation:spin 24s linear infinite;
}

.orbit::before,
.orbit::after{
    content:"";
    position:absolute;
    border-radius:50%;
    background:var(--gold);
    box-shadow:0 0 24px rgba(215,179,106,.45);
}

.orbit::before{
    width:8px;
    height:8px;
    top:20px;
    left:80px;
}

.orbit::after{
    width:6px;
    height:6px;
    bottom:62px;
    right:28px;
}

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

.service-popup{
    position:relative;
    width:min(430px,100%);
    height:300px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:28px;
    background:
        linear-gradient(
            145deg,
            rgba(21,26,48,.96),
            rgba(9,11,25,.96)
        );
    box-shadow:
        0 30px 80px rgba(0,0,0,.42),
        inset 0 1px rgba(255,255,255,.07);
    padding:30px;
    overflow:hidden;
    z-index:5;
}

.service-popup::before{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    right:-70px;
    top:-80px;
    background:rgba(107,44,255,.25);
    filter:blur(35px);
    border-radius:50%;
}

.popup-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:22px;
    position:relative;
    z-index:2;
}

.popup-head small{
    font-size:10px;
    letter-spacing:.22em;
    color:var(--gold2);
    text-transform:uppercase;
}

.popup-count{
    font-family:Manrope;
    color:var(--muted);
    font-size:12px;
}

.popup-service{
    position:relative;
    z-index:2;
    transition:
        opacity .35s,
        transform .35s;
}

.popup-service.fade{
    opacity:0;
    transform:translateY(8px);
}

.popup-icon{
    font-size:36px;
    color:var(--gold2);
    margin-bottom:10px;
}

.popup-service h2{
    font-family:Manrope;
    font-size:30px;
    line-height:1.1;
    margin-bottom:10px;
}

.popup-service p{
    font-size:13px;
    color:var(--muted);
    max-width:340px;
}

.progress{
    position:absolute;
    bottom:0;
    left:0;
    height:2px;
    background:var(--gold2);
    width:0;
    animation:progress 4s linear infinite;
}

@keyframes progress{
    from{
        width:0;
    }
    to{
        width:100%;
    }
}

.popup-dots{
    position:absolute;
    bottom:22px;
    right:28px;
    display:flex;
    gap:5px;
    z-index:3;
}

.popup-dots i{
    width:5px;
    height:5px;
    border-radius:50%;
    background:rgba(255,255,255,.25);
}

.popup-dots i.active{
    background:var(--gold2);
    width:18px;
    border-radius:5px;
}

/* =========================
   GENERAL
========================= */

section{
    padding:110px 0;
}

.section-head{
    display:flex;
    justify-content:space-between;
    gap:40px;
    align-items:end;
    margin-bottom:54px;
}

.kicker{
    font-size:11px;
    letter-spacing:.25em;
    text-transform:uppercase;
    color:var(--gold2);
    margin-bottom:14px;
}

.section-title{
    font-family:Manrope;
    font-size:clamp(34px,4vw,54px);
    line-height:1.08;
    letter-spacing:-.04em;
}

.section-intro{
    max-width:490px;
    color:var(--muted);
    font-size:15px;
}

/* =========================
   ABOUT
========================= */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:start;
}

.about-big{
    font-family:Manrope;
    font-size:clamp(28px,3.2vw,46px);
    line-height:1.18;
    letter-spacing:-.035em;
}

.about-big span{
    color:var(--gold2);
}

.about-text p{
    color:var(--muted);
    margin-bottom:18px;
}
/* =========================
   ABOUT ACHIEVEMENTS
========================= */

.about-achievements{
    margin-top:70px;
    padding-top:42px;
    border-top:1px solid var(--line);
}

.achievement-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    margin-bottom:26px;
}

.achievement-heading-left{
    display:flex;
    align-items:center;
    gap:12px;
}

.achievement-heading-line{
    width:28px;
    height:1px;
    background:var(--gold);
}

.achievement-heading h3{
    font-family:Manrope;
    font-size:13px;
    font-weight:600;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:var(--gold2);
}

.achievement-heading p{
    font-size:11px;
    color:var(--muted);
}

.achievement-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
}

.achievement-card{
    position:relative;
    min-height:155px;
    padding:24px 20px;
    border:1px solid var(--line);
    border-radius:20px;
    overflow:hidden;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

    opacity:0;
    transform:translateY(24px);

    transition:
        opacity .7s ease,
        transform .7s ease,
        border-color .35s ease,
        background .35s ease,
        box-shadow .35s ease;
}

.achievement-card.show{
    opacity:1;
    transform:translateY(0);
}

.achievement-card:hover{
    transform:translateY(-7px);
    border-color:rgba(215,179,106,.38);

    background:
        linear-gradient(
            145deg,
            rgba(215,179,106,.09),
            rgba(107,44,255,.035)
        );

    box-shadow:
        0 22px 55px rgba(0,0,0,.22);
}

.achievement-card::before{
    content:"";
    position:absolute;
    width:100px;
    height:100px;
    right:-50px;
    top:-50px;
    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(107,44,255,.22),
            transparent 70%
        );

    filter:blur(5px);
}

.achievement-number{
    position:relative;
    z-index:2;

    font-family:Manrope;
    font-size:clamp(28px,2.4vw,38px);
    font-weight:800;
    line-height:1;

    color:var(--gold2);
    letter-spacing:-.04em;

    margin-bottom:14px;
}

.achievement-label{
    position:relative;
    z-index:2;

    font-size:11px;
    line-height:1.55;
    color:var(--muted);

    text-transform:uppercase;
    letter-spacing:.08em;
}

.achievement-index{
    position:absolute;
    right:18px;
    bottom:17px;

    font-size:9px;
    letter-spacing:.15em;
    color:rgba(255,255,255,.22);
}

.achievement-card:nth-child(1){
    transition-delay:.05s;
}

.achievement-card:nth-child(2){
    transition-delay:.12s;
}

.achievement-card:nth-child(3){
    transition-delay:.19s;
}

.achievement-card:nth-child(4){
    transition-delay:.26s;
}

.achievement-card:nth-child(5){
    transition-delay:.33s;
}

@media(max-width:1100px){

    .achievement-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:980px){

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

}

@media(max-width:640px){

    .about-achievements{
        margin-top:50px;
        padding-top:32px;
    }

    .achievement-heading{
        display:block;
    }

    .achievement-heading p{
        margin-top:10px;
    }

    .achievement-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .achievement-card{
        min-height:135px;
    }

}
.about-points{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-top:32px;
}

.about-point{
    padding:20px;
    border:1px solid var(--line);
    border-radius:18px;
    background:rgba(255,255,255,.025);
}

.about-point strong{
    font-family:Manrope;
    display:block;
    margin-bottom:4px;
}

.about-point span{
    font-size:12px;
    color:var(--muted);
}

/* =========================
   SERVICES
========================= */

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.service-card{
    position:relative;
    padding:28px;
    border:1px solid var(--line);
    border-radius:20px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );
    min-height:260px;
    overflow:hidden;
    transition:.35s;
}

.service-card:hover{
    transform:translateY(-5px);
    border-color:rgba(215,179,106,.35);
    background:
        linear-gradient(
            145deg,
            rgba(215,179,106,.08),
            rgba(255,255,255,.018)
        );
}

.service-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:36px;
}

.service-no{
    font-size:11px;
    color:var(--muted);
    letter-spacing:.16em;
}

.service-icon{
    font-size:25px;
    color:var(--gold2);
}

.service-card h3{
    font-family:Manrope;
    font-size:22px;
    line-height:1.2;
    margin-bottom:12px;
}

.service-card p{
    font-size:13px;
    color:var(--muted);
}

.service-line{
    position:absolute;
    left:28px;
    right:28px;
    bottom:24px;
    height:1px;
    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}

/* =========================
   PORTFOLIO
========================= */

.portfolio-grid{
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:16px;
}

.work{
    min-height:360px;
    border-radius:24px;
    border:1px solid var(--line);
    background:
        linear-gradient(
            135deg,
            #161a2e,
            #0b0d1a
        );
    padding:30px;
    position:relative;
    overflow:hidden;
}

.work.large{
    min-height:520px;
}

.work::before{
    content:"";
    position:absolute;
    inset:auto -20% -40% 20%;
    height:80%;
    background:
        radial-gradient(
            circle,
            rgba(107,44,255,.24),
            transparent 60%
        );
    filter:blur(15px);
}

.work-content{
    position:absolute;
    left:30px;
    right:30px;
    bottom:28px;
    z-index:2;
}

.work-tag{
    font-size:10px;
    letter-spacing:.18em;
    color:var(--gold2);
    text-transform:uppercase;
}

.work h3{
    font-family:Manrope;
    font-size:30px;
    margin-top:8px;
}

.work p{
    color:var(--muted);
    font-size:13px;
    margin-top:5px;
}

.work-side{
    display:grid;
    gap:16px;
}

.work-side .work{
    min-height:252px;
}

/* =========================
   CLIENTS
========================= */

.clients{
    background:#090b16;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.client-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.client-card{
    min-height:170px;
    border:1px solid var(--line);
    border-radius:20px;
    background:#0d1020;
    padding:20px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    text-align:center;
    transition:.3s;
}

.client-card:hover{
    transform:translateY(-4px);
    border-color:rgba(215,179,106,.32);
}

.client-logo-wrap{
    height:105px;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.client-logo-wrap img{
    max-width:85%;
    max-height:90px;
    object-fit:contain;
}

.client-card span{
    font-size:10px;
    letter-spacing:.08em;
    color:var(--muted);
    text-transform:uppercase;
}

/* =========================
   PROCESS
========================= */

.process{
    background:#090b16;
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:12px;
}

.process-item{
    padding:24px 18px;
    border-top:1px solid rgba(215,179,106,.45);
}

.process-item b{
    font-family:Manrope;
    font-size:12px;
    color:var(--gold2);
}

.process-item h3{
    font-family:Manrope;
    font-size:18px;
    margin:22px 0 8px;
}

.process-item p{
    font-size:12px;
    color:var(--muted);
}

/* =========================
   WHY US
========================= */

.why-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.why-card{
    padding:30px;
    border:1px solid var(--line);
    border-radius:20px;
    background:rgba(255,255,255,.025);
}

.why-card span{
    font-size:11px;
    color:var(--gold2);
    letter-spacing:.15em;
}

.why-card h3{
    font-family:Manrope;
    font-size:22px;
    margin:12px 0 8px;
}

.why-card p{
    font-size:13px;
    color:var(--muted);
}

/* =========================
   CONTACT
========================= */

.contact-box{
    border:1px solid rgba(215,179,106,.25);
    border-radius:30px;
    padding:70px;
    background:
        linear-gradient(
            120deg,
            rgba(215,179,106,.08),
            rgba(107,44,255,.08)
        );
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
}

.contact-box h2{
    font-family:Manrope;
    font-size:clamp(38px,4vw,58px);
    line-height:1.05;
    letter-spacing:-.04em;
}

.contact-box p{
    color:var(--muted);
    margin-top:20px;
}

.contact-info{
    display:grid;
    gap:18px;
    align-content:center;
}

.contact-row{
    padding:18px 0;
    border-bottom:1px solid var(--line);
}

.contact-row small{
    display:block;
    color:var(--muted);
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.2em;
}

.contact-row strong{
    font-family:Manrope;
    font-size:16px;
}

/* =========================
   FOOTER
========================= */

footer{
    padding:55px 0 30px;
    border-top:1px solid var(--line);
    background:#05060d;
}

.footer-top{
    display:grid;
    grid-template-columns:1.4fr .6fr .6fr;
    gap:60px;
    padding-bottom:50px;
}

.footer-brand img{
    width:70px;
    height:70px;
    border-radius:14px;
    object-fit:contain;
    margin-bottom:18px;
}

.footer-brand p{
    max-width:400px;
    color:var(--muted);
    font-size:13px;
}

.footer-col h4{
    font-size:11px;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:var(--gold2);
    margin-bottom:16px;
}

.footer-col a{
    display:block;
    color:var(--muted);
    font-size:13px;
    margin:9px 0;
}

.copyright{
    border-top:1px solid var(--line);
    padding-top:22px;
    color:#777c90;
    font-size:11px;
    display:flex;
    justify-content:space-between;
}

/* =========================
   REVEAL
========================= */

.reveal{
    opacity:0;
    transform:translateY(28px);
    transition:
        opacity .7s,
        transform .7s;
}

.reveal.show{
    opacity:1;
    transform:none;
}

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

@media(max-width:980px){

    nav{
        display:none;
    }

    .menu{
        display:block;
    }

    .hero-grid,
    .about-grid,
    .contact-box{
        grid-template-columns:1fr;
    }

    .hero{
        padding-top:125px;
    }

    .hero-services{
        height:400px;
    }

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

    .client-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .process-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:640px){

    .container{
        width:min(calc(100% - 30px),var(--max));
    }

    .nav{
        height:70px;
    }

    .brand img{
        width:46px;
        height:46px;
    }

    .hero{
        min-height:auto;
        padding:115px 0 55px;
    }

    h1{
        font-size:48px;
    }

    .hero-copy{
        font-size:15px;
    }

    .hero-services{
        height:350px;
        margin-top:20px;
    }

    .orbit{
        width:320px;
        height:320px;
    }

    .service-popup{
        height:275px;
        padding:24px;
    }

    .service-popup h2{
        font-size:25px;
    }

    section{
        padding:78px 0;
    }

    .section-head{
        display:block;
        margin-bottom:34px;
    }

    .section-intro{
        margin-top:18px;
    }

    .services-grid,
    .client-grid,
    .process-grid,
    .why-grid,
    .footer-top{
        grid-template-columns:1fr;
    }

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

    .portfolio-grid{
        grid-template-columns:1fr;
    }

    .work.large{
        min-height:400px;
    }

    .contact-box{
        padding:38px 25px;
        gap:35px;
    }

    .copyright{
        display:block;
    }

    .copyright span{
        display:block;
        margin-top:8px;
    }
}

/* ===== FINAL SPACEG REFINEMENTS ===== */
.build-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.build-card{position:relative;min-height:260px;padding:30px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));transition:transform .35s ease,border-color .35s ease,background .35s ease;overflow:hidden}
.build-card:hover{transform:translateY(-6px);border-color:rgba(215,179,106,.38);background:linear-gradient(145deg,rgba(215,179,106,.07),rgba(255,255,255,.015))}
.build-icon{width:58px;height:58px;display:grid;place-items:center;border:1px solid rgba(215,179,106,.3);border-radius:17px;color:var(--gold2);font-size:27px;margin-bottom:46px}
.build-card>span{font-size:10px;color:var(--gold2);letter-spacing:.16em}
.build-card h3{font-size:23px;margin:8px 0}
.build-card p{font-size:13px;color:var(--muted);max-width:430px}
.service-clickable{cursor:pointer;position:relative}
.service-clickable:focus-visible{outline:2px solid var(--gold2);outline-offset:3px}
.service-more{display:block;margin-top:16px;font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:var(--gold2);opacity:.8}
.client-marquee{position:relative;overflow:hidden;width:100vw;margin-left:calc((100% - 100vw)/2);padding:10px 0 18px}
.client-track{display:flex;width:max-content;animation:clientScroll 38s linear infinite}
.client-marquee:hover .client-track{animation-play-state:paused}
.client-set{display:flex;gap:16px;padding-right:16px}
.client-card{width:220px;min-width:220px;height:155px;border:1px solid var(--line);border-radius:20px;background:#0d1020;padding:17px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;transition:transform .3s ease,border-color .3s ease}
.client-card:hover{transform:translateY(-5px);border-color:rgba(215,179,106,.35)}
.client-logo-wrap{width:100%;height:94px;display:flex;align-items:center;justify-content:center}
.client-logo-wrap img{max-width:88%;max-height:76px;width:auto;height:auto;object-fit:contain;filter:none!important}
.client-card span{font-size:9px;line-height:1.35;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
@keyframes clientScroll{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 8px))}}
.service-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:20px}
.service-modal.open{display:flex}
.service-modal-backdrop{position:absolute;inset:0;background:rgba(3,4,12,.78);backdrop-filter:blur(12px)}
.service-modal-panel{position:relative;z-index:2;width:min(720px,100%);max-height:88vh;overflow:auto;padding:42px;border:1px solid rgba(215,179,106,.25);border-radius:26px;background:linear-gradient(145deg,#151a30,#090b16);box-shadow:0 35px 100px rgba(0,0,0,.55)}
.service-close{position:absolute;right:17px;top:15px;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:rgba(255,255,255,.04);color:#fff;font-size:25px;cursor:pointer}
.service-detail-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.service-detail-label{font-size:9px;letter-spacing:.18em;color:var(--muted);text-transform:uppercase}.service-detail-icon{width:58px;height:58px;display:grid;place-items:center;border:1px solid rgba(215,179,106,.28);border-radius:17px;background:linear-gradient(145deg,rgba(215,179,106,.12),rgba(107,44,255,.08));color:var(--gold2);font-size:26px;margin-bottom:18px;box-shadow:0 12px 30px rgba(0,0,0,.22)}.service-detail-footer{display:flex;justify-content:space-between;gap:15px;margin-top:25px;padding-top:16px;border-top:1px solid var(--line);font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.service-detail-footer span:first-child{color:var(--gold2)}.service-modal-panel h2{font-size:clamp(32px,5vw,52px);line-height:1.05;margin:6px 0 14px}
.service-modal-panel>p{color:var(--muted);max-width:620px;margin-bottom:25px}
.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.detail-list div{display:flex;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.025)}
.detail-list b{font-size:10px;color:var(--gold2)}
.detail-list span{font-size:13px}
body.modal-open{overflow:hidden}
.contact-tools{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}
.contact-tool{border:1px solid var(--line);border-radius:22px;padding:25px;background:rgba(255,255,255,.025);overflow:hidden}.form-action-card{display:flex;flex-direction:column;justify-content:center;min-height:330px}.form-action{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid rgba(215,179,106,.32);border-radius:16px;background:linear-gradient(135deg,rgba(215,179,106,.12),rgba(107,44,255,.08));color:#fff;text-decoration:none;font-family:Manrope;font-size:14px;font-weight:800;transition:transform .3s ease,border-color .3s ease,background .3s ease,box-shadow .3s ease}.form-action span:last-child{font-size:20px;color:var(--gold2)}.form-action:hover{transform:translateY(-3px);border-color:rgba(215,179,106,.62);background:linear-gradient(135deg,rgba(215,179,106,.18),rgba(107,44,255,.12));box-shadow:0 15px 35px rgba(0,0,0,.25)}.form-note{display:block;margin-top:10px;font-size:10px;color:var(--muted)}
.tool-kicker{font-size:10px;letter-spacing:.15em;color:var(--gold2);font-weight:700}
.contact-tool h3{font-size:25px;margin:8px 0}
.contact-tool p{font-size:13px;color:var(--muted);margin-bottom:18px}
.form-frame-container,.map-wrapper{height:430px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#080a13}
.form-frame-container iframe,.map-wrapper iframe{width:100%;height:100%;border:0;display:block}
.contact-subtitle{font-size:26px;margin:8px 0}
.contact-copy{color:var(--muted);max-width:500px}
@media(max-width:980px){.build-grid{grid-template-columns:1fr 1fr}.contact-tools{grid-template-columns:1fr}.client-track{animation-duration:32s}}
@media(max-width:640px){.build-grid{grid-template-columns:1fr}.client-card{width:190px;min-width:190px}.service-modal-panel{padding:34px 22px}.detail-list{grid-template-columns:1fr}.form-frame-container,.map-wrapper{height:360px}}

/* =========================
   SERVICE DETAIL — PREMIUM OPEN/CLOSE EFFECT
========================= */
.service-modal{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .32s ease, visibility .32s ease;
}
.service-modal.open{
    display:flex;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
.service-modal-backdrop{
    opacity:0;
    transition:opacity .35s ease;
}
.service-modal.open .service-modal-backdrop{opacity:1}
.service-modal-panel{
    transform:translateY(28px) scale(.94);
    opacity:0;
    transition:transform .42s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
.service-modal.open .service-modal-panel{
    transform:translateY(0) scale(1);
    opacity:1;
}
.service-modal.closing{
    opacity:0;
}
.service-modal.closing .service-modal-panel{
    transform:translateY(18px) scale(.96);
    opacity:0;
}
.service-modal.closing .service-modal-backdrop{opacity:0}

.service-close{
    display:grid;
    place-items:center;
    padding:0;
    line-height:1;
    font-family:Arial,sans-serif;
    font-weight:300;
    transition:transform .32s cubic-bezier(.22,1,.36,1),
                background .25s ease,
                border-color .25s ease,
                color .25s ease,
                box-shadow .25s ease;
}
.service-close::after{
    content:"";
    position:absolute;
    inset:-5px;
    border-radius:50%;
    border:1px solid rgba(215,179,106,0);
    transform:scale(.72);
    transition:transform .35s ease,border-color .35s ease,opacity .35s ease;
    opacity:0;
}
.service-close:hover{
    transform:rotate(90deg) scale(1.08);
    background:rgba(215,179,106,.13);
    border-color:rgba(215,179,106,.65);
    color:var(--gold2);
    box-shadow:0 0 0 6px rgba(215,179,106,.05),0 8px 28px rgba(107,44,255,.22);
}
.service-close:hover::after{
    transform:scale(1);
    border-color:rgba(215,179,106,.28);
    opacity:1;
}
.service-close:active{
    transform:rotate(90deg) scale(.86);
}

@media(max-width:980px){
    .container{width:min(calc(100% - 40px),var(--max))}
    .brand img,.footer-brand img{width:72px;height:58px}
}
@media(max-width:560px){
    .container{width:calc(100% - 30px)}
    .brand img{width:66px;height:54px}
    .brand-text strong{font-size:14px}
}


/* FINAL SPACEG LOGO POSITION */
.brand{display:flex;align-items:center;justify-content:flex-start;gap:0;height:82px;}
.brand img{width:145px;height:68px;object-fit:contain;object-position:left center;border-radius:0;margin:0;}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;}
.footer-brand img{width:125px;height:78px;object-fit:contain;object-position:left center;border-radius:0;margin:0 0 18px 0;}
@media(max-width:980px){.brand img{width:130px;height:64px}.footer-brand img{width:120px;height:74px}}
@media(max-width:560px){.brand{height:70px}.brand img{width:112px;height:56px}.footer-brand img{width:108px;height:68px}}


/* =========================
   ABOUT — SEPARATE PAGE VIEW
========================= */
.about-page{display:none;min-height:calc(100vh - 78px);padding:0 0 100px;position:relative;overflow:hidden;background:#070814;}
.about-page::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 18%,rgba(107,44,255,.22),transparent 34%),radial-gradient(circle at 10% 48%,rgba(27,83,150,.13),transparent 30%);pointer-events:none;}
body.about-route > .about-page{display:block;}
body.about-route > section:not(.about-page),body.about-route > footer{display:none!important;}
.about-page-hero{min-height:390px;display:flex;align-items:center;justify-content:center;text-align:center;position:relative;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#05060e 0%,#090a17 100%);overflow:hidden;}
.about-page-hero::before{content:"";position:absolute;width:760px;height:420px;border:1px solid rgba(255,255,255,.06);border-radius:50%;top:-250px;left:50%;transform:translateX(-50%);box-shadow:0 0 100px rgba(107,44,255,.10);}
.about-page-hero-inner{position:relative;z-index:2;padding:90px 20px 70px;}
.about-page-brand{font-size:11px;letter-spacing:.30em;text-transform:uppercase;color:var(--gold2);margin-bottom:16px;font-weight:700;}
.about-page-title{font-family:Manrope;font-size:clamp(48px,7vw,82px);line-height:1;letter-spacing:-.055em;margin:0;}
.about-page-title span{color:var(--gold2);}
.about-page-subtitle{max-width:650px;margin:24px auto 0;color:var(--muted);font-size:16px;line-height:1.8;}
.about-page-content{position:relative;z-index:2;padding-top:95px;}
.about-story-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px;align-items:start;}
.about-story-lead{font-family:Manrope;font-size:clamp(30px,4vw,54px);line-height:1.08;letter-spacing:-.045em;}
.about-story-lead span{color:var(--gold2);}
.about-story-copy{color:var(--muted);font-size:15px;line-height:1.9;}
.about-story-copy p{margin:0 0 20px;}
.about-values{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:62px;}
.about-value{border:1px solid var(--line);border-radius:18px;padding:25px;background:linear-gradient(145deg,rgba(20,23,43,.8),rgba(9,11,24,.75));transition:transform .35s,border-color .35s,box-shadow .35s;}
.about-value:hover{transform:translateY(-6px);border-color:rgba(232,195,106,.32);box-shadow:0 18px 45px rgba(0,0,0,.25);}
.about-value-number{font-size:11px;color:var(--gold2);letter-spacing:.18em;margin-bottom:24px;}
.about-value h3{font-family:Manrope;font-size:18px;margin-bottom:9px;}
.about-value p{font-size:13px;line-height:1.7;color:var(--muted);margin:0;}
.about-achievement-page{margin-top:100px;padding:55px 0 0;border-top:1px solid var(--line);}
.about-achievement-page .achievement-heading{margin-bottom:30px;}
.about-achievement-page .achievement-heading h3{font-size:28px;}
.achievement-grid-page{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;}
.achievement-card-page{min-height:155px;border:1px solid var(--line);border-radius:18px;padding:25px;background:linear-gradient(145deg,rgba(18,21,39,.9),rgba(8,10,21,.9));display:flex;flex-direction:column;justify-content:space-between;transition:transform .35s,border-color .35s;}
.achievement-card-page:hover{transform:translateY(-5px);border-color:rgba(232,195,106,.35);}
.achievement-card-page strong{font-family:Manrope;font-size:38px;letter-spacing:-.04em;color:var(--gold2);}
.achievement-card-page span{font-size:10px;letter-spacing:.16em;color:var(--muted);text-transform:uppercase;}
.about-page-contact{margin-top:75px;border:1px solid rgba(232,195,106,.22);border-radius:24px;padding:42px 46px;display:flex;align-items:center;justify-content:space-between;gap:35px;background:linear-gradient(120deg,rgba(18,20,39,.94),rgba(11,10,25,.94));box-shadow:0 25px 70px rgba(0,0,0,.25);}
.about-page-contact h3{font-family:Manrope;font-size:clamp(26px,3vw,38px);margin-bottom:8px;}
.about-page-contact p{color:var(--muted);font-size:14px;max-width:600px;margin:0;}
.about-contact-btn{display:inline-flex;align-items:center;gap:18px;padding:15px 21px;border:1px solid var(--gold2);border-radius:999px;color:#090a12;background:var(--gold2);font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;transition:transform .3s,box-shadow .3s,background .3s;}
.about-contact-btn:hover{transform:translateY(-3px);box-shadow:0 14px 35px rgba(232,195,106,.18);background:#f1d27d;}
.about-contact-btn span:last-child{font-size:18px;line-height:1;}
@media(max-width:980px){.about-story-grid{grid-template-columns:1fr;gap:35px}.about-values{grid-template-columns:repeat(2,1fr)}.achievement-grid-page{grid-template-columns:repeat(2,1fr)}.about-page-contact{align-items:flex-start;flex-direction:column}.about-page-contact .about-contact-btn{margin-top:5px}}
@media(max-width:560px){.about-page-hero{min-height:330px}.about-page-content{padding-top:65px}.about-values,.achievement-grid-page{grid-template-columns:1fr}.about-page-contact{padding:30px 24px}.about-story-lead{font-size:34px}.about-page-title{font-size:52px}}



/* =========================================================
   SPACEG LIGHT / DARK SECTION SYSTEM
   Reference-inspired alternating layout — content preserved
========================================================= */

/* Keep these areas cinematic / dark */
header,
.hero,
.clients,
footer,
body:not(.about-route) .service-modal,
body.about-route .about-page-hero{
    color:var(--text);
}

/* LIGHT SECTIONS */
body:not(.about-route) > #about,
body:not(.about-route) > #services,
body:not(.about-route) > #build-projects,
body:not(.about-route) > .process,
body:not(.about-route) > #why,
body:not(.about-route) > #contact,
body.about-route > .about-page .about-page-content{
    background:#ffffff;
    color:#11131a;
}

/* Remove the global dark visual wash from light sections */
body:not(.about-route) > #about,
body:not(.about-route) > #services,
body:not(.about-route) > #build-projects,
body:not(.about-route) > .process,
body:not(.about-route) > #why,
body:not(.about-route) > #contact,
body.about-route > .about-page .about-page-content{
    position:relative;
}

/* Section headings on white */
body:not(.about-route) > #about .section-title,
body:not(.about-route) > #services .section-title,
body:not(.about-route) > #build-projects .section-title,
body:not(.about-route) > .process .section-title,
body:not(.about-route) > #why .section-title,
body:not(.about-route) > #contact .section-title{
    color:#11131a;
}

body:not(.about-route) > #about .section-intro,
body:not(.about-route) > #services .section-intro,
body:not(.about-route) > #build-projects .section-intro,
body:not(.about-route) > .process .section-intro,
body:not(.about-route) > #why .section-intro,
body:not(.about-route) > #contact .section-intro{
    color:#666b78;
}

body:not(.about-route) > #about .about-big,
body:not(.about-route) > #about .about-text,
body:not(.about-route) > #about .about-text p,
body:not(.about-route) > #about .about-point strong,
body:not(.about-route) > #about .about-point span,
body:not(.about-route) > #build-projects .build-card h3,
body:not(.about-route) > #services .service-card h3,
body:not(.about-route) > #services .service-card p,
body:not(.about-route) > .process .process-item h3,
body:not(.about-route) > #why .why-card h3,
body:not(.about-route) > #contact .contact-subtitle,
body:not(.about-route) > #contact .contact-copy,
body:not(.about-route) > #contact .contact-row strong{
    color:#11131a;
}

body:not(.about-route) > #about .about-text p,
body:not(.about-route) > #about .about-point span,
body:not(.about-route) > #services .service-card p,
body:not(.about-route) > .process .process-item p,
body:not(.about-route) > #why .why-card p,
body:not(.about-route) > #contact .contact-copy,
body:not(.about-route) > #contact .contact-row small{
    color:#686d79;
}

/* About point cards */
body:not(.about-route) > #about .about-point{
    border-color:#e6e7eb;
    background:#f8f8fa;
}

/* SERVICES — white cards, dark when interacted with */
body:not(.about-route) > #services .service-card{
    background:#ffffff;
    border:1px solid #e4e5e9;
    box-shadow:0 12px 35px rgba(12,16,30,.055);
    color:#11131a;
}

body:not(.about-route) > #services .service-card:hover,
body:not(.about-route) > #services .service-card:focus-visible,
body:not(.about-route) > #services .service-card.is-active{
    background:#090b16;
    color:#ffffff;
    border-color:#090b16;
    box-shadow:0 22px 55px rgba(8,10,22,.20);
    transform:translateY(-7px);
}

body:not(.about-route) > #services .service-card:hover h3,
body:not(.about-route) > #services .service-card:hover p,
body:not(.about-route) > #services .service-card:focus-visible h3,
body:not(.about-route) > #services .service-card:focus-visible p,
body:not(.about-route) > #services .service-card.is-active h3,
body:not(.about-route) > #services .service-card.is-active p{
    color:#ffffff;
}

body:not(.about-route) > #services .service-card:hover .service-no,
body:not(.about-route) > #services .service-card:focus-visible .service-no,
body:not(.about-route) > #services .service-card.is-active .service-no{
    color:#aeb3c2;
}

body:not(.about-route) > #services .service-card:hover .service-more,
body:not(.about-route) > #services .service-card:focus-visible .service-more,
body:not(.about-route) > #services .service-card.is-active .service-more{
    color:var(--gold2);
}

/* Build / project cards on white */
body:not(.about-route) > #build-projects .build-card{
    background:#ffffff;
    border-color:#e4e5e9;
    box-shadow:0 12px 35px rgba(12,16,30,.05);
}
body:not(.about-route) > #build-projects .build-card:hover{
    background:#090b16;
    border-color:#090b16;
}
body:not(.about-route) > #build-projects .build-card:hover h3,
body:not(.about-route) > #build-projects .build-card:hover p{
    color:#ffffff;
}
body:not(.about-route) > #build-projects .build-card p{color:#686d79;}

/* PROCESS — white instead of dark */
body:not(.about-route) > .process{
    background:#f8f8fa;
}
body:not(.about-route) > .process .process-item{
    border-top-color:rgba(17,19,26,.14);
}

/* WHY — white cards */
body:not(.about-route) > #why .why-card{
    background:#ffffff;
    border-color:#e4e5e9;
    box-shadow:0 12px 35px rgba(12,16,30,.045);
}

/* CONTACT — white outer section + dark information block */
body:not(.about-route) > #contact{
    background:#ffffff;
}
body:not(.about-route) > #contact .contact-box{
    background:#090b16;
    border-color:rgba(215,179,106,.28);
    color:#ffffff;
}
body:not(.about-route) > #contact .contact-box .contact-subtitle,
body:not(.about-route) > #contact .contact-box .contact-copy,
body:not(.about-route) > #contact .contact-box .contact-row strong{
    color:#ffffff;
}
body:not(.about-route) > #contact .contact-box .contact-row small{
    color:#aeb3c2;
}
body:not(.about-route) > #contact .contact-box .contact-row{
    border-bottom-color:rgba(255,255,255,.10);
}

/* Google Form + map remain clean white cards on contact */
body:not(.about-route) > #contact .contact-tool{
    background:#ffffff;
    border-color:#e4e5e9;
    color:#11131a;
    box-shadow:0 12px 35px rgba(12,16,30,.05);
}
body:not(.about-route) > #contact .contact-tool h3{color:#11131a;}
body:not(.about-route) > #contact .contact-tool p{color:#686d79;}

/* ABOUT separate page: dark hero, white body */
body.about-route > .about-page .about-page-content{
    background:#ffffff;
    color:#11131a;
}
body.about-route > .about-page .about-story-lead,
body.about-route > .about-page .about-story-copy,
body.about-route > .about-page .about-value h3,
body.about-route > .about-page .achievement-heading h3{
    color:#11131a;
}
body.about-route > .about-page .about-story-copy,
body.about-route > .about-page .about-value p,
body.about-route > .about-page .achievement-heading p{
    color:#686d79;
}
body.about-route > .about-page .about-value{
    background:#ffffff;
    border-color:#e4e5e9;
    box-shadow:0 12px 35px rgba(12,16,30,.045);
}
body.about-route > .about-page .about-achievement-page{
    border-top-color:#e4e5e9;
}
body.about-route > .about-page .achievement-card-page{
    background:#ffffff;
    border-color:#e4e5e9;
    box-shadow:0 12px 35px rgba(12,16,30,.045);
}
body.about-route > .about-page .achievement-card-page span{color:#686d79;}
body.about-route > .about-page .about-page-contact{
    background:#090b16;
    border-color:rgba(215,179,106,.28);
}

/* Keep client/logo marquee dark as requested */
body:not(.about-route) > .clients{
    background:#070814;
    color:#f6f7fb;
}

/* Keep footer dark */
footer{background:#05060d;}

/* Mobile spacing */
@media(max-width:700px){
    body:not(.about-route) > #about,
    body:not(.about-route) > #services,
    body:not(.about-route) > #build-projects,
    body:not(.about-route) > .process,
    body:not(.about-route) > #why,
    body:not(.about-route) > #contact,
    body.about-route > .about-page .about-page-content{
        background:#ffffff;
    }
}

 


/* =========================================================
   SPACEG FINAL REFINEMENT — DARK BUILD + DARK ABOUT + CTA FLOW
   ========================================================= */

/* Keep body typography refined: less heavy text in light areas */
body:not(.about-route) > #services .section-intro,
body:not(.about-route) > #contact .section-intro,
body:not(.about-route) > .process .section-intro,
body:not(.about-route) > #why .section-intro{
  font-weight:400;
}
body:not(.about-route) > #services .service-card p,
body:not(.about-route) > .process .process-item p,
body:not(.about-route) > #why .why-card p,
body:not(.about-route) > #contact .contact-copy{
  font-weight:400;
  line-height:1.75;
}

/* HOME: About section has been intentionally removed */

/* BUILD & PROJECTS — cinematic dark section */
body:not(.about-route) > #build-projects{
  background:
    radial-gradient(circle at 82% 18%, rgba(107,44,255,.13), transparent 32%),
    radial-gradient(circle at 10% 85%, rgba(215,179,106,.08), transparent 30%),
    #080912;
  color:var(--text);
}
body:not(.about-route) > #build-projects .section-title{
  color:var(--text);
}
body:not(.about-route) > #build-projects .section-intro{
  color:#aeb3c2;
}
body:not(.about-route) > #build-projects .build-card{
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  border-color:rgba(255,255,255,.10);
  box-shadow:none;
}
body:not(.about-route) > #build-projects .build-card h3{
  color:#f4f5f8;
  font-weight:600;
}
body:not(.about-route) > #build-projects .build-card p{
  color:#aeb3c2;
  font-weight:400;
}
body:not(.about-route) > #build-projects .build-card:hover{
  background:linear-gradient(145deg,rgba(215,179,106,.12),rgba(107,44,255,.08));
  border-color:rgba(215,179,106,.38);
  transform:translateY(-8px);
}
body:not(.about-route) > #build-projects .build-icon{color:var(--gold2);}

/* ABOUT PAGE — dark reference-inspired presentation */
body.about-route{
  background:#070811;
  color:var(--text);
}
body.about-route > header{
  background:#070811;
  border-bottom-color:rgba(255,255,255,.07);
}
body.about-route > .about-page{
  background:#070811;
}
body.about-route .about-page-hero{
  min-height:380px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
    radial-gradient(circle at 15% 85%,rgba(215,179,106,.20),transparent 28%),
    radial-gradient(circle at 88% 5%,rgba(107,44,255,.18),transparent 34%),
    #070811;
  background-size:76px 76px,76px 76px,auto,auto;
}
body.about-route .about-page-hero-inner{
  padding:110px 0 80px;
}
body.about-route .about-page-content{
  background:#070811 !important;
  color:#fff;
  padding-top:86px;
}
body.about-route .about-reference-intro{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
  align-items:end;
  padding-bottom:75px;
}
body.about-route .about-reference-kicker,
body.about-route .about-company-label{
  color:var(--gold2);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
}
body.about-route .about-reference-heading h2{
  margin:14px 0 24px;
  font-family:Manrope;
  font-size:clamp(34px,4.2vw,62px);
  line-height:1.05;
  letter-spacing:-.045em;
  color:#fff;
  font-weight:650;
}
body.about-route .about-reference-rule{
  display:block;width:145px;height:2px;background:linear-gradient(90deg,var(--gold2),rgba(255,255,255,.18));
}
body.about-route .about-reference-copy{
  color:#aeb3c2;
  font-size:15px;
  line-height:1.9;
  max-width:650px;
}
body.about-route .about-reference-copy p{margin:0 0 20px;font-weight:400;}
body.about-route .about-feature-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
body.about-route .about-feature-card{
  min-height:260px;
  padding:34px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  transition:transform .45s cubic-bezier(.22,1,.36,1),border-color .35s,background .35s;
}
body.about-route .about-feature-card:hover{
  transform:translateY(-8px);
  border-color:rgba(215,179,106,.36);
  background:linear-gradient(145deg,rgba(215,179,106,.10),rgba(107,44,255,.06));
}
body.about-route .about-feature-card.feature-highlight{
  background:linear-gradient(145deg,rgba(91,54,190,.88),rgba(54,31,137,.88));
  border-color:rgba(215,179,106,.22);
}
body.about-route .about-feature-icon{
  font-size:32px;color:var(--gold2);margin-bottom:55px;
}
body.about-route .about-feature-card h3{
  font-family:Manrope;font-size:23px;color:#fff;margin-bottom:12px;font-weight:600;
}
body.about-route .about-feature-card p{
  color:#b8bdc9;font-size:14px;line-height:1.75;margin:0;font-weight:400;
}
body.about-route .about-feature-card.feature-highlight p{color:#e7e8ee;}
body.about-route .about-company-block{
  display:grid;grid-template-columns:.45fr 1.55fr;gap:70px;
  margin-top:95px;padding:65px 0;border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
body.about-route .about-company-block h2{
  font-family:Manrope;font-size:clamp(30px,3.4vw,50px);line-height:1.08;letter-spacing:-.04em;color:#fff;font-weight:600;
}
body.about-route .about-company-block h2 span{color:var(--gold2);}
body.about-route .about-company-block p{margin-top:20px;color:#aeb3c2;font-size:15px;line-height:1.9;max-width:760px;font-weight:400;}
body.about-route .about-values{margin-top:75px;}
body.about-route .about-value{
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
}
body.about-route .about-value h3{color:#fff;font-weight:600;}
body.about-route .about-value p{color:#aeb3c2;font-weight:400;}
body.about-route .about-achievement-page{border-top-color:rgba(255,255,255,.08);}
body.about-route .about-achievement-page .achievement-heading h3{color:#fff;font-weight:600;}
body.about-route .achievement-heading-label{color:#858b9a;}
body.about-route .achievement-card-page{
  background:rgba(255,255,255,.025);
  border-color:rgba(255,255,255,.08);
}
body.about-route .achievement-card-page span{color:#aeb3c2;font-weight:400;}
body.about-route .about-page-contact{
  margin-bottom:20px;
}

/* Service detail — more like an in-page reference detail experience */
.service-modal-panel{
  width:min(980px,calc(100% - 34px));
  min-height:570px;
  padding:52px;
  background:
    radial-gradient(circle at 90% 10%,rgba(107,44,255,.18),transparent 30%),
    radial-gradient(circle at 10% 90%,rgba(215,179,106,.08),transparent 28%),
    #090b16;
}
.service-detail-top{margin-bottom:25px;}
.service-detail-icon{
  width:68px;height:68px;border-radius:18px;
  display:grid;place-items:center;
  background:rgba(215,179,106,.08);
  border:1px solid rgba(215,179,106,.25);
  color:var(--gold2);
  font-size:30px;
  margin-bottom:25px;
}
.service-modal-panel h2{
  font-family:Manrope;
  font-size:clamp(38px,5vw,64px);
  line-height:1;
  letter-spacing:-.045em;
  color:#fff;
  font-weight:650;
}
.service-modal-panel > p{
  max-width:720px;
  color:#aeb3c2;
  font-size:15px;
  line-height:1.8;
  margin:20px 0 28px;
  font-weight:400;
}
.detail-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.detail-list > *{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
  color:#e7e8ee;
  padding:14px 16px;
  border-radius:12px;
  transition:transform .3s,border-color .3s,background .3s;
}
.detail-list > *:hover{
  transform:translateX(5px);
  border-color:rgba(215,179,106,.35);
  background:rgba(215,179,106,.06);
}
.service-detail-contact{
  display:inline-flex;
  margin-top:30px;
  align-items:center;
  gap:15px;
  padding:14px 20px;
  border-radius:999px;
  background:var(--gold2);
  color:#090b16;
  font-size:11px;
  font-weight:700;
  letter-spacing:.10em;
  text-transform:uppercase;
  transition:transform .3s,box-shadow .3s;
}
.service-detail-contact:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(232,195,106,.18);}

/* End-of-section contact lead — subtle, not CTA-heavy */
.section-contact-lead{
  margin:55px auto 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  max-width:980px;
  padding:20px 22px 20px 26px;
  border-radius:999px;
  transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .4s;
}
.section-contact-lead:hover{transform:translateY(-4px);}
.section-contact-lead .lead-text{font-size:13px;letter-spacing:.02em;font-weight:400;}
.section-contact-lead .lead-arrow{
  display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  transition:transform .35s;
}
.section-contact-lead:hover .lead-arrow{transform:translateX(4px) rotate(-5deg);}
.section-contact-lead.light{
  border:1px solid #e3e4e8;background:#f8f8fa;color:#11131a;
}
.section-contact-lead.light .lead-arrow{background:#090b16;color:#fff;}
.section-contact-lead.dark{
  border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.025);color:#fff;
}
.section-contact-lead.dark .lead-arrow{background:var(--gold2);color:#090b16;}

/* responsive */
@media(max-width:800px){
  body.about-route .about-reference-intro,
  body.about-route .about-company-block{grid-template-columns:1fr;gap:30px;}
  body.about-route .about-feature-grid{grid-template-columns:1fr;}
  .detail-list{grid-template-columns:1fr;}
  .service-modal-panel{padding:32px 24px;min-height:auto;}
  .section-contact-lead{border-radius:22px;}
}
@media(max-width:560px){
  body.about-route .about-page-hero-inner{padding:90px 0 60px;}
  body.about-route .about-page-content{padding-top:60px;}
  body.about-route .about-feature-card{min-height:220px;padding:25px;}
  .service-modal-panel h2{font-size:36px;}
}



/* =========================================================
   FINAL USER REFINEMENT
   - Home About section removed (the separate About route remains)
   - About: dark hero + white content/achievements/contact lead
   - Build & Projects: dark
   - Contact: white outer section, dark direct contact + form + map
   - Stronger headings on white sections
========================================================= */

/* Home no longer contains the About section. */
body:not(.about-route) > #about{display:none!important;}

/* Build & Projects is intentionally dark. */
body:not(.about-route) > #build-projects{
    background:#070814!important;
    color:#f6f7fb!important;
}
body:not(.about-route) > #build-projects .section-title,
body:not(.about-route) > #build-projects .kicker{
    color:#f6f7fb!important;
}
body:not(.about-route) > #build-projects .section-intro{
    color:#a9aec1!important;
}
body:not(.about-route) > #build-projects .build-card{
    background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018))!important;
    border-color:rgba(255,255,255,.10)!important;
    color:#f6f7fb!important;
    box-shadow:none!important;
}
body:not(.about-route) > #build-projects .build-card h3{color:#f6f7fb!important;}
body:not(.about-route) > #build-projects .build-card p{color:#a9aec1!important;}
body:not(.about-route) > #build-projects .build-card:hover{
    background:linear-gradient(145deg,rgba(215,179,106,.10),rgba(107,44,255,.07))!important;
    border-color:rgba(215,179,106,.34)!important;
}

/* About route: hero remains the same cinematic dark treatment as Home. */
body.about-route > .about-page .about-page-hero{
    background:linear-gradient(180deg,#05060e 0%,#090a17 100%)!important;
    color:#f6f7fb!important;
}
/* About route content, values, achievements = clean white. */
body.about-route > .about-page .about-page-content{
    background:#fff!important;
    color:#11131a!important;
}
body.about-route > .about-page .about-reference-intro,
body.about-route > .about-page .about-company-block,
body.about-route > .about-page .about-values,
body.about-route > .about-page .about-achievement-page{
    background:#fff!important;
}
body.about-route > .about-page .about-reference-heading h2,
body.about-route > .about-page .about-reference-copy,
body.about-route > .about-page .about-company-block h2,
body.about-route > .about-page .about-company-block p,
body.about-route > .about-page .about-value h3,
body.about-route > .about-page .about-achievement-page h3{
    color:#11131a!important;
}
body.about-route > .about-page .about-reference-copy,
body.about-route > .about-page .about-company-block p,
body.about-route > .about-page .about-value p,
body.about-route > .about-page .achievement-heading-label{
    color:#686d79!important;
}
body.about-route > .about-page .about-value,
body.about-route > .about-page .achievement-card-page{
    background:#fff!important;
    border-color:#e4e5e9!important;
    box-shadow:0 12px 35px rgba(12,16,30,.05)!important;
}
body.about-route > .about-page .about-page-contact{
    background:#090b16!important;
    color:#fff!important;
}

/* White-area headings: clearly bold, while body copy stays lighter. */
body:not(.about-route) > #services .section-title,
body:not(.about-route) > #services h3,
body:not(.about-route) > .process .section-title,
body:not(.about-route) > .process h3,
body:not(.about-route) > #why .section-title,
body:not(.about-route) > #why h3,
body:not(.about-route) > #contact .section-title,
body:not(.about-route) > #contact h3,
body:not(.about-route) > #contact .contact-subtitle,
body.about-route > .about-page .about-reference-heading h2,
body.about-route > .about-page .about-company-block h2,
body.about-route > .about-page .about-value h3,
body.about-route > .about-page .achievement-heading h3{
    font-weight:800!important;
}
body:not(.about-route) > #services .service-card p,
body:not(.about-route) > .process .process-item p,
body:not(.about-route) > #why .why-card p,
body:not(.about-route) > #contact .contact-tool p,
body:not(.about-route) > #contact .contact-copy{
    font-weight:400!important;
}

/* Contact: white outer background, but direct contact + form + map all dark. */
body:not(.about-route) > #contact{
    background:#fff!important;
    color:#11131a!important;
}
body:not(.about-route) > #contact .contact-box,
body:not(.about-route) > #contact .contact-tool{
    background:#090b16!important;
    color:#fff!important;
    border-color:rgba(215,179,106,.24)!important;
    box-shadow:0 20px 55px rgba(8,10,22,.14)!important;
}
body:not(.about-route) > #contact .contact-tool h3,
body:not(.about-route) > #contact .contact-tool p,
body:not(.about-route) > #contact .contact-subtitle,
body:not(.about-route) > #contact .contact-copy,
body:not(.about-route) > #contact .contact-row strong{
    color:#fff!important;
}
body:not(.about-route) > #contact .contact-tool p,
body:not(.about-route) > #contact .contact-copy,
body:not(.about-route) > #contact .contact-row small{
    color:#a9aec1!important;
}
body:not(.about-route) > #contact .contact-row{
    border-bottom-color:rgba(255,255,255,.10)!important;
}

/* Give the dark contact tools a subtle premium hover lift. */
body:not(.about-route) > #contact .contact-tool{
    transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease;
}
body:not(.about-route) > #contact .contact-tool:hover{
    transform:translateY(-5px);
    border-color:rgba(215,179,106,.40)!important;
    box-shadow:0 28px 65px rgba(8,10,22,.20)!important;
}

/* Remove any remaining home section contact-lead spacing if an old rule survives. */
body:not(.about-route) .section-contact-lead{display:none!important;}

/* About's final contact lead stays visible and is the last action on the page. */
body.about-route > .about-page .about-page-contact{display:flex!important;}

/* =========================================================
   ABOUT PAGE — FINAL POLISH
   Full-width white content + interactive cards + dark CTA
========================================================= */
body.about-route{background:#fff!important;color:#11131a!important;overflow-x:hidden;}
body.about-route > .about-page{
  width:100vw;
  min-width:100%;
  margin:0;
  padding-bottom:90px;
  background:#fff!important;
  color:#11131a!important;
}
body.about-route > .about-page::before{display:none!important;}
body.about-route .about-page-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:86px clamp(28px,4vw,60px) 0!important;
  background:#fff!important;
  color:#11131a!important;
}
body.about-route .about-reference-intro,
body.about-route .about-company-block,
body.about-route .about-values,
body.about-route .about-achievement-page{position:relative;z-index:2;}

/* White About content — remove old dark styling */
body.about-route .about-reference-heading h2,
body.about-route .about-company-block h2,
body.about-route .about-feature-card h3,
body.about-route .about-value h3,
body.about-route .about-achievement-page .achievement-heading h3{color:#11131a!important;}
body.about-route .about-reference-copy,
body.about-route .about-company-block p,
body.about-route .about-feature-card p,
body.about-route .about-value p{color:#667085!important;}
body.about-route .about-reference-rule{background:linear-gradient(90deg,var(--gold2),rgba(17,19,26,.12))!important;}
body.about-route .about-company-block{border-top:1px solid #e7e8ec!important;border-bottom:1px solid #e7e8ec!important;}

/* Feature cards: all white by default, no permanent blue card */
body.about-route .about-feature-card{
  position:relative;
  min-height:260px;
  border:1px solid #e4e6eb!important;
  border-radius:18px;
  background:#fff!important;
  color:#11131a!important;
  box-shadow:0 12px 32px rgba(15,23,42,.045);
  cursor:pointer;
  overflow:hidden;
  transition:transform .45s cubic-bezier(.22,1,.36,1),
             background .45s ease,
             color .35s ease,
             border-color .35s ease,
             box-shadow .45s ease;
}
body.about-route .about-feature-card::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,var(--gold2),#6b2cff);
  transform:scaleX(0);transform-origin:left;
  transition:transform .45s cubic-bezier(.22,1,.36,1);
}
body.about-route .about-feature-card:hover{
  transform:translateY(-7px);
  border-color:#d8dbe2!important;
  box-shadow:0 22px 50px rgba(15,23,42,.10);
}
body.about-route .about-feature-card:hover::after{transform:scaleX(1);}
body.about-route .about-feature-card.feature-highlight{background:#fff!important;border-color:#e4e6eb!important;}
body.about-route .about-feature-card.is-active{
  background:linear-gradient(145deg,#11152b 0%,#17204a 100%)!important;
  border-color:#11152b!important;
  color:#fff!important;
  transform:translateY(-7px) scale(1.01);
  box-shadow:0 26px 60px rgba(10,17,45,.22);
}
body.about-route .about-feature-card.is-active::after{transform:scaleX(1);}
body.about-route .about-feature-card.is-active h3{color:#fff!important;}
body.about-route .about-feature-card.is-active p{color:#c5cad8!important;}
body.about-route .about-feature-card.is-active .about-feature-icon{color:var(--gold2)!important;transform:translateY(-2px) scale(1.04);}
body.about-route .about-feature-icon{transition:transform .4s ease,color .3s ease;}

/* Values boxes also get the same click-to-dark interaction */
body.about-route .about-value{
  background:#fff!important;
  border:1px solid #e4e6eb!important;
  color:#11131a!important;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(15,23,42,.04);
  transition:transform .4s ease,background .4s ease,border-color .35s ease,box-shadow .4s ease;
}
body.about-route .about-value:hover{transform:translateY(-6px);box-shadow:0 18px 42px rgba(15,23,42,.08);}
body.about-route .about-value.is-active{
  background:linear-gradient(145deg,#11152b,#17204a)!important;
  border-color:#11152b!important;
  color:#fff!important;
  box-shadow:0 22px 50px rgba(10,17,45,.18);
  transform:translateY(-6px);
}
body.about-route .about-value.is-active h3{color:#fff!important;}
body.about-route .about-value.is-active p{color:#c5cad8!important;}
body.about-route .about-value.is-active .about-value-number{color:var(--gold2)!important;}

/* Achievements: white cards + reveal / lift / shine */
body.about-route .about-achievement-page{
  margin-top:92px!important;
  padding:58px 0 0!important;
  border-top:1px solid #e7e8ec!important;
  background:#fff!important;
}
body.about-route .achievement-heading-label{color:#7b8190!important;}
body.about-route .achievement-card-page{
  background:#fff!important;
  border:1px solid #e4e6eb!important;
  box-shadow:0 10px 28px rgba(15,23,42,.04);
  opacity:0;
  transform:translateY(22px);
  transition:opacity .65s ease,transform .65s cubic-bezier(.22,1,.36,1),
             border-color .35s ease,box-shadow .4s ease;
}
body.about-route .achievement-card-page.show{opacity:1;transform:translateY(0);}
body.about-route .achievement-card-page:hover{
  transform:translateY(-8px)!important;
  border-color:rgba(215,179,106,.45)!important;
  box-shadow:0 22px 50px rgba(15,23,42,.10);
}
body.about-route .achievement-card-page strong{color:var(--gold2)!important;}
body.about-route .achievement-card-page span{color:#747b8a!important;}

/* Final Contact CTA — same dark family as the About hero */
body.about-route .about-page-contact{
  position:relative;
  overflow:hidden;
  margin-top:78px!important;
  margin-bottom:0!important;
  border:1px solid rgba(232,195,106,.22)!important;
  border-radius:28px!important;
  padding:46px clamp(28px,4vw,50px)!important;
  background:linear-gradient(135deg,#05060e 0%,#090a17 58%,#11102b 100%)!important;
  color:#fff!important;
  box-shadow:0 28px 80px rgba(5,7,20,.22);
}
body.about-route .about-page-contact::before{
  content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(232,195,106,.10);
  border-radius:50%;right:-100px;top:-170px;animation:aboutCtaOrbit 9s ease-in-out infinite;
}
body.about-route .about-page-contact::after{
  content:"";position:absolute;width:180px;height:180px;border-radius:50%;
  right:60px;bottom:-130px;background:radial-gradient(circle,rgba(107,44,255,.18),transparent 68%);
  pointer-events:none;
}
@keyframes aboutCtaOrbit{0%,100%{transform:translate(0,0) rotate(0deg)}50%{transform:translate(-10px,12px) rotate(8deg)}}
body.about-route .about-page-contact h3{color:#fff!important;font-weight:700!important;position:relative;z-index:2;}
body.about-route .about-page-contact p{color:#aeb3c2!important;position:relative;z-index:2;}
body.about-route .about-contact-btn{position:relative;z-index:3;}

/* Stronger headings only on white About areas */
body.about-route .about-reference-heading h2,
body.about-route .about-company-block h2,
body.about-route .about-achievement-page .achievement-heading h3{font-weight:750!important;}
body.about-route .about-feature-card h3,
body.about-route .about-value h3{font-weight:700!important;}

@media(max-width:980px){
  body.about-route .about-page-content{padding-left:28px!important;padding-right:28px!important;}
}
@media(max-width:560px){
  body.about-route .about-page-content{padding-left:18px!important;padding-right:18px!important;}
  body.about-route .about-page-contact{border-radius:22px!important;}
}

/* =========================================================
   CURRENT FINAL REFINEMENT — ABOUT + 12 SERVICES + TYPE SCALE
========================================================= */

/* About: the SpaceG Designers intro block uses the same dark family as the hero. */
body.about-route .about-reference-intro{
  background:linear-gradient(180deg,#05060e 0%,#090a17 100%)!important;
  color:#f6f7fb!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-radius:0!important;
  padding:clamp(38px,5vw,72px)!important;
  margin-left:0!important;
  margin-right:0!important;
  box-shadow:0 24px 70px rgba(5,7,20,.18);
}
body.about-route .about-reference-heading h2{color:#f6f7fb!important;font-weight:800!important;}
body.about-route .about-reference-kicker{color:#e8c36a!important;}
body.about-route .about-reference-copy p{color:#b7bdcd!important;}
body.about-route .about-reference-rule{background:linear-gradient(90deg,#e8c36a,rgba(232,195,106,.15))!important;}

/* Larger typography throughout the main website, inspired by the hero scale. */
.section-title{font-size:clamp(38px,4.4vw,64px)!important;line-height:1.03!important;font-weight:800!important;}
.section-intro{font-size:18px!important;line-height:1.75!important;}
.kicker{font-size:13px!important;letter-spacing:.2em!important;font-weight:700!important;}
.services-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;}
.service-card{min-height:285px!important;padding:30px!important;}
.service-card h3{font-size:clamp(21px,1.7vw,27px)!important;line-height:1.15!important;font-weight:750!important;}
.service-card p{font-size:16px!important;line-height:1.7!important;}
.service-more{font-size:14px!important;font-weight:700!important;}
.service-no{font-size:12px!important;}
.service-icon{font-size:29px!important;}

/* About typography scale. */
body.about-route .about-reference-heading h2{font-size:clamp(40px,4.5vw,68px)!important;line-height:1.02!important;}
body.about-route .about-company-block h2{font-size:clamp(34px,4vw,58px)!important;line-height:1.05!important;}
body.about-route .about-company-block p,
body.about-route .about-reference-copy p,
body.about-route .about-value p,
body.about-route .about-feature-card p{font-size:17px!important;line-height:1.75!important;}
body.about-route .about-feature-card h3,
body.about-route .about-value h3{font-size:24px!important;font-weight:750!important;}
body.about-route .about-achievement-page .achievement-heading h3{font-size:clamp(30px,3vw,46px)!important;font-weight:800!important;}
body.about-route .achievement-card-page strong{font-size:40px!important;}
body.about-route .achievement-card-page span{font-size:13px!important;font-weight:650!important;}

@media(max-width:1000px){
  .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:620px){
  .services-grid{grid-template-columns:1fr!important;}
  .service-card{min-height:250px!important;padding:25px!important;}
  .section-title{font-size:40px!important;}
  body.about-route .about-reference-heading h2{font-size:40px!important;}
}

