@font-face {
    font-family: 'Garamond';
    src: url('ebgaramond-variablefont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
:root { 
    --bg: #3f382c;
    /* --paper: #c9b086; */
    --paper: #c6b58b;
    --accent: #ed1b24;
    --footer: #2f2924;
    --max-page: 62.5rem;
    --menu-offset: 8rem;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: var(--bg);
    color: var(--paper);
    font-family: "Garamond", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

a {
    color: var(--paper);
    text-decoration: none;
}

.page {
    width: 100%;
    display: flex;
    justify-content: center;
}

.sheet {
    width: 100%;
    max-width: var(--max-page);
    background: var(--bg);
}

.floating-menu-wrap {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(63, 56, 44, 1);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    transition: box-shadow 0.2s ease;
}

.floating-menu-wrap.is-scrolled {
    box-shadow: 0 0.75rem 1rem -0.75rem rgba(0, 0, 0, 0.45);
}

.top-nav {
    padding: 2.625rem 1.875rem 0;
    padding-bottom: 2rem;
    font-size: 0.8125rem;
    line-height: 1;
    max-width: var(--max-page);
    margin: 0 auto;
}

.top-nav .container-fluid {
    min-height: 3.5rem;
}

.top-nav .nav-link {
    color: var(--paper);
    font-size: 1.2rem;
    text-decoration: none;
    text-align: center;
    opacity: 1;
}

.top-nav .nav-link:hover,
.top-nav .nav-link:focus {
    color: var(--paper);
    opacity: 1;
}

.top-nav .navbar-toggler {
    border: 0;
    border-radius: 0;
    padding: 0.125rem 0.25rem;
    box-shadow: none;
}

.top-nav .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.nav-desktop-side {
    min-width: 10rem;
    gap: 4rem !important;
}

.top-nav .collapse {
    flex-basis: 100%;
}

.mobile-nav-list {
    width: max-content;
}

.mobile-nav-list .nav-link {
    text-align: right;
    padding-right: 0;
}

.brand {
    text-align: center;
    margin: 0;
    line-height: 1;
    padding: 0 0.375rem;
}

.brand img {
    width: clamp(12.75rem, 31.2vw, 17.25rem);
    height: auto;
    display: block;
}

.jack {
    text-align: center;
    padding-top: 5.875rem;
}

.jack-art {
    width: 78%;
    display: block;
    margin: 0 auto;
}

.jack-copy {
    width: 84%;
    margin: -23.875rem auto 23.125rem;
    font-size: 2.3125rem;
    line-height: 1.12;
    text-align: center;
}

.divider {
    width: min(72%, 42rem);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
}

.divider::before,
.divider::after {
    content: "";
    width: clamp(6.5rem, 16vw, 9rem);
    height: 0.125rem;
    background: var(--accent);
    display: block;
}

.divider span {
    font-family: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.section-title {
    width: 88%;
    margin: 4.75rem auto 0;
    text-align: center;
    font-size: 2.3125rem;
    line-height: 1.2;
    font-weight: 400;
}

.body-copy {
    width: 82%;
    margin: 2rem auto 0;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.38;
}

.section-space {
    margin-top: 7rem;
}

.products-art {
    width: 76%;
    display: block;
    margin: 4.625rem auto 0;
}

.product-images-row {
    margin-left: 5rem;
    margin-top: 3rem;
    align-items: flex-end;
}

.product-images-row > [class*='col-'] {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.product-images-row .products-art {
    width: auto;
    height: clamp(11.2rem, 23.2vw, 17.6rem);
    margin: 0;
    object-fit: contain;
    object-position: bottom center;
}

.product-copy-row {
    padding-top: 2.125rem;
}

.product-columns {
    padding: 3.125rem 6rem 0;
    text-align: center;
}

.product-columns h3 {
    margin: 0 0 0.75rem;
    font-size: 2.375rem;
    font-weight: 400;
}

.product-columns p {
    width: 95%;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.35;
}

.events-art {
    width: 48%;
    display: block;
    margin: 4.125rem auto 0;
}

.events-title {
    width: 84%;
    margin: 3.625rem auto 0;
    text-align: center;
    font-size: 2.3125rem;
    line-height: 1.18;
    font-weight: 400;
}

.map-art {
    width: 100%;
    display: block;
    margin-top: 4rem;
}

.lodge-map-wrap {
    position: relative;
    background: transparent;
    overflow: hidden;
    min-height: 22rem;
}

.lodge-map-frame {
    width: 100%;
    height: min(32rem, 62vw);
    min-height: 22rem;
    border: 0;
    background: #3f382c;
    display: block;
}

.map-pin-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    width: 3.25rem;
    height: auto;
    pointer-events: none;
    z-index: 2;
}

.footer {
    width: 100%;
    background: var(--footer);
    margin-top: 0;
    padding: 2.375rem 0 2.75rem;
}

.footer-content {
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 5rem;
}

.footer-left {
    display: flex;
    align-items: flex-end;
    gap: 5rem;
}

.footer-mark {
    margin: 0;
    width: auto;
    height: 2.4rem;
    display: block;
}

.footer-meta {
    display: flex;
    gap: 5rem;
    font-size: 0.95rem;
    line-height: 1.32;
}

.footer-meta p {
    margin: 0;
}

.social {
    display: flex;
    gap: 0.5rem;
}

.social a {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.social img {
    width: 2.2rem;
    height: 2.2rem;
    display: block;
}

.scroll-top-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 3.6rem;
    height: 3.6rem;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 1050;
}

.scroll-top-btn img {
    width: 100%;
    height: 100%;
    display: block;
}

.scroll-top-btn:focus {
    outline: none;
}

@media (max-width: 46.25rem) {
    .floating-menu-wrap {
        background: rgba(63, 56, 44, 0.98);
    }

    .top-nav {
        padding: 1.5rem 1.25rem 0;
    }

    .top-nav .container-fluid {
        min-height: 2.75rem;
    }

    .brand img {
        width: clamp(10.5rem, 50.4vw, 15rem);
    }

    .jack-copy {
        margin-top: -30%;
        margin-bottom: 25%;
        font-size: clamp(1.375rem, 5vw, 2.5625rem);
    }

    .divider {
        width: 82%;
        gap: 1.25rem;
    }

    #philosophy .divider,
    #contact .divider {
        margin-bottom: 2rem;
    }

    .divider::before,
    .divider::after {
        width: clamp(4.25rem, 24vw, 8rem);
    }

    .section-title,
    .events-title {
        font-size: clamp(1.5rem, 5.2vw, 2.6875rem);
    }

    .body-copy,
    .product-columns p {
        font-size: clamp(0.75rem, 2.2vw, 1.25rem);
    }

    .product-columns {
        padding: 2.625rem 1.75rem 0;
        gap: 1.5rem;
    }

    .product-images-row .products-art {
        height: clamp(13rem, 36.8vw, 18.8rem);
    }

    .product-columns h3 {
        font-size: clamp(1.75rem, 5vw, 2.375rem);
    }

    .footer {
        padding: 1.625rem 0 1.875rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-content .row {
        align-items: flex-start !important;
    }

    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-mark {
        height: 2.125rem;
    }

    .footer-meta {
        gap: 1rem;
    }

    .footer-left .d-md-none p {
        margin: 0;
    }

    .footer-left .d-md-none p + p {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .social {
        justify-content: flex-start;
        gap: 0.625rem;
    }

    .social a {
        width: 2.2rem;
        height: 2.2rem;
    }

    .social img {
        width: 2.2rem;
        height: 2.2rem;
    }

    .scroll-top-btn {
        right: 0.875rem;
        bottom: 0.875rem;
        width: 3.2rem;
        height: 3.2rem;
    }

    .lodge-map-frame {
        height: min(26rem, 70vw);
        min-height: 18rem;
    }

    .lodge-map-wrap {
        min-height: 0;
    }

    #contact .col-12 > a {
        display: inline-block;
        margin-top: 0;
        margin-bottom: 3.5rem;
    }

    .map-pin-overlay {
        width: 2.8rem;
    }

    .product-images-row {
        margin-left: 0;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
    }

    /* .product-images-row img{
        height: clamp(15rem, 36.8vw, 20.8rem);
    } */
}

@media (max-width: 32.5rem) {
    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
}

html {
    scroll-padding-top: var(--menu-offset);
}

#philosophy,
#products,
#events,
#contact {
    scroll-margin-top: var(--menu-offset);
}