:root {
    --bg: #05050a;
    --fg: #f4f2ff;
    --muted: #9795a8;
    --line: rgba(255, 255, 255, 0.11);

    --violet: #8b5cff;
    --cyan: #4de7ff;
    --pink: #ff4fd8;

    --max: 1240px;
}


/* ================= RESET ================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);

    font-family: "DM Sans", sans-serif;

    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}


/* ================= BACKGROUND ================= */

.noise {
    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: 20;

    opacity: 0.035;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


.cursor-glow {
    position: fixed;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(119, 74, 255, 0.13),
            transparent 65%
        );

    pointer-events: none;

    z-index: 0;

    transform: translate(-50%, -50%);
}


.orb {
    position: fixed;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.16;

    pointer-events: none;
}

.orb-a {
    width: 400px;
    height: 400px;

    background: #713cff;

    top: 5%;
    right: -180px;
}

.orb-b {
    width: 300px;
    height: 300px;

    background: #00d9ff;

    bottom: 15%;
    left: -170px;
}


/* ================= NAVIGATION ================= */

.nav {
    height: 82px;

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        0
        max(24px, calc((100vw - var(--max)) / 2));

    background: rgba(5, 5, 10, 0.6);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.05);
}


.brand {
    display: flex;

    align-items: center;

    gap: 11px;

    font:
        600
        12px
        "Space Grotesk";

    letter-spacing: 0.12em;
}


.brand b {
    font-weight: 400;

    color: #9996aa;
}


/* ================= LOGO ================= */

.brand-mark {
    width: 27px;
    height: 27px;

    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;
}


.brand-mark i {
    position: absolute;

    width: 25px;
    height: 10px;

    border:
        1.5px solid
        #b29cff;

    border-radius: 50%;

    transform: rotate(25deg);
}


.brand-mark i:nth-child(2) {
    transform: rotate(-25deg);
}


.brand-mark i:nth-child(3) {
    transform: rotate(90deg);
}


/* ================= NAV LINKS ================= */

nav {
    display: flex;

    align-items: center;

    gap: 34px;

    font-size: 13px;

    color: #aaa7b8;
}


nav a:hover {
    color: white;
}


.nav-cta {
    padding: 11px 17px;

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

    border-radius: 30px;

    color: white;
}


/* ================= MOBILE MENU ================= */

.menu-btn {
    display: none;

    background: none;

    border: 0;

    width: 36px;
    height: 30px;

    position: relative;
}


.menu-btn span {
    display: block;

    width: 25px;
    height: 1px;

    background: white;

    position: absolute;

    left: 5px;
    top: 10px;
}


.menu-btn span + span {
    top: 19px;
}


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

.hero {
    min-height: 100svh;

    position: relative;

    display: flex;

    align-items: center;

    max-width: var(--max);

    margin: auto;

    padding:
        120px
        24px
        70px;
}


.hero-grid {
    position: absolute;

    inset: 82px 0 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        radial-gradient(
            circle at 62% 45%,
            black,
            transparent 65%
        );

    opacity: 0.45;
}


.hero-copy {
    position: relative;

    z-index: 2;

    width: 58%;
}


.eyebrow,
.section-tag {
    font:
        600
        10px
        "Space Grotesk";

    letter-spacing: 0.18em;

    color: #8e8a9e;
}


.eyebrow span {
    display: inline-block;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow:
        0 0 14px
        var(--cyan);

    margin-right: 10px;
}


.hero h1 {
    font:
        500
        clamp(64px, 9.3vw, 138px)
        / 0.82
        "Space Grotesk";

    letter-spacing: -0.07em;

    margin: 25px 0 35px;
}


.hero h1 em {
    font-style: normal;

    background:
        linear-gradient(
            100deg,
            #fff 10%,
            #a77cff 48%,
            #56e9ff
        );

    -webkit-background-clip: text;

    color: transparent;
}


.hero p {
    max-width: 510px;

    font-size: 17px;

    line-height: 1.7;

    color: var(--muted);
}


.hero-actions {
    display: flex;

    align-items: center;

    gap: 28px;

    margin-top: 35px;
}


/* ================= BUTTON ================= */

.btn {
    display: inline-flex;

    align-items: center;

    gap: 30px;

    padding: 15px 19px;

    border-radius: 3px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.05em;
}


.btn.primary {
    background: #f3f1ff;

    color: #09080d;
}


.btn.primary span {
    font-size: 17px;
}


