/* accessibility menu and the modes it switches on; colours come from each page's own tokens */
.skip { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 50; padding: 14px 20px; background: var(--forest); color: var(--lime); font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform 200ms ease; }
.skip:focus { transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wa { position: fixed; right: 16px; bottom: 16px; z-index: 39; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #ffffff; box-shadow: 0 0 0 3px #ffffff, 0 6px 18px rgba(13, 29, 19, .25); text-decoration: none; touch-action: manipulation; -webkit-touch-callout: none; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.wa:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .wa:hover { transform: scale(1.06); } }
.a11y { position: fixed; left: 16px; bottom: 16px; z-index: 40; }
.a11y-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--forest); color: var(--lime); box-shadow: 0 0 0 3px var(--lime); cursor: grab; touch-action: none; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.a11y.dragging .a11y-btn { cursor: grabbing; transform: scale(1.08); }
.a11y-btn:active { transform: scale(.95); }
.a11y-panel { position: fixed; z-index: 41; max-height: calc(100svh - 32px); overflow: auto; width: min(280px, calc(100vw - 32px)); background: #fff; color: #0d1d13; padding: 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 0 0 2px #0d1d13; }
.a11y-panel[hidden] { display: none; }
.a11y-title { font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.a11y-panel button, .a11y-link { min-height: 46px; padding: 0 14px; border: 0; background: #eceee4; color: #0d1d13; text-align: start; font: inherit; font-weight: 600; cursor: pointer; display: flex; align-items: center; text-decoration: none; }
.a11y-opt[aria-pressed="true"] { background: #0d1d13; color: #fff; }
.a11y-opt[aria-pressed="true"]::after { content: "✓"; margin-inline-start: auto; }
.a11y-reset, .a11y-close { background: transparent !important; text-decoration: underline; }
.a11y-link { text-decoration: underline; background: transparent; }

/* larger text: everything set in rem grows with the root */
html.a-big { font-size: 118.75%; }
/* high contrast: the palette collapses to black, white and one yellow */
html.a-hc { --logo: #000000; --paper: #ffffff; --lime: #ffffff; --lime-2: #f2f2f2; --forest: #000000; --forest-2: #000000; --forest-3: #000000; --cream: #ffffff; --cream-2: #f2f2f2; --brown: #000000; --brown-2: #000000; --gold: #ffd400; --ink: #000000; --ink-soft: #000000; }
html.a-hc footer small, html.a-hc .legal { color: #ffffff !important; }
html.a-hc .chain .word { color: #000000; }
html.a-links a { text-decoration: underline !important; text-underline-offset: 4px; }
html.a-links a, html.a-links button { outline: 2px dashed currentColor; outline-offset: 3px; }
html.a-readable { --display: Arial, "Assistant", sans-serif; }
html.a-readable body { letter-spacing: .02em; word-spacing: .1em; line-height: 1.75; }
html.a-calm *, html.a-calm *::before, html.a-calm *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
