/* Shared studio header and footer. Sizes are independent of each page's rem base. */
@font-face {
    font-family: MeraShellHint;
    src: url('/css/fonts/hint_vf.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}
.mera-site-header,
.mera-site-footer {
    box-sizing: border-box;
    width: 92%;
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;
    color: inherit;
    font-family: MeraShellHint, Hint, Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-feature-settings: "ss03" 1, "ss09" 1;
    letter-spacing: -.5px;
}
.mera-site-header *,
.mera-site-footer * { box-sizing: border-box; }
.mera-site-header a,
.mera-site-footer a {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-decoration-line: underline;
    text-decoration-color: var(--c-link-underline, color-mix(in srgb, currentColor 30%, transparent));
    text-decoration-thickness: 1px;
    text-underline-offset: .15em;
    transition: text-decoration-color .2s ease;
}
.mera-site-header a:hover,
.mera-site-footer a:hover { text-decoration-color: currentColor; }
.mera-site-header a:focus-visible,
.mera-site-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.mera-site-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border: 0;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1.2;
}
.mera-site-header a.mera-site-header__brand { text-decoration: none; }
.mera-site-header__contact { white-space: nowrap; }
.mera-content-after-header { padding-top: 180px; }
.mera-site-footer {
    display: block;
    padding: 0 0 50px;
    border: 0;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1.2;
}
.mera-site-footer p { margin: 0; padding: 0; font: inherit; color: inherit; }
.mera-site-footer__project {
    margin: 0 0 100px;
    font-size: clamp(40px, 7.2vw, 138px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.035em;
}
.mera-site-footer__project a {
    display: inline;
    overflow-wrap: normal;
    white-space: normal;
}
.mera-site-footer__socials {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px 80px;
    margin-bottom: 180px;
}
.mera-site-footer__socials > div { min-width: 0; max-width: 100%; }
.mera-site-footer__socials a {
    display: inline-block;
    font-size: clamp(24px, 3.9vw, 56px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.025em;
}
.mera-site-footer__socials p { margin-top: 20px; font-size: 20px; line-height: 1.2; }
.mera-site-footer__copyright { font-size: 20px; line-height: 1.2; }
.mera-case-page .mera-site-footer { margin-top: clamp(80px, 9.375vw, 180px); }
@media (max-width: 1079px) {
    .mera-site-header { font-size: 18px; }
    .mera-site-footer__socials { gap: 40px 60px; }
}
@media (max-width: 767px) {
    .mera-site-header { padding: 20px 0; gap: 20px; font-size: 17px; }
    .mera-content-after-header { padding-top: 100px; }
    .mera-site-footer { padding-bottom: 40px; font-size: 17px; }
    .mera-site-footer__project { margin-bottom: 64px; font-size: clamp(36px, 7.2vw, 55px); line-height: 1.08; }
    .mera-site-footer__socials { flex-direction: column; gap: 32px; margin-bottom: 80px; }
    .mera-site-footer__socials a { font-size: 28px; }
    .mera-site-footer__socials p { margin-top: 16px; font-size: 17px; }
    .mera-site-footer__copyright { font-size: 17px; max-width: 100%; }
}
