/* ---- Hamburger button ---- */
.zz-ham {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9000;
  width: 40px;
  height: 40px;
  background: rgba(23, 25, 30, 0.92);
  border: 1px solid #272B34;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.zz-ham span {
  display: block;
  width: 18px;
  height: 2px;
  background: #F1F3F5;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.zz-ham.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.zz-ham.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.zz-ham.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Landing page: desktop nav already handles navigation */
@media (min-width: 640px) {
  .zz-ham--landing { display: none; }
}

/* ---- Backdrop ---- */
.zz-ham-bd {
  position: fixed;
  inset: 0;
  z-index: 8990;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.zz-ham-bd.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ---- Drawer ---- */
.zz-ham-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9001;
  width: 220px;
  max-width: 80vw;
  background: #1A1D24;
  border-left: 1px solid #272B34;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
}

.zz-ham-drawer.is-open { transform: translateX(0); }

.zz-ham-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #5B6470;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  margin-bottom: 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.zz-ham-close:hover { color: #F1F3F5; background: #272B34; }

.zz-ham-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zz-ham-link {
  display: block;
  padding: 13px 14px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #8A9199;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.12s, color 0.12s;
}

.zz-ham-link:hover {
  background: #272B34;
  color: #F1F3F5;
}

.zz-ham-link.is-active {
  color: #0E6FFF;
  background: rgba(14, 111, 255, 0.1);
}
