/* =====================================================
   Crochet Master — Landing Page Styles  (v2, mobile-first)
   ===================================================== */
:root {
  --terracotta: #d96c47;
  --terracotta-dark: #b9502e;
  --rose: #e8a08a;
  --plum: #3e2723;
  --plum-soft: #6d4c41;
  --cream: #fdf6ee;
  --cream-dark: #f6e9da;
  --sage: #8aa17c;
  --gold: #e6a817;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(62, 39, 35, 0.12);
  --shadow-lg: 0 24px 60px rgba(62, 39, 35, 0.18);
  --radius: 22px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--plum);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container--narrow { width: min(780px, 92%); }
.only-desktop { display: none; }
@media (min-width: 720px) { .only-desktop { display: inline; } }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; }
h2 { font-size: clamp(1.75rem, 5vw, 2.8rem); }
h2 em, h1 em { color: var(--terracotta); font-style: italic; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 800; border-radius: 999px;
  padding: .9rem 1.7rem; font-size: 1rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn--primary {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: var(--white); box-shadow: 0 10px 24px rgba(217, 108, 71, .4);
}
.btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 34px rgba(217, 108, 71, .5); }
.btn--ghost { background: transparent; border-color: var(--plum); color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: var(--cream); transform: translateY(-3px); }
.btn--light { background: var(--cream); color: var(--terracotta-dark); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.btn--light:hover { transform: translateY(-3px) scale(1.02); }
.btn--big { padding: 1.05rem 2.1rem; font-size: 1.06rem; }
.btn--small { padding: .6rem 1.2rem; font-size: .88rem; }
.btn__arrow { transition: transform .25s ease; }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--amazon {
  background: #232f3e; color: #ffffff; width: 100%;
  padding: .65rem 1rem; font-size: .86rem; border-radius: 12px; gap: .45rem;
}
.btn--amazon:hover { background: #37475a; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(35,47,62,.35); }
.btn--amazon .btn__a { color: #ff9900; font-weight: 900; }

/* ===== SVG icons =====
   Each <symbol> carries its own fill/stroke presentation attributes, so the
   base class only sizes the icon — never set fill/stroke here or it would
   override (and hide) the referenced symbols. */
.ico {
  width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.18em;
  flex-shrink: 0;
}
.ico--heart { color: var(--terracotta); width: 1em; height: 1em; }

/* ===== Top bar (infinite slider) ===== */
.topbar {
  background: var(--plum); color: var(--cream); overflow: hidden;
  font-size: .84rem; letter-spacing: .02em;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.topbar__track { display: flex; width: max-content; animation: topbarSlide 32s linear infinite; }
.topbar:hover .topbar__track { animation-play-state: paused; }
.topbar__group { display: flex; align-items: center; flex-shrink: 0; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.4rem; white-space: nowrap; }
.topbar__item .ico { color: var(--gold); }
.topbar__item strong { color: var(--gold); }
.topbar__sep { color: var(--gold); opacity: .5; font-size: .7rem; }
@keyframes topbarSlide { to { transform: translateX(-50%); } }

/* ===== Logo ===== */
.logo { display: flex; align-items: center; gap: .6rem; }
.logo__mark { width: 44px; height: 44px; flex-shrink: 0; transition: transform .5s cubic-bezier(.2,.7,.3,1.4); }
.logo:hover .logo__mark { transform: rotate(-14deg) scale(1.08); }
.logo__word {
  font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1;
  display: flex; flex-direction: column;
}
.logo__word b { font-weight: 700; color: var(--terracotta); }
.logo__word small {
  font-family: var(--font-body); font-size: .58rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--plum-soft); margin-top: .3rem;
}
.logo--footer .logo__word { color: var(--cream); }
.logo--footer .logo__word b { color: var(--gold); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 246, 238, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s ease;
}
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(62, 39, 35, .1); }
.nav__inner { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; }
.nav__links { display: none; gap: 1.6rem; margin-left: auto; font-weight: 700; font-size: .95rem; }
.nav__links a { position: relative; padding: .35rem 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2.5px; width: 0;
  background: var(--terracotta); border-radius: 2px; transition: width .3s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.nav__cta { padding: .55rem 1.1rem; font-size: .9rem; white-space: nowrap; gap: .35rem; }
.nav__cta .ico { width: 1em; height: 1em; }
.nav__burger {
  display: flex; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav__burger span { width: 24px; height: 3px; background: var(--plum); border-radius: 2px; transition: .3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__actions { margin-left: 1.2rem; }
  .nav__burger { display: none; }
}
/* Compact CTA + hide logo tagline on small screens to prevent wrapping */
@media (max-width: 560px) {
  .logo__word small { display: none; }
  .logo__word { font-size: 1.15rem; }
  .logo__mark { width: 38px; height: 38px; }
  .nav__cta { padding: .5rem .8rem; }
}
@media (max-width: 380px) {
  .nav__cta-txt { display: none; }         /* icon-only unlock button on tiny phones */
  .nav__cta { padding: .5rem .65rem; }
}
@media (max-width: 899.98px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; padding: 1.3rem 6% 1.6rem;
    box-shadow: 0 20px 30px rgba(62,39,35,.15); gap: .2rem;
    display: flex; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav__links a { padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--cream-dark); }
  .nav__links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

/* ===== Hero ===== */
.hero {
  position: relative; padding: 3rem 0 6rem; overflow: hidden;
  background: linear-gradient(160deg, #fbeadd 0%, var(--cream) 55%, #f9e3d3 100%);
}
.hero__inner {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
  position: relative; z-index: 2; text-align: center;
}
.hero__content { display: flex; flex-direction: column; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 7rem; }
  .hero__inner { grid-template-columns: 1.12fr .88fr; text-align: left; }
  .hero__content { align-items: flex-start; }
}

.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); border: 1.5px solid var(--cream-dark);
  padding: .45rem 1.1rem; border-radius: 999px; font-weight: 800; font-size: .8rem;
  box-shadow: var(--shadow); margin-bottom: 1.3rem;
}
.badge--free { color: var(--terracotta-dark); }
.badge__pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #4caf50; position: relative; flex-shrink: 0;
}
.badge__pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #4caf50; animation: pulseRing 1.8s ease-out infinite;
}
@keyframes pulseRing { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

.hero h1 { font-size: clamp(2.3rem, 7vw, 4rem); margin-bottom: 1.1rem; letter-spacing: -.01em; }
.hero__sub { font-size: clamp(1rem, 2.6vw, 1.15rem); color: var(--plum-soft); max-width: 34rem; margin-bottom: 1.9rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; justify-content: center; }
@media (min-width: 900px) { .hero__cta { justify-content: flex-start; } }
.hero__trust { display: flex; align-items: center; gap: .9rem; color: var(--plum-soft); font-size: .92rem; text-align: left; }
.hero__avatars { display: flex; }
.hero__avatars img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--cream); margin-left: -12px; box-shadow: 0 4px 10px rgba(62,39,35,.18);
  background: var(--cream-dark);
}
.hero__avatars img:first-child { margin-left: 0; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }

