/* ==========================================================================
   Abu Zafar M. Shahriar — Portfolio
   Clean, modern, minimalist. Generous white space.
   ========================================================================== */

/* ---- Fonts (self-hosted, variable) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-italic.woff2") format('woff2');
}

/* ---- Design tokens ---- */
:root {
  --ink: #0e1e3d;
  --navy: #122447;
  --body: #33415e;
  --body-soft: #4a5674;
  --muted: #8a97ad;
  --kicker: #5b7bab;
  --accent: #1e4d8f;
  --accent-dark: #163a6e;
  --ivory: #fbfaf8;
  --tint: #e4ebf5;
  --tint-deep: #d7e1f0;
  --line: rgba(20, 30, 50, .08);
  --line-strong: rgba(20, 30, 50, .1);
  --radius: 2px;
  --pad-x: 56px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font: 400 17px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

body { overflow-x: clip; }

.page {
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  font: 600 14px/1 var(--sans);
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background-color .25s ease, box-shadow .25s ease;
}

/* Scrolled: translucent frosted glass */
.site-nav.scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px -18px rgba(14, 30, 61, .28);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-nav.scrolled {
    background: rgba(255, 255, 255, .68);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
  }
}

.site-nav .brand {
  font: 700 16px/1.3 var(--sans);
  color: var(--navy);
  letter-spacing: .01em;
  text-decoration: none;
}
.site-nav .brand:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font: 500 14px/1 var(--sans);
}
.nav-links a {
  color: var(--navy);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  appearance: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 9px 10px;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { display: block; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  text-decoration: none;
  font: 600 14px/1 var(--sans);
  padding: 15px 26px;
  border-radius: var(--radius);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-solid {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: rgba(30, 77, 143, .06); color: var(--accent-dark); }

.text-link {
  font: 600 14px/1 var(--sans);
  color: var(--accent);
  text-decoration: none;
}
.text-link:hover { color: var(--accent-dark); }
.text-link .arrow {
  display: inline-block;
  transition: transform .18s ease;
}
.text-link:hover .arrow { transform: translateX(4px); }

/* ---- Kicker / headings ---- */
.kicker {
  font: 600 13px/1.5 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kicker);
}

/* ---- Hero ---- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  padding: 76px var(--pad-x) 84px;
  align-items: center;
  background: var(--ivory);
}

.hero .kicker { margin: 0 0 22px; }

.hero h1 {
  margin: 0 0 26px;
  font: 800 52px/1.08 var(--sans);
  color: var(--ink);
  letter-spacing: -.015em;
}

.hero .lede {
  margin: 0 0 36px;
  font: italic 500 21px/1.55 var(--serif);
  color: #2f4266;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-figure {
  position: relative;
  margin: 0;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--tint);
  border-radius: var(--radius);
}
.hero-figure img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -18px rgba(14, 30, 61, .35);
}

/* ---- Intro ---- */
.intro {
  padding: 72px var(--pad-x);
  max-width: calc(900px + 2 * var(--pad-x));
  margin: 0 auto;
}
.intro p { margin: 0 0 22px; }
.intro p:last-child { margin-bottom: 0; }

/* Justified body copy; hyphenation keeps word spacing even in narrow columns */
.intro p,
.page-body p,
.panel-body > p,
.notice,
.rsection > p,
.theme-body p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ---- Feature panels ---- */
.panels {
  padding: 12px var(--pad-x) 84px;
}
.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: box-shadow .22s ease, transform .22s ease;
}
.panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -18px rgba(14, 30, 61, .25);
}

.panel-art {
  aspect-ratio: 16 / 10;
  background: var(--tint);
  overflow: hidden;
}
.panel-art svg { width: 100%; height: 100%; display: block; }

.panel-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.panel p.panel-index {
  font: 600 10px/1.5 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
  flex: none; /* only the description paragraph may stretch */
}
.panel h2, .panel h3 {
  margin: 0;
  font: 700 20px/1.3 var(--sans);
  color: var(--ink);
  min-height: 52px; /* reserve two lines so all three cards align */
}
@media (max-width: 900px) {
  .panel h2, .panel h3 { min-height: 0; } /* stacked cards don't need it */
}
.panel p {
  margin: 0;
  font: 400 15px/1.6 var(--sans);
  color: var(--body-soft);
  flex: 1;
}

/* ---- Closing statement ---- */
.closing {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  padding: 84px var(--pad-x);
  text-align: center;
}
.closing p.kicker {
  margin: 0 0 20px;
  font: 600 13px/1.5 var(--sans);
  letter-spacing: .14em;
  color: var(--kicker);
  max-width: none;
}
.closing p {
  margin: 0 auto;
  max-width: 720px;
  font: italic 400 24px/1.6 var(--serif);
  color: #2f4266;
}

