﻿/* ==========================================================
   HUMANSPAN
   Bespoke public-site presentation layer
========================================================== */

:root {
    --hs-bg: #030708;
    --hs-surface: #071014;
    --hs-surface-raised: #0a171c;
    --hs-cyan: #00e5ff;
    --hs-cyan-bright: #57f3ff;
    --hs-cyan-soft: rgba(0, 229, 255, .14);
    --hs-amber: #ff9d3d;
    --hs-text: #f2f7f8;
    --hs-muted: #8ca0a5;
    --hs-line: rgba(0, 229, 255, .16);
}


/* ==========================================================
   BASE
========================================================== */

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--hs-bg);
    color: var(--hs-text);
    font-family: Arial, Helvetica, sans-serif;
}

body {
    overflow-x: hidden;
}

.hs-public-shell {
    min-height: 100vh;
    background: radial-gradient( circle at 50% 5%, rgba(0, 229, 255, .075), transparent 32% ), var(--hs-bg);
}


/* ==========================================================
   SITE HEADER
========================================================== */

.hs-site-header {
    position: relative;
    z-index: 100;
    height: 86px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(28px, 5vw, 88px);
    border-bottom: 1px solid rgba(0, 229, 255, .10);
    background: rgba(3, 7, 8, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    font-family: Arial, Helvetica, sans-serif;
}

.hs-site-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--hs-cyan);
    font-size: 1.3rem;
    letter-spacing: .12em;
}

.hs-site-logo {
    display: block;
    width: auto;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 7px rgba(0, 229, 255, .18));
}

.hs-site-nav {
    display: flex;
    align-items: center;
    gap: clamp(22px, 3vw, 48px);
}

    .hs-site-nav a {
        position: relative;
        padding: 12px 0;
        color: rgba(242, 247, 248, .72);
        text-decoration: none;
        font-size: .78rem;
        font-weight: 600;
        letter-spacing: .12em;
        text-transform: uppercase;
        transition: color .25s ease, text-shadow .25s ease;
    }

        .hs-site-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 100%;
            bottom: 5px;
            height: 1px;
            background: var(--hs-cyan);
            box-shadow: 0 0 8px rgba(0, 229, 255, .7);
            transition: right .3s ease;
        }

        .hs-site-nav a:hover {
            color: white;
            text-shadow: 0 0 12px rgba(0, 229, 255, .25);
        }

            .hs-site-nav a:hover::after {
                right: 0;
            }


/* ==========================================================
   HERO
========================================================== */

.hs-hero {
    position: relative;
    min-height: calc(100vh - 86px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(90px, 12vh, 150px) clamp(28px, 9vw, 170px);
    border-bottom: 1px solid rgba(0, 229, 255, .09);
    background: radial-gradient( circle at 76% 46%, rgba(0, 229, 255, .075), transparent 26% ), radial-gradient( circle at 8% 92%, rgba(255, 157, 61, .045), transparent 23% ), linear-gradient( 135deg, #020607 0%, #041014 52%, #020607 100% );
}


    /* very subtle technical grid */

    .hs-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: .19;
        background-image: linear-gradient( rgba(0, 229, 255, .055) 1px, transparent 1px ), linear-gradient( 90deg, rgba(0, 229, 255, .055) 1px, transparent 1px );
        background-size: 72px 72px;
        mask-image: linear-gradient( to right, transparent, black 38%, black 100% );
        -webkit-mask-image: linear-gradient( to right, transparent, black 38%, black 100% );
    }


    /* faint lower horizon */

    .hs-hero::after {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        bottom: 10%;
        height: 1px;
        opacity: .32;
        background: linear-gradient( 90deg, transparent, rgba(0, 229, 255, .32), rgba(255, 157, 61, .18), transparent );
        box-shadow: 0 0 20px rgba(0, 229, 255, .12);
    }


/* ==========================================================
   HERO CONTENT
========================================================== */

.hs-hero-content {
    position: relative;
    z-index: 5;
    width: min(820px, 68vw);
}

.hs-eyebrow {
    margin-bottom: 24px;
    color: var(--hs-cyan);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .32em;
    text-transform: uppercase;
}

.hs-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #f5fafb;
    font-size: clamp(3.2rem, 5.8vw, 6.7rem);
    font-weight: 300;
    line-height: .97;
    letter-spacing: -.045em;
}

    .hs-hero h1 span {
        display: block;
        margin-top: 12px;
        color: var(--hs-cyan-bright);
        text-shadow: 0 0 30px rgba(0, 229, 255, .11);
    }

.hs-hero-lead {
    max-width: 670px;
    margin: clamp(30px, 5vh, 50px) 0 0;
    color: #a9b9bd;
    font-size: clamp(1rem, 1.3vw, 1.22rem);
    line-height: 1.8;
    letter-spacing: .01em;
}


/* ==========================================================
   HERO ACTIONS
========================================================== */

.hs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 42px;
}

.hs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    box-sizing: border-box;
    padding: 0 25px;
    border-radius: 4px;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.hs-button-primary {
    border: 1px solid rgba(255, 174, 76, .72);
    background: linear-gradient( 100deg, #e88b2d, #ffad4a );
    color: #140b02;
    box-shadow: 0 0 24px rgba(255, 157, 61, .10);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

    .hs-button-primary:hover {
        transform: translateY(-2px);
        border-color: rgba(255, 174, 76, .48);
        background: rgba(255, 157, 61, .14);
        color: #ffc078;
        box-shadow: 0 0 28px rgba(255, 157, 61, .12);
    }

.hs-button-secondary {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .025);
    color: #c9d5d8;
}

    .hs-button-secondary:hover {
        transform: translateY(-2px);
        border-color: rgba(0, 229, 255, .32);
        background: rgba(0, 229, 255, .045);
    }


/* ==========================================================
   HERO ORBITS / SYSTEM GRAPHIC
========================================================== */

.hs-hero-orbit {
    position: absolute;
    border: 1px solid rgba(0, 229, 255, .12);
    border-radius: 50%;
    pointer-events: none;
}

.hs-hero-orbit-one {
    width: min(48vw, 760px);
    height: min(48vw, 760px);
    right: -10vw;
    top: 4%;
    box-shadow: inset 0 0 80px rgba(0, 229, 255, .018), 0 0 80px rgba(0, 229, 255, .018);
}

.hs-hero-orbit-two {
    width: min(31vw, 500px);
    height: min(31vw, 500px);
    right: 1vw;
    top: 19%;
    border-color: rgba(255, 157, 61, .10);
}

/* ==========================================================
   NETWORK NODES
========================================================== */

.hs-hero-network {
    position: absolute;
    z-index: 3;
    right: 4%;
    top: 12%;
    width: min(40vw, 650px);
    height: 72%;
    pointer-events: none;
}


/* ==========================================================
   NODE BASE
========================================================== */

.hs-network-node {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hs-cyan-bright);
    box-shadow: 0 0 5px var(--hs-cyan), 0 0 18px rgba(0, 229, 255, .85), 0 0 38px rgba(0, 229, 255, .30);
    opacity: 0;
    transition: opacity .10s linear, transform .72s cubic-bezier(.16, .82, .32, 1);
    will-change: transform, opacity;
}


/* ==========================================================
   FINAL NODE POSITIONS + STARTING TRAJECTORIES
========================================================== */

.hs-node-1 {
    left: 15%;
    top: 24%;
    transform: translate(-340px, -180px) scale(.65);
}

.hs-node-2 {
    left: 42%;
    top: 39%;
    width: 5px;
    height: 5px;
    transform: translate(-290px, 170px) scale(.65);
}

.hs-node-3 {
    left: 72%;
    top: 17%;
    transform: translate(180px, -280px) scale(.65);
}

.hs-node-4 {
    left: 79%;
    top: 61%;
    background: var(--hs-amber);
    box-shadow: 0 0 6px var(--hs-amber), 0 0 20px rgba(255, 157, 61, .75), 0 0 42px rgba(255, 157, 61, .28);
    transform: translate(310px, 130px) scale(.65);
}

.hs-node-5 {
    left: 34%;
    top: 72%;
    transform: translate(-260px, 240px) scale(.65);
}

.hs-node-6 {
    left: 58%;
    top: 53%;
    width: 4px;
    height: 4px;
    transform: translate(260px, -80px) scale(.65);
}


/* ==========================================================
   ARRIVAL
========================================================== */

.hs-page-ready .hs-node-1,
.hs-page-ready .hs-node-2,
.hs-page-ready .hs-node-3,
.hs-page-ready .hs-node-4,
.hs-page-ready .hs-node-5,
.hs-page-ready .hs-node-6 {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}


/* stagger */

.hs-page-ready .hs-node-1 {
    transition-delay: .30s;
}

.hs-page-ready .hs-node-2 {
    transition-delay: .45s;
}

.hs-page-ready .hs-node-3 {
    transition-delay: .60s;
}

.hs-page-ready .hs-node-6 {
    transition-delay: .75s;
}

.hs-page-ready .hs-node-5 {
    transition-delay: .90s;
}

.hs-page-ready .hs-node-4 {
    transition-delay: 1.08s;
}


