/* --- Services → team chevron: kill 1px seam & keep badge above cards --- */
.services-section {
    isolation: isolate;
}
.services-section__inner {
    position: relative;
    z-index: 1;
}
.services-section__chevron {
    position: relative;
    z-index: 2;
    margin-top: -1px;
}
.services-section__chevron-badge {
    z-index: 3;
}

/* --- Contact section (index): focus rings for tap / keyboard --- */
.contact-premium__link:focus-visible {
    outline: 2px solid #f6b619;
    outline-offset: 2px;
}
.contact-premium a[href^='mailto:']:focus-visible {
    outline: 2px solid #f6b619;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Fixed navbar: fragment links and scrollIntoView respect scroll-padding on the root */
html {
    scroll-padding-top: 6.75rem;
}
@media (min-width: 640px) {
    html {
        scroll-padding-top: 7.25rem;
    }
}
@media (min-width: 1024px) {
    html {
        scroll-padding-top: 8.75rem;
    }
}
@media (min-width: 1280px) {
    html {
        scroll-padding-top: 9.5rem;
    }
}

/* --- Global utilities --- */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.card-gradient {
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
}

/* --- CHS Build watermark (footer) --- */
.chs-build-watermark-wrap {
    text-align: center;
    margin-top: 1.5rem;
}

.chs-build-watermark {
    display: inline-block;
    font-family: "norwester", "Arial Narrow", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    user-select: none;
    transition: opacity 0.2s ease;
}

.chs-build-watermark:hover,
.chs-build-watermark:focus-visible {
    opacity: 0.85;
}

.chs-build-watermark__silicon {
    color: rgb(128 128 128 / var(--tw-text-opacity, 1));
}

.chs-build-watermark__build {
    background: linear-gradient(90deg, #8b7cff 0%, #e093b2 50%, #4ec8b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Navbar scroll animation --- */
#navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#navbar-logo {
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#nav-container {
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#contact-btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-shrunk {
    background-color: rgba(17, 40, 102, 0.98) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}
.navbar-shrunk #nav-container {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}
.navbar-shrunk #navbar-logo {
    height: 3rem !important;
}
@media (min-width: 640px) {
    .navbar-shrunk #navbar-logo {
        height: 3.5rem !important;
    }
}
@media (min-width: 1024px) {
    .navbar-shrunk #navbar-logo {
        height: 4rem !important;
    }
}
@media (min-width: 1280px) {
    .navbar-shrunk #navbar-logo {
        height: 4.5rem !important;
    }
}

.navbar-shrunk #contact-btn {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    font-size: 1.0625rem !important;
}

/* --- Index home hero: motion without hiding text (opacity:0 + failed Tailwind = unreadable) --- */
.hero-home .hero-mosaic {
    transform: translateX(-12px);
    animation: hero-mosaic-in 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.04s forwards;
}

/* Same colour grade on every tile so mixed sources read as one palette */
.hero-home .hero-mosaic-photo,
#careers-hero .hero-mosaic-photo {
    filter: brightness(0.93) saturate(0.64) contrast(1.07);
}

@keyframes hero-mosaic-in {
    to {
        transform: translateX(0);
    }
}
.hero-home .hero-copy > * {
    transform: translateY(16px);
    animation: hero-copy-in 0.75s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.hero-home .hero-copy > *:nth-child(1) {
    animation-delay: 0.08s;
}
.hero-home .hero-copy > *:nth-child(2) {
    animation-delay: 0.2s;
}
.hero-home .hero-copy > *:nth-child(3) {
    animation-delay: 0.34s;
}
.hero-home .hero-copy > *:nth-child(4) {
    animation-delay: 0.48s;
}
@keyframes hero-copy-in {
    to {
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-home .hero-mosaic,
    .hero-home .hero-copy > * {
        animation: none;
        transform: none;
    }
}

/* --- Nav scroll spy (index): active section — gold text only --- */
.nav-link--active {
    color: #f6b619 !important;
}
/* Gold Contact CTA keeps dark label when section is active (scroll spy). */
#contact-btn.nav-link--active {
    color: #0d1f50 !important;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.55),
        0 2px 0 rgba(255, 255, 255, 0.2) inset;
}

#mobile-menu .mobile-nav-contact-cta.nav-link--active {
    color: #0d1f50 !important;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.55),
        0 4px 12px rgba(13, 31, 80, 0.15);
}

/* --- Service dialog: dimmer + panel motion --- */
/* Closed <dialog> must stay display:none — a bare `display:flex` overrides the UA and
   leaves an invisible full-screen layer that eats all clicks. */
