/**
 * Hero Slider Full — isolated typography playground.
 * Every rule is scoped to the new block so it cannot affect the rest of the theme.
 */

.hero-slider-full__content,
.hero-slider-full__wysiwyg,
.hero-slider-full__wysiwyg * {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.hero-slider-full__content {
    color: #0a0a0a;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.hero-slider-full__wysiwyg > * {
    margin: 0;
}

.hero-slider-full__wysiwyg > * + * {
    margin-top: clamp(14px, 1.4vw, 22px);
}

.hero-slider-full__wysiwyg h1,
.hero-slider-full__wysiwyg h2,
.hero-slider-full__wysiwyg h3,
.hero-slider-full__wysiwyg h4 {
    color: inherit;
    font-style: normal;
    text-transform: none;
    text-wrap: balance;
}

.hero-slider-full__wysiwyg h1 {
    max-width: 14ch;
    font-size: clamp(2.65rem, 3.5vw, 4.25rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
}

.hero-slider-full__wysiwyg h2 {
    max-width: 15ch;
    font-size: clamp(2.25rem, 3.15vw, 3.75rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.035em;
}

.hero-slider-full__wysiwyg h3 {
    max-width: 20ch;
    font-size: clamp(1.65rem, 2.1vw, 2.5rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.hero-slider-full__wysiwyg h4 {
    font-size: clamp(1.15rem, 1.35vw, 1.5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.012em;
}

.hero-slider-full__wysiwyg p,
.hero-slider-full__wysiwyg li {
    font-size: clamp(0.875rem, 0.9vw, 1rem);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.012em;
}

.hero-slider-full__wysiwyg p {
    max-width: 38em;
}

.hero-slider-full__wysiwyg .subtitle {
    display: inline-block;
    margin: 0;
    font-size: clamp(0.5625rem, 0.56vw, 0.6875rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-transform: none;
}

.hero-slider-full__wysiwyg p:has(> .subtitle) {
    max-width: none;
    margin-bottom: clamp(14px, 1.15vw, 20px);
}

.hero-slider-full__wysiwyg strong,
.hero-slider-full__wysiwyg b {
    font-weight: 600;
}

.hero-slider-full__wysiwyg em,
.hero-slider-full__wysiwyg i {
    font-style: italic;
    font-weight: 400;
}

.hero-slider-full__wysiwyg a:not(.btn) {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: opacity 180ms ease;
}

.hero-slider-full__wysiwyg a:not(.btn):hover {
    opacity: 0.58;
}

.hero-slider-full__wysiwyg ul,
.hero-slider-full__wysiwyg ol {
    max-width: 36em;
    padding: 0 0 0 1.15em;
    list-style-position: outside;
}

.hero-slider-full__wysiwyg ul {
    list-style-type: square;
}

.hero-slider-full__wysiwyg li {
    padding-left: 0.35em;
}

.hero-slider-full__wysiwyg li + li {
    margin-top: 0.45em;
}

.hero-slider-full__wysiwyg blockquote {
    max-width: 32em;
    padding-left: clamp(18px, 1.5vw, 26px);
    border-left: 1px solid currentColor;
}

.hero-slider-full__wysiwyg blockquote p {
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.hero-slider-full__wysiwyg hr {
    width: 32px;
    height: 1px;
    border: 0;
    background: currentColor;
    opacity: 0.5;
}

.hero-slider-full .hero-slider-full__button {
    height: auto;
    margin-top: clamp(26px, 2.25vw, 38px);
    padding: 15px 28px 14px;
    border: 1px solid #0a0a0a;
    background: #0a0a0a;
    box-shadow: none;
    color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background-color 220ms ease, color 220ms ease;
}

.hero-slider-full .hero-slider-full__button:hover,
.hero-slider-full .hero-slider-full__button:active {
    transform: none;
    background: transparent;
    box-shadow: none;
    color: #0a0a0a;
}

/* Premium masked line reveal — entrance and every Owl slide change. */
.hero-slider-full__measure-word {
    display: inline-block;
}

.hero-slider-full__reveal-line {
    display: block;
    overflow: hidden;
    padding: 0.06em 0 0.08em;
    margin: -0.06em 0 -0.08em;
}

.hero-slider-full__reveal-line-inner,
.hero-slider-full__reveal-item {
    opacity: 0;
    transform: translate3d(0, 115%, 0);
    will-change: transform, opacity;
}

.hero-slider-full__reveal-line-inner {
    display: block;
}

.hero-slider-full__reveal-item {
    transform: translate3d(0, 24px, 0);
}

.hero-slider-full__slide.is-text-revealed .hero-slider-full__reveal-line-inner {
    animation: hero-slider-full-line-reveal 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(70ms + (var(--hero-reveal-index, 0) * 85ms));
}

.hero-slider-full__slide.is-text-revealed .hero-slider-full__reveal-item {
    animation: hero-slider-full-item-reveal 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(70ms + (var(--hero-reveal-index, 0) * 85ms));
}

.hero-slider-full__slide.is-transition-reveal .hero-slider-full__reveal-line-inner,
.hero-slider-full__slide.is-transition-reveal .hero-slider-full__reveal-item {
    animation-delay: calc(var(--hero-reveal-index, 0) * 55ms);
}

.hero-slider-full.has-text-animation .hero-slider-full__slide:not(.is-text-revealed) .hero-slider-full__content {
    visibility: hidden;
}

.hero-slider-full__slide.is-text-leaving .hero-slider-full__content {
    animation: hero-slider-full-content-exit 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
    pointer-events: none;
    will-change: opacity;
}

.hero-slider-full__slide.is-text-static .hero-slider-full__reveal-line-inner,
.hero-slider-full__slide.is-text-static .hero-slider-full__reveal-item {
    opacity: 1;
    transform: none;
    animation: none !important;
}

@keyframes hero-slider-full-content-exit {
    0% {
        opacity: 1;
    }
    35% {
        opacity: 0.72;
    }
    70% {
        opacity: 0.22;
    }
    100% {
        opacity: 0;
    }
}

@keyframes hero-slider-full-line-reveal {
    0% {
        opacity: 0;
        transform: translate3d(0, 115%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes hero-slider-full-item-reveal {
    0% {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider-full__reveal-line-inner,
    .hero-slider-full__reveal-item {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

@media (max-width: 767px) {
    .hero-slider-full__content {
        font-size: 14px;
    }

    .hero-slider-full__wysiwyg > * + * {
        margin-top: 14px;
    }

    .hero-slider-full__wysiwyg h1 {
        max-width: 10ch;
        font-size: clamp(2.2rem, 10.5vw, 2.95rem);
        line-height: 0.98;
        letter-spacing: -0.045em;
    }

    .hero-slider-full__wysiwyg h2 {
        font-size: clamp(2rem, 9.5vw, 2.75rem);
    }

    .hero-slider-full__wysiwyg h3 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero-slider-full__wysiwyg h4 {
        font-size: 1.125rem;
    }

    .hero-slider-full__wysiwyg p,
    .hero-slider-full__wysiwyg li {
        font-size: 0.8125rem;
        line-height: 1.55;
    }

    .hero-slider-full__wysiwyg .subtitle {
        font-size: 0.5rem;
        letter-spacing: 0.16em;
    }

    .hero-slider-full__wysiwyg p:has(> .subtitle) {
        margin-bottom: 12px;
    }

    .hero-slider-full .hero-slider-full__button {
        margin-top: 24px;
        padding: 14px 22px 13px;
        font-size: 0.625rem;
    }
}
