/* Unified site footer — shared by the portfolio and the store. */
.nicole-footer {
    --footer-paper: #e3e0a9;
    --footer-cream: #f0ebb3;
    --footer-ink: #3f4a30;
    --footer-earth: #83521a;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    padding: clamp(52px, 5vw, 64px) max(20px, calc((100vw - 1240px) / 2)) clamp(27px, 3vw, 34px);
    border-top: 1px solid rgba(131, 82, 26, 0.13);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 249, 217, 0.4), transparent 34rem),
        linear-gradient(180deg, var(--footer-cream) 0%, var(--footer-paper) 100%);
    color: var(--footer-ink);
    font-family: var(--font-sans);
    text-align: center;
}

.nicole-footer::before,
.nicole-footer::after {
    content: none;
}

.nicole-footer__container {
    position: relative;
    z-index: 1;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

.nicole-footer__nav {
    margin: 0 0 clamp(27px, 3vw, 38px);
}

.nicole-footer__nav ul,
.nicole-footer__socials,
.nicole-footer__policies {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nicole-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px clamp(20px, 2.3vw, 32px);
}

.nicole-footer a {
    color: inherit;
    text-decoration: none;
}

.nicole-footer__nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 4px 0;
    color: var(--footer-ink);
    font: 500 clamp(0.69rem, 0.72vw, 0.78rem)/1.4 var(--font-sans);
    letter-spacing: 0.045em;
    transition: color 0.24s ease, opacity 0.24s ease;
}

.nicole-footer__nav a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
}

.nicole-footer__nav a:hover,
.nicole-footer__nav a:focus-visible {
    color: var(--footer-earth);
}

.nicole-footer__nav a:hover::after,
.nicole-footer__nav a:focus-visible::after {
    transform: scaleX(1);
}

.nicole-footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: clamp(29px, 3vw, 39px);
}

.nicole-footer__socials a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--footer-ink);
    transition: color 0.24s ease, background-color 0.24s ease, transform 0.24s ease;
}

.nicole-footer__socials a:hover,
.nicole-footer__socials a:focus-visible {
    color: var(--footer-earth);
    background: rgba(63, 74, 48, 0.075);
    transform: translateY(-2px);
}

.nicole-footer__socials svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nicole-footer__divider {
    width: 100%;
    height: 1px;
    margin: 0 0 25px;
    border: 0;
    background: rgba(63, 74, 48, 0.16);
}

.nicole-footer__bottom {
    display: grid;
    gap: 12px;
    justify-items: center;
    color: rgba(63, 74, 48, 0.79);
    font: 500 clamp(0.6rem, 0.64vw, 0.67rem)/1.65 var(--font-sans);
    letter-spacing: 0.055em;
}

.nicole-footer__signature,
.nicole-footer__policies {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px 9px;
}

.nicole-footer__signature {
    margin: 0;
}

.nicole-footer__policies a {
    position: relative;
    color: rgba(63, 74, 48, 0.82);
    transition: color 0.22s ease;
}

.nicole-footer__policies a:hover,
.nicole-footer__policies a:focus-visible {
    color: var(--footer-earth);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nicole-footer__separator {
    color: rgba(63, 74, 48, 0.4);
    user-select: none;
}

.nicole-footer a:focus-visible {
    border-radius: 2px;
    outline: 2px solid var(--footer-earth);
    outline-offset: 4px;
}

.nicole-footer.nicole-footer--will-reveal:not(.is-visible) [data-footer-reveal] {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
}

.nicole-footer [data-footer-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.nicole-footer [data-footer-reveal='socials'] {
    transition-delay: 70ms;
}

.nicole-footer [data-footer-reveal='bottom'] {
    transition-delay: 140ms;
}

@media (max-width: 680px) {
    .nicole-footer {
        padding: 38px 22px 26px;
        text-align: left;
    }

    .nicole-footer__container {
        padding: 0;
    }

    .nicole-footer__nav {
        margin-bottom: 24px;
    }

    .nicole-footer__nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        justify-content: stretch;
        gap: 2px 22px;
    }

    .nicole-footer__nav li:last-child {
        grid-column: 1 / -1;
        margin-top: 7px;
    }

    .nicole-footer__nav a {
        width: fit-content;
        min-height: 35px;
        font-size: 0.72rem;
        transform-origin: left center;
    }

    .nicole-footer__nav a::after {
        transform-origin: left;
    }

    .nicole-footer__nav li:last-child a {
        color: var(--footer-earth);
        font-weight: 600;
    }

    .nicole-footer__socials {
        justify-content: flex-start;
        gap: 8px;
        margin-bottom: 25px;
    }

    .nicole-footer__socials a {
        width: 40px;
        height: 40px;
    }

    .nicole-footer__divider {
        margin-bottom: 21px;
    }

    .nicole-footer__bottom {
        justify-items: start;
        gap: 15px;
        line-height: 1.55;
    }

    .nicole-footer__signature,
    .nicole-footer__policies {
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .nicole-footer__separator {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nicole-footer *,
    .nicole-footer *::before,
    .nicole-footer *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .nicole-footer.nicole-footer--will-reveal:not(.is-visible) [data-footer-reveal] {
        opacity: 1;
        transform: none;
    }
}