.service-dialog:not([open]) {
    display: none !important;
}
.service-dialog[open] {
    position: fixed;
    inset: 0;
    z-index: 100;
    margin: 0;
    max-width: none;
    max-height: none;
    width: 100%;
    min-height: 100%;
    min-height: 100dvh;
    padding: 1rem;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .service-dialog[open] {
        padding: 1.5rem 1.75rem;
    }
}
@media (min-width: 1024px) {
    .service-dialog[open] {
        padding: 2rem 2.5rem;
    }
}
.service-dialog::backdrop {
    background: transparent;
}
.service-dialog__dimmer {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(17, 40, 102, 0.72) 0%, rgba(11, 28, 71, 0.78) 55%, rgba(5, 12, 32, 0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.38s ease;
}
.service-dialog__dimmer--enter {
    opacity: 1;
}
.service-dialog__dimmer--leave {
    opacity: 0;
}
.service-dialog__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(56rem, calc(100vw - 1.5rem));
    margin-block: auto;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 1.5rem;
    background: linear-gradient(165deg, #ffffff 0%, #f4f7fb 42%, #eef3f9 100%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 0 0 1px rgba(246, 182, 25, 0.14),
        0 4px 6px -1px rgba(11, 36, 71, 0.06),
        0 40px 70px -20px rgba(11, 36, 71, 0.45),
        0 0 80px -30px rgba(246, 182, 25, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transform: scale(0.92) translateY(28px);
    opacity: 0;
    filter: blur(12px);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, filter 0.45s ease;
}
.service-dialog__panel-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}
@media (max-width: 767px) {
    .service-dialog__panel {
        margin-block: 0.5rem;
        max-height: calc(100dvh - 1rem);
    }
}
.service-dialog__panel--enter {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: blur(0);
}
.service-dialog__panel--leave {
    transform: scale(0.96) translateY(16px);
    opacity: 0;
    filter: blur(6px);
    transition-duration: 0.28s, 0.26s, 0.28s;
    transition-timing-function: ease, ease, ease;
}
.service-dialog__grid {
    display: grid;
    gap: 1.25rem;
    padding: 1.75rem 1.25rem 1.5rem;
    padding-top: 2.75rem;
}
@media (min-width: 640px) {
    .service-dialog__grid {
        grid-template-columns: 6.5rem minmax(0, 1fr);
        gap: 1.5rem;
        padding: 2.25rem 2rem 1.75rem;
        padding-top: 3rem;
    }
}
@media (min-width: 768px) {
    .service-dialog__grid {
        grid-template-columns: 7.5rem minmax(0, 1fr);
        gap: 1.75rem 2.25rem;
        padding: 2.5rem 2.5rem 2rem;
        padding-top: 3.25rem;
    }
}
@media (min-width: 1024px) {
    .service-dialog__grid {
        grid-template-columns: 8.25rem minmax(0, 1fr);
        gap: 2rem 2.75rem;
        padding: 2.75rem 2.75rem 2.25rem;
        padding-top: 3.5rem;
    }
}
.service-dialog__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(17, 40, 102, 0.08);
}
@media (min-width: 640px) {
    .service-dialog__aside {
        align-items: flex-start;
        text-align: left;
        padding-top: 0.35rem;
        padding-bottom: 0;
        border-bottom: none;
        border-right: 1px solid rgba(17, 40, 102, 0.08);
        padding-right: 0.5rem;
    }
}
.service-dialog__icon-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.25rem;
    height: 5.25rem;
    border-radius: 1.35rem;
    background: linear-gradient(145deg, #ffffff 0%, #eef3f9 100%);
    box-shadow:
        0 0 0 1px rgba(246, 182, 25, 0.35),
        0 12px 28px -8px rgba(11, 36, 71, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
@media (min-width: 768px) {
    .service-dialog__icon-shell {
        width: 6rem;
        height: 6rem;
        border-radius: 1.5rem;
    }
}
.service-dialog__icon-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    line-height: 1;
}
@media (min-width: 768px) {
    .service-dialog__icon-ph {
        font-size: 2.75rem;
    }
}
.service-dialog__eyebrow {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(17, 40, 102, 0.55);
    margin-bottom: 0.5rem;
}
.service-dialog__title {
    font-size: clamp(1.55rem, 2.2vw + 1rem, 2.25rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
}
.service-dialog__prose {
    margin-top: 0.875rem;
    font-size: clamp(1.0625rem, 0.35vw + 0.95rem, 1.1875rem);
    line-height: 1.65;
    color: #4a5568;
}
.service-dialog__prose p {
    margin-bottom: 0.75rem;
}
.service-dialog__prose p:last-of-type {
    margin-bottom: 0;
}
.service-dialog__prose ul {
    margin: 0.5rem 0 0.65rem;
    padding-left: 1.25rem;
    list-style-type: disc;
}
.service-dialog__prose li {
    margin-bottom: 0.45rem;
    padding-left: 0.2rem;
    font-size: 1.03125rem;
    line-height: 1.6;
}
.service-dialog__prose strong {
    color: #112866;
    font-weight: 700;
}
.service-dialog__footer {
    margin-top: 1.35rem;
}
.service-dialog__kofc-disclaimer {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
.service-dialog__cta {
    box-shadow: 0 6px 20px rgba(17, 40, 102, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.service-dialog__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(17, 40, 102, 0.35);
    filter: brightness(1.04);
}
.service-dialog__cta:active {
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .service-dialog__panel,
    .service-dialog__dimmer {
        transition-duration: 0.01ms !important;
    }
}

/* --- Skip link --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    z-index: 10001;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0d1f50;
    background: #f6b619;
    border-radius: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(13, 31, 80, 0.25);
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    outline: 3px solid #112866;
    outline-offset: 3px;
}

#home:focus-visible,
#main-content:focus-visible {
    outline: 3px solid #f6b619;
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Accessibility widget (slide-out panel) --- */
.a11y-widget {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 90;
    isolation: isolate;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.45;
}
@media (min-width: 768px) {
    .a11y-widget {
        bottom: 1.35rem;
        right: 1.35rem;
    }
}

/* Universal-access style: blue disc + light “person” (Phosphor person-arms-spread), KofC gold ring */
.a11y-widget__launcher {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0;
    padding: 0;
    border-radius: 9999px;
    background: linear-gradient(165deg, #153a8f 0%, #112866 50%, #0d1f50 100%);
    color: #fff;
    border: 2px solid rgba(246, 182, 25, 0.5);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 8px 28px rgba(13, 31, 80, 0.38);
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}
.a11y-widget__launcher:hover {
    transform: translateY(-2px);
    border-color: rgba(246, 182, 25, 0.75);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 12px 32px rgba(13, 31, 80, 0.42);
}
.a11y-widget__launcher:focus-visible {
    outline: 3px solid #f6b619;
    outline-offset: 3px;
}
.a11y-widget__launcher-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
}
.a11y-widget__launcher-icon .ph-fill.ph-person-arms-spread {
    font-size: 1.58rem;
}
.a11y-widget__launcher-icon .ph-bold.ph-x {
    font-size: 1.35rem;
}

.a11y-widget__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(13, 31, 80, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.a11y-widget__backdrop--visible {
    opacity: 1;
    pointer-events: auto;
}

/* Centered card (avoids a narrow strip stuck to the viewport top-right) */
.a11y-widget__panel {
    position: fixed;
    left: 50%;
    top: 50%;
    right: auto;
    z-index: 2;
    width: min(22rem, calc(100vw - 1.5rem));
    max-height: min(34rem, calc(100dvh - 2rem));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fafbfc;
    color: #0d1f50;
    border-radius: 1.1rem;
    border: 1px solid rgba(17, 40, 102, 0.1);
    box-shadow:
        0 0 0 3px #f6b619,
        0 4px 6px rgba(13, 31, 80, 0.04),
        0 24px 48px rgba(13, 31, 80, 0.16),
        0 48px 80px rgba(13, 31, 80, 0.1);
    display: flex;
    flex-direction: column;
    text-align: left;
    transform: translate(-50%, -48%) scale(0.96);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
        transform 0.28s cubic-bezier(0.33, 1, 0.68, 1),
        opacity 0.22s ease,
        visibility 0s linear 0.28s;
}
.a11y-widget__panel--open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition:
        transform 0.28s cubic-bezier(0.33, 1, 0.68, 1),
        opacity 0.22s ease,
        visibility 0s linear 0s;
}

.a11y-widget__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 1.25rem 1rem 1.1rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid rgba(17, 40, 102, 0.08);
    position: sticky;
    top: 0;
    z-index: 1;
}
.a11y-widget__head-text {
    min-width: 0;
}
.a11y-widget__title {
    margin: 0;
    font-family: Merriweather, Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #0d1f50;
    line-height: 1.25;
}
.a11y-widget__sub {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.35;
}
.a11y-widget__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(17, 40, 102, 0.12);
    border-radius: 0.65rem;
    background: #f8fafc;
    color: #112866;
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}
.a11y-widget__close:hover {
    background: #eef2f7;
    border-color: rgba(17, 40, 102, 0.2);
}
.a11y-widget__close:focus-visible {
    outline: 2px solid #f6b619;
    outline-offset: 2px;
}

.a11y-widget__body {
    padding: 1.1rem 1.15rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.a11y-widget__section {
    margin: 0;
    padding: 0;
}
.a11y-widget__section-label {
    margin: 0 0 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #112866;
    opacity: 0.85;
}

.a11y-widget__stepper {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    background: #fff;
    border: 1px solid rgba(17, 40, 102, 0.1);
    border-radius: 0.85rem;
    box-shadow: 0 1px 2px rgba(13, 31, 80, 0.04);
}
.a11y-widget__stepper-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0.65rem;
    background: #f1f5f9;
    color: #0d1f50;
    font-size: 1.15rem;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}
.a11y-widget__stepper-btn:hover:not(:disabled) {
    background: #e2e8f0;
}
.a11y-widget__stepper-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}
.a11y-widget__stepper-btn:focus-visible {
    outline: 2px solid #f6b619;
    outline-offset: 2px;
}
.a11y-widget__stepper-value {
    flex: 1;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #0d1f50;
    min-width: 0;
}

.a11y-widget__text-btn {
    margin: 0.5rem 0 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #112866;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    align-self: flex-start;
}
.a11y-widget__text-btn:hover {
    color: #0d1f50;
}
.a11y-widget__text-btn:focus-visible {
    outline: 2px solid #f6b619;
    outline-offset: 3px;
    border-radius: 2px;
}

.a11y-widget__options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.a11y-widget__options li {
    margin: 0;
}

.a11y-widget__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0.75rem 0.85rem;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(17, 40, 102, 0.08);
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(13, 31, 80, 0.03);
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
.a11y-widget__option:hover {
    border-color: rgba(17, 40, 102, 0.14);
    box-shadow: 0 2px 8px rgba(13, 31, 80, 0.06);
}
.a11y-widget__option:focus-visible {
    outline: 2px solid #f6b619;
    outline-offset: 2px;
}
.a11y-widget__option-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0d1f50;
    line-height: 1.3;
}

