@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

/* =========================================================
   ROOT / GLOBAL
   ========================================================= */

:root {
    --bg: #08090b;
    --panel: #101216;
    --text: #f3f3ef;
    --muted: #9a9da5;
    --line: #24272d;
    --accent: #d9ff55;
    --accent2: #a9c938;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    isolation: isolate;

    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family: Manrope, Arial, sans-serif;
    line-height: 1.6;

    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--muted);
}


/* =========================================================
   AMBIENT BACKGROUND
   ========================================================= */

body::before,
body::after {
    content: "";

    position: fixed;
    inset: -20%;

    pointer-events: none;

    z-index: -3;

    background:
        radial-gradient(
            circle at 20% 25%,
            rgba(217, 255, 85, 0.055),
            transparent 30%
        ),
        radial-gradient(
            circle at 78% 18%,
            rgba(130, 150, 255, 0.045),
            transparent 32%
        ),
        radial-gradient(
            circle at 65% 75%,
            rgba(217, 255, 85, 0.035),
            transparent 34%
        );

    filter: blur(40px);

    transform: translate3d(0, 0, 0);

    animation:
        ambientDriftOne
        18s
        ease-in-out
        infinite
        alternate;
}

body::after {
    z-index: -4;

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(217, 255, 85, 0.045),
            transparent 27%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(90, 110, 255, 0.035),
            transparent 30%
        );

    filter: blur(55px);

    animation:
        ambientDriftTwo
        24s
        ease-in-out
        infinite
        alternate;
}

@keyframes ambientDriftOne {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(1);
    }

    50% {
        transform: translate3d(2%, 2%, 0) scale(1.04);
    }

    100% {
        transform: translate3d(-1%, 3%, 0) scale(1.02);
    }
}

@keyframes ambientDriftTwo {
    0% {
        transform: translate3d(2%, 1%, 0) scale(1.03);
    }

    50% {
        transform: translate3d(-2%, -2%, 0) scale(1);
    }

    100% {
        transform: translate3d(1%, 2%, 0) scale(1.05);
    }
}


/* =========================================================
   CURSOR GLOW
   ========================================================= */

.cursor-glow {
    position: fixed;

    width: 420px;
    height: 420px;

    left: 0;
    top: 0;

    z-index: -1;

    pointer-events: none;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(217, 255, 85, 0.075) 0%,
            rgba(217, 255, 85, 0.025) 28%,
            transparent 68%
        );

    transform: translate3d(-50%, -50%, 0);

    filter: blur(8px);

    opacity: 0;

    transition: opacity 0.4s ease;

    will-change: transform;
}

body.cursor-active .cursor-glow {
    opacity: 1;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;

    height: 82px;

    max-width: var(--max);

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 28px;

    border-bottom: 1px solid var(--line);

    /*background: rgba(8, 9, 11, 0.72);*/

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        height 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    height: 70px;

    background: rgba(8, 9, 11, 0.90);

    border-color: #30333a;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: -0.04em;
}

.brand-muted {
    color: #777b84;
    font-weight: 500;
}

.brand-mark {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border: 1px solid #50545c;
    border-radius: 50%;

    font-size: 14px;

    transition:
        transform 0.4s ease,
        border-color 0.3s ease;
}

.brand:hover .brand-mark {
    transform: rotate(-12deg) scale(1.05);
    border-color: var(--accent);
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 32px;

    font-size: 13px;
}

.main-nav a:not(.nav-cta) {
    position: relative;

    color: #b7bac1;
}

.main-nav a:not(.nav-cta)::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: -7px;

    height: 1px;

    background: var(--accent);

    transition: right 0.3s ease;
}

.main-nav a:not(.nav-cta):hover {
    color: var(--text);
}

.main-nav a:not(.nav-cta):hover::after {
    right: 0;
}


/* =========================================================
   NAV CTA
   ========================================================= */

.nav-cta {
    padding: 10px 16px;

    border: 1px solid #555a63;
    border-radius: 999px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent);

    color: #0a0c0b;

    border-color: var(--accent);

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
    display: none;

    padding: 8px 12px;

    background: none;

    border: 1px solid var(--line);

    color: white;

    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    max-width: var(--max);

    min-height: 690px;

    margin: auto;

    padding: 92px 28px 80px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 60px;

    align-items: center;
}

.eyebrow {
    color: #aeb2ba;

    font:
        500 11px/1.2
        "DM Mono",
        monospace;

    letter-spacing: 0.13em;
}

.pulse {
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 9px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 15px var(--accent);

    animation:
        pulseGlow
        2.4s
        ease-in-out
        infinite;
}

h1 {
    max-width: 800px;

    margin: 24px 0 25px;

    font-size: clamp(48px, 6vw, 84px);

    line-height: 0.99;

    letter-spacing: -0.065em;
}

