/* Reading journal — builds on styles.css + about.css (same layout as About) */

/* Intro: big Inter Tight italic lines, photo with the ripple hover (about.js) */
.intro-row--reading { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 56px; }
.read-hero__body { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.read-hero__body p { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--text); }

/* Shelves */
.shelf__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; color: var(--black); }
.shelf__lead { margin-top: 16px; max-width: 860px; font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--text); }
.shelf__lead + .books { margin-top: 32px; }

/* Book grid: 4 per row, covers keep their own ratio, title + author under each */
.books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 36px; align-items: start; }
.book { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.book__cover {
  display: block; width: 100%; height: auto; border-radius: 2px;
  background: var(--media-bg); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 24px -14px rgba(0, 0, 0, .3);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s ease;
}
.book:hover .book__cover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 22px 36px -14px rgba(0, 0, 0, .4); }
.book figcaption { display: flex; flex-direction: column; gap: 2px; }
.book__title { font-size: 15px; font-weight: 400; line-height: 1.35; color: var(--black); }
.book__author { font-size: 13px; font-weight: 300; line-height: 1.35; color: var(--grey-1); }

/* Outro: same layout as the About "Still have questions?" block (.faq__cta in about.css) */
.read-outro { margin-top: 112px; }
.faq__cta-text .faq__cta-title + p { margin-top: 20px; max-width: 440px; font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--text); }
.read-outro__btn { align-self: flex-start; gap: 8px; transition: background .2s, color .2s, border-color .2s; height: 40px; padding: 0 18px; font-size: 16px; font-weight: 400; }
.read-outro__btn:hover { background: var(--btn-hover-bg); border-color: var(--btn-hover-bg); color: var(--btn-hover-fg); }

@media (min-width: 721px) and (max-width: 1100px) { .books { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; } }
@media (max-width: 720px) {
  .intro-row--reading { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .shelf__lead + .books { margin-top: 24px; }
  .read-outro { margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) { .book__cover { transition: none; } .book:hover .book__cover { transform: none; } }

/* intro quote: indented, italic, separated by a vertical line; author bolder than the quote */
.read-quote { margin: 4px 0 4px 8px; padding-left: 20px; border-left: 1px solid color-mix(in srgb, var(--text) 45%, transparent); }
.read-hero__body .read-quote p { font-style: italic; }
.read-quote cite { display: block; margin-top: 8px; font-size: 15px; font-style: normal; font-weight: 600; color: var(--black); }
