.home-section {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
}

.section-kicker {
    margin-bottom: 18px;
    color: #8c5275;
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-kicker.light {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-heading h2,
.about-panel h2,
.final-cta h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: clamp(2.55rem, 5vw, 4.75rem);
    line-height: 1;
}

.motion-ready .reveal-up {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    filter: blur(8px);
    transition:
        opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready .reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.motion-ready .reveal-delay,
.motion-ready .delay-1 {
    transition-delay: 110ms;
}

.motion-ready .delay-2 {
    transition-delay: 190ms;
}

.motion-ready .delay-3 {
    transition-delay: 270ms;
}

.motion-ready .delay-4 {
    transition-delay: 350ms;
}

.premium-float {
    animation: premiumFloat 8s ease-in-out infinite;
}

.back-to-top {
    position: fixed;
    right: clamp(18px, 3vw, 34px);
    bottom: clamp(18px, 3vw, 34px);
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
    background: var(--signature-gradient);
    box-shadow: 0 20px 48px rgba(54, 39, 73, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.94);
    transition:
        opacity 180ms ease,
        transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    box-shadow: 0 26px 58px rgba(54, 39, 73, 0.24);
    transform: translateY(-2px) scale(1.02);
}

.back-to-top:active {
    transform: translateY(0) scale(0.96);
}

.back-to-top:focus-visible {
    outline: 0;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.92),
        0 0 0 7px rgba(120, 83, 164, 0.24),
        0 20px 48px rgba(54, 39, 73, 0.18);
}

@keyframes premiumFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -10px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
}

@media (max-width: 767.98px) {
    .home-section {
        padding: 72px 0;
    }

    .section-heading {
        margin-bottom: 34px;
        text-align: left;
    }

    .section-heading h2,
    .about-panel h2,
    .final-cta h2 {
        font-size: clamp(2.45rem, 13vw, 3.6rem);
    }
}

@media (max-width: 575.98px) {
    .home-section {
        padding: 58px 0;
    }

    .section-kicker {
        margin-bottom: 12px;
        font-size: 0.76rem;
    }

    .motion-ready .reveal-up {
        transform: translateY(20px);
        filter: blur(4px);
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}
