:root {
    --nlcs-kadence-header-height: 185px;
}

.home #masthead,
.home .site-header,
.home .kadence-sticky-header {
    z-index: 100;
}

.nlcs-full-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.nlcs-screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.nlcs-hero,
.nlcs-hero * {
    box-sizing: border-box;
}

.nlcs-hero {
    --nlcs-hero-content-width: 1320px;
    --nlcs-hero-side-space: clamp(24px, 5vw, 96px);
    --nlcs-hero-header-gap: clamp(18px, 2vw, 34px);
    --nlcs-hero-bottom-space: 86px;
    --nlcs-kadence-header-height: 185px;

    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: clamp(720px, 44.27vw, 900px);
    overflow: hidden;
    background: #111;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}

.nlcs-hero__viewport {
    position: relative;
    display: grid;
    width: 100%;
    min-height: inherit;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: contain;
}

.nlcs-hero__slide {
    --nlcs-text: #fff;
    --nlcs-copy: rgba(255, 255, 255, 0.86);
    --nlcs-button-text: #fff;

    position: relative;
    grid-area: 1 / 1;
    min-width: 0;
    min-height: clamp(720px, 44.27vw, 900px);
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: #111;
    transition:
        opacity var(--nlcs-hero-transition, 850ms) ease,
        visibility 0s linear var(--nlcs-hero-transition, 850ms);
}

.nlcs-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.nlcs-hero__slide--light {
    --nlcs-text: #202020;
    --nlcs-copy: rgba(32, 32, 32, 0.82);
    --nlcs-button-text: #fff;
    background: #eee8df;
}

.nlcs-hero__background,
.nlcs-hero__background img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.nlcs-hero__background {
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.nlcs-hero__background img {
    object-fit: cover;
    object-position: var(--nlcs-bg-dx, 50%) var(--nlcs-bg-dy, 50%);
    transform: scale(1.015);
    transition: transform 7s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.nlcs-hero__slide.is-active .nlcs-hero__background img {
    transform: scale(1.045);
}

.nlcs-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(9, 10, 10, 0.90) 0%,
            rgba(9, 10, 10, 0.76) 27%,
            rgba(9, 10, 10, 0.42) 48%,
            rgba(9, 10, 10, 0.08) 72%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 38%, rgba(0, 0, 0, 0.18));
}

.nlcs-hero__slide--light .nlcs-hero__overlay {
    background:
        linear-gradient(90deg,
            rgba(247, 243, 236, 0.96) 0%,
            rgba(247, 243, 236, 0.82) 31%,
            rgba(247, 243, 236, 0.34) 55%,
            rgba(247, 243, 236, 0.02) 76%);
}

.nlcs-hero__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    gap: clamp(28px, 4vw, 76px);
    width: min(calc(100% - (2 * var(--nlcs-hero-side-space))), var(--nlcs-hero-content-width));
    min-height: inherit;
    margin-inline: auto;
    padding-top: calc(var(--nlcs-kadence-header-height, 185px) + var(--nlcs-hero-header-gap));
    padding-bottom: var(--nlcs-hero-bottom-space);
}

.nlcs-hero__content {
    min-width: 0;
    width: 100%;
    max-width: 690px;
    color: var(--nlcs-text);
    opacity: 0;
    transform: translateY(26px);
    transition:
        transform 700ms cubic-bezier(.2, .7, .2, 1) 180ms,
        opacity 600ms ease 180ms;
}

.nlcs-hero__slide.is-active .nlcs-hero__content {
    opacity: 1;
    transform: translateY(0);
}

.nlcs-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--nlcs-accent, #0AAE94);
    font-family: var(--global-body-font-family, Arial, sans-serif);
    font-size: clamp(0.76rem, 0.75vw, 0.92rem);
    font-weight: 750;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.nlcs-hero__eyebrow::before {
    content: "";
    width: 42px;
    height: 2px;
    flex: 0 0 42px;
    background: currentColor;
}

.nlcs-hero__title {
    max-width: 760px;
    margin: 0;
    color: var(--nlcs-text);
    font-family: var(--global-heading-font-family, Georgia, serif);
    font-size: clamp(3.2rem, 4.75vw, 5.8rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.98;
    text-wrap: balance;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.18);
}

.nlcs-hero__slide--light .nlcs-hero__title {
    text-shadow: none;
}

.nlcs-hero__description {
    max-width: 610px;
    margin: 24px 0 0;
    color: var(--nlcs-copy);
    font-family: var(--global-body-font-family, Arial, sans-serif);
    font-size: clamp(1.02rem, 1.28vw, 1.30rem);
    font-weight: 400;
    line-height: 1.55;
    text-wrap: pretty;
}

