/* Keeps analytics fallback elements off-screen in noscript mode */
.tracking-noscript-hidden {
    display: none;
}

.tracking-noscript-frame {
    display: none;
    visibility: hidden;
}

header.design-site-header {
    position: sticky;
    top: 0;
}

header.design-site-header,
footer.design-site-footer {
    background: #3a3a3e;
    color: #f1efea;
    box-shadow: none;
    padding: 0;
    text-align: left;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.design-site-header {
    border-bottom: 0;
    position: relative;
    z-index: 40;
    display: block;
    margin: 0;
    width: 100%;
    padding: 0;
}

.design-site-header__inner {
    width: auto;
    max-width: 1180px;
    margin: 0 auto;
    min-height: 66px;
    padding: 0 1.9rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 1rem;
    background: #3a3a3e;
}

.design-site-header__brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    color: #efebe5;
    text-decoration: none;
}

.design-site-header__brand-main {
    font-family: "Cormorant", serif;
    font-size: 26px;
    letter-spacing: 0.03em;
    line-height: 0.95;
}

.design-site-header__brand-sub {
    display: none;
}

.design-site-header__center {
    justify-self: center;
    text-decoration: none;
    color: #e9e7e2;
    font-family: "Cormorant", serif;
    font-size: 26px;
    letter-spacing: 0.025em;
    line-height: 1;
}

.design-site-header__nav {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ebe8e2;
    font-size: 1rem;
}

.design-site-header__nav a {
    color: #ebe8e2;
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    font-weight: 500;
    padding: 0;
    margin: 0;
}

.design-site-header__nav a:hover {
    text-decoration: underline;
    background: transparent;
}

.design-site-header__mobile-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.design-site-header__mobile-toggle span {
    display: block;
}

.design-mobile-menu {
    display: none;
}

.design-mobile-menu[hidden] {
    display: none !important;
}

html.design-mobile-menu-open,
body.design-mobile-menu-open {
    overflow: hidden;
}

.design-site-footer {
    margin-top: 0;
    border-top: 0;
}

.design-site-footer p {
    padding: 0;
}

.design-site-footer__desktop {
    display: block;
}

.design-site-footer__inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 3rem 2.6rem 2.2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 2.7rem;
    align-items: start;
}

.design-site-footer__intro h2 {
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 0.88;
    color: #efede8;
}

.design-site-footer__intro p {
    margin: 1.1rem 0 0;
    color: #e4e1db;
    font-size: 18px;
    line-height: 1.35;
    text-align: left;
}

.design-site-footer__intro p + p {
    margin-top: 0.6rem;
}

.design-site-footer__intro a,
.design-site-footer__col a,
.design-site-footer__bottom a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.design-site-footer__col h3 {
    margin: 0 0 0.8rem;
    font-size: 18px;
    font-weight: 700;
    color: #f4f2ec;
}

.design-site-footer__col a {
    display: block;
    margin-top: 0.3rem;
    font-size: 18px;
    text-decoration: none;
    color: #e7e5e0;
}

.design-site-footer__col a:hover {
    text-decoration: underline;
}

.design-site-footer__social {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
    margin-top: 0.2rem;
}

.design-site-footer__social a {
    width: 2.1rem;
    height: 2.1rem;
    display: grid;
    place-items: center;
    color: #f4f1eb;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 700;
}

