
:root {
  --ink: #191b2c;
  --muted: #626779;
  --paper: #fffdfb;
  --white: #ffffff;
  --line: #eae3de;
  --yellow: #f5efb5;
  --peach: #f7dfcf;
  --pink: #efcfdf;
  --lavender: #d6b9ef;
  --purple: #7651ad;
  --aqua: #bfece5;
  --shadow: 0 22px 55px rgba(43, 36, 68, .11);
  --shadow-soft: 0 10px 28px rgba(43, 36, 68, .08);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 82px 0; scroll-margin-top: 86px; }

.skip-link {
  position: fixed; left: -9999px; top: 14px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--white); box-shadow: var(--shadow-soft);
}
.skip-link:focus { left: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(234, 227, 222, .9);
  background: rgba(255, 253, 251, .93);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; font-weight: 900; letter-spacing: -.025em; font-size: 1.16rem;
}
.brand-icon {
  position: relative; width: 40px; height: 36px; flex: 0 0 auto;
  border-radius: 45% 45% 48% 48%; background: var(--white); border: 2px solid var(--ink);
}
.brand-icon .ear {
  position: absolute; width: 15px; height: 15px; top: -8px;
  background: var(--white); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); transform: rotate(45deg);
}
.brand-icon .ear.left { left: 5px; }
.brand-icon .ear.right { right: 5px; }
.brand-icon .face-dot { position: absolute; width: 5px; height: 5px; top: 15px; border-radius: 50%; background: var(--ink); }
.brand-icon .face-dot.left { left: 10px; }
.brand-icon .face-dot.right { right: 10px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { text-decoration: none; color: #45495d; font-weight: 800; font-size: .94rem; }
nav a:hover { color: var(--purple); }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(255,255,255,.58), transparent 28%),
    linear-gradient(100deg, var(--yellow) 0%, var(--peach) 31%, var(--pink) 63%, var(--lavender) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  min-height: 610px; padding: 66px 0 74px;
  display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 54px;
}
.eyebrow {
  margin: 0 0 10px; color: var(--purple); font-size: .78rem; font-weight: 950;
  letter-spacing: .14em; text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.1; }
h1 { margin-bottom: 20px; font-size: clamp(3.1rem, 6.8vw, 5.9rem); letter-spacing: -.055em; }
h1 span { display: block; }
h2 { margin-bottom: 14px; font-size: clamp(2.1rem, 4vw, 3.35rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; letter-spacing: -.018em; }
.hero-text { max-width: 610px; margin: 0 0 28px; color: #45495b; font-size: 1.16rem; }
.hero-actions, .buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 19px; border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; font-weight: 900; line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(43,39,59,.12); }
.primary { color: var(--white); background: var(--purple); }
.secondary { background: rgba(255,255,255,.82); border-color: rgba(25,27,44,.13); }
.amazon { min-height: 44px; padding-inline: 17px; color: #171717; background: #ffd814; font-size: .91rem; }
.text-link { color: var(--purple); font-weight: 850; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.button:focus-visible, nav a:focus-visible, .text-link:focus-visible, .brand:focus-visible, .back-to-top:focus-visible {
  outline: 3px solid #3f78c9; outline-offset: 4px;
}

.hero-books { position: relative; min-height: 465px; }
.hero-book {
  position: absolute; margin: 0; width: min(300px, 54%); overflow: hidden;
  border: 8px solid rgba(255,255,255,.72); border-radius: 22px; background: var(--white); box-shadow: var(--shadow);
}
.hero-book img { width: 100%; height: auto; }
.hero-book-left { left: 0; top: 58px; transform: rotate(-7deg); }
.hero-book-center { left: 50%; top: 4px; z-index: 3; transform: translateX(-50%); }
.hero-book-right { right: 0; top: 62px; transform: rotate(7deg); }

.section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-heading.compact { margin-bottom: 28px; }
.section-heading p:last-child { margin-bottom: 0; color: var(--muted); }

.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.featured-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft);
}
.book-cover-stage {
  min-height: 350px; padding: 20px; display: grid; place-items: center;
  background: linear-gradient(145deg, #fff8f0, #f9f2fb);
  border-bottom: 1px solid var(--line);
}
.book-cover-stage img { max-height: 310px; width: auto; max-width: 100%; border-radius: 13px; box-shadow: 0 12px 24px rgba(36,28,58,.13); }
.card-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.book-type { margin: 0 0 9px; color: var(--purple); font-size: .79rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.card-copy h3 { margin-bottom: 10px; }
.card-copy > p:not(.book-type) { margin: 0 0 20px; color: var(--muted); }
.card-copy .buy-row { margin-top: auto; }

.reviews-section {
  background: linear-gradient(135deg, #fff9f4, #faf5ff);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.review-card {
  position: relative; max-width: 900px; margin: 0 auto; padding: 44px 48px 40px;
  border: 1px solid #eee3ef; border-radius: 30px; background: var(--white); box-shadow: var(--shadow-soft);
}
.quote-mark { display: block; height: 48px; color: var(--purple); font: 700 5.1rem/.7 Georgia, serif; }
.review-card p { margin: 0 0 18px; font-size: 1.13rem; }
.review-card footer { margin-top: 24px; color: var(--muted); }

.coloring-section { background: #fffdfb; }
.coloring-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.coloring-card {
  padding: 16px 16px 20px; border: 1px solid var(--line); border-radius: 24px;
  background: var(--white); box-shadow: var(--shadow-soft); text-align: center;
}
.coloring-cover {
  height: 390px; display: grid; place-items: center; overflow: hidden;
  border-radius: 16px; background: linear-gradient(145deg, #fbfaf8, #f7f4fb);
}
.coloring-cover img { width: 100%; height: 100%; object-fit: contain; }
.coloring-card h3 { margin: 17px 8px 0; font-size: 1.03rem; }
.center-action { margin-top: 34px; text-align: center; }

.about-section { padding-top: 46px; }
.about-card {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: center;
  padding: 42px; border: 1px solid var(--line); border-radius: 30px;
  background: linear-gradient(135deg, #fbf7ff, #fffaf2); box-shadow: var(--shadow-soft);
}
.about-copy p { margin: 0 0 14px; }
.about-copy p:last-child { margin-bottom: 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #f8f5f3; }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); }
.footer-inner strong { color: var(--ink); }

.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: 48px; height: 48px; border: 0; border-radius: 50%; color: var(--white); background: var(--purple);
  font-size: 1.35rem; cursor: pointer; box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-books { min-height: 430px; max-width: 720px; width: 100%; margin: 0 auto; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-card:last-child { grid-column: 1 / -1; max-width: 560px; width: 100%; justify-self: center; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1160px); }
  .section { padding: 64px 0; }
  .nav-wrap { padding: 14px 0; align-items: flex-start; flex-direction: column; }
  nav { flex-wrap: wrap; gap: 10px 18px; }
  .hero-grid { min-height: auto; padding: 44px 0 56px; }
  h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  h1 span { display: inline; }
  .hero-books { min-height: 350px; }
  .hero-book { width: min(225px, 56%); border-width: 5px; }
  .hero-book-left { top: 54px; }
  .hero-book-right { top: 58px; }
  .featured-grid, .coloring-grid { grid-template-columns: 1fr; }
  .featured-card:last-child { grid-column: auto; max-width: none; }
  .book-cover-stage { min-height: 315px; }
  .coloring-card { max-width: 460px; width: 100%; margin-inline: auto; }
  .coloring-cover { height: 470px; }
  .review-card { padding: 34px 25px 30px; }
  .review-card p { font-size: 1.05rem; }
  .about-card { grid-template-columns: 1fr; gap: 10px; padding: 30px 26px; }
  .footer-inner { padding: 18px 0; min-height: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
}

@media (max-width: 480px) {
  .hero-books { min-height: 285px; }
  .hero-book { width: min(180px, 58%); }
  .hero-book-left { left: -5px; top: 42px; }
  .hero-book-right { right: -5px; top: 46px; }
  .book-cover-stage { min-height: 280px; }
  .book-cover-stage img { max-height: 245px; }
  .coloring-cover { height: 385px; }
  .button { width: 100%; }
  .buy-row .text-link { width: 100%; text-align: center; }
}


.amazon-secondary {
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid #d8b44b;
  border-radius: 999px;
  color: #202124;
  background: #fff7cf;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.amazon-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(43,39,59,.12);
  background: #ffefad;
}
.amazon-secondary:focus-visible {
  outline: 3px solid #4f83cc;
  outline-offset: 4px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}
.review-image-card {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.review-image-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.amazon-pair {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .reviews-grid { grid-template-columns: 1fr; }
}


/* V14 About Cheryl */
.about-card-profile {
  grid-template-columns: 190px 1fr;
  align-items: start;
  gap: 30px;
}
.about-photo-wrap {
  width: 100%;
}
.about-photo {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}
.about-content h2 {
  margin-bottom: 6px;
}
.about-subtitle {
  margin: 0 0 14px;
  font-size: 1.08rem;
  color: var(--ink);
}
.about-card-profile .about-copy p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
}
.about-card-profile .about-copy p:last-child {
  color: var(--ink);
}
@media (max-width: 760px) {
  .about-card-profile {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-photo-wrap {
    text-align: center;
  }
  .about-photo {
    margin: 0 auto;
    max-width: 180px;
  }
}


.shop-actions { align-items: center; }
.shop-actions .button { flex: 0 0 auto; }
@media (max-width: 760px) {
  .shop-actions { align-items: stretch; }
  .shop-actions .button { width: 100%; }
}


/* Worldwide Amazon author link */
.worldwide-shop {
  padding-top: 30px;
  padding-bottom: 70px;
}
.worldwide-shop-card {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff7d8, #fff8f0 45%, #f6efff);
  box-shadow: var(--shadow-soft);
}
.worldwide-shop-copy h2 { margin-bottom: 12px; }
.worldwide-shop-copy p:last-child { margin-bottom: 0; color: var(--muted); }
.worldwide-shop-action { display: flex; justify-content: flex-end; }
.worldwide-main, .worldwide-button {
  background: #232f3e;
  color: #fff;
  border-color: #232f3e;
}
.worldwide-main {
  min-height: 56px;
  padding-inline: 24px;
  text-align: center;
}
@media (max-width: 820px) {
  .worldwide-shop-card { grid-template-columns: 1fr; }
  .worldwide-shop-action { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .worldwide-main, .worldwide-button { width: 100%; }
}