.text-link {
    font-size: 12px;

    color: #aaa7b8;
}


.text-link span {
    margin-left: 10px;

    color: white;
}


/* ================= QUANTUM VISUAL ================= */

.quantum-stage {
    position: absolute;

    width: min(55vw, 620px);
    height: min(55vw, 620px);

    right: -4%;

    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    perspective: 900px;
}


.quantum-core {
    position: absolute;

    inset: 38%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fff,
            #b59cff 10%,
            #6e36ff 35%,
            #25105e 65%,
            transparent 70%
        );

    box-shadow:
        0 0 70px #673cff,
        0 0 180px rgba(94, 47, 255, 0.4);

    animation:
        pulse 4s ease-in-out infinite;
}


.quantum-core span {
    position: absolute;

    inset: -45%;

    border-radius: 50%;

    border:
        1px solid
        rgba(113, 231, 255, 0.45);
}


.ring {
    position: absolute;

    inset: 8%;

    border:
        1px solid
        rgba(146, 115, 255, 0.32);

    border-radius: 50%;

    transform:
        rotateX(68deg)
        rotateZ(20deg);

    animation:
        spin 13s linear infinite;
}


.ring-2 {
    inset: 15%;

    transform:
        rotateX(72deg)
        rotateY(45deg);

    animation-duration: 10s;

    animation-direction: reverse;
}


.ring-3 {
    inset: 2%;

    transform:
        rotateY(70deg)
        rotateZ(35deg);

    animation-duration: 18s;
}


.particle {
    position: absolute;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow:
        0 0 15px
        var(--cyan);
}


.p1 {
    top: 18%;
    left: 20%;
}


.p2 {
    right: 13%;
    top: 35%;

    background: var(--pink);

    box-shadow:
        0 0 15px
        var(--pink);
}


.p3 {
    bottom: 18%;
    left: 30%;
}


.p4 {
    right: 24%;
    bottom: 17%;

    background: #a77cff;

    box-shadow:
        0 0 15px
        #a77cff;
}


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

.hero-bottom {
    position: absolute;

    bottom: 30px;

    left: 24px;
    right: 24px;

    display: flex;

    justify-content: space-between;

    font:
        10px
        "Space Grotesk";

    letter-spacing: 0.16em;

    color: #5f5c6c;
}


/* ================= SECTIONS ================= */

.section {
    max-width: var(--max);

    margin: auto;

    padding: 150px 24px;
}


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

.manifesto {
    display: grid;

    grid-template-columns: 25% 1fr;

    min-height: 80vh;

    align-items: center;
}


.manifesto-text p:first-child {
    font-size: 20px;

    color: #aaa7b8;
}


.manifesto h2,
.section-head h2 {
    font:
        500
        clamp(48px, 7vw, 100px)
        / 0.95
        "Space Grotesk";

    letter-spacing: -0.06em;

    margin: 15px 0 35px;
}


.manifesto h2 span,
.section-head h2 span {
    color: #716d7c;
}


.muted {
    max-width: 630px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.8;
}


/* ================= SECTION HEAD ================= */

.section-head {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 70px;
}


.section-head h2 {
    margin: 0;

    text-align: right;
}


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

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid
        var(--line);

    border-left:
        1px solid
        var(--line);
}


.service-card {
    min-height: 310px;

    padding: 28px;

    border-right:
        1px solid
        var(--line);

    border-bottom:
        1px solid
        var(--line);

    position: relative;

    transition:
        background 0.4s,
        transform 0.4s;
}


.service-card:hover {
    background:
        rgba(255, 255, 255, 0.035);

    transform:
        translateY(-5px);
}


.service-card a {
    display: block;

    height: 100%;
}


.service-card > a > span {
    font:
        11px
        "Space Grotesk";

    color: #676375;
}


.service-card h3 {
    font:
        500
        32px
        / 1.05
        "Space Grotesk";

    letter-spacing: -0.04em;

    margin: 60px 0 15px;
}


.service-card p {
    color: #858291;

    line-height: 1.6;

    font-size: 14px;

    max-width: 280px;
}


.service-card b {
    position: absolute;

    right: 28px;
    bottom: 26px;

    font-size: 20px;

    font-weight: 400;
}


.service-card.wide {
    grid-column: span 3;

    min-height: 230px;
}


.service-card.wide h3 {
    margin-top: 45px;
}


/* ================= PROJECTS ================= */

.projects {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 24px;
}


.project-art {
    height: 440px;

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

    position: relative;

    overflow: hidden;
}


