/* Books That Heal — site styles */
:root {
  --sun: #FBC515;
  --orange: #EE9129;
  --orange-dark: #C96F0E;
  --sky: #3E97D3;
  --sky-dark: #1F6FA6;
  --ink: #1B2430;
  --text: #2E3744;
  --muted: #5E6978;
  --line: #E8E1D3;
  --cream: #FFF8EB;
  --cream-2: #FDF0D5;
  --paper: #FFFFFF;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(27,36,48,.06), 0 8px 24px rgba(27,36,48,.08);
  --max: 1160px;
  --head: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.eyebrow { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--orange-dark); margin-bottom: .6em; display: block; }
.lead { font-size: 1.2rem; color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--head); font-weight: 600; font-size: 1.02rem; padding: .78em 1.4em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; line-height: 1.1; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 0 var(--orange-dark); }
.btn-primary:hover { background: #F39E3C; color: #fff; }
.btn-blue { background: var(--sky); color: #fff; box-shadow: 0 4px 0 var(--sky-dark); }
.btn-blue:hover { background: #52A6DE; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { font-size: .92rem; padding: .55em 1.05em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--head); font-weight: 700; font-size: 1.22rem; letter-spacing: .02em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--head); font-weight: 500; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--cream-2); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { background: #F39E3C; }
.menu-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 10px; padding: 6px 10px; font-family: var(--head); font-weight: 600; color: var(--ink); cursor: pointer; }
@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Sections */
section { padding: 84px 0; }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: #D9DEE5; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { section { padding: 60px 0; } }

/* Hero */
.hero { padding: 64px 0 0; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--orange); }
.hero .lead { max-width: 34em; }
.hero-art { position: relative; }
.hero-art img { border-radius: 24px; box-shadow: 0 18px 40px rgba(27,36,48,.16); }
.hero-sun { position: absolute; width: 120px; right: -18px; top: -38px; transform: rotate(8deg); filter: drop-shadow(0 6px 12px rgba(0,0,0,.12)); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.stat { padding: 26px 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-size: 2.1rem; color: var(--ink); line-height: 1.1; font-weight: 600; }
.stat span { font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sun { width: 84px; right: 4px; top: -30px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.step:nth-child(2)::before { background: var(--orange); color: #fff; }
.step:nth-child(3)::before { background: var(--sky); color: #fff; }
.step:nth-child(4)::before { background: var(--ink); color: #fff; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Book grid */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px 24px; }
.book-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.book-card .cover { background: var(--cream-2); border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.book-card .cover img { width: 100%; height: 100%; object-fit: contain; }
.book-card:hover .cover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 14px 32px rgba(27,36,48,.16); }
.book-card h3 { font-size: 1.05rem; margin: 14px 0 2px; }
.book-card p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 520px) { .book-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; } }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search input { width: 100%; font: inherit; padding: 12px 16px 12px 44px; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.search input:focus { border-color: var(--sky); outline: none; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.count { color: var(--muted); font-size: .95rem; }
.empty { display: none; padding: 40px; text-align: center; color: var(--muted); }

/* Book detail */
.book-detail { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 56px; align-items: start; }
.book-detail .cover { border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(27,36,48,.18); background: var(--cream-2); position: sticky; top: 100px; }
.book-detail .byline { font-family: var(--head); font-size: 1.2rem; color: var(--muted); margin-bottom: 4px; }
.book-detail .byline a { color: var(--orange-dark); }
.book-detail .credit { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.book-detail .story { font-size: 1.08rem; }
.crumbs { font-size: .92rem; margin-bottom: 20px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.callout { background: var(--cream); border-radius: var(--radius); padding: 24px 26px; margin-top: 32px; border-left: 6px solid var(--sun); }
.callout h3 { margin-bottom: .3em; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.pager a { font-family: var(--head); text-decoration: none; max-width: 48%; }
.pager small { display: block; color: var(--muted); font-family: var(--body); }
@media (max-width: 800px) { .book-detail { grid-template-columns: 1fr; gap: 32px; } .book-detail .cover { position: static; max-width: 420px; } }

/* Authors */
.author-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.author-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; scroll-margin-top: 96px; }
.author-card:target { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(238,145,41,.25); }
.author-card .thumbs { display: grid; gap: 8px; }
.author-card .thumbs img { border-radius: 6px; box-shadow: var(--shadow); background: var(--cream-2); aspect-ratio: 1; object-fit: contain; }
.author-card h3 { font-size: 1.18rem; margin-bottom: 4px; }
.author-card .books { font-size: .92rem; margin: 0 0 10px; }
.author-card .books a { font-weight: 700; }
.author-card .bio { font-size: .95rem; color: var(--muted); margin: 0; }
.author-card .bio.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.more { background: none; border: 0; padding: 0; margin-top: 6px; font: inherit; font-size: .92rem; font-weight: 700; color: var(--sky-dark); cursor: pointer; }
.more:hover { text-decoration: underline; }
@media (max-width: 400px) { .author-grid { grid-template-columns: 1fr; } .author-card { grid-template-columns: 72px 1fr; padding: 18px; } }

/* Board */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.member { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.member header { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.member img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 4px solid var(--cream-2); }
.member h3 { margin: 0; }
.member .role { font-size: .9rem; color: var(--orange-dark); font-weight: 700; }
.member p { font-size: .96rem; color: var(--muted); }
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.founder img { border-radius: 24px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 240px; } }

/* Donate */
.impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.tier { background: #fff; border-radius: var(--radius); padding: 22px; border: 2px solid var(--line); }
.tier b { font-family: var(--head); font-size: 2rem; color: var(--orange-dark); display: block; line-height: 1; margin-bottom: 8px; }
.tier span { font-size: .95rem; color: var(--muted); }
.donate-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.donorbox-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; position: sticky; top: 96px; }
.donorbox-wrap iframe { display: block; margin: 0 auto; }
@media (max-width: 900px) { .donate-grid { grid-template-columns: 1fr; } .donorbox-wrap { position: static; } .impact { grid-template-columns: 1fr; } }
.quote { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; background: var(--cream); border-radius: var(--radius); padding: 22px; margin: 28px 0; }
.quote img { border-radius: 12px; }
.quote p { margin: 0; font-size: .98rem; }
@media (max-width: 520px) { .quote { grid-template-columns: 1fr; } .quote img { max-width: 120px; } }

/* CTA band */
.band { background: var(--sun); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.band h2 { margin-bottom: .25em; }
.band p { margin: 0; color: var(--ink); font-size: 1.1rem; }
.band.blue { background: var(--sky); }
.band.blue h2, .band.blue p { color: #fff; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 32px 24px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.award { display: flex; gap: 20px; align-items: center; }
.award img { width: 110px; flex-shrink: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2430' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* News */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-list time { font-family: var(--head); font-weight: 600; color: var(--orange-dark); font-size: 1.1rem; }
.news-list a { font-family: var(--head); font-size: 1.15rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.news-list a:hover { color: var(--sky-dark); text-decoration: underline; }
.news-list .src { display: block; color: var(--muted); font-size: .92rem; }

/* Page hero */
.page-hero { background: var(--cream); padding: 64px 0 56px; }
.page-hero .lead { max-width: 40em; margin-bottom: 0; }

/* Forms */
.form-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 40px; }
@media (max-width: 600px) { .form-card { padding: 24px 18px; border-radius: 18px; } }
fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
legend, .legend { font-family: var(--head); font-weight: 600; font-size: 1.35rem; color: var(--ink); margin-bottom: 6px; padding: 0; }
.legend-note { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
label, .label { display: block; font-weight: 700; color: var(--ink); font-size: .96rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.req { color: var(--orange-dark); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--sky); outline: none; }
.hint { font-size: .86rem; color: var(--muted); margin-top: 5px; }
.choices { display: grid; gap: 10px; }
.choices.cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .choices.cols { grid-template-columns: 1fr; } }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 600; color: var(--ink); margin: 0; transition: border-color .15s, background .15s; }
.choice:hover { border-color: #D6CCB8; }
.choice input { margin-top: 5px; accent-color: var(--orange); width: 18px; height: 18px; flex-shrink: 0; }
.choice small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.choice:has(input:checked) { border-color: var(--orange); background: #FFF6EA; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--text); }
.check input { margin-top: 6px; accent-color: var(--orange); width: 18px; height: 18px; flex-shrink: 0; }
.hidden-field { position: absolute; left: -9999px; }
.cond[hidden] { display: none !important; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 26px; }
.privacy { font-size: .88rem; color: var(--muted); max-width: 36em; margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #C4CBD5; padding: 64px 0 28px; font-size: .96rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand img { width: 44px; }
.foot-brand span { font-family: var(--head); color: #fff; font-weight: 700; text-transform: uppercase; font-size: 1.15rem; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); }
.socials a:hover { background: var(--orange); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: #97A1AE; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Storybook layer: paper, crayon doodles, taped-up covers
   ========================================================= */
:root {
  --hand: "Gochi Hand", "Comic Sans MS", cursive;
  --paper: #FFFBF3;
  --red: #E4572E;
  --green: #4FA36B;
  --tape: rgba(251, 197, 21, .55);
}
body {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(27,36,48,.045) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.hand { font-family: var(--hand); font-weight: 400; letter-spacing: .01em; }
.eyebrow { font-family: var(--hand); text-transform: none; letter-spacing: .01em; font-size: 1.35rem; font-weight: 400; color: var(--orange-dark); margin-bottom: .2em; }
.eyebrow.on-blue { color: var(--sun); }
.site-header { background: rgba(255,251,243,.94); }
.btn-ghost.on-dark { border-color: #fff; color: #fff; }
.btn-ghost.on-dark:hover { background: #fff; color: var(--sky-dark); }
.bg-cream { background: var(--cream-2); background-image: radial-gradient(rgba(27,36,48,.05) 1px, transparent 1.2px); background-size: 22px 22px; }

/* doodles */
.squiggle, .strike { position: absolute; left: -2%; width: 104%; overflow: visible; pointer-events: none; }
.squiggle { bottom: -.12em; height: .32em; }
.squiggle path { fill: none; stroke: var(--sun); stroke-width: 6; stroke-linecap: round; }
.strike { top: 50%; height: .5em; transform: translateY(-40%); }
.strike path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; opacity: .9; }
.doodle { position: absolute; overflow: visible; pointer-events: none; }
.doodle path { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.doodle.star path { stroke: var(--orange); fill: rgba(251,197,21,.35); }
.doodle.heart path { stroke: var(--red); fill: rgba(228,87,46,.18); }
.doodle.arrow path { stroke: var(--ink); stroke-width: 3; }

/* tape + taped covers */
.tape { position: absolute; top: -12px; left: 50%; width: 76px; height: 24px; background: var(--tape); transform: translateX(-50%) rotate(-4deg); z-index: 2; box-shadow: 0 1px 2px rgba(0,0,0,.06); border-left: 2px dashed rgba(255,255,255,.5); border-right: 2px dashed rgba(255,255,255,.5); }
.taped { position: absolute; display: block; background: #fff; padding: 7px; box-shadow: 0 10px 26px rgba(27,36,48,.18); border-radius: 3px; transition: transform .25s ease, box-shadow .25s ease; }
.taped img { border-radius: 2px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.taped:hover { z-index: 5; box-shadow: 0 18px 40px rgba(27,36,48,.25); }

/* hero */
.hero2 { padding: 56px 0 40px; overflow: hidden; }
.hero2-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.eyebrow-hand { display: inline-block; font-size: 1.35rem; color: var(--sky-dark); background: #fff; padding: 2px 14px; border-radius: 999px; box-shadow: var(--shadow); transform: rotate(-1.5deg); margin-bottom: 18px; }
.hero2 h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); line-height: 1.1; margin-bottom: .45em; }
.struck, .author-word { position: relative; display: inline-block; white-space: nowrap; }
.struck { color: #8B95A3; }
.author-word { color: var(--orange); font-family: var(--hand); font-weight: 400; font-size: 1.28em; line-height: .9; transform: rotate(-3deg); }
.hero2 .lead { max-width: 33em; color: var(--text); }
.hero-note { display: flex; align-items: flex-end; gap: 6px; margin: 26px 0 0; font-size: 1.3rem; color: var(--muted); }
.hero-note .doodle.arrow { position: static; width: 70px; height: 40px; transform: scaleY(-1) rotate(10deg); }
.collage { position: relative; height: 540px; }
.collage .taped { width: 43%; }
.collage .c0 { left: 4%;  top: 2%;  transform: rotate(-6deg); width: 47%; z-index: 3; }
.collage .c1 { left: 50%; top: 0%;  transform: rotate(5deg); }
.collage .c2 { left: 30%; top: 36%; transform: rotate(-2deg); width: 42%; z-index: 4; }
.collage .c3 { left: -2%; top: 52%; transform: rotate(4deg); width: 37%; }
.collage .c4 { left: 66%; top: 42%; transform: rotate(8deg); width: 34%; }
.collage .c5 { left: 58%; top: 74%; transform: rotate(-5deg); width: 30%; }
.collage .taped:hover { transform: rotate(0) scale(1.04); }
.collage .star { width: 58px; right: 2%; top: -3%; transform: rotate(12deg); }
.collage .heart { width: 46px; left: 2%; bottom: 3%; transform: rotate(-10deg); }
@media (max-width: 900px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .collage { height: 420px; max-width: 520px; margin: 10px auto 0; width: 100%; }
}
@media (max-width: 520px) {
  .collage { height: 330px; }
  .taped { padding: 5px; }
  .tape { width: 52px; height: 18px; top: -9px; }
  .hero-note { font-size: 1.15rem; }
}

/* bookshelf marquee */
.shelf { overflow: hidden; padding: 22px 0 30px; background: linear-gradient(180deg, transparent 0 78%, #C98A4B 78% 84%, #A86F3A 84% 100%); border-bottom: 1px solid #8f5d2f; }
.shelf-track { display: flex; gap: 18px; width: max-content; animation: shelf 140s linear infinite; padding-left: 18px; }
.shelf:hover .shelf-track { animation-play-state: paused; }
.shelf-book { flex: 0 0 auto; width: 120px; transform-origin: bottom center; transition: transform .2s; }
.shelf-book:nth-child(3n) { transform: rotate(-2deg); }
.shelf-book:nth-child(4n) { transform: rotate(2deg); }
.shelf-book:hover { transform: translateY(-10px); }
.shelf-book img { border-radius: 3px; box-shadow: 0 6px 14px rgba(0,0,0,.22); aspect-ratio: 1; object-fit: cover; }
@keyframes shelf { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .shelf-track { animation: none; } .shelf { overflow-x: auto; } }
@media (max-width: 520px) { .shelf-book { width: 88px; } }

/* numbers */
.numbers { padding: 48px 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.numbers-grid div { padding: 10px; }
.numbers-grid b { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.4rem); color: var(--ink); line-height: 1; }
.numbers-grid div:nth-child(1) b { color: var(--orange); }
.numbers-grid div:nth-child(2) b { color: var(--sky); }
.numbers-grid div:nth-child(3) b { color: var(--green); }
.numbers-grid div:nth-child(4) b { color: var(--red); }
.numbers-grid .hand { font-size: 1.3rem; color: var(--muted); }
@media (max-width: 700px) { .numbers-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; } }

/* origin story */
.origin { padding-top: 40px; }
.origin-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; max-width: 1020px; }
.polaroid { position: relative; background: #fff; padding: 14px 14px 16px; box-shadow: 0 16px 38px rgba(27,36,48,.18); transform: rotate(-3deg); border-radius: 3px; }
.polaroid img { width: 100%; border-radius: 2px; }
.polaroid .hand { display: block; text-align: center; font-size: 1.45rem; color: var(--ink); margin-top: 10px; }
.origin h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
.origin p { font-size: 1.08rem; }
@media (max-width: 800px) { .origin-grid { grid-template-columns: 1fr; gap: 40px; } .polaroid { max-width: 280px; margin: 0 auto; } }

/* chapters */
.chapters-sec { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chapters { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.chapters li { background: var(--paper); border: 2px solid var(--ink); border-radius: 6px 18px 6px 18px; padding: 22px 20px; position: relative; box-shadow: 5px 5px 0 var(--sun); }
.chapters li:nth-child(2) { box-shadow: 5px 5px 0 var(--orange); }
.chapters li:nth-child(3) { box-shadow: 5px 5px 0 var(--sky); }
.chapters li:nth-child(4) { box-shadow: 5px 5px 0 var(--green); }
.chapters li:nth-child(5) { box-shadow: 5px 5px 0 var(--red); }
.chapters .ch { display: block; font-size: 1.3rem; color: var(--orange-dark); margin-bottom: 4px; }
.chapters h3 { font-size: 1.15rem; margin-bottom: .35em; }
.chapters p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .chapters { grid-template-columns: 1fr 1fr; } .chapters li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .chapters { grid-template-columns: 1fr; } }

/* signing */
.signing { background: var(--sky); color: #EAF5FC; position: relative; overflow: hidden; }
.signing h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.signing p { font-size: 1.08rem; }
.signing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.signed-book { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 10px; box-shadow: 0 24px 50px rgba(10,40,70,.35); transform: rotate(-3deg); min-height: 300px; position: relative; }
.signed-book::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 22px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(0,0,0,.0), rgba(0,0,0,.09), rgba(0,0,0,0)); }
.signed-book > div { position: relative; padding: 36px 26px; display: flex; flex-direction: column; justify-content: center; color: var(--ink); }
.signed-book .hand { font-size: 1.7rem; line-height: 1.2; }
.signed-book .sig { color: var(--sky-dark); font-size: 2.1rem; margin-top: 12px; transform: rotate(-4deg); }
.signed-book .small { font-size: 1.2rem; color: var(--muted); text-align: center; }
.signed-book .heart { width: 40px; right: 18px; bottom: 18px; }
.signed-book .star { width: 64px; left: 50%; top: 32%; transform: translateX(-50%) rotate(10deg); }
.signed-book .page-r { align-items: center; }
@media (max-width: 860px) { .signing-grid { grid-template-columns: 1fr; } .signed-book { max-width: 460px; min-height: 230px; } }

/* voices */
.voices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.voice { margin: 0; background: #fff; border-radius: 16px; padding: 26px 22px 22px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.voice:nth-child(odd) { transform: rotate(-.8deg); }
.voice:nth-child(even) { transform: rotate(.8deg); }
.voice-cover { position: relative; display: block; width: 96px; margin-bottom: 18px; }
.voice-cover img { border-radius: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.16); aspect-ratio: 1; object-fit: cover; }
.voice-cover .tape { width: 50px; height: 16px; top: -8px; }
.voice blockquote { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.5; color: var(--ink); flex: 1; }
.voice figcaption .hand { display: block; font-size: 1.3rem; color: var(--orange-dark); line-height: 1.1; }
.voice figcaption a { font-size: .9rem; font-weight: 700; }
@media (max-width: 1000px) { .voices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .voices { grid-template-columns: 1fr; } .voice { transform: none !important; } }

/* buddy */
.buddy-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 26px; }
.tier-card { text-decoration: none; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 16px; color: var(--ink); transition: transform .15s; box-shadow: 4px 4px 0 var(--ink); }
.tier-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.tier-card b { display: block; font-family: var(--head); font-size: 1.9rem; line-height: 1; color: var(--orange-dark); }
.tier-card span { font-size: .92rem; color: var(--muted); }
.tier-card.hot { background: var(--sun); }
.tier-card.hot b, .tier-card.hot span { color: var(--ink); }
.award-card { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: flex; gap: 20px; align-items: center; transform: rotate(1.2deg); }
.award-card img { width: 110px; flex-shrink: 0; }
.award-card h3 { margin-bottom: .25em; }
.award-card p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .buddy-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .tiers { grid-template-columns: 1fr; } .award-card { flex-direction: column; text-align: center; } }

/* inner pages get the storybook treatment too */
.page-hero { background: transparent; position: relative; overflow: hidden; }
.page-hero h1 { position: relative; display: inline-block; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
.page-hero::before { width: 64px; height: 64px; right: 8%; top: 40px; transform: rotate(14deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 4 L29 18 L44 19 L32 28 L37 43 L24 34 L11 43 L16 28 L4 19 L19 18 Z' fill='%23FBC51555' stroke='%23EE9129' stroke-width='3.5' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.page-hero::after { width: 48px; height: 48px; right: 16%; bottom: 30px; transform: rotate(-12deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 42 C 10 32, 4 24, 6 15 C 8 7, 19 5, 24 14 C 29 5, 40 7, 42 15 C 44 24, 38 32, 24 42 Z' fill='%23E4572E2e' stroke='%23E4572E' stroke-width='3.5'/%3E%3C/svg%3E"); }
@media (max-width: 700px) { .page-hero::before { right: 4%; top: 18px; width: 44px; height: 44px; } .page-hero::after { display: none; } }
.book-card .cover { background: #fff; padding: 6px; border-radius: 4px; }
.book-card:nth-child(4n+1) .cover { transform: rotate(-1deg); }
.book-card:nth-child(4n+3) .cover { transform: rotate(1deg); }
.book-card:hover .cover { transform: translateY(-4px) rotate(0); }
.book-card h3 { font-size: 1.08rem; }
.book-detail .cover { position: sticky; background: #fff; padding: 10px; border-radius: 4px; transform: rotate(-2deg); overflow: visible; }
.book-detail .cover::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; background: var(--tape); transform: translateX(-50%) rotate(-4deg); z-index: 2; }
.author-card { border-radius: 16px; }
.author-card h3 { font-family: var(--head); }
.callout { border-left-color: var(--orange); background: #fff; box-shadow: var(--shadow); }
.form-card { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--sun); }
.site-footer { background: #1E2833; }
.home-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .home-grid { grid-template-columns: repeat(2, 1fr); } }
.signed-book .page-r { justify-content: space-between; padding-top: 70px; }
.signed-book .star { position: static; transform: rotate(10deg); width: 70px; }
.award-card { background: var(--ink); color: #D9DEE5; }
.award-card h3 { color: #fff; }
.award-card p { color: #B8C1CC; }

/* ---------- Intake wizard ---------- */
.intake-hero { padding-bottom: 24px; }
.intake-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .intake-grid { grid-template-columns: 1fr; } }
.wizard { padding: 36px 36px 26px; }
.is-wizard .wstep { display: none; margin-bottom: 26px; }
.is-wizard .wstep.active { display: block; animation: pageturn .35s ease; }
@keyframes pageturn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .is-wizard .wstep.active { animation: none; } }
.progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 2px dashed var(--line); }
.progress[hidden] { display: none; }
.progress-pages { display: flex; gap: 8px; }
.progress-pages .pg { width: 30px; height: 10px; border-radius: 999px; background: var(--line); transition: background .2s; }
.progress-pages .pg.done { background: var(--sky); }
.progress-pages .pg.now { background: var(--orange); }
.progress .hand { font-size: 1.3rem; color: var(--muted); }
.wizard legend, .wizard .legend { font-size: 1.6rem; }
.form-foot { display: flex; align-items: center; gap: 12px; border-top: 0; padding-top: 6px; }
.form-foot .spacer { flex: 1; }
.form-foot [hidden] { display: none; }
.wizard .privacy { margin-top: 18px; font-size: .86rem; color: var(--muted); }
.wizard input[type=file] { padding: 10px; background: var(--paper); border-style: dashed; }
.intake-aside { display: grid; gap: 20px; position: sticky; top: 96px; }
@media (max-width: 960px) { .intake-aside { position: static; } }
.expect { position: relative; background: var(--sky); color: #EAF5FC; border-radius: 20px; padding: 28px 26px 22px; }
.expect h2 { color: #fff; font-size: 1.6rem; margin-bottom: .6em; }
.expect .star { width: 50px; right: 18px; top: -18px; transform: rotate(12deg); }
.expect ol { margin: 0; padding-left: 1.2em; }
.expect li { margin-bottom: 12px; line-height: 1.5; }
.expect li::marker { font-family: var(--hand); color: var(--sun); font-size: 1.2em; }
.expect b { color: #fff; }
.talk { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 18px 22px; box-shadow: 4px 4px 0 var(--sun); display: grid; gap: 2px; }
.talk .hand { font-size: 1.4rem; color: var(--orange-dark); }
.talk a { font-weight: 700; word-break: break-word; }
.faqs h3 { font-size: 1.2rem; margin: 6px 0 10px; }
.faq { background: #fff; border-radius: 12px; margin-bottom: 8px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 18px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--head); font-size: 1.4rem; color: var(--orange); }
.faq[open] summary::after { content: "\2013"; }
.faq p { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: .96rem; }
@media (max-width: 600px) { .wizard { padding: 24px 18px 18px; } .progress-pages .pg { width: 20px; } }
.ack { background: var(--cream-2); border: 2px solid var(--ink); border-radius: 16px; padding: 22px 22px 16px; box-shadow: 4px 4px 0 var(--orange); }
.ack-title { font-size: 1.25rem; margin: 0 0 .35em; }
.ack-note { font-size: .95rem; color: var(--text); margin-bottom: 14px; }
.ack .check { margin: 0 0 12px; padding: 10px 12px; background: #fff; border-radius: 10px; line-height: 1.45; font-size: .96rem; }
.ack .check:has(input:checked) { box-shadow: inset 0 0 0 2px var(--green); }

/* ---------- Story guide ---------- */
.story-guide { background: #fff; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.guide-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.guide-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .25em; }
.guide-head .lead { max-width: 38em; margin: 0; }
.guide-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.gfact { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 16px 18px; box-shadow: 4px 4px 0 var(--sun); }
.gfact:nth-child(2) { box-shadow: 4px 4px 0 var(--sky); }
.gfact:nth-child(3) { box-shadow: 4px 4px 0 var(--orange); }
.gfact b { display: block; font-family: var(--head); font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.gfact .hand { font-size: 1.2rem; color: var(--muted); line-height: 1.2; }
@media (max-width: 760px) { .guide-facts { grid-template-columns: 1fr; } }

.book-map { background: var(--paper); border-radius: 16px; padding: 20px; margin-bottom: 34px; overflow-x: auto; }
.bm-row { display: flex; gap: 6px; align-items: stretch; min-width: 760px; }
.bm-spread { display: flex; gap: 1px; box-shadow: 0 2px 6px rgba(0,0,0,.08); border-radius: 3px; }
.bm-page { width: 22px; height: 30px; border-radius: 2px; background: #fff; border: 1.5px solid var(--ink); position: relative; }
.bm-page.front { background: var(--line); width: 34px; display: grid; place-items: center; }
.bm-page.front span { font-family: var(--hand); font-size: .7rem; color: var(--ink); }
.bm-spread .words::after { content: ""; position: absolute; left: 4px; right: 4px; top: 7px; height: 12px; background: repeating-linear-gradient(to bottom, var(--ink) 0 1.5px, transparent 1.5px 4px); opacity: .45; }
.bm-spread.beginning .pic { background: var(--sun); }
.bm-spread.challenge .pic { background: var(--sky); }
.bm-spread.ending .pic { background: var(--orange); }
.bm-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: .9rem; color: var(--muted); align-items: center; }
.bm-legend .k { display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--ink); margin-right: 6px; vertical-align: -2px; }
.k.front { background: var(--line); } .k.beginning { background: var(--sun); } .k.challenge { background: var(--sky); } .k.ending { background: var(--orange); }
.bm-note { font-style: italic; }

.front-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.fcard { background: var(--cream-2); border-radius: 16px; padding: 22px 24px; }
.fcard .hand, .gcard .hand { font-size: 1.3rem; color: var(--orange-dark); }
.fcard h3 { margin: 2px 0 .35em; }
.fcard p { margin: 0; color: var(--text); }
@media (max-width: 760px) { .front-pages { grid-template-columns: 1fr; } }

.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gcard { background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 22px 22px 18px; position: relative; overflow: hidden; }
.gcard::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 8px; }
.gcard.beginning::before { background: var(--sun); }
.gcard.challenge::before { background: var(--sky); }
.gcard.ending::before { background: var(--orange); }
.gcard-head { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.gpages { font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 2px 10px; }
.gcard h3 { font-size: 1.5rem; margin: 4px 0 2px; }
.gsub { color: var(--muted); margin-bottom: 12px; }
.gq { list-style: none; padding: 0; margin: 0 0 14px; counter-reset: q; }
.gq li { counter-increment: q; position: relative; padding: 8px 0 8px 36px; border-top: 1px dashed var(--line); line-height: 1.4; }
.gq li::before { content: counter(q); position: absolute; left: 0; top: 7px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: .85rem; background: var(--paper); border: 1.5px solid var(--ink); }
.gdraw { font-size: .93rem; background: var(--paper); border-radius: 10px; padding: 10px 12px; margin: 0; }
@media (max-width: 960px) { .guide-cards { grid-template-columns: 1fr; } }
.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; background: var(--sun); border-radius: 18px; padding: 20px 26px; }
.guide-cta p { margin: 0; font-size: 1.08rem; color: var(--ink); }
.guide-cta .hand { font-size: 1.45rem; margin-right: 6px; }
.write-lines { display: none; }

@media print {
  body:has(#story-guide) .site-header, body:has(#story-guide) .site-footer, body:has(#story-guide) main > section:not(#story-guide), body:has(#story-guide) .skip, .preview-bar { display: none !important; }
  body { background: #fff !important; font-size: 12pt; }
  .story-guide { border: 0; padding: 0; }
  [data-print], .guide-cta .btn, .book-map { display: none !important; }
  .guide-facts, .gfact, .gcard, .fcard { box-shadow: none !important; break-inside: avoid; }
  .guide-cards { grid-template-columns: 1fr; }
  .gcard { break-inside: avoid; margin-bottom: 12pt; }
  .write-lines { display: block; margin-top: 10pt; }
  .write-lines span { display: block; height: 24pt; border-bottom: 1px solid #999; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.bm-row { width: 100%; }
.bm-spread { flex: 2; }
.bm-spread .bm-page { flex: 1; width: auto; height: 44px; }
.bm-page.front { flex: 1.1; height: 44px; }
.bm-page.front span { font-size: .85rem; }
.bm-page.back { background: var(--green); flex: 1.1; height: 44px; display: grid; place-items: center; }
.bm-page.back span { font-family: var(--hand); font-size: .8rem; color: #fff; }
.k.back { background: var(--green); }
.back-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.fcard.photos, .fcard.about { background: #fff; border: 2px solid var(--ink); position: relative; overflow: hidden; }
.fcard.photos::before, .fcard.about::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--green); }
.fcard.photos .hand, .fcard.about .hand { display: block; margin-top: 4px; color: #2F7A4A; }
.fcard .gq { margin: 12px 0 14px; }
.gq.plain li { padding-left: 26px; counter-increment: none; }
.gq.plain li::before { content: ""; width: 10px; height: 10px; top: 14px; left: 4px; background: var(--green); border: 0; }
@media (max-width: 760px) { .back-pages { grid-template-columns: 1fr; } }
@media print { .back-pages { grid-template-columns: 1fr; } .fcard { break-inside: avoid; } }
.bm-page.back { flex: 1.5; }
.bm-page.back span { font-size: .72rem; }
.promises { padding: 44px 0 52px; }
.promise-lead { text-align: center; font-size: 1.6rem; color: var(--orange-dark); margin: 0 0 18px; }
.promises .numbers-grid div { background: #fff; border-radius: 18px; padding: 22px 16px 18px; box-shadow: var(--shadow); }
.promises .numbers-grid div:nth-child(odd) { transform: rotate(-1deg); }
.promises .numbers-grid div:nth-child(even) { transform: rotate(1deg); }
.promises .numbers-grid b { font-size: 1.28rem; font-weight: 600; line-height: 1.2; margin-bottom: 4px; color: var(--ink) !important; }
.promises .numbers-grid .hand { font-size: 1.2rem; }
.picon { width: 52px; height: 52px; display: block; margin: 0 auto 10px; overflow: visible; }
.picon path, .picon circle { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.promises .numbers-grid div:nth-child(1) .picon * { stroke: var(--orange); fill: rgba(238,145,41,.15); }
.promises .numbers-grid div:nth-child(2) .picon * { stroke: var(--sky); fill: rgba(62,151,211,.12); }
.promises .numbers-grid div:nth-child(3) .picon * { stroke: var(--red); fill: rgba(228,87,46,.15); }
.promises .numbers-grid div:nth-child(4) .picon * { stroke: var(--sun); fill: rgba(251,197,21,.25); }
.promises .numbers-grid div:nth-child(1) .picon path:last-child, .promises .numbers-grid div:nth-child(2) .picon path:not(:first-child), .promises .numbers-grid div:nth-child(4) .picon path { fill: none; }

/* ---------- Story planner (fillable) ---------- */
.planner { display: grid; gap: 20px; }
.planner fieldset { margin: 0; min-width: 0; }
.gtitle { font-family: var(--head); font-weight: 600; font-size: 1.5rem; color: var(--ink); padding: 0; margin: 4px 0 2px; float: left; width: 100%; }
.gtitle + * { clear: both; }
.pcard { background: #fff; border: 2px solid var(--ink) !important; border-radius: 18px; padding: 22px 24px 18px !important; box-shadow: 5px 5px 0 var(--sun); }
.pcard .fields { margin-top: 10px; clear: both; }
.saved-note { margin: 12px 0 0; font-size: .9rem; color: #2F7A4A; }
.saved-note[hidden] { display: none; }
.planner .front-pages, .planner .back-pages { margin: 0; }
.planner .fcard { border: 0; }
.planner .fcard .hand { display: block; }
.planner .guide-cards { grid-template-columns: 1fr; }
.planner .gcard { padding: 24px 26px 20px; }
.planner .gcard-head { clear: both; }
.pq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 8px 0 14px; clear: both; }
.pq-grid.one { grid-template-columns: 1fr; }
@media (max-width: 760px) { .pq-grid { grid-template-columns: 1fr; } }
.pq { clear: both; }
.pq label { font-size: .95rem; margin-bottom: 5px; }
.pq textarea { min-height: 84px; background: var(--paper); font-size: 1rem; }
.pq textarea:not(:placeholder-shown) { background: #fff; border-color: #CFE3F1; }
.fcard .pq { margin-top: 10px; }
.photo-inputs { display: grid; gap: 10px; margin: 12px 0 4px; }
.photo-inputs label { font-size: .9rem; margin-bottom: 3px; }
.photo-inputs input { width: 100%; padding: 8px; border: 2px dashed var(--line); border-radius: 10px; background: var(--paper); font: inherit; font-size: .9rem; }
.planner .guide-cta { margin-top: 4px; }
@media print {
  .planner .pq textarea { border: 1px solid #999; min-height: 90pt; background: #fff; resize: none; }
  .planner .photo-inputs, .planner .guide-cta, .planner .saved-note, .planner .hidden-field { display: none !important; }
  .planner .pcard, .planner .gcard, .planner .fcard { break-inside: avoid; box-shadow: none !important; }
  .pq-grid { grid-template-columns: 1fr; }
}
.promises .numbers-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .promises .numbers-grid { grid-template-columns: 1fr 1fr; } }
.promises .numbers-grid div:nth-child(5) .picon * { stroke: var(--green); fill: rgba(79,163,107,.14); }
.promises .numbers-grid div:nth-child(6) .picon * { stroke: var(--sky-dark); fill: rgba(31,111,166,.10); }
.promises .numbers-grid div:nth-child(5) .picon path, .promises .numbers-grid div:nth-child(6) .picon path:last-child { fill: none; }

/* ---------- How it works (path) ---------- */
.how { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.path::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; border-top: 3px dashed var(--line); z-index: 0; }
.path li { position: relative; text-align: center; z-index: 1; }
.path .dot { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--sun); }
.path li:nth-child(2) .dot { box-shadow: 4px 4px 0 var(--sky); }
.path li:nth-child(3) .dot { box-shadow: 4px 4px 0 var(--orange); }
.path li:nth-child(4) .dot { box-shadow: 4px 4px 0 var(--green); }
.path .dot svg { width: 44px; height: 44px; overflow: visible; }
.path .dot path { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.path li:nth-child(1) .dot path { fill: rgba(251,197,21,.35); }
.path li:nth-child(2) .dot path:first-child { fill: rgba(62,151,211,.2); }
.path li:nth-child(3) .dot path:first-child { fill: rgba(238,145,41,.22); }
.path li:nth-child(4) .dot path { fill: rgba(79,163,107,.25); }
.path .num { position: absolute; top: -6px; left: 50%; margin-left: 30px; font-size: 1.6rem; color: var(--orange-dark); }
.path h3 { font-size: 1.3rem; margin-bottom: .35em; }
.path p { color: var(--muted); font-size: 1rem; margin: 0 auto; max-width: 18em; }
.how-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .path::before { display: none; }
}
@media (max-width: 560px) {
  .path { grid-template-columns: 1fr; gap: 26px; }
  .path::before { display: block; top: 20px; bottom: 20px; left: 43px; right: auto; border-top: 0; border-left: 3px dashed var(--line); }
  .path li { text-align: left; display: grid; grid-template-columns: 88px 1fr; column-gap: 18px; align-items: start; }
  .path .dot { margin: 0; grid-row: 1 / span 2; }
  .path .num { left: 70px; margin-left: 0; top: -8px; }
  .path h3 { margin-top: 18px; }
  .path p { margin: 0; max-width: none; }
}
.path .num { margin-left: 38px; top: -14px; background: var(--paper); padding: 0 4px; line-height: 1; }
@media (max-width: 560px) { .path .num { left: 72px; top: -12px; } }

/* ---------- Signing (invitation) ---------- */
.signing-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.signing-points li { position: relative; padding-left: 34px; font-size: 1.04rem; line-height: 1.5; }
.signing-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2430' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.signing-points b { color: #fff; }
.invite { position: relative; background: #FFFDF7; color: var(--ink); border-radius: 6px; padding: 44px 36px 40px; text-align: center; transform: rotate(2.5deg); box-shadow: 0 24px 50px rgba(10,40,70,.35); display: flex; flex-direction: column; align-items: center; max-width: 440px; margin: 0 auto; width: 100%;
  background-image: radial-gradient(circle at 10px 10px, rgba(238,145,41,.18) 2px, transparent 2.5px); background-size: 22px 22px; }
.invite::before { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(27,36,48,.25); border-radius: 4px; pointer-events: none; }
.invite .tape { top: -12px; }
.invite-top { font-size: 1.9rem; color: var(--orange-dark); line-height: 1; }
.invite-title { font-family: var(--head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.05; margin: 8px 0 2px; color: var(--ink); }
.invite-sub { font-size: 1.4rem; color: var(--sky-dark); }
.invite-rule { width: 60%; height: 0; border-top: 3px dotted var(--sun); margin: 18px 0 14px; }
.invite-line { font-weight: 700; font-size: 1rem; color: var(--text); margin: 2px 0; }
.invite-sig { font-size: 1.7rem; color: var(--sky-dark); margin-top: 14px; transform: rotate(-4deg); }
.invite .star { width: 54px; right: 18px; top: 22px; transform: rotate(14deg); }
.invite .heart { width: 40px; left: 22px; bottom: 22px; transform: rotate(-12deg); }
@media (max-width: 860px) { .invite { transform: rotate(1.5deg); margin-top: 10px; } }
.path .num { background: transparent; }

/* ---------- Featured authors ---------- */
.authors-sec { padding-top: 40px; }
.fauthors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; margin-top: 10px; }
.fauthor { text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; text-align: center; }
.fa-cover { position: relative; display: block; width: 100%; max-width: 220px; background: #fff; padding: 8px; border-radius: 4px; box-shadow: 0 10px 24px rgba(27,36,48,.14); transition: transform .2s; }
.fauthor:nth-child(odd) .fa-cover { transform: rotate(-2deg); }
.fauthor:nth-child(even) .fa-cover { transform: rotate(2deg); }
.fauthor:hover .fa-cover { transform: rotate(0) translateY(-4px); }
.fa-cover img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 2px; }
.fa-cover .tape { width: 60px; height: 20px; top: -10px; }
.fa-name { font-family: var(--head); font-weight: 600; font-size: 1.12rem; color: var(--ink); margin-top: 16px; line-height: 1.2; }
.fa-book { font-size: 1.1rem; color: var(--muted); line-height: 1.2; margin-top: 2px; }
@media (max-width: 900px) { .fauthors { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Book Buddies (animated mascot) ---------- */
.buddy2 { background: var(--cream-2); background-image: radial-gradient(rgba(27,36,48,.05) 1px, transparent 1.2px); background-size: 22px 22px; overflow: hidden; }
.buddy2-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.buddy2 h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.buddy2 .lead { color: var(--text); }
.bb-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.bb-dog { position: relative; width: min(100%, 420px); aspect-ratio: 500 / 544; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bb-dog img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.bb-headgroup { position: absolute; inset: 0; transform-origin: 48.75% 59.8%; transform: rotate(var(--tilt, 0deg)); transition: transform .5s cubic-bezier(.34,1.56,.64,1); animation: bb-idle 4.5s ease-in-out infinite; }
.bb-ear { transition: transform .6s cubic-bezier(.3,1.9,.5,1); }
.bb-ear-l { transform-origin: 23.75% 17.2%; transform: rotate(var(--earL, 0deg)); animation: bb-ear-l 4.5s ease-in-out infinite; }
.bb-ear-r { transform-origin: 74.4% 14.9%; transform: rotate(var(--earR, 0deg)); animation: bb-ear-r 4.5s ease-in-out infinite; }
.bb-dog.tracking .bb-headgroup, .bb-dog.tracking .bb-ear { animation: none; }
.bb-dog.happy .bb-headgroup { animation: bb-happy .9s ease-in-out; }
.bb-dog.happy .bb-ear-l { animation: bb-flop-l .9s ease-in-out; }
.bb-dog.happy .bb-ear-r { animation: bb-flop-r .9s ease-in-out; }
.bb-dog:focus-visible { outline: 3px solid var(--sky); outline-offset: 6px; border-radius: 20px; }
@keyframes bb-idle { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-3deg); } 60% { transform: rotate(2.5deg); } }
@keyframes bb-ear-l { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(7deg); } 45% { transform: rotate(-2deg); } 60% { transform: rotate(-5deg); } 75% { transform: rotate(2deg); } }
@keyframes bb-ear-r { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(5deg); } 45% { transform: rotate(-2deg); } 60% { transform: rotate(-7deg); } 75% { transform: rotate(2deg); } }
@keyframes bb-happy { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-5deg) translateY(-2%); } 35% { transform: rotate(5deg); } 55% { transform: rotate(-4deg) translateY(-1.5%); } 75% { transform: rotate(3deg); } }
@keyframes bb-flop-l { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 35% { transform: rotate(-10deg); } 55% { transform: rotate(12deg); } 75% { transform: rotate(-6deg); } }
@keyframes bb-flop-r { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(10deg); } 35% { transform: rotate(-14deg); } 55% { transform: rotate(6deg); } 75% { transform: rotate(-12deg); } }
@media (prefers-reduced-motion: reduce) { .bb-headgroup, .bb-ear { animation: none !important; transition: none !important; } }
.bb-hint { display: flex; align-items: center; gap: 6px; font-size: 1.35rem; color: var(--muted); margin-top: 8px; }
.bb-hint .doodle.arrow { position: static; width: 58px; height: 34px; transform: scaleY(-1) rotate(-160deg); }
@media (max-width: 860px) { .buddy2-grid { grid-template-columns: 1fr; gap: 24px; } .bb-dog { width: min(80%, 340px); } }

/* ---------- Award ---------- */
.award-sec { background: var(--ink); color: #D5DCE4; position: relative; overflow: hidden; }
.award-sec h2 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
.award-sec p { font-size: 1.08rem; }
.eyebrow.on-dark { color: var(--sun); }
.award-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.medals { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; position: relative; }
.medal { position: relative; width: 150px; height: 200px; display: flex; justify-content: center; }
.medal:nth-child(2) { transform: translateY(-18px); }
.medal .ribbon { position: absolute; top: 0; width: 70px; height: 90px; background: linear-gradient(90deg, var(--sky) 0 33%, var(--sun) 33% 66%, var(--orange) 66%); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.medal .disc { position: absolute; top: 58px; width: 136px; height: 136px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 0 0 7px rgba(255,255,255,.35), inset 0 0 0 10px rgba(0,0,0,.08); }
.medal.silver .disc { background: radial-gradient(circle at 35% 30%, #FFFFFF, #D9DEE4 45%, #A7B0BA 100%); }
.medal.bronze .disc { background: radial-gradient(circle at 35% 30%, #F9DDBF, #D59A5E 45%, #9C5F2B 100%); }
.medal .disc b { font-family: var(--head); font-size: 1.5rem; color: #1B2430; line-height: 1; }
.medal .disc small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #3A4552; margin-top: 4px; }
.medals-cap { width: 100%; text-align: center; font-size: 1.4rem; color: var(--sun); margin: 6px 0 0; }
@media (max-width: 860px) { .award-grid { grid-template-columns: 1fr; gap: 36px; } .medal { width: 120px; height: 170px; } .medal .disc { width: 112px; height: 112px; top: 52px; } .medal .ribbon { width: 58px; height: 76px; } }
.band-sec { padding-top: 72px; }
.medals { flex-wrap: wrap; gap: 10px; }
.medal { width: 132px; }
.medal .disc { width: 124px; height: 124px; }
.medals .medal:nth-child(-n+3) { flex: 0 0 auto; }
.medals-cap { flex-basis: 100%; }
@media (min-width: 861px) { .medals { flex-wrap: wrap; max-width: 440px; margin: 0 auto; } }
@media (max-width: 420px) { .medal { width: 100px; height: 150px; } .medal .disc { width: 96px; height: 96px; top: 46px; } .medal .disc b { font-size: 1.15rem; } .medal .disc small { font-size: .55rem; } .medal .ribbon { width: 48px; height: 64px; } }
.medal .disc small { font-size: .6rem; letter-spacing: .04em; padding: 0 16px; text-align: center; line-height: 1.2; }
@media (max-width: 420px) { .medal .disc small { font-size: .5rem; padding: 0 12px; } }

/* ---------- Start a Book: two paths ---------- */
.paths-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; max-width: 900px; }
.pick-card { position: relative; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 20px 56px 20px 22px; box-shadow: 5px 5px 0 var(--sky); transition: transform .15s, box-shadow .15s; }
.pick-card.plan { box-shadow: 5px 5px 0 var(--orange); background: var(--sun); }
.pick-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--sky); color: var(--ink); }
.pick-card.plan:hover { box-shadow: 7px 7px 0 var(--orange); }
.pick-card .hand { font-size: 1.35rem; color: var(--orange-dark); line-height: 1.1; }
.pick-card.plan .hand { color: var(--ink); }
.pick-card b { font-family: var(--head); font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
.pick-sub { font-size: .95rem; color: var(--text); line-height: 1.45; margin-top: 4px; }
.pick-arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 1.1rem; font-weight: 700; }
@media (max-width: 700px) { .paths-pick { grid-template-columns: 1fr; } }
.planner-promo { display: grid; gap: 2px; text-decoration: none; color: var(--ink); background: var(--sun); border: 2px solid var(--ink); border-radius: 16px; padding: 18px 22px; box-shadow: 4px 4px 0 var(--orange); }
.planner-promo:hover { color: var(--ink); transform: translate(-1px, -1px); }
.planner-promo .hand { font-size: 1.3rem; }
.planner-promo b { font-family: var(--head); font-size: 1.35rem; font-weight: 600; }
.planner-promo span:last-child { font-weight: 700; font-size: .95rem; }
.planner-h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .25em; }

/* ===== How it works: five steps ===== */
.path.five { grid-template-columns: repeat(5, 1fr); gap: 22px; }
.path.five::before { left: 10%; right: 10%; }
.path.five li:nth-child(5) .dot { box-shadow: 4px 4px 0 var(--red); }
.path.five li:nth-child(5) .dot path { fill: rgba(228,87,46,.18); }
.path.five p { font-size: .96rem; max-width: 16em; }
.path.five p a { color: var(--sky-dark); font-weight: 700; }
.how-cta { text-align: center; margin-top: 40px; }
@media (max-width: 1080px) {
  .path.five { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
  .path.five::before { display: none; }
}
@media (max-width: 760px) { .path.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .path.five { grid-template-columns: 1fr; gap: 26px; }
  .path.five::before { display: block; left: 43px; right: auto; }
  .path.five p { max-width: none; }
  .how-cta .btn { white-space: normal; text-align: center; }
}

/* ===== Our Story graphics ===== */
.story-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.story-hero .btn-row { margin-top: 22px; }
.story-photo { position: relative; background: #fff; padding: 12px 12px 44px; border-radius: 6px; box-shadow: 0 2px 4px rgba(27,36,48,.08), 0 18px 40px rgba(27,36,48,.14); transform: rotate(2.2deg); }
.story-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.story-photo .hand { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 1.3rem; color: var(--ink); }
.story-hero.page-hero::before { right: 3%; top: 22px; }
.story-hero.page-hero::after { right: auto; left: 46%; bottom: 26px; }

.story-body { padding-top: 24px; }
.story-body-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 56px; align-items: start; }
.story-copy p { font-size: 1.1rem; }
.story-copy p:first-child::first-letter { font-family: var(--head); font-weight: 700; font-size: 3.4em; float: left; line-height: .85; margin: 6px 10px 0 0; color: var(--orange); }
.story-side { position: relative; height: 560px; }
.side-cover { position: absolute; width: 62%; background: #fff; padding: 8px; border-radius: 4px; box-shadow: 0 2px 4px rgba(27,36,48,.08), 0 12px 28px rgba(27,36,48,.14); }
.side-cover img { display: block; width: 100%; height: auto; border-radius: 2px; }
.side-cover .tape { width: 56px; height: 18px; top: -9px; }
.side-cover.c1 { top: 10px; left: 0; transform: rotate(-5deg); z-index: 1; }
.side-cover.c2 { top: 180px; right: 0; transform: rotate(4deg); z-index: 2; }
.side-cover.c3 { top: 350px; left: 8%; transform: rotate(-2deg); z-index: 3; }
.story-side .doodle.star { width: 54px; height: 54px; right: 6%; top: 0; transform: rotate(12deg); }
.story-side .doodle.heart { width: 44px; height: 44px; left: -8px; top: 250px; transform: rotate(-10deg); z-index: 4; }

.story-quote { background: var(--sky); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.story-quote::before, .story-quote::after { content: "\201C"; position: absolute; font-family: var(--head); font-size: 16rem; line-height: 1; color: rgba(255,255,255,.14); top: -20px; left: 4%; }
.story-quote::after { content: "\201D"; top: auto; left: auto; bottom: -110px; right: 4%; }
.big-quote { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.3; margin: 0; color: #fff; position: relative; }

.story-promises { background: var(--paper); }

.founder-sec { background: #fff; }
.founder-sec .founder { grid-template-columns: 340px 1fr; }
.founder-photo { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-top: 10px; }
.photo-disc { position: absolute; left: 50%; bottom: 0; width: 310px; height: 310px; transform: translateX(-50%); border-radius: 50%; background: #DCEBF6; border: 3px dashed var(--sky); }
.founder-sec .founder-photo img { position: relative; width: 300px; height: auto; border-radius: 0 0 155px 155px; box-shadow: none; }
@media (max-width: 900px) {
  .story-hero-grid, .story-body-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-photo { max-width: 560px; margin: 0 auto; transform: rotate(1.5deg); }
  .story-side { height: auto; display: flex; justify-content: center; gap: 14px; padding-top: 14px; }
  .side-cover { position: relative; width: 31%; max-width: 180px; top: auto !important; left: auto !important; right: auto !important; }
  .side-cover.c2 { margin-top: 18px; }
  .story-side .doodle { display: none; }
  .story-hero.page-hero::after { display: none; }
}
@media (max-width: 760px) {
  .founder-sec .founder { grid-template-columns: 1fr; }
  .photo-disc { width: 250px; height: 250px; }
  .founder-sec .founder-photo img { width: 240px; max-width: none; border-radius: 0 0 125px 125px; }
}

/* ===== Donate (concise) ===== */
.donate-hero { padding: 56px 0 72px; }
.donate-hero .donate-grid { grid-template-columns: 1fr 520px; gap: 48px; }
.donate-copy h1 { margin-bottom: .3em; }
.donate-copy .h3 { font-size: 1.25rem; margin: 30px 0 12px; }
.give-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.give-tier { font: inherit; text-align: left; cursor: pointer; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 16px; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.give-tier:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.give-tier b { display: block; font-family: var(--head); font-size: 1.9rem; line-height: 1; color: var(--orange-dark); margin-bottom: 6px; }
.give-tier span { font-size: .92rem; color: var(--muted); line-height: 1.35; display: block; }
.give-tier.hot { background: var(--sun); }
.give-tier.hot b, .give-tier.hot span { color: var(--ink); }
.give-tier[aria-pressed="true"] { outline: 3px solid var(--sky); outline-offset: 3px; }
.give-tier:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.give-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.give-facts li { position: relative; padding-left: 32px; font-size: 1.05rem; }
.give-facts li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.donate-hero .donorbox-wrap { top: 88px; }
.donate-hero .donorbox-wrap .hint { margin: 12px 0 2px; }
@media (max-width: 1080px) { .donate-hero .donate-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .donate-hero .donate-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .give-tiers { grid-template-columns: 1fr; } .give-tier { display: flex; align-items: baseline; gap: 14px; } .give-tier b { margin: 0; min-width: 88px; } }
.donate-hero.page-hero::before, .donate-hero.page-hero::after { display: none; }
#give { scroll-margin-top: 84px; }
.nav a.btn[aria-current="page"], .nav a.btn:hover { background: var(--orange); color: #fff; }

/* ===== Donate v3: graphics first ===== */
.donate-copy h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.donate-buddy { display: flex; align-items: center; gap: 10px; margin: 8px 0 22px; }
.donate-buddy .bb-dog { width: 170px; flex: 0 0 170px; }
.bubble { position: relative; margin: 0; background: #fff; border: 2.5px solid var(--ink); border-radius: 22px; padding: 14px 18px; font-size: 1.35rem; line-height: 1.25; color: var(--ink); box-shadow: 4px 4px 0 var(--sky); max-width: 300px; }
.bubble::before { content: ""; position: absolute; left: -13px; top: 50%; width: 20px; height: 20px; background: #fff; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-50%) rotate(45deg); }
.give-tier { text-align: center; padding: 18px 12px 16px; }
.give-tier .gicon { width: 46px; height: 46px; display: block; margin: 0 auto 8px; overflow: visible; }
.give-tier .gicon path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.give-tier:nth-child(1) .gicon path:first-child { fill: rgba(62,151,211,.22); }
.give-tier:nth-child(2) .gicon path { fill: rgba(238,145,41,.22); }
.give-tier.hot .gicon path:first-child { fill: #fff; }
.give-tier.hot .gicon path:last-child { fill: var(--orange); stroke-width: 2; }
.give-tier span { font-weight: 700; font-size: .95rem; }
.give-chips { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.give-chips li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: .95rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.give-chips svg { width: 54px; height: 54px; padding: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--line); overflow: visible; }
.give-chips path, .give-chips circle { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.give-chips li:nth-child(1) circle { fill: rgba(79,163,107,.25); }
.give-chips li:nth-child(2) path { fill: rgba(228,87,46,.2); stroke: var(--red); }
.give-chips li:nth-child(3) path:first-child { fill: rgba(62,151,211,.2); }
@media (max-width: 560px) {
  .give-tier { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 14px; text-align: left; align-items: center; }
  .give-tier .gicon { grid-row: 1 / span 2; margin: 0; }
  .give-tier b { min-width: 0; }
  .donate-buddy .bb-dog { width: 120px; flex-basis: 120px; }
  .bubble { font-size: 1.15rem; padding: 10px 14px; }
  .give-chips { gap: 8px; }
  .give-chips li { font-size: .85rem; }
}

/* ===== Our Story: short copy + icon points ===== */
.story-copy p.story-intro { font-family: var(--head); font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.35; color: var(--ink); margin-bottom: 30px; }
.story-copy p.story-intro::first-letter { all: unset; }
.story-intro b { color: var(--orange-dark); }
.story-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sp { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 16px; box-shadow: 4px 4px 0 var(--sun); }
.sp:nth-child(2) { box-shadow: 4px 4px 0 var(--sky); }
.sp:nth-child(3) { box-shadow: 4px 4px 0 var(--orange); }
.sp:nth-child(4) { box-shadow: 4px 4px 0 var(--red); }
.sp svg { flex: 0 0 48px; width: 48px; height: 48px; overflow: visible; }
.sp path, .sp circle { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sp:nth-child(1) path:first-child { fill: rgba(251,197,21,.4); }
.sp:nth-child(2) circle { fill: rgba(62,151,211,.2); }
.sp:nth-child(3) path { fill: rgba(238,145,41,.3); }
.sp:nth-child(4) path { fill: rgba(228,87,46,.2); stroke: var(--red); }
.sp h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.story-copy .sp p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.45; }
.story-side { height: 480px; }
.side-cover.c2 { top: 150px; }
.side-cover.c3 { top: 290px; }
@media (max-width: 900px) { .story-side { height: auto; } }
@media (max-width: 560px) { .story-points { grid-template-columns: 1fr; gap: 14px; } }