.hero-copy > p {
    max-width: 650px;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-actions {
    display: flex;

    gap: 12px;

    margin: 34px 0;
}

.btn {
    --mag-x: 0px;
    --mag-y: 0px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 14px 20px;

    border: 1px solid var(--line);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;

    transform:
        translate3d(
            var(--mag-x),
            var(--mag-y),
            0
        );

    will-change: transform;

    transition:
        transform 0.22s cubic-bezier(.2, .8, .2, 1),
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.btn:hover {
    box-shadow:
        0 10px 35px rgba(217, 255, 85, 0.07);
}

.btn-primary {
    background: var(--accent);

    color: #0a0c0b;

    border-color: var(--accent);

    box-shadow:
        0 10px 30px rgba(217, 255, 85, 0.12);
}

.btn-primary:hover {
    box-shadow:
        0 15px 42px rgba(217, 255, 85, 0.20);
}

.btn-ghost {
    color: #ddd;
}

.btn-ghost:hover {
    border-color: #555a63;
    background: #111317;
}


/* =========================================================
   HERO TRUST
   ========================================================= */

.hero-trust {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-top: 55px;

    color: #6f737b;

    font:
        11px
        "DM Mono",
        monospace;
}

.hero-trust i {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #4d5158;
}


/* =========================================================
   HERO ART
   ========================================================= */

.hero-art {
    position: relative;

    height: 520px;

    overflow: hidden;

    border: 1px solid var(--line);

    background:
        radial-gradient(
            circle at 50% 48%,
            #20251d 0,
            #11140f 24%,
            #090a0c 58%
        );

    isolation: isolate;

    animation:
        heroArtIn
        1.1s
        cubic-bezier(0.2, 0.7, 0.2, 1)
        both;
}

.hero-art::before {
    content: "";

    position: absolute;

    inset: -30%;

    z-index: -1;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(217, 255, 85, 0.12),
            transparent 26%,
            transparent 60%
        );

    animation:
        ambientDrift
        12s
        ease-in-out
        infinite
        alternate;
}

.hero-art::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            transparent 20%,
            rgba(255, 255, 255, 0.035) 50%,
            transparent 80%
        );

    transform: translateX(-100%);

    animation:
        lightSweep
        8s
        ease-in-out
        infinite;
}


/* =========================================================
   HERO GRID
   ========================================================= */

.grid-lines {
    position: absolute;

    inset: 0;

    top: 30%;

    background-image:
        linear-gradient(#ffffff08 1px, transparent 1px),
        linear-gradient(90deg, #ffffff08 1px, transparent 1px);

    background-size: 52px 52px;

    transform:
        perspective(500px)
        rotateX(58deg)
        scale(1.8);

    transform-origin: center bottom;

    animation:
        gridDrift
        10s
        linear
        infinite;
}


/* =========================================================
   HERO ORB
   ========================================================= */

.orb {
    position: absolute;

    width: 310px;
    height: 310px;

    left: 50%;
    top: 48%;

    border: 1px solid #68714a;

    border-radius: 50%;

    box-shadow:
        0 0 80px #d9ff5520,
        inset 0 0 70px #d9ff5510;

    transform:
        translate(-50%, -50%);

    animation:
        orbFloat
        6s
        ease-in-out
        infinite;
}

.orb::before,
.orb::after {
    content: "";

    position: absolute;

    border: 1px solid rgba(217, 255, 85, 0.15);

    border-radius: 50%;
}

.orb::before {
    inset: 45px;

    border-left-color: rgba(217, 255, 85, 0.55);
    border-bottom-color: transparent;

    animation:
        orbSpin
        9s
        linear
        infinite;
}

.orb::after {
    inset: -18px;

    border-color: rgba(217, 255, 85, 0.08);
    border-right-color: rgba(217, 255, 85, 0.32);

    animation:
        orbSpinReverse
        13s
        linear
        infinite;
}


/* =========================================================
   HERO CORE
   ========================================================= */

.hero-core {
    position: absolute;

    left: 50%;
    top: 48%;

    text-align: center;

    font-size: 38px;
    font-weight: 800;

    letter-spacing: -0.08em;

    transform:
        translate(-50%, -50%);

    animation:
        coreFloat
        5s
        ease-in-out
        infinite;
}

.hero-core b {
    display: block;

    margin-left: 5px;

    color: #777b83;

    font:
        11px
        "DM Mono";

    letter-spacing: 0.3em;
}


/* =========================================================
   FLOATING HERO CARDS
   ========================================================= */

.floating-card {
    position: absolute;

    width: 210px;

    padding: 14px 16px;

    background: #111317e8;

    border: 1px solid #30343b;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        transform 0.25s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.floating-card:hover {
    border-color: #555d47;

    box-shadow:
        0 16px 45px rgba(0, 0, 0, 0.25);
}

.floating-card small {
    display: block;

    margin-bottom: 8px;

    color: var(--accent);

    font:
        9px
        "DM Mono";
}

.floating-card strong {
    font-size: 13px;
}

.floating-card span {
    display: block;

    margin-top: 5px;

    color: #767a82;

    font-size: 10px;

    line-height: 1.5;
}

.card-one {
    left: 24px;
    top: 30px;

    animation:
        cardFloatOne
        5.5s
        ease-in-out
        infinite;
}

.card-two {
    right: 24px;
    bottom: 30px;

    animation:
        cardFloatTwo
        6.5s
        ease-in-out
        infinite;
}


/* =========================================================
   STATEMENT
   ========================================================= */

.statement {
    padding: 68px 28px;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.statement p {
    max-width: var(--max);

    margin: auto;

    color: #d9dadd;

    font-size: clamp(26px, 3vw, 42px);

    line-height: 1.25;

    letter-spacing: -0.035em;
}

.statement em {
    color: #777b83;

    font-style: normal;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    max-width: var(--max);

    margin: auto;

    padding: 120px 28px;
}

.section-head {
    display: grid;

    grid-template-columns: 1fr 0.6fr;

    gap: 60px;

    align-items: end;

    margin-bottom: 65px;
}

.section-head > p {
    max-width: 440px;

    margin: 0;

    font-size: 15px;
}

h2 {
    margin: 18px 0;

    font-size: clamp(38px, 5vw, 64px);

    line-height: 1.03;

    letter-spacing: -0.055em;
}

h2 em {
    color: #898d95;

    font-style: normal;
}


/* =========================================================
   SERVICES
   ========================================================= */

.service-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--line);
}

.service {
    position: relative;

    min-height: 360px;

    padding: 30px 24px 34px;

    overflow: hidden;

    isolation: isolate;

    border-right: 1px solid var(--line);

    transition:
        background 0.4s ease,
        transform 0.4s ease,
        border-color 0.4s ease;
}

.service:first-child {
    border-left: 1px solid var(--line);
}


/*
   Existing service bottom accent line.
   IMPORTANT:
   This remains ::after.
*/

.service::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    z-index: 2;

    background: var(--accent);

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.45s ease;
}