.art-a {
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(125, 80, 255, 0.5),
            transparent 28%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(50, 215, 255, 0.25),
            transparent 30%
        ),
        #0b0915;
}


.art-a::after {
    content: "";

    position: absolute;

    inset: -20%;

    background:
        repeating-radial-gradient(
            ellipse at center,
            transparent 0 34px,
            rgba(164, 133, 255, 0.16) 35px 36px
        );

    transform: rotate(-20deg);
}


.mini-orbit {
    position: absolute;

    z-index: 1;

    width: 150px;
    height: 150px;

    border:
        1px solid
        #a78cff;

    border-radius: 50%;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%)
        rotateX(65deg);

    box-shadow:
        0 0 70px
        rgba(126, 78, 255, 0.5);
}


.art-b {
    background:
        linear-gradient(
            145deg,
            #0a1720,
            #09070e
        );
}


.grid-cube {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%)
        rotate(-12deg);

    font:
        500
        170px
        "Space Grotesk";

    color: #b8f6ff;

    text-shadow:
        25px 25px 0
        rgba(139, 92, 255, 0.35),
        50px 50px 0
        rgba(255, 79, 216, 0.15);
}


.project-meta {
    padding: 22px 2px;
}


.project-meta span {
    font:
        10px
        "Space Grotesk";

    color: #777384;

    letter-spacing: 0.15em;
}


.project-meta h3 {
    font:
        500
        28px
        "Space Grotesk";

    line-height: 1.05;

    margin: 14px 0 18px;
}


.project-meta a {
    font-size: 12px;

    color: #aaa7b8;
}


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

.process-list {
    margin-top: 60px;

    border-top:
        1px solid
        var(--line);
}


.process-row {
    display: grid;

    grid-template-columns:
        10%
        30%
        1fr;

    align-items: center;

    padding: 30px 0;

    border-bottom:
        1px solid
        var(--line);
}


.process-row span {
    font:
        11px
        "Space Grotesk";

    color: #686575;
}


.process-row h3 {
    font:
        500
        34px
        "Space Grotesk";

    margin: 0;
}


.process-row p {
    margin: 0;

    color: #7e7a8b;
}


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

.contact {
    padding-bottom: 110px;
}


.contact-card {
    min-height: 580px;

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

    position: relative;

    overflow: hidden;

    padding: 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(117, 69, 255, 0.2),
            transparent 32%
        );
}


.contact-card::after {
    content: "Q";

    position: absolute;

    right: -5%;
    bottom: -30%;

    font:
        700
        500px
        "Space Grotesk";

    color:
        rgba(255, 255, 255, 0.025);

    line-height: 1;
}


.contact h2 {
    font:
        500
        clamp(55px, 8vw, 110px)
        / 0.88
        "Space Grotesk";

    letter-spacing: -0.065em;

    margin: 25px 0;

    position: relative;

    z-index: 1;
}


.contact h2 em {
    font-style: normal;

    background:
        linear-gradient(
            100deg,
            #fff,
            #a77cff,
            #56e9ff
        );

    -webkit-background-clip: text;

    color: transparent;
}


.contact p {
    color: var(--muted);

    max-width: 480px;

    line-height: 1.7;

    position: relative;

    z-index: 1;
}


.btn.big {
    width: max-content;

    margin-top: 25px;

    padding: 17px 22px;

    position: relative;

    z-index: 1;
}


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

footer {
    border-top:
        1px solid
        var(--line);

    max-width: var(--max);

    margin: auto;

    padding:
        30px
        24px
        45px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: #666373;

    font-size: 11px;
}


footer .brand {
    color: #ddd;
}


footer a {
    color: #aaa7b8;
}


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

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.visible {
    opacity: 1;

    transform: none;
}


@keyframes spin {

    to {

        transform:
            rotateX(68deg)
            rotateZ(380deg);

    }

}


