.nmf-hero {
    --nmf-hero-height: 86vh;
    --nmf-overlay-color: rgba(255, 246, 243, .42);
    --nmf-overlay-opacity: .52;
    --nmf-hero-arrow-size: 46px;
    --nmf-hero-arrow-icon-size: 32px;
    --nmf-hero-arrow-offset: 22px;
    --nmf-hero-arrow-color: var(--nmf-text);
    --nmf-hero-arrow-bg: rgba(255,255,255,.34);
    --nmf-hero-arrow-hover-color: var(--nmf-text);
    --nmf-hero-arrow-hover-bg: rgba(255,255,255,.78);
    --nmf-hero-arrow-border: transparent;
    --nmf-hero-arrow-radius: 999px;
    --nmf-hero-arrow-shadow-opacity: 0;
    position: relative;
    width: 100%;
    min-height: var(--nmf-hero-height);
    overflow: hidden;
    isolation: isolate;
    background: #f6f0ee;
    color: var(--nmf-text);
}

.nmf-hero__track,
.nmf-hero__slide,
.nmf-hero__media,
.nmf-hero__picture,
.nmf-hero__image,
.nmf-hero__video,
.nmf-hero__overlay {
    position: absolute;
    inset: 0;
}

.nmf-hero__track {
    z-index: 1;
}

.nmf-hero__slide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.002);
    transition: opacity .9s var(--nmf-ease), visibility .9s var(--nmf-ease), transform 1.1s var(--nmf-ease);
}

.nmf-hero--soft .nmf-hero__slide {
    transform: translateX(18px) scale(1.002);
}

.nmf-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.nmf-hero__media {
    z-index: 1;
    overflow: hidden;
}

.nmf-hero__picture {
    display: block;
    overflow: hidden;
    z-index: 1;
}

.nmf-hero__video {
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border: 0;
    background: transparent;
    transform: scale(1);
    transition: transform 7s linear;
}

.nmf-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transition: transform 7s linear;
}

.nmf-hero--kenburns .nmf-hero__slide.is-active .nmf-hero__image,
.nmf-hero--kenburns .nmf-hero__slide.is-active .nmf-hero__video {
    transform: scale(1.055);
}

.nmf-hero__overlay {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(255,255,255,.52) 0%, rgba(255,255,255,.18) 38%, rgba(255,255,255,0) 72%),
        var(--nmf-overlay-color);
    opacity: var(--nmf-overlay-opacity);
    pointer-events: none;
}

.nmf-hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 72px;
    color: var(--nmf-text);
}

.nmf-hero__content-inner {
    width: 100%;
    max-width: 560px;
}

.nmf-pos-left-center .nmf-hero__content {
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.nmf-pos-center .nmf-hero__content {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nmf-pos-right-center .nmf-hero__content {
    align-items: center;
    justify-content: flex-end;
    text-align: left;
}

.nmf-pos-left-bottom .nmf-hero__content {
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
}

.nmf-pos-right-bottom .nmf-hero__content {
    align-items: flex-end;
    justify-content: flex-end;
    text-align: left;
}

.nmf-hero__eyebrow,
.nmf-hero__title,
.nmf-hero__description,
.nmf-hero__button {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s var(--nmf-ease), transform .65s var(--nmf-ease);
}

.nmf-hero__slide.is-active .nmf-hero__eyebrow,
.nmf-hero__slide.is-active .nmf-hero__title,
.nmf-hero__slide.is-active .nmf-hero__description,
.nmf-hero__slide.is-active .nmf-hero__button {
    opacity: 1;
    transform: translateY(0);
}

.nmf-hero__slide.is-active .nmf-hero__title { transition-delay: .08s; }
.nmf-hero__slide.is-active .nmf-hero__description { transition-delay: .16s; }
.nmf-hero__slide.is-active .nmf-hero__button { transition-delay: .24s; }

.nmf-hero__eyebrow {
    margin: 0 0 18px;
    font-size: 11px;
    line-height: 1.25;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: currentColor;
}

.nmf-hero__title {
    margin: 0;
    max-width: 12em;
    font-size: clamp(42px, 6vw, 104px);
    font-weight: 300;
    line-height: .93;
    letter-spacing: -.055em;
    color: currentColor;
}

.nmf-pos-center .nmf-hero__title {
    margin-inline: auto;
}

.nmf-hero__description {
    max-width: 520px;
    margin: 24px 0 0;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.65;
    color: var(--nmf-muted);
}

.nmf-pos-center .nmf-hero__description {
    margin-inline: auto;
}

.nmf-hero__description p {
    margin: 0;
}

.nmf-hero__button {
    margin-top: 34px;
}

.nmf-hero button.nmf-hero__arrow,
.nmf-hero button.nmf-hero__dot {
    -webkit-appearance: none;
    appearance: none;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none;
    max-height: none;
    font-family: inherit;
    text-indent: 0;
    outline-offset: 4px;
}

.nmf-hero__arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 8;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: var(--nmf-hero-arrow-size) !important;
    height: var(--nmf-hero-arrow-size) !important;
    min-width: var(--nmf-hero-arrow-size) !important;
    min-height: var(--nmf-hero-arrow-size) !important;
    border: 1px solid var(--nmf-hero-arrow-border) !important;
    border-radius: var(--nmf-hero-arrow-radius) !important;
    background: var(--nmf-hero-arrow-bg) !important;
    color: var(--nmf-hero-arrow-color) !important;
    font-size: var(--nmf-hero-arrow-icon-size) !important;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 12px 30px rgba(20,18,23,var(--nmf-hero-arrow-shadow-opacity)) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background-color .3s var(--nmf-ease), transform .3s var(--nmf-ease), opacity .3s var(--nmf-ease);
}

.nmf-hero__arrow:hover,
.nmf-hero__arrow:focus-visible {
    background: var(--nmf-hero-arrow-hover-bg) !important;
    color: var(--nmf-hero-arrow-hover-color) !important;
    transform: translateY(-50%) scale(1.04);
}

.nmf-hero__arrow--prev { left: var(--nmf-hero-arrow-offset) !important; right: auto !important; }
.nmf-hero__arrow--next { right: var(--nmf-hero-arrow-offset) !important; left: auto !important; }

.nmf-hero__dots,
.nmf-hero__nav {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateX(-50%);
}

.nmf-hero__dot {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    line-height: 1;
    color: var(--nmf-text);
    background: transparent !important;
    transition: width .32s var(--nmf-ease), height .32s var(--nmf-ease), opacity .32s var(--nmf-ease), transform .32s var(--nmf-ease), background-color .32s var(--nmf-ease), border-color .32s var(--nmf-ease);
}

.nmf-hero__dot-mark {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
    opacity: .34;
    transition: opacity .32s var(--nmf-ease), background-color .32s var(--nmf-ease);
}

.nmf-hero__dot.is-active .nmf-hero__dot-mark {
    opacity: 1;
}

.nmf-hero__nav--line .nmf-hero__dot {
    width: 34px !important;
    height: 2px !important;
    border-radius: 99px !important;
}

.nmf-hero__nav--line .nmf-hero__dot.is-active {
    width: 58px !important;
}

.nmf-hero__nav--dots .nmf-hero__dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
}

