/* ==========================================================
   J&A Mindful Connections — design system
   Palette sampled from the live Canva site (Nov 23, 2026)
   ========================================================== */
:root {
  --cream: #FFF4E3;
  --navy: #2A4674;
  --navy-dark: #1E3458;
  --orange: #FF9441;
  --orange-soft: #FFA25A;
  --yellow: #FFC544;
  --green: #05A552;
  --pink: #F69AA2;
  --sky: #84CAED;
  --ink: #2E2E2E;
  --white: #FFFFFF;

  --font-display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --pill: 999px;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 112px);
  --shadow: 0 10px 30px rgba(42, 70, 116, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section-y) 0; position: relative; }
.center { text-align: center; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 40ch; }
.center .lede { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-weight: 600; font-size: .95rem; letter-spacing: .02em; background: var(--white); color: var(--navy); padding: 6px 16px; border-radius: var(--pill); margin-bottom: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none;
  border-radius: var(--pill); border: 3px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-sun { background: var(--yellow); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }
.text-link { font-weight: 700; color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 244, 227, .96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid rgba(42,70,116,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--ink); margin-top: 4px; letter-spacing: .03em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a:not(.btn) { display: block; padding: 10px 12px; font-weight: 600; font-size: .95rem; text-decoration: none; border-radius: 12px; color: var(--ink); }
.nav a:not(.btn):hover { background: var(--white); color: var(--navy); }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 14px; width: 48px; height: 48px; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 8px var(--pad) 24px; border-bottom: 1px solid rgba(42,70,116,.12); display: none; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(42,70,116,.08); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; }
}

/* ---------- Creatures (decorative) ---------- */
.critter { position: absolute; pointer-events: none; z-index: 0; }
.critter svg { width: 100%; height: 100%; display: block; overflow: visible; }
@media (max-width: 700px) { .critter.hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--ink); max-width: 13ch; }
.hero .lede { margin-bottom: 28px; }
.trust { margin-top: 22px; font-size: .95rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars { color: #E08A00; letter-spacing: 2px; font-size: 1.05rem; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.hero-art .disc { position: absolute; inset: 6%; background: var(--pink); border-radius: 50%; }
.cover-fan { position: absolute; inset: 0; }
.cover-fan a { position: absolute; width: 44%; border-radius: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.22); transition: transform .2s ease; }
.cover-fan a img { border-radius: 10px; width: 100%; }
.cover-fan a:nth-child(1) { left: 6%;  top: 8%;  transform: rotate(-8deg); z-index: 2; }
.cover-fan a:nth-child(2) { right: 6%; top: 4%;  transform: rotate(6deg);  z-index: 1; }
.cover-fan a:nth-child(3) { left: 10%; bottom: 4%; transform: rotate(5deg);  z-index: 3; }
.cover-fan a:nth-child(4) { right: 8%; bottom: 8%; transform: rotate(-5deg); z-index: 4; }
.cover-fan a:hover { transform: rotate(0) scale(1.04); z-index: 6; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-art { max-width: 460px; }
}

/* ---------- Shop by feeling ---------- */
.feelings { background: var(--yellow); }
.feelings h2 { color: var(--ink); }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; position: relative; z-index: 1; }
.book-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 0 rgba(0,0,0,.06); }
.book-card .feel { font-weight: 700; font-size: .95rem; padding: 12px 18px; color: var(--ink); }
.feel-anger { background: var(--orange); }
.feel-sad { background: var(--sky); }
.feel-nervous { background: var(--pink); }
.feel-jealous { background: #7FD3A3; }
.book-card .cover { display: block; padding: 18px 18px 0; }
.book-card .cover img { border-radius: 10px; box-shadow: 0 8px 18px rgba(0,0,0,.18); aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform .2s ease; }
.book-card .cover:hover img { transform: translateY(-4px) rotate(-1deg); }
.book-card .body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.book-card h3 { font-size: 1.3rem; margin-bottom: .45em; }
.book-card h3 a { text-decoration: none; }
.book-card h3 a:hover { color: var(--navy); text-decoration: underline; }
.book-card p { font-size: .97rem; flex: 1; }
.book-card .btn { width: 100%; }
.more-books { margin-top: 36px; font-weight: 600; }
@media (max-width: 1020px) { .book-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .book-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; } }