@keyframes pulse {

    50% {

        transform:
            scale(1.08);

        box-shadow:
            0 0 90px #673cff,
            0 0 220px
            rgba(94, 47, 255, 0.45);

    }

}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    .nav {
        height: 68px;
    }


    .nav nav {

        position: fixed;

        inset:
            68px
            0
            auto;

        background:
            rgba(5, 5, 10, 0.97);

        padding: 25px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        border-bottom:
            1px solid
            var(--line);
    }


    .nav nav.open {
        display: flex;
    }


    .nav nav a {

        padding: 18px 4px;

        border-bottom:
            1px solid
            var(--line);
    }


    .nav-cta {

        text-align: center;

        margin-top: 14px;
    }


    .menu-btn {
        display: block;
    }


    .hero {

        padding-top: 120px;

        min-height: 850px;

        display: block;
    }


    .hero-copy {
        width: 100%;
    }


    .hero h1 {

        font-size:
            clamp(
                60px,
                18vw,
                100px
            );

        margin-top: 22px;
    }


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


    .quantum-stage {

        width: 90vw;
        height: 90vw;

        right: 50%;

        top: auto;

        bottom: 65px;

        transform:
            translateX(50%);

        opacity: 0.75;
    }


    .hero-bottom {

        bottom: 22px;

        font-size: 8px;
    }


    .section {

        padding:
            100px
            20px;
    }


    .manifesto {

        display: block;

        min-height: auto;
    }


    .manifesto .section-tag {

        margin-bottom: 70px;
    }


    .manifesto h2,
    .section-head h2 {

        font-size: 58px;
    }


    .section-head {

        display: block;

        margin-bottom: 50px;
    }


    .section-head h2 {

        text-align: left;

        margin-top: 35px;
    }


    .service-grid {

        grid-template-columns: 1fr;
    }


    .service-card,
    .service-card.wide {

        grid-column: auto;

        min-height: 270px;
    }


    .projects {

        grid-template-columns: 1fr;
    }


    .project-art {

        height: 300px;
    }


    .process-row {

        grid-template-columns:
            15%
            1fr;

        gap: 10px;
    }


    .process-row h3 {

        font-size: 28px;
    }


    .process-row p {

        grid-column: 2;
    }


    .contact-card {

        padding: 30px;

        min-height: 530px;
    }


    .contact h2 {

        font-size: 58px;
    }


    footer {

        padding:
            28px
            20px;

        gap: 20px;

        flex-wrap: wrap;
    }


    footer .brand {

        width: 100%;
    }


    .cursor-glow {
        display: none;
    }

}


/* ================= REDUCED MOTION ================= */

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

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        animation: none !important;

        transition: none !important;
    }


    .reveal {

        opacity: 1;

        transform: none;
    }

}

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

.contact-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.contact-actions .btn {
    min-width: 190px;
    justify-content: center;
}


/* Secondary button */

.btn.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 22px;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;

    background: rgba(255,255,255,.04);

    color: var(--fg);

    text-decoration: none;

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;
}

.btn.secondary:hover {
    transform: translateY(-3px);

    border-color: rgba(77,231,255,.5);

    background: rgba(77,231,255,.06);
}


/* Contact status */

.contact-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 24px;

    color: var(--muted);

    font-size: .78rem;
}

.contact-note span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #4de7ff;

    box-shadow:
        0 0 12px rgba(77,231,255,.8);

    animation: contactPulse 2s infinite;
}

@keyframes contactPulse {

    0%,
    100% {
        opacity: .45;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

}


/* Mobile */

@media (max-width: 600px) {

    .contact-actions {
        flex-direction: column;
        width: 100%;
    }

    .contact-actions .btn {
        width: 100%;
        min-width: 0;
    }

}
/* =========================================
   MOBILE NAVIGATION
   Matches existing .menu-btn + nav.open
========================================= */

@media (max-width: 900px) {

    .nav nav {
        position: fixed;

        top: 76px;
        left: 12px;
        right: 12px;

        display: flex;
        flex-direction: column;

        padding: 16px;

        background:
            linear-gradient(
                145deg,
                rgba(12, 10, 22, 0.98),
                rgba(5, 5, 10, 0.99)
            );

        border: 1px solid rgba(255, 255, 255, 0.12);

        border-radius: 22px;

        box-shadow:
            0 25px 80px rgba(0, 0, 0, 0.65),
            0 0 60px rgba(139, 92, 255, 0.08);

        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);

        z-index: 9999;

        opacity: 0;
        visibility: hidden;

        transform:
            translateY(-12px)
            scale(0.98);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }


    /* OPEN */

    .nav nav.open {
        opacity: 1;

        visibility: visible;

        transform:
            translateY(0)
            scale(1);
    }


    /* MENU LINKS */

    .nav nav a {

        display: flex;

        align-items: center;

        min-height: 54px;

        padding: 0 12px;

        border-bottom:
            1px solid
            rgba(255,255,255,0.08);

        color:
            rgba(255,255,255,0.86);

        font-size: 0.95rem;

        text-decoration: none;

        transition:
            color 0.25s ease,
            padding-left 0.25s ease;
    }


    .nav nav a:last-child {
        border-bottom: none;
    }


    .nav nav a:hover,
    .nav nav a:active {

        color: #ffffff;

        padding-left: 18px;
    }


    /* MOBILE CTA IN NAV */

    /* MOBILE START PROJECT BUTTON */

.nav nav .nav-cta {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    margin-top: 14px;
    padding: 0 18px;

    border: 1px solid rgba(139, 92, 255, 0.35);
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 255, 0.16),
            rgba(77, 231, 255, 0.06)
        );

    color: #ffffff;

    font-weight: 600;

    text-decoration: none;

    border-bottom: 1px solid rgba(139, 92, 255, 0.35);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.nav nav .nav-cta:hover,