.design-site-footer__bottom {
    max-width: 1260px;
    margin: 0 auto;
    border-top: 1px solid rgba(234, 230, 223, 0.62);
    padding: 0.9rem 2.6rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.design-site-footer__bottom p {
    margin: 0;
    color: #d9d7d1;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
}

.design-site-footer__bottom div {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.design-site-footer__bottom a {
    color: #dad8d3;
    font-size: 14px;
}

.design-site-footer__mobile {
    display: none;
}

@media (max-width: 900px) {
    .design-site-header__inner {
        min-height: 70px;
        grid-template-columns: 1fr;
        padding: 1rem 1rem 1.05rem;
        position: relative;
    }

    .design-site-header__brand {
        justify-self: center;
        flex-direction: column;
        align-items: center;
        gap: 0.15rem;
    }

    .design-site-header__brand-main {
        font-size: 32px;
        line-height: 0.86;
        letter-spacing: 0.02em;
    }

    .design-site-header__brand-sub {
        display: block;
        font-family: "Cormorant", serif;
        font-size: 12px;
        letter-spacing: 0.08em;
        line-height: 0.9;
        color: #ece9e4;
    }

    .design-site-header__center,
    .design-site-header__nav {
        display: none;
    }

    .design-site-header__mobile-toggle {
        display: grid;
        position: absolute;
        right: 0.85rem;
        top: 50%;
        transform: translateY(-48%);
        z-index: 4;
        gap: 0.45rem;
        padding: 0.25rem;
    }

    .design-site-header__mobile-toggle span {
        width: 0.75rem;
        height: 0.75rem;
        border-radius: 999px;
        display: block;
        background: #f4f2ee;
        font-size: 0;
        line-height: 0;
    }

    .design-mobile-menu {
        display: grid;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: clamp(430px, 56vh, 520px);
        background: #3a3a3e;
        z-index: 90;
        grid-template-rows: auto 1fr;
        padding: 0 1.45rem 1.9rem;
        box-sizing: border-box;
        margin-top: 0;
    }

    .design-mobile-menu__header {
        min-height: 70px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 16px;
    }

    .design-mobile-menu__brand {
        justify-self: center;
        color: #f2efea;
        text-decoration: none;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 0.15rem;
        margin-inline: 0;
    }

    .design-mobile-menu__brand-main {
        font-family: "Cormorant", serif;
        font-size: 32px;
        line-height: 0.86;
        letter-spacing: 0.02em;
    }

    .design-mobile-menu__brand-sub {
        font-family: "Cormorant", serif;
        font-size: 12px;
        line-height: 0.9;
        letter-spacing: 0.08em;
        color: #ece9e4;
    }

    .design-mobile-menu__close {
        border: 0;
        background: transparent;
        color: #f4f2ee;
        width: 3.55rem;
        height: 3.55rem;
        border-radius: 999px;
        display: grid;
        place-items: center;
        font-size: 4.3rem;
        line-height: 0.75;
        font-weight: 300;
        cursor: pointer;
        position: absolute;
        top: 50px;
        right: 0;
        transform: translateY(-50%);
        z-index: 100;
    }

    .design-mobile-menu__links {
        display: grid;
        align-content: start;
        justify-items: center;
        gap: 2.25rem;
        padding-top: 2.55rem;
    }

    .design-mobile-menu__links a {
        color: #f2efea;
        text-decoration: underline;
        text-underline-offset: 0.24em;
        text-decoration-thickness: 2px;
        font-size: 24px;
        line-height: 1.05;
        letter-spacing: 0.01em;
        font-weight: 400;
    }

    .design-site-footer__desktop {
        display: none;
    }

    .design-site-footer__mobile {
        display: block;
        background: #3e3f47;
        color: #f0ede8;
        padding: 1.1rem 1rem 1.9rem;
        text-align: center;
    }

    .design-site-footer__mobile-lead {
        margin: 1.25rem auto 1rem;
        max-width: 21rem;
        color: #f1eee9;
        text-align: center;
        font-size: 0.98rem;
        line-height: 1.4;
        letter-spacing: 0.04em;
    }

    .design-site-footer__mobile-rule {
        width: calc(100% - 2rem);
        max-width: 330px;
        margin: 0.4rem auto;
        border-top: 1px solid rgba(236, 231, 224, 0.78);
    }

    .design-site-footer__mobile-service {
        margin: 0;
        text-align: center;
        color: #e2dfd8;
        font-size: 0.9rem;
    }

    .design-site-footer__mobile-service a {
        color: inherit;
        text-underline-offset: 2px;
    }

    .design-site-footer__mobile-links {
        margin-top: 1.2rem;
        display: grid;
        gap: 0.35rem;
        text-align: center;
    }

    .design-site-footer__mobile-links h3 {
        margin: 0.65rem 0 0.25rem;
        font-size: 1.2rem;
        color: #f1eee8;
    }

    .design-site-footer__mobile-links a {
        color: #ece9e3;
        text-decoration: none;
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .design-site-footer__mobile-social {
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        gap: 1.1rem;
    }

    .design-site-footer__mobile-social a {
        width: 2rem;
        height: 2rem;
        display: grid;
        place-items: center;
        color: #f4f1eb;
        text-decoration: none;
        font-size: 1.04rem;
        font-weight: 700;
        line-height: 1;
    }

    .design-site-footer__mobile-policy {
        margin-top: 0.8rem;
        display: grid;
        gap: 0.3rem;
        text-align: center;
    }

    .design-site-footer__mobile-policy a {
        color: #dcd8d2;
        font-size: 0.9rem;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .design-site-footer__mobile-bottom {
        margin-top: 1rem;
        border-top: 1px solid rgba(236, 231, 224, 0.78);
        padding-top: 0.9rem;
        text-align: center;
        color: #d9d6cf;
        font-size: 0.9rem;
        line-height: 1.25;
    }
}

@media (max-width: 414px) {
    .design-site-header__inner {
        min-height: 96px;
        padding-top: 0.9rem;
        padding-bottom: 0.85rem;
    }

    .design-site-header__brand-main {
        font-size: 2.6rem;
    }

    .design-site-header__brand-sub {
        font-size: 1.2rem;
    }

    .design-mobile-menu {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .design-mobile-menu__header {
        min-height: 70px;
        padding: 16px;
    }

    .design-mobile-menu__brand {
        margin-left: 1.8rem;
    }

    .design-mobile-menu__links {
        gap: 2rem;
        padding-top: 2.45rem;
    }

    .design-site-footer__mobile {
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }

    .design-site-footer__mobile-lead {
        font-size: 0.92rem;
    }

    .design-site-footer__mobile-links a {
        font-size: 1rem;
    }
}
