@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital@1&display=swap");

/* Measurements follow the Shopify footer (sections/footer.liquid) with the
   live footer-group settings: padding 108/40, mobile 30/22, rule #d5d0ca. */

.mag-footer {
    --ft-muted: #999595;
    --ft-ink: #040000;
    --ft-inset: clamp(0px, 3.65vw, 70px);
    background: #f8f6f5;
    color: var(--ft-ink);
    padding-top: clamp(45px, 5.625vw, 108px);
    padding-bottom: clamp(17px, 2.083333vw, 40px);
    font-family: "Jost", system-ui, sans-serif;
}

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

.mag-footer a {
    color: inherit;
    text-decoration: none;
}

.mag-footer button {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    min-height: 0;
    min-width: 0;
}

.mag-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mag-footer .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.mag-footer-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5.73vw, 110px);
}

.mag-footer-subscribe {
    text-align: center;
}

.mag-footer-intro {
    display: block;
}

.mag-footer-heading {
    margin: 0;
    color: var(--ft-ink);
    font-family: "Jost", system-ui, sans-serif;
    font-weight: 500;
    font-size: clamp(16px, 1.354vw, 26px);
    line-height: 1.68;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-indent: 0.14em;
}

.mag-footer-tagline {
    margin: 0;
    color: var(--ft-muted);
    font-family: "EB Garamond", "Iowan Old Style", Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(12px, 0.885vw, 17px);
    line-height: 1.68;
    letter-spacing: 0.01em;
}

.mag-footer-form {
    position: relative;
    width: 64.24%;
    margin: clamp(20px, 2.058vw, 39.5px) auto 0;
}

.mag-footer-field {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 3px;
    height: clamp(48px, 3.54vw, 68px);
}

.mag-footer .mag-footer-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 clamp(70px, 6.5vw, 125px) 0 clamp(16px, 1.77vw, 34px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ft-ink) !important;
    font-family: "Jost", system-ui, sans-serif;
    font-weight: 300;
    font-size: clamp(14px, 1.145vw, 22px);
    letter-spacing: 0.18em;
    line-height: 1.68;
    min-height: 0 !important;
    appearance: none;
}

.mag-footer-input::placeholder {
    color: var(--ft-muted);
    opacity: 1;
}

.mag-footer-input:focus {
    outline: none;
    box-shadow: none;
}

.mag-footer-field:focus-within {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.mag-footer-submit {
    position: absolute;
    top: 50%;
    right: clamp(16px, 3.33vw, 64px);
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    background: none;
    color: var(--ft-ink);
    line-height: 0;
}

.mag-footer-submit svg {
    width: clamp(22px, 1.65vw, 32px);
    height: auto;
    display: block;
}

.mag-footer-submit:hover {
    opacity: 0.6;
}

.mag-footer-legal,
.mag-footer-messages {
    max-width: 1024px;
    margin: clamp(10px, 0.773vw, 15px) auto 0;
    color: var(--ft-muted);
    font-family: "Jost", system-ui, sans-serif;
    font-weight: 300;
    font-size: clamp(11px, 0.677vw, 13px);
    line-height: 1.41;
    text-align: center;
}

.mag-footer-legal p,
.mag-footer-messages p {
    margin: 0;
}

.mag-footer-legal a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

.mag-footer-messages .success_message {
    color: var(--ft-ink);
}

.mag-footer-tools {
    display: grid;
    grid-template-columns: 76.24% 23.76%;
    align-items: center;
    margin-top: clamp(28px, 3.094vw, 59.4px);
}

.mag-footer-social {
    grid-row: 1;
    grid-column: 1 / -1;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.42vw, 27.3px);
    color: var(--ft-ink);
}

.mag-footer-social a {
    display: block;
    line-height: 0;
    color: inherit;
}

.mag-footer-social svg {
    height: clamp(12px, 0.912vw, 17.5px);
    width: auto;
    display: block;
}

.mag-footer-social a:hover {
    opacity: 0.6;
}

.mag-footer-locale-wrap {
    grid-row: 1;
    grid-column: 2;
    justify-self: start;
    position: relative;
}

.mag-footer button.mag-footer-locale {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 0.81vw, 15.6px);
    color: var(--ft-ink);
    font-family: "Jost", system-ui, sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.68;
    letter-spacing: 0.1em;
}

.mag-footer-locale > span {
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.mag-footer-locale svg {
    width: 13px;
    height: auto;
    display: block;
    flex: 0 0 auto;
}

.mag-footer-locale-menu {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    width: max-content;
    max-width: 280px;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0 10px;
    list-style: none;
    background: #fff;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
    z-index: 70;
}

.mag-footer-locale-menu[hidden] {
    display: none;
}

.mag-footer-locale-menu li {
    margin: 0 12px;
}

.mag-footer-locale-menu li + li {
    border-top: 0.8px solid #d5d0ca;
}

.mag-footer-locale-menu a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 9px 4px;
    background: none;
    border: 0;
    font-family: "Jost", system-ui, sans-serif;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 0.09em;
    line-height: 1.58;
    text-align: center;
    color: var(--ft-ink);
    white-space: nowrap;
    text-decoration: none;
}