/* ---------- More than a story ---------- */
.different { background: var(--orange-soft); overflow: hidden; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; position: relative; z-index: 1; }
.feature { background: var(--white); border-radius: var(--radius); padding: 28px 28px 24px; display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; }
.feature .icon { width: 72px; height: 72px; }
.feature h3 { margin-bottom: .3em; }
.feature p { margin: 0; font-size: 1rem; }
.feature .example { display: block; margin-top: 10px; font-size: .92rem; color: #4a4a4a; border-left: 4px solid var(--yellow); padding-left: 10px; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } .feature { grid-template-columns: 56px 1fr; padding: 22px; } .feature .icon { width: 56px; height: 56px; } }

/* ---------- Authors ---------- */
.authors { background: var(--sky); overflow: hidden; }
.authors-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.authors .photo { position: relative; justify-self: center; width: min(380px, 100%); }
.authors .photo .blob { position: absolute; inset: 8% -8% -6% 8%; background: var(--yellow); border-radius: 999px 999px 40px 40px; }
.authors .photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 999px 999px 32px 32px; border: 8px solid var(--cream); }
.authors .names { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.2rem; margin-bottom: .2em; }
@media (max-width: 860px) { .authors-grid { grid-template-columns: 1fr; } .authors .photo { order: -1; width: min(300px, 80%); } }

