/*
 * The foot of every page (_footer.html.twig), as the studio's launch page
 * ends: one line of who, how to reach them and the copyright, the services
 * at its end.
 */
.studio-foot {
    --foot-pad: clamp(18px, 4vw, 56px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px 24px;
    margin-top: clamp(4rem, 10vw, 8rem);
    padding: 0 var(--foot-pad) clamp(18px, 3.5vh, 36px);
    color: var(--ink);
    font-size: .9rem;
    font-weight: 500;
}

.studio-foot p {
    margin: 0;
}

.studio-foot strong {
    font-weight: 700;
}

.studio-foot a {
    color: var(--ink);
    text-decoration: none;
    background: var(--brand-gradient) left bottom / 0 2px no-repeat;
    transition: background-size var(--duration) var(--ease);
}

.studio-foot a:hover,
.studio-foot a:focus-visible {
    background-size: 100% 2px;
}

.studio-foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.studio-foot-services {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.studio-foot .foot-motion {
    font-size: .78rem;
}

/* The launch page's foot sits at the bottom of its one screen. */
.is-landing .studio-foot {
    margin-top: 0;
}

@media (max-width: 760px) {
    .studio-foot {
        justify-content: center;
        text-align: center;
    }

    .studio-foot-services {
        display: none;
    }
}

/* The motion switch: a star that spins while things move. Not the Kit's
   .motion-toggle, a pill pinned to the window's corner. */
.foot-motion {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: var(--space-2);
    min-height: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}

.foot-motion:hover {
    text-decoration: underline;
}

.motion-toggle-star {
    width: 1.1em;
}

/* The cookie notice: the sign-in cards' look, small, a star beside it. */
.cookie-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border: 0;
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 0 var(--ink);
}

.cookie-notice p {
    margin: 0;
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: var(--weight-strong);
}

@media (max-width: 520px) {
    .cookie-notice {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .cookie-notice button {
        grid-column: 1 / -1;
    }
}

.cookie-notice::before {
    content: "";
    flex: none;
    width: 1.4rem;
    aspect-ratio: 1;
    background: var(--brand-gradient);
    mask: url("logo-star.svg") center / contain no-repeat;
}

.cookie-notice button {
    min-height: var(--tap);
    padding: 0 var(--space-5);
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font: inherit;
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    cursor: pointer;
}

.cookie-notice button:hover {
    background: var(--brand-gradient-under-ink);
    color: var(--ink);
}
