/* ===== Drawer Menu ===== */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
  backdrop-filter: blur(2px);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; left: 0;
  width: min(420px, 88vw);
  height: 100vh; height: 100dvh;
  background: #0A0A0A;
  color: #fff;
  z-index: 201;
  transform: translateX(-100%);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  box-shadow: 0 0 60px rgba(0,0,0,0.4);
  overflow: hidden;
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: center; gap: 14px;
  background: var(--accent);
  padding: 16px 18px;
  flex-shrink: 0;
}
.drawer-close {
  background: transparent;
  border: 0;
  color: #fff;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.drawer-logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
  flex-shrink: 0;
}
.drawer-logo-img {
  height: 100%;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0 0;
  -webkit-overflow-scrolling: touch;
}
.drawer-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.018em;
  color: #fff;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background .15s, color .15s;
  cursor: pointer;
}
.drawer-item:hover { background: rgba(255,255,255,0.04); color: #fff; }
.drawer-item svg { color: rgba(255,255,255,0.7); flex-shrink: 0; }
.drawer-item-util {
  font-size: 17px;
  padding: 14px 24px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}
.drawer-sep {
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 8px 24px;
}
.drawer-foot {
  padding: 20px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 12px;
}
.drawer-social {
  display: flex; gap: 16px;
  margin-bottom: 14px;
}
.drawer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  transition: background .15s;
}
.drawer-social a:hover { background: rgba(255,255,255,0.14); color: #fff; }
.drawer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}