.a11y-widget__pill {
    position: relative;
    flex-shrink: 0;
    width: 2.5rem;
    height: 1.4rem;
    border-radius: 9999px;
    background: #cbd5e1;
    transition: background 0.2s ease;
}
.a11y-widget__pill-knob {
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(13, 31, 80, 0.2);
    transition: transform 0.2s ease;
}
.a11y-widget__option[aria-checked='true'] .a11y-widget__pill {
    background: #112866;
}
.a11y-widget__option[aria-checked='true'] .a11y-widget__pill-knob {
    transform: translateX(1.1rem);
}

.a11y-widget__footer-btn {
    margin: 0.15rem 0 0;
    padding: 0.65rem 0.5rem;
    width: 100%;
    border: none;
    border-radius: 0.65rem;
    background: transparent;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color 0.15s ease;
}
.a11y-widget__footer-btn:hover {
    color: #112866;
}
.a11y-widget__footer-btn:focus-visible {
    outline: 2px solid #f6b619;
    outline-offset: 2px;
}

html.a11y-reduce-motion .a11y-widget__launcher,
html.a11y-reduce-motion .a11y-widget__panel,
html.a11y-reduce-motion .a11y-widget__backdrop,
html.a11y-reduce-motion .a11y-widget__pill,
html.a11y-reduce-motion .a11y-widget__pill-knob {
    transition-duration: 0.01ms !important;
}

/* --- Accessibility: text scale (root rem) --- */
html[data-a11y-text-scale='1'] {
    font-size: 112.5%;
}
html[data-a11y-text-scale='2'] {
    font-size: 125%;
}
html[data-a11y-text-scale='3'] {
    font-size: 137.5%;
}

/* --- Accessibility: high contrast (body copy & grays) --- */
html.a11y-high-contrast [class~='text-kofc-gray'] {
    color: #111827 !important;
}
html.a11y-high-contrast [class~='text-gray-800'] {
    color: #0f172a !important;
}
html.a11y-high-contrast .text-white\/85,
html.a11y-high-contrast .text-white\/80,
html.a11y-high-contrast .text-white\/90 {
    color: #ffffff !important;
}
html.a11y-high-contrast .text-white\/55 {
    color: #f1f5f9 !important;
}
html.a11y-high-contrast .service-dialog__prose {
    color: #111827;
}
html.a11y-high-contrast .service-dialog__prose strong {
    color: #0d1f50;
}

/* --- Accessibility: underline links --- */
html.a11y-highlight-links a[href] {
    text-decoration: underline !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* --- Accessibility: reduce motion sitewide --- */
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}
