/* Self-hosted, Latin only, so the page never waits on a third-party font server. */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fonts/fraunces-head.woff2) format('woff2');}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:500 700;font-display:swap;src:url(/assets/fonts/fraunces-head-italic.woff2) format('woff2');}
@font-face{font-family:'Nunito';font-style:normal;font-weight:600 800;font-display:swap;src:url(/assets/fonts/nunito-body.woff2) format('woff2');}
/* Courtney Owen Books. Design tokens pulled from the Lola's Pocket Hug cover:
   watercolor sky, buttery sun, meadow green, teal serif ink, rose heart. */
:root {
  --cream: #fffaf0;
  --paper: #fff5dc;
  --sky: #cfe7f3;
  --sky-deep: #9ccfe6;
  --butter: #fff0b3;
  --sun: #f7cf5c;
  --meadow: #cfe4b0;
  --leaf: #7fb069;
  --leaf-deep: #456f35;
  --teal: #2a7f9e;
  --ink: #1f5468;
  --ink-soft: #46707f;
  --rose: #ef8fab;
  --heart: #e86a8a;
  /* Text-bearing pink: passes WCAG AA against white. */
  --heart-deep: #c2456a;
  --lilac: #dcd3f0;
  --snow: #eef4f8;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(31, 84, 104, 0.12);
  --shadow-soft: 0 6px 18px rgba(31, 84, 104, 0.08);
  --radius: 22px;
  --radius-lg: 34px;
  --font-head: "Fraunces", "Georgia", serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--heart); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); }
.wrap { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: var(--font-body);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--heart-deep); color: var(--white); }
.btn-primary:hover { background: #a63558; color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--sky-deep); }
.btn-ghost:hover { color: var(--ink); background: var(--sky); }
.btn-sm { padding: .55rem 1.1rem; font-size: 1rem; }
.btn svg { width: 1.05em; height: 1.05em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42, 127, 158, 0.12);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 100px; width: min(1200px, 100% - 2rem); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.brand svg { width: 34px; height: 34px; }
.brand span small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); line-height: 1; margin-top: 2px; }
.nav { display: flex; gap: .2rem; align-items: center; }
.nav a { text-decoration: none; padding: .55rem .9rem; border-radius: 999px; font-weight: 800; color: var(--ink); font-size: 1.02rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sky); color: var(--ink); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); background: var(--heart-deep); }
.nav a.btn-primary:hover { background: #a63558; }
.nav .btn { margin-left: .4rem; }
.nav-toggle { display: none; background: none; border: 2px solid var(--sky-deep); border-radius: 12px; padding: .45rem .55rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--cream); padding: .8rem 1rem 1.2rem; border-bottom: 1px solid rgba(42,127,158,.15); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; }
  .nav .btn { margin: .5rem 0 0; justify-content: center; }
}

/* Watercolor washes */
.wash { position: relative; isolation: isolate; }
.wash::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 8% 10%, rgba(207, 231, 243, .9), transparent 70%),
    radial-gradient(45% 40% at 92% 20%, rgba(255, 240, 179, .95), transparent 70%),
    radial-gradient(50% 45% at 50% 100%, rgba(207, 228, 176, .8), transparent 70%);
}
.wash-sky::before { background: radial-gradient(70% 60% at 20% 0%, rgba(156,207,230,.55), transparent 70%), radial-gradient(50% 50% at 90% 100%, rgba(255,240,179,.7), transparent 70%); }
.wash-rose::before { background: radial-gradient(60% 60% at 90% 0%, rgba(239,143,171,.28), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(207,231,243,.8), transparent 70%); }
.wash-snow::before { background: radial-gradient(70% 60% at 50% 0%, rgba(238,244,248,1), transparent 75%), radial-gradient(50% 50% at 100% 100%, rgba(156,207,230,.45), transparent 70%); }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.hero h1 { margin-bottom: .6rem; }
.hero h1 em { font-style: italic; color: var(--teal); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero .lede { max-width: 34rem; margin-bottom: 1.6rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero-art { position: relative; min-height: 380px; }
.hero-art .cover-float {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%) rotate(-4deg);
  width: min(320px, 80%); border-radius: 14px; box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.hero-art .hearts { position: absolute; inset: 0; pointer-events: none; }
.hero-art .hearts svg { position: absolute; width: 26px; height: 26px; color: var(--heart); opacity: .85; animation: drift 7s ease-in-out infinite; }
.hero-art .hearts svg:nth-child(1) { left: 8%; top: 18%; }
.hero-art .hearts svg:nth-child(2) { right: 10%; top: 8%; width: 18px; animation-delay: -2s; color: var(--sun); }
.hero-art .hearts svg:nth-child(3) { right: 16%; top: 42%; width: 22px; animation-delay: -4s; }
.hero-art .hearts svg:nth-child(4) { left: 14%; bottom: 30%; width: 16px; animation-delay: -1s; color: var(--teal); }
.meadow { display: block; width: 100vw; margin-left: calc(50% - 50vw); margin-top: -1px; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) rotate(-4deg) translateY(0); } 50% { transform: translateX(-50%) rotate(-3deg) translateY(-10px); } }
@keyframes drift { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14px) scale(1.08); } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero .cta { justify-content: center; }
  .hero-art { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .cover-float, .hero-art .hearts svg, .heart-pulse { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .8rem; }
.eyebrow svg { width: 14px; height: 14px; color: var(--heart); }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; }

/* Book cards */
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.book-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.4rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: .8rem;
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
}
.book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.book-card .cover { border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 8px 20px rgba(31,84,104,.14); transform: rotate(-2deg); margin: .4rem .6rem 1rem; }
.book-card:nth-child(2) .cover { transform: rotate(2deg); }
.book-card .cover img, .book-card .cover svg { width: 100%; height: 100%; object-fit: cover; }
.book-card .kicker { font-size: 1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.book-card h3 { margin-bottom: .2rem; }
.book-card p { color: var(--ink-soft); flex: 1; }
.book-card .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* Cover stand-in (used until real cover art is supplied) */
.cover-stand { width: 100%; height: 100%; }

/* Book detail */
.book-hero .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: center; }
.book-hero .cover-big { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(-2.5deg); max-width: 440px; margin-inline: auto; aspect-ratio: 1 / 1; }
.book-hero .cover-big img, .book-hero .cover-big svg { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .book-hero .wrap { grid-template-columns: 1fr; } .book-hero .cover-big { max-width: 320px; } }
.edition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.edition { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.edition h3 { display: flex; align-items: center; gap: .6rem; }
.edition .pill { font-size: 1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--butter); color: var(--ink); padding: .25rem .6rem; border-radius: 999px; }
.edition .pill.soon { background: var(--lilac); }
.edition ul { list-style: none; padding: 0; margin: .4rem 0 1.4rem; }
.edition li { position: relative; padding-left: 1.6rem; margin-bottom: .35rem; }
.edition li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem; background: var(--heart); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.8 8.2 3 4.5 6.6 4.5c2 0 3.5 1.1 4.4 2.5.9-1.4 2.4-2.5 4.4-2.5 3.6 0 5.8 3.7 4.2 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.8 8.2 3 4.5 6.6 4.5c2 0 3.5 1.1 4.4 2.5.9-1.4 2.4-2.5 4.4-2.5 3.6 0 5.8 3.7 4.2 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat; }
.edition .ideal { font-weight: 800; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: .6rem 0 .3rem; }
.edition .actions { margin-top: auto; }
@media (max-width: 860px) { .edition-grid { grid-template-columns: 1fr; } }

/* Chooser */
.chooser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.choice { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-soft); text-decoration: none; color: var(--ink); display: block; border-top: 6px solid var(--sky-deep); transition: transform .2s ease; }
.choice:hover { transform: translateY(-4px); color: var(--ink); }
.choice.rose { border-top-color: var(--rose); }
.choice.sun { border-top-color: var(--sun); }
.choice.leaf { border-top-color: var(--leaf); }
.choice .q { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.choice .a { color: var(--ink-soft); margin-bottom: .8rem; }
.choice .go { font-weight: 800; color: var(--teal); }
@media (max-width: 860px) { .chooser { grid-template-columns: 1fr; } }

/* Characters */
.char-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.char { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.3rem; text-align: center; box-shadow: var(--shadow-soft); }
.char .badge { width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; color: var(--ink); position: relative; }
.char .badge::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed rgba(31,84,104,.18); }
.badge.rose { background: linear-gradient(135deg, #fbd1dd, var(--rose)); }
.badge.sky { background: linear-gradient(135deg, var(--sky), var(--sky-deep)); }
.badge.butter { background: linear-gradient(135deg, var(--butter), var(--sun)); }
.badge.meadow { background: linear-gradient(135deg, var(--meadow), var(--leaf)); }
.badge.lilac { background: linear-gradient(135deg, #ece7f7, var(--lilac)); }
.badge.snow { background: linear-gradient(135deg, var(--white), var(--sky)); }
.char h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.char .from { font-size: 1rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
.char p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 1000px) { .char-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .char-grid { grid-template-columns: 1fr; } }

/* Author */
.author .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
.author-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); text-align: center; }
.author-card .portrait { width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 1rem; background: radial-gradient(circle at 35% 30%, var(--butter), var(--rose)); display: grid; place-items: center; font-family: var(--font-head); font-size: 3.5rem; color: var(--white); }
.author-card .from { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 860px) { .author .wrap { grid-template-columns: 1fr; } }

/* Quote */
.quote { background: var(--white); border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: var(--shadow-soft); max-width: 46rem; margin-inline: auto; text-align: center; position: relative; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; font-style: italic; }
.quote .who { margin-top: 1rem; font-weight: 800; color: var(--teal); }
.quote .who span { display: block; font-weight: 600; color: var(--ink-soft); font-size: 1rem; }
.quote .mark { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; color: var(--heart); }
.stars { color: var(--sun); letter-spacing: .1em; font-size: 1.2rem; margin-bottom: .6rem; }

/* Events */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; max-width: 46rem; }
.event { display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-soft); align-items: center; }
.event .date { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--teal); line-height: 1.1; }
.event .date small { display: block; font-family: var(--font-body); font-size: 1rem; color: var(--ink-soft); font-weight: 700; margin-top: .2rem; }
.event .what { font-weight: 800; }
.event .venue { color: var(--ink-soft); }
.event.past { opacity: .8; }
.notice { background: var(--butter); border-radius: var(--radius); padding: 1.2rem 1.4rem; max-width: 46rem; }

/* Forms */
.form { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); max-width: 40rem; }
.form label { display: block; font-weight: 800; font-size: 1rem; margin-bottom: .3rem; }
.form input, .form textarea, .form select { width: 100%; font: inherit; padding: .8rem 1rem; border: 2px solid var(--sky); border-radius: 14px; background: var(--cream); color: var(--ink); margin-bottom: 1rem; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); background: var(--white); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form .status { margin-top: .8rem; font-weight: 700; min-height: 1.4em; }
.form .status.ok { color: var(--leaf); }
.form .status.err { color: var(--heart); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-soft); margin-bottom: 1rem; }
.info-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.info-card p { margin: 0; color: var(--ink-soft); }