/* ==========================================================
   MOVING LIGHT TRAIL
========================================================== */

/*
   This is the important addition.

   The trail is attached to the projectile itself, so it travels
   WITH the node. It disappears shortly after the point lands.
*/

.hs-network-node::before {
    content: "";
    position: absolute;
    right: 50%;
    top: 50%;
    width: 72px;
    height: 2px;
    transform-origin: right center;
    transform: translateY(-50%) rotate(var(--hs-trail-angle, 0deg));
    border-radius: 999px;
    opacity: .9;
    background: linear-gradient( 90deg, transparent 0%, rgba(0, 229, 255, .08) 18%, rgba(0, 229, 255, .45) 65%, rgba(87, 243, 255, .98) 100% );
    box-shadow: 0 0 8px rgba(0, 229, 255, .30), 0 0 18px rgba(0, 229, 255, .16);
    pointer-events: none;
    transition: opacity .28s ease;
}


/*
   Trail orientation roughly matches each incoming trajectory.
*/

.hs-node-1 {
    --hs-trail-angle: 28deg;
}

.hs-node-2 {
    --hs-trail-angle: -30deg;
}

.hs-node-3 {
    --hs-trail-angle: -57deg;
}

.hs-node-4 {
    --hs-trail-angle: 23deg;
}

.hs-node-5 {
    --hs-trail-angle: -43deg;
}

.hs-node-6 {
    --hs-trail-angle: -17deg;
}


/* amber projectile gets amber trail */

.hs-node-4::before {
    background: linear-gradient( 90deg, transparent 0%, rgba(255, 157, 61, .08) 18%, rgba(255, 157, 61, .48) 65%, rgba(255, 185, 105, .98) 100% );
    box-shadow: 0 0 8px rgba(255, 157, 61, .35), 0 0 18px rgba(255, 157, 61, .18);
}


/*
   Once the node has landed, remove the projectile trail.
*/

.hs-page-ready .hs-network-node::before {
    opacity: 0;
}


/*
   But don't start fading the trail until approximately
   the corresponding arrival.
*/

.hs-page-ready .hs-node-1::before {
    transition-delay: .86s;
}

.hs-page-ready .hs-node-2::before {
    transition-delay: 1.01s;
}

.hs-page-ready .hs-node-3::before {
    transition-delay: 1.16s;
}

.hs-page-ready .hs-node-6::before {
    transition-delay: 1.31s;
}

.hs-page-ready .hs-node-5::before {
    transition-delay: 1.46s;
}

.hs-page-ready .hs-node-4::before {
    transition-delay: 1.64s;
}


/* ==========================================================
   CONNECTION LINES
========================================================== */

.hs-network-node::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    height: 1px;
    transform-origin: left center;
    opacity: 0;
    background: linear-gradient( 90deg, rgba(0, 229, 255, .48), rgba(0, 229, 255, .08) );
    transition: opacity .15s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}


/* individual connection geometry */

.hs-node-1::after {
    width: 90px;
    transform: rotate(28deg) scaleX(0);
}

.hs-node-2::after {
    width: 130px;
    transform: rotate(-32deg) scaleX(0);
}

.hs-node-3::after {
    width: 100px;
    transform: rotate(117deg) scaleX(0);
}

.hs-node-4::after {
    width: 115px;
    background: linear-gradient( 90deg, rgba(255, 157, 61, .48), rgba(255, 157, 61, .06) );
    transform: rotate(198deg) scaleX(0);
}

.hs-node-5::after {
    width: 145px;
    transform: rotate(-18deg) scaleX(0);
}

.hs-node-6::after {
    width: 95px;
    transform: rotate(52deg) scaleX(0);
}


/* ==========================================================
   DRAW CONNECTIONS AFTER EACH PROJECTILE LANDS
========================================================== */

.hs-page-ready .hs-node-1::after {
    opacity: 1;
    transform: rotate(28deg) scaleX(1);
    transition-delay: .94s;
}

.hs-page-ready .hs-node-2::after {
    opacity: 1;
    transform: rotate(-32deg) scaleX(1);
    transition-delay: 1.09s;
}

.hs-page-ready .hs-node-3::after {
    opacity: 1;
    transform: rotate(117deg) scaleX(1);
    transition-delay: 1.24s;
}

.hs-page-ready .hs-node-6::after {
    opacity: 1;
    transform: rotate(52deg) scaleX(1);
    transition-delay: 1.39s;
}

.hs-page-ready .hs-node-5::after {
    opacity: 1;
    transform: rotate(-18deg) scaleX(1);
    transition-delay: 1.54s;
}

.hs-page-ready .hs-node-4::after {
    opacity: 1;
    transform: rotate(198deg) scaleX(1);
    transition-delay: 1.72s;
}

/* ==========================================================
   CAPABILITIES
========================================================== */

.hs-capabilities {
    position: relative;
    padding: clamp(100px, 12vw, 175px) clamp(28px, 7vw, 130px);
    background: radial-gradient( circle at 10% 30%, rgba(0, 229, 255, .035), transparent 25% ), #030708;
}

.hs-section-heading {
    max-width: 800px;
    margin-bottom: clamp(45px, 5vw, 68px);
}

    .hs-section-heading h2 {
        margin: 0;
        color: white;
        font-size: clamp(2.7rem, 5vw, 5.5rem);
        font-weight: 300;
        line-height: 1;
        letter-spacing: -.04em;
    }

        .hs-section-heading h2 span {
            color: var(--hs-cyan);
        }

    .hs-section-heading p {
        max-width: 650px;
        margin: 28px 0 0;
        color: var(--hs-muted);
        font-size: 1.05rem;
        line-height: 1.75;
    }


/* ==========================================================
   CAPABILITY GRID
========================================================== */

.hs-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(0, 229, 255, .10);
    background: rgba(0, 229, 255, .10);
}

.hs-capability {
    position: relative;
    min-height: 320px;
    box-sizing: border-box;
    padding: clamp(30px, 3.2vw, 52px);
    overflow: hidden;
    background: linear-gradient( 145deg, rgba(8, 18, 22, .985), rgba(3, 8, 10, .99) );
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

    .hs-capability::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: linear-gradient( 90deg, var(--hs-cyan), transparent );
        transition: width .4s ease;
    }

    .hs-capability:hover {
        z-index: 2;
        transform: translateY(-4px);
        background: linear-gradient( 145deg, rgba(9, 29, 35, .99), rgba(3, 9, 11, .99) );
        box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    }

        .hs-capability:hover::after {
            width: 72%;
        }


/* Featured Agora card */

.hs-capability-featured {
    background: radial-gradient( circle at 90% 5%, rgba(0, 229, 255, .09), transparent 35% ), linear-gradient( 145deg, rgba(8, 27, 32, .99), rgba(3, 9, 11, .99) );
}


/* card internals */

.hs-capability-number {
    position: absolute;
    right: 30px;
    top: 28px;
    color: rgba(255, 255, 255, .13);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.hs-capability-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 38px;
    border: 1px solid rgba(255, 157, 61, .28);
    color: var(--hs-amber);
    font-size: 1.3rem;
    background: rgba(255, 157, 61, .018);
    box-shadow: inset 0 0 18px rgba(255, 157, 61, .025), 0 0 16px rgba(255, 157, 61, .025);
    transition: border-color .3s ease, background .3s ease, box-shadow .3s ease, transform .3s ease;
}

.hs-capability:hover .hs-capability-icon {
    border-color: rgba(255, 157, 61, .58);
    background: rgba(255, 157, 61, .055);
    box-shadow: inset 0 0 20px rgba(255, 157, 61, .045), 0 0 22px rgba(255, 157, 61, .09);
    transform: translateY(-2px);
}

.hs-capability h3 {
    margin: 0;
    color: #f5fafb;
    font-size: clamp(1.3rem, 1.7vw, 1.65rem);
    font-weight: 500;
    letter-spacing: -.02em;
}

.hs-capability p {
    max-width: 410px;
    margin: 20px 0 0;
    color: #899da2;
    line-height: 1.7;
    font-size: .94rem;
}

.hs-capability-platform {
    display: inline-block;
    margin-top: 28px;
    color: var(--hs-cyan);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}


/* ==========================================================
   AGORA AUTHORED CONTENT
========================================================== */

.hs-content {
    position: relative;
    background: #030708;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1050px) {

    .hs-capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hs-hero-content {
        width: 76vw;
    }

    .hs-hero-network {
        opacity: .55;
    }
}


@media (max-width: 760px) {

    .hs-site-header {
        height: 72px;
        padding: 0 20px;
    }

    .hs-site-logo {
        height: 32px;
    }

    .hs-site-nav {
        display: none;
    }

    .hs-hero {
        min-height: calc(100vh - 72px);
        padding: 90px 24px 100px;
    }

    .hs-hero-content {
        width: 100%;
    }

    .hs-hero h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .hs-hero-network {
        opacity: .27;
        right: -25%;
        width: 85vw;
    }

    .hs-hero-orbit-one {
        width: 100vw;
        height: 100vw;
        right: -55vw;
    }

    .hs-hero-orbit-two {
        width: 65vw;
        height: 65vw;
        right: -25vw;
    }

    .hs-capabilities {
        padding: 90px 22px;
    }

    .hs-capability-grid {
        grid-template-columns: 1fr;
    }

    .hs-capability {
        min-height: 280px;
    }
}