/* floating blobs + crochet stitch texture */
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: blobMove 16s ease-in-out infinite alternate; }
.hero__blob--1 { width: 420px; height: 420px; background: #f3c1a0; top: -120px; left: -120px; }
.hero__blob--2 { width: 360px; height: 360px; background: #e9b7c9; bottom: -100px; right: 8%; animation-delay: -5s; }
.hero__blob--3 { width: 280px; height: 280px; background: #cfe0c3; top: 20%; right: -90px; animation-delay: -9s; }
@keyframes blobMove { from { transform: translate(0,0) scale(1); } to { transform: translate(50px, 35px) scale(1.15); } }
.hero__stitch {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(rgba(217,108,71,.18) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

/* book fan (hero visual) */
.hero__visual { perspective: 1100px; }
.book-fan { position: relative; height: 340px; max-width: 420px; margin-inline: auto; transform-style: preserve-3d; transition: transform .2s ease-out; }
.book-fan__img {
  position: absolute; width: 46%; max-width: 190px; border-radius: 10px;
  box-shadow: var(--shadow-lg); transition: transform .4s ease, box-shadow .4s ease;
}
.book-fan__img--1 { top: 4%; left: 2%; transform: rotate(-10deg); z-index: 4; animation: floaty 6s ease-in-out infinite; }
.book-fan__img--2 { top: 0; left: 30%; transform: rotate(-2deg); z-index: 3; animation: floaty 7s ease-in-out infinite; animation-delay: -2s; }
.book-fan__img--3 { top: 6%; right: 0; transform: rotate(9deg); z-index: 2; animation: floaty 8s ease-in-out infinite; animation-delay: -4s; }
.book-fan__img--4 { top: 34%; left: 17%; transform: rotate(4deg); z-index: 1; opacity: .92; animation: floaty 9s ease-in-out infinite; animation-delay: -6s; }
.book-fan__img:hover { transform: rotate(0) scale(1.08) !important; z-index: 6; box-shadow: 0 30px 60px rgba(62,39,35,.3); }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, -4deg)); } 50% { transform: translateY(-16px) rotate(var(--r, -4deg)); } }
.book-fan__img--1 { --r: -10deg; } .book-fan__img--2 { --r: -2deg; }
.book-fan__img--3 { --r: 9deg; } .book-fan__img--4 { --r: 4deg; }
.book-fan__tag {
  position: absolute; right: 2%; bottom: 6%; z-index: 5;
  background: var(--gold); color: var(--plum); text-align: center;
  border-radius: 50%; width: 104px; height: 104px; display: grid; place-content: center;
  line-height: 1.05; box-shadow: var(--shadow); transform: rotate(10deg);
  animation: pulseTag 2.4s ease-in-out infinite;
}
.book-fan__tag b { font-size: 1.5rem; font-weight: 900; letter-spacing: .02em; }
.book-fan__tag span { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
@keyframes pulseTag { 0%,100% { transform: scale(1) rotate(10deg); } 50% { transform: scale(1.09) rotate(10deg); } }

/* scroll hint */
.hero__scroll {
  position: absolute; bottom: 84px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 28px; height: 46px; border: 2.5px solid var(--plum-soft); border-radius: 999px;
  display: none; justify-content: center; padding-top: 8px; opacity: .55;
}
@media (min-width: 900px) { .hero__scroll { display: flex; } }
.hero__scroll-dot { width: 5px; height: 9px; background: var(--plum-soft); border-radius: 3px; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 2; }
.hero__wave svg { display: block; width: 100%; height: 56px; }
@media (min-width: 900px) { .hero__wave svg { height: 70px; } }

/* ===== Stats ===== */
.stats { padding: 2.2rem 0 .6rem; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; text-align: center; }
@media (min-width: 720px) { .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; } }
.stat { background: var(--white); border-radius: var(--radius); padding: 1.4rem .8rem; box-shadow: var(--shadow); }
.stat__num { font-family: var(--font-display); font-size: clamp(1.7rem, 5vw, 2.3rem); font-weight: 700; color: var(--terracotta); display: block; }
.stat__num--free { color: var(--sage); }
.stat__label { font-size: .85rem; color: var(--plum-soft); font-weight: 700; }
.stat__label .ico--heart { vertical-align: -0.12em; }

/* ===== Marquee ===== */
.marquee { overflow: hidden; padding: 2.6rem 0 1.8rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1.3rem; width: max-content; animation: scrollX 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 120px; border-radius: 8px; box-shadow: 0 8px 20px rgba(62,39,35,.18); transition: transform .3s ease; }
@media (min-width: 720px) { .marquee__track img { height: 150px; } }
.marquee__track img:hover { transform: translateY(-8px) scale(1.05); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.6rem; }
.section-head p { color: var(--plum-soft); margin-top: .9rem; font-size: 1.02rem; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-weight: 800;
  font-size: .74rem; color: var(--terracotta); background: rgba(217,108,71,.1);
  padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow--light { color: var(--gold); background: rgba(255,255,255,.12); }

/* ===== Books grid ===== */
.books { padding: 3.6rem 0 4.2rem; background: var(--cream-dark); border-radius: 44px 44px 0 0; }
.books__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (min-width: 640px) { .books__grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }
@media (min-width: 980px) { .books__grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.book-card {
  background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease; position: relative;
  display: flex; flex-direction: column;
}
.book-card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.book-card__rank {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--plum); color: var(--gold); font-weight: 800; font-size: .72rem;
  padding: .22rem .65rem; border-radius: 999px;
}
.book-card__bestseller {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--gold); color: var(--plum); font-weight: 800; font-size: .66rem;
  padding: .22rem .55rem; border-radius: 999px;
}
.book-card__imgwrap { background: linear-gradient(160deg, #f8ecdf, #f1dcc8); padding: 1.2rem 1.2rem .9rem; display: grid; place-items: center; }
.book-card__imgwrap img {
  height: 150px; width: auto; max-width: 100%; object-fit: contain;
  border-radius: 6px; box-shadow: 0 10px 22px rgba(62,39,35,.25);
  transition: transform .35s ease;
}
@media (min-width: 640px) { .book-card__imgwrap img { height: 185px; } }
.book-card:hover .book-card__imgwrap img { transform: scale(1.07) rotate(1.5deg); }
.book-card__body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.book-card__title { font-family: var(--font-display); font-size: .95rem; font-weight: 600; line-height: 1.28; }
.book-card__author { font-size: .8rem; color: var(--plum-soft); }
.book-card__meta { display: flex; align-items: center; gap: .4rem; padding: .35rem 0 .5rem; }
.book-card__stars { color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.book-card__rating { font-size: .78rem; color: var(--plum-soft); font-weight: 800; }
.book-card__pricing {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .55rem;
  margin: auto 0 .8rem; padding-top: .3rem;
}
.book-card__orig { color: #b5a49b; text-decoration: line-through; font-weight: 700; font-size: .92rem; }
.book-card__now { color: var(--sage); font-weight: 900; font-size: 1.05rem; letter-spacing: .02em; }
.book-card__save {
  flex-basis: 100%; font-size: .74rem; font-weight: 800; color: var(--terracotta-dark);
  background: rgba(217,108,71,.1); padding: .2rem .5rem; border-radius: 6px; align-self: flex-start;
}

/* Value banner */
.value-banner {
  text-align: center; margin-top: 2.8rem; background: var(--white);
  border: 2px dashed var(--terracotta); border-radius: var(--radius);
  padding: 2rem 1.4rem; max-width: 460px; margin-inline: auto; box-shadow: var(--shadow);
}
.value-banner__row { display: flex; justify-content: center; align-items: baseline; gap: .6rem; }
.value-banner__label { color: var(--plum-soft); font-weight: 700; }
.value-banner__old { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #b5a49b; text-decoration: line-through; }
.value-banner__arrow { color: var(--terracotta); font-size: 1.3rem; margin: .2rem 0; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(5px);} }
.value-banner__free { display: flex; flex-direction: column; gap: .1rem; margin-bottom: .4rem; }
.value-banner__free-price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--sage); line-height: 1; }
.value-banner__free-tag { font-weight: 800; color: var(--terracotta-dark); font-size: .95rem; }
.value-banner__save { margin-bottom: 1.3rem; font-size: 1rem; }
.value-banner__save strong { color: var(--terracotta); font-size: 1.15rem; }

/* ===== Free bundle section ===== */
.bundle { padding: 4.2rem 0; background: linear-gradient(155deg, var(--plum) 0%, #55322b 100%); }
.bundle__card {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
  color: var(--cream);
}
@media (min-width: 900px) { .bundle__card { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.bundle__left h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); margin-bottom: 1rem; }
.bundle__left h2 em { color: var(--gold); }
.bundle__desc { color: rgba(253,246,238,.8); margin-bottom: 1.8rem; max-width: 32rem; }
.bundle__list { list-style: none; display: grid; gap: .95rem; margin-bottom: 2rem; }
.bundle__list li {
  display: flex; gap: .9rem; align-items: flex-start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  padding: .85rem 1.1rem; border-radius: 14px;
  transition: background .25s ease, transform .25s ease;
}
.bundle__list li:hover { background: rgba(255,255,255,.11); transform: translateX(6px); }
.bundle__ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(230,168,23,.16); color: var(--gold);
  display: grid; place-items: center;
}
.bundle__ico .ico { width: 22px; height: 22px; stroke: currentColor; }
.bundle__list strong { display: block; font-size: .98rem; }
.bundle__list small { color: rgba(253,246,238,.65); font-size: .82rem; }
.bundle__note { margin-top: 1rem; font-size: .85rem; color: rgba(253,246,238,.75); font-weight: 700; }
.btn--full-mobile { width: 100%; }
@media (min-width: 640px) { .btn--full-mobile { width: auto; } }

/* gift visual */
.bundle__right { display: none; }
@media (min-width: 900px) { .bundle__right { display: block; } }
.bundle__gift { position: relative; height: 360px; display: grid; place-items: center; }
.bundle__gift-box {
  width: 150px; height: 150px; color: var(--gold); z-index: 2;
  animation: giftBounce 2.8s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35));
}
@keyframes giftBounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  40% { transform: translateY(-24px) rotate(3deg); }
  60% { transform: translateY(-10px) rotate(-1deg); }
}
.bundle__spark { position: absolute; width: 30px; height: 30px; color: var(--gold); animation: sparkle 2.2s ease-in-out infinite; z-index: 3; }
.bundle__spark--3 { color: var(--terracotta); }
.bundle__spark--1 { top: 16%; left: 22%; }
.bundle__spark--2 { bottom: 20%; right: 18%; animation-delay: -.8s; }
.bundle__spark--3 { top: 26%; right: 26%; animation-delay: -1.4s; }
@keyframes sparkle { 0%,100% { opacity: .2; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
.bundle__ring {
  position: absolute; width: 250px; height: 250px; border-radius: 50%;
  border: 2px dashed rgba(230,168,23,.4); animation: ringSpin 22s linear infinite;
}
.bundle__ring--2 { width: 330px; height: 330px; border-color: rgba(253,246,238,.15); animation-duration: 34s; animation-direction: reverse; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* ===== Reviews ===== */
.reviews { padding: 4.2rem 0; }
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }
.review {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow); transition: transform .35s ease;
}
.review:hover { transform: translateY(-8px) rotate(.5deg); }
.review blockquote { font-size: .98rem; color: var(--plum-soft); margin: .9rem 0 1.3rem; font-style: italic; }
.review figcaption { display: flex; align-items: center; gap: .8rem; }
.review__avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--cream-dark); box-shadow: 0 4px 10px rgba(62,39,35,.15);
}
.review figcaption span:not(.review__avatar) { display: block; font-size: .82rem; color: var(--plum-soft); }

