body.has-hero-header .sc-hero {
    margin-top: calc(-1 * var(--sc-header-h));
    min-height: 100dvh;
    min-height: 100vh;
    align-items: flex-start;
}

body.has-hero-header .sc-hero > .sc-wrap {
    padding-top: calc(var(--sc-header-h) + 28px);
    min-height: 100dvh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

body.has-hero-header .sc-hero-copy {
    padding-top: 0;
}

.sc-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: calc(100dvh - var(--sc-header-h));
    min-height: calc(100vh - var(--sc-header-h));
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: #f0ebe6;
}

.sc-hero-slides {
    position: absolute;
    inset: 0;
}

.sc-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    overflow: hidden;
}

.sc-hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

/* Default: full image visible (works when viewport ≈ 16:9 or taller) */
.sc-hero-slide img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
}

/*
 * Wide-short viewports (typical laptops): contain leaves a left gap.
 * Cover fills edge-to-edge with a balanced crop.
 */
@media (min-aspect-ratio: 16 / 9) {
    .sc-hero-slide img {
        object-fit: cover;
        object-position: 54% center;
    }
}

/* Very wide screens — slightly softer crop */
@media (min-aspect-ratio: 21 / 9) {
    .sc-hero-slide img {
        object-position: 50% center;
    }
}

.sc-hero > .sc-wrap {
    position: relative;
    z-index: 3;
    width: min(var(--sc-wrap), calc(100% - 48px));
    margin-left: max(24px, calc((100% - var(--sc-wrap)) / 2));
    margin-right: auto;
}

.sc-hero-copy {
    max-width: 520px;
    padding: 56px 0 80px;
    text-align: left;
}

.sc-hero-kicker {
    margin: 0 0 18px;
    color: var(--sc-pink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.sc-hero-title {
    margin: 0;
    color: #2a2a2a;
    font-family: var(--sc-serif);
    font-size: clamp(46px, 5.4vw, 74px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.sc-hero-title span {
    display: block;
    color: var(--sc-pink);
    font-style: italic;
    font-weight: 600;
}

.sc-hero-text {
    margin: 22px 0 0;
    max-width: 420px;
    color: var(--sc-muted);
    font-size: 16px;
    line-height: 1.7;
}

.sc-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 32px;
}

.sc-hero-actions .sc-btn {
    min-height: 54px;
    padding: 16px 36px;
    font-size: 13px;
    letter-spacing: 0.11em;
}

.sc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3a3a3a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.sc-link svg {
    width: 16px;
    height: 16px;
}

.sc-link:hover {
    color: var(--sc-black);
}

.sc-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.sc-hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d8d8d8;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sc-hero-dots button.is-active {
    background: var(--sc-pink);
    transform: scale(1.15);
}

@media (max-width: 991px) {
    .sc-hero {
        min-height: 620px;
    }

    .sc-hero > .sc-wrap {
        width: calc(100% - 32px);
        margin-left: 16px;
    }

    .sc-hero-copy {
        max-width: 100%;
        padding: 48px 0 72px;
        text-align: left;
    }

    .sc-hero-slide img {
        object-fit: cover;
        object-position: 72% 22%;
    }
}

@media (max-width: 575px) {
    .sc-hero {
        min-height: 560px;
    }

    .sc-hero-title {
        font-size: 42px;
    }

    .sc-hero-slide img {
        object-position: 75% 18%;
    }
}
