/* Default rules affect only the new tools and keyboard focus. */
.choice-a11y [hidden] { display: none !important; }
.choice-a11y__trigger { position: fixed; z-index: 9900; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 8px; border: 2px solid #d8ed84; border-radius: 50%; background: #171b42; color: #fff; cursor: pointer; }
.choice-a11y__dialog { position: fixed; inset: auto 1rem 4.5rem auto; width: min(25rem, calc(100vw - 2rem)); max-height: min(80vh, 44rem); margin: 0; padding: 1.25rem; border: 2px solid #171b42; border-radius: 12px; background: #fff; color: #171b42; font: 1rem/1.5 Arial, sans-serif; overflow: auto; }
.choice-a11y__dialog::backdrop { background: #0005; }
.choice-a11y__heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.choice-a11y__dialog h2 { font: bold 1.35rem/1.3 Arial, sans-serif; letter-spacing: normal; margin: 0 0 1rem; }
.choice-a11y__dialog p { margin: 0 0 1rem; }
.choice-a11y__dialog a { color: #003c91; text-decoration: underline; }
.choice-a11y__dialog button { min-height: 44px; padding: .55rem .75rem; border: 2px solid #171b42; border-radius: 5px; background: #fff; color: #171b42; font: bold 1rem/1.4 Arial, sans-serif; cursor: pointer; }
.choice-a11y__dialog button[aria-pressed="true"] { background: #171b42; color: #fff; }
.choice-a11y__dialog button[aria-pressed="true"]::after { content: ' ✓'; }
.choice-a11y__options { display: grid; gap: .65rem; margin-bottom: 1rem; }
.choice-a11y__status:empty { display: none; }
:focus-visible { outline: 3px solid #006b78; outline-offset: 4px; box-shadow: 0 0 0 3px #fff; }
main:focus:not(:focus-visible) { outline: none; }
/* Reveal animations use opacity for visuals; headings remain in the accessibility tree. */
html.motion-ready [data-reveal-section] .section-heading,
html.motion-ready [data-reveal-section] .section-heading h2,
html.motion-ready [data-reveal-section] .media-split__copy h2,
html.motion-ready [data-reveal-card], html.motion-ready [data-reveal-step],
html.motion-ready [data-slide-copy] { visibility: visible !important; }
@media (max-width: 48rem) { .choice-a11y__trigger { bottom: 5rem; } .choice-a11y__dialog { bottom: 8.5rem; max-height: calc(100dvh - 10rem); } }
/* Every visual adjustment is gated by an explicit stored/user choice. */
html[data-a11y-text] { font-size: 125%; }
html[data-a11y-font] body, html[data-a11y-font] body * { font-family: Arial, Verdana, sans-serif !important; letter-spacing: normal !important; }
html[data-a11y-links] a { text-decoration: underline !important; text-underline-offset: .2em; }
html[data-a11y-contrast] body, html[data-a11y-contrast] body *:not(img):not(video):not(svg):not(svg *) { color: #111 !important; background-color: #fff !important; text-shadow: none !important; box-shadow: none !important; border-color: #111 !important; background-image: none !important; }
html[data-a11y-contrast] body a { color: #003c91 !important; }
html[data-a11y-contrast] [aria-pressed="true"] { outline: 3px solid #111; outline-offset: -5px; }
html[data-a11y-motion] { scroll-behavior: auto !important; }
html[data-a11y-motion] *, html[data-a11y-motion] *::before, html[data-a11y-motion] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-a11y-motion] [data-hero-copy] *, html[data-a11y-motion] [data-reveal-section] .section-heading, html[data-a11y-motion] [data-reveal-card], html[data-a11y-motion] [data-reveal-step], html[data-a11y-motion] [data-slide-copy], html[data-a11y-motion] [data-slide-media], html[data-a11y-motion] .answer-block, html[data-a11y-motion] .media-split__copy { opacity: 1 !important; visibility: visible !important; transform: none !important; }
html[data-a11y-motion] [data-hero-media], html[data-a11y-motion] [data-hero-bg], html[data-a11y-motion] [data-hero-depth], html[data-a11y-motion] [data-parallax-image], html[data-a11y-motion] [data-parallax-media] img, html[data-a11y-motion] .button, html[data-a11y-motion] [data-section-atmosphere] * { transform: none !important; }
html[data-a11y-motion] .ambient-lights, html[data-a11y-motion] [data-site-loader] { display: none !important; }
html[data-a11y-motion] [data-horizontal-reel] { position: static !important; transform: none !important; }
html[data-a11y-motion] [data-horizontal-track] { transform: none !important; flex-wrap: wrap !important; }
html[data-a11y-motion] .pin-spacer { height: auto !important; padding: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-hero-copy] *, [data-reveal-section] .section-heading, [data-reveal-card], [data-reveal-step], [data-slide-copy], [data-slide-media], .answer-block, .media-split__copy { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .ambient-lights, [data-site-loader] { display: none !important; }
}