/* ==========================================================
   OLIVIA / AGORA REPRESENTATIVE
========================================================== */

.agora-rep-launcher {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999999;
}


/* Representative orb */

.agora-rep-bubble {
    position: relative;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 1px solid rgba(87, 243, 255, .9);
    border-radius: 50%;
    overflow: visible;
    cursor: pointer;
    background: #061014;
    box-shadow: 0 0 0 1px rgba(0,229,255,.15), 0 0 22px rgba(0,229,255,.25), 0 18px 55px rgba(0,0,0,.55);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .agora-rep-bubble:hover {
        transform: translateY(-3px) scale(1.025);
        box-shadow: 0 0 0 1px rgba(0,229,255,.28), 0 0 32px rgba(0,229,255,.42), 0 22px 65px rgba(0,0,0,.62);
    }

    .agora-rep-bubble img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        border-radius: 50%;
    }


/* Cyan signal ring */

.agora-rep-pulse {
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(0,229,255,.65);
    border-radius: 50%;
    pointer-events: none;
    animation: humanspanRepPulse 3.2s ease-out infinite;
}

@keyframes humanspanRepPulse {

    0% {
        transform: scale(.90);
        opacity: .7;
    }

    65% {
        opacity: .18;
    }

    100% {
        transform: scale(1.32);
        opacity: 0;
    }
}


/* ==========================================================
   INTRO MESSAGE
========================================================== */

.agora-rep-intro {
    position: absolute;
    right: 96px;
    bottom: 4px;
    width: 310px;
    box-sizing: border-box;
    padding: 18px 20px;
    border: 1px solid rgba(0,229,255,.18);
    border-radius: 14px;
    color: var(--hs-text);
    background: linear-gradient( 145deg, rgba(10,23,28,.97), rgba(4,10,13,.97) );
    box-shadow: 0 25px 70px rgba(0,0,0,.6), 0 0 25px rgba(0,229,255,.07);
    backdrop-filter: blur(16px);
    transition: opacity .45s ease, transform .45s ease;
}

    .agora-rep-intro.hidden {
        opacity: 0;
        transform: translateX(25px);
        pointer-events: none;
    }

.agora-rep-intro-title {
    margin-bottom: 8px;
    color: var(--hs-cyan);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.agora-rep-intro-body {
    color: #b9c8cb;
    line-height: 1.55;
    font-size: .92rem;
}

    .agora-rep-intro-body strong {
        color: white;
    }


/* ==========================================================
   CONVERSATION PANEL
========================================================== */

.agora-rep-panel {
    position: absolute;
    right: 0;
    bottom: 92px;
    width: 380px;
    box-sizing: border-box;
    padding: 22px;
    border: 1px solid rgba(0,229,255,.2);
    border-radius: 16px;
    color: var(--hs-text);
    background: linear-gradient( 145deg, rgba(10,23,28,.985), rgba(3,8,10,.985) );
    box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 35px rgba(0,229,255,.08);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(18px) scale(.97);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

    .agora-rep-panel.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }


/* Panel header */

.agora-rep-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

    .agora-rep-header img {
        width: 54px;
        height: 54px;
        border: 1px solid var(--hs-cyan);
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 0 18px rgba(0,229,255,.18);
    }

.agora-rep-name {
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
}

.agora-rep-role {
    margin-top: 3px;
    color: var(--hs-cyan);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.agora-rep-close {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--hs-muted);
    font-size: 1.55rem;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

    .agora-rep-close:hover {
        color: var(--hs-cyan);
        transform: rotate(5deg);
    }


/* Greeting */

.agora-rep-message {
    margin-bottom: 16px;
    color: #b9c8cb;
    line-height: 1.6;
}


/* Input */

.agora-rep-input {
    width: 100%;
    min-height: 105px;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid rgba(0,229,255,.18);
    border-radius: 10px;
    outline: none;
    resize: vertical;
    background: rgba(0,0,0,.32);
    color: white;
    caret-color: var(--hs-cyan);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .agora-rep-input::placeholder {
        color: #71868b;
    }

    .agora-rep-input:focus {
        border-color: rgba(0,229,255,.65);
        box-shadow: 0 0 0 3px rgba(0,229,255,.08);
    }


/* Send */

.agora-rep-send {
    width: 100%;
    margin-top: 13px;
    padding: 12px 16px;
    border: 1px solid rgba(0,229,255,.5);
    border-radius: 9px;
    background: linear-gradient( 90deg, #00bfd6, #00e5ff );
    color: #001013;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .agora-rep-send:hover {
        transform: translateY(-1px);
        box-shadow: 0 0 22px rgba(0,229,255,.22);
    }


/* Reply */

.agora-rep-reply {
    color: #c5d5d8;
    line-height: 1.6;
}

    .agora-rep-reply:empty {
        display: none;
    }

    .agora-rep-reply:not(:empty) {
        display: block;
        margin-top: 16px;
        padding: 14px 16px;
        border-left: 2px solid var(--hs-cyan);
        border-radius: 8px;
        background: rgba(0,229,255,.055);
    }


/* ==========================================================
   MOBILE REPRESENTATIVE
========================================================== */

@media (max-width: 600px) {

    .agora-rep-launcher {
        right: 16px;
        bottom: 18px;
    }

    .agora-rep-bubble {
        width: 62px;
        height: 62px;
    }

    .agora-rep-intro {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 94px;
        width: auto;
        padding: 16px 18px;
    }

        .agora-rep-intro.hidden {
            transform: translateY(20px);
        }

    .agora-rep-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 92px;
        width: auto;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .agora-rep-chronos-message,
    .agora-rep-chronos-break {
        display: none;
    }
}


/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .agora-rep-pulse {
        animation: none;
    }

    .agora-rep-bubble,
    .agora-rep-panel,
    .agora-rep-intro {
        transition: none;
    }
}

/* ==========================================================
   HUMANSPAN CINEMATIC INTRO
========================================================== */

.hs-intro {
    position: fixed;
    inset: 0;
    z-index: 900000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient( circle at center, #071216 0%, #020607 42%, #000 100% );
    opacity: 1;
    transition: opacity 1s ease, visibility 1s ease;
}


/* Particle canvas */

.hs-intro-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}


/* Faint energy behind logo */

.hs-intro-energy {
    position: absolute;
    left: 50%;
    top: 48%;
    width: min(65vw, 900px);
    height: 280px;
    transform: translate(-50%, -50%) scale(.65);
    border-radius: 50%;
    background: radial-gradient( ellipse at center, rgba(0,229,255,.10) 0%, rgba(0,229,255,.035) 30%, transparent 70% );
    filter: blur(18px);
    opacity: 0;
    animation: hsEnergyMaterialize 12s ease forwards;
    pointer-events: none;
}


/* Center identity */

.hs-intro-center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(72vw, 900px);
    transform: scale(.88);
    opacity: 0;
    animation: hsIdentityMaterialize 12s cubic-bezier(.22,.8,.25,1) forwards;
}


/* REAL Agora-managed logo */

.hs-intro-logo {
    display: block;
    width: min(56vw, 625px);
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow( 0 0 7px rgba(0,229,255,.8) ) drop-shadow( 0 0 25px rgba(0,229,255,.28) );
}


/* Tagline */

.hs-intro-tagline {
    margin-top: 30px;
    color: rgba(255,255,255,.94);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.1rem, 2.1vw, 1.8rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.055em;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: hsTaglineReveal 12s ease forwards;
}


/* Enter / skip */

.hs-intro-skip {
    position: absolute;
    left: 28px;
    right: auto;
    bottom: 28px;
    z-index: 20;
    padding: 9px 15px;
    border: 1px solid rgba(0,229,255,.25);
    border-radius: 999px;
    background: rgba(0,0,0,.22);
    color: rgba(255,255,255,.55);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

    .hs-intro-skip:hover {
        color: var(--hs-cyan);
        border-color: rgba(0,229,255,.65);
        background: rgba(0,229,255,.06);
    }

@media (max-width: 760px) {

    .hs-intro-skip {
        left: 18px;
        right: auto;
        bottom: 18px;
        width: auto !important;
        min-width: 0;
        max-width: max-content;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
}


/* ==========================================================
   INTRO TIMELINE
========================================================== */
@keyframes hsIdentityMaterialize {

    0%, 18% {
        opacity: 0;
        transform: scale(.78);
        filter: blur(15px);
    }

    30% {
        opacity: .28;
        filter: blur(8px);
    }

    40% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }

    76% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }

    86% {
        opacity: .96;
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: scale(1.06);
        filter: blur(9px);
    }
}


@keyframes hsTaglineReveal {

    0%, 48% {
        opacity: 0;
        transform: translateY(10px);
    }

    58% {
        opacity: 1;
        transform: translateY(0);
    }

    76% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-8px);
    }
}


