.nmp-category-doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nmp-category-doors button {
  align-items: end;
  appearance: none;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--nmp-line);
  color: var(--nmp-ink);
  cursor: pointer;
  display: grid;
  gap: 1.5rem;
  min-height: clamp(11rem, 20vw, 19rem);
  padding: clamp(1.4rem, 3vw, 3rem);
  text-align: left;
}

.nmp-category-doors button:nth-child(even) {
  border-left: 1px solid var(--nmp-line);
}

.nmp-category-doors button span {
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.94;
  max-width: 12ch;
  text-wrap: balance;
}

.nmp-category-doors button small {
  align-items: center;
  display: flex;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nmp-category-doors button small::after {
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  content: "";
  height: 0.55rem;
  transform: rotate(45deg);
  width: 0.55rem;
}

.nmp-category-doors button:focus-visible,
.nmp-category-world__return:focus-visible,
.nmp-category-world__contact:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.35rem;
}

.nmp-category-world {
  background: transparent;
  border: 0;
  color: var(--nmp-white);
  height: 100%;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: 0;
  width: 100%;
}

.nmp-category-world::backdrop {
  background: rgba(9, 39, 45, 0.72);
}

.nmp-category-world__shell {
  background: var(--nmp-deep);
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  padding: clamp(1.25rem, 4vw, 4rem);
}

.nmp-category-world__return {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--nmp-white);
  cursor: pointer;
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.85rem;
  justify-self: start;
  letter-spacing: 0.08em;
  padding: 0.75rem 0;
  text-transform: uppercase;
}

.nmp-category-world__return span {
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  height: 0.65rem;
  transform: rotate(45deg);
  width: 0.65rem;
}

.nmp-category-world__content {
  align-content: end;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  margin: 0 auto;
  max-width: 1540px;
  padding: clamp(4rem, 10vh, 8rem) 0 clamp(2rem, 5vh, 4rem);
  width: 100%;
}

.nmp-category-world h2 {
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
  max-width: 12ch;
  text-wrap: balance;
}

.nmp-category-world__empty {
  border-top: 1px solid rgba(250, 247, 241, 0.32);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 0.45fr);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.nmp-category-world__empty h3 {
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nmp-category-world__empty p {
  color: #dce9e6;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  max-width: 58ch;
}

.nmp-category-world__contact {
  border-bottom: 1px solid currentColor;
  color: var(--nmp-white);
  font-size: 0.72rem;
  font-weight: 700;
  justify-self: start;
  letter-spacing: 0.08em;
  padding-bottom: 0.5rem;
  text-decoration: none;
  text-transform: uppercase;
}

.nmp-category-world [hidden] {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .nmp-category-doors button {
    transition: background-color 280ms ease-out, color 280ms ease-out;
  }

  .nmp-category-doors button:hover {
    background: var(--nmp-ink);
    color: var(--nmp-white);
  }

  .nmp-category-world__return:hover,
  .nmp-category-world__contact:hover {
    color: var(--nmp-sea);
  }
}

@media (max-width: 760px) {
  .nmp-category-doors {
    grid-template-columns: 1fr;
  }

  .nmp-category-doors button {
    min-height: 10rem;
    padding: 1.4rem 0;
  }

  .nmp-category-doors button:nth-child(even) {
    border-left: 0;
  }

  .nmp-category-world__empty {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nmp-category-doors button {
    transition: none;
  }
}
