:root {
  --site-content-width: 80rem;
  --doodle-brown: #57220f;
  --doodle-pink: #d91650;
  --doodle-blue: #219bd4;
  --doodle-green: #69a92e;
  --doodle-gold: #f5ae27;
  --doodle-sky: #dff4fb;
  --doodle-leaf: #e6f4cf;
  --doodle-blush: #fde4eb;
}

body {
  background: #fff;
}

.site-header {
  position: relative;
  background: #fff !important;
  border-bottom: 0 !important;
  box-shadow: 0 5px 0 var(--doodle-blue), 0 9px 0 var(--doodle-pink);
}

.brand img {
  width: 190px !important;
  height: 92px !important;
  object-fit: contain;
}

nav a::after {
  background: var(--doodle-pink) !important;
}

.home-main,
.home-hero {
  background:
    radial-gradient(circle at 88% 22%, rgba(245, 174, 39, .38) 0 12%, transparent 12.4%),
    radial-gradient(circle at 8% 85%, rgba(217, 22, 80, .15) 0 16%, transparent 16.4%),
    linear-gradient(135deg, var(--doodle-sky), var(--doodle-leaf)) !important;
}

.books-page {
  background:
    radial-gradient(circle at 7% 14%, rgba(33, 155, 212, .17) 0 10%, transparent 10.4%),
    linear-gradient(135deg, #fff2b9, var(--doodle-blush));
}

.inside-page,
.inside-layout {
  background: var(--doodle-blue) !important;
}

.sample-stage {
  background: linear-gradient(145deg, var(--doodle-gold), #f17a85) !important;
}

.about-page {
  background:
    radial-gradient(circle at 18% 80%, rgba(217, 22, 80, .16) 0 14%, transparent 14.4%),
    linear-gradient(135deg, var(--doodle-leaf), var(--doodle-sky)) !important;
}

.orange-orbit {
  background: rgba(245, 174, 39, .45) !important;
}

.eyebrow {
  color: var(--doodle-green);
}

.home-hero h1 em,
.about-content blockquote {
  color: var(--doodle-pink) !important;
}

.button {
  background: var(--doodle-green);
}

.yellow-button {
  background: var(--doodle-gold);
  color: var(--doodle-brown);
}

.pinned-footer {
  background: #eaf8fd !important;
  color: var(--doodle-brown) !important;
  box-shadow: 0 -5px 0 var(--doodle-pink), 0 -9px 0 var(--doodle-blue), 0 -14px 28px rgba(87, 34, 15, .12) !important;
}

.pinned-footer img {
  width: 68px !important;
  height: 68px !important;
  padding: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.pinned-footer small {
  color: rgba(87, 34, 15, .72) !important;
}

.footer-links a {
  color: var(--doodle-brown);
}

.footer-links a.active {
  color: var(--doodle-pink);
  text-decoration: underline;
  text-underline-offset: .2rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: .48rem;
  margin-left: auto;
}

.social-placeholder {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(87, 34, 15, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  color: var(--doodle-brown);
  cursor: default;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.social-placeholder:hover {
  transform: translateY(-2px);
  border-color: var(--doodle-pink);
  background: #fff;
}

a.social-placeholder {
  cursor: pointer;
}

.social-placeholder svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-placeholder.instagram {
  color: #c13584;
}

.social-placeholder.pinterest {
  color: #bd081c;
}

.social-placeholder.facebook {
  color: #1877f2;
}

.social-links-label {
  margin-right: .15rem;
  color: rgba(87, 34, 15, .72);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pinned-footer .footer-links {
  margin-left: .7rem;
}

.library-page {
  padding-top: 2.2rem;
  padding-bottom: 7rem;
}

.library-page .page-intro {
  margin-bottom: 2rem;
}

.library-grid {
  width: min(1320px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.library-book {
  background: rgba(255, 255, 255, .84);
  border: 2px solid rgba(87, 34, 15, .08);
  border-radius: 1.2rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 13px 26px rgba(87, 34, 15, .10);
}

.library-book img {
  display: block;
  width: 100%;
  max-width: 210px;
  margin: 0 auto;
  border-radius: 4px 8px 8px 4px;
  box-shadow: 0 8px 18px rgba(50, 26, 16, .2);
}

.library-book h2 {
  margin: .8rem 0 .35rem;
  color: var(--doodle-brown);
  font-size: 1.25rem;
  line-height: 1.1;
}

.library-book .status {
  display: inline-block;
  margin: 0;
  padding: .28rem .65rem;
  border-radius: 999px;
  color: #fff;
  background: var(--doodle-blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.library-book .status.preparing {
  background: var(--doodle-green);
}

.library-book a.status.available {
  background: var(--doodle-green);
  text-decoration: none;
}

.library-book a.status.available:hover,
.launch-book-copy a.status-pill.available:hover {
  text-decoration: underline;
}

.launch-book-copy a.status-pill.available {
  background: var(--doodle-green);
  color: #fff;
  text-decoration: none;
}

.library-page .availability-note {
  max-width: 880px;
  margin: 2rem auto 0;
  padding: 0 1.2rem;
  text-align: center;
  color: var(--doodle-brown);
}

.series-feature {
  width: min(1320px, calc(100% - 2.4rem));
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem;
  text-align: left;
}

.series-feature img {
  flex: 0 0 210px;
  width: 210px;
  margin: 0;
}

.series-feature .eyebrow {
  margin: 0 0 .3rem;
}

.series-feature h2 {
  margin: 0 0 .6rem;
  font-size: 1.9rem;
}

.series-feature p {
  margin: 0 0 .7rem;
  color: var(--doodle-brown);
}

.series-feature .series-feature-meta {
  font-weight: 700;
}

.series-feature .status {
  color: #fff;
}

.launch-library-page {
  min-height: calc(100vh - 108px - var(--footer-h));
  padding: 4.5rem clamp(1.3rem, 5vw, 5rem) 7rem;
  padding-bottom: 7rem;
  background:
    radial-gradient(circle at 8% 12%, rgba(33, 155, 212, .16) 0 9%, transparent 9.4%),
    radial-gradient(circle at 92% 88%, rgba(217, 22, 80, .12) 0 13%, transparent 13.4%),
    #fffdf7;
}

.launch-heading {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.launch-heading h1 {
  margin: .5rem 0 .8rem;
  color: var(--doodle-brown);
  font-size: clamp(3.6rem, 7vw, 7rem);
}

.launch-heading > p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: #60716a;
  font-size: 1.1rem;
}

.launch-book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.launch-book-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: #edf4e7;
  box-shadow: 0 20px 42px rgba(87, 34, 15, .14);
}

.launch-book-card.dinosaurs {
  background: #fff0de;
}

.launch-book-card.vehicles {
  background: #e7f4fa;
}

.launch-book-image {
  padding: 2.2rem 2.2rem .5rem;
  perspective: 1000px;
}

.launch-book-image img {
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  border-radius: 3px 8px 8px 3px;
  box-shadow: 12px 15px 28px rgba(20, 50, 40, .2);
  transform: rotate(-2deg);
  transition: transform .35s ease;
}

.launch-book-card.dinosaurs .launch-book-image img {
  transform: rotate(2deg);
}

.launch-book-card:hover .launch-book-image img {
  transform: rotate(0) translateY(-7px);
}

.launch-book-copy {
  position: relative;
  padding: 1.6rem 2rem 2.2rem;
}

.launch-book-number {
  position: absolute;
  right: 1.7rem;
  top: 1.2rem;
  color: rgba(24, 48, 43, .18);
  font: 800 3.2rem/1 "Baloo 2", sans-serif;
}

.launch-book-copy .card-kicker {
  margin: 0;
  color: var(--doodle-green);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.launch-book-copy h2 {
  margin: .25rem 0 .65rem;
  color: var(--doodle-brown);
  font-size: 2rem;
  letter-spacing: -.035em;
}

.launch-book-copy > p:not(.card-kicker) {
  min-height: 96px;
  margin: 0;
  color: #60716a;
}

.launch-book-copy .status-pill {
  display: inline-block;
  margin-top: 1rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--doodle-brown);
  font-size: .75rem;
  font-weight: 900;
}

.launch-library-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 850px;
  margin: 2rem auto 0;
  text-align: center;
}

.launch-library-actions p {
  margin: 0;
  color: var(--doodle-brown);
}

.launch-library-actions .button {
  flex: 0 0 auto;
}

.legal-page {
  min-height: calc(100vh - 120px);
  padding: 3rem 1.2rem 7rem;
  background: radial-gradient(circle at 90% 10%, rgba(245, 174, 39, .3) 0 12%, transparent 12.4%), linear-gradient(135deg, var(--doodle-sky), var(--doodle-leaf));
}

.legal-page article {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, .9);
  border-radius: 1.5rem;
  box-shadow: 0 14px 32px rgba(87, 34, 15, .12);
}

.legal-page h1 {
  margin: .15rem 0 .25rem;
  color: var(--doodle-brown);
  font-size: clamp(2.3rem, 6vw, 4rem);
}

.legal-page h2 {
  margin: 1.7rem 0 .35rem;
  color: var(--doodle-pink);
  font-size: 1.25rem;
}

.legal-page p {
  max-width: 74ch;
  color: #4e382f;
  line-height: 1.65;
}

.legal-page a {
  color: #006f9f;
  font-weight: 800;
}

.updated {
  margin-top: 0;
  font-size: .88rem;
  font-weight: 800;
}

.adult-note,
.legal-caution,
.launch-item {
  padding: 1rem 1.15rem;
  border-radius: .9rem;
}

.adult-note {
  background: var(--doodle-sky);
}

.legal-caution {
  margin-top: 2rem;
  background: #fff2b9;
}

.launch-item {
  background: var(--doodle-blush);
  border-left: 5px solid var(--doodle-pink);
}

@media (max-width: 1100px) {
  .library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .launch-book-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .launch-book-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
  }

  .launch-book-copy > p:not(.card-kicker) {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-feature {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 720px) {
  :root {
    --footer-h: 104px;
  }

  .brand img {
    width: 150px !important;
    height: 72px !important;
  }

  .pinned-footer img {
    width: 58px !important;
    height: 58px !important;
  }

  .pinned-footer {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: 42px 42px;
    column-gap: .65rem;
    height: var(--footer-h);
    align-content: center;
  }

  .pinned-footer > a:first-child {
    grid-row: 1 / 3;
  }

  .pinned-footer > p {
    display: none;
  }

  .footer-links {
    display: flex !important;
    max-width: calc(100% - 72px);
    margin-left: auto;
    gap: .55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .social-links {
    justify-self: end;
    margin-left: 0;
    gap: .35rem;
  }

  .social-links-label {
    display: none;
  }

  .social-placeholder {
    width: 30px;
    height: 30px;
  }

  .pinned-footer .footer-links {
    max-width: 100%;
    margin-left: 0;
    justify-content: flex-end;
    align-self: start;
  }

  .footer-links a {
    font-size: .68rem;
  }

  .launch-library-actions {
    flex-direction: column;
  }

  .launch-library-page {
    padding: 3rem 1rem 6.5rem;
  }

  .launch-heading {
    margin-bottom: 2.2rem;
  }

  .launch-heading h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .launch-book-card {
    display: block;
  }

  .launch-book-image {
    padding: 1.6rem 1.6rem .3rem;
  }

  .launch-book-copy {
    padding-top: 1.2rem;
  }
}

@media (max-width: 480px) {
  .library-grid {
    grid-template-columns: 1fr;
    width: min(330px, calc(100% - 2rem));
  }
}

/* Site layout: content and its backgrounds live in one centered 1280px column.
   Outside the column the page is white; only the header and footer span the full width. */
main {
  width: 100%;
  max-width: var(--site-content-width);
  margin-inline: auto;
}

.site-header,
.pinned-footer {
  padding-inline: max(clamp(1.2rem, 4vw, 4rem), calc((100vw - var(--site-content-width)) / 2 + clamp(1.2rem, 4vw, 4rem)));
}

/* The hero headline is sized for the 1280px column, not the full viewport. */
.home-hero h1 {
  font-size: clamp(3.1rem, 5.2vw, 5.4rem);
}

/* Home page. Hero puts the three launch books, with buy buttons and the acorn helper, on the first screen.
   Every band sits inside the 1280px column. Text and button colors are chosen for AA contrast. */
.home-main {
  --buy: #2f6b2a;
  min-height: 0;
  padding: 0;
  background: #fff !important;
}

.home-main .eyebrow {
  color: var(--buy);
}

.home-hero2 {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
  align-items: center;
  gap: 1.5rem;
  min-height: min(560px, calc(100vh - 210px));
  padding: 2rem clamp(1.4rem, 4vw, 3.5rem) 2.4rem;
  background:
    radial-gradient(circle at 78% 42%, rgba(245, 174, 39, .42) 0 21%, transparent 21.4%),
    linear-gradient(135deg, var(--doodle-sky), var(--doodle-leaf));
}

.hero2-copy h1 {
  margin: .3rem 0 .9rem;
  font-size: clamp(2.5rem, 3.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero2-copy h1 em {
  display: block;
  color: var(--doodle-pink);
  font-style: normal;
}

.hero2-lead {
  max-width: 28rem;
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.5;
}

.hero2-shelf {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
}

.mascot-helper {
  position: relative;
  flex: 0 0 clamp(120px, 11vw, 150px);
  padding-top: 4.2rem;
}

.mascot-helper img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: bottom center;
  filter: drop-shadow(0 10px 12px rgba(40, 88, 56, .25));
}

.mascot-bubble {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  max-width: 9.4rem;
  margin: 0;
  padding: .5rem .8rem;
  background: #fff;
  border: 2px solid var(--deep);
  border-radius: 1rem;
  color: var(--deep);
  font: 800 .95rem/1.2 "Baloo 2", sans-serif;
}

.mascot-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 2rem;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 2px solid var(--deep);
  border-bottom: 2px solid var(--deep);
  transform: rotate(45deg);
}

.mascot-helper.is-excited img {
  animation: mascot-hop .45s ease;
}

@keyframes mascot-hop {
  40% { transform: translateY(-12px) rotate(-3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-helper.is-excited img { animation: none; }
}

.picks {
  display: flex;
  flex: 1;
  gap: 1rem;
  max-width: 700px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pick {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: stretch;
  gap: .7rem;
  min-width: 0;
}

.pick-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px 9px 9px 4px;
  box-shadow: 0 14px 26px rgba(50, 26, 16, .3);
  transition: transform .2s ease;
}

.pick:hover .pick-cover img,
.pick:focus-within .pick-cover img {
  transform: translateY(-6px);
}

.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  max-width: 100%;
  min-height: 48px;
  padding: .7rem 1rem;
  background: var(--buy);
  border-radius: 999px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.pick .buy-button { width: 100%; }

.buy-button:hover {
  background: var(--deep);
}

.buy-button:focus-visible,
.text-link:focus-visible {
  outline: 3px solid var(--doodle-pink);
  outline-offset: 3px;
}

.home-inside {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  gap: 3rem;
  padding: 3.4rem clamp(1.4rem, 5vw, 4.5rem);
  background: var(--paper);
}

.inside-page-sample {
  margin: 0;
  padding: .8rem;
  background: #fff;
  border: 2px solid rgba(87, 34, 15, .1);
  box-shadow: 0 18px 34px rgba(87, 34, 15, .16);
  transform: rotate(-1.5deg);
}

.inside-page-sample img {
  display: block;
  width: 100%;
  height: auto;
}

.home-inside h2,
.home-activity h2 {
  margin: .2rem 0 1rem;
  color: var(--doodle-brown);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.inside-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.6rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.inside-points strong {
  display: block;
  color: var(--doodle-brown);
  font: 800 1.15rem/1.2 "Baloo 2", sans-serif;
}

.inside-facts {
  margin: 0;
  color: var(--doodle-brown);
  font-weight: 800;
}

.home-activity {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 2.6rem;
  padding: 3.2rem clamp(1.4rem, 5vw, 4.5rem);
  background: linear-gradient(135deg, #fff2b9, var(--doodle-blush));
}

.home-activity-featured {
  grid-template-columns: minmax(230px, 330px) minmax(0, 1fr);
  min-height: min(660px, calc(100vh - 120px));
  gap: clamp(2rem, 5vw, 4.5rem);
}

.home-activity-featured h2 {
  margin: .2rem 0 .7rem;
  color: var(--doodle-brown);
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 1.06;
}

.featured-status {
  margin: 0 0 1.2rem;
  color: var(--doodle-brown);
  font-weight: 800;
}

.featured-status .status-pill { margin-right: .35rem; }

.home-activity .featured-closing {
  margin: .2rem 0 1.2rem;
  color: var(--doodle-brown);
  font-weight: 800;
}

.home-activity > img {
  width: 100%;
  height: auto;
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 18px 34px rgba(50, 26, 16, .3);
  transform: rotate(-2deg);
}

.home-activity .lead {
  margin: 0 0 1rem;
  color: var(--ink);
}

.home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.home-chips li {
  padding: .3rem .8rem;
  background: #fff;
  border: 2px solid rgba(87, 34, 15, .1);
  border-radius: 999px;
  color: var(--doodle-brown);
  font-size: .88rem;
  font-weight: 800;
}

.home-activity-meta {
  margin: 0;
  color: var(--doodle-brown);
}

.home-activity .actions {
  justify-content: flex-start;
}

.status-pill {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: #15628d;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}

.home-maker {
  padding: 2.2rem 1.4rem 5.5rem;
  background: var(--paper);
  color: var(--doodle-brown);
  text-align: center;
}

.home-maker p {
  margin: 0 0 .6rem;
}

.home-maker .text-link {
  margin: 0 .8rem;
}

@media (max-width: 1000px) {
  .home-hero2 {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
  }

  .hero2-lead {
    margin-inline: auto;
  }

  .hero2-shelf {
    max-width: 640px;
    margin: 0 auto;
  }

  .home-inside {
    grid-template-columns: 260px 1fr;
    gap: 2rem;
  }

  .inside-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero2-shelf {
    flex-wrap: wrap;
    gap: .4rem 1rem;
  }

  .mascot-helper {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding-top: 0;
  }

  .mascot-helper img {
    width: 96px;
  }

  .mascot-bubble {
    position: relative;
    margin-bottom: 12px;
    text-align: center;
  }

  .mascot-bubble::after {
    left: calc(50% - 7px);
  }

  .picks {
    flex: 1 1 100%;
    gap: .6rem;
  }

  .pick .buy-button { font-size: .78rem; padding-inline: .25rem; }

  .home-inside,
  .home-activity {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-activity-featured { min-height: 0; }

  .inside-page-sample,
  .home-activity > img {
    max-width: 250px;
    margin: 0 auto;
  }

  .inside-points {
    text-align: left;
  }

  .home-chips,
  .home-activity .actions {
    justify-content: center;
  }
}

/* Clear keyboard focus everywhere */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--doodle-pink);
  outline-offset: 3px;
}

.hero2-new {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  padding: .7rem 1rem;
  background: var(--doodle-blush);
  border-radius: 14px;
  color: var(--doodle-brown);
}

.hero2-new a {
  color: var(--doodle-brown);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hero2-more {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
}

/* Book detail pages and the Books shelf */
.crumbs { display: block; max-width: var(--site-content-width); margin: 0 auto 1rem; color: var(--doodle-brown); font-size: .9rem; }
.crumbs a { padding: 0; color: inherit; }
.book-hero { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: start; max-width: var(--site-content-width); margin: 0 auto 3rem; }
.book-cover { width: 100%; height: auto; border-radius: 4px 10px 10px 4px; box-shadow: 0 18px 34px rgba(50, 26, 16, .3); }
.book-info h1 { margin: .3rem 0 .6rem; color: var(--doodle-brown); font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.04; }
.book-tag { margin: 0 0 1rem; color: var(--doodle-pink); font: 800 1.25rem/1.3 "Baloo 2", sans-serif; }
.book-info p { max-width: 38rem; }
.book-meta { color: var(--doodle-brown); font-weight: 800; }
.about-visual img { width: 100%; height: auto; }
.book-look { display: grid; grid-template-columns: minmax(340px, 460px) 1fr; gap: 3rem; align-items: center; max-width: var(--site-content-width); margin: 0 auto 3rem; padding: 2.4rem clamp(1.4rem, 4vw, 3rem); background: var(--paper); border-radius: 18px; }
.book-look.book-look-text { grid-template-columns: 1fr; max-width: 46rem; }
.book-look:not(:has(.inside-page-sample)) { grid-template-columns: 1fr 1fr; align-items: start; }
.book-look .inside-page-sample { width: 100%; max-width: 460px; }
.inside-page-sample figcaption { margin-top: .6rem; color: var(--doodle-brown); font-size: .88rem; font-weight: 800; text-align: center; }
.inside-page-sample a:focus-visible { display: block; outline: 3px solid var(--doodle-pink); outline-offset: 4px; }
.book-look h2 { margin: .2rem 0 .8rem; color: var(--doodle-brown); font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.sample-fact { font-size: 1.1rem; }
.inside-list { margin: 1rem 0 0; padding-left: 1.2rem; }
.inside-list li { margin: .3rem 0; }
.crew-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.crew-list strong { color: var(--doodle-brown); font: 800 1.2rem "Baloo 2", sans-serif; }
.more-books { max-width: var(--site-content-width); margin: 0 auto; }
.more-books h2 { margin-bottom: 1rem; color: var(--doodle-brown); font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.more-books ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.more-books a:not(.text-link) { display: block; text-decoration: none; color: var(--doodle-brown); }
.more-books img { width: 100%; max-width: 200px; height: auto; margin-bottom: .6rem; border-radius: 3px 8px 8px 3px; box-shadow: 0 10px 22px rgba(50, 26, 16, .22); }
.more-title { display: block; font: 800 1.1rem "Baloo 2", sans-serif; }
.more-note { display: block; font-size: .85rem; color: #5b4a3f; }
.shelf { max-width: var(--site-content-width); margin: 0 auto 3rem; }
.shelf-heading { margin: 0 0 1rem; color: var(--doodle-brown); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.shelf-note { margin: 0 0 1rem; color: #5b4a3f; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.book-tile2 h3 { margin: .8rem 0 .2rem; color: var(--doodle-brown); font-size: 1.4rem; }
.book-tile2 h3 a { color: inherit; }
.book-tile2 p { margin: 0 0 .8rem; }
.tile-cover img { width: 100%; max-width: 280px; height: auto; border-radius: 4px 10px 10px 4px; box-shadow: 0 14px 28px rgba(50, 26, 16, .25); }
.soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; margin: 0; padding: 0; list-style: none; }
.soon-grid li { text-align: center; }
.soon-grid img { width: 100%; max-width: 320px; height: auto; margin: 0 auto; border-radius: 4px 10px 10px 4px; box-shadow: 0 14px 28px rgba(50, 26, 16, .25); }
.soon-grid span { display: block; margin-top: .7rem; font-size: 1.1rem; font-weight: 800; color: var(--doodle-brown); }
@media (max-width: 800px) {
  .book-hero, .book-look, .book-look:not(:has(.inside-page-sample)) { grid-template-columns: 1fr; gap: 1.5rem; }
  .book-cover { max-width: 260px; }
  .more-books ul, .tile-grid { grid-template-columns: 1fr; }
  .more-books li a { display: grid; grid-template-columns: 90px 1fr; column-gap: 1rem; align-items: center; }
  .more-books img { grid-row: span 2; }
  .tile-cover img { max-width: 220px; }
  .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .soon-grid { grid-template-columns: 1fr; }
  .soon-grid img { max-width: 320px; }
}

:root { --buy: #2f6b2a; }
.series-feature > a { flex: 0 0 320px; }
.series-feature > a img { width: 320px; max-width: 100%; height: auto; }
.series-feature h3 { margin: 0 0 .6rem; color: var(--doodle-brown); font-size: 1.9rem; }
.series-feature h3 a { color: inherit; }
@media (max-width: 800px) {
  .series-feature { flex-direction: column; align-items: flex-start; }
  .series-feature > a { flex: 0 0 auto; width: min(320px, 100%); }
}