@keyframes hsEnergyMaterialize {

    0%, 20% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.55);
    }

    46% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    75% {
        opacity: .7;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.25);
    }
}


/* ==========================================================
   EXIT / PAGE REVEAL
========================================================== */

.hs-intro.hs-intro-exit {
    opacity: 0;
    visibility: hidden;
}


.hs-content {
    position: relative;
    opacity: .15;
    transform: translateY(18px) scale(.995);
    filter: blur(4px);
    transition: opacity 1.15s ease, transform 1.15s ease, filter 1.15s ease;
}


    .hs-content.hs-content-reveal {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }


/* ==========================================================
   MOBILE INTRO
========================================================== */

@media (max-width: 700px) {

    .hs-intro-center {
        width: 88vw;
    }

    .hs-intro-logo {
        width: 86vw;
    }

    .hs-intro-tagline {
        margin-top: 20px;
        font-size: 1rem;
        letter-spacing: .08em;
    }

    .hs-intro-skip {
        right: 18px;
        bottom: 18px;
    }
}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .hs-intro-energy,
    .hs-intro-center,
    .hs-intro-tagline {
        animation: none;
    }

    .hs-content {
        opacity: 1;
        transform: none;
        filter: none;
    }
}


/* ==========================================================
   PHOTOGRAPHIC SPARK FIELDS
========================================================== */

.hs-intro-spark-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}


/* Individual photographic energy fields */

.hs-intro-sparks {
    position: absolute;
    bottom: -8%;
    width: min(48vw, 820px);
    height: auto;
    opacity: 0;
    pointer-events: none;
    /*
     * Screen makes any residual dark pixels disappear
     * naturally into the black intro background.
     */
    mix-blend-mode: screen;
    filter: brightness(.88) saturate(1.08);
    will-change: opacity, transform, filter;
}


.hs-intro-sparks-left {
    left: -4%;
    transform-origin: left bottom;
    animation: hsSparkFieldLeft 12s cubic-bezier(.22,.8,.25,1) forwards;
}


.hs-intro-sparks-right {
    right: -4%;
    transform-origin: right bottom;
    animation: hsSparkFieldRight 12s cubic-bezier(.22,.8,.25,1) forwards;
}


/* ==========================================================
   LEFT ENERGY FIELD
========================================================== */

@keyframes hsSparkFieldLeft {

    0%, 8% {
        opacity: 0;
        transform: translate(-25px, 30px) scale(.92) rotate(-2deg);
        filter: brightness(.6) saturate(.85) blur(2px);
    }

    24% {
        opacity: .30;
    }

    40% {
        opacity: .68;
        transform: translate(0, 0) scale(1) rotate(0);
        filter: brightness(.92) saturate(1.05) blur(0);
    }

    58% {
        opacity: .78;
        transform: translate(5px, -5px) scale(1.015);
    }

    76% {
        opacity: .70;
        transform: translate(10px, -9px) scale(1.035);
    }

    88% {
        opacity: .48;
    }

    100% {
        opacity: 0;
        transform: translate(24px, -20px) scale(1.09);
        filter: brightness(1.2) saturate(1.15) blur(2px);
    }
}


/* ==========================================================
   RIGHT ENERGY FIELD

   Slightly different movement keeps the two sides from
   looking like mechanically synchronized images.
========================================================== */

@keyframes hsSparkFieldRight {

    0%, 11% {
        opacity: 0;
        transform: translate(28px, 34px) scale(.91) rotate(2deg);
        filter: brightness(.58) saturate(.82) blur(2px);
    }

    28% {
        opacity: .34;
    }

    43% {
        opacity: .72;
        transform: translate(0, 0) scale(1) rotate(0);
        filter: brightness(.95) saturate(1.08) blur(0);
    }

    62% {
        opacity: .82;
        transform: translate(-7px, -6px) scale(1.02);
    }

    77% {
        opacity: .72;
        transform: translate(-12px, -11px) scale(1.04);
    }

    89% {
        opacity: .48;
    }

    100% {
        opacity: 0;
        transform: translate(-26px, -22px) scale(1.10);
        filter: brightness(1.22) saturate(1.16) blur(2px);
    }
}

/* ==========================================================
   HUMANSPAN LANDING MOTION
========================================================== */

/*
    Initial states.
    JS adds .hs-page-ready after the cinematic intro releases
    the underlying Humanspan experience.
*/

.hs-hero .hs-eyebrow,
.hs-hero h1,
.hs-hero-lead,
.hs-hero-actions {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}


/* HUMAN + TECHNOLOGY */

.hs-page-ready .hs-hero .hs-eyebrow {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .08s;
}


/* main white proposition */

.hs-page-ready .hs-hero h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .20s;
}


/* supporting copy */

.hs-page-ready .hs-hero-lead {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .48s;
}


/* CTAs */

.hs-page-ready .hs-hero-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .65s;
}


/* ==========================================================
   HERO SYSTEM GRAPHIC
========================================================== */

.hs-hero-orbit {
    opacity: 0;
    transform: scale(.96);
    transition: opacity 1.4s ease, transform 1.6s cubic-bezier(.22, 1, .36, 1);
}

.hs-page-ready .hs-hero-orbit {
    opacity: 1;
    transform: scale(1);
}

.hs-page-ready .hs-hero-orbit-one {
    transition-delay: .15s;
}

.hs-page-ready .hs-hero-orbit-two {
    transition-delay: .32s;
}


/* ==========================================================
   NETWORK NODES
========================================================== */

.hs-network-node {
    opacity: 0;
    transform: scale(.25);
    transition: opacity .45s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1);
}


    /*
    Connection line starts at zero width.
    Existing ::after width rules become the destination widths
    through scaleX rather than changing layout dimensions.
*/

    .hs-network-node::after {
        transform-origin: left center;
        opacity: 0;
        transition: opacity .35s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
    }


/* Preserve each line's rotation while collapsing its X axis */

.hs-node-1::after {
    transform: rotate(28deg) scaleX(0);
}

.hs-node-2::after {
    transform: rotate(-32deg) scaleX(0);
}

.hs-node-3::after {
    transform: rotate(117deg) scaleX(0);
}

.hs-node-4::after {
    transform: rotate(198deg) scaleX(0);
}

.hs-node-5::after {
    transform: rotate(-18deg) scaleX(0);
}

.hs-node-6::after {
    transform: rotate(52deg) scaleX(0);
}


/* Nodes illuminate */

.hs-page-ready .hs-node-1 {
    opacity: 1;
    transform: scale(1);
    transition-delay: .35s;
}

.hs-page-ready .hs-node-2 {
    opacity: 1;
    transform: scale(1);
    transition-delay: .52s;
}

.hs-page-ready .hs-node-3 {
    opacity: 1;
    transform: scale(1);
    transition-delay: .69s;
}

.hs-page-ready .hs-node-6 {
    opacity: 1;
    transform: scale(1);
    transition-delay: .84s;
}

.hs-page-ready .hs-node-5 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1s;
}


/*
    Amber intentionally comes last.
*/

.hs-page-ready .hs-node-4 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1.18s;
}


/* Connection lines draw after their node appears */

.hs-page-ready .hs-node-1::after {
    opacity: 1;
    transform: rotate(28deg) scaleX(1);
    transition-delay: .48s;
}

.hs-page-ready .hs-node-2::after {
    opacity: 1;
    transform: rotate(-32deg) scaleX(1);
    transition-delay: .65s;
}

.hs-page-ready .hs-node-3::after {
    opacity: 1;
    transform: rotate(117deg) scaleX(1);
    transition-delay: .82s;
}

.hs-page-ready .hs-node-6::after {
    opacity: 1;
    transform: rotate(52deg) scaleX(1);
    transition-delay: .97s;
}

.hs-page-ready .hs-node-5::after {
    opacity: 1;
    transform: rotate(-18deg) scaleX(1);
    transition-delay: 1.13s;
}

.hs-page-ready .hs-node-4::after {
    opacity: 1;
    transform: rotate(198deg) scaleX(1);
    transition-delay: 1.31s;
}


/* ==========================================================
   CAPABILITY SCROLL REVEAL
========================================================== */

.hs-section-heading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}

    .hs-section-heading.hs-visible {
        opacity: 1;
        transform: translateY(0);
    }


.hs-capability {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1), background .3s ease, box-shadow .3s ease;
}


    /*
    Existing hover translateY(-4px) remains useful after reveal.
*/

    .hs-capability.hs-visible {
        opacity: 1;
        transform: translateY(0);
    }

        .hs-capability.hs-visible:hover {
            transform: translateY(-4px);
        }


    /* stagger */

    .hs-capability:nth-child(1) {
        transition-delay: 0s;
    }

    .hs-capability:nth-child(2) {
        transition-delay: .08s;
    }

    .hs-capability:nth-child(3) {
        transition-delay: .16s;
    }

    .hs-capability:nth-child(4) {
        transition-delay: .08s;
    }

    .hs-capability:nth-child(5) {
        transition-delay: .16s;
    }

    .hs-capability:nth-child(6) {
        transition-delay: .24s;
    }


