:root {
  --paper: #fbf6f0;
  --warm: #fff8ee;
  --surface: #fffdfb;
  --ink: #312824;
  --muted: #74645d;
  --line: #e8ddd4;
  --peach: #f19a5b;
  --peach-deep: #c65f27;
  --peach-soft: #fde3cf;
  --sage: #9db59d;
  --sage-deep: #476a53;
  --sage-soft: #e2ede1;
  --lavender: #a695c8;
  --lavender-deep: #68568f;
  --lavender-soft: #eee8f8;
  --plum: #49314f;
  --plum-deep: #2f2033;
  --blush: #f4b6c8;
  --shadow: 0 20px 60px rgba(70,48,40,.14);
  --sans: "Nunito Sans", ui-rounded, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }
body { width: 100%; max-width: 100%; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 15px; border-radius: 20px; background: var(--peach); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.header { position: fixed; z-index: 50; top: 10px; left: 50%; display: grid; width: min(1180px,calc(100% - 28px)); height: 58px; min-height: 58px; align-items: center; grid-template-columns: 1fr auto 1fr; margin: 0; padding: 4px 10px 4px 16px; border: 1px solid rgba(232,221,212,.85); border-radius: 19px; background: rgba(255,253,251,.92); box-shadow: 0 8px 28px rgba(70,48,40,.08); backdrop-filter: blur(14px); transform: translateX(-50%); }
.logo { width: 82px; }
.logo img, footer img { width: 100%; height: auto; }
.logo img { width: auto; height: 38px; object-fit: contain; transform: scale(1.45); transform-origin: left center; }
.header nav { display: flex; gap: 22px; }
.header nav a { font-size: .77rem; font-weight: 900; text-decoration: none; }
.mini-cta { justify-self: end; padding: 8px 14px; border-radius: 999px; background: var(--plum); color: #fff; font-size: .72rem; font-weight: 900; text-decoration: none; }

.hero { position: relative; display: block; min-height: 0; padding: 112px max(5vw,30px) 50px; background: radial-gradient(circle at 15% 30%,rgba(253,227,207,.75),transparent 34%),linear-gradient(135deg,#fff9f2,#f6eff8); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; width: min(100%,1080px); margin-inline: auto; text-align: center; }
.eyebrow { margin: 0 0 18px; color: var(--peach-deep); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-sage { color: var(--sage-deep); }
.eyebrow-lavender { color: var(--lavender-deep); }
.eyebrow-peach { color: var(--peach-deep); }
.eyebrow-light { color: #f7c9a6; }
.hero h1, .section-title h2, .inside h2, .freebie h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.7rem,6.3vw,6.65rem); letter-spacing: -.065em; line-height: .88; }
.hero h1 em { color: var(--lavender-deep); font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { max-width: 620px; margin: 24px auto 0; color: var(--muted); font-size: clamp(1rem,1.2vw,1.18rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 999px; font-size: .74rem; font-weight: 900; text-decoration: none; }
.button-plum { background: var(--plum); color: #fff; }
.button-cream { border: 1px solid rgba(49,40,36,.13); background: var(--surface); color: var(--ink); }
.social-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 22px; }
.social-proof span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.65); color: var(--muted); font-size: .67rem; }
.social-proof strong { color: var(--ink); }
.hero-books { position: relative; width: min(100%,780px); min-height: 350px; margin: 18px auto 0; }
.hero-cloud { position: absolute; inset: 9% 2% 4%; border-radius: 45% 55% 48% 52%; background: linear-gradient(145deg,var(--peach-soft),var(--lavender-soft)); transform: rotate(-3deg); }
.floating-book { position: absolute; margin: 0; border: 7px solid #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; transition: transform .35s ease; }
.floating-book img { width: 100%; height: 100%; object-fit: contain; }
.floating-book-left { z-index: 1; top: 17%; left: 3%; width: 32%; aspect-ratio: 1; transform: rotate(-5deg); }
.floating-book-main { z-index: 3; top: 2%; left: 32%; width: 36%; aspect-ratio: 1; transform: rotate(1deg); }
.floating-book-right { z-index: 2; top: 17%; right: 3%; width: 32%; aspect-ratio: 1; transform: rotate(5deg); }
.floating-book-main span { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 7px 11px; border-radius: 999px; background: var(--plum); color: #fff; font-size: .6rem; font-weight: 900; text-transform: uppercase; }
.hero-doodle { position: absolute; color: var(--blush); font-family: var(--serif); font-size: 5rem; opacity: .45; }
.hero-doodle-one { top: 17%; left: 47%; transform: rotate(18deg); }
.hero-doodle-two { right: 2%; bottom: 3%; color: var(--sage); transform: rotate(-12deg); }

.benefit-bar { display: grid; grid-template-columns: repeat(4,1fr); padding: 0 max(3vw,18px); border-block: 1px solid var(--line); background: var(--surface); }
.benefit-bar span { display: flex; min-height: 72px; align-items: center; justify-content: center; padding: 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 900; text-align: center; text-transform: uppercase; }
.benefit-bar span:first-child { border-left: 0; }
.section { padding: clamp(62px,7vw,96px) max(4vw,20px); }
.section-title { max-width: 700px; }
.section-title.centered { margin-inline: auto; text-align: center; }
.section-title h2, .inside h2, .freebie h2 { font-size: clamp(3rem,5.2vw,5.7rem); }
.section-title > p:not(.eyebrow) { color: var(--muted); }

.discover { background: var(--surface); }
.mood-cards { display: grid; max-width: 1240px; gap: 13px; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 34px auto 0; }
.mood { display: flex; min-width: 0; flex-direction: column; gap: 0; padding: 10px; border: 0; border-radius: 24px; cursor: pointer; text-align: left; transition: transform .25s ease,box-shadow .25s ease; }
.mood:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.mood-art { display: block; width: 100%; aspect-ratio: 1; border: 4px solid rgba(255,255,255,.85); border-radius: 18px; background: rgba(255,255,255,.32); overflow: hidden; }
.mood-art img { width: 100%; height: 100%; object-fit: contain; }
.mood-copy { display: flex; flex: 1; flex-direction: column; padding: 14px 8px 8px; }
.mood small { color: var(--muted); font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.mood strong { margin: 7px 0 10px; font-family: var(--serif); font-size: clamp(1.2rem,1.7vw,1.75rem); line-height: 1; }
.mood em { font-size: .72rem; font-style: normal; font-weight: 900; }
.mood-lavender { background: var(--lavender-soft); }
.mood-peach { background: var(--peach-soft); }
.mood-sage { background: var(--sage-soft); }
.mood-blush { background: #f8dce5; }
.mood-cyber { background: #e6e0f4; }

.book-shelf { background: linear-gradient(180deg,var(--paper),#f8f2ec); }
.shelf-heading { display: flex; max-width: 1240px; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 0 auto 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-size: .68rem; font-weight: 900; }
.filter.is-active { border-color: var(--lavender-deep); background: var(--lavender-deep); color: #fff; }
.book-grid { display: grid; max-width: 1240px; gap: 16px; grid-template-columns: repeat(4,minmax(0,1fr)); margin-inline: auto; }
.book-card { display: flex; height: 100%; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 10px 28px rgba(70,48,40,.06); overflow: hidden; }
.book-cover { position: relative; aspect-ratio: 1; background: linear-gradient(145deg,var(--lavender-soft),var(--peach-soft)); }
.book-cover img { width: 100%; height: 100%; object-fit: contain; }
.book-cover span { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 9px; border-radius: 999px; background: var(--plum); color: #fff; font-size: .55rem; font-weight: 900; text-transform: uppercase; }
.book-info { display: flex; flex: 1; flex-direction: column; padding: 15px; }
.book-info > p { margin: 0 0 5px; color: var(--lavender-deep); font-size: .57rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.book-info h3 { margin: 0 0 13px; font-size: .9rem; line-height: 1.3; }
.book-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: auto; }
.book-actions-single { grid-template-columns: 1fr; }
.book-actions a { display: flex; min-height: 39px; align-items: center; justify-content: center; padding: 8px; border-radius: 12px; background: var(--lavender-deep); color: #fff; font-size: .65rem; font-weight: 900; text-decoration: none; }
.book-actions a:last-child { background: var(--peach-soft); color: var(--peach-deep); }
.shelf-footer { display: flex; max-width: 1240px; align-items: center; justify-content: space-between; gap: 25px; margin: 30px auto 0; }
.shelf-footer p { max-width: 480px; margin: 0; color: var(--muted); font-size: .8rem; }

.inside { display: grid; width: 100%; max-width: 100%; min-width: 0; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); background: var(--plum-deep); color: #fff; overflow: hidden; }
.inside > * { min-width: 0; }
.inside-intro { display: flex; width: 100%; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(55px,7vw,110px); }
.inside-intro > p:not(.eyebrow) { margin: 26px 0; color: rgba(255,255,255,.65); line-height: 1.7; }
.inside-facts { display: grid; grid-template-columns: repeat(3,1fr); margin: 5px 0 28px; border-block: 1px solid rgba(255,255,255,.15); }
.inside-facts div { display: flex; flex-direction: column; padding: 17px 13px; border-left: 1px solid rgba(255,255,255,.15); }
.inside-facts div:first-child { border-left: 0; padding-left: 0; }
.inside-facts strong { font-family: var(--serif); font-size: 1.1rem; }
.inside-facts span { color: rgba(255,255,255,.5); font-size: .58rem; font-weight: 900; text-transform: uppercase; }
.inside-buy { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.inside-buy a { display: flex; flex-direction: column; padding: 14px; border-radius: 14px; background: var(--lavender-deep); text-decoration: none; }
.inside-buy a:last-child { background: var(--peach); color: var(--ink); }
.inside-buy span { font-size: .63rem; font-weight: 900; }
.inside-buy strong { margin-top: 4px; font-family: var(--serif); font-size: 1.45rem; }
.inside-gallery { display: flex; width: 100%; max-width: 100%; min-width: 0; min-height: 680px; align-items: center; justify-content: center; padding: clamp(30px,4vw,58px); background: linear-gradient(145deg,#e7dff4,#f8d9c3); overflow: hidden; }
.inside-viewer { width: 100%; max-width: 680px; min-width: 0; overflow: hidden; }
.inside-preview { display: grid; min-height: 520px; place-items: center; padding: 20px; border: 8px solid #fff; border-radius: 24px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.inside-preview img { display: block; width: auto; max-width: 100%; height: auto; max-height: 500px; object-fit: contain; }
.inside-thumbs { display: flex; width: 100%; max-width: 100%; min-width: 0; gap: 9px; margin-top: 16px; padding: 4px 2px 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-color: rgba(73,49,79,.35) transparent; }
.inside-thumb { display: grid; width: 72px; height: 82px; flex: 0 0 72px; place-items: center; padding: 4px; border: 2px solid transparent; border-radius: 12px; background: rgba(255,255,255,.55); cursor: pointer; scroll-snap-align: start; transition: border-color .2s ease,background .2s ease,transform .2s ease; }
.inside-thumb:hover { transform: translateY(-2px); }
.inside-thumb img { width: 100%; height: 100%; object-fit: contain; }
.inside-thumb.is-active { border-color: var(--plum); background: #fff; box-shadow: 0 6px 16px rgba(70,48,40,.16); }

.bundles { background: var(--surface); }
.bundle-grid { display: grid; max-width: 1180px; gap: 18px; grid-template-columns: 1fr 1fr; margin: 32px auto 0; }
.bundle { display: grid; grid-template-columns: 1fr 1fr; border-radius: 32px; overflow: hidden; }
.bundle-image { padding: 18px; }
.bundle-image img { width: 100%; height: 100%; aspect-ratio: 1; border-radius: 22px; object-fit: contain; }
.bundle-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 30px; }
.bundle-copy p { margin: 0 0 10px; font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.bundle-copy h3 { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(1.8rem,3vw,3rem); line-height: .96; }
.bundle-spooky { background: var(--lavender-soft); }
.bundle-cozy { background: var(--sage-soft); }

.reviews { background: var(--paper); }
.review-grid { display: grid; max-width: 1180px; gap: 14px; grid-template-columns: repeat(4,1fr); margin: 32px auto 0; }
.review-grid figure { display: flex; min-height: 260px; flex-direction: column; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.review-grid figure:nth-child(2) { background: var(--lavender-soft); }
.review-grid figure:nth-child(3) { background: var(--peach-soft); }
.review-grid figure:nth-child(4) { background: var(--sage-soft); }
.review-grid figure > div { color: var(--peach-deep); letter-spacing: .08em; }
.review-grid blockquote { flex: 1; margin: 20px 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; }
.review-grid figcaption { display: flex; flex-direction: column; font-size: .72rem; font-weight: 900; }
.review-grid figcaption span { margin-top: 3px; color: var(--muted); font-size: .62rem; }

.freebie { position: relative; display: grid; min-height: 460px; place-items: center; padding: clamp(65px,8vw,105px) 20px; background: radial-gradient(circle at 15% 20%,rgba(244,182,200,.34),transparent 28%),radial-gradient(circle at 86% 76%,rgba(157,181,157,.28),transparent 25%),var(--lavender-deep); color: #fff; overflow: hidden; }
.freebie-decoration span { position: absolute; color: rgba(255,255,255,.13); font-family: var(--serif); font-size: clamp(5rem,12vw,10rem); }
.freebie-decoration span:first-child { top: 5%; left: 7%; transform: rotate(-12deg); }
.freebie-decoration span:nth-child(2) { right: 8%; bottom: 4%; transform: rotate(10deg); }
.freebie-decoration span:last-child { top: 15%; right: 22%; font-size: 4rem; }
.freebie-copy { position: relative; z-index: 1; display: flex; max-width: 760px; flex-direction: column; justify-content: center; align-items: center; padding: 0; text-align: center; }
.freebie-copy p:not(.eyebrow) { max-width: 560px; margin: 25px 0 30px; color: rgba(255,255,255,.72); line-height: 1.7; }
footer { display: grid; align-items: center; gap: 25px; grid-template-columns: 80px 1fr auto; padding: 38px max(4vw,20px); background: var(--plum-deep); color: #fff; }
footer p { margin: 0; color: rgba(255,255,255,.55); font-family: var(--serif); }
footer div { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { font-size: .68rem; font-weight: 900; text-decoration: none; }

.reveal-enabled .scroll-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .62s ease var(--reveal-delay,0ms), transform .62s cubic-bezier(.22,1,.36,1) var(--reveal-delay,0ms);
}
.reveal-enabled .scroll-reveal.is-revealed { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .header { grid-template-columns: auto minmax(0,1fr) auto; }
  .header nav { justify-content: center; gap: 16px; overflow-x: auto; scrollbar-width: none; }
  .header nav::-webkit-scrollbar { display: none; }
  .header nav a { flex: 0 0 auto; font-size: .69rem; }
  .hero { grid-template-columns: 1fr; padding-top: 118px; }
  .hero-copy { max-width: 900px; margin-inline: auto; text-align: center; }
  .hero-copy > p:not(.eyebrow) { margin-inline: auto; }
  .hero-actions,.social-proof { justify-content: center; }
  .hero-books { width: min(760px,100%); margin: 18px auto 0; }
  .mood-cards { width: 100%; max-width: 900px; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 34px auto 0; }
  .book-grid { grid-template-columns: repeat(3,1fr); }
  .inside { grid-template-columns: minmax(0,1fr); }
  .inside-gallery { min-height: 650px; }
  .bundle-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .header { top: 6px; width: calc(100% - 16px); height: 62px; min-height: 62px; grid-template-areas: "logo cta" "nav nav"; grid-template-columns: 1fr auto; gap: 2px 10px; margin: 0; padding: 4px 9px 3px; border-radius: 17px; }
  .logo { grid-area: logo; }
  .logo { width: 72px; }
  .logo img { height: 33px; }
  .mini-cta { grid-area: cta; padding: 6px 11px; font-size: .64rem; }
  .header nav { grid-area: nav; justify-content: space-between; width: 100%; gap: 8px; padding: 4px 3px 0; border-top: 1px solid var(--line); }
  .header nav a { font-size: .61rem; }
  .hero { min-height: 0; padding: 101px 18px 36px; }
  .hero h1 { font-size: clamp(3.1rem,15vw,4.5rem); }
  .hero-copy > p:not(.eyebrow) { font-size: .96rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .social-proof { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 21px; }
  .social-proof span { padding: 8px 4px; text-align: center; }
  .hero-books { min-height: 245px; margin-top: 17px; }
  .floating-book { border-width: 4px; border-radius: 14px; }
  .floating-book-main { top: 3%; left: 30%; width: 40%; }
  .floating-book-left { top: 22%; left: 2%; width: 34%; }
  .floating-book-right { top: 22%; right: 2%; width: 34%; }
  .benefit-bar { grid-template-columns: 1fr 1fr; padding: 0; }
  .benefit-bar span { min-height: 58px; border-bottom: 1px solid var(--line); font-size: .58rem; }
  .benefit-bar span:nth-child(odd) { border-left: 0; }
  .section { padding: 56px 16px; }
  .section-title h2,.inside h2,.freebie h2 { font-size: 3.35rem; }
  .mood-cards { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 30px auto 0; padding: 0; overflow: visible; }
  .mood { padding: 7px; border-radius: 21px; }
  .mood-art { border-width: 3px; border-radius: 15px; }
  .mood-copy { padding: 10px 5px 6px; }
  .mood small { font-size: .5rem; }
  .mood strong { margin: 5px 0 7px; font-size: 1.05rem; }
  .mood em { font-size: .6rem; }
  .mood:last-child { display: grid; grid-column: 1 / -1; grid-template-columns: 110px minmax(0,1fr); align-items: center; }
  .mood:last-child .mood-copy { padding: 10px 14px; }
  .shelf-heading { align-items: flex-start; flex-direction: column; }
  .filters { display: grid; width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; overflow: visible; padding-bottom: 0; }
  .filter { padding: 9px 5px; font-size: .59rem; }
  .book-grid { gap: 11px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .book-card { border-radius: 17px; }
  .book-info { padding: 12px; }
  .book-info h3 { font-size: .8rem; }
  .shelf-footer { align-items: flex-start; flex-direction: column; }
  .inside-intro { padding: 58px 18px; }
  .inside-facts span { font-size: .48rem; }
  .inside-gallery { min-height: 0; padding: 28px 16px; }
  .inside-preview { min-height: 420px; padding: 12px; border-width: 5px; border-radius: 18px; }
  .inside-preview img { max-height: 390px; }
  .inside-thumb { width: 62px; height: 72px; flex-basis: 62px; }
  .bundle { grid-template-columns: 1fr; }
  .bundle-copy { padding: 25px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid figure { min-height: 220px; }
  .freebie { min-height: 410px; padding: 62px 18px; }
  footer { grid-template-columns: 70px 1fr; }
  footer div { grid-column: 1 / 3; }
  .reveal-enabled .scroll-reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 380px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-actions { grid-template-columns: repeat(2,1fr); }
  .book-actions-single { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; }
}