/* Pocket hug printable */
.hug-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hug-sheet { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.hug-sheet svg { width: 100%; height: auto; }
.steps { list-style: none; padding: 0; margin: 0 0 1.5rem; counter-reset: step; }
.steps li { position: relative; padding-left: 3rem; margin-bottom: 1rem; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-family: var(--font-head); }
@media (max-width: 860px) { .hug-wrap { grid-template-columns: 1fr; } }

/* CTA band */
.band { background: linear-gradient(120deg, var(--teal), #3b98b7); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.band h2, .band p { color: var(--white); }
.band p { opacity: .92; }
.band .cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }
.band .btn-primary { background: var(--white); color: var(--ink); }
.band .btn-primary:hover { background: var(--butter); color: var(--ink); }
.band::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band .cta { justify-content: flex-start; } }

/* Footer */
.site-footer { margin-top: 2rem; }
.site-footer .hills { display: block; width: 100%; }
/* Deeper leaf so white text clears WCAG AA (the meadow green was 2.5:1). */
.site-footer .inner { background: var(--leaf-deep); color: var(--white); padding: 2.5rem 0 2rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2.foot-head { color: var(--white); font-family: var(--font-head); font-size: 1.05rem; line-height: 1.3; margin: 0 0 .6rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer .brand { color: var(--white); margin-bottom: .6rem; }
.site-footer .brand span small { color: var(--butter); }
.site-footer .fine { border-top: 1px solid rgba(255,255,255,.25); margin-top: 2rem; padding-top: 1.2rem; font-size: 1rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Utility */
.heart-pulse { animation: pulse 2.6s ease-in-out infinite; transform-origin: center; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.prose { max-width: 42rem; }
.prose p { font-size: 1.08rem; }

@media print {
  .site-header, .site-footer, .no-print, .band { display: none !important; }
  body { background: #fff; }
  .hug-sheet { box-shadow: none; padding: 0; }
}

/* =====================================================================
   THE WORLD (home page journey): chapters, layers, characters, pocket
   ===================================================================== */
.chapter { position: relative; overflow: hidden; isolation: isolate; }
.chapter .layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; will-change: transform; }
.chapter .wrap { position: relative; z-index: 2; }
.chapter-num { font-weight: 800; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: .6rem; }
.chapter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: end; padding: clamp(4rem, 10vw, 7rem) 0 1rem; }
.chapter-grid.flip .stage { order: -1; }
.chapter-copy .hint { font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.chapter-copy .hint::before { content: "\2192  "; }
.stage { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 1rem; min-height: 320px; padding-top: 110px; }
.char-art { width: 100%; height: auto; filter: drop-shadow(0 12px 18px rgba(31,84,104,.18)); }
.speaker { position: relative; background: none; border: 0; padding: 0; cursor: pointer; transition: transform .25s ease; transform-origin: bottom center; }
.speaker:hover { transform: translateY(-6px) rotate(-1.5deg); }
.speaker:focus-visible { outline: 3px dashed var(--sun); outline-offset: 8px; border-radius: 30px; }
.st-lola { width: min(240px, 52%); }
.st-pickles { width: min(150px, 34%); margin-bottom: 6px; }
.st-nolan { width: min(240px, 60%); }
.st-ava { width: min(280px, 70%); }
.speaker .bubble {
  position: absolute; left: 50%; bottom: calc(100% + 14px); transform: translateX(-50%) scale(.85); transform-origin: bottom center;
  width: max(220px, 80%); background: var(--white); color: var(--ink); border-radius: 18px; padding: .8rem 1rem;
  font-weight: 700; font-size: 1rem; line-height: 1.4; box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(.2,1.4,.4,1);
}
.speaker .bubble::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; background: var(--white); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.speaker.talking .bubble { opacity: 1; transform: translateX(-50%) scale(1); }
.speaker.talking .char-art { animation: wiggle .6s ease; }
.st-nolan.talking .glow { animation: glowup 1.2s ease-in-out infinite; transform-origin: 110px 230px; }
.st-ava.talking .char-art { animation: hop .7s ease; }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
@keyframes hop { 0%,100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-26px) rotate(-6deg); } 70% { transform: translateY(0) rotate(3deg); } }
@keyframes glowup { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.6); opacity: 1; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Book panel inside a chapter */
.book-panel { display: grid; grid-template-columns: 200px 1fr; gap: 1.6rem; align-items: center; background: rgba(255,255,255,.86); backdrop-filter: blur(8px); border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; box-shadow: var(--shadow); margin: 2rem auto 0; max-width: 760px; position: relative; z-index: 2; }
.book-panel-cover { border-radius: 14px; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 10px 24px rgba(31,84,104,.2); transform: rotate(-3deg); }
.book-panel-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-panel .stand-mini { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 1rem; font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--teal); background: linear-gradient(160deg, var(--sky), var(--butter)); }
.book-panel .kicker { font-size: 1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.book-panel h3 { margin-bottom: .2rem; }
.book-panel p { color: var(--ink-soft); margin-bottom: .6rem; }
.book-panel .small { font-size: 1rem; }
.book-panel .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 700px) { .book-panel { grid-template-columns: 1fr; text-align: center; } .book-panel-cover { max-width: 220px; margin-inline: auto; } .book-panel .actions { justify-content: center; } }

/* --- Chapter: sky (hero) --- */
.ch-sky { min-height: 92vh; display: flex; align-items: center; background: linear-gradient(180deg, #bfe0f1 0%, #dcefF8 55%, #fff4c9 100%); }
.ch-sky .hero-copy { max-width: 42rem; padding: 5rem 0 9rem; }
.ch-sky h1 em { font-style: italic; color: var(--teal); }
.ch-sky .lede { max-width: 34rem; }
.ch-sky .cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-sun { position: absolute; right: 8%; top: 12%; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, #ffe38a 0 40%, #f7cf5c 41% 60%, rgba(247,207,92,0) 61%); box-shadow: 0 0 80px 30px rgba(255, 227, 138, .45); }
.cloud { position: absolute; width: 180px; height: 56px; background: #fff; border-radius: 60px; opacity: .9; filter: drop-shadow(0 6px 12px rgba(31,84,104,.08)); }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 70px; height: 70px; left: 28px; top: -36px; }
.cloud::after { width: 50px; height: 50px; right: 30px; top: -22px; }
.cloud.c1 { left: 6%; top: 22%; animation: cloudDrift 60s linear infinite; }
.cloud.c2 { left: 55%; top: 10%; width: 130px; animation: cloudDrift 80s linear infinite reverse; }
.cloud.c3 { left: 75%; top: 48%; width: 220px; opacity: .7; animation: cloudDrift 95s linear infinite; }
@keyframes cloudDrift { from { margin-left: 0; } to { margin-left: 120px; } }
.hero-heart { position: absolute; right: clamp(1rem, 8vw, 10rem); bottom: 14%; z-index: 3; background: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: .4rem; color: var(--heart); font-family: var(--font-body); font-weight: 800; font-size: 1rem; }
.hero-heart svg { width: 96px; height: 96px; filter: drop-shadow(0 10px 18px rgba(232,106,138,.4)); }
.hero-heart span { background: var(--white); color: var(--ink); padding: .4rem .8rem; border-radius: 999px; box-shadow: var(--shadow-soft); }
.hero-heart.taken svg { animation: toPocket .9s cubic-bezier(.4,0,.2,1) forwards; }
.hero-heart.taken span { opacity: 0; transition: opacity .3s; }
@keyframes toPocket { to { transform: translate(-40vw, 60vh) scale(.2); opacity: 0; } }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid var(--teal); border-radius: 14px; transform: translateX(-50%); opacity: .6; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@media (max-width: 860px) { .ch-sky { min-height: auto; } .ch-sky .hero-copy { padding: 3rem 0 11rem; text-align: center; } .ch-sky .lede { margin-inline: auto; } .ch-sky .cta { justify-content: center; }  .scroll-hint { display: none; } .hero-sun { width: 64px; height: 64px; top: 1.5%; right: 4%; box-shadow: 0 0 40px 14px rgba(255,227,138,.4); } }

/* --- Chapter: meadow --- */
.ch-meadow { background: linear-gradient(180deg, #fff4c9 0%, #eaf3d6 30%, #cfe4b0 100%); padding-bottom: 7rem; }
.ch-meadow .far-hills { top: auto; height: 60%; background: radial-gradient(60% 40% at 20% 100%, #d9ebbd 0 60%, transparent 61%), radial-gradient(70% 45% at 75% 100%, #cfe4b0 0 60%, transparent 61%); opacity: .9; }
.ch-meadow .school { inset: auto auto 12% 2%; width: 150px; opacity: .95; }
.ch-meadow .tree { inset: auto 2% 26% auto; width: 200px; }
.ch-meadow .flowers { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ch-meadow .flowers i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--c, #ef8fab); box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.ch-meadow .flowers i::after { content: ""; position: absolute; left: 4px; top: 10px; width: 3px; height: 26px; background: #7fb069; border-radius: 2px; z-index: -1; }
.bf { position: absolute; width: 18px; height: 12px; }
.bf::before, .bf::after { content: ""; position: absolute; top: 0; width: 9px; height: 12px; background: var(--sun); border-radius: 60% 60% 40% 40%; }
.bf::before { left: 0; transform-origin: right center; animation: flap .5s ease-in-out infinite alternate; }
.bf::after { right: 0; transform-origin: left center; animation: flap .5s ease-in-out infinite alternate-reverse; }
.bf.b1 { left: 30%; top: 30%; animation: fly1 14s ease-in-out infinite; }
.bf.b2 { left: 62%; top: 22%; animation: fly1 18s ease-in-out infinite reverse; }
.bf.b3 { left: 48%; top: 55%; animation: fly1 11s ease-in-out infinite; }
.bf.b2::before, .bf.b2::after { background: var(--sky-deep); }
@keyframes flap { from { transform: rotateY(0); } to { transform: rotateY(70deg); } }
@keyframes fly1 { 0%,100% { transform: translate(0,0); } 25% { transform: translate(60px,-40px); } 50% { transform: translate(120px,10px); } 75% { transform: translate(40px,50px); } }
@media (max-width: 860px) { .ch-meadow .school { display: none; } .ch-meadow .tree { width: 130px; top: 1%; bottom: auto; right: 3%; } }

/* --- Chapter: dusk --- */
.ch-dusk { background: linear-gradient(180deg, #cfe4b0 0%, #7f9fb8 12%, #2f4670 45%, #1d2b4d 100%); color: #fff; padding-bottom: 7rem; }
.ch-dusk h2, .ch-dusk .lede, .ch-dusk .chapter-copy .hint { color: #fff; }
.ch-dusk .chapter-num { color: #ffd166; }
.ch-dusk .stars i { position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.5); } }
.moon { position: absolute; right: 12%; top: 26%; width: 90px; height: 90px; border-radius: 50%; background: #fff6d6; box-shadow: 0 0 60px 20px rgba(255,246,214,.35), inset -18px -6px 0 0 #e9dcb4; }
.fireflies i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #ffe38a; box-shadow: 0 0 10px 3px rgba(255,227,138,.7); animation: firefly 8s ease-in-out infinite; opacity: 0; }
@keyframes firefly { 0%,100% { opacity: 0; transform: translate(0,0); } 20% { opacity: 1; } 50% { opacity: .2; transform: translate(40px,-30px); } 80% { opacity: 1; transform: translate(-20px,-60px); } }
.ch-dusk .dusk-hills { top: auto; height: 42%; background: radial-gradient(60% 45% at 25% 100%, #1a2540 0 60%, transparent 61%), radial-gradient(70% 50% at 80% 100%, #22304f 0 60%, transparent 61%); }
.ch-dusk .book-panel { background: rgba(255,255,255,.94); }
.ch-dusk .char-art { filter: drop-shadow(0 0 24px rgba(255,209,102,.35)); }

/* --- Chapter: snow --- */
.ch-snow { background: linear-gradient(180deg, #1d2b4d 0%, #6f8fb0 10%, #d6e6f2 30%, #ffffff 100%); padding-bottom: 11rem; }
.ch-snow .peaks { top: 8%; height: 50%; background: linear-gradient(transparent, transparent), radial-gradient(40% 60% at 15% 100%, #b9cfe0 0 60%, transparent 61%), radial-gradient(45% 75% at 50% 100%, #cddfeb 0 60%, transparent 61%), radial-gradient(40% 65% at 88% 100%, #b9cfe0 0 60%, transparent 61%); }
.ch-snow .lift { top: 6%; height: 26%; left: 45%; }
.ch-snow .lift::before { content: ""; position: absolute; left: -5%; right: -5%; top: 40%; height: 2px; background: #8a9bb0; transform: rotate(-6deg); }
.ch-snow .lift i { position: absolute; top: 40%; width: 22px; height: 26px; background: #e86a8a; border-radius: 4px 4px 8px 8px; transform-origin: top center; }
.ch-snow .lift i::before { content: ""; position: absolute; left: 50%; top: -18px; width: 2px; height: 18px; background: #8a9bb0; }
.ch-snow .lift i:nth-child(1) { left: 20%; margin-top: 12px; } .ch-snow .lift i:nth-child(2) { left: 50%; margin-top: -8px; } .ch-snow .lift i:nth-child(3) { left: 80%; margin-top: -28px; }
.ch-snow .pines { top: auto; bottom: 30px; height: 40%; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 3%; z-index: 1; }
.ch-snow .pine { width: 70px; }
.ch-snow .pine:nth-child(3) { width: 90px; } .ch-snow .pine:nth-child(2) { width: 50px; }
.snowfall i { position: absolute; top: -12px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.9); animation: snow linear infinite; }
@keyframes snow { to { transform: translateY(110vh) translateX(30px); } }
.ch-snow .slope { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 160px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: rotate(-2deg); z-index: 0; }
.ch-snow .chapter-num { color: var(--teal); }
@media (max-width: 860px) { .ch-snow .pines .pine:nth-child(2), .ch-snow .pines .pine:nth-child(4) { display: none; } }

/* --- Chapter: home again --- */
.ch-home { background: linear-gradient(180deg, #ffffff 0%, var(--cream) 30%); padding: clamp(3rem, 7vw, 5rem) 0 2rem; }

/* Mobile stacking for chapters */
@media (max-width: 860px) {
  .chapter-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .chapter-grid.flip .stage { order: 1; }
  .chapter-copy .lede { margin-inline: auto; }
  .stage { min-height: 260px; }
  .st-lola { width: 56%; } .st-pickles { width: 34%; } .st-nolan { width: 54%; } .st-ava { width: 66%; }
  .speaker .bubble { width: 240px; }
}

/* Book page world themes */
.theme-dusk .hero { background: linear-gradient(180deg, #2f4670, #1d2b4d); color: #fff; }
.theme-dusk .hero h1, .theme-dusk .hero .lede, .theme-dusk .hero .eyebrow { color: #fff; }
.theme-dusk .hero .eyebrow svg { color: #ffd166; }
.theme-dusk .hero.wash::before { background: none; }
.theme-dusk .hero .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.theme-dusk .meadow path { fill: #1a2540 !important; }
.theme-dusk .meadow circle, .theme-dusk .meadow ellipse { display: none; }
.theme-snow .hero { background: linear-gradient(180deg, #6f8fb0 0%, #d6e6f2 40%, #fff 100%); }
.theme-snow .hero.wash::before { background: none; }
.theme-snow .meadow path { fill: #ffffff !important; }
.theme-snow .meadow circle, .theme-snow .meadow ellipse { display: none; }

/* Character peeking beside the cover on book pages */
.cover-wrap { position: relative; padding-bottom: 60px; }
.hero-char { position: absolute; right: -50px; bottom: -10px; display: flex; align-items: flex-end; gap: 4px; width: 36%; pointer-events: none; }
.hero-char .char-art { width: 100%; }
.hero-char .char-art + .char-art { width: 60%; }
@media (max-width: 860px) { .cover-wrap { max-width: 360px; margin-inline: auto; } .hero-char { width: 40%; right: -30px; } }

/* Real assets */
.brand img { height: 84px; width: auto; }
.site-footer .brand img { height: 64px; }
.char .badge.has-img { width: 150px; height: 150px; overflow: hidden; background: linear-gradient(160deg, #fff, var(--sky)); }
.char .badge.has-img img { width: 78%; height: 88%; object-fit: contain; object-position: center top; margin-top: 12px; }
.author-card .portrait { overflow: hidden; width: 180px; height: 180px; box-shadow: 0 0 0 6px var(--white), 0 0 0 9px var(--rose); }
.author-card .portrait img { width: 100%; height: 100%; object-fit: cover; }
.edition-cover { border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; margin: -.6rem -.6rem 1.2rem; box-shadow: var(--shadow-soft); }
.edition-cover img { width: 100%; height: 100%; object-fit: cover; }
.photo-card { margin: 0; background: var(--white); padding: .9rem .9rem 1rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); transform: rotate(-2deg); max-width: 460px; }
.photo-card img { border-radius: 18px; width: 100%; height: auto; }
.photo-card figcaption { font-size: 1rem; color: var(--ink-soft); text-align: center; padding-top: .7rem; font-weight: 700; }
.grid-2.flip > :first-child { order: 2; }
@media (max-width: 860px) { .grid-2.flip > :first-child { order: 0; } .photo-card { margin-inline: auto; } }
.hero-char img { width: 100%; height: auto; filter: drop-shadow(0 12px 18px rgba(31,84,104,.18)); }
.st-nolan .glow-img { filter: drop-shadow(0 0 22px rgba(255,209,102,.55)); }
.st-nolan.talking .glow-img { animation: glowimg 1.2s ease-in-out infinite; }
@keyframes glowimg { 0%,100% { filter: drop-shadow(0 0 22px rgba(255,209,102,.55)); } 50% { filter: drop-shadow(0 0 48px rgba(255,220,120,1)); } }
.st-ava { width: min(260px, 60%); }
.st-lola { width: min(210px, 46%); }
.st-pickles { width: min(190px, 40%); }
.st-nolan { width: min(220px, 56%); }

/* ===== Features: gate, forms, characters, send a hug, resources ===== */
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.form .check { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1rem; margin: -.2rem 0 1rem; }
.form .check input { width: auto; margin: 0; }
.fine-print { font-size: 1rem; color: var(--ink-soft); margin: .8rem 0 0; }
.ok-note { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--leaf); }
.ok-note svg { width: 1.1em; height: 1.1em; color: var(--heart); }
.gate-form { margin-top: .5rem; }
.hug-sheet { position: relative; }
.hug-sheet.gated svg { filter: blur(3px); opacity: .55; }
.gate-veil { position: absolute; inset: 0; display: grid; place-items: center; }
.gate-veil span { display: inline-flex; align-items: center; gap: .5rem; background: var(--white); padding: .7rem 1.2rem; border-radius: 999px; font-weight: 800; box-shadow: var(--shadow); }
.gate-veil svg { width: 1.1em; height: 1.1em; color: var(--heart); }
.hug-sheet:not(.gated) .gate-veil { display: none; }
.sub-fields { border: 2px dashed var(--sky-deep); border-radius: 16px; padding: 1rem 1rem .2rem; margin: 0 0 1.2rem; }
.sub-fields legend { font-weight: 800; padding: 0 .4rem; color: var(--teal); }
.unlocked-actions { margin-top: .5rem; }

/* Character pages */
.char-hero { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; align-items: center; }
.char-hero-art img { max-height: 460px; width: auto; margin-inline: auto; filter: drop-shadow(0 16px 24px rgba(31,84,104,.2)); }
.char-line { font-family: var(--font-head); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--teal); margin-bottom: 1rem; }
@media (max-width: 860px) { .char-hero { grid-template-columns: 1fr; text-align: center; } .char-hero-art img { max-height: 320px; } .char-hero .cta { justify-content: center; } }
.sheet-card { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-soft); }
.sheet-card img { border-radius: 12px; border: 1px solid var(--sky); box-shadow: var(--shadow-soft); transform: rotate(-2deg); }
@media (max-width: 700px) { .sheet-card { grid-template-columns: 1fr; text-align: center; } .sheet-card img { margin-inline: auto; max-width: 220px; } }
a.char-link { text-decoration: none; color: inherit; display: block; transition: transform .2s ease; }
a.char-link:hover { transform: translateY(-4px); color: inherit; }
.char .badge.has-img img { width: 78%; }

/* Send a pocket hug */
.count { float: right; font-weight: 600; color: var(--ink-soft); font-size: 1rem; }
.swatches { display: flex; gap: .7rem; margin: 0 0 1.2rem; }
.swatches label { cursor: pointer; }
.swatches input { position: absolute; opacity: 0; width: 0; height: 0; }
.swatches span { display: block; width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; box-shadow: 0 0 0 2px var(--white); }
.swatches input:checked + span { border-color: var(--ink); }
.swatches input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.share-box { background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-soft); margin-top: 1.2rem; }
.share-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.share-row input { flex: 1 1 200px; font: inherit; font-size: 1rem; padding: .6rem .8rem; border: 2px solid var(--sky); border-radius: 12px; background: var(--cream); color: var(--ink); }
.hug-preview { display: grid; place-items: center; }
[hidden] { display: none !important; }
.pocket-card { position: relative; width: min(340px, 100%); background: linear-gradient(160deg, #fff, var(--paper)); border-radius: 26px; padding: 2.4rem 1.6rem 1.8rem; box-shadow: var(--shadow); text-align: center; transform: rotate(-2deg); }
.pocket-card.big { width: min(420px, 100%); transform: none; margin-inline: auto; }
.pocket-card-flap { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: var(--teal); border-radius: 26px 26px 6px 6px; }
.pocket-card-heart { width: 96px; height: 96px; border-radius: 50%; margin: .4rem auto 1rem; display: grid; place-items: center; color: var(--heart); background: #fde3ea; }
.pocket-card-heart svg { width: 54px; height: 54px; }
.pocket-card-heart.rose { color: #e86a8a; background: #fde3ea; }
.pocket-card-heart.sun { color: #e0a80a; background: #fff3c2; }
.pocket-card-heart.sky { color: #2a7f9e; background: #d9edf6; }
.pocket-card-heart.leaf { color: #5f9a4c; background: #e2f0d6; }
.pocket-card-text .to { font-weight: 800; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.pocket-card-text .msg { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.35; margin: .5rem 0; overflow-wrap: anywhere; }
.pocket-card-text .from { color: var(--ink-soft); font-weight: 700; }
.hug-stage { min-height: 70vh; }
.hug-envelope { background: none; border: 0; padding: 0; cursor: pointer; display: block; width: min(420px, 100%); margin: 1.5rem auto 0; font: inherit; color: inherit; }
.hug-envelope .pocket-card-heart { transition: transform .4s cubic-bezier(.2,1.4,.4,1); }
.hug-envelope:hover .pocket-card-heart { transform: scale(1.08); }
.hug-envelope.opened .pocket-card-heart { transform: scale(.7); margin-bottom: .4rem; }
.hug-envelope.opened .pocket-card-heart svg { animation: none; }
.hug-envelope.opened .pocket-card-text { animation: unfold .5s ease both; }
@keyframes unfold { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.hug-envelope:disabled { cursor: default; }

/* Resources */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.resource { display: block; text-decoration: none; color: inherit; background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-soft); transition: transform .2s ease; }
.resource:hover { transform: translateY(-4px); color: inherit; }
.resource-tag { font-size: 1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
.resource h3 { font-size: 1.3rem; }
.resource p { color: var(--ink-soft); }
.resource .go { font-weight: 800; color: var(--teal); }
@media (max-width: 860px) { .resource-grid { grid-template-columns: 1fr; } }
.article { max-width: 44rem; background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow-soft); }
.article p, .article li { font-size: 1.08rem; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.8rem; }
.article ol, .article ul { padding-left: 1.4rem; }
.article li { margin-bottom: .5rem; }
.article .callout { background: var(--butter); border-radius: 16px; padding: 1rem 1.2rem; margin: 1.4rem 0; }
.print-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.print-card { display: block; text-decoration: none; color: inherit; background: var(--white); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-soft); text-align: center; transition: transform .2s ease; }
.print-card:hover { transform: translateY(-4px); color: inherit; }
.print-thumb { width: 100%; aspect-ratio: 425/550; object-fit: cover; border-radius: 12px; border: 1px solid var(--sky); margin-bottom: .8rem; }
.pocket-thumb { display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--paper)); color: var(--heart); }
.pocket-thumb svg { width: 40%; height: 40%; display: block; }
.print-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.print-card p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .print-grid { grid-template-columns: repeat(2, 1fr); } }

/* Seasonal */
.season-winter .ch-sky { background: linear-gradient(180deg, #9fb9d3 0%, #d6e6f2 55%, #ffffff 100%); }
.season-winter .ch-sky .hero-sun { opacity: .5; }
.season-winter .ch-sky .snowfall i { position: absolute; top: -12px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.9); animation: snow linear infinite; }
.season-school .ch-sky { background: linear-gradient(180deg, #bfe0f1 0%, #fff4c9 60%, #ffe9a8 100%); }


/* ===== The heart hunt ===== */
.hero-heart { position: absolute; right: clamp(1rem, 8vw, 10rem); bottom: 14%; z-index: 3; display: flex; align-items: flex-end; gap: .4rem; }
.collect-arrow { position: relative; display: grid; justify-items: end; margin-right: -.4rem; margin-bottom: 1.6rem; animation: nudge 1.4s ease-in-out infinite; }
.collect-arrow-text { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--heart); white-space: nowrap; transform: rotate(-6deg); text-shadow: 0 2px 0 #fff; }
.collect-arrow-svg { width: 110px; height: auto; margin-top: -.2rem; }
@keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, 6px); } }
.collect { position: absolute; z-index: 4; background: none; border: 0; padding: 0; cursor: pointer; color: var(--heart); width: 44px; height: 44px; filter: drop-shadow(0 6px 12px rgba(232,106,138,.45)); transition: transform .2s ease; }
.collect svg { width: 100%; height: 100%; }
.collect:hover { transform: scale(1.15); }
.collect:focus-visible { outline: 3px dashed var(--sun); outline-offset: 6px; border-radius: 50%; }
.collect.got { opacity: 0; pointer-events: none; }
.collect.popping svg { animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(0); } }
.collect .sparkle { position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(232,106,138,.5); animation: spin 8s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.collect-big { position: relative; width: 96px; height: 96px; }
.collect-big .sparkle { inset: -12px; }
.collect-meadow { left: 12%; bottom: 5%; width: 34px; height: 34px; }
.collect-dusk { right: 18%; top: 14%; width: 36px; height: 36px; color: #ffd166; filter: drop-shadow(0 0 14px rgba(255,209,102,.9)); }
.collect-snow { left: 22%; bottom: 9%; width: 34px; height: 34px; z-index: 3; }
.collect-pickles { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; }
.char { position: relative; }
.ghost-heart { position: fixed; z-index: 90; pointer-events: none; color: var(--heart); transition: transform .7s cubic-bezier(.3,.9,.4,1.1), opacity .7s; }
.ghost-heart svg { width: 100%; height: 100%; }
@media (max-width: 860px) {
  .hero-heart { right: auto; left: 50%; transform: translateX(-50%); bottom: 1.8rem; flex-direction: column; align-items: center; gap: 0; }
  .collect-arrow { justify-items: center; margin: 0 0 .2rem; }
  .collect-arrow-text { transform: none; font-size: 1.4rem; }
  .collect-arrow-svg { width: 60px; transform: rotate(50deg); }
  .collect-big { width: 72px; height: 72px; }
  .collect-meadow { left: 8%; bottom: 4%; }
  .collect-dusk { right: 10%; top: 8%; }
  .collect-snow { left: 8%; bottom: 8%; }
}

.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 80px); z-index: 80; background: var(--ink); color: var(--white); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 800; font-size: 1rem; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2,1.2,.4,1); max-width: calc(100% - 2rem); text-align: center; }
.toast.show { transform: translate(-50%, 0); }
.reward[hidden] { display: none; }
.reward { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; background: rgba(31,84,104,.4); backdrop-filter: blur(4px); padding: 1rem; overflow: hidden; }
.reward .rain { position: absolute; inset: 0; pointer-events: none; }
.reward .rain i { position: absolute; top: -40px; font-style: normal; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(110vh) rotate(40deg); } }
.reward-card { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 2rem; max-width: 440px; text-align: center; box-shadow: var(--shadow); animation: unfold .5s ease both; }
.reward-heart { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; background: #fff3c2; color: #e0a80a; }
.reward-heart svg { width: 54px; height: 54px; }
.reward-card p { color: var(--ink-soft); }
.linkish { background: none; border: 0; color: var(--ink-soft); font: inherit; font-size: 1rem; font-weight: 700; text-decoration: underline; cursor: pointer; margin-top: 1rem; }

/* Announcement bar + top bar */
.announce, .topbar { overflow: hidden; }
.announce { background: linear-gradient(90deg, var(--heart-deep), #b83f63 50%, var(--heart-deep)); color: var(--white); text-align: center; font-weight: 800; font-size: 1rem; }
.announce a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 0; }
.announce a b { background: var(--white); color: var(--heart-deep); padding: .2rem .7rem; border-radius: 999px; font-size: 1rem; }
.announce svg { width: 1em; height: 1em; }
.announce a:hover b { background: var(--butter); color: var(--ink); }
.topbar { background: var(--paper); border-bottom: 1px solid rgba(42,127,158,.12); font-size: 1rem; font-weight: 800; color: var(--ink-soft); }
.topbar .wrap { display: flex; align-items: center; gap: .8rem; min-height: 40px; width: min(1200px, 100% - 2rem); }
.topbar-play { display: inline-flex; align-items: center; gap: .35rem; color: var(--heart); letter-spacing: .1em; text-transform: uppercase; font-size: 1rem; white-space: nowrap; }
.topbar-play svg { width: .95em; height: .95em; }
.topbar-links { display: flex; gap: .2rem; flex-wrap: wrap; overflow-x: auto; scrollbar-width: none; }
.topbar-links::-webkit-scrollbar { display: none; }
.topbar-links a { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); text-decoration: none; padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; }
.topbar-links a:hover, .topbar-links a[aria-current="page"] { background: var(--white); color: var(--teal); }
.ico { width: 16px; height: 16px; display: inline-block; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; color: var(--heart); }
.ico-print { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h12v6H6zM4 9h16a2 2 0 0 1 2 2v7h-4v4H6v-4H2v-7a2 2 0 0 1 2-2zm4 9v2h8v-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h12v6H6zM4 9h16a2 2 0 0 1 2 2v7h-4v4H6v-4H2v-7a2 2 0 0 1 2-2zm4 9v2h8v-2z'/%3E%3C/svg%3E"); }
.ico-face { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16zM8.5 9a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM7 14c1 2.3 2.7 3.5 5 3.5s4-1.2 5-3.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16zM8.5 9a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM7 14c1 2.3 2.7 3.5 5 3.5s4-1.2 5-3.5z'/%3E%3C/svg%3E"); }
.ico-heart { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.8 8.2 3 4.5 6.6 4.5c2 0 3.5 1.1 4.4 2.5.9-1.4 2.4-2.5 4.4-2.5 3.6 0 5.8 3.7 4.2 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.8 8.2 3 4.5 6.6 4.5c2 0 3.5 1.1 4.4 2.5.9-1.4 2.4-2.5 4.4-2.5 3.6 0 5.8 3.7 4.2 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); }
.ico-star { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.7-5.4 4.8 1.6 7L12 17.4 5.8 21l1.6-7L2 9.3l7.1-.7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.7-5.4 4.8 1.6 7L12 17.4 5.8 21l1.6-7L2 9.3l7.1-.7z'/%3E%3C/svg%3E"); }
.ico-photo { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3zm2 2v10h14V7zm2 8l3-4 2 3 2-2 3 3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3zm2 2v10h14V7zm2 8l3-4 2 3 2-2 3 3z'/%3E%3C/svg%3E"); }
.ico-book { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h9a3 3 0 0 1 3 3v15H7a3 3 0 0 0-3 3zm14 0h2v18h-2zM6 5v13.2A4.9 4.9 0 0 1 7 18h7V6a1 1 0 0 0-1-1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h9a3 3 0 0 1 3 3v15H7a3 3 0 0 0-3 3zm14 0h2v18h-2zM6 5v13.2A4.9 4.9 0 0 1 7 18h7V6a1 1 0 0 0-1-1z'/%3E%3C/svg%3E"); }
@media (max-width: 860px) { .topbar .wrap { gap: .5rem; } .topbar-links { flex-wrap: nowrap; } .topbar-links a { padding: .3rem .5rem; font-size: 1rem; } .brand img { height: 64px; } .site-header .wrap { min-height: 80px; } }


/* Hero: the painted meadow. Text sits in the open sky, characters frame the sides. */
.ch-sky { min-height: 100vh; padding: 0; background: #fff4c9; display: block; }
.hero-pic { position: absolute; inset: 0; z-index: 0; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.ch-sky .hero-copy { position: relative; z-index: 3; text-align: center; max-width: 46rem; margin-inline: auto; padding: clamp(2.5rem, 6vh, 5rem) 0 40vh; }
.ch-sky .hero-copy .eyebrow { justify-content: center; display: inline-flex; background: rgba(255,255,255,.7); padding: .3rem .9rem; border-radius: 999px; }
.ch-sky h1 { text-shadow: 0 2px 0 rgba(255,255,255,.9), 0 0 28px rgba(255,255,255,.95), 0 0 60px rgba(255,255,255,.8); }
.ch-sky .lede { margin-inline: auto; color: var(--ink); font-weight: 700; text-shadow: 0 1px 0 #fff, 0 0 18px rgba(255,255,255,.95); }
.ch-sky .cta { justify-content: center; }
.hero-heart { position: absolute; left: 50%; transform: translateX(-50%); bottom: 7%; top: auto; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0; }
.collect-arrow { justify-items: center; margin: 0 0 .2rem; }
.collect-arrow-text { transform: rotate(-4deg); background: rgba(255,255,255,.85); padding: .1rem .8rem; border-radius: 999px; }
.collect-arrow-svg { width: 70px; transform: rotate(50deg); }
.gate { position: absolute; top: 0; bottom: 0; width: 52%; z-index: 20; background: radial-gradient(120% 100% at 100% 50%, #fff 0, #fff4c9 40%, #cfe7f3 100%); transition: transform 1.3s cubic-bezier(.7,0,.2,1); pointer-events: none; }
.gate-l { left: 0; border-right: 6px solid #fff; }
.gate-r { right: 0; background: radial-gradient(120% 100% at 0% 50%, #fff 0, #fff4c9 40%, #cfe7f3 100%); border-left: 6px solid #fff; }
.js .gate-open .gate-l { transform: translateX(-104%); }
.js .gate-open .gate-r { transform: translateX(104%); }
html:not(.js) .gate { display: none; }
@media (prefers-reduced-motion: reduce) { .gate { display: none; } }
.scroll-hint { border-color: var(--white); }
.scroll-hint span { background: var(--white); }
@media (max-width: 860px) {
  .ch-sky { min-height: 92vh; }
  .ch-sky .hero-copy { padding: 2rem 0 20rem; }
  .hero-pic img { object-position: 50% 100%; }
  .hero-heart { bottom: 4rem; }
  .collect-big { width: 72px; height: 72px; }
}
.season-winter .ch-sky .hero-pic img { filter: saturate(.7) brightness(1.05) hue-rotate(160deg); }

/* Picker */
.picker { max-width: 52rem; margin-inline: auto; }
.pq { text-align: center; }
.pq-num { font-weight: 800; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .6rem; }
.pa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.6rem; }
.pa { background: var(--white); border: 3px solid transparent; border-radius: var(--radius); padding: 1.4rem 1rem; box-shadow: var(--shadow-soft); cursor: pointer; font: inherit; font-weight: 800; color: var(--ink); display: grid; gap: .6rem; justify-items: center; transition: transform .15s ease, border-color .15s ease; }
.pa:hover { transform: translateY(-4px); border-color: var(--sky-deep); }
.pa.picked { border-color: var(--heart); background: #fde3ea; }
.pa-emoji { font-size: 2.8rem; line-height: 1; }
@media (max-width: 760px) { .pa-grid { grid-template-columns: repeat(2, 1fr); } .pa-emoji { font-size: 2.2rem; } }
.pr { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); animation: unfold .5s ease both; }
.pr img { max-height: 380px; width: auto; margin-inline: auto; filter: drop-shadow(0 14px 20px rgba(31,84,104,.2)); }
@media (max-width: 760px) { .pr { grid-template-columns: 1fr; text-align: center; } .pr .cta, .pr .share-row { justify-content: center; } .pr img { max-height: 260px; } }
.face-thumb span { font-size: 3.5rem; }
.bed-thumb { background: linear-gradient(180deg, #fff, #dfe9f5); }

/* Feelings check-in */
.feel-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.feel { background: var(--white); border: 3px solid transparent; border-radius: var(--radius); padding: 1.2rem .6rem 1rem; box-shadow: var(--shadow-soft); cursor: pointer; font: inherit; font-weight: 800; color: var(--ink); display: grid; justify-items: center; gap: .5rem; transition: transform .15s ease, border-color .15s ease; }
.feel svg { width: 74px; height: 74px; }
.feel:hover { transform: translateY(-4px); }
.feel.sun { color: #e0a80a; } .feel.sky { color: #2a7f9e; } .feel.lilac { color: #8a7bc2; } .feel.rose { color: #e86a8a; }
.feel:hover.sun { border-color: #f7cf5c; } .feel:hover.sky { border-color: #9ccfe6; } .feel:hover.lilac { border-color: #dcd3f0; } .feel:hover.rose { border-color: #ef8fab; }
@media (max-width: 860px) { .feel-grid { grid-template-columns: repeat(3, 1fr); gap: .7rem; } .feel svg { width: 58px; height: 58px; } .feel { padding: .9rem .4rem .7rem; font-size: 1rem; } }
.fcard { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); animation: unfold .5s ease both; }
.fcard-face svg { width: 180px; height: 180px; margin-inline: auto; }
.fcard.sun .fcard-face { color: #e0a80a; } .fcard.sky .fcard-face { color: #2a7f9e; } .fcard.lilac .fcard-face { color: #8a7bc2; } .fcard.rose .fcard-face { color: #e86a8a; }
.tips { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.tips li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; font-weight: 700; }
.tips li::before { content: "\2665"; position: absolute; left: 0; color: var(--heart); }
@media (max-width: 760px) { .fcard { grid-template-columns: 1fr; text-align: center; } .fcard .cta { justify-content: center; } .fcard-face svg { width: 130px; height: 130px; } .tips li { text-align: left; } }
.breathe { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow); max-width: 44rem; margin-inline: auto; }
.eyebrow.center { justify-content: center; display: flex; }
.breath-wrap { display: grid; place-items: center; margin: 1.5rem 0; }
.breath { width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, #fde3ea, #fff); display: grid; place-items: center; position: relative; --dur: 4s; box-shadow: 0 0 0 12px rgba(232,106,138,.12); }
.breath-heart { width: 80px; height: 80px; color: var(--heart); transform: scale(.7); transition: transform var(--dur) ease-in-out; }
.breath-heart svg { width: 100%; height: 100%; }
.breath.in .breath-heart, .breath.hold .breath-heart { transform: scale(1.35); }
.breath.out .breath-heart { transform: scale(.7); }
.breath.done .breath-heart { transform: scale(1); }
.breath.in { animation: ring var(--dur) ease-in-out forwards; }
@keyframes ring { to { box-shadow: 0 0 0 40px rgba(232,106,138,.1); } }
.breath-word { position: absolute; bottom: 22px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.breath-count { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--teal); min-height: 2.4rem; margin-top: .6rem; }
@media (prefers-reduced-motion: reduce) { .breath-heart { transition: none; } .breath.in { animation: none; } }
.good-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.good-card { display: block; text-decoration: none; color: inherit; background: var(--white); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-soft); text-align: center; transition: transform .2s ease; }
.good-card:hover { transform: translateY(-4px); color: inherit; }
.good-card svg { width: 44px; height: 44px; color: var(--heart); margin: 0 auto .5rem; }
.good-card .big { font-size: 2.4rem; display: block; margin-bottom: .4rem; }
.good-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.good-card p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .good-grid { grid-template-columns: repeat(2, 1fr); } }

/* Collection dock (bottom of every page) */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 3px solid var(--rose); box-shadow: 0 -10px 30px rgba(31,84,104,.12); }
.dock-toggle { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: none; border: 0; padding: .35rem clamp(1rem, 4vw, 2rem); font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; }
.dock-toggle-label { grid-column: 2; display: inline-flex; align-items: center; gap: .5rem; font-size: 1.05rem; }
.dock-toggle-label svg { width: 1.1em; height: 1.1em; color: var(--heart); }
.dock-toggle-label b { background: var(--butter); border-radius: 999px; padding: .1rem .6rem; }
.dock-toggle-hide { grid-column: 3; justify-self: end; font-size: 1rem; color: var(--teal); border: 2px solid var(--sky); border-radius: 999px; padding: .15rem .7rem; }
.dock.closed .dock-toggle-hide::before { content: "Show "; }
.dock-body { padding: .3rem clamp(1rem, 4vw, 2rem) .7rem; border-top: 1px solid rgba(42,127,158,.1); text-align: center; }
.dock.closed .dock-body { display: none; }
.dock-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; align-items: flex-end; }
.dock-group { text-align: center; }
.dock-title { font-weight: 800; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: .25rem; }
.dock-title span { color: var(--ink); }
.dock-slots { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: .45rem; cursor: pointer; }
.slot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); position: relative; transition: transform .3s cubic-bezier(.2,1.4,.4,1); overflow: hidden; }
.slot svg { width: 30px; height: 30px; fill: none; stroke: rgba(31,84,104,.35); stroke-width: 1.8; stroke-dasharray: 3 3; }
.slot.full { background: #fde3ea; }
.slot.full svg { fill: var(--heart); stroke: none; }
.slot-char img, .slot-book img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; filter: grayscale(1); opacity: .35; }
.slot-char.full img, .slot-book.full img { filter: none; opacity: 1; }
.slot-char.full { background: #e3f0f7; }
.slot-book { border-radius: 10px; }
.slot-act span { font-size: 1.5rem; filter: grayscale(1); opacity: .35; }
.slot-act.full span { filter: none; opacity: 1; }
.slot-act.full { background: #fff3c2; }
.slot.bump { transform: scale(1.25); }
.dock.done .slot.full { box-shadow: inset 0 0 0 3px #f7cf5c; }
.dock-hint { font-size: 1rem; font-weight: 700; color: var(--ink-soft); line-height: 1.35; margin-top: .4rem; }
.dock-hint a { margin-left: .3rem; }
@media (max-width: 1000px) { .dock-row { gap: .5rem 1.2rem; } .slot { width: 36px; height: 36px; } .slot svg { width: 22px; height: 22px; } .slot-act span { font-size: 1.1rem; } }
@media (max-width: 560px) { .dock-row { gap: .5rem .9rem; } .dock-slots { gap: .25rem; } .slot { width: 32px; height: 32px; } .dock-toggle { padding: .3rem 1rem; } .dock-toggle-label { font-size: 1rem; } }

/* ===== Buy band ===== */
.buyband { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, #e86a8a 0%, #f28ba8 45%, #f7cf5c 100%); color: var(--white); padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: center; box-shadow: var(--shadow); }
.buyband.many { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.buyband-bg { position: absolute; inset: 0; pointer-events: none; }
.buyband-bg i { position: absolute; width: 22px; height: 22px; background: rgba(255,255,255,.35); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.8 8.2 3 4.5 6.6 4.5c2 0 3.5 1.1 4.4 2.5.9-1.4 2.4-2.5 4.4-2.5 3.6 0 5.8 3.7 4.2 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.8 8.2 3 4.5 6.6 4.5c2 0 3.5 1.1 4.4 2.5.9-1.4 2.4-2.5 4.4-2.5 3.6 0 5.8 3.7 4.2 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat; bottom: -30px; animation: rise 9s linear infinite; }
.buyband-bg i:nth-child(1) { left: 6%; animation-delay: 0s; } .buyband-bg i:nth-child(2) { left: 22%; animation-delay: -3s; width: 14px; height: 14px; } .buyband-bg i:nth-child(3) { left: 41%; animation-delay: -6s; } .buyband-bg i:nth-child(4) { left: 58%; animation-delay: -1.5s; width: 16px; height: 16px; } .buyband-bg i:nth-child(5) { left: 77%; animation-delay: -4.5s; } .buyband-bg i:nth-child(6) { left: 92%; animation-delay: -7.5s; width: 12px; height: 12px; }
@keyframes rise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(-420px) rotate(25deg); opacity: 0; } }
.buyband::after { content: ""; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: rotate(12deg); animation: shine 5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.buyband-copy { position: relative; z-index: 2; min-width: 0; }
.buyband .eyebrow { color: var(--white); }
.buyband .eyebrow svg { color: var(--white); }
.buyband h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .4rem; }
.buyband p { color: rgba(255,255,255,.95); font-size: 1.05rem; max-width: 34rem; }
.buyband-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.btn-buy { background: var(--white); color: var(--heart-deep); font-size: 1.05rem; padding: 1rem 1.6rem; box-shadow: 0 10px 24px rgba(31,84,104,.25); animation: heartbeat 2.2s ease-in-out infinite; }
.btn-buy:hover { background: var(--butter); color: var(--ink); animation: none; transform: translateY(-2px) scale(1.03); }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.06); } 28% { transform: scale(1); } 42% { transform: scale(1.04); } 70% { transform: scale(1); } }
.buyband .btn-ghost { background: rgba(255,255,255,.15); color: var(--white); border-color: rgba(255,255,255,.6); }
.buyband .btn-ghost:hover { background: rgba(255,255,255,.3); color: var(--white); }
.buyband-covers { position: relative; z-index: 1; display: flex; justify-content: center; gap: 1rem; min-width: 0; }
.buyband-cover { position: relative; display: block; width: min(260px, 100%); border-radius: 16px; overflow: hidden; box-shadow: 0 16px 36px rgba(31,84,104,.3); transform: rotate(-3deg); transition: transform .25s ease; animation: bob 6s ease-in-out infinite; }
.buyband.many .buyband-cover { width: 29%; min-width: 0; }
.buyband.many .buyband-cover:nth-child(2) { transform: rotate(2deg); animation-delay: -2s; } .buyband.many .buyband-cover:nth-child(3) { transform: rotate(-2deg); animation-delay: -4s; }
.buyband-cover:hover { transform: rotate(0) scale(1.05); animation: none; }
.buyband-cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }
.buyband-cover .btn { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; }
@media (max-width: 860px) { .buyband, .buyband.many { grid-template-columns: 1fr; text-align: center; } .buyband p { margin-inline: auto; } .buyband-actions { justify-content: center; } .buyband .eyebrow { justify-content: center; display: inline-flex; } .buyband-cover { width: min(220px, 70%); } .buyband.many .buyband-cover { width: 30%; } .buyband-cover .btn { font-size: 1rem; padding: .4rem .6rem; } }
@media (prefers-reduced-motion: reduce) { .buyband::after, .buyband-bg i, .btn-buy, .buyband-cover { animation: none; } }

/* ===== Classroom scene ===== */
.classroom { position: relative; background: linear-gradient(180deg, #fff7dc 0%, #fff7dc 62%, #e9d3b3 62%, #dcc19c 100%); border-radius: var(--radius-lg); box-shadow: var(--shadow); height: 520px; overflow: hidden; border: 10px solid var(--white); }
.board { position: absolute; left: 6%; top: 8%; width: 40%; height: 34%; background: #2f5d4a; border: 10px solid #b98a5a; border-radius: 8px; display: grid; place-items: center; color: #fff; font-family: "Comic Sans MS", "Chalkboard SE", var(--font-head); font-size: clamp(1.2rem, 2.6vw, 2rem); text-align: center; line-height: 1.2; box-shadow: inset 0 0 40px rgba(0,0,0,.25); }
.chalk-heart { position: absolute; right: 8%; bottom: 8%; width: 30px; height: 30px; color: #ef8fab; opacity: .9; }
.chalk-heart svg { width: 100%; height: 100%; }
.shelf { position: absolute; right: 6%; top: 14%; width: 30%; display: flex; gap: 4%; align-items: flex-end; padding-bottom: 10px; border-bottom: 10px solid #b98a5a; }
.shelf img { width: 30%; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,.2); transform: rotate(-2deg); }
.shelf img:nth-child(2) { transform: rotate(2deg); }
.rug { position: absolute; left: 12%; right: 12%; bottom: 8%; height: 26%; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, #ef8fab 0 12px, #fde3ea 12px 24px, #9ccfe6 24px 36px, #fff0b3 36px 48px); opacity: .9; }
.st-honey { position: absolute; left: 4%; bottom: 8%; width: 130px; z-index: 3; }
.classroom .kids { position: absolute; left: 20%; right: 8%; bottom: 14%; display: flex; align-items: flex-end; justify-content: space-around; z-index: 2; }
.classroom .kids img { height: 150px; filter: drop-shadow(0 8px 12px rgba(31,84,104,.2)); }
.classroom .kids .k5 { height: 100px; }
.classroom .kids .k2 { height: 170px; }
.classroom-hint { position: absolute; right: 16px; bottom: 14px; background: var(--white); border-radius: 999px; padding: .4rem .9rem; font-size: 1rem; font-weight: 800; display: inline-flex; align-items: center; gap: .4rem; box-shadow: var(--shadow-soft); z-index: 4; }
.classroom-hint svg { width: 1em; height: 1em; color: var(--heart); }
@media (max-width: 860px) { .classroom { height: 420px; } .board { width: 48%; height: 26%; font-size: 1rem; } .shelf { width: 36%; top: 10%; } .st-honey { width: 90px; } .classroom .kids { left: 26%; right: 4%; bottom: 12%; } .classroom .kids img { height: 95px; } .classroom .kids .k2 { height: 110px; } .classroom .kids .k5 { height: 65px; } .classroom .kids .k3 { display: none; } }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-soft); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; margin-bottom: .8rem; }
.step-card h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.step-card p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }

/* ===== Sponsorship tiers ===== */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.tier { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 2rem 1.6rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; border-top: 8px solid var(--sky-deep); }
.tier.featured { border-top-color: var(--heart); box-shadow: var(--shadow); transform: translateY(-8px); }
.tier-flag { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--heart); color: var(--white); font-size: 1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.tier-num { font-size: 1rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.tier h3 { font-size: 1.5rem; margin: .2rem 0 .4rem; }
.tier-lede { color: var(--ink-soft); }
.tier ul { list-style: none; padding: 0; margin: .6rem 0 1.2rem; }
.tier li { position: relative; padding-left: 1.5rem; margin-bottom: .45rem; font-size: 1rem; }
.tier li::before { content: "\2665"; position: absolute; left: 0; color: var(--heart); }
.tier-price { margin-top: auto; font-weight: 700; font-size: 1rem; color: var(--ink-soft); padding: .8rem 0 1rem; border-top: 1px dashed var(--sky); }
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .tier.featured { transform: none; } }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; min-width: 0; }
.gallery-grid > * { min-width: 0; }
.gphoto { margin: 0; background: var(--white); border-radius: var(--radius); padding: .7rem; box-shadow: var(--shadow-soft); transform: rotate(-1.5deg); }
.gphoto:nth-child(even) { transform: rotate(1.5deg); }
.gphoto img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; }
.gphoto figcaption { font-size: 1rem; font-weight: 700; color: var(--ink-soft); text-align: center; padding: .5rem .2rem 0; }
.gph-empty { display: grid; place-items: center; aspect-ratio: 1/1.15; border: 2px dashed var(--sky-deep); background: var(--cream); color: var(--ink-soft); font-weight: 800; font-size: 1rem; gap: .2rem; align-content: center; min-width: 0; box-sizing: border-box; }
.gph-heart { width: 44px; height: 44px; color: var(--rose); opacity: .7; }
.gph-heart svg { width: 100%; height: 100%; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.after-note { background: var(--butter); border-radius: 14px; padding: .8rem 1rem; margin-top: 1rem; font-size: 1rem; }
.after-note p { margin: 0 0 .4rem; }

/* ===== Contrast pass: chapter copy sits on a soft panel ===== */
.chapter-copy { background: rgba(255,255,255,.82); backdrop-filter: blur(6px); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-soft); }
.ch-dusk .chapter-copy { background: rgba(20,32,60,.72); }
.ch-dusk .chapter-copy h2, .ch-dusk .chapter-copy .lede, .ch-dusk .chapter-copy .hint { color: #fff; }
.ch-snow .chapter-copy h2, .ch-snow .chapter-copy .lede { color: var(--ink); }
.ch-snow .chapter-num { color: var(--teal); }
.ch-snow .chapter-grid { padding-top: clamp(6rem, 14vw, 9rem); }

/* ===== Hero size ===== */
.ch-sky { min-height: 0; height: clamp(540px, 78vh, 820px); }
.ch-sky .hero-copy { padding: clamp(1.5rem, 4vh, 3rem) 0 0; }
.hero-heart { bottom: 6%; }
@media (max-width: 860px) { .ch-sky { min-height: 0; height: clamp(560px, 82vh, 760px); } .ch-sky .hero-copy { padding: 1.4rem 0 0; } .hero-heart { bottom: 3rem; } .ch-sky .lede { font-size: 1rem; } }

/* ===== Chapter games ===== */
.game { background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.6rem; margin: 2rem auto 0; max-width: 760px; position: relative; z-index: 2; }
.game-head h3 { margin-bottom: .2rem; }
.game-head p { color: var(--ink-soft); margin-bottom: 1rem; }
.game-foot { display: flex; gap: .8rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 1rem; font-weight: 800; color: var(--ink-soft); }
/* peekaboo */
.peek-stage { position: relative; background: linear-gradient(180deg, #e8f4fb 0 55%, #cfe4b0 55%); border-radius: var(--radius); height: 260px; overflow: hidden; }
.peek-lola { position: absolute; left: 4%; bottom: 6px; height: 150px; }
.peek-bushes { position: absolute; left: 24%; right: 3%; bottom: 20px; display: flex; justify-content: space-around; align-items: flex-end; }
.bush { position: relative; width: 120px; height: 120px; background: none; border: 0; padding: 0; cursor: pointer; transition: transform .35s ease; }
.bush-leaf { position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, #a3cf8c, #7fb069 70%); border-radius: 50% 50% 45% 45%; box-shadow: inset -10px -12px 0 rgba(0,0,0,.08); }
.bush-cat { position: absolute; left: 50%; bottom: 40px; width: 78px; transform: translateX(-50%) translateY(20px); opacity: 0; transition: transform .3s ease, opacity .3s ease; z-index: 0; }
.bush-cat img { width: 100%; }
.bush.reveal .bush-cat { opacity: 1; transform: translateX(-50%) translateY(-38px); z-index: 2; }
.bush .bf-flower { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #ef8fab; box-shadow: 0 0 0 3px rgba(255,255,255,.4); z-index: 1; }
.bush .f1 { left: 20%; top: 30%; } .bush .f2 { left: 62%; top: 22%; background: #f7cf5c; } .bush .f3 { left: 45%; top: 60%; background: #9ccfe6; }
.bush:hover { transform: scale(1.05); }
.game-meadow.shuffle .bush:nth-child(1) { transform: translateX(110%); } .game-meadow.shuffle .bush:nth-child(2) { transform: translateX(-110%); } .game-meadow.shuffle .bush:nth-child(3) { transform: translateY(-14px); }
.game-meadow.win .peek-lola { animation: hop .7s ease; }
.peek-msg { position: absolute; left: 12px; top: 12px; background: var(--white); border-radius: 999px; padding: .35rem .9rem; font-weight: 800; font-size: 1rem; box-shadow: var(--shadow-soft); }
@media (max-width: 600px) { .peek-lola { display: none; } .peek-bushes { left: 3%; } .bush { width: 88px; height: 88px; } .bush-cat { width: 60px; bottom: 30px; } }
/* stars */
.sky-stage { position: relative; background: radial-gradient(circle at 30% 20%, #3b5583, #1d2b4d 70%); border-radius: var(--radius); overflow: hidden; }
.sky-stage svg { width: 100%; height: auto; display: block; }
.cstar { cursor: pointer; }
.cstar path { transition: transform .2s ease; transform-box: fill-box; transform-origin: center; }
.cstar:hover path { transform: scale(1.2); }
.cstar.lit path { fill: #ffd166; filter: drop-shadow(0 0 8px #ffd166); }
.cstar.shake { animation: wiggle .4s ease; }
.sky-msg { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); border-radius: 999px; padding: .35rem .9rem; font-weight: 800; font-size: 1rem; }
.count-round { min-height: 320px; position: relative; padding: 3.5rem 1rem 1rem; text-align: center; }
.count-q { color: #fff; font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 .5rem; }
.count-stars { position: relative; height: 180px; }
.count-stars i { position: absolute; width: 22px; height: 22px; background: #fff3c2; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.7-5.4 4.8 1.6 7L12 17.4 5.8 21l1.6-7L2 9.3l7.1-.7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.7-5.4 4.8 1.6 7L12 17.4 5.8 21l1.6-7L2 9.3l7.1-.7z'/%3E%3C/svg%3E") center/contain no-repeat; animation: twinkle 3s ease-in-out infinite; }
.count-stars.glow i { background: #ffd166; }
.count-opts { display: flex; gap: .6rem; justify-content: center; }
.count-opts .btn { min-width: 60px; font-size: 1.2rem; }
/* ski */
.ski-stage { position: relative; height: 420px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #eef4f8, #ffffff 60%, #f3f7fa); outline: none; }
.ski-stage:focus-visible { box-shadow: 0 0 0 3px var(--sun); }
.ski-track { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 60px, rgba(156,207,230,.18) 60px 62px); }
.ski-track::before, .ski-track::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(156,207,230,.5); left: 33.33%; }
.ski-track::after { left: 66.66%; }
.ski-ob { position: absolute; width: 60px; height: 70px; transform: translateX(-50%); }
.ski-ob.tree { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 120'%3E%3Cpath d='M40 0 L76 54 L56 54 L78 94 L8 94 L24 54 L4 54 Z' fill='%232f5d4a'/%3E%3Cpath d='M40 0 L62 36 L18 36 Z' fill='%23fff' opacity='.8'/%3E%3Crect x='34' y='94' width='12' height='26' fill='%235a3d2b'/%3E%3C/svg%3E") center/contain no-repeat; }
.ski-ob.rock { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60'%3E%3Cpath d='M10 50 Q 5 20 30 14 Q 50 2 70 22 Q 80 40 66 52 Z' fill='%238a9bb0'/%3E%3Cpath d='M22 24 Q 40 10 60 26' fill='none' stroke='%23fff' stroke-width='4' opacity='.7'/%3E%3C/svg%3E") center/contain no-repeat; height: 46px; }
.ski-ava { position: absolute; bottom: 30px; left: 50%; width: 80px; transform: translateX(-50%); transition: left .15s ease; z-index: 2; }
.ski-ava img { width: 100%; filter: drop-shadow(0 8px 10px rgba(31,84,104,.25)); }
.ski-ava.fell img { transform: rotate(-70deg) translateY(10px); }
.ski-progress { position: absolute; left: 12px; right: 12px; top: 12px; height: 8px; background: rgba(31,84,104,.12); border-radius: 999px; overflow: hidden; }
.ski-progress div { height: 100%; width: 0; background: var(--heart); transition: width .2s linear; }
.ski-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.55); backdrop-filter: blur(3px); z-index: 3; }
.ski-card { background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.6rem; text-align: center; box-shadow: var(--shadow); max-width: 320px; }
.ski-card h4 { font-family: var(--font-head); font-size: 1.5rem; margin: 0 0 .3rem; }
.ski-card p { color: var(--ink-soft); margin-bottom: .8rem; }
.ski-btn { position: absolute; bottom: 14px; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--white); color: var(--teal); font-size: 1.2rem; box-shadow: var(--shadow-soft); cursor: pointer; z-index: 2; }
.ski-left { left: 14px; } .ski-right { right: 14px; }
.ski-btn:active { transform: scale(.92); }
/* Round 8 fixes */
.game { color: var(--ink); }
.sky-msg, .peek-msg { color: var(--ink); }
@media (min-width: 861px) { .hero-heart { left: auto; right: 9%; bottom: 9%; transform: none; } .ch-sky .hero-copy { padding-bottom: 1rem; } }
@media (max-width: 860px) { .ch-sky { height: auto; min-height: 560px; } .ch-sky .hero-copy { padding: 1.4rem 0 11rem; } .hero-heart { bottom: 1.6rem; } }
@media (max-width: 860px) { .ch-sky.ch-gate { height: auto !important; min-height: 560px; } }
@media (max-width: 860px) { .ch-sky.ch-gate .hero-copy { padding-bottom: 15rem; } }
.dock:not(.closed) .dock-toggle-hide::before { content: "Hide"; } .dock.closed .dock-toggle-hide::before { content: "Show"; }
/* Dock, quiet mode: a small centered pill when closed, a panel when open */
.dock { left: 50%; right: auto; transform: translateX(-50%); width: min(100% - 2rem, 1100px); border-radius: 22px 22px 0 0; border-top-width: 2px; box-shadow: 0 -6px 24px rgba(31,84,104,.14); transition: width .3s ease; }
.dock.closed { width: auto; border-radius: 999px; bottom: 10px; box-shadow: var(--shadow); border: 2px solid var(--rose); }
.dock.closed .dock-toggle { display: inline-flex; gap: .6rem; padding: .35rem .5rem .35rem .9rem; }
.dock.closed .dock-toggle-label { font-size: 1rem; }
.dock.closed .dock-toggle-hide { display: inline-block; }
.dock-toggle-label b { font-size: 1em; }
@media (max-width: 560px) { .dock.closed .dock-toggle-label { font-size: 1rem; } }
.dock.closed .dock-toggle { display: flex; align-items: center; white-space: nowrap; } .dock.closed .dock-toggle-label { white-space: nowrap; } .dock.closed .dock-toggle-label, .dock.closed .dock-toggle-hide { grid-column: auto; }

/* Sponsor page: colorful steps and cards */
.section-head.center .eyebrow { justify-content: center; display: inline-flex; }
.section-head.center .lede { margin-inline: auto; }
.steps-colorful .step-card { border-top: 8px solid; text-align: center; }
.tone-rose { border-color: var(--rose); } .tone-sun { border-color: var(--sun); } .tone-sky { border-color: var(--sky-deep); } .tone-leaf { border-color: var(--leaf); }
.steps-colorful .tone-rose .step-num { background: #fde3ea; } .steps-colorful .tone-sun .step-num { background: #fff3c2; } .steps-colorful .tone-sky .step-num { background: #d9edf6; } .steps-colorful .tone-leaf .step-num { background: #e2f0d6; }
.steps-colorful .step-num { width: 64px; height: 64px; margin: 0 auto .8rem; font-size: 1.8rem; }
.step-icon { font-size: 1.8rem; line-height: 1; }
.info-stack .info-card { border-left: 8px solid var(--sky-deep); display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-items: start; }
.info-stack .info-card .info-icon { grid-row: 1 / 3; font-size: 1.8rem; line-height: 1; padding-top: .1rem; }
.info-stack .info-card h3 { grid-column: 2; margin: 0; }
.info-stack .info-card p { grid-column: 2; }
.info-stack .tone-rose { border-left-color: var(--rose); background: #fff5f8; } .info-stack .tone-sun { border-left-color: var(--sun); background: #fffbea; } .info-stack .tone-sky { border-left-color: var(--sky-deep); background: #f2f9fc; } .info-stack .tone-leaf { border-left-color: var(--leaf); background: #f4faee; }

/* Play bar centered */
.topbar .wrap { justify-content: center; }
.topbar-links { justify-content: center; }
/* Games page zones */
.game-zone { padding: 1.5rem 0 2.5rem; }
.zone-meadow { background: linear-gradient(180deg, #fff4c9, #cfe4b0); }
.zone-evening { background: linear-gradient(180deg, #2f4670, #1d2b4d); }
.zone-snow { background: linear-gradient(180deg, #d6e6f2, #ffffff); }
.games-page .game { margin-top: 0; }

/* ===== Hero, cartoon version (restored). Overrides the painted-hero rules above. ===== */
.ch-sky.ch-toon { height: auto; min-height: 0; background: linear-gradient(180deg, #bfe0f1 0%, #dcefF8 50%, #fff4c9 100%); display: block; }
.ch-toon .hero-copy { position: relative; z-index: 3; text-align: left; max-width: 44rem; margin: 0 auto; padding: clamp(2.5rem, 6vh, 4rem) 0 clamp(14rem, 30vh, 20rem); }
.ch-toon .hero-copy .eyebrow { background: none; padding: 0; display: inline-flex; }
.ch-toon h1, .ch-toon .lede { text-shadow: none; }
.ch-toon .lede { color: var(--ink-soft); font-weight: 600; margin-inline: 0; }
.ch-toon .cta { justify-content: flex-start; }
.ch-toon .hero-meadow { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; pointer-events: none; z-index: 1; }
.ch-toon .hill { position: absolute; left: -10%; right: -10%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.ch-toon .hill-back { bottom: 0; height: 100%; background: linear-gradient(180deg, #d9ebbd, #cfe4b0); }
.ch-toon .hill-front { bottom: -12%; height: 62%; background: linear-gradient(180deg, #bfdca0, #a9cf86); }
.ch-toon .cast { position: absolute; left: 0; right: 0; display: flex; justify-content: center; align-items: flex-end; gap: 4%; pointer-events: auto; }
.ch-toon .cast-back { bottom: 42%; padding: 0 22%; opacity: .92; }
.ch-toon .cast-front { bottom: 8%; padding: 0 8%; }
.ch-toon .cast-item { display: block; transition: transform .25s ease; }
.ch-toon .cast-item:hover { transform: translateY(-8px) rotate(-2deg); }
.ch-toon .cast-item img { height: 140px; width: auto; filter: drop-shadow(0 10px 14px rgba(31,84,104,.18)); }
.ch-toon .cast-back .cast-item img { height: 105px; }
.ch-toon .cast-front .cast-item:nth-child(2) img { height: 180px; }
.ch-toon .cast-front .cast-item:nth-child(3) img { height: 130px; }
.ch-toon .hero-flowers { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; }
.ch-toon .hero-flowers i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--c, #ef8fab); box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.ch-toon .hero-flowers i::after { content: ""; position: absolute; left: 3px; top: 8px; width: 3px; height: 20px; background: #7fb069; border-radius: 2px; z-index: -1; }
.ch-toon .hero-heart { left: auto; right: clamp(1rem, 8vw, 10rem); bottom: auto; top: 22%; transform: none; }
.ch-toon .collect-arrow-text { background: none; padding: 0; transform: rotate(-6deg); }
.ch-toon .collect-arrow-svg { width: 110px; transform: none; }
.ch-toon .collect-arrow { justify-items: end; margin-right: -.4rem; }
.ch-toon .scroll-hint { border-color: var(--teal); }
.ch-toon .scroll-hint span { background: var(--teal); }
@media (max-width: 860px) {
  .ch-sky.ch-toon { height: auto !important; }
  .ch-toon .hero-copy { text-align: center; padding: 2rem 0 17rem; }
  .ch-toon .lede { margin-inline: auto; }
  .ch-toon .cta { justify-content: center; }
  .ch-toon .hero-meadow { height: 300px; }
  .ch-toon .cast-back { display: none; }
  .ch-toon .cast-front { gap: 2%; padding: 0 4%; }
  .ch-toon .cast-item img { height: 100px; }
  .ch-toon .cast-front .cast-item:nth-child(2) img { height: 130px; }
  .ch-toon .cast-front .cast-item:nth-child(3) img { height: 90px; }
  .ch-toon .hero-heart { left: 50%; right: auto; top: auto; bottom: 200px; transform: translateX(-50%); }
  .ch-toon .collect-arrow { justify-items: center; margin: 0 0 .2rem; }
  .ch-toon .collect-arrow-text { transform: none; }
  .ch-toon .collect-arrow-svg { width: 60px; transform: rotate(50deg); }
  .ch-toon.ch-gate .hero-copy { padding-bottom: 19rem; }
}
.ch-toon .hero-copy { padding-bottom: clamp(17rem, 36vh, 23rem); }
@media (max-width: 860px) { .ch-toon.ch-gate .hero-copy { padding-bottom: 23rem; } .ch-toon .hero-heart { bottom: 150px; } }

/* ---------- round 10: subheader under hero, centered menu, bigger announce, split hero, dock mini row ---------- */
.announce { font-size: 1.05rem; }
.announce a { padding: .6rem 0; gap: .6rem; }
.announce a b { font-size: 1rem; padding: .25rem .85rem; }
@media (max-width: 560px) { .announce { font-size: 1rem; } .announce a b { font-size: 1rem; } }
.site-header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.nav { justify-content: center; justify-self: center; }
.nav .nav-buy-m { display: none; }
.nav-buy { justify-self: end; white-space: nowrap; }
.nav-toggle { justify-self: end; }
@media (max-width: 860px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .nav-buy { display: none; }
  .nav .nav-buy-m { display: inline-flex; }
  .nav { justify-content: flex-start; }
}
.topbar { border-top: 1px solid rgba(42,127,158,.12); }
.topbar .wrap { min-height: 46px; }
.topbar-links a { padding: .4rem .75rem; font-size: 1rem; }
/* split hero */
.ch-toon.ch-split .hero-split { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1rem 2rem; align-items: end; width: min(1200px, 100% - 2rem); margin: 0 auto; padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(4.5rem, 8vh, 6.5rem); }
.ch-toon.ch-split .hero-copy { position: relative; max-width: 36rem; width: auto; margin: 0; padding: 0 0 2.5rem; text-align: left; }
.ch-toon.ch-split .hero-copy h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.ch-toon.ch-split .hero-side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 100%; }
.ch-toon.ch-split .hero-heart { position: relative; inset: auto; top: auto; right: auto; left: auto; bottom: auto; transform: none; z-index: 4; margin-bottom: -.75rem; }
.ch-toon.ch-split .hero-cast { position: relative; width: 100%; height: 215px; }
.ch-toon.ch-split .hero-cast .cast { position: absolute; left: 0; right: 0; padding: 0; }
.ch-toon.ch-split .cast-back { bottom: 62px; gap: 1%; padding: 0 6%; opacity: .95; }
.ch-toon.ch-split .cast-front { bottom: 0; gap: 2%; }
.ch-toon.ch-split .cast-item img { height: 118px; }
.ch-toon.ch-split .cast-back .cast-item img { height: 88px; }
.ch-toon.ch-split .cast-front .cast-item:nth-child(2) img { height: 150px; }
.ch-toon.ch-split .cast-front .cast-item:nth-child(3) img { height: 104px; }
.ch-toon.ch-split .hero-meadow { height: 150px; }
.ch-toon.ch-split .hill-front { bottom: -18%; height: 70%; }
.ch-toon.ch-split .hero-flowers { height: 100%; }
@media (max-width: 860px) {
  .ch-toon.ch-split .hero-split { grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem 0 3.5rem; }
  .ch-toon.ch-split .hero-copy { text-align: center; margin: 0 auto; padding: 0 0 1rem; }
  .ch-toon.ch-split .lede { margin-inline: auto; }
  .ch-toon.ch-split .cta { justify-content: center; }
  .ch-toon.ch-split .hero-heart { margin-bottom: -.4rem; }
  .ch-toon.ch-split .hero-cast { height: 140px; }
  .ch-toon.ch-split .cast-back { display: none; }
  .ch-toon.ch-split .cast-item img { height: 96px; }
  .ch-toon.ch-split .cast-front .cast-item:nth-child(2) img { height: 122px; }
  .ch-toon.ch-split .cast-front .cast-item:nth-child(3) img { height: 84px; }
  .ch-toon.ch-split .hero-meadow { height: 110px; }
}
/* dock: closed pill shows a mini row of empty slots */
.dock-mini { display: none; align-items: center; gap: 3px; }
.dock-mini .mgap { width: 6px; }
.mslot { width: 18px; height: 18px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.mslot svg { width: 12px; height: 12px; fill: none; stroke: rgba(31,84,104,.4); stroke-width: 2; }
.mslot.full { background: #fde3ea; } .mslot.full svg { fill: var(--heart); stroke: none; }
.mslot img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; filter: grayscale(1); opacity: .35; }
.mslot.full img { filter: none; opacity: 1; }
.mslot-book { border-radius: 4px; }
.mslot-act span { font-size: 1rem; line-height: 1; filter: grayscale(1); opacity: .4; }
.mslot-act.full span { filter: none; opacity: 1; }
.dock.closed .dock-mini { display: inline-flex; }
.dock.closed .dock-toggle { padding: .45rem .6rem .45rem 1rem; gap: .8rem; }
.dock.closed .dock-toggle-label { font-size: 1rem; }
.dock.closed .dock-toggle-hide::before { content: "Open"; }
@media (max-width: 680px) { .dock.closed .dock-mini .mgap { width: 3px; } .mslot { width: 14px; height: 14px; } .mslot svg { width: 9px; height: 9px; } .mslot-act span { font-size: 1rem; } .dock.closed .dock-toggle { gap: .5rem; padding: .4rem .5rem .4rem .8rem; } }
@media (max-width: 480px) { .dock.closed .dock-toggle { flex-wrap: wrap; justify-content: center; row-gap: .3rem; padding: .4rem .8rem; } .dock.closed .dock-mini { order: 3; flex-basis: 100%; justify-content: center; } .dock.closed .dock-toggle-label { font-size: 1rem; } .dock.closed { width: min(100% - 1rem, 420px); border-radius: 22px; } }
/* Reserve the banner and header height so the page does not jump when the
   web fonts finish loading (the old cause of the layout shift on first paint). */
.announce { min-height: 54px; display: flex; align-items: center; justify-content: center; }
.announce .wrap { width: 100%; }
.site-header { min-height: 101px; }
@media (max-width: 860px) { .announce { min-height: 69px; } .site-header { min-height: 81px; } }

/* Buy buttons on the pink band: white pill with the deeper pink text. */
.buyband .btn-primary { background: var(--white); color: var(--heart-deep); }
.buyband .btn-primary:hover { background: var(--butter); color: var(--heart-deep); }
/* Character art keeps its own proportions when the row has to shrink. */
.ch-toon .cast-item img, #presult .pr img { object-fit: contain; }

/* round 10 fixes */
.announce a b { white-space: nowrap; }
@media (max-width: 560px) { .announce { font-size: 1rem; } .announce a { gap: .4rem; padding: .5rem 0; } .announce a b { font-size: 1rem; padding: .2rem .6rem; } .announce a > svg:last-child { display: none; } }
.topbar-links a { font-size: 1rem; padding: .35rem .6rem; }
.topbar-links { flex-wrap: wrap; }
.ch-toon.ch-split .hero-side { flex-direction: row; align-items: flex-end; justify-content: flex-end; gap: .5rem; }
.ch-toon.ch-split .hero-heart { margin: 0 0 2.2rem; flex: 0 0 auto; }
.ch-toon.ch-split .hero-cast { flex: 1 1 auto; width: auto; min-width: 0; height: 225px; }
.ch-toon.ch-split .cast-back { bottom: 72px; padding: 0 2%; }
.ch-toon.ch-split .cast-front { gap: 3%; }
.ch-toon.ch-split .collect-arrow { justify-items: center; margin: 0; }
.ch-toon.ch-split .collect-arrow-svg { width: 70px; transform: rotate(40deg); }
.ch-toon.ch-split .collect-arrow-text { transform: rotate(-4deg); }
@media (max-width: 860px) {
  .ch-toon.ch-split .hero-copy h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .ch-toon.ch-split .hero-side { justify-content: center; gap: .25rem; }
  .ch-toon.ch-split .hero-heart { margin: 0 0 1.2rem; }
  .ch-toon.ch-split .hero-cast { height: 130px; flex: 0 1 260px; }
  .ch-toon.ch-split .cast-front { gap: 1%; }
  .ch-toon.ch-split .cast-item img { height: 84px; }
  .ch-toon.ch-split .cast-front .cast-item:nth-child(2) img { height: 108px; }
  .ch-toon.ch-split .cast-front .cast-item:nth-child(3) img { height: 74px; }
  .ch-toon.ch-split .collect-arrow-svg { width: 48px; }
  .ch-toon.ch-split .hero-meadow { height: 100px; }
}
@media (max-width: 560px) { .announce { font-size: 1rem; } .announce a svg { display: none; } .announce a b { font-size: 1rem; } }
@media (max-width: 860px) { .ch-toon.ch-split .hero-copy .eyebrow { display: block; } .ch-toon.ch-split .hero-copy .eyebrow svg { vertical-align: -.1em; } }
@media (max-width: 860px) { .topbar-play { display: none; } .topbar .wrap { padding: .35rem 0; } .topbar-links { flex-wrap: wrap; justify-content: center; gap: .1rem .2rem; } .topbar-links a { font-size: 1rem; padding: .3rem .5rem; } .ch-toon.ch-split .hero-copy .eyebrow svg { display: none; } }
/* round 11: play corner grid (replaces the thin play bar) */
.playgrid { background: var(--paper); border-top: 1px solid rgba(42,127,158,.12); border-bottom: 1px solid rgba(42,127,158,.12); padding: clamp(1.25rem, 3vw, 2rem) 0; }
.playgrid .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; width: min(1200px, 100% - 2rem); }
.play-tile { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.05rem; border-radius: 18px; background: var(--white); border: 2px solid transparent; text-decoration: none; color: var(--ink); box-shadow: 0 6px 18px rgba(31,84,104,.08); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; min-width: 0; }
a.play-tile:hover, a.play-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31,84,104,.14); border-color: var(--heart); }
a.play-tile[aria-current="page"] { border-color: var(--teal); }
.play-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); margin-bottom: .2rem; }
.play-ico .ico { width: 22px; height: 22px; }
.play-label { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.play-blurb { font-size: 1rem; font-weight: 600; color: var(--ink-soft); line-height: 1.4; }
.tone-sun .play-ico { background: #fff3c2; } .tone-rose .play-ico { background: #fde3ea; } .tone-sky .play-ico { background: #e3f0f7; } .tone-leaf .play-ico { background: #e5f2d9; } .tone-lilac .play-ico { background: #ece5f7; }
.tone-sun .ico { color: #c98a00; } .tone-rose .ico { color: var(--heart); } .tone-sky .ico { color: var(--teal); } .tone-leaf .ico { color: #4f8a3a; } .tone-lilac .ico { color: #7a5ca8; }
.play-intro { background: linear-gradient(135deg, var(--heart), #f28ba8); color: var(--white); box-shadow: 0 8px 22px rgba(232,106,138,.3); justify-content: center; }
.play-intro h2 { margin: 0; font-size: 1.5rem; line-height: 1.1; color: var(--white); }
.play-intro p { margin: 0; font-size: 1rem; font-weight: 600; opacity: .95; }
.play-intro-heart svg { width: 30px; height: 30px; color: var(--white); }
@media (max-width: 1000px) { .playgrid .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } }
@media (max-width: 560px) { .play-tile { padding: .8rem .85rem .85rem; border-radius: 14px; } .play-label { font-size: 1rem; } .play-blurb { font-size: 1rem; } .play-ico { width: 36px; height: 36px; } .play-ico .ico { width: 18px; height: 18px; } .play-intro h2 { font-size: 1.25rem; } .play-intro p { font-size: 1rem; } }
/* round 12: breathing room, world title, full-width book panels, single mountain background, scroll snap */
.playgrid { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.playgrid .wrap { gap: 1.25rem; }
.play-tile { padding: 1.4rem 1.4rem 1.35rem; gap: .45rem; border-radius: 20px; }
.play-ico { margin-bottom: .35rem; }
@media (max-width: 1000px) { .playgrid .wrap { gap: .9rem; } }
@media (max-width: 560px) { .playgrid { padding: 2rem 0; } .play-tile { padding: 1rem 1rem 1.05rem; } }
.world-title { text-align: center; max-width: 42rem; margin: 0 auto; padding: clamp(4rem, 9vw, 6.5rem) 0 0; }
.world-title .eyebrow { display: inline-flex; justify-content: center; }
.world-title h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: .3rem 0 .5rem; }
.world-title .lede { margin: 0 auto; }
.ch-meadow .world-title + .chapter-grid { padding-top: clamp(3rem, 6vw, 4.5rem); }
.chapter .book-panel { max-width: none; margin-top: 2.5rem; }
.chapter-grid { padding-top: clamp(5.5rem, 12vw, 9rem); }
.ch-meadow, .ch-dusk { padding-bottom: 9.5rem; }
.ch-snow { padding-bottom: 13rem; }
.ch-snow { background: linear-gradient(180deg, #1d2b4d 0%, #6f8fb0 10%, #d6e6f2 30%, #e9f1f7 100%); }
.ch-snow .peaks { top: 8%; height: 92%; background: radial-gradient(40% 40% at 15% 100%, #b9cfe0 0 60%, transparent 61%), radial-gradient(45% 52% at 50% 100%, #cddfeb 0 60%, transparent 61%), radial-gradient(40% 45% at 88% 100%, #b9cfe0 0 60%, transparent 61%), linear-gradient(180deg, transparent 0 46%, #c6d9e8 46%, #dbe8f1 100%); }
.ch-snow .slope { bottom: -60px; height: 200px; }
.ch-home { padding: clamp(5rem, 10vw, 8rem) 0; }
.is-world .section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.is-world .section-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.is-world .section-tight + .section-tight { padding-top: 0; }
/* Scroll snapping was pulling the page down past the announcement bar on load and
   fighting momentum scrolling on phones. Anchor offsets below are kept; the snap is not. */
.is-world .chapter, .is-world #picker { scroll-margin-top: 0; }
/* round 12: buy band cleanup (no overlay buttons, no bob/heartbeat) */
.btn-buy { animation: none; }
.btn-buy:hover { transform: translateY(-2px); }
.buyband-cover { animation: none; transform: none; transition: transform .25s ease, box-shadow .25s ease; }
.buyband.many .buyband-cover:nth-child(2), .buyband.many .buyband-cover:nth-child(3) { transform: none; animation: none; }
.buyband-cover:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(31,84,104,.35); animation: none; }
.buyband-item { display: flex; flex-direction: column; align-items: center; gap: .8rem; min-width: 0; }
.buyband.many .buyband-item { width: 30%; }
.buyband.many .buyband-cover { width: 100%; }
.buyband.one .buyband-item { width: min(260px, 100%); }
.buyband-item .btn-buy { width: 100%; justify-content: center; padding: .7rem .6rem; font-size: 1rem; white-space: nowrap; box-shadow: 0 6px 16px rgba(31,84,104,.2); }
.buyband-item .btn-buy svg { width: .9em; height: .9em; }
.buyband::after { animation: none; display: none; }
@media (max-width: 860px) { .buyband.many .buyband-item { width: 31%; } .buyband-item .btn-buy { font-size: 1rem; padding: .55rem .4rem; } .buyband-item .btn-buy svg { display: none; } }
@media (max-width: 480px) { .buyband-covers { flex-wrap: wrap; gap: 1rem 4%; } .buyband.many .buyband-item { width: 44%; } .buyband-item .btn-buy { font-size: 1rem; } }
@media (prefers-reduced-motion: no-preference) { .is-world .chapter, .is-world #picker { scroll-margin-top: 100px; } }
@media (prefers-reduced-motion: no-preference) and (max-width: 860px) { .is-world .chapter, .is-world #picker { scroll-margin-top: 80px; } }
/* round 13: minimum font size 16px everywhere (values below 1rem were raised in place) */
/* round 13: Ava's mountain as one scene. Peaks share the ground color so there is no band; no parallax on the peaks. */
.ch-snow { background: linear-gradient(180deg, #1d2b4d 0%, #6f8fb0 12%, #c7dcec 34%, #d6e6f2 100%); }
.ch-snow .peaks { top: 10%; height: 90%; background:
  radial-gradient(38% 42% at 12% 100%, #b6cde0 0 60%, transparent 61%) 0 0 / 100% 52% no-repeat,
  radial-gradient(40% 46% at 86% 100%, #b6cde0 0 60%, transparent 61%) 0 0 / 100% 52% no-repeat,
  radial-gradient(46% 54% at 50% 100%, #d6e6f2 0 60%, transparent 61%) 0 0 / 100% 52% no-repeat,
  linear-gradient(180deg, #d6e6f2 0%, #eef4f9 60%, #ffffff 100%) 0 100% / 100% 48.5% no-repeat; }
.ch-snow .slope { background: #fff; bottom: -60px; height: 220px; }
.ch-snow .pines { bottom: 40px; }

/* round 14: announcement bar on small phones. The single row overflowed, so the
   pill was clipped at the right edge. Wrap it into a centered two-line block. */
@media (max-width: 560px) {
  .announce { min-height: 0; }
  .announce .wrap { width: 100%; }
  .announce a { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; gap: .3rem .5rem; padding: .55rem 1rem; line-height: 1.25; }
  .announce a span { flex: 1 1 100%; }
  .announce a b { flex: 0 0 auto; }
}