/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .hs-hero .hs-eyebrow,
    .hs-hero h1,
    .hs-hero-lead,
    .hs-hero-actions,
    .hs-hero-orbit,
    .hs-network-node,
    .hs-network-node::after,
    .hs-section-heading,
    .hs-capability {
        transition: none !important;
        animation: none !important;
    }

    .hs-hero .hs-eyebrow,
    .hs-hero h1,
    .hs-hero-lead,
    .hs-hero-actions,
    .hs-hero-orbit,
    .hs-network-node,
    .hs-section-heading,
    .hs-capability {
        opacity: 1 !important;
        transform: none !important;
    }

    .hs-node-1::after {
        opacity: 1 !important;
        transform: rotate(28deg) scaleX(1) !important;
    }

    .hs-node-2::after {
        opacity: 1 !important;
        transform: rotate(-32deg) scaleX(1) !important;
    }

    .hs-node-3::after {
        opacity: 1 !important;
        transform: rotate(117deg) scaleX(1) !important;
    }

    .hs-node-4::after {
        opacity: 1 !important;
        transform: rotate(198deg) scaleX(1) !important;
    }

    .hs-node-5::after {
        opacity: 1 !important;
        transform: rotate(-18deg) scaleX(1) !important;
    }

    .hs-node-6::after {
        opacity: 1 !important;
        transform: rotate(52deg) scaleX(1) !important;
    }
}

/* ==========================================================
   NODE ARRIVAL RIPPLES
========================================================== */

.hs-node-ripple {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(.25);
    opacity: 0;
    border: 1px solid rgba(87, 243, 255, .85);
    box-shadow: 0 0 7px rgba(0, 229, 255, .28);
    pointer-events: none;
}


/* ----------------------------------------------------------
   CYAN ARRIVAL PING

   Small ripple — approximately "dime sized" visually.
---------------------------------------------------------- */

.hs-page-ready .hs-node-1 .hs-node-ripple {
    animation: hs-cyan-ripple .72s ease-out .93s forwards;
}

.hs-page-ready .hs-node-2 .hs-node-ripple {
    animation: hs-cyan-ripple .72s ease-out 1.08s forwards;
}

.hs-page-ready .hs-node-3 .hs-node-ripple {
    animation: hs-cyan-ripple .72s ease-out 1.23s forwards;
}

.hs-page-ready .hs-node-6 .hs-node-ripple {
    animation: hs-cyan-ripple .72s ease-out 1.38s forwards;
}

.hs-page-ready .hs-node-5 .hs-node-ripple {
    animation: hs-cyan-ripple .72s ease-out 1.53s forwards;
}


@keyframes hs-cyan-ripple {

    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.35);
    }

    18% {
        opacity: .75;
    }

    100% {
        opacity: 0;
        /*
            8px × 4 = ~32px diameter
        */
        transform: translate(-50%, -50%) scale(4);
    }
}


/* ==========================================================
   AMBER SIGNAL
========================================================== */

.hs-node-4 .hs-node-ripple {
    width: 10px;
    height: 10px;
    border-color: rgba(255, 177, 83, .92);
    box-shadow: 0 0 10px rgba(255, 157, 61, .38), 0 0 22px rgba(255, 157, 61, .14);
}


/*
    Larger primary amber ring.
*/

.hs-page-ready .hs-node-4 .hs-node-ripple {
    animation: hs-amber-ripple 1.35s cubic-bezier(.16, .75, .30, 1) 1.70s forwards;
}


@keyframes hs-amber-ripple {

    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.3);
    }

    12% {
        opacity: .95;
    }

    48% {
        opacity: .55;
    }

    100% {
        opacity: 0;
        /*
            10px × 8 = ~80px diameter.

            Much larger than the cyan pings.
        */
        transform: translate(-50%, -50%) scale(8);
    }
}


/* second amber wave */

.hs-page-ready
.hs-node-4
.hs-node-ripple-2 {
    animation: hs-amber-ripple 1.45s cubic-bezier(.16, .75, .30, 1) 1.88s forwards;
}


/* third amber wave */

.hs-page-ready
.hs-node-4
.hs-node-ripple-3 {
    animation: hs-amber-ripple 1.55s cubic-bezier(.16, .75, .30, 1) 2.08s forwards;
}


/* =========================================================
   CAPABILITY CARD LINKS
   The entire card is clickable without looking like a link.
========================================================= */

.hs-capability,
.hs-capability:link,
.hs-capability:visited,
.hs-capability:hover,
.hs-capability:active {
    color: inherit;
    text-decoration: none;
}

    .hs-capability h3,
    .hs-capability p,
    .hs-capability span,
    .hs-capability div {
        color: inherit;
        text-decoration: none;
    }

    .hs-capability h3 {
        color: var(--hs-white);
    }

    .hs-capability p {
        color: var(--hs-muted);
    }

.hs-capability-platform {
    color: var(--hs-cyan) !important;
}

/* ==========================================================
   HUMANSPAN STANDARD PAGE
========================================================== */

.hs-page-hero {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 229, 255, .10);
    background: radial-gradient( circle at 76% 48%, rgba(0, 229, 255, .055), transparent 30% ), #02090b;
}

.hs-page-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
}

.hs-page-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    color: var(--hs-cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
}

.hs-page-meta-divider {
    color: var(--hs-amber);
}

.hs-page-title {
    max-width: 850px;
    margin: 0;
    color: var(--hs-white);
    font-size: clamp(56px, 7vw, 108px);
    font-weight: 400;
    line-height: .94;
    letter-spacing: -.055em;
}

.hs-page-intro {
    max-width: 680px;
    margin: 38px 0 0;
    color: var(--hs-muted);
    font-size: 19px;
    line-height: 1.7;
}


/* ----------------------------------------------------------
   PAGE SIGNAL
---------------------------------------------------------- */

.hs-page-signal {
    position: absolute;
    right: 8%;
    top: 50%;
    width: 300px;
    height: 300px;
    transform: translateY(-50%);
}

.hs-page-signal-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 229, 255, .12);
}

.hs-page-signal-ring-1 {
    width: 170px;
    height: 170px;
}

.hs-page-signal-ring-2 {
    width: 290px;
    height: 290px;
}

.hs-page-signal-node {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--hs-amber);
    box-shadow: 0 0 8px var(--hs-amber), 0 0 28px rgba(255, 157, 61, .45);
}


/* ==========================================================
   HUMANSPAN PAGE CONTENT
========================================================== */

.hs-page-content {
    background: #02090b;
}

.hs-page-content-inner {
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
    padding: 90px 0 130px;
}

.hs-page-article {
    position: relative;
    max-width: 1100px;
    padding: 55px 0;
    border-bottom: 1px solid rgba(0, 229, 255, .10);
}

    .hs-page-article:first-child {
        padding-top: 0;
    }

.hs-page-body {
    color: var(--hs-muted);
    font-size: 18px;
    line-height: 1.8;
}

    .hs-page-body h2,
    .hs-page-body h3 {
        color: var(--hs-white);
        font-weight: 400;
        letter-spacing: -.025em;
    }

    .hs-page-body h2 {
        margin: 0 0 26px;
        font-size: clamp(34px, 4vw, 56px);
    }

    .hs-page-body h3 {
        margin: 34px 0 18px;
        font-size: 28px;
    }

    .hs-page-body p {
        max-width: 100%;
    }

.hs-page-image {
    display: block;
    width: 100%;
    max-width: 900px;
    margin-bottom: 38px;
    object-fit: cover;
    border: 1px solid rgba(0, 229, 255, .12);
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 760px) {

    .hs-page-hero {
        min-height: 470px;
    }

    .hs-page-hero-inner,
    .hs-page-content-inner {
        width: calc(100% - 40px);
    }

    .hs-page-title {
        font-size: clamp(48px, 15vw, 72px);
    }

    .hs-page-intro {
        font-size: 17px;
    }

    .hs-page-signal {
        right: -150px;
        opacity: .55;
    }

    .hs-page-content-inner {
        padding-top: 65px;
    }
}

/* ==========================================================
   AGORA SITE OWNER AUTHORING CONTROLS

   These intentionally retain Agora branding rather than
   inheriting the visual language of the hosted site.
========================================================== */

.so-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.so-toolbar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: #f97316;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 34px;
    text-decoration: none;
    cursor: pointer;
    /* Optical correction */
    transform: translateY(0);
}

    .so-toolbar-button::first-line {
        line-height: 34px;
    }

    .so-toolbar-button:hover {
        background: #ea580c;
        color: #ffffff;
        text-decoration: none;
    }

    .so-toolbar-button:focus,
    .so-toolbar-button:active,
    .so-toolbar-button:visited {
        color: #ffffff;
        text-decoration: none;
    }

    .so-toolbar-button svg {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
    }

/* ==========================================================
   HUMANSPAN — REFINED SUBPAGE EXPERIENCE
========================================================== */