/*
   New mouse-following light.
   Uses ::before so it does not conflict
   with the existing bottom accent line.
*/

.service::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    opacity: 0;

    background:
        radial-gradient(
            circle 180px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(217, 255, 85, 0.085),
            rgba(217, 255, 85, 0.025) 38%,
            transparent 72%
        );

    transition:
        opacity 0.35s ease;
}

.service:hover {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            rgba(217, 255, 85, 0.025)
        );

    transform: translateY(-6px);

    border-color: rgba(217, 255, 85, 0.18);
}

.service:hover::before {
    opacity: 1;
}

.service:hover::after {
    transform: scaleX(1);
}

.service-no {
    color: #656970;

    font:
        11px
        "DM Mono";
}


/* =========================================================
   SERVICE ICON
   ========================================================= */

.service-icon {
    position: relative;

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    margin: 45px 0 24px;

    color: var(--accent);

    border: 1px solid #30352b;

    border-radius: 50%;

    background: rgba(217, 255, 85, 0.015);

    line-height: 0;

    transition:
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.service-icon svg {
    display: block;

    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    color: currentColor;
    fill: currentColor;

    transform-origin: center;

    transition:
        filter 0.35s ease;
}

.service-icon::before {
    content: "";

    position: absolute;

    inset: -7px;

    border: 1px solid rgba(217, 255, 85, 0.12);

    border-radius: 50%;

    transform: scale(0.65);

    opacity: 0;

    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}

.service:hover .service-icon {
    transform: translateY(-4px);

    background: rgba(217, 255, 85, 0.06);

    border-color: rgba(217, 255, 85, 0.35);

    box-shadow:
        0 0 30px rgba(217, 255, 85, 0.08);
}

.service:hover .service-icon::before {
    transform: scale(1);

    opacity: 1;
}

.service:hover .service-icon svg {
    filter:
        drop-shadow(0 0 7px rgba(217, 255, 85, 0.28));
}


/* =========================================================
   SERVICE ICON ANIMATIONS
   ========================================================= */

.service:nth-child(1) .service-icon svg {
    animation:
        codePulse
        4s
        ease-in-out
        infinite;
}

.service:nth-child(2) .service-icon svg {
    animation:
        phoneFloat
        4.5s
        ease-in-out
        infinite;
}

.service:nth-child(3) .service-icon svg {
    animation:
        cloudFloat
        5s
        ease-in-out
        infinite;
}

.service:nth-child(4) .service-icon svg {
    animation:
        brainPulse
        4.2s
        ease-in-out
        infinite;
}


/* =========================================================
   SERVICE CONTENT
   ========================================================= */

.service h3 {
    margin: 0 0 12px;

    font-size: 21px;

    letter-spacing: -0.03em;
}

.service p {
    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   SERVICE TAGS
   ========================================================= */

.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 28px;
}

.tags span {
    padding: 6px 8px;

    color: #777b83;

    border: 1px solid var(--line);

    font:
        9px
        "DM Mono";

    transition:
        border-color 0.3s ease,
        color 0.3s ease,
        background 0.3s ease;
}

.service:hover .tags span {
    color: #aeb2ba;

    border-color: #3a3f45;
}


/* =========================================================
   WORK / SELECTED PROJECTS
   ========================================================= */

.work-section {
    padding-top: 40px;
}

.work-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.work-card {
    position: relative;

    overflow: hidden;

    isolation: isolate;

    background: var(--panel);

    border: 1px solid var(--line);

    transition:
        transform 0.45s ease,
        border-color 0.35s ease,
        box-shadow 0.45s ease;
}


/*
   Work card mouse-following light.
*/

.work-card::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    opacity: 0;

    background:
        radial-gradient(
            circle 220px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(217, 255, 85, 0.075),
            rgba(130, 150, 255, 0.025) 40%,
            transparent 72%
        );

    transition:
        opacity 0.35s ease;
}

