/* E. C. Caudex fiction: the cover is the artwork; motion touches only its reflected eyes. */
.new-book {
  background: var(--surface);
  border-top: 1px solid var(--rule);
}
.new-book-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 7vw, 104px);
  max-width: 1100px;
}
.new-book-art { display: grid; justify-items: center; gap: 16px; min-width: 0; }
.new-book-cover {
  display: block;
  position: relative;
  width: min(100%, 430px);
  overflow: hidden;
  border-radius: 3px;
  box-shadow: var(--shadow-lift);
  line-height: 0;
}
.new-book-cover img { width: 100%; aspect-ratio: 5 / 8; object-fit: contain; }
.new-book-eye {
  position: absolute;
  width: 2.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 246, 188, .72) 0 12%, rgba(255, 180, 49, .48) 30%, rgba(255, 155, 37, 0) 72%);
  mix-blend-mode: screen;
}
.new-book-eye--left { left: 35.4%; top: 35.2%; }
.new-book-eye--right { left: 43.6%; top: 34.7%; }
.new-book-wink {
  position: absolute;
  left: 43.6%;
  top: 34.7%;
  width: 2.1%;
  height: .65%;
  border-radius: 50%;
  background: #56432f;
  mix-blend-mode: multiply;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-8deg);
}
.new-book-motion {
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 .85rem/1.3 var(--sans);
  cursor: pointer;
}
.new-book-motion:hover { background: var(--paper-2); }
.new-book-motion[hidden] { display: none; }
.new-book-copy h2 {
  font-size: clamp(2.5rem, 4.3vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  margin-bottom: .35em;
}
.new-book-author { font: 500 .9rem/1.5 var(--sans); color: var(--muted); margin-bottom: 24px; }
.new-book-teaser { font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.45; margin-bottom: 18px; }
.new-book-intro { max-width: 51ch; color: var(--muted); margin-bottom: 28px; }
.new-book-format { font: 400 .85rem/1.6 var(--sans); color: var(--muted); margin-top: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .new-book[data-motion="active"] .new-book-eye--left { animation: left-eye-glow 9s ease-in-out infinite; }
  .new-book[data-motion="active"] .new-book-eye--right { animation: right-eye-wink 9s ease-in-out infinite; }
  .new-book[data-motion="active"] .new-book-wink { animation: close-eye 9s ease-in-out infinite; }
  @keyframes left-eye-glow {
    0%, 13%, 30%, 100% { opacity: 0; }
    17%, 24% { opacity: .75; }
  }
  @keyframes right-eye-wink {
    0%, 13%, 19%, 23%, 30%, 100% { opacity: 0; }
    17%, 21%, 25% { opacity: .78; }
  }
  @keyframes close-eye {
    0%, 18%, 20%, 22%, 30%, 100% { opacity: 0; }
    19%, 21% { opacity: .8; }
  }
}

@media (max-width: 760px) {
  .new-book-grid { grid-template-columns: minmax(0, 1fr); max-width: 600px; gap: 32px; }
  .new-book-cover { width: min(100%, 340px); }
  .new-book-copy { text-align: center; }
  .new-book-copy .kicker { justify-content: center; }
  .new-book-intro { margin-inline: auto; }
}
