/* ==========================================================================
   Andrine Mendez — Book landing page. Transcribed from the design handoff
   (design_handoff_book_page/Book.dc.html), using the site's existing
   tokens/components rather than the prototype's inline styles.
   ========================================================================== */

.book-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: center;
}
.book-hero-cover-wrap { position: relative; height: 400px; width: 240px; justify-self: center; }
.book-hero-cover-offset {
  position: absolute; top: 18px; left: 18px;
  width: 240px; height: 100%;
  background: var(--brand);
  border-radius: 10px;
  border: 2.5px solid var(--ink-900);
}
.book-hero-cover {
  position: relative; width: 240px; height: 100%;
  border-radius: 10px; overflow: hidden;
  border: 2.5px solid var(--ink-900);
}
.book-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(34px, 5.2vw, 58px);
  color: var(--ink-900);
  margin: 18px 0 16px;
}
.book-hero .lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--grey-700);
  margin: 0 0 32px;
  max-width: 52ch;
}
.book-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.book-section { max-width: 1120px; margin: 0 auto; padding: 56px 32px; }
.book-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
.book-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--ink-900);
}

.book-review-arrows { display: flex; gap: 10px; }
.review-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--ink-900);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.review-arrow:hover { background: var(--brand); transform: scale(1.06); }

.book-review-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 24px 4px 8px;
  scrollbar-width: none;
}
.book-review-scroll::-webkit-scrollbar { display: none; }
.book-review-card { scroll-snap-align: start; flex: 0 0 320px; }
.book-review-card .card { height: 100%; box-sizing: border-box; }
.review-stars { color: var(--brand-hover); font-size: 16px; letter-spacing: 2px; }
.review-star-empty { color: var(--grey-300); }
.review-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 14px 0 0;
}
.review-byline { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.review-name { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--ink-900); }
.review-role { font-family: var(--font-body); font-size: 12px; color: var(--grey-500); }

.book-placeholder {
  margin-top: 20px;
  padding: 36px;
  border: 1.5px dashed var(--grey-300);
  border-radius: 22px;
  text-align: center;
}
.book-placeholder p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey-500);
  margin: 0;
}

.book-chapters-intro {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-600);
  margin: 14px 0 32px;
  max-width: 68ch;
}
.book-chapters-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.book-chapter-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1.5px solid var(--grey-200); }
.book-chapter-n {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--grey-500);
  flex-shrink: 0;
  padding-top: 2px;
}
.book-chapter-row h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--ink-900);
}
.book-chapter-row p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey-600);
  margin: 0;
}
.book-chapters-note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-500);
  margin: 24px 0 0;
}

/* Ireland callout — deliberately low visual weight */
.book-callout {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.book-callout p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey-700);
  margin: 0;
}
.book-callout a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.book-callout-pending {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--grey-400);
  white-space: nowrap;
}

/* Email capture — full-width ink band */
.book-capture { background: var(--ink-900); }
.book-capture-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.book-capture h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
  color: var(--grey-50);
}
.book-capture p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-300);
  margin: 0;
  max-width: 48ch;
}
.book-capture-form { display: flex; gap: 10px; flex-wrap: wrap; }
.book-capture-form .hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.book-capture-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  outline: none;
  box-sizing: border-box;
  transition: border var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.book-capture-form input[type="email"]:focus {
  border-color: var(--ink-900);
  box-shadow: 0 0 0 3px var(--yellow-200);
}
.book-capture-sent {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey-50);
  margin: 0;
}
.book-capture-sent a { color: var(--brand); font-weight: 700; text-decoration: none; }
.book-capture-sent a:hover { color: var(--brand-hover); }

/* Speak-invite — full-width yellow band */
.book-invite {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px 56px;
}
.book-invite-card {
  background: var(--brand);
  border: 2.5px solid var(--ink-900);
  border-radius: 22px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.book-invite-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 12px 0 6px;
  color: var(--ink-900);
}
.book-invite-card p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-800);
  margin: 0;
  max-width: 48ch;
}

/* Author block */
.book-author {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.book-author-portrait {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2.5px solid var(--ink-900);
  overflow: hidden;
  justify-self: center;
}
.book-author h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink-900);
}
.book-author p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-700);
  margin: 0 0 14px;
  max-width: 56ch;
}
.book-author a { font-family: var(--font-display); font-weight: 700; font-size: 15px; text-decoration: none; }
.book-author-links { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .book-hero, .book-capture-inner, .book-author, .book-chapters-grid { grid-template-columns: 1fr; }
  .book-author-portrait { justify-self: start; }
}

@media (max-width: 560px) {
  .book-invite-card { flex-direction: column; align-items: flex-start; }
}
