.stage2 {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--color-background);
    scroll-margin-top: 7rem;
}

.stage2__inner {
    width: min(var(--container-width), calc(100% - (var(--page-gutter) * 2)));
    margin-inline: auto;
    padding: 12rem 0;
}

.stage2__heading {
    display: grid;
    max-width: 72rem;
    grid-template-columns: 1fr;
    gap: 2.2rem;
    margin-inline: auto;
    text-align: center;
}

.stage2__eyebrow {
    margin: 0 0 1.6rem;
    color: var(--brand-purple);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.stage2__heading h2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .22em;
    margin: 0;
    font-size: 5.8rem;
    font-weight: 770;
    letter-spacing: 0;
    overflow: visible;
    padding-block: .12em .18em;
    line-height: 1.12;
}

.stage2__heading h2 span {
    overflow: visible;
    padding-block: .04em .1em;
    color: transparent;
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
}

.stage2__heading h2 .stage2__heading-title {
    color: var(--color-text);
    background: none;
}

.stage2__heading-copy {
    padding-bottom: 0;
}

.stage2__heading-copy > p {
    max-width: 58rem;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.6rem;
    letter-spacing: 0;
    line-height: 1.55;
}

.stage2__heading-copy > span {
    display: block;
    margin-top: 2rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.stage2__heading-copy strong {
    color: var(--color-text);
    font-size: 1.4rem;
}

.stage2__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4.6rem 2.2rem;
    margin-top: 5rem;
}

.stage2__card {
    --card-accent: #9ceaff;
    display: block;
    min-width: 0;
    color: inherit;
    animation: stage2-card-in 280ms ease both;
}

.stage2__card[hidden] {
    display: none;
}

.stage2__card--purple {
    --card-accent: #d1b1ff;
}

.stage2__card--magenta {
    --card-accent: #f0afe6;
}

.stage2__card--orange {
    --card-accent: #ffd099;
}

.stage2__card--green {
    --card-accent: #a7e7c8;
}

.stage2__card--blue {
    --card-accent: #a9c9ff;
}

@keyframes stage2-card-in {
    from {
        opacity: 0;
        transform: translateY(0.8rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stage2__card-visual {
    position: relative;
    display: grid;
    height: 29rem;
    place-items: center;
    overflow: hidden;
    background: var(--card-accent);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.82), transparent 26%),
        linear-gradient(145deg, var(--card-accent), color-mix(in srgb, var(--card-accent), #ffffff 55%));
    border: 0.1rem solid rgba(17, 17, 22, 0.22);
    border-radius: 2.4rem;
    transition: box-shadow 260ms ease;
}

.stage2__card-visual::before,
.stage2__card-visual::after {
    position: absolute;
    border: 0.1rem solid rgba(17, 17, 22, 0.2);
    border-radius: 50%;
    content: "";
}

.stage2__card-visual::before {
    width: 29rem;
    height: 16rem;
    transform: rotate(-18deg);
}

.stage2__card-visual::after {
    width: 16rem;
    height: 31rem;
    border-style: dashed;
    transform: rotate(27deg);
}

.stage2__category,
.stage2__availability {
    position: absolute;
    z-index: 4;
    top: 1.5rem;
    padding: 0.65rem 0.9rem;
    background: rgba(255, 255, 255, 0.82);
    border: 0.1rem solid rgba(17, 17, 22, 0.24);
    border-radius: 999rem;
    font-size: 1rem;
    font-weight: 750;
    backdrop-filter: blur(1rem);
}

.stage2__category {
    left: 1.5rem;
}

.stage2__availability {
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #256c50;
}

.stage2__availability i {
    width: 0.65rem;
    height: 0.65rem;
    background: #25b779;
    border-radius: 50%;
}

.stage2__avatar {
    position: relative;
    z-index: 2;
    display: grid;
    width: 13rem;
    height: 13rem;
    place-items: center;
    color: #ffffff;
    background: #111116;
    border: 0.7rem solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 1.5rem 3rem rgba(17, 17, 22, 0.17);
}

.stage2__avatar > span {
    position: relative;
    z-index: 2;
    font-size: 3.4rem;
    font-weight: 300;
    letter-spacing: -0.06em;
}

.stage2__avatar > img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.stage2__avatar-orbit {
    position: absolute;
    border: 0.1rem solid var(--card-accent);
    border-radius: 50%;
}

.stage2__avatar-orbit--one {
    width: 9rem;
    height: 4.8rem;
    transform: rotate(-22deg);
}

.stage2__avatar-orbit--two {
    width: 4.6rem;
    height: 9rem;
    border-style: dashed;
    transform: rotate(30deg);
}

.stage2__card-content {
    padding: 2rem 0.4rem 0;
}

.stage2__identity {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.stage2__identity h3 {
    margin: 0;
    font-size: 2.1rem;
    letter-spacing: -0.035em;
}

.stage2__identity p {
    margin: 0.25rem 0 0;
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

.stage2__identity > span {
    flex: 0 0 auto;
    margin-top: 0.4rem;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.stage2__description {
    min-height: 4.7rem;
    margin: 1.6rem 0 0;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    line-height: 1.65;
}

.stage2__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.5rem;
}

.stage2__skills span {
    padding: 0.55rem 0.85rem;
    background: var(--color-surface);
    border: 0.1rem solid var(--color-border);
    border-radius: 999rem;
    font-size: 1rem;
}

.stage2__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    color: var(--color-text-muted);
    border-top: 0.1rem solid var(--color-border);
    font-size: 1rem;
}

.stage2__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.stage2__meta svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stage2__more {
    display: flex;
    justify-content: center;
    margin-top: 5.5rem;
}

.stage2__more a {
    display: inline-flex;
    min-height: 5rem;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 2rem;
    color: #ffffff;
    background: var(--color-text);
    border: 0.1rem solid var(--color-text);
    border-radius: 999rem;
    font-size: 1.3rem;
    font-weight: 700;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.stage2__more a:hover {
    background: #2b2b34;
    transform: translateY(-0.2rem);
}

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

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

.stage2__footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.8rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    text-align: center;
}

.stage2__footnote > span {
    color: var(--brand-purple);
}

.stage2__footnote p {
    margin: 0;
}

@media screen and (max-width: 980px) {
    .stage2__inner {
        padding: 9rem 0;
    }

    .stage2__heading {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stage2__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .stage2__inner {
        padding: 7.5rem 0;
    }

    .stage2__heading h2 {
        font-size: 4.4rem;
    }

    .stage2__heading-copy > p {
        font-size: 1.4rem;
    }

    .stage2__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .stage2__card-visual {
        height: 31rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stage2__card {
        animation: none;
    }

    .stage2__card-visual,
    .stage2__more a,
    .stage2__more svg {
        transition: none;
    }
}
