@font-face {
  font-family: "Chewy";
  src: url("../fonts/Chewy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Luckiest Guy";
  src: url("../fonts/LuckiestGuy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --lavender: #6B4FB0;
  --lavender-dark: #4A3486;
  --mint: #1F8F82;
  --mint-dark: #14665c;
  --yellow: #FFD23F;
  --coral: #FF6B4A;
  --sky: #2EB5E6;
  --ink: #1C1433;
  --muted: #4E4668;
  --bg: #FFF8E8;
  --white: #ffffff;
  --soft-cream: #FFF7C2;
  --line: #EAD9A8;
  --shadow: 0 12px 0 rgba(28, 20, 51, 0.12);
  --radius: 28px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Fredoka", "Nunito", "Segoe UI", Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(46, 181, 230, 0.16) 0 14px, transparent 15px),
    radial-gradient(circle at 82% 8%, rgba(255, 210, 63, 0.35) 0 10px, transparent 11px),
    radial-gradient(circle at 70% 70%, rgba(107, 79, 176, 0.12) 0 12px, transparent 13px),
    var(--bg);
  background-size: 90px 90px, 70px 70px, 110px 110px, auto;
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.05rem;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lavender-dark); text-underline-offset: 3px; }
a:hover { color: var(--mint-dark); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 40; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; max-width: 100%; }

.announce {
  margin: 0;
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
  border-bottom: 4px solid var(--ink);
}
.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--ink);
  position: sticky; top: 0; z-index: 20;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem 1rem; padding: 0.65rem 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; min-width: 0; }
