.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 100px 200px 80px;
  overflow: hidden;
  background-color: var(--overlay-background);
}

.fullscreen-menu[hidden] {
  display: none;
}

.menu-row:nth-child(odd) {
  text-align: left;
}

.menu-row:nth-child(even) {
  text-align: right;
}

.menu-row a {
  display: inline-block;
  color: var(--overlay-text);
  font-size: clamp(2rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
}

.menu-row a:hover {
  color: var(--overlay-hover);
}

.menu-row a:focus-visible {
  outline: 3px solid var(--overlay-focus);
  outline-offset: 5px;
}

.fullscreen-menu {
  counter-reset: menu-item;
  isolation: isolate;
}

.fullscreen-menu::before {
  content: "WR";
  position: absolute;
  right: 3%;
  bottom: 2%;
  z-index: -1;

  font-size: clamp(10rem, 35vw, 32rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.08em;

  color: var(--overlay-text);
  opacity: 0.06;
  pointer-events: none;
}

.menu-row {
  counter-increment: menu-item;
}

.menu-row a {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(12px, 2vw, 28px);
}

.menu-row a::before {
  content: counter(menu-item, decimal-leading-zero);
  flex-shrink: 0;

  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.08em;

  color: var(--overlay-hover);
}

html[lang="th"] .menu-row a {
  line-height: 1.5;
}

@media (max-width: 600px) {
  .fullscreen-menu {
    padding-inline: 24px;
  }
}

.menu-row a[aria-current="page"] {
  color: var(--overlay-hover);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.menu-row a[aria-current="page"]::before {
  font-weight: 700;
}