.nlcs-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: fit-content;
    max-width: 100%;
    min-height: 58px;
    margin-top: 32px;
    padding: 15px 27px;
    border: 1px solid var(--nlcs-button, #0AAE94);
    border-radius: 4px;
    background: var(--nlcs-button, #0AAE94);
    color: var(--nlcs-button-text) !important;
    font-family: var(--global-body-font-family, Arial, sans-serif);
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.075em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: normal;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
    touch-action: manipulation;
}

.nlcs-hero__button:hover,
.nlcs-hero__button:focus-visible {
    color: var(--nlcs-button-text) !important;
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.nlcs-hero__button-arrow {
    flex: 0 0 auto;
    font-size: 1.25em;
    line-height: 1;
    transition: transform 220ms ease;
}

.nlcs-hero__button:hover .nlcs-hero__button-arrow {
    transform: translateX(4px);
}

.nlcs-hero__product {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: end center;
    justify-self: end;
    align-self: end;
    width: min(100%, var(--nlcs-product-w-desktop, 650px));
    max-width: 100%;
    height: min(var(--nlcs-product-h-desktop, 610px), 100%);
    pointer-events: none;
    opacity: 0;
    transform: translate3d(40px, 16px, 0) scale(0.98);
    transition:
        opacity 650ms ease 180ms,
        transform 900ms cubic-bezier(.2, .7, .2, 1) 180ms;
}

.nlcs-hero__slide.is-active .nlcs-hero__product {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.nlcs-hero__product img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.30));
    user-select: none;
    -webkit-user-drag: none;
}

.nlcs-hero__product-mode--tall .nlcs-hero__product {
    justify-self: center;
}

.nlcs-hero__product-mode--tall .nlcs-hero__product img {
    width: auto;
    height: 100%;
}

.nlcs-hero__arrow {
    position: absolute;
    top: 61%;
    z-index: 8;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.24);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: opacity 220ms ease, background 220ms ease, border-color 220ms ease;
    display: var(--nlcs-arrow-desktop, grid);
    pointer-events: auto;
    touch-action: manipulation;
}

.nlcs-hero:hover .nlcs-hero__arrow,
.nlcs-hero:focus-within .nlcs-hero__arrow {
    opacity: 1;
}

.nlcs-hero__arrow:hover {
    background: rgba(10, 10, 10, 0.62);
    border-color: rgba(255, 255, 255, 0.82);
}

.nlcs-hero__arrow span {
    display: block;
    margin-top: -4px;
    font-size: 2.1rem;
    font-weight: 300;
    line-height: 1;
}

.nlcs-hero__arrow--prev { left: 24px; }
.nlcs-hero__arrow--next { right: 24px; }

.nlcs-hero__controls {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 9;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
}

.nlcs-hero__dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nlcs-hero__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: width 220ms ease, background 220ms ease, border-color 220ms ease;
    touch-action: manipulation;
}

.nlcs-hero__dot.is-active {
    width: 30px;
    background: #fff;
}

.nlcs-hero__pause {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.30);
    color: #fff;
    cursor: pointer;
    font-size: 0.68rem;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    touch-action: manipulation;
}

.nlcs-hero__play-icon,
.nlcs-hero__pause.is-paused .nlcs-hero__pause-icon { display: none; }
.nlcs-hero__pause.is-paused .nlcs-hero__play-icon { display: block; margin-left: 2px; }

