/* ===== accessibility menu (shared by every page) ===== */
.a11y-open { position: fixed; z-index: 40; bottom: 16px; left: 16px; width: 48px; height: 48px; display: grid; place-items: center;
  color: #f5d76e; background: #000; border: 1px solid rgba(212,175,55,.55); cursor: pointer; }
.a11y-open:hover, .a11y-open[aria-expanded="true"] { color: #000; background: #f5d76e; }
.a11y-panel { position: fixed; z-index: 60; bottom: 76px; left: 16px; width: min(330px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto;
  padding: 18px; background: #0b0b0b; color: #ece7dc; border: 1px solid #f5d76e; font-family: 'Frank', Arial, sans-serif; font-size: 1rem; line-height: 1.4; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.a11y-head h2 { margin: 0; font-size: 1.3rem; font-weight: 900; color: #f5d76e; }
.a11y-panel button { font: inherit; cursor: pointer; }
.a11y-close { width: 40px; height: 40px; color: #ece7dc; background: transparent; border: 1px solid #555; }
.a11y-size { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #333; }
.a11y-size span { flex: 1; }
.a11y-size button { width: 44px; height: 40px; color: #000; background: #ece7dc; border: 0; font-weight: 900; }
.a11y-size output { min-width: 3.2em; text-align: center; }
.a11y-list { list-style: none; margin: 10px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-list button { width: 100%; min-height: 48px; padding: 6px 8px; color: #ece7dc; background: #161616; border: 1px solid #444; text-align: center; }
.a11y-list button[aria-pressed="true"] { color: #000; background: #f5d76e; border-color: #f5d76e; font-weight: 900; }
.a11y-list button[aria-pressed="true"]::before { content: '✓ '; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid #333; }
.a11y-reset { min-height: 40px; padding: 0 12px; color: #ece7dc; background: transparent; border: 1px solid #555; }
.a11y-foot a { color: #f5d76e; padding: 8px 0; }

/* ===== the options ===== */
/* high contrast: pure white text, yellow links, solid black behind every block */
.a11y-contrast { --ink: #fff; --ink-2: #fff; --gold: #ffe600; --gold-hi: #ffe600; --rule: #fff; }
.a11y-contrast body, .a11y-contrast .panel, .a11y-contrast .nav, .a11y-contrast .foot { background: #000 !important; color: #fff !important; }
.a11y-contrast a { color: #ffe600 !important; text-decoration: underline !important; }
.a11y-contrast .btn { color: #000 !important; background: #ffe600 !important; }
.a11y-contrast .world { opacity: .35; }

/* links stand out everywhere */
.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; outline: 1px dashed currentColor; outline-offset: 3px; }

/* a plain sans for reading */
.a11y-font body, .a11y-font .a11y-panel, .a11y-font button { font-family: Arial, 'Segoe UI', 'Helvetica Neue', sans-serif !important; }
.a11y-font [lang="en"], .a11y-font .services span, .a11y-font .frames span, .a11y-font .credit, .a11y-font .brand .word { font-family: Arial, sans-serif !important; }

/* more space between lines, letters and words */
.a11y-spacing p, .a11y-spacing li, .a11y-spacing dd, .a11y-spacing dt { line-height: 2 !important; letter-spacing: .04em !important; word-spacing: .16em !important; }

/* stop every CSS animation and transition (the 3D stops in main.js) */
.a11y-still *, .a11y-still *::before, .a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* a large cursor */
.a11y-cursor, .a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M3 2l17 9-7 2-3 7z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 3 2, auto !important; }
