body {
  background:
    radial-gradient(circle at 78% 7%, rgba(125, 87, 164, 0.17), transparent 33rem),
    radial-gradient(circle at 12% 54%, rgba(65, 78, 126, 0.1), transparent 34rem),
    var(--night);
}

.books-hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  padding-top: 136px;
  overflow: hidden;
  isolation: isolate;
}

.books-hero-haze {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 31%, rgba(158, 112, 183, 0.08) 54%, transparent 75%),
    radial-gradient(ellipse at 76% 46%, rgba(128, 96, 172, 0.18), transparent 28rem);
}

.books-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(54px, 9vw, 130px);
}

.books-hero-copy h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(4.2rem, 8vw, 8rem);
  line-height: 0.93;
}

.books-hero-copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.books-orbit {
  position: relative;
  width: min(31vw, 390px);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid rgba(221, 211, 230, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(205, 174, 226, 0.19), transparent 21%),
    radial-gradient(circle, rgba(25, 21, 36, 0.3), rgba(8, 8, 14, 0.88) 70%);
  box-shadow: 0 0 90px rgba(113, 75, 150, 0.24);
}

.books-orbit-ring,
.books-orbit-core {
  position: absolute;
  border-radius: 50%;
}

.books-orbit-ring {
  border: 1px solid rgba(218, 200, 230, 0.2);
}

.books-orbit-one {
  inset: 12%;
  border-style: dashed;
}

.books-orbit-two {
  inset: 30%;
}

.books-orbit-core {
  inset: 43%;
  background: #d7bfdf;
  box-shadow: 0 0 50px rgba(215, 191, 223, 0.72);
}

.books-shelf {
  border-top: 1px solid var(--line);
  background: rgba(17, 15, 26, 0.73);
}

.books-section-heading {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.books-section-heading h2 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.books-section-heading > p:last-child {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.book-listing-grid {
  margin-top: 72px;
}

.book-listing-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 62px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 67%),
    rgba(12, 11, 19, 0.72);
  box-shadow: var(--shadow);
}

.book-listing-art {
  position: relative;
  display: block;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(221, 211, 230, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 35%, rgba(202, 169, 223, 0.2), transparent 22%),
    linear-gradient(180deg, #211a30 0%, #0d0c15 62%, #08070d 100%);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.42);
}

.book-listing-art::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 45%, rgba(216, 167, 189, 0.1), transparent 58%),
    repeating-linear-gradient(164deg, transparent 0 48px, rgba(212, 197, 225, 0.03) 49px 50px);
}

.book-listing-ring,
.book-listing-light,
.book-listing-path {
  position: absolute;
}

.book-listing-ring {
  left: 50%;
  top: 37%;
  border: 1px solid rgba(216, 198, 229, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.book-listing-ring.ring-one {
  width: 70%;
  aspect-ratio: 1;
  border-style: dashed;
}

.book-listing-ring.ring-two {
  width: 43%;
  aspect-ratio: 1;
}

.book-listing-light {
  left: 50%;
  top: 37%;
  width: 13%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #d7bfdf;
  box-shadow: 0 0 45px rgba(215, 191, 223, 0.72);
}

.book-listing-path {
  left: 50%;
  bottom: 3%;
  width: 31%;
  height: 49%;
  transform: translateX(-50%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, rgba(227, 202, 229, 0.5), transparent 88%);
  filter: blur(8px);
}

.book-listing-copy h3 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: 0.98;
}

.book-listing-copy h3 a {
  text-decoration: none;
}

.book-listing-copy > p:not(.eyebrow) {
  max-width: 690px;
  color: var(--ink-muted);
  font-size: 1.04rem;
}

.future-shelf {
  margin-top: 34px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  padding: 26px 30px;
  text-align: center;
}

.future-shelf p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .books-hero-grid,
  .book-listing-card {
    grid-template-columns: 1fr;
  }

  .books-hero {
    min-height: auto;
  }

  .books-orbit {
    width: min(72vw, 390px);
  }
}

@media (max-width: 620px) {
  .books-hero {
    padding-top: 118px;
  }

  .books-hero-copy h1 {
    font-size: clamp(3.5rem, 17vw, 5.4rem);
  }

  .book-listing-card {
    border-radius: 24px;
  }

  .book-listing-copy h3 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }
}
