/* 首页：固定单屏，页面不再向下滚动 */
.home-page {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

.home-main {
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
}

.home-hero {
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #f7f5f2;
}

.home-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 27% center;
}

/* 移动端改用叠字方案，避免竖屏裁掉主视觉文字 */
.home-hero__copy {
    display: none;
}

@media (max-width: 768px) {
    .home-hero {
        background-image: url("../images/banner-home-m.jpg");
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .home-hero > img {
        display: none;
    }

    /* 竖版主视觉已带书法标题与英文副题，叠字隐藏 */
    .home-hero::before,
    .home-hero__copy {
        display: none;
    }
}