.work-card:hover {
    transform: translateY(-8px);

    border-color: rgba(217, 255, 85, 0.18);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);
}

.work-card:hover::after {
    opacity: 1;
}

.work-image {
    position: relative;

    height: 280px;

    overflow: hidden;

    background: #15181c;
}

.work-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1),
        filter 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.045);

    filter: saturate(1.08);
}

.work-image > span {
    position: absolute;

    left: 14px;
    top: 14px;

    padding: 6px 9px;

    background: #08090ddd;

    border: 1px solid #383c42;

    font:
        9px
        "DM Mono";
}

.work-copy {
    padding: 22px;
}

.work-copy p {
    margin-bottom: 0;

    font-size: 13px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    display: grid;

    grid-template-columns: 0.3fr 1fr;

    gap: 100px;

    border-top: 1px solid var(--line);
}

.about-side {
    min-width: 0;

    display: flex;

    flex-direction: column;
}

.about-content {
    min-width: 0;
}

.about-label {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;
}

.big-number {
    color: #565a62;

    font-size: 12px;
}

.about-content > p {
    max-width: 750px;

    font-size: 17px;
}


/* =========================================================
   WHY AAA TECH — ANIMATED SYSTEM VISUAL
   ========================================================= */

.why-visual {
    position: relative;

    width: 100%;

    min-height: 520px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    pointer-events: none;
}

.why-visual-frame {
    position: relative;

    width: min(420px, 90%);

    aspect-ratio: 1;

    display: flex;

    align-items: center;

    justify-content: center;
}

.why-system {
    width: 100%;
    height: 100%;

    overflow: visible;
}


/* Main rings */

.system-ring {
    fill: none;

    stroke: rgba(217, 255, 85, 0.12);

    stroke-width: 1;

    transform-origin: 210px 210px;
}

.system-ring-outer {
    animation:
        systemRingRotate
        28s
        linear
        infinite;
}

.system-ring-mid {
    stroke: rgba(217, 255, 85, 0.16);

    stroke-dasharray: 3 10;

    animation:
        systemRingRotateReverse
        20s
        linear
        infinite;
}

.system-ring-inner {
    stroke: rgba(217, 255, 85, 0.20);

    stroke-dasharray: 1 7;

    animation:
        systemRingPulse
        5s
        ease-in-out
        infinite;
}


/* Crosshair */

.system-line {
    stroke: rgba(217, 255, 85, 0.055);

    stroke-width: 1;
}

.system-line-soft {
    stroke: rgba(217, 255, 85, 0.035);
}


/* Orbit */

.system-orbit {
    fill: none;

    stroke: rgba(217, 255, 85, 0.13);

    stroke-width: 1;

    stroke-dasharray: 2 9;

    transform-origin: 210px 210px;

    animation:
        systemOrbit
        14s
        linear
        infinite;
}


/* Core */

.system-core-glow {
    fill: rgba(217, 255, 85, 0.035);

    animation:
        systemCoreGlow
        3.5s
        ease-in-out
        infinite;
}

.system-core {
    fill: rgba(217, 255, 85, 0.08);

    stroke: rgba(217, 255, 85, 0.65);

    stroke-width: 1;

    animation:
        systemCorePulse
        3.5s
        ease-in-out
        infinite;
}