/* ===== FAQ ===== */
.faq { padding: 3.4rem 0 4.4rem; }
.faq__list { display: grid; gap: .9rem; }
.faq__item { background: var(--white); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .3s ease; }
.faq__item summary {
  cursor: pointer; list-style: none; font-weight: 800; font-size: 1rem;
  padding: 1.2rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  font-size: 1.4rem; color: var(--terracotta); transition: transform .3s ease;
  flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center;
  background: rgba(217,108,71,.1); border-radius: 50%;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { padding: 0 1.4rem 1.3rem; color: var(--plum-soft); animation: fadeSlide .4s ease; }
.faq__item[open] { box-shadow: var(--shadow-lg); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ===== CTA ===== */
.cta {
  position: relative; padding: 4.6rem 0; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%); color: var(--white);
}
.cta h2 { font-size: clamp(1.9rem, 5vw, 3rem); margin-bottom: 1rem; }
.cta h2 em { color: #ffe3a3; }
.cta p { font-size: 1.1rem; opacity: .92; margin-bottom: 1.8rem; }
.cta__note { display: block; margin-top: 1.2rem; font-size: .86rem; opacity: .85; }
.cta h2 .cta__gift { width: 1em; height: 1em; color: #ffe3a3; vertical-align: -0.1em; }
.cta__yarn { position: absolute; width: 120px; height: 120px; color: #fff; opacity: .14; animation: floaty 9s ease-in-out infinite; }
.cta__yarn--1 { top: -20px; left: 4%; }
.cta__yarn--2 { bottom: -30px; right: 5%; animation-delay: -4s; }

/* ===== Footer ===== */
.footer { background: var(--plum); color: rgba(253,246,238,.8); padding: 2.8rem 0 5.5rem; text-align: center; }
@media (min-width: 720px) { .footer { padding-bottom: 2rem; } }
.footer__inner { display: grid; gap: 1rem; justify-items: center; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; font-weight: 700; font-size: .92rem; }
.footer__links a:hover { color: var(--gold); }
.footer__legal { font-size: .76rem; opacity: .6; max-width: 42rem; }

/* ===== Mobile sticky CTA ===== */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: #fff; font-weight: 900; text-align: center; padding: 1rem;
  border-radius: 999px; box-shadow: 0 12px 30px rgba(185,80,46,.5);
  transform: translateY(120%); transition: transform .35s cubic-bezier(.2,.7,.3,1);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.mobile-cta .ico { width: 1.1em; height: 1.1em; }
.mobile-cta.is-visible { transform: translateY(0); }
@media (min-width: 720px) { .mobile-cta { display: none; } }

/* ===== Back to top ===== */
.to-top {
  position: fixed; bottom: 84px; right: 18px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--plum); color: #fff; font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease; z-index: 90;
}
@media (min-width: 720px) { .to-top { bottom: 26px; right: 26px; background: var(--terracotta); } }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--terracotta-dark); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay { transition-delay: .18s; }
.books__grid .reveal:nth-child(3n+2) { transition-delay: .1s; }
.books__grid .reveal:nth-child(3n+3) { transition-delay: .2s; }

/* ===== Unlock / verification modal ===== */
.um {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 1rem;
}
.um.is-open { display: flex; }
.um__backdrop {
  position: absolute; inset: 0; background: rgba(35, 22, 18, .72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: umFade .3s ease;
}
@keyframes umFade { from { opacity: 0; } to { opacity: 1; } }
.um__panel {
  position: relative; z-index: 2; width: min(440px, 100%);
  background: var(--cream); border-radius: 26px; padding: 2.4rem 1.8rem 2rem;
  box-shadow: 0 40px 90px rgba(0,0,0,.5); text-align: center;
  animation: umPop .45s cubic-bezier(.2,.8,.3,1.2);
  max-height: 92vh; overflow-y: auto;
}
@keyframes umPop { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
.um__close {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0;
  background: rgba(62,39,35,.08); color: var(--plum); border-radius: 50%; font-size: 1rem;
  cursor: pointer; transition: background .2s ease;
}
.um__close:hover { background: rgba(62,39,35,.18); }
.um__title { font-size: 1.5rem; margin-bottom: .5rem; }

/* loading step */
.um__ring { position: relative; width: 118px; height: 118px; margin: 0 auto 1.5rem; }
/* soft pulsing glow behind the ring */
.um__ring::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,108,71,.35), transparent 68%);
  animation: umGlow 2.4s ease-in-out infinite;
}
@keyframes umGlow { 0%,100% { transform: scale(.85); opacity: .5; } 50% { transform: scale(1.08); opacity: 1; } }
.um__ring-svg { position: relative; width: 100%; height: 100%; display: block; }
.um__ring-track { fill: none; stroke: var(--cream-dark); stroke-width: 7; }
/* main gradient arc — smooth continuous spin */
.um__ring-arc {
  fill: none; stroke: url(#umArc); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 150 300;
  transform-box: fill-box; transform-origin: center;
  animation: umSpin 1.15s cubic-bezier(.6,.15,.4,.85) infinite;
}
/* inner dashed ring — counter-rotates slowly */
.um__ring-dash {
  fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 2 9; opacity: .55;
  transform-box: fill-box; transform-origin: center;
  animation: umSpinRev 7s linear infinite;
}
@keyframes umSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes umSpinRev { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
/* center yarn ball — winds slowly with a gentle breathing scale */
.um__ring-ball {
  position: absolute; inset: 0; margin: auto; width: 46px; height: 46px;
  color: var(--terracotta); display: grid; place-items: center;
  animation: umWind 5s linear infinite;
}
.um__ring-ball svg { width: 100%; height: 100%; }
@keyframes umWind { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* status text + animated dots */
.um__status { color: var(--plum-soft); font-weight: 700; min-height: 1.5em; margin-bottom: 1.2rem; }
.um__dots { display: inline-flex; gap: 3px; margin-left: 3px; }
.um__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--terracotta); display: inline-block; animation: umDot 1.2s ease-in-out infinite; }
.um__dots i:nth-child(2) { animation-delay: .2s; }
.um__dots i:nth-child(3) { animation-delay: .4s; }
@keyframes umDot { 0%,100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* progress bar with moving shimmer + glowing tip */
.um__bar { position: relative; height: 12px; background: var(--cream-dark); border-radius: 999px; overflow: hidden; box-shadow: inset 0 1px 3px rgba(62,39,35,.12); }
.um__bar-fill {
  position: relative; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  box-shadow: 0 0 10px rgba(217,108,71,.6); transition: width .28s ease;
}
.um__bar-fill::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  background-size: 60% 100%; background-repeat: no-repeat;
  animation: umShimmer 1.1s linear infinite;
}
@keyframes umShimmer { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.um__pct { display: inline-block; margin-top: .6rem; font-weight: 900; color: var(--terracotta-dark); font-size: 1.15rem; letter-spacing: .01em; }
.um__hint {
  font-size: .8rem; line-height: 1.45; color: var(--plum-soft); margin: 1rem auto 0;
  display: flex; align-items: flex-start; gap: .4rem; justify-content: center;
  text-align: center; max-width: 30ch;
}
.um__hint .ico { width: 1em; height: 1em; margin-top: .2em; flex-shrink: 0; }
/* tighter, roomier popup on small phones */
@media (max-width: 420px) {
  .um { padding: .75rem; }
  .um__panel { padding: 2rem 1.15rem 1.5rem; border-radius: 20px; }
  .um__title { font-size: 1.3rem; }
  .um__hint { font-size: .82rem; max-width: 26ch; }
}

/* verify step */
.um__shield { width: 64px; height: 64px; margin: 0 auto .6rem; color: var(--sage); animation: giftBounce 2.6s ease-in-out infinite; }
.um__shield svg { width: 100%; height: 100%; }
.um__flag {
  display: inline-flex; align-items: center; gap: .35rem; background: #fdecec; color: #c0392b;
  font-weight: 800; font-size: .8rem; padding: .35rem 1rem; border-radius: 999px;
  margin-bottom: .9rem; border: 1px solid #f5c6c6;
}
.um__flag .ico { width: 1em; height: 1em; }
.um__verify-text { color: var(--plum-soft); font-size: .96rem; margin-bottom: 1.1rem; }
.um__verify-text strong { color: var(--terracotta-dark); }
.um__checklist { list-style: none; text-align: left; display: grid; gap: .5rem; margin: 0 auto 1.4rem; max-width: 280px; font-weight: 700; font-size: .95rem; }
.um__checklist li { display: flex; align-items: center; gap: .5rem; }
.um__checklist .ico { color: var(--sage); width: 1.15em; height: 1.15em; }
.um__checklist b { color: var(--sage); }
.um__verify-btn {
  width: 100%; border: 0; cursor: pointer; font-family: var(--font-body); font-weight: 900;
  font-size: 1.08rem; color: #fff; padding: 1.05rem 1.4rem; border-radius: 999px;
  background: linear-gradient(135deg, #4caf50, #2e9e50);
  box-shadow: 0 12px 26px rgba(46,158,80,.45);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  transition: transform .2s ease, box-shadow .2s ease; animation: verifyPulse 1.8s ease-in-out infinite;
}
.um__verify-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 34px rgba(46,158,80,.55); }
.um__verify-btn.is-loading { animation: none; background: var(--plum-soft); box-shadow: none; cursor: default; }
@keyframes verifyPulse { 0%,100% { box-shadow: 0 12px 26px rgba(46,158,80,.45); } 50% { box-shadow: 0 12px 26px rgba(46,158,80,.75), 0 0 0 6px rgba(76,175,80,.12); } }
.um__spinner {
  width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; display: inline-block; animation: umSpin360 .7s linear infinite;
}
@keyframes umSpin360 { to { transform: rotate(360deg); } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .mobile-cta { transform: none; }
  .um__bar-fill { transition: width .28s ease !important; }
}
