@font-face {
    font-family: 'Got';
    src: url('/fonts/gotlt.woff') format('woff'),
         url('/fonts/gotlt.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Got';
    src: url('/fonts/gotmd.woff') format('woff'),
         url('/fonts/gotmd.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PalsLT';
    src: url('/fonts/palt.woff') format('woff'),
         url('/fonts/palt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-bg: #f8f7f4;
    --color-bg-dark: #474747;
    --color-text: #3c3c3c;
    --color-text-muted: #777;
    --color-primary: #739878;
    --color-accent: #9b845a;
    --color-border: #ddd8d0;
    --font-serif: Georgia, 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --max-width: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: 16px;
    padding: 15px;
    background-color: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    @media (max-width: 768px) {
        padding: 0;
    }

    .page-wrapper {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        background-color: white;

        @media (max-width: 768px) {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
    }
}

a {
    text-decoration: underline;
    color: var(--color-primary);

    &:hover {
        color: inherit;
        text-decoration: none;
    }
}

h2 {
    font-family: "Got", var(--font-sans);
    font-size: 20px;
}

h3 {
    font-family: "Got", var(--font-sans);
    font-size: 16px;
    text-transform: uppercase;
}

h4 {
    font-family: "Got", var(--font-sans);
    font-size: 14px;
    font-weight: 200;
    text-transform: uppercase;
}

address,
p {
    font-style: normal;
    color: var(--color-text);
    line-height: 1.4;
}

.button {
    display: block;
    padding: 16px 22px;
    font-family: "Got", var(--font-sans);
    font-size: 12px;;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    transition: background 0.2s, color 0.2s;

    &:hover {
        background: var(--color-text);
        color: #fff;
    }
}


/* ─── Header ──────────────────────────────────────────────────────────── */

header {
    position: relative;
    z-index: 100;

    @media (max-width: 768px) {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    .header--masthead {
        position: relative;
        max-width: 1256px;
        margin: 0 auto;
        padding: 24px 30px 8px 30px;
        background: white;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        @media (max-width: 768px) {
            height: 54px;
            padding: 0;
        }

        .nav--mobile {
            display: none;
            position: absolute;
            top: 50%;
            left: 4px;
            transform: translateY(-50%);

            @media (max-width: 768px) {
                display: block;
            }

            .hamburger-menu {
                display: flex;
                background: none;
                border: none;
                cursor: pointer;
                padding: 8px;
                flex-direction: column;
                gap: 5px;
                min-width: 44px;
                min-height: 44px;
                align-items: center;
                justify-content: center;
                padding: 8px 10px;

                span {
                    display: block;
                    width: 22px;
                    height: 2px;
                    background: #7f7f7f;
                    transition: transform 0.25s ease, opacity 0.25s ease;
                    transform-origin: center;
                }

                &[aria-expanded="true"] {
                    span:nth-child(1) {
                        transform: translateY(7px) rotate(45deg);
                    }

                    span:nth-child(2) {
                        opacity: 0;
                    }

                    span:nth-child(3) {
                        transform: translateY(-7px) rotate(-45deg);
                    }
                }
            }
        }

        .header--logo {
            text-align: center;

            img {
                display: block;
                margin: 0 auto;
                width: 360px;
                height: auto;

                @media (max-width: 768px) {
                    width: 225px;
                }
            }

        }

        .nav--social {
            ul {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                gap: 8px;
                list-style: none;
                margin: 0;
                padding: 0;
                height: 34px;

                @media (max-width: 768px) {
                    display: none;
                }

                li {
                    width: 34px;
                    height: 34px;
                    display: inline-block;

                    a {
                        display: block;
                        width: 34px;
                        height: 34px;
                        text-indent: -5000px;
                        overflow: hidden;
                        background: #000;
                    }

                    &.fbook a {
                        background: url('/images/icons/social.gif') 0px 0px no-repeat;
                    }

                    &.insta a {
                        background: url('/images/icons/social.gif') -34px 0px no-repeat;
                    }
                }
            }
        }
    }

    .nav {
        @media (max-width: 768px) {
            display: none;
        }

        ul {
            display: flex;
            justify-content: center;
            gap: 48px;
            list-style: none;
            margin: 0 auto;
            padding: 0;
            max-width: var(--max-width);


            li a {
                display: block;
                padding: 20px 12px;
                font-family: "Got", var(--font-sans);
                font-size: 14px;
                font-weight: 500;
                letter-spacing: 1px;
                text-transform: uppercase;
                text-decoration: none;
                color: #7f7f7f;
                transition: color 0.2s;

                &:hover {
                    color: #97438e;
                }
            }
        }


        @media (max-width: 768px) {

            &.is-open {
                display: block;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #fff;
                z-index: 500;
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
                border-top: 1px solid var(--color-border);

                ul {
                    flex-direction: column;
                    justify-content: flex-start;
                    max-width: none;
                    flex-wrap: nowrap;
                    gap: 0;

                    li a {
                        padding: 20px 15px;
                        border-bottom: 1px solid var(--color-border);
                        font-size: 14px;
                    }

                    li:last-child a {
                        border-bottom: none;
                    }
                }
            }
        }
    }

    .nav--overlay {
        display: none;
    }

}

#content {
    flex: 1 0 auto;

    @media (max-width: 768px) {
        margin-top: 54px;
    }
}


#footer {
    padding: 24px 36px;
    flex-shrink: 0;
    background-color: var(--color-bg-dark);
    font-size: 12px;
    line-height: 20px;
    color: white;

    @media (max-width: 768px) {
        padding: 24px 15px;
    }

    .footer--fat {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 24px;

        @media (max-width: 768px) {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        & > div {
            flex: 1 0 0;

            &:last-child {
                flex: 2 0 0;

                @media (max-width: 768px) {
                    grid-column: span 2;
                }
            }
        }

        .footer--links {
            list-style: none;
            margin: 0;
            padding: 0;

            li {
                margin-top: 6px;
            }

            a {
                text-decoration: none;
                color: rgba(255, 255, 255, 0.65);
                transition: color 0.2s;

                &:hover {
                    color: rgba(255, 255, 255, 1.0);
                }
            }
        }

        address {
            color: inherit;
        }

        .footer--address-links {
            margin-top: 24px;

            li {
                padding-left: 28px;

                &:nth-child(1) {
                    position: relative;

                    a:before {
                        content: "";
                        display: block;
                        position: absolute;
                        left: 2px;
                        top: 50%;
                        transform: translateY(-50%);
                        width: 16px;
                        height: 16px;
                        background: url('/images/icon-map-light.png') no-repeat center center;
                        background-size: contain;
                        margin-right: 8px;
                    }
                }

                &:nth-child(2) {
                    position: relative;

                    a:before {
                        content: "";
                        display: block;
                        position: absolute;
                        left: 2px;
                        top: 50%;
                        transform: translateY(-50%);
                        width: 16px;
                        height: 16px;
                        background: url('/images/icon-email-light.png') no-repeat center center;
                        background-size: contain;
                        margin-right: 8px;
                    }
                }
            }
        }

        .footer--signup {
            form {
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
                align-items: flex;

                input[type="text"] {
                    width: 100%;
                    border: 1px solid #aaa;
                    padding: 12px 12px;
                    font-size: 14px;
                    background-color: transparent;
                    outline: none;
                    color: white;
                }

                input[type="submit"] {
                    margin-left: -1px;
                    border: none;
                    border: 1px solid #aaa;
                    padding: 12px 22px;
                    font-family: "Got", var(--font-sans);
                    font-size: 12px;
                    text-transform: uppercase;
                    background-color: transparent;
                    color: white;
                    cursor: pointer;
                    transition: background-color 0.2s;

                    &:hover {
                        border-color: white;
                    }
                }
            }

        }
    }

    .footer--skinny {
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        text-align: center;

        .footer--wordmark {
            margin: 0;
            font-family: 'PalsLT', serif;
            font-size: 1.5rem;
            font-weight: normal;
            color: #fff;
            letter-spacing: 0.12em;
            line-height: 1;
            text-transform: uppercase;
        }

        .footer--copyright {
            margin-top: 6px;
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.3);

            a {
                text-decoration: none;
                color: rgba(255, 255, 255, 0.45);
                transition: color 0.2s;

                &:hover {
                    color: rgba(255, 255, 255, 0.8);
                }
            }
        }
    }
}


/* ─── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 768px) {

    .nav--overlay.is-open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 90;
    }
}