.system-core-dot {
    fill: var(--accent);

    filter:
        drop-shadow(0 0 8px rgba(217, 255, 85, 0.5));

    animation:
        systemDotPulse
        2.5s
        ease-in-out
        infinite;
}


/* Nodes */

.system-node {
    fill: var(--accent);

    filter:
        drop-shadow(0 0 5px rgba(217, 255, 85, 0.35));
}

.system-node-1 {
    animation:
        systemNodePulse
        3.4s
        ease-in-out
        infinite;
}

.system-node-2 {
    animation:
        systemNodePulse
        4.1s
        ease-in-out
        infinite
        0.6s;
}

.system-node-3 {
    animation:
        systemNodePulse
        3.7s
        ease-in-out
        infinite
        1.1s;
}

.system-node-4 {
    animation:
        systemNodePulse
        4.4s
        ease-in-out
        infinite
        1.6s;
}


/* Orbiting node */

.system-node-orbit {
    animation:
        systemOrbitNode
        14s
        linear
        infinite;

    transform-origin: 210px 210px;
}


/* Connections */

.system-connection {
    stroke: rgba(217, 255, 85, 0.07);

    stroke-width: 1;

    stroke-dasharray: 2 8;

    animation:
        systemConnectionPulse
        4s
        ease-in-out
        infinite;
}


/* Labels */

.why-visual-label {
    position: absolute;

    font:
        10px/1
        "DM Mono",
        monospace;

    letter-spacing: 0.16em;

    color: rgba(157, 163, 173, 0.55);

    white-space: nowrap;
}

.why-visual-label-top {
    top: 18%;
    left: 3%;
}

.why-visual-label-bottom {
    right: 0;
    bottom: 18%;

    transform: rotate(-90deg);

    transform-origin: right center;
}


/* =========================================================
   PRINCIPLES
   ========================================================= */

.principles {
    display: grid;

    grid-template-columns: 1fr 1fr;

    margin-top: 65px;

    border-top: 1px solid var(--line);
}

.principles > div {
    display: grid;

    grid-template-columns: 38px 1fr;

    column-gap: 15px;

    padding: 24px 18px 24px 0;

    border-bottom: 1px solid var(--line);

    transition:
        padding-left 0.3s ease,
        background 0.3s ease;
}

.principles > div:hover {
    padding-left: 10px;

    background: rgba(255, 255, 255, 0.018);
}

.principles b {
    color: var(--accent);

    font:
        10px
        "DM Mono";
}

.principles strong {
    font-size: 14px;
}

.principles span {
    grid-column: 2;

    margin-top: 6px;

    color: #777b83;

    font-size: 12px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    position: relative;

    max-width: var(--max);

    margin: 0 auto 120px;

    padding: 70px;

    display: grid;

    grid-template-columns: 0.8fr 1fr;

    gap: 100px;

    overflow: hidden;

    background: #101216;

    border: 1px solid var(--line);
}

.contact-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -220px;
    top: -240px;

    border: 1px solid rgba(217, 255, 85, 0.09);

    border-radius: 50%;

    box-shadow:
        0 0 90px rgba(217, 255, 85, 0.04);
}

.contact-intro,
.contact-form {
    position: relative;

    z-index: 1;
}

.contact-intro h2 {
    max-width: 500px;
}


/* =========================================================
   DIRECT CONTACT
   ========================================================= */

.contact-direct {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 45px;
}

.contact-direct a {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--muted);

    font:
        12px/1.6
        Manrope,
        Arial,
        sans-serif;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-direct a:hover {
    color: var(--text);

    transform: translateX(3px);
}


/* =========================================================
   CONTACT ICONS
   ========================================================= */

.contact-icon {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    display: inline-grid;

    place-items: center;

    color: #858992;
}

