/* Explain: App-specific layout utilities for structure and spacing. - */
.hero-stage {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 75vh;
    align-items: flex-end;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.hero-stage::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: repeating-linear-gradient(90deg, transparent 0, transparent 12vw, rgba(0, 240, 255, 0.06) 12.1vw);
    animation: scan-shift 8s linear infinite;
}

.hero-orb {
    position: absolute;
    z-index: -1;
    width: 34rem;
    height: 34rem;
    top: 5%;
    right: -8rem;
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    box-shadow: inset 0 0 100px rgba(79, 0, 255, 0.2), 0 0 80px rgba(0, 240, 255, 0.12);
    animation: orb-spin 16s linear infinite;
}

.hero-title {
    max-width: 13ch;
    font-size: clamp(2.4rem, 7vw, 7.5rem);
    line-height: 0.92;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.hero-title span {
    color: transparent;
    -webkit-text-stroke: 1px var(--secondary-color);
    text-shadow: 0 0 35px rgba(0, 240, 255, 0.3);
}

.about-collage {
    position: relative;
    min-height: 32rem;
}

.about-collage img {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-indigo);
}

.about-collage img:first-child {
    width: 75%;
    height: 78%;
    right: 0;
    top: 0;
}

.about-collage img:last-child {
    width: 55%;
    height: 48%;
    left: 0;
    bottom: 0;
}

.diagonal-divider {
    height: 6rem;
    background: linear-gradient(174deg, transparent 49%, var(--primary-color) 50%, var(--primary-color) 52%, transparent 53%);
    opacity: 0.65;
}

@keyframes scan-shift {
    50% {
        transform: translateX(2vw);
    }
}

@keyframes orb-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .hero-stage {
        min-height: 65vh;
    }

    .hero-orb {
        width: 20rem;
        height: 20rem;
        right: -9rem;
    }

    .about-collage {
        min-height: 25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}