.closing-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.closing p.contact-links {
  margin: 26px auto 0;
  max-width: none;
  font: 400 14px/1.7 var(--sans);
  color: var(--body-soft);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-links a {
  color: var(--accent);
  text-decoration: none;
}
.contact-links a:hover { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer .name {
  font: 700 15px/1.4 var(--sans);
  color: var(--navy);
}
.site-footer .meta {
  font: 400 13px/1.6 var(--sans);
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  font: 500 13px/1 var(--sans);
}
.footer-links a { color: var(--body-soft); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* ---- Sub-pages (pillar pages) ---- */
.page-hero {
  background: var(--ivory);
  padding: 72px var(--pad-x) 64px;
}
.page-hero .kicker { margin: 0 0 18px; }
.page-hero h1 {
  margin: 0 0 22px;
  font: 800 42px/1.12 var(--sans);
  color: var(--ink);
  letter-spacing: -.015em;
  max-width: 760px;
}
.page-hero .lede {
  margin: 0;
  font: italic 500 20px/1.6 var(--serif);
  color: #2f4266;
  max-width: 680px;
}

.page-body {
  padding: 64px var(--pad-x);
  max-width: calc(760px + 2 * var(--pad-x));
}
.page-body p { margin: 0 0 22px; }

.notice {
  margin-top: 40px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--ivory);
  padding: 22px 26px;
  font: 400 15px/1.65 var(--sans);
  color: var(--body-soft);
}

.pillar-nav {
  padding: 0 var(--pad-x) 84px;
}
.pillar-nav .label {
  font: 600 12px/1.5 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.pillar-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
}
.pillar-nav-grid a {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-decoration: none;
  color: var(--ink);
  font: 600 15px/1.4 var(--sans);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pillar-nav-grid a:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px -14px rgba(14, 30, 61, .25);
}
.pillar-nav-grid a span {
  display: block;
  font: 400 13px/1.5 var(--sans);
  color: var(--body-soft);
  margin-top: 6px;
}

/* ---- Research page ---- */
.rsection {
  max-width: calc(840px + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 64px var(--pad-x) 24px;
}
.rsection > .kicker { margin: 0 0 14px; }
.rsection > h2 {
  margin: 0 0 22px;
  font: 800 30px/1.18 var(--sans);
  color: var(--ink);
  letter-spacing: -.01em;
}
.rsection > p { margin: 0 0 20px; }
.rsection > p:last-child { margin-bottom: 0; }
.rsection .lead {
  font: italic 500 20px/1.6 var(--serif);
  color: #2f4266;
  text-align: left;
  hyphens: manual;
  max-width: 720px;
}

/* Research themes — numbered editorial rows (one elegant presentation) */
.themes {
  max-width: calc(840px + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 8px var(--pad-x) 24px;
}
.theme {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 44px;
  padding: 52px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}
.theme:first-child { border-top: 0; padding-top: 20px; }
.theme-num {
  font: 400 60px/1 var(--serif);
  color: #aebfdb;
  letter-spacing: -.02em;
}
.theme-body h3 {
  margin: 0 0 16px;
  font: 700 24px/1.28 var(--sans);
  color: var(--ink);
  letter-spacing: -.01em;
}
.theme-body p {
  margin: 0 0 16px;
  color: var(--body);
}
.theme-body p:last-of-type { margin-bottom: 0; }
.theme-tags {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.theme-tags li {
  font: 600 12px/1 var(--sans);
  color: var(--kicker);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 12px;
}
@media (max-width: 760px) {
  .theme { grid-template-columns: 1fr; gap: 10px; padding: 40px 0; }
  .theme:first-child { padding-top: 8px; }
  .theme-num { font-size: 42px; }
}

/* Method tags (Research Approach) */
.method-tags {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.method-tags li {
  font: 600 13px/1 var(--sans);
  color: var(--kicker);
  background: var(--tint);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 14px;
}

/* Publications call-to-action */
.pub-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---- Scroll reveal (JS-gated: no JS → fully visible; flicker-free) ---- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}
html.js .reveal.in-view {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s ease;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .panel, .btn, .text-link .arrow { transition: none; }
  .panel:hover { transform: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  :root { --pad-x: 40px; }
  .hero { gap: 44px; }
  .hero h1 { font-size: 44px; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 64px;
    gap: 48px;
  }
  .hero-figure {
    justify-self: start;
    max-width: 400px;
    grid-row: 1;      /* photo above text on small screens */
  }
  .hero-figure::before { inset: 12px -10px -12px 10px; }
  .panel-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 36px; }
}

@media (max-width: 760px) {
  :root { --pad-x: 22px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px -20px rgba(14, 30, 61, .25);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 16px var(--pad-x);
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
  }
  .nav-links a[aria-current="page"] { border-left-color: var(--accent); }
  .site-nav { position: relative; }

  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 19px; }
  .intro, .page-body { padding-top: 52px; padding-bottom: 52px; }
  .closing { padding: 60px var(--pad-x); }
  .closing p { font-size: 20px; }
  .pillar-nav-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Accessibility widget
   Floating button + panel of assistive toggles. Self-contained, no external
   dependencies. Colour filters are scoped to .page so the widget itself
   stays visible and usable while filters are active.
   ========================================================================== */

/* ---- Floating button ---- */
.a11y-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(14, 30, 61, .5);
  transition: background-color .18s ease, transform .18s ease;
}
.a11y-fab:hover { background: var(--accent-dark); transform: translateY(-2px); }
.a11y-fab svg { width: 28px; height: 28px; display: block; }

/* ---- Panel ---- */
.a11y-panel {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 96;
  width: 344px;
  max-width: calc(100vw - 44px);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 28px 64px -20px rgba(14, 30, 61, .5);
  padding: 20px;
  display: none;
}
.a11y-panel.open { display: block; }
.a11y-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.a11y-head h2 {
  margin: 0 0 3px;
  font: 800 18px/1.2 var(--sans);
  color: var(--ink);
}
.a11y-head p {
  margin: 0;
  font: 400 12.5px/1.5 var(--sans);
  color: var(--muted);
}
.a11y-close {
  flex: none;
  appearance: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 30px;
  height: 30px;
  cursor: pointer;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.a11y-close:hover { border-color: var(--accent); color: var(--accent); }

.a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.a11y-opt {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px 13px 14px;
  cursor: pointer;
  color: var(--navy);
  font: 600 13px/1.25 var(--sans);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.a11y-opt:hover { border-color: var(--accent); }
.a11y-opt .ico { width: 22px; height: 22px; color: var(--kicker); flex: none; }
.a11y-opt[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.a11y-opt[aria-pressed="true"] .ico { color: #fff; }

.a11y-reset {
  margin-top: 14px;
  width: 100%;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px;
  cursor: pointer;
  font: 600 13px/1 var(--sans);
  color: var(--body);
  transition: border-color .15s ease, color .15s ease;
}
.a11y-reset:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Assistive effects (scoped to page content) ---- */
html.a11y-monochrome .page { filter: grayscale(1); }
html.a11y-invert .page { filter: invert(1) hue-rotate(180deg); }
html.a11y-monochrome.a11y-invert .page { filter: grayscale(1) invert(1) hue-rotate(180deg); }
/* Keep photos/videos looking natural when colours are inverted */
html.a11y-invert .page img,
html.a11y-invert .page picture,
html.a11y-invert .page video { filter: invert(1) hue-rotate(180deg); }

html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%3E%3Cpath%20d='M6%204%20L6%2034%20L14%2026%20L20%2038%20L25%2036%20L19%2024%20L30%2024%20Z'%20fill='%23000'%20stroke='%23fff'%20stroke-width='2.5'%20stroke-linejoin='round'/%3E%3C/svg%3E") 6 4, auto !important;
}

html.a11y-link-highlight .page a {
  background: #fff2a8 !important;
  color: #0e1e3d !important;
  box-shadow: 0 0 0 2px #eab308 !important;
  border-radius: 2px;
  text-decoration: underline !important;
}

html.a11y-headline-highlight .page :is(h1, h2, h3, h4, h5, h6) {
  background: #fff2a8 !important;
  box-shadow: -6px 0 0 #eab308 !important;
  color: #0e1e3d !important;
}

html.a11y-big-text .page { zoom: 1.12; }

html.a11y-readable-font .page,
html.a11y-readable-font .page :is(p, li, a, span, h1, h2, h3, h4, h5, h6, button) {
  font-family: Verdana, Tahoma, Geneva, sans-serif !important;
  letter-spacing: .03em !important;
  word-spacing: .06em !important;
  line-height: 1.85 !important;
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}
html.a11y-reduce-motion .reveal { opacity: 1 !important; transform: none !important; }

/* Readability guide — horizontal reading ruler that follows the cursor */
.a11y-ruler {
  position: fixed;
  left: 0;
  right: 0;
  top: 50%;
  height: 42px;
  margin-top: -21px;
  z-index: 94;
  pointer-events: none;
  display: none;
  background: rgba(30, 77, 143, .09);
  border-top: 2px solid rgba(30, 77, 143, .55);
  border-bottom: 2px solid rgba(30, 77, 143, .55);
}
html.a11y-readability-guide .a11y-ruler { display: block; }

@media (max-width: 760px) {
  .a11y-fab { right: 16px; bottom: 16px; }
  .a11y-panel { right: 16px; bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .a11y-fab { transition: none; }
}
