:root {
    --lb-v3-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    --lb-v3-paper: #f6efe2;
    --lb-v3-ink: #111513;
    --lb-v3-yellow: #f3cd24;
    --lb-v3-sky: #c5e7ef;
    --lb-v3-clay: #bd5d29;
    --lb-v3-ease: cubic-bezier(.22, 1, .36, 1);
}

html {
    scroll-padding-top: 5.5rem;
}

body {
    overflow-x: clip;
    text-rendering: optimizeLegibility;
}

body .site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    min-height: 5rem;
    border-bottom-width: 1.5px;
    backdrop-filter: blur(16px);
    transition: min-height 260ms var(--lb-v3-ease), box-shadow 260ms ease;
}

body[data-studio-scrolled] .site-header {
    min-height: 4.3rem;
    box-shadow: 0 10px 28px rgba(17, 21, 19, .12);
}

body main h1,
body main h2,
body main h3,
body .site-footer .footer-signal {
    font-family: var(--lb-v3-display);
    font-weight: 800;
    font-kerning: normal;
    font-synthesis: none;
    letter-spacing: .008em;
}

body main h1,
body main h2 {
    line-height: .87;
}

body main h3 {
    line-height: .94;
}

body .button,
body .top-nav a,
body summary {
    transition: transform 180ms var(--lb-v3-ease), box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

body .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 0 var(--lb-v3-ink);
}

body .button:active {
    transform: translateY(0);
    box-shadow: none;
}

body main article,
body main details,
body main form {
    transition: transform 220ms var(--lb-v3-ease), box-shadow 220ms ease;
}

body main article:hover,
body main details:hover {
    z-index: 2;
    transform: translateY(-4px);
}

body .site-footer {
    position: relative;
    overflow: hidden;
    min-height: 24rem;
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1.5px solid var(--lb-v3-yellow);
    background: var(--lb-v3-ink);
}

body .site-footer .footer-signal {
    position: static;
    grid-column: 1 / -1;
    max-width: 100%;
    margin: 0;
    color: rgba(243, 205, 36, .14);
    font-size: clamp(4rem, 13vw, 12rem);
    line-height: .8;
    letter-spacing: .012em;
    text-transform: uppercase;
    white-space: nowrap;
}

body .site-footer .footer-brand img {
    transition: transform 220ms var(--lb-v3-ease);
}

body .site-footer .footer-brand:hover img {
    transform: rotate(-4deg) scale(1.04);
}

html.studio-motion-ready body .studio-reveal {
    opacity: 0;
    transform: translateY(1.65rem);
    transition: opacity 650ms var(--lb-v3-ease), transform 650ms var(--lb-v3-ease);
}

html.studio-motion-ready body .studio-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 760px) {
    body .site-footer .footer-signal {
        white-space: normal;
    }

    body .site-footer {
        min-height: 0;
        padding-top: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body *,
    body *::before,
    body *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    html.studio-motion-ready body .studio-reveal {
        opacity: 1;
        transform: none;
    }
}
