/* =========================================================
   08. HUMAN
   The human origin of innovation
   ========================================================= */

.human {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
}

.human__environment {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.human__glow {
    position: absolute;
    width: min(60vw, 700px);
    aspect-ratio: 1;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    background: 
        radial-gradient(
            circle at 42% 45%,
            rgba(var(--energy-creativity-rgb), 0.10),
            transparent 38%
        ),
        radial-gradient(
            circle at 60% 50%,
            rgba(var(--energy-discovery-rgb), 0.08),
            transparent 48%
        );
}

.human__content {
    width: min(1200px, 100%);
    margin-inline: auto;
    padding: 9rem 1.5rem;
    position: relative;
}

.human__intro {
    max-width: 700px;
    margin-bottom: 5rem;
}

.human__visual {
    min-height: 520px;
    position: relative;
}

.human__figure {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(120px, 15vw, 190px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
}

.human__head {
    position: absolute;
    width: 34%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    left: 50%;
    top: 5%;
    transform: translateX(-50%);
}

.human__body {
    position: absolute;
    width: 50%;
    height: 50%;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border:
        1px solid rgba(255,255,255,.35);
    border-radius:
        50% 50% 20% 20%;
}

.human__thought {
    position: absolute;
    padding: .75rem 1rem;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.025);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(.7);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.16,1,.3,1);
}

.human.is-visible .human__thought {
    opacity: 1;
    transform: scale(1);
}

.human__thought:nth-child(1) {
    top: 5%;
    left: 5%;
}

.human__thought:nth-child(2) {
    top: 15%;
    right: 4%;
}

.human__thought:nth-child(3) {
    bottom: 12%;
    left: 8%;
}

.human__thought:nth-child(4) {
    bottom: 5%;
    right: 8%;
}

.human__thought:hover {
    transform: scale(1.08);
    border-color: rgba(255,255,255,.4);
}

.human__orbit {
    position: absolute;
    inset: 5%;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    animation: humanOrbit 20s linear infinite;
}

.human__orbit--two {
    inset: 15%;
    transform: rotate(65deg);
    animation-duration: 27s;
    animation-direction: reverse;
}

.human__node {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--energy-creativity);
    box-shadow: 0 0 18px rgba(var(--energy-creativity-rgb), 0.65);
}

.human__node--one { top: 5%; left: 50%; }
.human__node--two { right: 7%; top: 50%; }
.human__node--three { bottom: 7%; left: 35%; }

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

/* ---------------------------------------------------------
   SAFETY FALLBACK
   --------------------------------------------------------- */

html.no-js .human__thought {
    opacity: 1;
    transform: scale(1);
}

.human__thought:nth-of-type(1) {
    --thought-energy: var(--energy-creativity);
    --thought-energy-rgb: var(--energy-creativity-rgb);
}

.human__thought:nth-of-type(2) {
    --thought-energy: var(--energy-discovery);
    --thought-energy-rgb: var(--energy-discovery-rgb);
}

.human__thought:nth-of-type(3) {
    --thought-energy: var(--energy-discovery);
    --thought-energy-rgb: var(--energy-discovery-rgb);
}

.human__thought:nth-of-type(4) {
    --thought-energy: var(--energy-creativity);
    --thought-energy-rgb: var(--energy-creativity-rgb);
}

.human__thought {
    border-color: rgba(var(--thought-energy-rgb, 255,255,255), 0.22);
    box-shadow: 0 0 25px rgba(var(--thought-energy-rgb, 255,255,255), 0.05);
}

.human__thought:hover {
    border-color: rgba(var(--thought-energy-rgb, 255,255,255), 0.45);
    box-shadow: 0 0 30px rgba(var(--thought-energy-rgb, 255,255,255), 0.12);
}

