.nlc-hero-slider {
    --nlc-height: var(--nlc-height-desktop, 680px);
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    background: #111;
    overflow: hidden;
    isolation: isolate;
}

.nlc-hero-viewport {
    position: relative;
    overflow: hidden;
    height: var(--nlc-height);
    /* Keep normal vertical page scrolling while reserving horizontal gestures for the slider. */
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: contain;
    -webkit-tap-highlight-color: transparent;
}

.nlc-hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0,0,0);
    transition: transform var(--nlc-transition-ms, 650ms) cubic-bezier(.22,.61,.36,1);
    will-change: transform;
    touch-action: pan-y pinch-zoom;
}

.nlc-hero-slider.is-dragging .nlc-hero-track {
    transition: none;
}

.nlc-hero-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    overflow: hidden;
}

.nlc-hero-picture,
.nlc-hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.nlc-hero-image {
    object-fit: cover;
    object-position: var(--nlc-dx, 50%) var(--nlc-dy, 50%);
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.nlc-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 64px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.nlc-hero-panel {
    width: min(100%, var(--nlc-panel-width-desktop, 41%));
    padding: 38px 42px 34px;
    color: #fff;
    background: rgba(0,0,0,var(--nlc-panel-alpha,.60));
    border-radius: 40px;
    box-sizing: border-box;
    backdrop-filter: blur(var(--nlc-panel-blur, 1.5px));
    -webkit-backdrop-filter: blur(var(--nlc-panel-blur, 1.5px));
    pointer-events: auto;
}

.nlc-hero-title {
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(44px, 4.8vw, 76px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
}

.nlc-hero-eyebrow,
.nlc-hero-description {
    margin: 0;
    color: #fff;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.55;
}

.nlc-hero-eyebrow {
    margin-bottom: 14px;
    font-weight: 500;
}

.nlc-hero-description {
    max-width: 44ch;
}

.nlc-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding: 18px 22px;
    border-radius: 12px;
    background: #100007;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    transition: transform .2s ease, filter .2s ease;
    touch-action: manipulation;
}

.nlc-hero-button:hover,
.nlc-hero-button:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.12);
}

.nlc-hero-button-icon {
    font-size: 17px;
}

.nlc-hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,.44);
    color: #fff;
    display: var(--nlc-arrow-desktop, grid);
    place-items: center;
    cursor: pointer;
    pointer-events: auto;
    opacity: 0;
    transition: opacity .2s ease, background .2s ease;
    touch-action: manipulation;
}

.nlc-hero-slider:hover .nlc-hero-arrow,
.nlc-hero-arrow:focus-visible {
    opacity: 1;
}

/* Touch devices have no hover state, so visible arrows remain usable when enabled. */
@media (hover: none) {
    .nlc-hero-arrow { opacity: .82; }
}

.nlc-hero-arrow:hover {
    background: rgba(0,0,0,.7);
}

.nlc-hero-arrow span {
    display: block;
    margin-top: -4px;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}

.nlc-hero-prev { left: 18px; }
.nlc-hero-next { right: 18px; }

.nlc-hero-pagination {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.nlc-hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(20,20,20,.48);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
    touch-action: manipulation;
}

.nlc-hero-dot.is-active {
    background: #174acb;
    transform: scale(1.05);
}

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

@media (max-width: 1024px) {
    .nlc-hero-slider { --nlc-height: var(--nlc-height-tablet, 580px); }

    .nlc-hero-inner {
        width: min(100% - 40px, 920px);
    }

    .nlc-hero-panel {
        width: min(100%, var(--nlc-panel-width-tablet, 49%));
        padding: 32px 34px 30px;
        border-radius: 34px;
    }

    .nlc-hero-title {
        margin-bottom: 22px;
        font-size: clamp(40px, 6vw, 64px);
    }

    .nlc-hero-arrow {
        display: var(--nlc-arrow-tablet, grid);
    }
}

@media (max-width: 767px) {
    .nlc-hero-slider { --nlc-height: var(--nlc-height-mobile, 530px); }

    .nlc-hero-image {
        object-position: var(--nlc-mx, 50%) var(--nlc-my, 50%);
    }

    .nlc-hero-inner {
        width: calc(100% - 32px);
        align-items: center;
    }

    .nlc-hero-panel {
        width: min(100%, var(--nlc-panel-width-mobile, 100%));
        padding: 24px 25px;
        border-radius: 28px;
        background: rgba(0,0,0,max(.52,var(--nlc-panel-alpha,.60)));
    }

    .nlc-hero-title {
        margin-bottom: 18px;
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.05;
    }

    .nlc-hero-eyebrow,
    .nlc-hero-description {
        font-size: 14px;
        line-height: 1.45;
    }

    .nlc-hero-eyebrow { margin-bottom: 10px; }

    .nlc-hero-button {
        margin-top: 22px;
        padding: 15px 18px;
        font-size: 13px;
    }

    .nlc-hero-arrow {
        display: var(--nlc-arrow-mobile, none);
        width: 42px;
        height: 42px;
        margin-top: -21px;
    }

    .nlc-hero-prev { left: 10px; }
    .nlc-hero-next { right: 10px; }
    .nlc-hero-pagination { bottom: 18px; }
}

@media (max-width: 420px) {
    .nlc-hero-panel {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nlc-hero-track,
    .nlc-hero-button,
    .nlc-hero-arrow,
    .nlc-hero-dot {
        transition: none !important;
    }
}
