/* ABOUTME: Homepage styles: the featured-book hero, the praise strip, the Brain Hacks spotlight, the book shelf, about and blog sections. */
/* ABOUTME: Shared components (buttons, cards, quotes, free-book panel) live in base.css. */

.hero { background: radial-gradient(1200px 500px at 80% 40%, #2c3833 0%, var(--ink) 60%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero__lede { font-size: 19px; color: var(--on-ink-muted); max-width: 34em; margin-bottom: 28px; }
.hero__quote { margin-bottom: 32px; padding-left: 18px; border-left: 3px solid var(--sun); }
.hero__quote blockquote { font-size: 21px; line-height: 1.45; margin-bottom: 6px; }
.hero__note { margin: 18px 0 0; font-size: 14px; color: var(--on-ink-muted); }
.hero__cover { position: relative; justify-self: center; }
.hero__cover::before { content: ""; position: absolute; inset: -14% -22%; background: radial-gradient(circle, rgb(255 214 10 / 0.28) 0%, rgb(255 214 10 / 0) 62%); }
.hero__cover img { position: relative; width: min(340px, 70vw); transform: rotate(-3deg); }

.praise { background: var(--ink-soft); }
.praise__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.praise .quote { padding: 36px 28px; border-left: 1px solid rgb(255 255 255 / 0.08); }
.praise .quote:first-child { border-left: 0; padding-left: 0; }
.praise blockquote { font-size: 18px; }

.spotlight { padding: 96px 0; }
.spotlight__inner { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
.spotlight h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.spotlight__lede { font-size: 19px; color: var(--muted); }
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 28px; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.formats li { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--paper-deep); border: 1px solid var(--line); }
.formats .formats__highlight { background: var(--sun); border-color: var(--sun); }

.shelf { background: var(--paper-deep); padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }

.about { padding: 96px 0; }
.about__inner { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; max-width: 968px; }
.about__photo { border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: 55% 30%; }
.about h2 { font-size: 32px; font-weight: 800; }
.about p { color: var(--muted); }
.about .about__contact { color: var(--text); font-size: 15px; }
.about__contact a { font-weight: 700; color: var(--money); overflow-wrap: anywhere; }

.blog-band__inner { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.blog-band h2 { font-size: 22px; margin: 0 0 4px; }
.blog-band p { margin: 0; color: var(--muted); }

@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hero__cover { order: -1; }
  .hero__cover img { width: min(240px, 60vw); }
  .praise__inner { grid-template-columns: 1fr; }
  .praise .quote { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.08); padding: 28px 0; }
  .praise .quote:first-child { border-top: 0; }
  .spotlight, .shelf, .about { padding: 64px 0; }
  .spotlight__inner, .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .spotlight__cover, .about__photo { max-width: 220px; }
}
