@font-face {
    font-family: "Kaushan Script";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/kaushan-script-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Kaushan Script";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/kaushan-script-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body > nav .nav-volunteer {
    position: relative;
    isolation: isolate;
    display: inline-block;
    box-sizing: border-box;
    width: 6rem;
    flex: 0 0 6rem;
    padding: .1rem .1rem .2rem;
    font-family: "Kaushan Script", cursive;
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 1;
    color: #ece2cf;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transform: rotate(-3deg);
    transition: color .25s, transform .25s;
}

body > nav .nav-volunteer::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -.06em;
    right: -.1em;
    bottom: -.46em;
    height: .6em;
    background: #de6a35;
    -webkit-mask: url("volunteer-brush.svg") center / 100% 100% no-repeat;
    mask: url("volunteer-brush.svg") center / 100% 100% no-repeat;
    clip-path: inset(0 100% 0 0);
    transition: clip-path .42s cubic-bezier(.25, .8, .25, 1);
}

body > nav .nav-volunteer:hover,
body > nav .nav-volunteer:focus-visible,
body > nav .nav-volunteer.active {
    color: #fff6e9;
    transform: rotate(-3deg) translateY(-1px);
}

body > nav .nav-volunteer:hover::before,
body > nav .nav-volunteer:focus-visible::before,
body > nav .nav-volunteer.active::before {
    clip-path: inset(0 0 0 0);
}

body > nav .nav-volunteer:focus-visible {
    outline: 2px dashed #de6a35;
    outline-offset: 6px;
}

:root[data-theme="light"] body > nav .nav-volunteer {
    color: #1a1410;
}

.mobile-nav-panel a.mnav-volunteer {
    font-family: "Kaushan Script", cursive;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0;
    color: #de6a35;
}

:root[data-theme="light"] .mobile-nav-panel a.mnav-volunteer {
    color: #a8431a;
}

@media (min-width: 1001px) and (max-width: 1240px) {
    body > nav .nav-volunteer { font-size: 1rem; }
}

@media (max-width: 1000px) {
    body > nav .nav-volunteer.hide-mobile { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    body > nav .nav-volunteer,
    body > nav .nav-volunteer::before { transition: none; }
}
