/* 仅包含「火山口计划」五字，字体许可证见 Assets/Fonts。 */
@font-face
{
    font-family: "Potaras Vocaras Sans";
    src: url("./Assets/Fonts/noto-sans-sc-vocaras-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    unicode-range: U+5212, U+53E3, U+5C71, U+706B, U+8BA1;
}

.vocaras-hero
{
    position: relative;
    min-height: 760px;
    height: calc(100svh - 163px);
    max-height: 1100px;
    isolation: isolate;
    overflow: hidden;
    outline-offset: -4px;
}

.vocaras-backdrop,
.vocaras-shade
{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.vocaras-backdrop
{
    object-position: 58% center;
}

.vocaras-shade
{
    z-index: -1;
    background:
        linear-gradient(90deg, #080809cc 0%, #08080970 39%, #08080908 73%),
        linear-gradient(0deg, #080809e5 0%, transparent 30%, #08080920 100%);
}

.vocaras-layout
{
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(30px, 5vw, 80px);
    padding-top: clamp(60px, 7vh, 105px);
}

.hero-embers
{
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
}

.vocaras-copy
{
    position: relative;
    z-index: 1;
    min-width: 0;
}

.vocaras-copy .eyebrow
{
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 10px;
    letter-spacing: 0.19em;
}

.hero-dash
{
    width: 28px;
    height: 2px;
    flex-shrink: 0;
    background: var(--red);
}

.vocaras-copy h1
{
    display: flex;
    flex-wrap: nowrap;
    gap: 0.015em;
    width: fit-content;
    max-width: 100%;
    font-family: "Potaras Vocaras Sans", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: clamp(56px, 6.5vw, 104px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    margin: 34px 0 25px;
}

.vocaras-copy h1 > span
{
    display: block;
    flex: 0 0 auto;
}

.vocaras-copy h1 > span:nth-child(odd)
{
    color: var(--red);
}

.vocaras-copy h1 > span:nth-child(even)
{
    color: var(--ink);
}

.hero-intro
{
    font-size: 22px;
    line-height: 1.65;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.hero-description
{
    font-size: 12px;
    color: #d1cbc3;
    margin: 15px 0 28px;
    max-width: 370px;
}

/* 四张原图错落排列在主标题右侧。 */
.hero-icons
{
    position: relative;
    width: 100%;
    aspect-ratio: 1.12;
    max-height: 560px;
    perspective: 1000px;
    transform-style: preserve-3d;
    pointer-events: none;
    user-select: none;
}

.hero-icon
{
    --pointer-x: 0px;
    --pointer-y: 0px;
    --pointer-tilt-x: 0deg;
    --pointer-tilt-y: 0deg;
    --pointer-roll: 0deg;

    position: absolute;
    width: var(--icon-size);
    transform-style: preserve-3d;
    transform:
        translate3d(var(--pointer-x), var(--pointer-y), 0)
        rotateX(var(--pointer-tilt-x))
        rotateY(var(--pointer-tilt-y))
        rotateZ(calc(var(--rest-rotation) + var(--pointer-roll)));
}

.hero-icon-art
{
    overflow: hidden;
    border-radius: 23%;
    box-shadow: 0 28px 48px #0007;
    animation: icon-drift var(--drift-duration, 7s) ease-in-out infinite;
    animation-delay: var(--drift-delay, 0s);
}

.hero-icon-art img
{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.hero-icon-one
{
    --icon-size: 29%;
    --rest-rotation: -14deg;
    --drift-delay: -1.6s;

    top: 5%;
    left: 15%;
}

.hero-icon-two
{
    --icon-size: 34%;
    --rest-rotation: 13deg;
    --drift-duration: 8.2s;
    --drift-delay: -4s;

    top: 24%;
    left: 61%;
}

.hero-icon-three
{
    --icon-size: 32%;
    --rest-rotation: 8deg;
    --drift-duration: 7.6s;
    --drift-delay: -2.8s;

    top: 49%;
    left: 7%;
}

.hero-icon-four
{
    --icon-size: 27%;
    --rest-rotation: -11deg;
    --drift-duration: 8.8s;
    --drift-delay: -5.1s;

    top: 70%;
    left: 58%;
}

.hero-icons[data-motion="paused"] .hero-icon-art
{
    animation-play-state: paused;
}

@keyframes icon-drift
{
    0%,
    100%
    {
        transform: translateY(-7px);
    }

    50%
    {
        transform: translateY(7px);
    }
}

.hero-baseline
{
    position: absolute;
    z-index: 1;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (min-width: 1600px)
{
    .vocaras-layout
    {
        padding-top: 8vh;
    }

    .vocaras-hero
    {
        min-height: 850px;
    }
}

@media (max-width: 1000px)
{
    .vocaras-layout
    {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .vocaras-hero
    {
        min-height: 740px;
    }

    .hero-icons
    {
        aspect-ratio: 0.85;
    }

    .hero-icon-two
    {
        left: 59%;
    }

    .hero-icon-three
    {
        left: 4%;
    }

    .hero-icon-four
    {
        top: 68%;
    }
}

@media (max-width: 760px)
{
    .vocaras-hero
    {
        height: auto;
        min-height: calc(100svh - 136px);
        max-height: none;
    }

    .vocaras-layout
    {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 46px;
    }

    .vocaras-backdrop
    {
        object-position: 62% center;
    }

    .vocaras-shade
    {
        background:
            linear-gradient(90deg, #080809ae, #08080933),
            linear-gradient(0deg, #080809e5 0%, transparent 60%);
    }

    .vocaras-copy .eyebrow
    {
        font-size: 8px;
        gap: 10px;
        letter-spacing: 0.1em;
    }

    .hero-dash
    {
        width: 20px;
    }

    .vocaras-copy h1
    {
        font-size: clamp(48px, 12.8vw, 88px);
        line-height: 1.15;
        margin: 26px 0 20px;
    }

    .hero-intro
    {
        font-size: 19px;
    }

    .hero-description
    {
        font-size: 11px;
        max-width: 290px;
        margin: 14px 0 24px;
    }

    .hero-icons
    {
        width: min(100%, 500px);
        aspect-ratio: 1.5;
        margin-inline: auto;
    }

    .hero-icon-one
    {
        --icon-size: 24%;

        top: 3%;
        left: 8%;
    }

    .hero-icon-two
    {
        --icon-size: 28%;

        top: 8%;
        left: 61%;
    }

    .hero-icon-three
    {
        --icon-size: 25%;

        top: 51%;
        left: 27%;
    }

    .hero-icon-four
    {
        --icon-size: 21%;

        top: 61%;
        left: 72%;
    }

    .hero-baseline
    {
        position: relative;
        bottom: auto;
        margin-top: 30px;
        padding-bottom: 24px;
    }

}

@media (min-width: 761px) and (max-height: 850px)
{
    .vocaras-hero
    {
        min-height: 650px;
    }

    .hero-icons
    {
        width: min(100%, 460px);
        aspect-ratio: 1.15;
        justify-self: center;
    }

    .hero-icon-four
    {
        top: 66%;
    }
}

@media (prefers-reduced-motion: reduce)
{
    .hero-embers
    {
        display: none;
    }

    .hero-icon-art
    {
        animation: none;
    }
}