.nmf-hero__nav--dots .nmf-hero__dot.is-active {
    transform: scale(1.32);
}

.nmf-hero__nav--thumbs {
    gap: 8px;
    padding: 7px 8px;
    border: 1px solid rgba(20,18,23,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nmf-hero__nav--thumbs .nmf-hero__thumb {
    width: 42px !important;
    height: 56px !important;
    border: 1px solid rgba(20,18,23,.14) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.55) !important;
    opacity: .58;
}

.nmf-hero__nav--thumbs .nmf-hero__thumb:hover,
.nmf-hero__nav--thumbs .nmf-hero__thumb:focus-visible {
    opacity: .9;
    transform: translateY(-2px);
}

.nmf-hero__nav--thumbs .nmf-hero__thumb.is-active {
    width: 46px !important;
    opacity: 1;
    border-color: rgba(20,18,23,.78) !important;
    transform: translateY(-4px);
}

.nmf-hero__thumb-img {
    position: absolute;
    inset: 3px;
    display: block;
    border-radius: inherit;
    background-position: center;
    background-size: cover;
}

.nmf-hero__counter {
    position: absolute;
    right: 32px;
    bottom: 28px;
    z-index: 5;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--nmf-text);
}

.nmf-hero__scroll {
    position: absolute;
    left: 32px;
    bottom: 28px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--nmf-text);
}

.nmf-hero__scroll span {
    display: block;
    width: 1px;
    height: 38px;
    background: currentColor;
    transform-origin: top;
    animation: nmfScrollPulse 1.8s var(--nmf-ease) infinite;
}

@keyframes nmfScrollPulse {
    0%, 100% { transform: scaleY(.34); opacity: .45; }
    50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1024px) {
    .nmf-hero__content {
        padding: 52px;
    }

    .nmf-hero__title {
        font-size: clamp(38px, 8vw, 74px);
    }
}

@media (max-width: 767px) {
    .nmf-hero {
        min-height: var(--nmf-hero-height, 68vh);
    }

    .nmf-hero__slide--video-mobile-image .nmf-hero__video {
        display: none;
    }

    .nmf-hero__overlay {
        background:
            linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.24) 44%, rgba(255,255,255,.72) 100%),
            var(--nmf-overlay-color);
    }

    .nmf-hero__content {
        padding: 32px 24px 38px;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .nmf-hero__content-inner {
        max-width: 100%;
    }

    .nmf-hero__title {
        max-width: 10.5em;
        font-size: clamp(36px, 12vw, 58px);
        letter-spacing: -.05em;
    }

    .nmf-hero__description {
        max-width: 92%;
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.55;
    }

    .nmf-hero__button {
        margin-top: 24px;
    }

    .nmf-hero__arrow {
        top: auto !important;
        bottom: 88px;
        width: var(--nmf-hero-arrow-size, 40px) !important;
        height: var(--nmf-hero-arrow-size, 40px) !important;
        font-size: var(--nmf-hero-arrow-icon-size, 28px);
        transform: none;
    }

    .nmf-hero__arrow:hover,
    .nmf-hero__arrow:focus-visible {
        transform: translateY(-2px);
    }

    .nmf-hero__arrow--prev { left: auto !important; right: calc(var(--nmf-hero-arrow-offset) + var(--nmf-hero-arrow-size) + 10px) !important; }
    .nmf-hero__arrow--next { right: var(--nmf-hero-arrow-offset) !important; }

    .nmf-hero__dots,
    .nmf-hero__nav {
        left: 24px;
        right: auto;
        bottom: 20px;
        transform: none;
    }

    .nmf-hero__nav--line .nmf-hero__dot {
        width: 22px !important;
    }

    .nmf-hero__nav--line .nmf-hero__dot.is-active {
        width: 36px !important;
    }

    .nmf-hero__nav--thumbs {
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        padding: 6px 7px;
    }

    .nmf-hero__nav--thumbs .nmf-hero__thumb {
        width: 34px !important;
        height: 46px !important;
    }

    .nmf-hero__nav--thumbs .nmf-hero__thumb.is-active {
        width: 38px !important;
    }

    .nmf-hero__counter {
        right: 24px;
        bottom: 18px;
    }

    .nmf-hero__scroll {
        display: none;
    }
}
