/* ==========================================================================
   press.css — Sysinit Press publisher landing page.
   Builds on base.css / home.css / subpage.css. Only the catalog-specific
   components (featured publication, coming-titles shelf) live here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Featured publication — cover + details, two columns
   -------------------------------------------------------------------------- */

.press-featured {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: clamp(var(--s-6), 6vw, var(--s-9));
  align-items: center;
}

.press-cover {
  display: block;
  perspective: 1400px;
}

.press-cover img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.press-cover:hover img,
.press-cover:focus-visible img {
  transform: translateY(-4px) rotateY(-4deg);
  box-shadow: 0 30px 64px -22px rgba(0, 0, 0, 0.55);
}

.press-featured-body { min-width: 0; }

.press-meta-row {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.press-featured-body h3 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  margin: var(--s-3) 0 0;
}

.press-featured-sub {
  font-family: var(--font-sans);
  font-size: var(--t-lg);
  line-height: 1.35;
  color: var(--ink-2);
  margin: var(--s-2) 0 0;
  text-wrap: pretty;
}

.press-featured-desc {
  font-family: var(--font-sans);
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--ink-2);
  margin: var(--s-4) 0 0;
  max-width: 62ch;
  text-wrap: pretty;
}

.press-featured-author {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  color: var(--ink-3);
  margin: var(--s-4) 0 0;
}

.press-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.press-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* --------------------------------------------------------------------------
   2. Coming next — ghost spines on a shelf
   -------------------------------------------------------------------------- */

.press-shelf {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  list-style: none;
  margin: 0;
  padding: 0 0 var(--s-4);
  border-bottom: 1px solid var(--ink);
}

.press-spine {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 22vw, 190px);
  aspect-ratio: 5 / 7;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-1);
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--s-4);
  overflow: hidden;
}

/* Spine bar — evokes a book standing on the shelf */
.press-spine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--line-strong);
}

.press-spine-num {
  font-family: var(--font-mono);
  font-size: var(--t-md);
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}

.press-spine-title {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  margin-top: auto;
  text-wrap: balance;
}

.press-spine-label {
  font-family: var(--font-mono);
  font-size: var(--t-xxs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: var(--s-3);
}

.press-shelf-note {
  margin: var(--s-5) 0 0;
  font-size: var(--t-sm);
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   3. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .press-featured {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .press-cover {
    width: 210px;
    max-width: 60%;
  }
}