.nav nav .nav-cta:active {

    transform: translateY(-2px);

    border-color: rgba(139, 92, 255, 0.7);

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 255, 0.25),
            rgba(77, 231, 255, 0.1)
        );

}


    /* MENU BUTTON */

    .menu-btn {

        position: relative;

        z-index: 10001;

        width: 46px;
        height: 46px;

        display: flex;

        align-items: center;
        justify-content: center;

        flex-direction: column;

        gap: 6px;

        border:
            1px solid
            rgba(255,255,255,0.12);

        border-radius: 50%;

        background:
            rgba(255,255,255,0.035);

        cursor: pointer;
    }


    .menu-btn span {

        display: block;

        width: 19px;
        height: 1px;

        background: #ffffff;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }

}
/* =========================================
   QUANTUM WEB LABS
   PREMIUM MOTION SYSTEM
========================================= */

/* -------------------------
   Scroll reveal
------------------------- */

.reveal {
    opacity: 0;
    transform:
        translateY(28px)
        scale(0.985);
    filter: blur(5px);

    transition:
        opacity 0.8s cubic-bezier(.22,1,.36,1),
        transform 0.8s cubic-bezier(.22,1,.36,1),
        filter 0.8s cubic-bezier(.22,1,.36,1);
}

.reveal.visible {
    opacity: 1;
    transform:
        translateY(0)
        scale(1);
    filter: blur(0);
}

/* -------------------------
   Navbar
------------------------- */

.nav {
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease;
}

.nav.scrolled {
    background:
        rgba(5, 5, 10, 0.72);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid
        rgba(139, 92, 255, 0.16);

    box-shadow:
        0 12px 45px
        rgba(0, 0, 0, 0.22);
}

/* -------------------------
   Buttons
------------------------- */

.btn {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s
        cubic-bezier(.22,1,.36,1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.btn::before {
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            100deg,
            transparent,
            rgba(255,255,255,0.16),
            transparent
        );

    transform: skewX(-18deg);

    transition:
        left 0.65s ease;
}

.btn:hover::before {
    left: 140%;
}

.btn:hover {
    transform:
        translateY(-3px);
}

.btn:active {
    transform:
        translateY(-1px)
        scale(0.98);
}

/* -------------------------
   Quantum stage
------------------------- */

.quantum-stage {
    will-change:
        transform;
}

/* -------------------------
   Cursor glow
------------------------- */

.cursor-glow {
    transition:
        opacity 0.3s ease,
        transform 0.2s ease;
    will-change:
        left,
        top;
}

/* -------------------------
   Service / project cards
------------------------- */

.service-card,
.project-card,
.work-card {
    transition:
        transform 0.45s
        cubic-bezier(.22,1,.36,1),
        border-color 0.35s ease,
        box-shadow 0.45s ease;
}

.service-card:hover,
.project-card:hover,
.work-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(139, 92, 255, 0.38);

    box-shadow:
        0 20px 60px
        rgba(0,0,0,0.28),
        0 0 45px
        rgba(139,92,255,0.08);
}

/* =========================================
   MOBILE OPTIMIZATION
========================================= */

@media (max-width: 900px) {

    .cursor-glow {
        display: none;
    }

    .quantum-stage {
        transform: none !important;
    }

    .reveal {
        transform:
            translateY(20px);

        filter:
            blur(3px);
    }

    .service-card,
    .project-card,
    .work-card {
        transition:
            transform 0.25s ease,
            border-color 0.25s ease;
    }

    .service-card:hover,
    .project-card:hover,
    .work-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .btn:active {
        transform:
            scale(0.97);
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

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

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }

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