.hs-page-hero {
    min-height: 0;
    box-sizing: border-box;
    padding: 75px 0 75px;
    isolation: isolate;
    background: radial-gradient( ellipse at 75% 45%, rgba(0, 229, 255, .13), transparent 48% ), linear-gradient( 115deg, #031015 0%, #05202a 60%, #081519 100% );
}


    .hs-page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: linear-gradient( 90deg, rgba(2, 9, 11, .70) 0%, rgba(2, 9, 11, .40) 35%, rgba(2, 9, 11, .12) 65%, rgba(2, 9, 11, 0) 100% ), url('/uploads/sites/ccfeb2b1-b3ef-4a2d-858d-72a807c3999b/NeonGlobalMesh.png') center 48% / cover no-repeat;
        opacity: .85;
        mask-image: none;
    }


.hs-page-hero-inner {
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
}

.hs-page-title {
    max-width: 780px;
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1.12;
    letter-spacing: -.045em;
    font-weight: 500;
}

.hs-page-meta {
    margin-bottom: 22px;
}

.hs-page-intro {
    margin-top: 24px;
    max-width: 620px;
    color: #a7cad3;
    font-size: 18px;
    line-height: 1.65;
}

/* ==========================================================
   BRIGHTER ORBITAL SIGNAL
========================================================== */

.hs-page-signal {
    position: absolute;
    top: 50%;
    right: 7%;
    width: 340px;
    height: 340px;
    transform: translateY(-50%);
    opacity: .95;
    pointer-events: none;
    --hs-angle-1: 24deg;
    --hs-angle-2: 153deg;
    --hs-radius-1: 148px;
    --hs-radius-2: 113px;
}

.hs-page-signal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 229, 255, .28);
    box-shadow: 0 0 35px rgba(0, 229, 255, .035);
}

.hs-page-signal-ring-1 {
    width: 140px;
    height: 140px;
}

.hs-page-signal-ring-2 {
    width: 250px;
    height: 250px;
}

.hs-page-signal-ring-3 {
    width: 340px;
    height: 340px;
    border-color: rgba(0, 229, 255, .12);
}

.hs-page-signal-line {
    position: absolute;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient( 90deg, rgba(0, 229, 255, .75), rgba(0, 229, 255, .08) );
}

.hs-page-signal-line-1 {
    left: 50%;
    top: 50%;
    width: 132px;
    transform: rotate(34deg);
}

.hs-page-signal-line-2 {
    left: 50%;
    top: 50%;
    width: 128px;
    transform: rotate(148deg);
}

.hs-page-signal-node {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 9px #00e5ff, 0 0 28px rgba(0, 229, 255, .65);
}

.hs-page-signal-node-1 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #ff7900;
    box-shadow: 0 0 5px 2px rgba(255, 121, 0, .95), 0 0 17px 5px rgba(255, 105, 0, .50), 0 0 38px 8px rgba(255, 85, 0, .18);
}

.hs-page-signal-node-2 {
    left: calc(50% + 109px - 4.5px);
    top: calc(50% + 74px - 4.5px);
}

.hs-page-signal-node-3 {
    left: calc(50% - 109px - 4.5px);
    top: calc(50% + 68px - 4.5px);
}

/* ==========================================================
   HUMANSPAN SUBPAGE CONTENT
========================================================== */

.hs-page-content {
    background: radial-gradient( ellipse at 85% 0%, rgba(0, 229, 255, .055), transparent 48% ), #031015;
}

.hs-page-content-inner {
    padding-top: 80px;
    padding-bottom: 100px;
}

.hs-page-article {
    border-bottom-color: rgba(0, 229, 255, .16);
}

.hs-page-body {
    color: #a4c0c8;
}

    .hs-page-body h2,
    .hs-page-body h3 {
        color: #f2f7f8;
    }

/* ==========================================================
   SUBPAGE CAPABILITY NAVIGATION
========================================================== */

.hs-subpage-explore {
    padding: 95px clamp(24px, 5vw, 90px) 110px;
    background: radial-gradient( ellipse at 90% 100%, rgba(0, 229, 255, .09), transparent 45% ), #020a0d;
}

.hs-subpage-explore-inner {
    max-width: 1180px;
    margin: 0 auto 45px;
}

    .hs-subpage-explore-inner h2 {
        margin: 18px 0;
        color: #f2f7f8;
        font-size: clamp(34px, 4vw, 58px);
        font-weight: 500;
        letter-spacing: -.045em;
    }

        .hs-subpage-explore-inner h2 span {
            color: var(--hs-cyan);
        }

    .hs-subpage-explore-inner p {
        max-width: 620px;
        color: #a4c0c8;
        line-height: 1.7;
    }

.hs-subpage-explore .hs-capability-grid {
    max-width: 1180px;
    margin: 0 auto;
}

/* ==========================================================
   CAPABILITY CARDS — CYAN DEFAULT / ORANGE HOVER
========================================================== */

.hs-capability {
    border: 1px solid rgba(0, 229, 255, .19);
    background: linear-gradient( 145deg, rgba(5, 22, 28, .99), rgba(2, 10, 13, .99) );
    transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

    .hs-capability h3,
    .hs-capability-number,
    .hs-capability-platform {
        color: #00e5ff;
        transition: color .3s ease;
    }

.hs-capability-icon {
    color: #00e5ff;
    border-color: rgba(0, 229, 255, .35);
    background: rgba(0, 229, 255, .035);
}

.hs-capability:hover,
.hs-capability:focus-visible {
    border-color: #ff941f;
    background: linear-gradient( 145deg, rgba(105, 44, 8, .85), rgba(31, 15, 9, .99) 65%, rgba(12, 13, 13, .99) );
    box-shadow: 0 0 0 1px rgba(255, 148, 31, .22), 0 12px 48px rgba(255, 113, 0, .16), inset 0 0 60px rgba(255, 113, 0, .09);
    transform: translateY(-4px);
}

    .hs-capability:hover h3,
    .hs-capability:hover .hs-capability-number,
    .hs-capability:hover .hs-capability-platform,
    .hs-capability:focus-visible h3,
    .hs-capability:focus-visible .hs-capability-number,
    .hs-capability:focus-visible .hs-capability-platform {
        color: #ff9d3d;
    }

    .hs-capability:hover .hs-capability-icon,
    .hs-capability:focus-visible .hs-capability-icon {
        color: #ffae50;
        border-color: rgba(255, 157, 61, .85);
        background: rgba(255, 157, 61, .12);
        box-shadow: 0 0 24px rgba(255, 157, 61, .20);
    }

    .hs-capability:hover::after,
    .hs-capability:focus-visible::after {
        width: 100%;
        background: linear-gradient( 90deg, #ff8a00, #ffb347, transparent );
    }

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1050px) {
    .hs-page-signal {
        right: -85px;
        opacity: .55;
    }

    .hs-page-hero-inner {
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 760px) {
    .hs-page-hero {
        min-height: 0;
        padding: 65px 0 75px;
    }

    .hs-page-hero-inner {
        width: calc(100% - 40px);
    }

    .hs-page-title {
        font-size: clamp(38px, 10vw, 58px);
        line-height: 1.12;
    }

    .hs-page-signal {
        right: -190px;
        opacity: .25;
    }

    .hs-page-hero::before {
        opacity: .09;
    }

    .hs-page-content-inner {
        padding-top: 55px;
        padding-bottom: 70px;
    }

    .hs-subpage-explore {
        padding: 65px 20px 85px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hs-capability {
        transition: none;
    }
}


/* ==========================================================
   HUMANSPAN SUBPAGE — NETWORK ALIGNMENT AND MOTION
========================================================== */

/* Brighter artwork without making the text harder to read */

.hs-page-hero::before {
    opacity: .68;
}

/* Position the graphic on the right side of the hero */

.hs-page-signal {
    --hs-signal-radius: 132px;
    --hs-signal-angle-1: 34deg;
    --hs-signal-angle-2: 148deg;
    position: absolute;
    top: 50%;
    right: 7%;
    width: 340px;
    height: 340px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: .98;
}

/* Rings */

.hs-page-signal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 229, 255, .25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: hs-signal-breathe 7s ease-in-out infinite;
}

.hs-page-signal-ring-1 {
    width: 140px;
    height: 140px;
}

.hs-page-signal-ring-2 {
    width: 250px;
    height: 250px;
    animation-delay: -2s;
}

.hs-page-signal-ring-3 {
    width: 340px;
    height: 340px;
    border-color: rgba(0, 229, 255, .12);
    animation-delay: -4s;
}

/* Lines and endpoints share identical polar coordinates */

.hs-page-signal-line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--hs-signal-radius);
    height: 1px;
    transform-origin: left center;
    background: linear-gradient( 90deg, rgba(0, 229, 255, .65), rgba(0, 229, 255, .95) );
}

.hs-page-signal-line-1 {
    width: var(--hs-radius-1);
    transform: rotate(var(--hs-angle-1));
}

.hs-page-signal-line-2 {
    width: var(--hs-radius-2);
    transform: rotate(var(--hs-angle-2));
}

.hs-page-signal-node {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 10px #00e5ff, 0 0 26px rgba(0, 229, 255, .8);
    animation: hs-signal-node-pulse 3.6s ease-in-out infinite;
}

/* Center amber node */

/* Center node — Humanspan orange */

