.build-together-section {
    padding: clamp(3rem, 7vw, 6rem) 5%;
    background: #faf7f1;
}

.build-together-panel {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1280px;
    min-height: 15rem;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    border: 1px solid rgba(89, 64, 34, 0.12);
    border-radius: 0.5rem;
    background: #e8dfd1;
    box-shadow: 0 1rem 2.5rem rgba(46, 37, 26, 0.1);
}

.build-together-panel::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(250, 247, 241, 0.88), rgba(250, 247, 241, 0.7)),
        url("../assets/cutting.JPG");
    background-position: center, center 48%;
    background-size: cover;
    content: "";
}

.build-together-copy {
    max-width: 48rem;
}

.build-together-eyebrow,
.footer-label {
    margin: 0 0 0.75rem;
    color: #7b5b36;
    font-size: var(--type-caption);
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.build-together-copy h2 {
    margin: 0;
    color: #171d26;
    font-size: var(--type-title-medium);
    font-weight: 800;
    line-height: 1.15;
}

.build-together-cta {
    display: inline-flex;
    min-width: 13rem;
    min-height: 3.75rem;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 1.75rem;
    border-radius: 999px;
    background: #10085b;
    color: #FFFFFF;
    font-size: var(--type-body);
    font-weight: 700;
    transition: background-color 180ms ease, transform 180ms ease;
}

.build-together-cta i {
    color: #e5be83;
    transition: transform 180ms ease;
}

.build-together-cta:hover {
    transform: translateY(-2px);
    background: #21157d;
}

.build-together-cta:hover i {
    transform: translateX(3px);
}

.build-together-cta:focus-visible,
.footer-socials a:focus-visible,
.footer-main a:focus-visible,
.footer-bottom a:focus-visible {
    outline: 2px solid #e5be83;
    outline-offset: 4px;
}

.site-footer {
    padding: clamp(3rem, 6vw, 5rem) 5% 1.25rem;
    background: #211d18;
    color: #f7f2e9;
}

.footer-main,
.footer-bottom {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(12rem, 0.9fr) minmax(17rem, 1.4fr) minmax(9rem, 0.6fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-brand {
    display: flex;
    width: fit-content;
    height: fit-content;
    align-items: center;
    gap: 1rem;
}

.footer-brand img {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.25rem;
    object-fit: cover;
}

.footer-brand span {
    max-width: 10rem;
    color: #e5be83;
    font-size: var(--type-micro);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.footer-label {
    margin-bottom: 1.1rem;
    color: #e5be83;
}

.footer-contact,
.footer-navigation {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.footer-contact > a,
.footer-navigation > a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(247, 242, 233, 0.78);
    font-size: var(--type-small);
    line-height: 1.5;
    transition: color 160ms ease;
}

.footer-contact > a + a,
.footer-navigation > a + a {
    margin-top: 0.75rem;
}

.footer-contact > a:hover,
.footer-navigation > a:hover,
.footer-bottom a:hover {
    color: #e5be83;
}

.footer-contact > a i {
    width: 1rem;
    color: #e5be83;
    text-align: center;
}

.footer-socials {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.25rem;
}

.footer-socials a {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid rgba(229, 190, 131, 0.35);
    border-radius: 0.375rem;
    color: #e5be83;
    transition: background-color 160ms ease, color 160ms ease;
}

.footer-socials a:hover {
    background: #e5be83;
    color: #211d18;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(229, 190, 131, 0.2);
    color: rgba(247, 242, 233, 0.58);
    font-size: var(--type-caption);
    line-height: 1.5;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: inherit;
    transition: color 160ms ease;
}

@media (max-width: 800px) {
    .build-together-panel {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 1.5rem;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 2.5rem 2rem;
    }

    .footer-navigation {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 560px) {
    .build-together-section,
    .site-footer {
        padding-inline: 6%;
    }

    .build-together-panel {
        min-height: 0;
        padding: 1.75rem;
    }

    .build-together-copy h2 {
        font-size: var(--type-title-small);
    }

    .build-together-cta {
        width: 100%;
        min-width: 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .footer-navigation {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .build-together-cta,
    .build-together-cta i,
    .footer-contact > a,
    .footer-navigation > a,
    .footer-socials a,
    .footer-bottom a {
        transition: none;
    }
}