body {
    background-color: #000000;
    color: #F8F8F8;
    overflow-x: hidden;
}

/* Animated Underline */
.animated-underline {
    position: relative;
}
.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}
.animated-underline:hover::after {
    transform: scaleX(1);
}

/* Lenis standard setup */
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Scroll Down Arrow */
@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }
    50% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}

.site-logo-mark {
    display: block;
    background-color: currentColor;
    -webkit-mask: url("../images/logo.svg") center / contain no-repeat;
    mask: url("../images/logo.svg") center / contain no-repeat;
    aspect-ratio: 1760.082 / 1996.427;
}

@media (max-width: 768px) {
    .js-header {
        padding: 1.25rem 1.25rem !important;
    }

    .js-header > a {
        gap: 0.5rem !important;
        font-size: clamp(0.72rem, 3vw, 0.88rem) !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .js-header .site-logo-mark {
        width: 1.68rem !important;
        flex: 0 0 auto;
    }

    .js-header > div {
        gap: 1.25rem !important;
    }

    .js-header button {
        width: 1.55rem !important;
        height: 1.55rem !important;
    }

    h1.js-fv-title {
        max-width: calc(100vw - 2.5rem);
        margin-left: 0 !important;
        margin-right: 0 !important;
        font-size: clamp(2.4rem, 10.5vw, 4rem) !important;
        line-height: 1.12 !important;
        letter-spacing: 0.16em !important;
        text-align: center;
    }

    .js-fv-text {
        max-width: calc(100vw - 2.5rem);
        line-height: 2 !important;
    }

    .js-fv-scroll,
    .js-hero-scroll {
        bottom: 2.5rem !important;
        gap: 1rem !important;
    }

    a[href][class*="border-accent"] {
        max-width: calc(100vw - 3rem);
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        white-space: normal !important;
    }

    footer {
        padding-top: 3.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    footer .js-spotlight-container {
        margin-bottom: 3.5rem !important;
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }

    footer .js-spotlight-container h2 {
        font-size: 12vw !important;
        line-height: 0.9 !important;
        letter-spacing: 0 !important;
    }

    footer .js-spotlight-container .js-spotlight-text {
        top: 0.25rem !important;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    h1.js-fv-title {
        max-width: calc(100vw - 4rem);
        margin-left: 0 !important;
        margin-right: 0 !important;
        font-size: clamp(4rem, 8vw, 5.5rem) !important;
        line-height: 1.12 !important;
        letter-spacing: 0.18em !important;
        text-align: center;
    }
}
