.drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.35s ease;
  cursor: pointer;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  height: 100vh;
  width: min(40vw, 520px);
  background: #fff;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: 28px 28px 18px;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.drawer__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.drawer__nav {
  margin-top: 40px;
  display: grid;
  gap: 18px;
}

.drawer__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.drawer__item:hover {
  opacity: 0.65;
}

.drawer__chev {
  font-size: 18px;
  opacity: 0.7;
}

.drawer__footer {
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  gap: 6px;
}

.drawer__small {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.75);
  position: relative;
  z-index: 3;
}

body.is-drawer-open .drawer {
  pointer-events: auto;
}

body.is-drawer-open .drawer__panel {
  transform: translateX(0);
}

body.is-drawer-open .drawer__backdrop {
  opacity: 1;
}

body.is-drawer-open .hero__video {
  filter: blur(10px);
  transform: scale(1.05);
}

@media (max-width: 820px) {
  .drawer__panel {
    width: min(80vw, 520px);
  }
}