/* Shared site footer (footer.php), same design as the WordPress /work footer. */
@font-face {
    font-family: 'BR Hendrix Regular';
    src: url(../fonts/BRHendrix/BRHendrix-Regular.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'BR Hendrix';
    src: url(../fonts/BRHendrix/BRHendrix-Medium.ttf) format('truetype');
    font-display: swap;
}

.sf,
.sf * {
    box-sizing: border-box;
}

.sf {
    position: relative !important;
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    z-index: 5;
    clear: both;
    width: 100%;
    background: #171717;
    color: #fff;
    font-family: 'BR Hendrix Regular', Arial, sans-serif;
    text-align: left;
}

.sf__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 1465px;
    min-height: 600px;
    margin: 0 auto;
    padding: 70px 0 14px;
}

.sf__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.sf__row--middle {
    align-items: flex-end;
    margin-top: 120px;
}

.sf__col {
    width: 50%;
}

.sf__col--right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

/* "Don't be shy." / "Say Hello!" */
.sf .sf__shy {
    margin: 0 0 10px !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 45px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-align: left !important;
    color: #fff !important;
}

.sf .sf__say {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    align-items: baseline;
    gap: 0 .25em;
    margin: 0 !important;
    font-family: 'BR Hendrix Regular', Arial, sans-serif !important;
    font-size: 85px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-align: left !important;
    color: #fff !important;
}

.sf__word {
    display: inline-block;
    white-space: nowrap;
    color: #A017F6;
    transition: opacity .35s ease, transform .35s ease, filter .35s ease;
}

.sf__word.is-out {
    opacity: 0;
    transform: translateY(.18em) rotate(-4deg);
    filter: blur(4px);
}

.sf__logo {
    display: inline-block;
    line-height: 0;
}

.sf__logo img {
    display: block;
    width: 152px;
    height: auto;
}

/* Contact / address */
.sf .sf__label {
    margin: 0 0 10px !important;
    font-family: 'BR Hendrix', Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: uppercase !important;
    text-align: inherit !important;
    color: #fff !important;
}

.sf .sf__text {
    margin: 0 0 20px !important;
    font-family: 'BR Hendrix Regular', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 15px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-align: left !important;
    color: #fff !important;
}

.sf .sf__text:last-child {
    margin-bottom: 0 !important;
}

.sf a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color .3s;
}

.sf a:hover,
.sf a:focus-visible {
    color: #A017F6 !important;
}

/* VIEW OUR WORK */
.sf .sf__work-title {
    margin: 0 !important;
    font-family: 'BR Hendrix Regular', Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    color: #fff !important;
}

.sf__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf__tags li {
    position: relative;
    margin: 0 !important;
    padding: 0 5.5px;
    font-family: 'BR Hendrix Regular', Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    color: #fff !important;
    list-style: none !important;
}

.sf__tags li:last-child {
    padding-right: 0;
}

.sf__tags li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    border-right: 1px solid #D9D9D9;
}

/* Bottom bar */
.sf__divider {
    margin: 10px 0;
    border: 0;
    border-top: 1px solid #fff;
}

.sf__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.sf__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 35px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf__links li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.sf__links a {
    font-family: 'BR Hendrix Regular', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: 1.4px !important;
}

/* Back to top button */
.sf-top {
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 2px #ccc;
    color: #1f2029;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity .3s, visibility .3s, transform .3s;
}

.sf-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.sf-top svg.sf-top__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sf-top svg.sf-top__ring circle {
    fill: none;
    stroke: #1f2029;
    stroke-width: 2px;
}

.sf-top svg.sf-top__arrow {
    position: relative;
    width: 18px;
    height: 18px;
}

html.stema-menu-open .sf-top {
    display: none;
}

/* Same horizontal alignment as the header: 1465px max, 60px side space on smaller desktops. */
@media (min-width: 1025px) {
    .sf__inner {
        width: calc(100% - 120px);
    }
}

@media (max-width: 1024px) {
    .sf__inner {
        min-height: 0;
        padding: 50px 25px 25px;
    }
}

@media (max-width: 767px) {
    .sf__row {
        flex-direction: column;
        gap: 0;
    }

    .sf__col {
        width: 100%;
    }

    .sf__col--right {
        align-items: flex-start;
        text-align: left;
    }

    .sf__row--top .sf__col--right {
        margin-top: 30px;
    }

    .sf__row--middle {
        margin-top: 50px;
    }

    .sf__row--middle .sf__col--right {
        padding: 30px 0 10px;
    }

    .sf .sf__shy {
        font-size: 32px !important;
    }

    .sf .sf__say {
        font-size: 35px !important;
    }

    .sf__tags {
        justify-content: flex-start;
        padding-top: 10px;
    }

    .sf__tags li {
        font-size: 10px !important;
    }

    .sf__tags li:first-child {
        padding-left: 0;
    }

    .sf__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .sf__links {
        gap: 6px 20px;
    }

    .sf__links a {
        font-size: 14px !important;
    }

    .sf-top {
        right: 20px;
        bottom: 20px;
    }
}

/* About: the page wrapper is absolutely positioned, which put the footer behind it. */
#about.animation-container {
    position: relative !important;
    height: auto !important;
}

/* Compact footer (Contact page): only the bottom bar, contact details are already on the page. */
.sf--compact .sf__inner {
    min-height: 0;
    padding-top: 30px;
    padding-bottom: 14px;
}

.sf--compact .sf__divider {
    margin-top: 0;
}
