/* ---------------------------------------------------------------
   BOOK PAGE: /protecting-the-circle-of-care/

   Cover beside the copy from 900px, stacked and centred below it.
   The "Buy on Amazon" pill is in pages.css (BOOK), shared with the
   About page and the homepage strip.
--------------------------------------------------------------- */

.book-hero {
  background: var(--sk-wash);
  padding: 56px 0 64px;
}

.book-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.book-hero__cover {
  justify-self: center;
  width: 220px;
}

.book-hero__cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 24px 48px -20px rgba(11, 11, 69, 0.45), 0 2px 6px rgba(11, 11, 69, 0.12);
}

.book-hero__eyebrow {
  margin: 0 0 12px;
  font-family: var(--sk-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sk-green-cta);
  /* Brand green measured 4.47:1 on the light end of the hero gradient
     at 390px (AA small text needs 4.5). A white backing that hugs the
     text lifts it to 4.92:1; the spread shadow pads it without moving
     anything, so the layout is unchanged. */
  width: fit-content;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 0 0 4px var(--white);
}

.book-hero__title {
  margin: 0 0 10px;
  font-family: var(--sk-heading);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--sk-navy);
}

.book-hero__subtitle {
  margin: 0 0 14px;
  font-family: var(--sk-heading);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--sk-body-copy);
}

.book-hero__byline {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--sk-navy);
}

.book-hero__byline a {
  color: inherit;
}

.book-hero__desc {
  max-width: 62ch;
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--sk-body-copy);
}

.book-hero__actions {
  display: grid;
  grid-template-columns: minmax(0, 240px);
  margin: 0 0 28px;
}

.book-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0;
}

.book-facts > div {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--sk-card-fill);
  border: 1px solid var(--sk-hairline-soft);
}

.book-facts dt {
  margin: 0 0 4px;
  font-family: var(--sk-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sk-utility);
}

.book-facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--sk-navy);
}

@media (min-width: 900px) {
  .book-hero {
    padding: 72px 0 80px;
  }

  .book-hero__inner {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 64px;
  }

  .book-hero__cover {
    width: 320px;
  }

  .book-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }
}

/* About the author: round headshot beside a short bio. */
.book-author {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: start;
  margin-top: 8px;
}

.book-author__photo {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FFFFFF;
  box-shadow: 0 10px 24px -12px rgba(11, 11, 69, 0.35);
  background: #E9ECF4;
}

.book-author__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-book .book-author__name {
  margin: 0 0 8px;
  font-family: var(--sk-heading);
  font-size: 22px;
  color: var(--sk-navy);
}

.book-author__copy p {
  max-width: 68ch;
}

@media (min-width: 640px) {
  .book-author {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }
}
