.directory-page::before {
  background: #0b0c10;
}

.directory-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 68svh;
  padding: 7rem clamp(1.25rem, 6vw, 6rem) 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b0c10;
}

.directory-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.directory-hero h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
}

.directory-hero .lede {
  max-width: 34rem;
}

.directory-icon-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.directory-icon {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.62));
}

.directory-icon-shownotepad {
  right: clamp(15rem, 24vw, 30rem);
  bottom: clamp(-4rem, -3vw, -1rem);
  width: clamp(14rem, 27vw, 28rem);
  opacity: 0.7;
  transform: rotate(-6deg);
}

.directory-icon-levelset {
  right: clamp(-6rem, -2vw, 1rem);
  bottom: clamp(-3rem, -2vw, 0rem);
  width: clamp(16rem, 31vw, 32rem);
  opacity: 0.88;
  transform: rotate(5deg);
}

.product-directory {
  padding: clamp(3.5rem, 7vw, 6rem) 0 0;
  background: #111114;
}

.directory-heading {
  max-width: 1180px;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
}

.directory-heading h2 {
  max-width: 18ch;
}

.product-entry {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  min-height: 34rem;
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1.25rem, 8vw, 8rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-entry-shownotepad {
  background: #171219;
}

.product-entry-levelset {
  background: #15140f;
}

.product-entry-visual {
  display: grid;
  place-items: center;
}

.product-entry-visual img {
  width: min(100%, 22rem);
  filter: drop-shadow(0 26px 54px rgba(0, 0, 0, 0.5));
}

.product-entry-copy {
  max-width: 700px;
}

.product-entry-type {
  margin-bottom: 0.75rem;
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-entry h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.product-entry-lede {
  max-width: 28ch;
  margin-bottom: 0.9rem;
  color: var(--text);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 760;
  line-height: 1.2;
}

.product-entry-copy > p:not(.product-entry-type, .product-entry-lede) {
  max-width: 42rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.product-entry-levelset .product-entry-type,
.product-entry-levelset .product-entry-lede {
  color: #f0b24b;
}

.levelset-button:hover,
.levelset-button:focus-visible {
  border-color: #f0b24b;
  color: #f0b24b;
}

@media (max-width: 920px) {
  .directory-icon-shownotepad {
    right: 11rem;
    width: 19rem;
    opacity: 0.34;
  }

  .directory-icon-levelset {
    right: -5rem;
    width: 22rem;
    opacity: 0.48;
  }

  .product-entry {
    grid-template-columns: minmax(10rem, 0.55fr) minmax(0, 1.45fr);
    gap: 2rem;
    min-height: 28rem;
  }
}

@media (max-width: 680px) {
  .directory-hero {
    min-height: 68svh;
    padding-top: 4rem;
    padding-bottom: 3.25rem;
  }

  .directory-hero h1 {
    font-size: 3.35rem;
  }

  .directory-icon-shownotepad {
    right: 6rem;
    bottom: -2rem;
    width: 13rem;
    opacity: 0.22;
  }

  .directory-icon-levelset {
    right: -4.5rem;
    bottom: -2rem;
    width: 15rem;
    opacity: 0.32;
  }

  .directory-heading {
    margin-bottom: 2.5rem;
  }

  .product-entry {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    min-height: 0;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .product-entry-visual {
    justify-items: start;
  }

  .product-entry-visual img {
    width: 9rem;
  }

  .product-entry h3 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .directory-icon-shownotepad,
  .directory-icon-levelset {
    transform: none;
  }
}
