.home-screen {
    overflow-x: clip;
    background: var(--bg);
}

.home-intro {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    align-items: center;
    padding: clamp(72px, 7vw, 100px) 0;
}

.home-intro__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
    align-items: center;
    gap: clamp(48px, 9vw, 140px);
}

.home-intro__content {
    max-width: 760px;
}

.home-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-intro__eyebrow::before {
    width: 34px;
    height: 1px;
    background: var(--line-strong);
    content: "";
}

.home-intro h1 {
    max-width: 760px;
    margin: 28px 0 0;
    font-size: clamp(48px, 5vw, 68px);
    letter-spacing: -0.045em;
    line-height: 1.12;
}

.home-intro__headline-line {
    display: block;
}

.home-intro__headline-line--accent {
    color: var(--accent);
}

.home-intro p {
    max-width: 590px;
    margin: 30px 0 0;
    color: var(--text-soft);
    font-size: clamp(17px, 1.55vw, 19px);
    line-height: 1.6;
}

.home-intro__action {
    min-width: min(100%, 270px);
    margin-top: 34px;
}

.home-intro__aside {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: clamp(520px, 69vh, 700px);
    place-items: end center;
    margin: 0;
    overflow: visible;
}

.home-intro__mascot-stage {
    position: relative;
    isolation: isolate;
    width: min(100%, 37vw, 500px);
    height: 100%;
    min-height: inherit;
}

.home-intro__mascot {
    position: absolute;
    right: 59%;
    bottom: -30px;
    z-index: 1;
    display: block;
    width: auto;
    aspect-ratio: 2 / 3;
    height: min(72vh, 720px);
    background: url("../images/hello.png") center bottom / contain no-repeat;
    filter: drop-shadow(0 18px 20px rgba(14, 18, 25, 0.08));
    isolation: isolate;
    transform: translateX(50%);
}

.home-intro__mascot::before {
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: inherit;
    content: "";
    filter: blur(1.4px);
    opacity: 0.16;
    transform: scale(1.002);
}

:root[data-theme="dark"] .home-intro__mascot {
    background-image: url("../images/hello-dark.png");
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42));
}

:root[data-theme="dark"] .home-intro__mascot::before {
    filter: blur(1.25px) brightness(0.55);
    opacity: 0.22;
}

@media (max-width: 1000px) {
    .home-intro {
        min-height: auto;
        padding: 84px 0 96px;
    }

    .home-intro__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .home-intro__aside {
        min-height: 470px;
    }

    .home-intro__mascot-stage {
        width: min(100%, 520px);
    }

    .home-intro__mascot {
        bottom: -18px;
        height: 500px;
    }
}

@media (max-width: 560px) {
    .home-intro {
        padding: 64px 0 84px;
    }

    .home-intro h1 {
        margin-top: 22px;
        font-size: clamp(27px, 8.2vw, 42px);
        line-height: 1.08;
    }

    .home-intro p {
        margin-top: 24px;
        font-size: 16px;
    }

    .home-intro__action {
        width: 100%;
        margin-top: 30px;
    }

    .home-intro__aside {
        min-height: 410px;
    }

    .home-intro__mascot {
        bottom: -12px;
        height: 430px;
    }
}