.contact-icon svg {
    width: 15px;
    height: 15px;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form label {
    display: block;

    margin-bottom: 17px;

    color: #838790;

    font:
        10px
        "DM Mono";
}

.contact-form input,
.contact-form textarea {
    display: block;

    width: 100%;

    margin-top: 8px;

    padding: 14px 15px;

    background: #090a0c;

    color: white;

    border: 1px solid #30343b;

    outline: none;

    font:
        13px
        Manrope;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #0b0d10;

    border-color: #767c62;

    box-shadow:
        0 0 0 3px rgba(217, 255, 85, 0.04);
}

.contact-form-wrap {
    position: relative;
}

.contact-form.is-submitted {
    display: none;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}


/* =========================================================
   FORM STATUS
   ========================================================= */

.form-status {
    display: none;

    margin-top: 18px;

    font:
        12px/1.6
        "DM Mono",
        monospace;

    letter-spacing: 0.02em;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    margin-top: 0;

    padding: 32px;

    border: 1px solid #30352b;

    background: rgba(217, 255, 85, 0.025);

    color: var(--accent);

    font-size: 13px;

    line-height: 1.7;
}

.form-status.is-error {
    color: #ff8f8f;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.hp {
    position: absolute !important;

    left: -9999px !important;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.submit-btn {
    margin-top: 5px;

    cursor: pointer;
}

.submit-btn:disabled {
    cursor: wait;

    opacity: 0.85;
}

.submit-btn.is-loading {
    pointer-events: none;

    opacity: 0.65;
}

.button-spinner {
    width: 13px;
    height: 13px;

    display: inline-block;

    margin-right: 8px;

    border: 2px solid rgba(10, 12, 11, 0.3);

    border-top-color: #0a0c0b;

    border-radius: 50%;

    animation:
        spin
        0.75s
        linear
        infinite;
}


/* =========================================================
   FORM NOTE
   ========================================================= */

.form-note {
    display: block;

    margin-top: 13px;

    color: #777b83;

    font:
        12px/1.6
        Manrope,
        Arial,
        sans-serif;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    max-width: var(--max);

    margin: auto;

    padding: 50px 28px 35px;

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 50px;

    border-top: 1px solid var(--line);
}

.footer-brand-wrap {
    min-width: 0;
}

.footer-brand-note {
    max-width: 350px;

    margin: 15px 0 0;

    color: var(--muted);

    font:
        12px/1.7
        Manrope,
        Arial,
        sans-serif;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 8px;

    text-align: right;
}

.footer-links a {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

    color: var(--muted);

    font:
        12px/1.7
        Manrope,
        Arial,
        sans-serif;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-links a:hover {
    color: var(--text);

    transform: translateX(-3px);
}

.footer-links .contact-icon {
    width: 17px;
    height: 17px;

    flex-basis: 17px;
}

.footer-links .contact-icon svg {
    width: 14px;
    height: 14px;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    grid-column: 1 / -1;

    display: flex;

    justify-content: space-between;

    padding-top: 25px;

    color: #53575e;

    border-top: 1px solid var(--line);

    font:
        9px
        "DM Mono";
}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.js .reveal {
    opacity: 0;

    transform: translateY(24px);

    transition:
        opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);

    transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
    opacity: 1;

    transform: none;
}


/* =========================================================
   HERO INTRO ANIMATION
   ========================================================= */

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy > p,
.hero-copy .hero-actions,
.hero-copy .hero-trust {
    animation:
        heroIn
        0.9s
        cubic-bezier(0.2, 0.75, 0.2, 1)
        both;
}

.hero-copy h1 {
    animation-delay: 0.08s;
}

.hero-copy > p {
    animation-delay: 0.16s;
}

.hero-copy .hero-actions {
    animation-delay: 0.24s;
}

.hero-copy .hero-trust {
    animation-delay: 0.34s;
}


/* =========================================================
   WHY VISUAL ANIMATIONS
   ========================================================= */

@keyframes systemRingRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes systemRingRotateReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes systemRingPulse {
    0%,
    100% {
        opacity: 0.55;

        transform: scale(1);
    }

    50% {
        opacity: 1;

        transform: scale(1.035);
    }
}

@keyframes systemOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes systemOrbitNode {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes systemCoreGlow {
    0%,
    100% {
        opacity: 0.35;

        transform: scale(0.85);
    }

    50% {
        opacity: 0.75;

        transform: scale(1.15);
    }
}

@keyframes systemCorePulse {
    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes systemDotPulse {
    0%,
    100% {
        opacity: 0.65;

        transform: scale(0.8);
    }

    50% {
        opacity: 1;

        transform: scale(1.25);
    }
}

@keyframes systemNodePulse {
    0%,
    100% {
        opacity: 0.25;

        transform: scale(0.7);
    }

    50% {
        opacity: 1;

        transform: scale(1.2);
    }
}

@keyframes systemConnectionPulse {
    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.9;
    }
}


/* =========================================================
   GENERAL KEYFRAME ANIMATIONS
   ========================================================= */

@keyframes heroIn {
    from {
        opacity: 0;

        transform: translateY(22px);
    }

    to {
        opacity: 1;

        transform: none;
    }
}

@keyframes heroArtIn {
    from {
        opacity: 0;

        transform:
            translateY(20px)
            scale(0.98);
    }

    to {
        opacity: 1;

        transform: none;
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        box-shadow:
            0 0 10px rgba(217, 255, 85, 0.35);
    }

    50% {
        box-shadow:
            0 0 22px rgba(217, 255, 85, 0.80);
    }
}

@keyframes orbFloat {
    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -9px;
    }
}

@keyframes coreFloat {
    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -5px;
    }
}

@keyframes orbSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes orbSpinReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes gridDrift {
    from {
        background-position:
            0 0,
            0 0;
    }

    to {
        background-position:
            52px 52px,
            52px 52px;
    }
}

@keyframes ambientDrift {
    from {
        transform:
            translate(-3%, -2%)
            scale(0.98);
    }

    to {
        transform:
            translate(4%, 3%)
            scale(1.04);
    }
}

@keyframes lightSweep {
    0%,
    55% {
        transform: translateX(-100%);
    }

    75%,
    100% {
        transform: translateX(100%);
    }
}

@keyframes cardFloatOne {
    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -9px;
    }
}

