.stage1 {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: calc(100svh - 7.2rem);
    overflow: hidden;
    background:
        linear-gradient(rgba(17, 17, 22, 0.035) 0.1rem, transparent 0.1rem),
        linear-gradient(90deg, rgba(17, 17, 22, 0.035) 0.1rem, transparent 0.1rem),
        #fbfbfd;
    background-size: 4.8rem 4.8rem;
}

.stage1__inner {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(var(--container-width), calc(100% - (var(--page-gutter) * 2)));
    min-height: 72rem;
    min-height: max(72rem, calc(100svh - 14.2rem));
    grid-template-columns: minmax(0, 1.02fr) minmax(42rem, 0.98fr);
    gap: 6rem;
    align-items: center;
    margin-inline: auto;
    padding: 7.2rem 0 8rem;
}

.stage1__glow {
    position: absolute;
    z-index: 0;
    width: 45rem;
    height: 45rem;
    border-radius: 50%;
    opacity: 0.13;
    filter: blur(8rem);
    pointer-events: none;
}

.stage1__glow--cyan {
    top: -18rem;
    left: -15rem;
    background: var(--brand-cyan);
}

.stage1__glow--purple {
    right: -14rem;
    bottom: -20rem;
    background: var(--brand-purple);
}

.stage1__content {
    position: relative;
    z-index: 4;
    max-width: 68rem;
}

.stage1__eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 2.4rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stage1__eyebrow > span {
    width: 2.6rem;
    height: 0.2rem;
    background: var(--brand-gradient);
}

.stage1 h1 {
    max-width: 68rem;
    margin: 0;
    font-size: 6.8rem;
    font-weight: 780;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.stage1 h1 span {
    color: transparent;
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
}

.stage1__lead {
    max-width: 57rem;
    margin: 3rem 0 0;
    color: var(--color-text-muted);
    font-size: 1.7rem;
    line-height: 1.72;
}

.stage1__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 3.6rem;
}

.stage1__button {
    display: inline-flex;
    min-height: 5.4rem;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 2.2rem;
    border: 0.1rem solid var(--color-text);
    border-radius: 999rem;
    font-size: 1.4rem;
    font-weight: 700;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.stage1__button:hover {
    transform: translateY(-0.2rem);
}

.stage1__button svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition-fast);
}

.stage1__button:hover svg {
    transform: translateX(0.3rem);
}

.stage1__button--primary {
    color: #ffffff;
    background: var(--color-text);
    box-shadow: 0 1.2rem 2.8rem rgba(17, 17, 22, 0.16);
}

.stage1__button--primary:hover {
    background: #2b2b34;
}

.stage1__button--secondary {
    background: rgba(255, 255, 255, 0.65);
    border-color: var(--color-border);
    backdrop-filter: blur(1rem);
}

.stage1__button--secondary:hover {
    background: #ffffff;
    border-color: var(--color-text);
}