.mag-footer-locale-menu a:hover,
.mag-footer-locale-menu a[aria-current="true"] {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mag-footer-locale-cur {
    opacity: 0.6;
}

.mag-footer-rule {
    border: 0;
    border-top: 1px solid #d5d0ca;
    height: 0;
    margin: clamp(34px, 3.72vw, 71.4px) var(--ft-inset) 0;
}

.mag-footer-bottom {
    display: grid;
    grid-template-columns: 45.19% 39.30% 15.51%;
    align-items: start;
    margin: clamp(26px, 3.065vw, 59px) var(--ft-inset) 0;
}

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

.mag-footer-logo {
    display: block;
    line-height: 0;
}

.mag-footer-logo img {
    width: clamp(190px, 18.23vw, 350px);
    height: calc(clamp(190px, 18.23vw, 350px) * 94.43 / 283.46);
    max-width: none;
    display: block;
}

.mag-footer-copy {
    margin: clamp(14px, 1.416vw, 27px) 0 0;
    color: var(--ft-muted);
    font-family: "Jost", system-ui, sans-serif;
    font-weight: 300;
    font-size: clamp(11px, 0.729vw, 14px);
    line-height: 1.41;
}

.mag-footer-nav {
    grid-column: 2;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: repeat(3, 25.61%);
    justify-content: space-between;
    row-gap: clamp(6px, 0.573vw, 11px);
    margin-top: clamp(4px, 0.475vw, 9px);
}

.mag-footer-nav a {
    color: #00000099;
    font-family: "Jost", system-ui, sans-serif;
    font-weight: 400;
    font-size: clamp(11px, 0.729vw, 14px);
    line-height: 1.68;
    letter-spacing: 0.05em;
    text-decoration: underline;
    text-underline-offset: 0.14em;
    white-space: nowrap;
}

.mag-footer-nav a:hover {
    opacity: 0.65;
}

body.mag-has-php-footer .elementor-location-footer:not(.mag-footer),
body.mag-has-php-footer #colophon {
    display: none !important;
}

@media screen and (max-width: 989px) {
    .mag-footer-form {
        width: 100%;
    }

    .mag-footer-tools {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 24px;
    }

    .mag-footer-social {
        grid-row: auto;
        grid-column: 1;
        justify-self: center;
    }

    .mag-footer-locale-wrap {
        grid-row: auto;
        grid-column: 1;
        justify-self: center;
    }

    .mag-footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        row-gap: 24px;
    }

    .mag-footer-nav {
        grid-column: 1;
        grid-template-columns: repeat(3, auto);
        column-gap: clamp(20px, 4vw, 48px);
        justify-content: center;
        margin-top: 0;
    }
}

@media screen and (max-width: 749px) {
    .mag-footer {
        padding-top: 7.462687vw;
        padding-bottom: 5.472637vw;
    }

    .mag-footer-inner {
        padding: 0 8.96%;
    }

    .mag-footer-subscribe {
        text-align: left;
    }

    .mag-footer-intro {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        padding: 0 3.05%;
    }

    .mag-footer-heading {
        font-size: clamp(9px, 2.74vw, 13px);
        letter-spacing: 0.14em;
        text-indent: 0;
        white-space: nowrap;
    }

    .mag-footer-tagline {
        margin: 0;
        font-size: clamp(8px, 2.49vw, 12px);
        text-align: right;
    }

    .mag-footer-form {
        width: 100%;
        margin-top: clamp(4px, 1.49vw, 7px);
    }

    .mag-footer-field {
        height: clamp(24px, 6.47vw, 31px);
        border-radius: 3px;
    }

    .mag-footer .mag-footer-input {
        padding: 0 clamp(40px, 12.4vw, 60px) 0 3.35% !important;
        font-size: clamp(8px, 2.49vw, 12px);
        letter-spacing: 0.18em;
    }

    .mag-footer-submit {
        right: 6.2%;
    }

    .mag-footer-submit svg {
        width: clamp(20px, 6.62vw, 32px);
    }

    .mag-footer-legal,
    .mag-footer-messages {
        margin-top: clamp(6px, 2.49vw, 12px);
        padding: 0 3.35%;
        font-size: clamp(6px, 1.49vw, 8px);
        line-height: 1.41;
        text-align: left;
    }

    .mag-footer-tools {
        grid-template-columns: auto auto;
        justify-content: space-between;
        align-items: center;
        margin-top: clamp(18px, 7.67vw, 31px);
        row-gap: 0;
    }

    .mag-footer-social {
        grid-row: 1;
        grid-column: 2;
        justify-self: end;
        gap: clamp(5px, 1.98vw, 8px);
    }

    .mag-footer-social svg {
        height: clamp(11px, 3.73vw, 15px);
    }

    .mag-footer-locale-wrap {
        grid-row: 1;
        grid-column: 1;
        justify-self: start;
    }

    .mag-footer-locale {
        font-size: clamp(9px, 2.74vw, 13px);
        letter-spacing: 0.1em;
        gap: clamp(6px, 2.23vw, 9px);
    }

    .mag-footer-locale svg {
        width: clamp(7px, 2.23vw, 9px);
    }

    .mag-footer-rule {
        display: none;
    }

    .mag-footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        margin: clamp(26px, 13.12vw, 62px) 0 0;
        row-gap: clamp(34px, 17.57vw, 82px);
    }

    .mag-footer-nav {
        order: -1;
        grid-column: 1;
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-template-columns: auto;
        justify-content: center;
        justify-items: center;
        row-gap: 0;
        margin-top: 0;
    }

    .mag-footer-nav a {
        font-style: italic;
        font-size: clamp(10px, 2.99vw, 14px);
        line-height: 1.3;
        letter-spacing: 0.05em;
        padding: clamp(5px, 1.73vw, 9px) 14px;
        white-space: normal;
    }

    .mag-footer-logo img {
        width: clamp(120px, 39.2vw, 190px);
        height: calc(clamp(120px, 39.2vw, 190px) * 94.43 / 283.46);
        margin: 0 auto;
    }

    .mag-footer-copy {
        margin-top: clamp(2px, 1.24vw, 5px);
        font-size: clamp(6px, 1.73vw, 9px);
    }
}