@keyframes cardFloatTwo {
    0%,
    100% {
        margin-bottom: 0;
    }

    50% {
        margin-bottom: 9px;
    }
}


/* =========================================================
   SERVICE ICON KEYFRAMES
   ========================================================= */

@keyframes codePulse {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(2px);
    }
}

@keyframes phoneFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

@keyframes cloudFloat {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(2px);
    }
}

@keyframes brainPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   AMBIENT PARTICLES
   ========================================================= */

#ambient-particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ambient-particle {
    position: absolute;

    width: 2px;
    height: 2px;

    border-radius: 50%;

    background: rgba(217, 255, 85, 0.55);

    box-shadow:
        0 0 8px rgba(217, 255, 85, 0.45),
        0 0 16px rgba(217, 255, 85, 0.18);

    animation:
        particleFloat
        linear
        forwards;
}

/* Slight variation using the secondary accent */
.ambient-particle:nth-child(3n) {
    background: rgba(169, 201, 56, 0.55);

    box-shadow:
        0 0 8px rgba(169, 201, 56, 0.4),
        0 0 16px rgba(169, 201, 56, 0.16);
}

@keyframes particleFloat {
    0% {
        transform:
            translate3d(0, 20px, 0);

        opacity: 0;
    }

    10% {
        opacity: 0.65;
    }

    80% {
        opacity: 0.32;
    }

    100% {
        transform:
            translate3d(0, -100vh, 0);

        opacity: 0;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-art {
        height: 420px;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service:nth-child(3) {
        border-left: 1px solid var(--line);
    }

    .section-head,
    .about-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .work-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-section {
        gap: 45px;

        padding: 45px 30px;
    }

    .footer {
        grid-template-columns: 1fr;
    }

    .footer-links {
        text-align: left;
    }

    .footer-links a {
        justify-content: flex-start;
    }

    .why-visual {
        min-height: 360px;

        margin-bottom: 30px;
    }

    .why-visual-frame {
        width: min(340px, 75%);
    }

    .why-visual-label-top {
        top: 12%;
    }

    .why-visual-label-bottom {
        bottom: 12%;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .site-header {
        height: 70px;
    }

    .site-header.is-scrolled {
        height: 64px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;

        z-index: 5;

        left: 0;
        right: 0;

        top: 70px;

        padding: 20px 28px;

        flex-direction: column;

        align-items: flex-start;

        gap: 22px;

        background: #0b0c0e;

        border-bottom: 1px solid var(--line);
    }

    .main-nav.open {
        display: flex;

        animation:
            menuIn
            0.25s
            ease
            both;
    }

    .hero {
        min-height: auto;

        padding-top: 60px;
    }

    .hero-art {
        height: 360px;
    }

    .floating-card {
        width: 165px;
    }

    .card-one {
        left: 12px;
    }

    .card-two {
        right: 12px;
    }

    .service-grid,
    .work-grid,
    .principles,
    .form-row {
        grid-template-columns: 1fr;
    }

    .service {
        border-left: 1px solid var(--line);

        border-bottom: 1px solid var(--line);
    }

    .section {
        padding: 80px 22px;
    }

    .section-head {
        gap: 20px;

        margin-bottom: 40px;
    }

    .contact-section {
        margin: 0 15px 80px;

        padding: 35px 22px;
    }

    .footer {
        padding: 40px 22px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-trust {
        flex-wrap: wrap;

        margin-top: 35px;
    }

    .contact-direct {
        margin-top: 32px;
    }

    .why-visual {
        min-height: 280px;
    }

    .why-visual-frame {
        width: 280px;
    }

    .why-visual-label {
        font-size: 8px;
    }
}


/* =========================================================
   MOBILE MENU ANIMATION
   ========================================================= */

@keyframes menuIn {
    from {
        opacity: 0;

        transform: translateY(-8px);
    }

    to {
        opacity: 1;

        transform: none;
    }
}


/* =========================================================
   SMALL-SCREEN AMBIENT ADJUSTMENTS
   ========================================================= */

@media (max-width: 700px) {

    .cursor-glow {
        display: none;
    }

    body::before,
    body::after {
        filter: blur(65px);
    }

    .service::before,
    .work-card::after {
        display: none;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    body::before,
    body::after {
        animation: none;
    }

    .pulse,
    .orb,
    .hero-core,
    .floating-card,
    .grid-lines,
    .hero-art::before,
    .hero-art::after,
    .service-icon,
    .service-icon svg,
    .ambient-particle,
    .system-ring-outer,
    .system-ring-mid,
    .system-ring-inner,
    .system-orbit,
    .system-node-orbit,
    .system-core-glow,
    .system-core,
    .system-core-dot,
    .system-node-1,
    .system-node-2,
    .system-node-3,
    .system-node-4,
    .system-connection,
    .button-spinner {
        animation: none !important;
    }

    .cursor-glow {
        display: none;
    }

    .ambient-particle {
        display: none;
    }

    .btn,
    .service,
    .service-icon,
    .service-icon svg,
    .work-card,
    .principles > div,
    .contact-direct a,
    .footer-links a,
    .service::before,
    .work-card::after {
        transition: none;
    }

    .btn {
        transform: none !important;
    }

    .js .reveal,
    .js .reveal.is-visible {
        opacity: 1;

        transform: none;

        transition: none;
    }
}

/* =========================================================
   WORK IMAGE LIGHTBOX
   ========================================================= */

.work-image {
    position: relative;

    display: block;

    width: 100%;
    height: 280px;

    padding: 0;

    overflow: hidden;

    border: 0;

    border-radius: 0;

    color: inherit;

    text-align: left;

    font: inherit;

    cursor: zoom-in;

    background: #15181c;
}

.work-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(.2,.65,.2,1),
        filter 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.045);

    filter: saturate(1.08);
}

.work-image-hint {
    position: absolute;

    right: 14px;
    bottom: 14px;

    z-index: 2;

    padding: 7px 10px;

    color: #dfe2d8;

    background: rgba(8, 9, 11, 0.82);

    border: 1px solid #383c42;

    font:
        9px
        "DM Mono",
        monospace;

    opacity: 0;

    transform: translateY(5px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.work-image:hover .work-image-hint,
.work-image:focus-visible .work-image-hint {
    opacity: 1;

    transform: translateY(0);
}

.work-image:focus-visible {
    outline: 1px solid var(--accent);

    outline-offset: -1px;
}


/* =========================================================
   PROJECT TITLE LINK
   ========================================================= */

.work-title-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: inherit;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.work-title-link span {
    color: var(--accent);

    font-size: 0.8em;

    opacity: 0.75;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.work-title-link:hover {
    color: var(--accent);
}

.work-title-link:hover span {
    opacity: 1;

    transform: translate(2px, -2px);
}


/* =========================================================
   FULL SCREEN IMAGE VIEWER
   ========================================================= */

.image-lightbox {
    position: fixed;

    inset: 0;

    z-index: 100;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background:
        rgba(4, 5, 6, 0.94);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.image-lightbox.is-open {
    opacity: 1;

    visibility: visible;
}

.image-lightbox img {
    display: block;

    max-width: min(1500px, 94vw);

    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border: 1px solid #363a40;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.55);

    transform:
        scale(0.96)
        translateY(8px);

    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.image-lightbox.is-open img {
    transform:
        scale(1)
        translateY(0);
}

.image-lightbox-close {
    position: absolute;

    top: 20px;
    right: 24px;

    z-index: 2;

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    padding: 0;

    border: 1px solid #41464e;

    border-radius: 50%;

    background: rgba(12, 14, 16, 0.82);

    color: #f3f3ef;

    font-size: 25px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.image-lightbox-close:hover {
    color: var(--accent);

    border-color: rgba(217, 255, 85, 0.4);

    background: rgba(217, 255, 85, 0.06);

    transform: rotate(90deg);
}

.image-lightbox-caption {
    position: absolute;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    max-width: calc(100% - 100px);

    color: #8d929b;

    font:
        10px
        "DM Mono",
        monospace;

    text-align: center;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =========================================================
   MOBILE LIGHTBOX
   ========================================================= */

@media (max-width: 700px) {

    .work-image {
        height: 240px;
    }

    .work-image-hint {
        opacity: 1;

        transform: none;
    }

    .image-lightbox {
        padding: 20px;
    }

    .image-lightbox img {
        max-width: 96vw;

        max-height: 84vh;
    }

    .image-lightbox-close {
        top: 12px;
        right: 14px;

        width: 40px;
        height: 40px;
    }

    .image-lightbox-caption {
        bottom: 12px;

        max-width: calc(100% - 80px);

        font-size: 9px;
    }
}


/* =========================================================
   LIGHTBOX REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .image-lightbox,
    .image-lightbox img,
    .image-lightbox-close,
    .work-image img,
    .work-image-hint,
    .work-title-link,
    .work-title-link span {
        transition: none;
    }

    .image-lightbox img {
        transform: none;
    }
}