:root {
  --brown-dark: #4a3728;
  --brown-title: #5a4033;
  --brown-heading: #5c4033;
  --brown-muted: #555555;
  --brown-card: #795548;
  --text-secondary: #555555;
  --accent-rose: #d67b7b;
  --accent-rose-about: #c06c84;
  --cream-hero-foot: #ffffff;
  --cream-story: #fdfdf5;
  --cream-why: #f5f0e6;
  --cream-about: #f9f9f2;
  --sage-cta: #d4e0b5;
  --sky-top: #b6e0f3;
  --mint-bottom: #d8e9d6;
  --btn-amazon: #f9cc76;
  --btn-amazon-hero: #f4c56d;
  --btn-ingram: #a9d6f1;
  --btn-ingram-hero-bg: #b9d9eb;
  --btn-border: rgba(74, 55, 40, 0.32);
  --btn-border-hover: rgba(74, 55, 40, 0.48);
  --card-bg: #fcfbf7;
  --pill-bg: rgba(255, 255, 255, 0.75);
  --shadow-soft: 0 12px 40px rgba(74, 55, 40, 0.08);
  --max-read: 800px;
  --max-wide: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--brown-dark);
  background: var(--cream-story);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.accent {
  color: var(--accent-rose);
  font-weight: 600;
}

.accent-about {
  color: var(--accent-rose-about);
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: #fff;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}

/* ——— Hero (first section ends at bottom of art banner) ——— */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}

.art-banner {
  width: 100%;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.art-banner img {
  display: block;
  width: 100%;
  height: clamp(220px, 30vw, 480px);
  max-height: min(50vh, 520px);
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 1024px) {
  .art-banner img {
    height: clamp(200px, 38vw, 400px);
    max-height: min(45vh, 440px);
    object-position: center 28%;
  }
}

@media (max-width: 768px) {
  .art-banner img {
    height: clamp(180px, 44vw, 340px);
    max-height: min(42vh, 380px);
    object-position: center 24%;
  }
}

@media (max-width: 480px) {
  .art-banner img {
    height: clamp(150px, 52vw, 280px);
    max-height: min(38vh, 300px);
    object-position: center 20%;
  }
}

.hero-body {
  position: relative;
  flex: 0 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) 1.25rem clamp(1.25rem, 3vw, 1.75rem);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--mint-bottom) 100%);
  overflow: hidden;
}

.hero-body::before,
.hero-body::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-body::before {
  width: 280px;
  height: 200px;
  background: #fff;
  top: 8%;
  left: 5%;
}

.hero-body::after {
  width: 300px;
  height: 200px;
  background: #fff;
  top: 15%;
  right: 4%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.brand-pill {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--brown-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--brown-dark);
  letter-spacing: -0.02em;
}

.hero .byline {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown-dark);
}

.hero .credits {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(74, 55, 40, 0.78);
}

.hero .tagline {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-dark);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0;
}

.hero-body .btn-row {
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--btn-border);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 55, 40, 0.12);
  border-color: var(--btn-border-hover);
}

.btn:focus-visible {
  outline: 3px solid var(--brown-dark);
  outline-offset: 2px;
}

.btn-amazon {
  background: var(--btn-amazon-hero);
  color: var(--brown-dark);
}

.btn-ingram {
  background: var(--btn-ingram-hero-bg);
  color: var(--brown-dark);
}

.btn-amazon-solid {
  background: var(--btn-amazon);
  color: var(--brown-dark);
}

.btn-ingram-solid {
  background: var(--btn-ingram);
  color: var(--brown-dark);
}

.btn-pdf {
  background: var(--card-bg);
  color: var(--brown-dark);
}

/* ——— Story ——— */
.story {
  position: relative;
  background: var(--cream-story);
  padding: 0;
}

.story-body {
  background: var(--cream-story);
  padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem clamp(3.5rem, 8vw, 5.5rem);
}

.story-inner {
  max-width: var(--max-read);
  margin: 0 auto;
  text-align: center;
}

.story h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--brown-title);
}

.story p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--brown-title);
  font-weight: 500;
}

.story p:last-child {
  margin-bottom: 0;
}

/* ——— Why ——— */
.why {
  background: var(--cream-why);
  padding: clamp(3rem, 7vw, 5rem) 1.25rem;
}

.why-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.why h2 {
  text-align: center;
  margin: 0 0 2.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #5d4037;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.why-card {
  background: var(--card-bg);
  border-radius: 28px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.why-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--brown-title);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-bg-pink {
  background: #ffd6e0;
}
.icon-bg-blue {
  background: #c9e8ff;
}
.icon-bg-green {
  background: #c8ebc4;
}
.icon-bg-yellow {
  background: #ffe9a8;
}

.why-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #5d4037;
}

.why-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--brown-card);
  font-weight: 500;
  line-height: 1.55;
}

/* ——— About ——— */
.about {
  background: var(--cream-about);
  padding: clamp(3rem, 7vw, 5rem) 1.25rem 0;
}

.about-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about h2 {
  text-align: center;
  margin: 0 0 2.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--brown-heading);
}

.about-columns {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-photo {
  width: 100%;
  max-width: 300px;
  margin: 0;
  justify-self: start;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .about-columns {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .about-photo {
    justify-self: center;
    max-width: min(280px, 72vw);
  }

  .about-text {
    max-width: 36rem;
    text-align: center;
  }
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-text {
  text-align: left;
}

.about-text h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brown-heading);
}

.about-text p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ——— Continue the Magic (printable activities) ——— */
.activities {
  background: var(--cream-why);
  padding: clamp(3rem, 7vw, 5rem) 1.25rem;
}

.activities-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.activities h2 {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--brown-heading);
}

.activities-lede {
  text-align: center;
  margin: 0 0 2.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown-title);
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .activities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.activity-card {
  background: var(--card-bg);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.activity-preview {
  display: block;
  line-height: 0;
  background: #fff;
}

.activity-preview:focus-visible {
  outline: 3px solid var(--brown-dark);
  outline-offset: -3px;
}

.activity-preview img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.activity-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.activity-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #5d4037;
}

.activity-card-body .btn {
  width: 100%;
  max-width: 220px;
  justify-content: center;
}

/* ——— CTA + Footer ——— */
.cta-footer {
  background: var(--sage-cta);
  padding: clamp(3rem, 8vw, 5rem) 1.25rem clamp(2.5rem, 5vw, 3rem);
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-footer h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--brown-dark);
}

.cta-footer .cta-sub {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(74, 55, 40, 0.78);
}

.cta-footer .btn-row {
  margin-bottom: 2.25rem;
}

.cta-divider {
  border: 0;
  height: 1px;
  background: rgba(74, 55, 40, 0.12);
  margin: 0 0 1.75rem;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(74, 55, 40, 0.55);
}