.hs-page-signal-node-1 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #ff7900;
    box-shadow: 0 0 5px 2px rgba(255, 121, 0, .95), 0 0 17px 5px rgba(255, 105, 0, .50), 0 0 38px 8px rgba(255, 85, 0, .18);
    animation: hs-orange-node-pulse 3.2s ease-in-out infinite;
}

@keyframes hs-orange-node-pulse {
    0%, 100% {
        opacity: .85;
        box-shadow: 0 0 4px 1px rgba(255, 110, 0, .85), 0 0 12px 3px rgba(255, 85, 0, .35), 0 0 25px 5px rgba(255, 70, 0, .12);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 9px 4px rgba(255, 110, 0, 1), 0 0 25px 9px rgba(255, 85, 0, .65), 0 0 55px 15px rgba(255, 65, 0, .28);
    }
}

/* Endpoints calculated from the same radius and angle */

.hs-page-signal-node-2 {
    left: calc(50% + var(--hs-radius-1) * cos(var(--hs-angle-1)));
    top: calc(50% + var(--hs-radius-1) * sin(var(--hs-angle-1)));
    transform: translate(-50%, -50%);
    animation-delay: -1.2s;
}

.hs-page-signal-node-3 {
    left: calc(50% + var(--hs-radius-2) * cos(var(--hs-angle-2)));
    top: calc(50% + var(--hs-radius-2) * sin(var(--hs-angle-2)));
    transform: translate(-50%, -50%);
    animation-delay: -2.4s;
}

/* Occasional lens flares in the upper-right network */

.hs-page-flare {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b8f7ff;
    opacity: 0;
    box-shadow: 0 0 9px 3px rgba(0, 229, 255, .7), 0 0 28px 8px rgba(0, 229, 255, .25), 0 0 65px 12px rgba(0, 229, 255, .1);
    animation: hs-lens-flare 13s ease-in-out infinite;
}

    .hs-page-flare::before,
    .hs-page-flare::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: linear-gradient( 90deg, transparent, rgba(174, 246, 255, .8), transparent );
    }

    .hs-page-flare::before {
        width: 95px;
        height: 1px;
    }

    .hs-page-flare::after {
        width: 1px;
        height: 55px;
    }

.hs-page-flare-1 {
    top: 12%;
    right: 8%;
}

.hs-page-flare-2 {
    top: 27%;
    right: 35%;
    animation-delay: -6.5s;
    animation-duration: 17s;
}

@keyframes hs-signal-breathe {
    0%, 100% {
        opacity: .48;
        filter: brightness(1);
    }

    50% {
        opacity: 1;
        filter: brightness(1.7);
    }
}

@keyframes hs-signal-node-pulse {
    0%, 100% {
        opacity: .75;
        filter: brightness(1);
    }

    50% {
        opacity: 1;
        filter: brightness(1.8);
    }
}

@keyframes hs-lens-flare {
    0%, 12%, 24%, 100% {
        opacity: 0;
        transform: scale(.4);
    }

    16% {
        opacity: .9;
        transform: scale(1.4);
    }

    20% {
        opacity: .25;
        transform: scale(.85);
    }
}

/* ==========================================================
   HUMANSPAN COPYRIGHT FOOTER
========================================================== */

.hs-site-footer {
    position: relative;
    border-top: 1px solid rgba(0, 229, 255, .14);
    background: #010709;
    padding: 32px 36px;
}

.hs-site-footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 32px;
    color: #829da5;
    font-size: 12px;
    letter-spacing: .04em;
}

@media (max-width: 760px) {
    .hs-page-hero::before {
        opacity: .14;
    }

    .hs-page-signal {
        right: -190px;
        opacity: .35;
    }

    .hs-site-footer {
        padding: 28px 20px;
    }

    .hs-site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hs-page-signal-ring,
    .hs-page-signal-node,
    .hs-page-flare {
        animation: none;
    }
}


/* ==========================================================
   AGORA ONBOARDING — FORM STEP HEADINGS
   Shared by Personal and Organization setup
   ========================================================== */