.stage1__note {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 1.8rem 0 0;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.stage1__note svg {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.2rem;
    color: #ffffff;
    background: var(--color-text);
    border-radius: 50%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stage1__visual {
    position: relative;
    width: min(50rem, 100%);
    height: 51rem;
    justify-self: end;
}

.stage1__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 0.1rem solid rgba(17, 17, 22, 0.17);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
}

.stage1__orbit--outer {
    width: 48rem;
    height: 34rem;
}

.stage1__orbit--inner {
    width: 33rem;
    height: 45rem;
    border-style: dashed;
    transform: translate(-50%, -50%) rotate(24deg);
}

.stage1__person-card {
    position: absolute;
    z-index: 3;
    display: flex;
    width: 27rem;
    min-height: 33rem;
    flex-direction: column;
    padding: 2.2rem;
    background: rgba(255, 255, 255, 0.91);
    border: 0.1rem solid rgba(17, 17, 22, 0.34);
    border-radius: 2.4rem;
    box-shadow: 0 2.4rem 6rem rgba(24, 20, 40, 0.14);
    backdrop-filter: blur(1.8rem);
}

.stage1__person-card--senior {
    top: 1.8rem;
    left: 0;
    transform: rotate(-4deg);
}

.stage1__person-card--junior {
    right: 0;
    bottom: 1.8rem;
    width: 23rem;
    min-height: 27rem;
    background: linear-gradient(145deg, rgba(0, 205, 255, 0.2), rgba(175, 0, 175, 0.12)), #ffffff;
    transform: rotate(5deg);
}

.stage1__card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stage1__card-topline > span:first-child {
    letter-spacing: 0;
    text-transform: none;
}

.stage1__online {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.stage1__online i {
    width: 0.7rem;
    height: 0.7rem;
    background: #21b878;
    border-radius: 50%;
    box-shadow: 0 0 0 0.3rem rgba(33, 184, 120, 0.14);
}

.stage1__avatar {
    display: grid;
    width: 10rem;
    height: 10rem;
    margin: 3.4rem auto 2.3rem;
    place-items: center;
    color: #ffffff;
    background: var(--color-text);
    border-radius: 50%;
    font-size: 4.2rem;
    font-weight: 300;
    line-height: 1;
}

.stage1__avatar--senior {
    box-shadow:
        0 0 0 0.7rem #ffffff,
        0 0 0 0.8rem rgba(17, 17, 22, 0.22),
        1.1rem 1.1rem 0 rgba(0, 205, 255, 0.42);
}

.stage1__avatar--junior {
    width: 8rem;
    height: 8rem;
    margin-top: 2.5rem;
    color: var(--color-text);
    background: #ffffff;
    border: 0.1rem solid var(--color-text);
    font-size: 3.5rem;
    box-shadow: -0.8rem 0.8rem 0 rgba(175, 0, 175, 0.24);
}

.stage1__person-card > strong {
    display: block;
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: -0.025em;
}

.stage1__person-card > p {
    margin: 0.4rem 0 0;
    color: var(--color-text-muted);
    text-align: center;
    font-size: 1.1rem;
}

.stage1__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.stage1__tags span {
    padding: 0.5rem 0.8rem;
    background: var(--color-surface);
    border: 0.1rem solid var(--color-border);
    border-radius: 999rem;
    font-size: 1rem;
}

.stage1__connection {
    position: absolute;
    z-index: 5;
    top: 47%;
    left: 43%;
    width: 12rem;
    border-top: 0.2rem dashed var(--color-text);
    transform: rotate(19deg);
}

.stage1__connection::before,
.stage1__connection::after,
.stage1__connection span {
    position: absolute;
    top: -0.6rem;
    width: 1rem;
    height: 1rem;
    background: #ffffff;
    border: 0.2rem solid var(--color-text);
    border-radius: 50%;
    content: "";
}

.stage1__connection::before {
    left: 0;
}

.stage1__connection::after {
    right: 0;
}

.stage1__connection span {
    left: 50%;
    background: var(--brand-cyan);
    transform: translateX(-50%);
}

.stage1__message {
    position: absolute;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.2rem;
    background: #ffffff;
    border: 0.1rem solid var(--color-text);
    border-radius: 999rem;
    box-shadow: 0.4rem 0.5rem 0 var(--color-text);
    font-size: 1rem;
    font-weight: 650;
    white-space: nowrap;
}

.stage1__message > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: #ffffff;
    background: var(--color-text);
    border-radius: 50%;
    font-size: 1rem;
}

.stage1__message--question {
    top: 3rem;
    right: -1rem;
    transform: rotate(3deg);
}

.stage1__message--answer {
    bottom: 2rem;
    left: 0;
    transform: rotate(-3deg);
}

.stage1__message--answer > span {
    background: var(--brand-purple);
}

.stage1__spark {
    position: absolute;
    z-index: 8;
    font-size: 2.8rem;
}

.stage1__spark--one {
    top: 3rem;
    left: -2rem;
    color: var(--brand-cyan);
}

.stage1__spark--two {
    right: -0.5rem;
    bottom: 5rem;
    color: var(--brand-purple);
}

.stage1__disciplines {
    position: relative;
    z-index: 4;
    border-top: 0.1rem solid var(--color-border);
}

.stage1__disciplines-inner {
    display: flex;
    width: min(var(--container-width), calc(100% - (var(--page-gutter) * 2)));
    min-height: 7rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.8rem;
    margin-inline: auto;
    overflow: hidden;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.stage1__disciplines-inner i {
    width: 0.4rem;
    height: 0.4rem;
    flex: 0 0 auto;
    background: var(--brand-gradient);
    border-radius: 50%;
}

@media screen and (max-width: 980px) {
    .stage1__inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 6rem;
        padding-top: 7rem;
    }

    .stage1__content {
        max-width: 75rem;
    }

    .stage1__visual {
        width: min(54rem, 100%);
        justify-self: center;
    }

    .stage1__disciplines-inner {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .stage1__disciplines-inner::-webkit-scrollbar {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .stage1 {
        min-height: 0;
    }

    .stage1__inner {
        gap: 4rem;
        padding: 5.5rem 0 6rem;
    }

    .stage1 h1 {
        font-size: 4.8rem;
    }

    .stage1__lead {
        font-size: 1.5rem;
    }

    .stage1__visual {
        height: 43rem;
    }

    .stage1__orbit--outer {
        width: 38rem;
        height: 28rem;
    }

    .stage1__orbit--inner {
        width: 27rem;
        height: 38rem;
    }

    .stage1__person-card--senior {
        width: 23rem;
        min-height: 29rem;
    }

    .stage1__person-card--junior {
        width: 20rem;
        min-height: 24rem;
    }

    .stage1__avatar {
        width: 8rem;
        height: 8rem;
        margin-top: 2.7rem;
        font-size: 3.4rem;
    }

    .stage1__avatar--junior {
        width: 6.5rem;
        height: 6.5rem;
        margin-top: 2rem;
        font-size: 2.8rem;
    }

    .stage1__message--question {
        right: 0;
    }

    .stage1__message--answer {
        left: 0.5rem;
    }
}

@media screen and (max-width: 400px) {
    .stage1 h1 {
        font-size: 4.1rem;
    }

    .stage1__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .stage1__button {
        width: 100%;
    }

    .stage1__visual {
        width: 100%;
        height: 39rem;
    }

    .stage1__person-card--senior {
        width: 20rem;
        min-height: 27rem;
        padding: 1.7rem;
    }

    .stage1__person-card--junior {
        width: 17rem;
        min-height: 22rem;
        padding: 1.5rem;
    }

    .stage1__online,
    .stage1__tags {
        display: none;
    }

    .stage1__message {
        padding: 0.7rem 0.9rem;
    }

    .stage1__message--question {
        top: 1rem;
    }

    .stage1__connection {
        left: 38%;
        width: 9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stage1__button,
    .stage1__button svg {
        transition: none;
    }
}
