html { font-size: calc(100% * var(--a11y-text-scale, 1)); }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid #c7e7ff; outline-offset: 5px; }
body { padding-bottom: 56px; }

#accessibility-widget { font-family: 'DM Sans', Arial, sans-serif; font-size: 16px; line-height: 1.5; }
.a11y-launcher { position: fixed; z-index: 40; bottom: max(16px, env(safe-area-inset-bottom)); left: max(16px, env(safe-area-inset-left)); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #8299ad; border-radius: 50%; background: #141e27; color: #e8f1f8; box-shadow: 0 3px 14px #0005; cursor: pointer; }
.a11y-launcher:hover { background: #25465f; }
#accessibility-panel { box-sizing: border-box; position: fixed; inset: auto auto 16px 16px; margin: 0; width: min(320px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 18px; border: 1px solid #617b90; border-radius: 10px; background: #111b24; color: #f4f7fa; font: 15px/1.5 Arial, sans-serif; text-align: right; }
#accessibility-panel::backdrop { background: #03070b99; backdrop-filter: blur(3px); }
.a11y-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
#accessibility-heading { color: #fff; font: 600 20px/1.35 Arial, sans-serif; letter-spacing: 0; margin: 0 0 5px; }
#accessibility-description { font-size: 14px; color: #bfcddb; margin: 0; }
.a11y-close { min-width: 44px; min-height: 44px; background: #1c2b38; border: 1px solid #567087; border-radius: 7px; color: #fff; font: 28px/1 Arial, sans-serif; }
.a11y-text-size { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.a11y-text-size legend { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.a11y-text-size>div { display: flex; align-items: center; gap: 10px; direction: ltr; }
.a11y-text-size button { flex: 1; min-height: 44px; border: 1px solid #5b7891; border-radius: 7px; color: #fff; background: #1c3041; font: 600 18px/1 Arial, sans-serif; }
.a11y-text-size button:disabled { opacity: .5; }
#a11y-text-value { min-width: 65px; text-align: center; font-size: 17px; color: #fff; }
.a11y-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 9px 0; border-bottom: 1px solid #354b5b; cursor: pointer; }
.a11y-option strong { display: block; font-size: 15px; font-weight: 600; color: #f2f6fa; }
.a11y-option small { display: block; font-size: 13px; color: #bbcad7; margin-top: 3px; }
.a11y-option input { width: 20px; height: 20px; flex-shrink: 0; accent-color: #b9ddf8; cursor: pointer; margin: 8px; }
.a11y-reset { display: block; width: 100%; min-height: 44px; margin-top: 14px; padding: 9px; font: 600 14px/1.5 Arial, sans-serif; border: 1px solid #6a879e; border-radius: 6px; background: #1c3041; color: #fff; }
.a11y-help, .a11y-system-motion { color: #b9c9d6; font-size: 13px; margin-top: 14px; }
#a11y-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.a11y-highlight-links .site-shell a { text-decoration: underline !important; text-underline-offset: .22em; text-decoration-thickness: 2px; }
.a11y-high-contrast { --bg: #000; --surface: #000; --text: #fff; --muted: #fff; --faint: #ddd; --line: #b9c3cc; }
.a11y-high-contrast .site-shell { background: #000; }
.a11y-high-contrast .site-shell :is(p, span, a, h1, h2, h3, h4, strong, small, em, code, b, i, blockquote, label, button, summary, select) { color: #fff !important; }
.a11y-high-contrast .site-shell :is(button, select, .panel, .button, .orbit-label, .mobile-nav, .demo-tag, .availability) { background: #000 !important; border-color: #fff !important; }
.a11y-high-contrast .site-shell :is(.primary, [aria-pressed="true"]) { background: #fff !important; color: #000 !important; }
.a11y-high-contrast .site-shell .primary span { color: #000 !important; }
.a11y-high-contrast .equity-chart text { fill: #fff; }
.a11y-high-contrast .equity-chart polyline { stroke: #fff; stroke-width: 2.5; }
.a11y-high-contrast .chart-axis { color: #fff; }
.a11y-reduce-motion, .a11y-reduce-motion * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
.a11y-reduce-motion .flow-art circle { display: none; }

/* Large text reflows content instead of enlarging a clipped fixed layout. */
.a11y-large-text .desktop-nav, .a11y-large-text .about-link { display: none; }
.a11y-large-text .menu-toggle { display: flex; flex-direction: column; gap: 6px; margin-left: auto; background: none; border: 1px solid #708494; padding: 14px 12px; }
.a11y-large-text .menu-toggle span { width: 20px; height: 2px; background: #e5eef5; }
.a11y-large-text .mobile-nav:not([hidden]) { position: relative; display: grid; grid-template-columns: 1fr; left: auto; right: auto; padding: 20px; border: 1px solid #657584; background: #0d1116; gap: 12px; }
.a11y-large-text .mobile-nav a { display: block; font-size: 1rem; padding: 10px; }
.a11y-large-text :is(.hero-copy, .section-copy) { width: 100%; max-width: none; }
.a11y-large-text .hero-copy>p:not(.eyebrow), .a11y-large-text .section-copy>p:not(.eyebrow) { max-width: 42rem; }
.a11y-large-text .hero h1 { font-size: clamp(2.3rem, 6vw, 5.875rem); overflow-wrap: anywhere; }
.a11y-large-text .hero { padding-bottom: 45px; }
.a11y-large-text .flow-art { opacity: .2; }
.a11y-large-text :is(.hero-actions, .panel-head, .code-footer, .video-band, .footer-top, .footer-bottom, .manifesto-strip, .collection-bottom, .video-caption, .journal-performance-top) { flex-wrap: wrap; height: auto; }
.a11y-large-text .panel-head { padding-block: 14px; }
.a11y-large-text :is(.home-section, .about-section, .approach-feature, .collection-empty, .about-feature, .content-grid, .about-destinations, .principles) { grid-template-columns: minmax(0, 1fr); }
.a11y-large-text :is(h1, h2, h3, p, a) { overflow-wrap: anywhere; }
.a11y-large-text .section-copy h2 br { display: initial; }
.a11y-large-text .code-lines, .a11y-large-text .code-state { height: auto; min-height: 292px; }
.a11y-large-text .code-tabs { gap: 18px; }
.a11y-large-text .book-stage { height: auto; min-height: 420px; }
.a11y-large-text .book-cover { width: min(100%, 23rem); height: auto; min-height: 400px; transform: none; }
.a11y-large-text .book-title, .a11y-large-text .quote blockquote { overflow-wrap: anywhere; }
.a11y-large-text .book-bottom { position: static; margin-top: 30px; gap: 15px; flex-wrap: wrap; }
.a11y-large-text .book-side-note, .a11y-large-text .book-spine { display: none; }
.a11y-large-text .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 0; }
.a11y-large-text .research-art { min-height: 380px; }
.a11y-large-text .orbit-label { max-width: 48%; }
.a11y-large-text .quote { margin: 30px 0 0 30px; }
.a11y-large-text .about-monogram { overflow: hidden; }
.a11y-large-text .video-caption .text-link { white-space: normal; }
@media(max-width:480px) { .a11y-launcher { bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; } #accessibility-panel { inset: auto auto 12px 12px; width: min(320px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 16px; } .a11y-large-text .hero { min-height: auto; } .a11y-large-text .scroll-cue { margin-top: 45px; } .a11y-large-text .flow-art { display: none; } .a11y-large-text .manifesto-strip span:last-child { display: none; } }
