/*--------------------------------------------------------------
# Layout
# Shared site layout used throughout the theme.
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Container
--------------------------------------------------------------*/
.fx-container {
    width: min(100% - 2rem, var(--fx-container));
    margin-inline: auto;
}

/*--------------------------------------------------------------
# Section Spacing
--------------------------------------------------------------*/
.fx-section {
    padding-block: 4rem;
}

.fx-section--small {
    padding-block: 2.5rem;
}

.fx-section--large {
    padding-block: 6rem;
}

/*--------------------------------------------------------------
# Grid
--------------------------------------------------------------*/
.fx-grid {
    display: grid;
    gap: 2rem;
}

.fx-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fx-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fx-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/*--------------------------------------------------------------
# Flex Utilities
--------------------------------------------------------------*/
.fx-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fx-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.fx-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/*--------------------------------------------------------------
# Site Header
--------------------------------------------------------------*/
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--fx-navy);
    color: var(--fx-white);
    transition:
        background .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.site-header.is-scrolled {
    background: rgba(6, 27, 49, .94);
    box-shadow: 0 10px 30px rgba(2, 15, 28, .18);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--fx-container);
    width: 100%;
    height: 80px;
    margin: 0 auto;
    padding-inline: 1.5rem;
    box-sizing: border-box;
}

.site-title {
    color: var(--fx-white);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.site-title span {
    color: var(--fx-gold);
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.site-nav {
    display: flex;
    /* align-items: center; */
    gap: 1.75rem;
}

.site-nav a {
    color: var(--fx-white);
    font-size: .9rem;
    font-weight: 600;
    transition: color .2s ease;
}

.site-nav a:hover {
    color: var(--fx-gold);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.site-nav__actions .fixquo-button {
    min-height: 40px;
}

.site-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: .65rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--fx-radius-sm);
    cursor: pointer;
}

.site-menu-toggle i {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--fx-white);
    transition: .25s ease;
}

.site-menu-toggle[aria-expanded="true"] i:first-child {
    transform: translateY(6px) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] i:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
.site-main {
    min-height: 60vh;
    overflow: hidden;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
    margin-top: 4rem;

    background: linear-gradient(135deg,
            var(--fx-navy),
            #08213a);

    color: var(--fx-white);
}

.site-footer__inner {
    width: min(calc(100% - 2rem),
            var(--fx-container));

    margin: 0 auto;
    padding: 4rem 0 2rem;

    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Footer Grid
--------------------------------------------------------------*/

.footer-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 2rem;
}

.footer-brand p,
.footer-col a {
    color: #d5dde5;
    font-size: .9rem;
    line-height: 1.7;
}

.footer-col h3 {
    margin: 0 0 1rem;

    color: var(--fx-white);

    font-size: 1rem;
}

.footer-col a {
    display: block;

    margin-bottom: .75rem;

    text-decoration: none;

    transition: color .2s ease;
}

.footer-col a:hover {
    color: var(--fx-gold);
}

/*--------------------------------------------------------------
# Social
--------------------------------------------------------------*/

.socials {
    display: flex;
    gap: .75rem;

    margin-top: 1.5rem;
}

.socials span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);

    transition: background .2s ease;
}

.socials span:hover {
    background: rgba(255, 255, 255, .16);
}

/*--------------------------------------------------------------
# Footer Bottom
--------------------------------------------------------------*/

.footer-bottom {
    display: flex;
    flex-direction: column;

    gap: 1rem;

    margin-top: 3rem;
    padding-top: 1.5rem;

    border-top: 1px solid rgba(255, 255, 255, .1);

    color: #b9c6d1;
    font-size: .875rem;

    text-align: center;
}

/*--------------------------------------------------------------
# Tablet
--------------------------------------------------------------*/

@media (min-width:768px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        text-align: left;
    }

}

/*--------------------------------------------------------------
# Desktop
--------------------------------------------------------------*/

@media (min-width:1024px) {

    .footer-grid {
        grid-template-columns: 1.5fr repeat(4, 1fr);
    }

    .footer-brand {
        grid-column: auto;
    }

}