.nlcs-hero__button:focus-visible,
.nlcs-hero__arrow:focus-visible,
.nlcs-hero__dot:focus-visible,
.nlcs-hero__pause:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.nlcs-hero__slide--light .nlcs-hero__button:focus-visible { outline-color: #202020; }

.nlcs-hero-empty {
    padding: 20px;
    border: 1px dashed #aaa;
    background: #fff8d8;
    color: #222;
    text-align: center;
}

@media (hover: none) {
    .nlcs-hero__arrow { opacity: 0.82; }
}

/* ------------------------- TABLET ------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
    .nlcs-hero {
        --nlcs-kadence-header-height: 160px;
        --nlcs-hero-header-gap: 22px;
        --nlcs-hero-bottom-space: 76px;
    }

    .nlcs-hero,
    .nlcs-hero__slide { min-height: 760px; }

    .nlcs-hero__inner {
        grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.92fr);
        gap: clamp(20px, 3vw, 42px);
        width: min(calc(100% - 64px), 960px);
    }

    .nlcs-hero__content { max-width: 560px; }
    .nlcs-hero__title { font-size: clamp(2.85rem, 6.1vw, 4.6rem); }
    .nlcs-hero__description { font-size: clamp(1rem, 1.8vw, 1.16rem); }

    .nlcs-hero__product {
        width: min(100%, var(--nlcs-product-w-tablet, 520px));
        height: min(var(--nlcs-product-h-tablet, 520px), 100%);
    }

    .nlcs-hero__arrow {
        display: var(--nlcs-arrow-tablet, grid);
        opacity: 0.75;
    }
}

/* ------------------------- MOBILE ------------------------- */
@media (max-width: 767px) {
    .nlcs-hero {
        --nlcs-kadence-header-height: 104px;
        --nlcs-hero-header-gap: 22px;
        --nlcs-hero-bottom-space: calc(96px + env(safe-area-inset-bottom));
    }

    .nlcs-hero,
    .nlcs-hero__slide { min-height: max(860px, 100svh); }

    .nlcs-hero__background img {
        object-position: var(--nlcs-bg-mx, 50%) var(--nlcs-bg-my, 50%);
        transform: scale(1.01);
    }

    .nlcs-hero__slide.is-active .nlcs-hero__background img { transform: scale(1.025); }

    .nlcs-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(8, 9, 9, 0.92) 0%,
                rgba(8, 9, 9, 0.80) 30%,
                rgba(8, 9, 9, 0.42) 53%,
                rgba(8, 9, 9, 0.05) 72%,
                rgba(8, 9, 9, 0.18) 100%);
    }

    .nlcs-hero__slide--light .nlcs-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(247, 243, 236, 0.98) 0%,
                rgba(247, 243, 236, 0.90) 31%,
                rgba(247, 243, 236, 0.50) 52%,
                rgba(247, 243, 236, 0.04) 74%);
    }

    .nlcs-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "content" "product";
        align-items: start;
        align-content: start;
        gap: clamp(26px, 6vw, 42px);
        width: 100%;
        padding-right: clamp(22px, 6vw, 28px);
        padding-left: clamp(22px, 6vw, 28px);
    }

    .nlcs-hero__content { grid-area: content; width: 100%; max-width: 560px; }

    .nlcs-hero__eyebrow {
        gap: 9px;
        margin-bottom: 12px;
        font-size: clamp(0.66rem, 3vw, 0.74rem);
        letter-spacing: 0.14em;
    }

    .nlcs-hero__eyebrow::before { width: 28px; flex-basis: 28px; }
    .nlcs-hero__title { max-width: 100%; font-size: clamp(2.45rem, 11vw, 3.55rem); line-height: 0.96; }
    .nlcs-hero__description { max-width: 100%; margin-top: 18px; font-size: clamp(1rem, 4.45vw, 1.14rem); line-height: 1.48; }
    .nlcs-hero__button { min-height: 52px; margin-top: 24px; padding: 14px 20px; font-size: clamp(0.74rem, 3.2vw, 0.82rem); letter-spacing: 0.05em; }

    .nlcs-hero__product,
    .nlcs-hero__product-mode--tall .nlcs-hero__product {
        grid-area: product;
        position: relative;
        justify-self: center;
        align-self: end;
        width: min(92vw, var(--nlcs-product-w-mobile, 430px));
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .nlcs-hero__product img,
    .nlcs-hero__product-mode--tall .nlcs-hero__product img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
        object-fit: contain;
        filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.28));
    }

    .nlcs-hero__arrow { display: var(--nlcs-arrow-mobile, none); }
    .nlcs-hero__controls { bottom: calc(22px + env(safe-area-inset-bottom)); }
    .nlcs-hero__pause { width: 30px; height: 30px; }
}

@media (max-width: 390px) {
    .nlcs-hero__title { font-size: clamp(2.2rem, 10.7vw, 3rem); }
    .nlcs-hero__description { font-size: 0.96rem; }
    .nlcs-hero__button { width: 100%; justify-content: space-between; padding-inline: 18px; }
    .nlcs-hero__product { width: min(94vw, var(--nlcs-product-w-mobile, 390px)); }
}

@media (max-height: 720px) and (max-width: 1024px) {
    .nlcs-hero { --nlcs-hero-header-gap: 14px; }
    .nlcs-hero__inner { gap: 22px; }
    .nlcs-hero__eyebrow { margin-bottom: 10px; }
    .nlcs-hero__description { margin-top: 14px; }
    .nlcs-hero__button { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .nlcs-hero__slide,
    .nlcs-hero__content,
    .nlcs-hero__product,
    .nlcs-hero__background img,
    .nlcs-hero__button,
    .nlcs-hero__button-arrow {
        transition: none !important;
        animation: none !important;
    }
}

/* Vertical/light product preset mirrors the supplied EQUILIBRIUM composition. */
.nlcs-hero__product-mode--tall .nlcs-hero__product img {
    transform: scale(1.08);
    transform-origin: center bottom;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .nlcs-hero__slide--light.nlcs-hero__product-mode--tall .nlcs-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(15, 15, 15, 0.68) 0,
                rgba(15, 15, 15, 0.42) 90px,
                rgba(15, 15, 15, 0.08) 160px,
                rgba(15, 15, 15, 0) 210px),
            linear-gradient(90deg,
                rgba(247, 243, 236, 0.92) 0%,
                rgba(247, 243, 236, 0.76) 40%,
                rgba(247, 243, 236, 0.25) 68%,
                rgba(247, 243, 236, 0) 86%);
    }
}

@media (max-width: 767px) {
    .nlcs-hero__slide--light.nlcs-hero__product-mode--tall .nlcs-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(15, 15, 15, 0.74) 0,
                rgba(15, 15, 15, 0.50) 72px,
                rgba(15, 15, 15, 0.14) 112px,
                rgba(15, 15, 15, 0) 150px),
            linear-gradient(180deg,
                rgba(247, 243, 236, 0.94) 0%,
                rgba(247, 243, 236, 0.88) 33%,
                rgba(247, 243, 236, 0.50) 54%,
                rgba(247, 243, 236, 0.04) 76%);
    }
}
