/* Isolated overrides, loaded after the existing theme stylesheet. */
.primary-navigation { display: contents; }
header.header button.nav-toggle {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
    text-align: inherit;
    vertical-align: baseline;
    cursor: pointer;
}
header.header .primary-nav button.nav-toggle { line-height: 1.6rem; }
header.header .primary-nav.child-active button.nav-toggle { opacity: .3; }
header.header .primary-nav.child-active button.nav-toggle.trigger-active,
.about-page header.header .primary-nav.child-active.about-page-active button.nav-toggle { opacity: 1; }
.a11y-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
body :is(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #111 !important;
}
body .skip:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 1rem;
    z-index: 2147483647;
    background: #fff;
    color: #111;
}
body .skip + .skip:focus { top: 5rem; }
#main-content:focus, #contact:focus { outline: none !important; box-shadow: none !important; }
/* Keep keyboard-focused navigation visible when the footer hides the header. */
.reached-footer header.header:focus-within { opacity: 1 !important; }
.reached-footer header.header:focus-within :is(.header-wrapper, .header-inner-wrapper, .col, .primary-nav, a, button) { pointer-events: auto; }
