/* Page topic heading — compact so the full-bleed project slider stays primary */
.works-page-heading {
  position: fixed;
  z-index: 9997;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0 16px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .works-page-heading {
    top: 22px;
    font-size: 0.8rem;
  }
}

/* Filter bar for the Works page (see js/works-filter.js) */
.works-filter {
  position: fixed;
  z-index: 9998;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(11, 11, 18, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
  font-family: "Poppins", system-ui, sans-serif;
  max-width: calc(100vw - 32px);
  overflow-x: auto;
  scrollbar-width: none;
}
.works-filter::-webkit-scrollbar { display: none; }
.works-filter a {
  flex: none;
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.works-filter a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.works-filter a[aria-current="page"] { background: linear-gradient(120deg, #e5410f, #ff7a3d); color: #fff; }
.works-filter sup { font-size: 10px; margin-left: 4px; opacity: 0.7; }
.works-filter a:focus-visible { outline: 2px solid #ff7a3d; outline-offset: 2px; }

@media (max-width: 767px) {
  .works-filter { bottom: 84px; }
  .works-filter a { padding: 9px 13px; font-size: 13px; }
}