/* ---------- Music + resources ---------- */
.extras { background: var(--cream); }
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.panel { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.panel > * { position: relative; z-index: 1; }
.panel > .critter { position: absolute; z-index: 0; }
.panel-music { background: #067A44; color: var(--white); } /* deeper brand green so white text passes WCAG AA */
.panel-music h3, .panel-music p { color: var(--white); }
.panel-music .draft-note { color: #7C2D12; }
.panel-free { background: var(--yellow); }
.panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.panel .btn-row { margin-top: auto; padding-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.chips li { background: rgba(255,255,255,.2); border-radius: var(--pill); padding: 5px 14px; font-size: .9rem; font-weight: 600; }
.panel-free .free-cover { width: 120px; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,.2); transform: rotate(-4deg); margin-bottom: 18px; }
.edu-band { margin-top: 24px; background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 36px) clamp(24px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.edu-band h3 { color: var(--yellow); margin: 0 0 .2em; }
.edu-band p { margin: 0; max-width: 60ch; }
@media (max-width: 820px) { .extras-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 0 0 28px; position: relative; }
.footer-critters { display: flex; justify-content: center; gap: 6px; transform: translateY(-34px); height: 70px; }
.footer-critters svg { width: 64px; height: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer h2 { font-size: 1.15rem; color: var(--yellow); margin-bottom: .8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand .brand-name small { color: rgba(255,255,255,.8); }
.footer-brand p { font-size: .95rem; color: rgba(255,255,255,.88); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Draft-only review notes (remove before launch) ---------- */
.draft-note { display: block; margin: 14px 0 0; padding: 10px 14px; border: 2px dashed #B45309; background: #FFFBEB; color: #7C2D12; border-radius: 12px; font-size: .85rem; font-weight: 500; line-height: 1.45; }
.draft-banner { background: #7C2D12; color: #fff; text-align: center; font-size: .85rem; padding: 8px 12px; }

/* ---------- v3: real logo, book pages, music, email form, social ---------- */
.brand .logo { height: 58px; width: auto; }
.footer-brand .brand .logo { height: 70px; }
@media (max-width: 520px) { .brand .logo { height: 50px; } }

.feature-grid { grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; flex-direction: column; padding: 14px 14px 20px; grid-template-columns: none; gap: 0; margin: 0; }
.feature .page { border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--cream); }
.feature .page img { width: 100%; height: 100%; object-fit: cover; }
.feature figcaption { padding: 16px 6px 0; }
.feature h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.feature h3 .icon { width: 36px; height: 36px; flex: none; }
.feature p { font-size: .97rem; }
@media (max-width: 1020px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .feature-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } .feature { padding: 14px 14px 20px; } .feature h3 .icon { width: 32px; height: 32px; } }

.players { display: grid; gap: 12px; margin: 6px 0 18px; }
.players iframe { border: 0; border-radius: 12px; display: block; background: rgba(0,0,0,.15); }
.listen-label { font-weight: 600; margin-bottom: 8px; }
.btn-light { background: var(--white); color: #067A44; }
.panel-music .btn-row { padding-top: 0; margin-top: 0; }

.panel-free h3 em { font-style: normal; }
#mlb2-43986997 { margin-top: 8px; }
#mlb2-43986997 .ml-form-fieldRow { margin-bottom: 12px; }
#mlb2-43986997 label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
#mlb2-43986997 input.form-control { width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--navy); border-radius: 14px; }
#mlb2-43986997 input.form-control:focus { outline: 3px solid var(--white); outline-offset: 2px; }
#mlb2-43986997 .ml-form-embedSubmit { margin-top: 6px; }
#mlb2-43986997 .ml-form-embedSubmit .btn { width: 100%; }
#mlb2-43986997 .ml-error input { border-color: #B42318 !important; box-shadow: 0 0 0 2px #FDE2E1; }
#mlb2-43986997 .ml-error label { color: #8A1C12; }
#mlb2-43986997 .consent { font-size: .85rem; margin: 10px 0 0; }
#mlb2-43986997 .ml-form-successContent h4 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 .4em; }
#mlb2-43986997 .ml-form-successContent a { font-weight: 700; color: var(--navy); }
.ml-form-embedSubmitLoad { display: inline-block; width: 20px; height: 20px; }
.ml-form-embedSubmitLoad::after { content: " "; display: block; width: 11px; height: 11px; margin: 1px; border-radius: 50%; border: 4px solid #fff; border-color: #fff #fff #fff transparent; animation: ml-spin 1.2s linear infinite; }
@keyframes ml-spin { to { transform: rotate(360deg); } }

.follow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 22px 0 6px; }
.follow-label { font-weight: 700; color: var(--navy); }
.follow .handle { font-size: .92rem; font-weight: 600; }
.social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white); transition: transform .15s ease; }
.social a:hover { transform: translateY(-2px); }
.social svg { width: 22px; height: 22px; }
.social a { --icon-bg: var(--navy); }
.social-dark { margin: 4px 0 16px; }
.social-dark a { background: var(--white); color: var(--navy); --icon-bg: var(--white); }
.site-footer .social-dark a:hover { text-decoration: none; }
.edu-band .btn { flex: none; }

/* ---------- v4: Our Books + book pages ---------- */
.crumbs { padding-top: 18px; font-size: .9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #777; }
.crumbs a { color: var(--navy); font-weight: 600; }
.page-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(36px, 5vw, 64px); }
.page-hero h1 { margin-bottom: .3em; }
.card-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.card-actions .text-link { font-size: .92rem; }
.book-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .book-grid.three { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; } }
.feeling-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 8px; }
.feel-chip { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: 0 4px 0 rgba(0,0,0,.08); transition: transform .15s ease; }
.feel-chip:hover { transform: translateY(-3px); }
.feel-chip strong { font-family: var(--font-display); font-size: 1.3rem; }
.feel-chip span { font-size: .92rem; }
.feel-chip span::before { content: "Tool: "; font-weight: 600; }
@media (max-width: 760px) { .feeling-map { grid-template-columns: 1fr 1fr; } }
.every-book { background: var(--cream); }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.tool-grid.four { grid-template-columns: repeat(4, 1fr); }
.tool { background: var(--white); border-radius: var(--radius); padding: 26px; }
.tool > svg { width: 56px; height: 56px; display: block; margin-bottom: 12px; }
.tool h3 { margin-bottom: .35em; }
.tool p { margin: 0; font-size: 1rem; }
@media (max-width: 1020px) { .tool-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .tool-grid, .tool-grid.four { grid-template-columns: 1fr; } }

.book-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.book-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.book-cover img { border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.22); width: 100%; transform: rotate(-2deg); }
.book-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: .25em; }
.book-hero .subtitle { display: block; font-size: .45em; color: var(--navy); margin-top: .4em; }
.feel-tag { display: inline-block; padding: 6px 16px; border-radius: var(--pill); font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.byline { font-weight: 500; }
.byline a { color: var(--navy); font-weight: 700; }
@media (max-width: 820px) { .book-hero-grid { grid-template-columns: 1fr; } .book-cover { max-width: 380px; margin: 0 auto; } }

.book-facts-wrap { background: var(--white); }
.book-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.book-split p { font-size: 1.08rem; }
.facts { background: var(--cream); border-radius: var(--radius); padding: 26px 28px; }
.facts h2 { font-size: 1.6rem; }
.facts dl { margin: 0; }
.facts dl div { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(42,70,116,.12); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { font-weight: 700; color: var(--navy); }
.facts dd { margin: 0; }
@media (max-width: 820px) { .book-split { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .facts dl div { grid-template-columns: 1fr; gap: 0; } }

.peek { background: var(--yellow); }
.peek-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.peek figure { margin: 0; background: var(--white); border-radius: var(--radius); padding: 12px 12px 16px; }
.peek img { border-radius: 14px; width: 100%; }
.peek figcaption { padding: 12px 6px 0; font-weight: 600; text-align: center; }
@media (max-width: 820px) { .peek-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; } }
.tools-wrap { background: var(--orange-soft); }
.guide-wrap { background: var(--sky); }
.guide-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.guide-grid.no-img { grid-template-columns: 1fr; max-width: 760px; }
.guide-img img { border-radius: 16px; box-shadow: 0 16px 30px rgba(0,0,0,.18); transform: rotate(2deg); width: 100%; }
.guide-list { padding-left: 1.2em; }
.guide-list li { margin-bottom: 10px; }
@media (max-width: 820px) { .guide-grid { grid-template-columns: 1fr; } .guide-img { max-width: 340px; margin: 0 auto; } }
.song-band { background: #067A44; color: var(--white); padding: 48px 0; }
.song-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.song-inner > svg { width: 110px; height: 70px; flex: none; }
.song-inner > div { flex: 1 1 280px; }
.song-inner h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .2em; }
.song-inner p { margin: 0; }
.faq { background: var(--cream); }
.narrow { max-width: 820px; }
.faq details { background: var(--white); border-radius: 18px; padding: 4px 22px; margin-top: 14px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; font-size: 1.08rem; list-style-position: outside; }
.faq details p { margin: 0 0 18px; }
.related { background: var(--white); }
.cta-band { background: var(--navy); color: var(--white); padding: 44px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--yellow); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .2em; }
.cta-inner h2 em { font-style: normal; }
.cta-inner p { margin: 0; }
.cta-band .btn-primary { background: var(--yellow); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--white); color: var(--navy); }

/* ---------- v5: resources, educators, visits, music, about, contact ---------- */
.care-note { font-size: .9rem; color: #555; border-top: 1px solid rgba(42,70,116,.15); padding-top: 16px; margin-top: 28px; }
.mini-book { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; background: var(--cream); border-radius: var(--radius); padding: 20px; margin: 36px 0; }
.mini-book img { border-radius: 10px; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.mini-book h3 { margin-bottom: .3em; }
.mini-book p { font-size: .97rem; margin-bottom: .6em; }
.mini-label { font-weight: 700; color: var(--navy); text-transform: uppercase; font-size: .78rem !important; letter-spacing: .06em; margin: 0 0 .3em !important; }
@media (max-width: 560px) { .mini-book { grid-template-columns: 1fr; text-align: center; } .mini-book img { margin: 0 auto; width: 140px; } }
.res-cats-wrap { padding-top: 0; }
.res-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.res-cat { border-radius: var(--radius-lg); padding: 26px 22px 24px; position: relative; display: flex; flex-direction: column; box-shadow: 0 6px 0 rgba(0,0,0,.07); }
.res-cat h3 { font-size: 1.45rem; margin-right: 54px; }
.res-cat h3 a { text-decoration: none; }
.res-cat ul { list-style: none; padding: 0; margin: 4px 0 18px; flex: 1; }
.res-cat li { padding: 7px 0; border-bottom: 1px dashed rgba(0,0,0,.18); }
.res-cat li a { font-weight: 600; text-decoration: none; }
.res-cat li a:hover { text-decoration: underline; }
.critter-badge { position: absolute; right: 16px; top: 16px; width: 54px; height: 54px; }
.critter-badge svg { width: 100%; height: 100%; }
@media (max-width: 1020px) { .res-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .res-cats { grid-template-columns: 1fr; } }
.free-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.free-feature .panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.free-feature .panel h2 em { font-style: normal; }
.access h2 { font-size: 1.7rem; }
.access-list { list-style: none; padding: 0; margin: 0; }
.access-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; background: var(--white); border-radius: 18px; padding: 16px; margin-bottom: 12px; }
.access-list svg { width: 52px; height: 52px; }
.access-list strong { display: block; font-size: 1.05rem; }
.access-list span { font-size: .95rem; }
@media (max-width: 820px) { .free-feature { grid-template-columns: 1fr; } }
.cat-hero-grid { display: grid; grid-template-columns: 1fr 180px; gap: 30px; align-items: center; }
.cat-critter svg { width: 180px; height: 160px; }
@media (max-width: 700px) { .cat-hero-grid { grid-template-columns: 1fr; } .cat-critter { display: none; } }
.feel-anger-soft { background: #FFE3CC; } .feel-sad-soft { background: #DDF0FA; } .feel-nervous-soft { background: #FDE3E5; } .feel-jealous-soft { background: #DDF5E7; }
.act-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.act-card { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.act-card h3 { font-size: 1.3rem; }
.act-card h3 a { text-decoration: none; color: var(--navy); }
.act-card h3 a:hover { text-decoration: underline; }
.act-card p { font-size: .97rem; flex: 1; }
.act-meta { font-size: .88rem !important; font-weight: 600; color: #555; }
.act-hero .feel-tag { text-decoration: none; color: var(--ink); }
.act-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.act-facts div { background: var(--white); border-radius: 14px; padding: 10px 14px; font-size: .92rem; }
.act-facts dt { font-weight: 700; color: var(--navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.act-facts dd { margin: 0; }
.act-body { background: var(--white); }
.act-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.4em; }
.act-body h2:first-child { margin-top: 0; }
.act-body p, .act-body li { font-size: 1.06rem; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 10px 0 10px 54px; min-height: 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 6px; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.needs { padding-left: 1.2em; }
.affirm { background: var(--cream); border-radius: var(--radius); padding: 20px 20px 20px 48px; }
.affirm li { margin: 6px 0; font-weight: 500; }
.more-acts li { margin-bottom: 8px; }
.table-wrap { overflow-x: auto; margin-top: 28px; border-radius: var(--radius); background: var(--cream); }
.topic-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.topic-table th, .topic-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(42,70,116,.12); vertical-align: top; }
.topic-table thead th { background: var(--navy); color: var(--white); font-size: .92rem; }
.topic-table a { color: var(--navy); font-weight: 600; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 20px 0; }
.pill-list li { background: var(--yellow); border-radius: var(--pill); padding: 8px 18px; font-weight: 600; }
.photo-frame img { width: 100%; max-width: 400px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 999px 999px 32px 32px; border: 8px solid var(--white); box-shadow: var(--shadow); margin: 0 auto; }
.album-wrap { background: var(--yellow); }
.album-wrap.alt { background: var(--sky); }
.album { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.album .player iframe { border: 0; border-radius: 14px; display: block; width: 100%; }
.tracks { background: var(--white); border-radius: var(--radius); padding: 18px 18px 18px 44px; }
.tracks li { padding: 5px 0; font-weight: 500; }
.track-book { font-size: .85rem; font-weight: 600; color: var(--navy); margin-left: 6px; }
@media (max-width: 820px) { .album { grid-template-columns: 1fr; } }
.letter { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.letter p { font-size: 1.08rem; }
.sig { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.3rem !important; }
.contact-card > svg { width: 52px; height: 52px; margin-bottom: 8px; }
.follow-block { margin-top: 44px; }
.follow-block .social { justify-content: center; }
.book-hero .social { margin-top: 14px; }
/* v6: photo galleries + embedded form */
.photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.photo-gallery figure { margin: 0; }
.photo-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; border: 6px solid #fff; box-shadow: 0 12px 26px rgba(42,70,116,.16); display: block; }
.photo-gallery figure:nth-child(3n+1) img { transform: rotate(-1.5deg); }
.photo-gallery figure:nth-child(3n+3) img { transform: rotate(1.5deg); }
.photo-gallery.three { margin-top: 0; }
@media (max-width: 760px) { .photo-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } .photo-gallery img { border-width: 4px; } }
.form-embed { background: #fff; border-radius: 24px; box-shadow: 0 12px 26px rgba(42,70,116,.12); padding: 8px; margin: 24px 0 12px; overflow: hidden; }
.form-embed iframe { display: block; width: 100%; border: 0; min-height: 600px; }
.small { font-size: .95rem; }
/* ---------- v7: Shop menu, Merch & Gifts, Support Our Mission ---------- */
/* Shop menu: hidden by default via the [hidden] attribute; /assets/shop-menu.js opens and closes it. */
.shop-menu { position: relative; margin-left: 10px; }
.nav .shop-menu .btn { margin-left: 0; }
.shop-toggle svg { width: 16px; height: 16px; transition: transform .15s ease; }
.shop-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav .shop-list { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 2px; position: absolute; right: 0; top: calc(100% + 10px); min-width: 270px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); z-index: 60; }
.nav .shop-list[hidden], .shop-list[hidden] { display: none !important; }
.shop-list::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav .shop-list a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; }
.shop-list strong { font-family: var(--font-display); font-size: 1.08rem; color: var(--navy); }
.shop-list span { font-size: .85rem; font-weight: 500; color: #555; }
.nav .shop-list a.shop-main { background: var(--cream); }
.nav .shop-list a[aria-current="page"] { background: var(--cream); box-shadow: inset 4px 0 0 var(--orange); }
@media (max-width: 1020px) {
  .shop-menu { margin: 0; }
  .nav .shop-menu .shop-toggle { width: 100%; }
  .nav .shop-list { position: static; min-width: 0; margin-top: 10px; box-shadow: 0 4px 0 rgba(0,0,0,.06); }
  .shop-list::before { display: none; }
  .nav .shop-list a { border-bottom: 0; border-radius: 14px; padding: 12px 14px; }
}
.shop-note { font-size: .98rem; color: #555; margin: 0 auto; max-width: 640px; }
.cat-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.cat-jump a { display: inline-block; padding: 9px 18px; border-radius: var(--pill); background: var(--white); color: var(--navy); font-weight: 600; text-decoration: none; box-shadow: 0 3px 0 rgba(0,0,0,.06); }
.cat-jump a:hover { background: var(--yellow); color: var(--ink); }
.merch-cat { padding: clamp(28px, 4vw, 48px) 0 0; scroll-margin-top: 96px; }
.merch-cat h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); display: flex; align-items: center; gap: 12px; color: var(--navy); }
.merch-cat h2 svg { width: 42px; height: 42px; flex: none; }
.merch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 18px; }
.merch-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 0 rgba(0,0,0,.06); }
.merch-img { display: block; overflow: hidden; background: #F4F1EC; }
.merch-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s ease; }
.merch-card:hover .merch-img img { transform: scale(1.04); }
.merch-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.merch-body h3 { font-size: 1.1rem; margin-bottom: .35em; }
.merch-body p { font-size: .92rem; flex: 1; margin-bottom: 10px; }
.merch-body .price { flex: none; font-weight: 700; color: var(--navy); font-size: 1rem; margin-bottom: 12px; }
.merch-body .btn { align-self: flex-start; padding: 8px 18px; min-height: 42px; font-size: .92rem; }
@media (max-width: 1020px) { .merch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .merch-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .merch-body { padding: 12px; }
  .merch-body h3 { font-size: 1rem; }
  .merch-body p:not(.price) { display: none; }
  .merch-body .btn { align-self: stretch; padding: 8px 10px; }
}
.merch-books { background: var(--white); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.merch-books .txt { flex: 1 1 280px; }
.merch-books h2 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); color: var(--navy); margin: 0 0 .25em; }
.merch-books p { margin: 0; }
.mini-covers { display: flex; flex: none; }
.mini-covers img { width: 64px; height: 64px; border-radius: 10px; border: 3px solid var(--white); box-shadow: 0 4px 10px rgba(0,0,0,.15); margin-left: -14px; }
.mini-covers img:first-child { margin-left: 0; }
.merch-fine { margin-top: 22px; color: #555; }

.support-band { padding: 0 0 var(--section-y); }
.support-inner { background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 36px); display: grid; grid-template-columns: minmax(220px, 1fr) 2.3fr; gap: 24px; align-items: center; box-shadow: 0 6px 0 rgba(0,0,0,.05); }
.support-inner h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--navy); margin-bottom: .3em; }
.support-inner p { margin-bottom: .6em; }
.support-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.support-ways a { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 16px 18px; border-radius: var(--radius); background: var(--cream); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.support-ways a:hover { transform: translateY(-3px); }
.support-ways svg { width: 42px; height: 42px; margin-bottom: 6px; }
.support-ways img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; margin-bottom: 6px; }
.support-ways strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); }
.support-ways span { font-size: .9rem; color: #555; }
.support-ways .way-books a { background: var(--yellow); }
.support-ways .way-books span { color: var(--ink); }
@media (max-width: 900px) { .support-inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .support-ways { grid-template-columns: 1fr; } }

.ways-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; }
.way { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; }
.way > svg { width: 56px; height: 56px; margin-bottom: 12px; }
.way h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); color: var(--navy); }
.way p { flex: 1; }
.way .btn { align-self: flex-start; }
.way-feature { background: var(--yellow); }
.way-feature .mini-covers { margin-bottom: 16px; }
.way-thumb { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; margin-bottom: 12px; }
.free-title { margin-top: clamp(48px, 6vw, 72px); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.free-ways { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.free-ways li { background: var(--white); border-radius: var(--radius); padding: 20px; }
.free-ways strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.12rem; margin-bottom: 4px; }
.free-ways p { font-size: .95rem; margin: 0 0 8px; }
.free-ways .social { margin-top: 6px; }
@media (max-width: 900px) { .ways-grid, .free-ways { grid-template-columns: 1fr 1fr; } .way-feature { grid-column: 1 / -1; } }
@media (max-width: 600px) { .ways-grid, .free-ways { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .merch-body .btn { white-space: nowrap; font-size: .85rem; min-height: 40px; } }
@media (max-width: 360px) { .merch-grid { grid-template-columns: 1fr; } }


/* Business card code note (merch page) */
.card-code-note { max-width: 40rem; margin: 1.25rem auto 0; padding: 1rem 1.25rem; border: 2px dashed #E85040; border-radius: 16px; background: #FFF4E3; text-align: center; }
.card-code-note p { margin: 0; }
.card-code-note .card-code-ways { margin-top: .5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .5rem; }
