/* Two-panel project-request page shell and introduction layout. */

.request-shell {
    display: grid;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    grid-template-columns: minmax(20rem, 44fr) minmax(33rem, 56fr);
    background: var(--color-surface);
}

.request-intro {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    min-height: 100vh;
    padding: 0 2rem clamp(4rem, 10vh, 6rem);
    overflow: hidden;
    color: var(--color-surface);
    background: radial-gradient(
        circle,
        var(--color-intro-gradient-center) 0,
        var(--color-intro-gradient-mid) 15%,
        var(--color-intro-gradient-edge) 100%
    );
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.request-intro__content {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    /* The mascot and heading share one frame so their visual centers stay aligned. */
    max-width: 24.5rem;
    padding-block: 2rem;
    flex-direction: column;
}

.request-intro__sound-bars {
    position: absolute;
    right: clamp(0.75rem, 2vw, 1.5rem);
    bottom: -0.125rem;
    left: clamp(0.75rem, 2vw, 1.5rem);
    display: flex;
    height: min(17vh, 10rem);
    align-items: flex-end;
    gap: clamp(0.45rem, 1.4vw, 1.25rem);
    justify-content: space-between;
    opacity: 0.8;
    pointer-events: auto;
}

.request-intro__sound-bar {
    --sound-bar-lift: 0;
    width: clamp(1.65rem, 6vw, 3.8rem);
    min-width: 1.65rem;
    border-radius: 999rem 999rem 0 0;
    transform: scaleY(calc(1 + var(--sound-bar-lift)));
    transform-origin: center bottom;
    transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.request-intro__sound-bars:hover .request-intro__sound-bar {
    will-change: transform;
}

.request-intro__sound-bar--cyan {
    background: linear-gradient(180deg, #c2f3f7 0%, #61c2cb 100%);
}

.request-intro__sound-bar--purple {
    background: linear-gradient(180deg, #d7a4fa 0%, #8b43d6 100%);
}

.request-intro__sound-bar--coral {
    background: linear-gradient(180deg, #ffb39b 0%, #ff714e 100%);
}

.request-intro__sound-bar--blue {
    background: linear-gradient(180deg, #819eff 0%, #3869dc 100%);
}

.request-intro__sound-bar--one {
    height: 72%;
}

.request-intro__sound-bar--two {
    height: 46%;
}

.request-intro__sound-bar--three {
    height: 100%;
}

.request-intro__sound-bar--four {
    height: 32%;
}

.request-intro__sound-bar--five {
    height: 26%;
}

.request-intro__sound-bar--six {
    height: 76%;
}

.request-intro__sound-bar--seven {
    height: 54%;
}

.request-intro__sound-bar--eight {
    height: 94%;
}

.request-intro h1 {
    max-width: none;
    margin: 0;
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.25;
}

.request-intro h1 span {
    display: block;
}

.request-intro h1 span:first-child {
    white-space: nowrap;
}

.request-intro__mascot {
    display: flex;
    width: 100%;
    justify-content: center;
}

.request-intro .mascot {
    --mascot-art-height: 8.01rem;
    position: relative;
    width: 100%;
    height: 13.875rem;
    margin: 0 0 1.5rem;
    justify-content: flex-end;
    transform: none;
}

.request-intro .mascot__art {
    width: 8.5rem;
}
