/* Accessibility menu + the display modes it switches (see js/a11y.js). */

/* ---------- button + panel ---------- */
.a11y-btn{position:fixed;z-index:60;left:20px;bottom:24px;width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:#0B5CFF;color:#fff;border:2px solid #fff;box-shadow:0 10px 30px rgba(0,0,0,.45);cursor:pointer;padding:0}
.a11y-btn:hover{background:#0A4FDB}
.a11y-btn.is-on::after{content:"";position:absolute;top:2px;right:2px;width:12px;height:12px;border-radius:50%;background:var(--gold);border:2px solid #0B5CFF}
.a11y-ic{width:22px;height:22px;flex:none}
.a11y-ic-lg{width:30px;height:30px}
.a11y-panel{position:fixed;z-index:61;left:20px;bottom:90px;width:min(340px,calc(100vw - 40px));max-height:calc(100vh - 120px);overflow:auto;
  background:#0A1C44;color:#fff;border:2px solid #fff;border-radius:18px;padding:18px 18px 16px;box-shadow:0 24px 70px rgba(0,0,0,.6);font-family:var(--font)}
.a11y-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.a11y-head h2{font-size:20px;letter-spacing:-.01em;margin:0}
.a11y-close{width:40px;height:40px;border-radius:10px;border:1.5px solid rgba(255,255,255,.6);background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.a11y-size{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1.5px solid rgba(255,255,255,.35);border-radius:12px;margin-bottom:10px}
.a11y-size-label{flex:1;font-weight:700;font-size:15px}
.a11y-step{min-width:48px;height:44px;border-radius:10px;border:1.5px solid rgba(255,255,255,.6);background:#06142F;color:#fff;font:800 17px/1 var(--font);cursor:pointer}
.a11y-step[disabled]{opacity:.45;cursor:not-allowed}
.a11y-size-value{min-width:48px;text-align:center;font-weight:800;font-size:15px}
.a11y-opts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-opt{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:76px;padding:12px;border-radius:12px;border:1.5px solid rgba(255,255,255,.35);
  background:#06142F;color:#fff;font:700 15px/1.25 var(--font);text-align:left;cursor:pointer}
.a11y-opt[aria-pressed="true"]{background:#F2C46B;color:#06142F;border-color:#F2C46B}
.a11y-opt[aria-pressed="true"]::after{content:"On";content:"On" / "";font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.a11y-reset{width:100%;margin-top:10px;height:44px;border-radius:12px;border:1.5px solid rgba(255,255,255,.6);background:transparent;color:#fff;font:700 15px var(--font);cursor:pointer}
.a11y-note{font-size:13.5px;line-height:1.5;color:#E6EDF8;margin:12px 0 0}
.a11y-note a{color:#9FE7EC;word-break:break-all}
.a11y-btn:focus-visible,.a11y-panel button:focus-visible,.a11y-panel a:focus-visible,.hero-pause:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

/* pause/play on the hero map */
.hero-pause{position:relative;z-index:5;margin-top:18px;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 12px;
  border-radius:999px;border:1.5px solid rgba(255,255,255,.55);background:rgba(5,15,38,.75);color:#fff;font:700 14px var(--font);cursor:pointer;backdrop-filter:blur(6px)}
.hero-pause .a11y-ic{width:16px;height:16px}

/* keep clear of the floating register bar on phones */
@media (max-width:900px){
  .a11y-btn{left:12px;bottom:calc(84px + env(safe-area-inset-bottom));width:50px;height:50px}
  .a11y-panel{left:12px;right:12px;width:auto;bottom:calc(144px + env(safe-area-inset-bottom));max-height:calc(100vh - 170px)}
  .page-webinars .a11y-btn{bottom:calc(16px + env(safe-area-inset-bottom))}
  .page-webinars .a11y-panel{bottom:calc(76px + env(safe-area-inset-bottom))}
}

/* ---------- display modes ---------- */
/* text size: font sizes only (styles.css multiplies every font-size by --fs), so the layout reflows normally */
html.a11y-zoom-1{--fs:1.15}
html.a11y-zoom-2{--fs:1.3}
html.a11y-zoom-3{--fs:1.5}
html.a11y-zoom-2 .brand-name,html.a11y-zoom-3 .brand-name{display:none}   /* keep the header on one row */
html.a11y-zoom-1 .hero .eyebrow-invite,html.a11y-zoom-2 .hero .eyebrow-invite,html.a11y-zoom-3 .hero .eyebrow-invite{max-width:min(100%,640px)}   /* wraps before the map legend */

html.a11y-contrast{--bg:#000;--surface:#000;--surface-2:#0A0A0A;--line:rgba(255,255,255,.55);--ink:#fff;--mist:#F2F5FA;--teal:#7FEAF0;--mint:#B8F5D3;--gold:#FFD27A;--gold-2:#FFE9B8}
html.a11y-contrast body{background:#000;color:#fff}
html.a11y-contrast .hero-scene,html.a11y-contrast .hero-art{opacity:.22}
html.a11y-contrast .tile-media img,html.a11y-contrast .venue-photo img{filter:brightness(.55)}
html.a11y-contrast input,html.a11y-contrast select,html.a11y-contrast textarea{background-color:#000!important;color:#fff!important;border-color:#fff!important}
html.a11y-contrast .invalid input,html.a11y-contrast .invalid select,html.a11y-contrast .invalid textarea,html.a11y-contrast .invalid .s-box{border-color:#FF9C9C!important}
html.a11y-contrast ::placeholder{color:#D7DEEA!important;opacity:1}
html.a11y-contrast a:not(.btn){text-decoration:underline}
html.a11y-contrast .site-header,html.a11y-contrast .site-header.scrolled{background:#000}

html.a11y-links a{text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:2px}
html.a11y-links a,html.a11y-links button.row-btn,html.a11y-links .role-link{outline:2px dashed var(--gold);outline-offset:3px}
html.a11y-links a:focus-visible,html.a11y-links .role-link:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px var(--gold)}
html.a11y-links button.row-btn:focus-visible{outline:3px solid #fff;outline-offset:-4px;box-shadow:inset 0 0 0 6px var(--gold)}

html.a11y-font body,html.a11y-font body *:not(svg):not(svg *){font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;letter-spacing:.01em!important}

html.a11y-still *,html.a11y-still *::before,html.a11y-still *::after{animation-duration:0s!important;animation-iteration-count:1!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-still .reveal{opacity:1!important;transform:none!important}
html.a11y-still .particle{display:none}

@media print{.a11y-btn,.a11y-panel,.hero-pause{display:none!important}}

/* the fixed button must never cover the last lines of the page */
@media (max-width:900px){.site-footer{padding-bottom:calc(48px + 130px)}}
