.hanly-primitive {
    --hanly-primitive-accent: currentColor;
    --hanly-primitive-color: currentColor;
    --hanly-primitive-margin-bottom: 0px;
    box-sizing: border-box;
    color: var(--hanly-primitive-color);
    margin: 0 0 var(--hanly-primitive-margin-bottom);
}

.hanly-primitive *,
.hanly-primitive *::before,
.hanly-primitive *::after {
    box-sizing: border-box;
}

.hanly-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: uppercase;
}

.hanly-eyebrow__text {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.hanly-eyebrow--editorial .hanly-eyebrow__text::before,
.hanly-eyebrow--feature .hanly-eyebrow__text::before {
    content: "";
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--hanly-primitive-accent);
}

.hanly-heading {
    color: var(--hanly-primitive-color);
    font-size: 3.5rem;
    letter-spacing: 0;
    line-height: 1.08;
}

.hanly-heading--minimal {
    font-size: 2.8rem;
}

.hanly-heading--hero {
    font-size: 5.8rem;
    line-height: 0.98;
}

.hanly-heading--feature {
    font-size: 2.25rem;
}

.hanly-body {
    color: var(--hanly-primitive-color);
    font-size: 1.08rem;
    line-height: 1.68;
    max-width: 760px;
}

.hanly-body p {
    margin-top: 0;
}

.hanly-body p:last-child {
    margin-bottom: 0;
}

.hanly-body--hero,
.hanly-body--editorial {
    font-size: 1.18rem;
}

.hanly-body--feature {
    font-size: 1rem;
}

.hanly-cta-wrap {
    --hanly-cta-bg: transparent;
    --hanly-cta-hover-bg: var(--hanly-primitive-accent);
    --hanly-cta-hover-border-color: var(--hanly-cta-hover-bg);
    --hanly-cta-hover-color: currentColor;
    --hanly-cta-hover-fill: var(--hanly-cta-hover-bg);
    --hanly-cta-hover-fill-opacity: 0.18;
    --hanly-cta-radius: 999px;
    color: var(--hanly-primitive-color);
    display: block;
}

.hanly-cta {
    align-items: center;
    background: var(--hanly-cta-bg);
    border: 1px solid var(--hanly-primitive-accent);
    border-radius: var(--hanly-cta-radius);
    color: inherit;
    display: inline-flex;
    gap: 0.55rem;
    justify-content: center;
    line-height: 1.15;
    min-height: 2.75rem;
    overflow: hidden;
    padding: 0.82rem 1.15rem;
    position: relative;
    text-decoration: none;
    transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
    vertical-align: middle;
}

.hanly-cta-wrap--text-link .hanly-cta {
    background: transparent;
    border: 0;
    border-radius: 0;
    min-height: 0;
    padding: 0 0 0.22rem;
}

.hanly-cta__label,
.hanly-cta__arrow {
    position: relative;
    z-index: 1;
}

.hanly-cta__arrow {
    display: inline-block;
    transition: transform 220ms ease, opacity 220ms ease;
}

.hanly-cta::before,
.hanly-cta::after {
    content: "";
    pointer-events: none;
    position: absolute;
}

.hanly-cta-wrap--hover-underline-reveal .hanly-cta::after {
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 240ms ease;
}

.hanly-cta-wrap--hover-underline-reveal .hanly-cta:hover::after,
.hanly-cta-wrap--hover-underline-reveal .hanly-cta:focus-visible::after {
    transform: scaleX(1);
}

.hanly-cta:hover,
.hanly-cta:focus-visible {
    color: var(--hanly-cta-hover-color);
}

.hanly-cta-wrap--button:not(.hanly-cta-wrap--hover-soft-fill) .hanly-cta:hover,
.hanly-cta-wrap--button:not(.hanly-cta-wrap--hover-soft-fill) .hanly-cta:focus-visible {
    background: var(--hanly-cta-hover-bg);
    border-color: var(--hanly-cta-hover-border-color);
}

.hanly-cta-wrap--hover-soft-fill .hanly-cta::before {
    inset: 0;
    background: var(--hanly-cta-hover-fill);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 220ms ease;
}

.hanly-cta-wrap--hover-soft-fill .hanly-cta:hover::before,
.hanly-cta-wrap--hover-soft-fill .hanly-cta:focus-visible::before {
    opacity: var(--hanly-cta-hover-fill-opacity);
}

.hanly-cta-wrap--hover-soft-fill .hanly-cta:hover,
.hanly-cta-wrap--hover-soft-fill .hanly-cta:focus-visible {
    border-color: var(--hanly-cta-hover-border-color);
}

.hanly-cta-wrap--hover-arrow-slide .hanly-cta:hover .hanly-cta__arrow,
.hanly-cta-wrap--hover-arrow-slide .hanly-cta:focus-visible .hanly-cta__arrow {
    transform: translateX(0.28rem);
}

.hanly-cta-wrap--hover-lift .hanly-cta:hover,
.hanly-cta-wrap--hover-lift .hanly-cta:focus-visible {
    transform: translateY(-2px);
}

.hanly-cta-wrap--hover-none .hanly-cta,
.hanly-cta-wrap--hover-none .hanly-cta__arrow {
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    .hanly-cta,
    .hanly-cta__arrow,
    .hanly-cta::before,
    .hanly-cta::after {
        transition: none !important;
    }
}

.hanly-motion:not(.hanly-motion--none) {
    opacity: 0;
    transition-delay: var(--hanly-motion-delay, 0ms);
    transition-duration: var(--hanly-motion-duration, 650ms);
    transition-property: opacity, transform, clip-path;
    transition-timing-function: var(--hanly-motion-ease, cubic-bezier(.2,.8,.2,1));
    will-change: opacity, transform;
}

.hanly-motion--fade-up,
.hanly-motion--slide-up {
    transform: translateY(18px);
}

.hanly-motion--soft-scale {
    transform: scale(0.985);
}

.hanly-motion--reveal-line {
    clip-path: inset(0 100% 0 0);
}

.hanly-motion.is-visible {
    opacity: 1;
    transform: none;
}

.hanly-motion--reveal-line.is-visible {
    clip-path: inset(0 0 0 0);
}

@media (max-width: 767px) {
    .hanly-heading,
    .hanly-heading--hero {
        font-size: 3rem;
    }

    .hanly-heading--minimal,
    .hanly-heading--feature {
        font-size: 2.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hanly-motion {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        transition: none !important;
    }
}
