.header {
    min-height: 5rem;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: .7rem 7%;
    position: absolute;
    inset: 0 0 auto;
    z-index: 5;
    transition: background-color .25s ease, color .25s ease;
}
.header .logo {
    display: none;
}
.header.is-scrolled {
    position: fixed;
    justify-content: space-between;
    background: rgba(246, 234, 219, .9333);
    color: var(--cocoa);
}
.header.is-scrolled .logo {
    display: block;
}
.header.is-scrolled .nav a {
    text-shadow: none;
}
.header.is-scrolled .nav a:hover,
.header.is-scrolled .nav a[aria-current] {
    color: var(--coral-deep);
    border-color: var(--coral);
}
.header.is-scrolled .menu-toggle {
    color: var(--cocoa);
    filter: none;
}
.logo {
    width: 11rem;
    flex: 0 0 auto;
}
.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: .9rem;
    font-family: var(--font-nav);
    font-weight: 700;
    text-transform: uppercase;
}
.nav a {
    padding: .6rem 0;
    border-bottom: 2px solid transparent;
    text-shadow: 0 1px 3px rgb(0 0 0 / .38);
    letter-spacing: 3px;
}
.nav a:hover, .nav a[aria-current] {
    color: #fff;
    border-color: currentColor;
}
.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: #fff;
    padding: .6rem;
    filter: drop-shadow(0 1px 3px rgb(0 0 0 / .3));
}
.footer {
    background: var(--cream);
    color: var(--cocoa);
    border-top: 4px solid var(--coral);
    font-size: .94rem;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.25fr .75fr 1fr 1fr;
    gap: 2.5rem;
    max-width: 90rem;
    margin: 0 auto;
    padding: 3.5rem 6% 3rem;
}
.footer-brand img {
    width: 12rem;
    max-width: 100%;
}
.footer-brand p {
    margin: 1rem 0 1.2rem;
    line-height: 1.55;
}
.footer h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 1.1rem;
    color: var(--coral-deep);
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .65rem;
}
.footer address {
    font-style: normal;
    line-height: 1.65;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
}
.footer a {
    width: fit-content;
}
.footer a:hover {
    color: var(--coral-deep);
    text-decoration: underline;
    text-underline-offset: .2em;
}
.footer-route {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    margin-top: .9rem;
    padding-bottom: .25rem;
    border-bottom: 1px solid currentColor;
    color: var(--coral-deep);
    font-weight: 500;
}
.footer-route svg, .footer-contact svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
}
.footer-contact a {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
}
.footer-bottom {
    background: var(--coral);
    color: var(--cream);
}
.footer-bottom-inner {
    max-width: 90rem;
    margin: 0 auto;
    padding: 1.15rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: .83rem;
}
.footer-bottom a:hover {
    color: var(--cream);
}
.footer-credit {
    font-size: .72rem;
    color: var(--cream);
    opacity: .74;
}
.footer-credit:hover, .footer-credit:focus-visible {
    opacity: 1;
}
.footer-credit span {
    font-family: 'Magra', sans-serif;
    font-weight: 400;
    letter-spacing: .06em;
}
@media (max-width: 68rem) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 2rem;
    }
}
@media (max-width: 37.5rem) {
    .footer-main {
        padding: 2.4rem 7%;
        gap: 1.9rem 1.2rem;
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: .4rem;
        padding-inline: 7%;
    }
}
@media (max-width: 23rem) {
    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 68rem) {
    .nav {
        gap: 1.2rem;
    }
    .header {
        padding-inline: 5%;
    }
}

@media (max-width: 48rem) {
    .header {
        min-height: 4.4rem;
        padding: .65rem 5%;
    }
    .logo {
        width: 9.5rem;
    }
    .menu-toggle {
        display: block;
    }
    .nav {
        display: none;
        position: absolute;
        inset: 100% 0 auto;
        padding: 1.1rem 6%;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
    }
    .nav.open {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .header.is-scrolled .nav {
        background: var(--cream);
    }
}

@media (min-aspect-ratio: 2/1) and (max-height: 35rem) {
    .header {
        min-height: 3.5rem;
    }
    .logo {
        width: 9rem;
    }
}
