/* [ 메인 히어로 ] 사진 위에 스크림을 얹고 글자를 올린다 */

.page-home {
    background-color: var(--text-strong);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 사진 위 글자 대비를 확보한다 */

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .65) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.hero__eyebrow {
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.hero__title {
    margin-top: 16px;
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.035em;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.hero__dots {
    position: absolute;
    left: 50%;
    bottom: 32px;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero__dot {
    width: 32px;
    height: 4px;
    padding: 0;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, .35);
    transition: background-color .2s ease;
}

.hero__dot.is-active {
    background-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .hero__slide {
        transition: none;
    }
}
