/* =========================================================
   06. HERO
   ========================================================= */

.hero {
    display: grid;
    place-items: center;

    min-height: 100svh;

    padding-top: 7rem;

    isolation: isolate;
}

.hero__content {
    position: relative;
    z-index: var(--z-content);

    text-align: center;
}

.hero .eyebrow {
    justify-content: center;
}

.hero__title {
    max-width: 1100px;
    margin-inline: auto;

    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 0.88;
}

.hero__subtitle {
    max-width: 600px;

    margin: 2rem auto 0;

    color: var(--color-text-muted);

    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero__actions {
    display: flex;
    justify-content: center;

    margin-top: 3rem;
}

.hero__environment {
    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    pointer-events: none;
}

.hero__orb {
    position: absolute;

    width: min(65vw, 800px);
    aspect-ratio: 1;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    animation: hero-orbit 24s linear infinite;
    border-color: rgba(255,255,255,0.10);
    box-shadow:
        0 0 80px rgba(0,119,255,0.04),
        0 0 140px rgba(153,0,255,0.03);
}

.hero__orb::before,
.hero__orb::after {
    content: "";

    position: absolute;
    inset: 15%;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.hero__orb::after {
    inset: 30%;
}

.hero__core {
    width: 90px;
    aspect-ratio: 1;

    border-radius: 50%;

    background:
        radial-gradient(
        circle,
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.45) 8%,
        rgba(255,204,51,0.28) 16%,
        rgba(0,119,255,0.16) 28%,
        rgba(153,0,255,0.10) 40%,
        transparent 70%
    );

    filter: blur(1px);

    animation: core-breathe 4s ease-in-out infinite;
}

.hero__scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;

    color: var(--color-text-faint);

    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;

    transform: translateX(-50%);
}

.hero__scroll-indicator i {
    width: 1px;
    height: 40px;

    background: linear-gradient(
        to bottom,
        transparent,
        var(--color-text-muted)
    );
}

@keyframes hero-orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes core-breathe {
    0%,
    100% {
        transform: scale(0.85);
        opacity: 0.65;
    }

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