.hs-onboarding-step-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.hs-onboarding-step-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 157, 61, .45);
    border-radius: 14px;
    color: #ff9d3d;
    background: rgba(255, 157, 61, .065);
}

    .hs-onboarding-step-icon svg {
        width: 23px;
        height: 23px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.hs-onboarding-step-copy {
    min-width: 0;
}

.hs-onboarding-step-number {
    display: block;
    margin-bottom: 5px;
    color: #00e5ff;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.hs-onboarding-step-heading h2 {
    margin: 0 0 5px;
    color: #00e5ff;
    font-size: 1.05rem;
    font-weight: 700;
}

.hs-onboarding-step-heading p {
    margin: 0;
    color: #91a8b3;
    font-size: .86rem;
    line-height: 1.55;
}

/* ============================================================
   HUMANSPAN — CONTACT FORM
   Uses existing Humanspan site styling.
============================================================ */

.hs-contact-section {
    padding: 85px 24px;
    scroll-margin-top: 90px;
}

.hs-contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.hs-contact-section .site-contact-heading {
    text-align: center;
    margin-bottom: 38px;
}

    .hs-contact-section .site-contact-heading h2 {
        font-size: clamp(32px, 4vw, 48px);
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hs-contact-section .site-contact-heading p {
        max-width: 640px;
        margin: 0 auto;
        line-height: 1.7;
        opacity: .8;
    }

.hs-contact-form {
    max-width: 850px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

    .hs-contact-form .site-contact-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .hs-contact-form label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 600;
    }

    .hs-contact-form input:not([type="hidden"]),
    .hs-contact-form textarea {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 14px 16px;
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 8px;
        background: rgba(255,255,255,.055);
        color: inherit;
        font: inherit;
    }

    .hs-contact-form textarea {
        resize: vertical;
    }

        .hs-contact-form input:focus,
        .hs-contact-form textarea:focus {
            outline: 2px solid currentColor;
            outline-offset: 2px;
        }

    .hs-contact-form .hs-button {
        justify-self: start;
        cursor: pointer;
    }

.hs-contact-section .site-contact-success,
.hs-contact-section .site-contact-error {
    max-width: 850px;
    margin: 0 auto 22px;
    padding: 14px 18px;
    border: 1px solid currentColor;
    border-radius: 8px;
}

.hs-contact-section .site-contact-note {
    font-size: 13px;
    opacity: .7;
}

@media (max-width: 640px) {
    .hs-contact-section {
        padding: 50px 18px;
    }

    .hs-contact-form .site-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   HUMANSPAN — HUMAN VERIFICATION DIALOG
   Uses the existing Humanspan palette.
   Does not affect SiteSimple sites.
============================================================ */

.hs-contact-verification .agora-verify-dialog {
    background: var(--hs-surface-raised);
    color: var(--hs-text);
    border: 1px solid var(--hs-line);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}

.hs-contact-section .agora-verify-kicker {
    color: var(--hs-cyan);
}

.hs-contact-section .agora-verify-dialog h2 {
    color: var(--hs-text) !important;
}

.hs-contact-section .agora-verify-dialog p,
.hs-contact-section .agora-verify-dialog label {
    color: var(--hs-text);
}

.hs-contact-section .agora-verify-image {
    background: var(--hs-surface);
    border-color: var(--hs-line);
}

.hs-contact-section .agora-verify-dialog input[type="text"] {
    background: var(--hs-surface);
    color: var(--hs-text);
    -webkit-text-fill-color: var(--hs-text);
    border: 1px solid var(--hs-line);
}

.hs-contact-section .agora-verify-cancel,
.hs-contact-section .agora-verify-close {
    background: var(--hs-surface) !important;
    border-color: var(--hs-line) !important;
    color: var(--hs-text) !important;
}

.hs-contact-section .agora-verify-submit {
    background: var(--hs-amber) !important;
    border-color: var(--hs-amber) !important;
    color: var(--hs-bg) !important;
}

.hs-contact-section .agora-verify-cancel:hover,
.hs-contact-section .agora-verify-close:hover {
    background: var(--hs-surface-raised) !important;
    color: var(--hs-cyan) !important;
}

.hs-contact-section .agora-verify-submit:hover {
    background: var(--hs-cyan) !important;
    border-color: var(--hs-cyan) !important;
    color: var(--hs-bg) !important;
}

/* ============================================================
   HUMANSPAN CONTACT PAGE — TIGHTEN CONTENT / FORM SPACING
   Applies only to Contact pages.
============================================================ */


/* ============================================================
   HUMANSPAN — HUMAN VERIFICATION DIALOG
   Scoped to the overlay moved directly under body.
   Uses existing Humanspan colors.
============================================================ */

.hs-contact-verification .agora-verify-dialog {
    background: var(--hs-surface-raised);
    color: var(--hs-text);
    border: 1px solid var(--hs-line);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}

/* Small heading */
.hs-contact-verification .agora-verify-kicker {
    color: var(--hs-amber);
}

/* One quick check */
.hs-contact-verification .agora-verify-dialog h2 {
    color: var(--hs-cyan) !important;
}

/* Instructions and field label */
.hs-contact-verification .agora-verify-dialog p,
.hs-contact-verification .agora-verify-dialog label {
    color: var(--hs-text);
    opacity: 1;
}

/* Verification image container */
.hs-contact-verification .agora-verify-image {
    background: var(--hs-surface);
    border-color: var(--hs-line);
}

/* Full-width answer field */
.hs-contact-verification .agora-verify-dialog input[type="text"] {
    display: block;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 12px 14px;
    margin: 0;
    background: var(--hs-surface);
    color: var(--hs-text);
    -webkit-text-fill-color: var(--hs-text);
    border: 1px solid var(--hs-line);
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    caret-color: var(--hs-text);
}

    .hs-contact-verification .agora-verify-dialog input[type="text"]:focus {
        outline: 2px solid var(--hs-cyan);
        outline-offset: 2px;
        border-color: var(--hs-cyan);
    }

/* Cancel and close */
.hs-contact-verification .agora-verify-cancel,
.hs-contact-verification .agora-verify-close {
    background: var(--hs-surface) !important;
    border-color: var(--hs-line) !important;
    color: var(--hs-text) !important;
}

    .hs-contact-verification .agora-verify-cancel:hover,
    .hs-contact-verification .agora-verify-close:hover {
        background: var(--hs-surface-raised) !important;
        color: var(--hs-cyan) !important;
    }

/* Verify & Continue */
.hs-contact-verification .agora-verify-submit {
    background: var(--hs-amber) !important;
    border-color: var(--hs-amber) !important;
    color: var(--hs-bg) !important;
}

    .hs-contact-verification .agora-verify-submit:hover {
        background: var(--hs-cyan) !important;
        border-color: var(--hs-cyan) !important;
        color: var(--hs-bg) !important;
    }


/* ============================================================
   HUMANSPAN — CENTER CONTACT VERIFICATION
============================================================ */

.hs-contact-verification.agora-verify-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.hs-contact-verification .agora-verify-dialog {
    flex: 0 1 560px;
    margin: auto;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
}

/* ============================================================
   HUMANSPAN CONTACT PAGE — FORM TO CAPABILITIES
============================================================ */

.hs-contact-section:has(+ .hs-subpage-explore) {
    padding-bottom: 28px;
}

.hs-contact-section + .hs-subpage-explore {
    padding-top: 32px;
}

@media (max-width: 760px) {
    .hs-contact-section:has(+ .hs-subpage-explore) {
        padding-bottom: 18px;
    }

    .hs-contact-section + .hs-subpage-explore {
        padding-top: 24px;
    }
}

.hs-contact-section .site-contact-success {
    border: 1px solid var(--hs-cyan);
    background: var(--hs-surface-raised);
    color: var(--hs-text);
    padding: 18px 22px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

.hs-contact-section .site-contact-error {
    border: 1px solid var(--hs-amber);
    background: var(--hs-surface-raised);
    color: var(--hs-text);
    padding: 18px 22px;
    border-radius: 10px;
    text-align: center;
}

/* ============================================================
   HUMANSPAN CONTACT PAGE — FINAL CONTENT BLOCK SPACING
   Only affects the editable content above the Contact form.
============================================================ */

.hs-page-content-contact .hs-page-article:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.hs-page-content-contact .hs-page-content-inner {
    padding-bottom: 0;
}

.hs-page-content-contact .hs-page-article:last-child .hs-page-body > :last-child {
    margin-bottom: 0;
}

.hs-page-content-contact + .hs-contact-section {
    padding-top: 28px;
}

@media (max-width: 760px) {
    .hs-page-content-contact + .hs-contact-section {
        padding-top: 20px;
    }
}

/* ============================================================
   HUMANSPAN HOME — BACKGROUND IMAGE
   Home page only; preserves existing hero layout and effects.
============================================================ */

.hs-hero-humanspan-home {
    background-image: linear-gradient( 90deg, rgba(2, 8, 11, .82) 0%, rgba(2, 8, 11, .62) 36%, rgba(2, 8, 11, .12) 75%, rgba(2, 8, 11, .08) 100% ), url('/uploads/sites/ccfeb2b1-b3ef-4a2d-858d-72a807c3999b/HumanspanBackground.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .hs-hero-humanspan-home {
        background-position: 65% center;
        background-image: linear-gradient( 90deg, rgba(2, 8, 11, .88), rgba(2, 8, 11, .55) ), url('/uploads/sites/ccfeb2b1-b3ef-4a2d-858d-72a807c3999b/HumanspanBackground.png');
    }
}


/* ============================================================
   HUMANSPAN — EXPANDED CYAN ATMOSPHERE
   More visible cyan across tall sections.
============================================================ */

.hs-page-content {
    background: radial-gradient( ellipse 85% 75% at 95% 25%, rgba(0, 229, 255, .18), transparent 80% ), radial-gradient( ellipse 80% 70% at 5% 85%, rgba(0, 170, 200, .12), transparent 80% ), #031015;
}

.hs-contact-section {
    background: radial-gradient( ellipse 80% 80% at 95% 35%, rgba(0, 229, 255, .16), transparent 80% ), radial-gradient( ellipse 80% 75% at 5% 75%, rgba(0, 170, 200, .11), transparent 80% ), #020a0d;
}

.hs-capabilities {
    background: radial-gradient( ellipse 85% 75% at 5% 25%, rgba(0, 229, 255, .18), transparent 80% ), radial-gradient( ellipse 85% 75% at 95% 85%, rgba(0, 170, 200, .14), transparent 80% ), #030708;
}

.hs-subpage-explore {
    background: radial-gradient( ellipse 85% 75% at 95% 75%, rgba(0, 229, 255, .17), transparent 80% ), radial-gradient( ellipse 80% 70% at 5% 20%, rgba(0, 170, 200, .12), transparent 80% ), #020a0d;
}

.hs-site-footer {
    background: linear-gradient( 180deg, rgba(0, 85, 100, .22) 0%, #010709 100% );
}



/* ==========================================================
   HUMANSPAN SUBPAGES — TIGHTER CONTENT-TO-CARDS SPACING
   ========================================================== */

.hs-page-content:has(+ .hs-subpage-explore)
.hs-page-article:last-child {
    padding-bottom: 24px;
}

.hs-page-content:has(+ .hs-subpage-explore)
.hs-page-content-inner {
    padding-bottom: 32px;
}

.hs-page-content + .hs-subpage-explore {
    padding-top: 24px;
}

@media (max-width: 760px) {
    .hs-page-content:has(+ .hs-subpage-explore)
    .hs-page-content-inner {
        padding-bottom: 24px;
    }

    .hs-page-content + .hs-subpage-explore {
        padding-top: 20px;
    }
}



/* ==========================================================
   HUMANSPAN HOME — CAPABILITIES ALIGNMENT
   ========================================================== */

@media (min-width: 761px) {

    .hs-hero-humanspan-home + .hs-capabilities {
        padding-top: 65px;
    }

        .hs-hero-humanspan-home + .hs-capabilities
        .hs-section-heading {
            max-width: 1180px;
            margin: 0 0 45px;
        }

        .hs-hero-humanspan-home + .hs-capabilities
        .hs-capability-grid {
            max-width: none;
            margin: 0;
        }
}

@media (max-width: 760px) {

    .hs-hero-humanspan-home + .hs-capabilities {
        padding-top: 45px;
    }

        .hs-hero-humanspan-home + .hs-capabilities
        .hs-section-heading {
            margin-bottom: 35px;
        }
}


/* Align homepage capabilities with the hero on desktop */
@media (min-width: 761px) {
    .hs-hero-humanspan-home + .hs-capabilities {
        padding-left: clamp(28px, 9vw, 170px);
        padding-right: clamp(28px, 9vw, 170px);
    }
}


/* ==========================================================
   HUMANSPAN RESPONSIVE NAVIGATION
========================================================== */

.hs-menu-toggle {
    display: none;
}

@media (max-width: 760px) {

    .hs-site-header {
        z-index: 1000;
    }

    .hs-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(0,229,255,.3);
        border-radius: 6px;
        background: rgba(0,229,255,.04);
        cursor: pointer;
    }

        .hs-menu-toggle span {
            width: 21px;
            height: 2px;
            border-radius: 2px;
            background: var(--hs-cyan);
            transition: transform .25s ease, opacity .25s ease;
        }

    .hs-menu-open .hs-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hs-menu-open .hs-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .hs-menu-open .hs-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hs-site-header .hs-site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 20px;
        background: rgba(3, 12, 15, .98);
        border-bottom: 1px solid rgba(0,229,255,.28);
        box-shadow: 0 18px 35px rgba(0,0,0,.5);
        backdrop-filter: blur(18px);
    }

    .hs-site-header.hs-menu-open .hs-site-nav {
        display: flex;
    }

    .hs-site-nav a {
        display: block;
        padding: 16px 10px;
        border-bottom: 1px solid rgba(0,229,255,.10);
        font-size: .85rem;
    }

        .hs-site-nav a:last-child {
            border-bottom: 0;
        }

        .hs-menu-toggle:focus-visible,
        .hs-site-nav a:focus-visible {
            outline: 2px solid var(--hs-cyan);
            outline-offset: 3px;
        }
}




