section.hero, section.sub-items{
    color: #fff;
}

section.hero{
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: calc(600 * var(--rpx));
    overflow: hidden;
}

.section1, .section2{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.section-back{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    z-index: 200;
}

.section2{
    z-index: 220;
    opacity: 0;
}

.section2 .wrapper{
    transform: translateY(10vh);
}

.section2 .section-back{
    filter: blur(30px);
}

.section1 .back-mask,
.section2 .back-mask{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 210;
    pointer-events: none;
}

.section1 .wrapper{
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 210;

    padding-top: var(--header-height-min);
}

.section1 .page-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 80%;
    gap: calc(20 * var(--rpx));
}

.section1 .scroll-hint{
    position: absolute;
    left: 0;
    bottom: calc(72 * var(--rpx));
}

.page-title .line1 {
    text-transform: uppercase;
    font-size: calc(24 * var(--rpx));
    line-height: 1.5em;
}

.page-title .line2{
    font-weight: 500;
    font-size: calc(88 * var(--rpx-50));
    line-height: 1em;
}

.section2{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section2 .wrapper{
    position: relative;
    z-index: 280;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.section2 .left{
    flex: 0 0 clamp(450px, calc(28.125vw + 180px), 720px);
    font-size: calc(58 * var(--rpx-50));
    line-height: calc(68em / 58);
}

.section2 .right{
    flex: 0 0 clamp(420px, calc(22.9167vw + 200px), 640px);
    font-size: calc(18rem / 16);
    line-height: 1.45em;
    color: rgba(255, 255, 255, .7);
}


section.sub-items{
    height: 100vh;
    width: 100%;
    min-height: calc(600 * var(--rpx));
    background-color: #1C1C1C;
    position: relative;
    overflow: hidden;
    z-index: 190;

    padding-top: var(--header-height-min);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.curve-back-ctn{
    position: absolute;
    left: calc((100% - 1920 * var(--rpx)) / 2);
    top: var(--header-height-min);
    bottom: 0;
    margin: auto;
    height: calc(360 * var(--rpx));
    width: calc(1920 * var(--rpx));
    z-index: 200;
}

.word-scatter{
    z-index: 240;
    font-size: calc(58 * var(--rpx-50));
    line-height: calc(68em / 58);

    display: flex;
    flex-direction: column;
    align-items: center;

    width: calc(720 * var(--rpx));
    text-transform: uppercase;
}

.word-scatter p{
    margin-top: 0;
    margin-bottom: 0;
}

.sub-item-list{
    position: absolute;
    left: calc(100% - 240 * var(--rpx));
    top: calc(var(--header-height-min) + var(--breadcrumbs-height));
    bottom: 0;
    margin: auto;
    --ctn-height: min(calc(640 * var(--rpx)), calc(100vh - var(--header-height-min) - var(--breadcrumbs-height) - 60 * var(--rpx)));
    height: var(--ctn-height);

    gap: calc(80 * var(--rpx-50));

    display: flex;
    justify-content: center;
    align-items: stretch;
    z-index: 260;
    padding-right: var(--wrapper-margin);
    min-width: calc(var(--wrapper-width) + var(--wrapper-margin));
}

.sub-item{
    background-color: rgba(255, 255, 255, .1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    position: relative;
    flex: 0 0 calc((var(--wrapper-width) - 2 * 80 * var(--rpx-50)) / 3);
}

.sub-item .icon{
    width: calc(160 * var(--rpx));
    height: calc(160 * var(--rpx));
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

.sub-item .hover-layer{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 280;
    opacity: 0;
    visibility: hidden;
    transition: .2s;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: calc(40 * var(--rpx));
    overflow: hidden;
}

.sub-item .hover-layer .title,
.sub-item .hover-layer .desc{
    position: relative;
    z-index: 300;
}

.sub-item .hover-layer .title{
    margin-top: calc(32 * var(--rpx));
    transform-origin: top;
    transform: translateY(2vh) scaleY(1.2);
    opacity: 0;
    transition: 0s .2s;
}

.sub-item .hover-layer .desc{
    margin-top: calc(20 * var(--rpx));
    font-size: calc(18rem / 16);
    line-height: 1.45em;
    color: rgba(255, 255, 255, .7);
    transform-origin: top;
    transform: translateY(4vh) scaleY(1.2);
    opacity: 0;
    transition: 0s .2s;
    flex: 0 0 auto;
    overflow: auto;
    max-height: calc(var(--ctn-height) - 260 * var(--rpx));
}


.sub-item .hover-layer .desc::-webkit-scrollbar {
    width: 4px;
    background: #0002;
    border-radius: 2px;
}

.sub-item .hover-layer .desc::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: rgb(255, 255, 255, .5);
}

.sub-item .hover-layer .desc::-webkit-scrollbar-track {
    background: transparent;
}

.sub-item:hover .hover-layer .title{
    opacity: 1;
    transform: none;
    transition: transform .6s cubic-bezier(0.15, 1, 0.336, 1), opacity .4s;
}

.sub-item:hover .hover-layer .desc{
    opacity: 1;
    transform: none;
    transition: transform .8s cubic-bezier(0.15, 1, 0.336, 1), opacity .4s;
}

.sub-item:hover .hover-layer{
    opacity: 1;
    visibility: visible;
    transition: .4s;
}

.hover-back{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 280;
    object-fit: cover;
    transform: scale(1.08);
    transition: 0s .2s;
}
.sub-item:hover .hover-back{
    transform: scale(1);
    transition: .6s cubic-bezier(0.15, 1, 0.336, 1);
}

.hover-mask{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 290;
}

.sub-item .no{
    font-size: calc(14em / 16);
    width: calc(60em / 14);
    height: calc(60em / 14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--theme-crimson);
    color: #fff;
    transition: .2s;
    font-weight: 500;
}

.sub-item>.no{
    position: absolute;
    left: calc(40 * var(--rpx));
    top: calc(40 * var(--rpx));
}

.sub-item .hover-layer .no{
    background-color: #fff;
    color: var(--theme-crimson);
    transition: .2s;
    z-index: 300;
    flex: 0 0 auto;
}

.sub-item .title{
    font-size: calc(28 * var(--rpx));
    line-height: calc(38em / 28);
}
.sub-item>.title{
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    bottom: calc(60 * var(--rpx));
    z-index: 260;
}

.sub-item:hover>.title{
    opacity: 0;
}