/*
 * Vinyl TV public collection: page layout only. Tokens and every reusable component (top bar,
 * page container, tiles, buttons, facts, disc, record layout, track list, search) come from the
 * shared /ui/ stylesheets; this file never restyles them.
 */
/* Intro: one big title, one plain sentence. */
.intro { padding: clamp(28px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); max-width: 980px; }
.intro h1, .message h1 {
  margin: 0; font-weight: var(--fw-display); letter-spacing: -.035em; line-height: .98;
  font-size: clamp(2.75rem, 9vw, 7rem); overflow-wrap: anywhere;
}
.intro .lede, .message .lede { margin: 20px 0 0; max-width: 40ch; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--ink-body); }

/* Newest record, half out of its sleeve, beside the title on wide screens. */
.featured { display: none; }
@media (min-width: 900px) {
  .intro-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s7); }
  .featured {
    display: grid; grid-template-columns: 220px auto; align-items: end; gap: 0 28px;
    padding-right: var(--s2); animation: rise .8s var(--ease) .15s both;
  }
  .featured .sleeve { width: 220px; margin: 0; }
  .featured .disc { transform: translateX(34%) rotate(40deg); }
  .featured .featured-text { padding: 0 0 6px 60px; max-width: 260px; }
  .featured:focus-visible .disc { transform: translateX(42%) rotate(90deg); }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .featured:hover .disc { transform: translateX(42%) rotate(90deg); }
  .featured:hover .item-title { color: #fbf6ee; }
}
.featured-kicker { display: block; margin-bottom: 6px; color: var(--ink-dim); font-size: .95rem; }

/* "Nothing matches". */
.empty { padding: var(--s7) 0; }
.empty p { margin: 0 0 var(--s4); font-size: 1.15rem; }

/* Record and want pages. */
.record-page { padding-top: var(--s3); }
.neighbours { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); }
.neighbours .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* Message pages (404, nothing published yet). */
.message { padding-top: 12vh; }
.message .btn { margin-top: var(--s5); }

@media (prefers-reduced-motion: reduce) {
  .featured { animation: none; }
}