.brand img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; border: 3px solid var(--ink); background: #fff; }
.brand-name {
  font-family: "Chewy", "Fredoka", sans-serif;
  font-size: 1.25rem;
  color: var(--lavender);
  line-height: 1.1;
}
.brand-tag { display: none; font-size: 0.82rem; color: var(--muted); }
nav ul { list-style: none; display: flex; gap: 0.25rem 0.9rem; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
nav a, nav summary {
  text-decoration: none; color: var(--ink); font-weight: 650; font-size: 1rem;
  cursor: pointer; list-style: none;
}
nav summary { display: inline-flex; align-items: center; gap: 0.25rem; }
nav summary::-webkit-details-marker { display: none; }
nav a[aria-current="page"], nav a:hover, nav summary:hover { color: var(--lavender); }
.nav-drop { position: relative; }
.nav-drop ul {
  display: none; position: absolute; left: 0; top: calc(100% + 0.4rem);
  background: #fff; border: 3px solid var(--ink); border-radius: 16px;
  padding: 0.5rem; min-width: 13rem; flex-direction: column;
  box-shadow: 6px 6px 0 rgba(28,20,51,0.12); z-index: 25;
}
.nav-drop[open] ul { display: flex; }
.nav-drop ul a { padding: 0.35rem 0.6rem; border-radius: 10px; display: block; }
.nav-drop ul a:hover { background: var(--yellow); }

.hero {
  position: relative;
  padding: 2rem 0 2.4rem;
  background: linear-gradient(135deg, #6B4FB0 0%, #2EB5E6 55%, #1F8F82 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 42px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23FFF8E8' d='M0 40 C 180 80 360 0 540 30 C 720 60 900 10 1080 40 C 1260 70 1380 20 1440 40 L1440 80 L0 80 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.hero-grid { display: grid; gap: 1.5rem; align-items: center; position: relative; z-index: 1; padding-bottom: 1.2rem; }
.hero-copy, .hero-visual { min-width: 0; }
.hero h1, .display {
  font-family: "Luckiest Guy", "Chewy", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.7rem;
  text-shadow: 3px 4px 0 rgba(28,20,51,0.18);
}
.hero h1 { font-size: clamp(2.1rem, 6vw, 4rem); color: #FFF7C2; max-width: 12ch; }
.hero .lede { color: #fff; max-width: 38ch; font-size: 1.18rem; }
.eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  margin: 0 0 0.8rem;
  border: 3px solid var(--ink);
}
h1, h2, h3 { font-family: "Chewy", "Fredoka", sans-serif; line-height: 1.15; color: var(--lavender-dark); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 0.55rem; }
.lede { color: var(--muted); margin: 0 0 1.2rem; }
.hero .lede { color: #f4fbff; }

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink) !important;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink) !important; }
.btn-mint { background: var(--mint); color: #fff !important; }
.btn-mint:hover { color: #fff !important; }
.btn-coral { background: var(--coral); color: #fff !important; }
.btn-coral:hover { color: #fff !important; }
.btn-ghost { background: #fff; color: var(--ink) !important; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.disclosure {
  font-size: 0.75rem;
  font-weight: 400;
  color: #3A3450;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0.35rem 0 0;
  margin: 0.4rem 0 0;
}

.hero-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: end;
}
.hero-collage a { display: block; min-width: 0; }
.hero-collage img {
  width: 100%; aspect-ratio: 8.5/11; object-fit: cover;
  border-radius: 18px; border: 3px solid var(--ink);
  background: #fff; box-shadow: 5px 6px 0 rgba(28,20,51,0.2);
}
.hero-collage .tilt-a { transform: rotate(-6deg); }
.hero-collage .tilt-b { transform: rotate(4deg) translateY(10px); }
.hero-collage .tilt-c { transform: rotate(-3deg); }

.section { padding: 0.6rem 0 2.6rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.tile {
  display: block; text-decoration: none; color: var(--ink) !important;
  border: 3px solid var(--ink); border-radius: 24px;
  padding: 1.1rem 1rem 1.2rem; min-height: 7.5rem;
  box-shadow: 6px 6px 0 rgba(28,20,51,0.12);
  font-family: "Chewy", sans-serif; font-size: 1.35rem;
}
.tile:hover { transform: rotate(-2deg) translateY(-4px); }
.tile span { display: block; font-family: "Fredoka", sans-serif; font-size: 0.95rem; font-weight: 500; margin-top: 0.35rem; }
.tile-toddlers { background: #FFD0C4; }
.tile-christmas { background: #BFE9F8; }
.tile-thanks { background: #FFE89A; }
.tile-activity { background: #BFE9DD; }

.trust {
  display: grid; gap: 0.8rem;
  margin: 0.4rem 0 1.6rem;
}
.trust div {
  background: #fff; border: 3px solid var(--ink); border-radius: 22px;
  padding: 0.9rem 1rem; box-shadow: 4px 4px 0 rgba(107,79,176,0.12);
}
.trust strong { display: block; font-family: "Chewy", sans-serif; color: var(--lavender); font-size: 1.15rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.1rem; }
.chip {
  background: #fff; border: 3px solid var(--ink); border-radius: 999px;
  padding: 0.35rem 0.85rem; text-decoration: none; color: var(--ink) !important;
  font-weight: 700; cursor: pointer; font-family: "Fredoka", sans-serif;
}
.chip:hover, .chip[aria-pressed="true"], .chip.is-on { background: var(--yellow); }
.showing { color: var(--muted); margin: 0 0 1rem; font-weight: 650; }

.grid { display: grid; gap: 1.2rem; }
.books { grid-template-columns: 1fr; padding-bottom: 1.4rem; }
.card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(28,20,51,0.1);
  display: flex; flex-direction: column;
}
.card:nth-child(3n+1) { transform: rotate(-1.1deg); }
.card:nth-child(3n+2) { transform: rotate(1deg); }
.card:nth-child(3n) { transform: rotate(-0.5deg); }
.card:hover { transform: rotate(0deg) translateY(-8px); box-shadow: 8px 10px 0 rgba(28,20,51,0.14); }
.card .cover { background: #f4edff; aspect-ratio: 8.5/11; overflow: hidden; }
.card .cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.card-body { padding: 0.95rem 1rem 1.15rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.2rem; }
.meta { color: var(--muted); margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.badge {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.22rem 0.55rem; border-radius: 999px; border: 2px solid var(--ink);
}
.badge-new { background: var(--coral); color: #fff; }
.badge-soon { background: var(--lavender); color: #fff; }
.badge-age { background: var(--sky); color: #08222c; }

.collection-banner {
  background: linear-gradient(120deg, #2EB5E6, #6B4FB0);
  color: #fff; border: 3px solid var(--ink); border-radius: 30px;
  padding: 1.3rem 1.3rem 1.4rem; margin: 0 0 1.4rem;
  box-shadow: 7px 7px 0 rgba(28,20,51,0.12);
}
.collection-banner h1 { color: #FFF7C2; font-family: "Luckiest Guy", "Chewy", sans-serif; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 0.4rem; }
.collection-banner p { margin: 0; max-width: 48ch; }

.crumb { font-size: 0.92rem; margin: 0 0 0.9rem; color: var(--muted); }
.crumb a { color: var(--lavender-dark); }

.book-layout { display: grid; gap: 1.4rem; padding-bottom: 1rem; }
.cover-lg { background: #fff; border-radius: 26px; padding: 1rem; border: 3px solid var(--ink); box-shadow: 7px 7px 0 rgba(28,20,51,0.1); }
.cover-lg img { margin: 0 auto; max-height: 620px; width: auto; max-width: 100%; height: auto; border-radius: 14px; }
.samples { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.samples figure { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; border: 3px solid var(--ink); }
.samples figcaption { padding: 0.45rem 0.7rem 0.7rem; font-size: 0.86rem; color: var(--muted); }
.prose { max-width: 70ch; }
.prose h1 { margin-top: 0; }
.prose h2 { margin-top: 1.5rem; }
.product-list { list-style: none; padding: 0; margin: 1rem 0; }
.product-list li { background: #fff; border-radius: 18px; padding: 1rem 1.1rem; margin: 0 0 0.8rem; border: 3px solid var(--ink); }
.product-list strong { display: block; color: var(--lavender-dark); }
.blog-list { display: grid; gap: 1rem; }
.blog-item { background: #fff; border-radius: 22px; padding: 1.15rem 1.2rem; border: 3px solid var(--ink); box-shadow: 5px 5px 0 rgba(46,181,230,0.16); }
.byline { color: var(--muted); font-size: 0.9rem; }

.banners { display: grid; gap: 0.85rem; }
.banner {
  display: block; text-decoration: none; color: var(--ink) !important;
  border: 3px solid var(--ink); border-radius: 24px; padding: 1.15rem 1.2rem;
  font-family: "Chewy", sans-serif; font-size: 1.4rem;
}
.banner:hover { transform: translateY(-3px); }
.banner small { display: block; font-family: "Fredoka", sans-serif; font-size: 0.95rem; margin-top: 0.25rem; font-weight: 500; }

.site-footer {
  background: #3c2f6b;
  color: #fff6d8;
  padding: 0 0 2.2rem;
  margin-top: 1.4rem;
  position: relative;
}
.site-footer::before {
  content: ""; display: block; height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%233c2f6b' d='M0 40 C 160 0 320 80 480 40 C 640 0 800 70 960 35 C 1120 5 1280 60 1440 30 L1440 80 L0 80 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  margin-top: -45px;
}
.site-footer a { color: #b8fff3; }
.news-box {
  background: rgba(255,255,255,0.1);
  border: 3px dashed #FFD23F;
  border-radius: 22px;
  padding: 1rem 1.1rem 1.15rem;
  margin: 0.4rem 0 1.2rem;
}
.news-box h2 { color: #FFD23F; margin-top: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin: 1rem 0; }
.legal { font-size: 0.9rem; opacity: 0.92; }

@media (max-width: 639px) {
  nav { width: 100%; }
  nav ul { justify-content: flex-start; }
  .card:nth-child(n) { transform: none; }
  .card:hover { transform: translateY(-4px); }
}
@media (min-width: 700px) {
  .brand-tag { display: block; }
  .brand img { width: 58px; height: 58px; }
  .books { grid-template-columns: repeat(2, 1fr); }
  .book-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .samples { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .banners { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 800px) {
  .hero { padding: 2.6rem 0 3rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 2rem; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1000px) {
  .books { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .card, .tile, .btn, .banner { transform: none !important; transition: none; }
}

/* ---- bolder type and color bands ---- */
.pop-title {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.12em 0.28em;
  font-family: "Chewy", "Fredoka", sans-serif;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.pop-title .wiggle {
  display: inline-block;
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 6px 0 rgba(28,20,51,0.18);
}
.pop-hero { font-family: "Luckiest Guy", "Chewy", sans-serif; font-size: clamp(2.6rem, 8vw, 5.4rem) !important; max-width: none !important; color: inherit !important; letter-spacing: 0.03em; }
.pop-section { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 0.6rem; }
.pop-hero .w0, .pop-title.light .w0 { color: #FFD23F; transform: rotate(-4deg); }
.pop-hero .w1, .pop-title.light .w1 { color: #FF6B4A; transform: rotate(3deg); }
.pop-hero .w2, .pop-title.light .w2 { color: #FFF7C2; transform: rotate(-2.5deg); }
.pop-hero .w3, .pop-title.light .w3 { color: #2EB5E6; transform: rotate(4deg); }
.pop-hero .w4, .pop-title.light .w4 { color: #FFF7C2; transform: rotate(-3deg); }
.pop-ink .w0 { color: #4A3486; transform: rotate(-3deg); }
.pop-ink .w1 { color: #14665C; transform: rotate(2.5deg); }
.pop-ink .w2 { color: #FF6B4A; transform: rotate(-2deg); }
.pop-ink .w3 { color: #1F8F82; transform: rotate(3deg); }
.pop-ink .w4 { color: #1C1433; transform: rotate(-1.5deg); }
.pop-title .wiggle:hover, .pop-title .wiggle:focus-visible, .pop-title .wiggle.is-bounce {
  animation: wiggle 0.45s ease;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(var(--base, -2deg)) scale(1); }
  30% { transform: rotate(6deg) scale(1.08); }
  60% { transform: rotate(-5deg) scale(1.04); }
}
@keyframes bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.08) translateY(-4px); }
  100% { transform: scale(1); }
}
.btn:hover, .chip:hover, .tile:hover { animation: bounce 0.35s ease; }
.btn:active, .card:active, .tile:active, .chip:active { animation: bounce 0.28s ease; }
.mark {
  background: linear-gradient(transparent 58%, #FFD23F 58%);
  padding: 0 0.12em;
  border-radius: 0.2em;
}
.mark-sky { background: linear-gradient(transparent 58%, #7EE8FF 58%); }
.mark-mint { background: linear-gradient(transparent 58%, #9DEFDA 58%); }
.mark-coral { background: linear-gradient(transparent 58%, #FFB09A 58%); }

.band {
  position: relative;
  padding: 2.6rem 0 3.4rem;
}
.band::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 54px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.stars {
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,0.55) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 30%, rgba(255,210,63,0.7) 0 4px, transparent 5px),
    radial-gradient(circle at 40% 80%, rgba(107,79,176,0.25) 0 6px, transparent 7px);
}
.band-yellow { background-color: #FFD23F; color: var(--ink); }
.band-yellow::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%235EC8F0' d='M0 40 C 160 80 320 0 480 35 C 640 70 800 10 960 40 C 1120 70 1280 20 1440 45 L1440 80 L0 80 Z'/%3E%3C/svg%3E"); }
.band-sky { background-color: #5EC8F0; color: var(--ink); }
.band-sky::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%237ED9C8' d='M0 36 C 180 10 360 70 540 38 C 720 8 900 68 1080 32 C 1260 8 1380 60 1440 40 L1440 80 L0 80 Z'/%3E%3C/svg%3E"); }
.band-mint { background-color: #7ED9C8; color: var(--ink); }
.band-mint::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23FF8F73' d='M0 42 C 200 78 400 8 600 40 C 800 72 1000 12 1200 44 C 1320 60 1400 20 1440 36 L1440 80 L0 80 Z'/%3E%3C/svg%3E"); }
.band-coral { background-color: #FF8F73; color: var(--ink); }
.band-coral::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23C9B4F5' d='M0 38 C 170 72 340 6 510 40 C 680 74 850 10 1020 42 C 1190 74 1340 16 1440 40 L1440 80 L0 80 Z'/%3E%3C/svg%3E"); }
.band-lavender { background-color: #C9B4F5; color: var(--ink); }
.band-lavender::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23FFF8E8' d='M0 40 C 180 80 360 0 540 30 C 720 60 900 10 1080 40 C 1260 70 1380 20 1440 40 L1440 80 L0 80 Z'/%3E%3C/svg%3E"); }
.band-cream { background-color: #FFF8E8; }
.band .lede, .band .showing { color: var(--ink); }

.tile-toddlers { background: #FFB09A; color: var(--ink) !important; }
.tile-toddlers span { color: var(--ink); }
.tile-christmas { background: #7DD4F0; color: var(--ink) !important; }
.tile-thanks { background: #FFD23F; color: var(--ink) !important; }
.tile-activity { background: #7ED9C8; color: var(--ink) !important; }
.tile-activity span { color: var(--ink); }
.tile { font-size: 1.5rem; border-width: 4px; }

.card:nth-child(5n+1) { border-color: #6B4FB0; box-shadow: 7px 7px 0 #FFD23F; }
.card:nth-child(5n+2) { border-color: #FF6B4A; box-shadow: 7px 7px 0 #2EB5E6; }
.card:nth-child(5n+3) { border-color: #1F8F82; box-shadow: 7px 7px 0 #FF6B4A; }
.card:nth-child(5n+4) { border-color: #2EB5E6; box-shadow: 7px 7px 0 #FFD23F; }
.card:nth-child(5n+5) { border-color: #FF6B4A; box-shadow: 7px 7px 0 #6B4FB0; }
.blurb { margin: 0; font-size: 0.95rem; color: var(--ink); }

.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,210,63,0.35) 0 18px, transparent 19px),
    radial-gradient(circle at 85% 70%, rgba(255,107,74,0.22) 0 14px, transparent 15px),
    linear-gradient(135deg, #6B4FB0 0%, #2EB5E6 55%, #1F8F82 100%);
}
.hero::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23FFD23F' d='M0 40 C 180 80 360 0 540 30 C 720 60 900 10 1080 40 C 1260 70 1380 20 1440 40 L1440 80 L0 80 Z'/%3E%3C/svg%3E");
}

.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

.toys { display: grid; gap: 1.4rem; }
.toy {
  scroll-margin-top: 96px;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 28px;
  padding: 1.1rem 1rem 1.2rem;
  box-shadow: 8px 8px 0 rgba(28,20,51,0.12);
}
.toy h3 { margin: 0 0 0.4rem; font-size: 1.6rem; }
.toy-help { margin: 0 0 0.8rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.8rem; }
.swatch {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid var(--ink); cursor: pointer;
  box-shadow: 3px 3px 0 rgba(28,20,51,0.12);
}
.swatch[aria-pressed="true"] { outline: 4px solid var(--yellow); transform: scale(1.08); }
.toy-stage { position: relative; max-width: 420px; margin: 0 auto 0.9rem; }
.toy canvas {
  width: 100%; height: auto; display: block;
  border: 3px solid var(--ink); border-radius: 16px;
  background: #fff; touch-action: none;
  max-height: 560px; user-select: none;
}
.toy-status { min-height: 1.4em; font-weight: 700; margin: 0.4rem 0 0.7rem; }
.quiz-q { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.4rem 0 0.9rem; }
.quiz-result { margin-top: 0.8rem; }

@media (min-width: 900px) {
  .toys { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pop-title .wiggle, .btn, .card, .tile, .chip, .banner { animation: none !important; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.pop-title .wiggle.is-bounce { animation: wiggle 0.45s ease; }
.card:hover { animation: bounce 0.35s ease; }

.play-tabs {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  margin: 0 0 1.15rem;
}
.play-tabs [role="tab"] {
  font-family: "Chewy", "Fredoka", sans-serif;
  font-size: 1.12rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: #fff;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
}
.play-tabs [role="tab"][aria-selected="true"] {
  background: var(--yellow);
}
.play-tabs [role="tab"]:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 3px;
}
.toy[hidden], [hidden] { display: none !important; }
.toy-stage { max-width: 460px; }

/* Coral band headings: bright yellow/cream + ink outline (not dark ink/mint on coral) */
.band-coral .pop-title .wiggle {
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 6px 0 rgba(28, 20, 51, 0.22);
}
.band-coral .pop-title .w0,
.band-coral .pop-title .w2,
.band-coral .pop-title .w4 { color: #FFD23F; }
.band-coral .pop-title .w1,
.band-coral .pop-title .w3 { color: #FFF7C2; }
