/* ==========================================================================
   Creator Guides storefront draft
   Layout rhythm inspired by Lemonade (bold typographic promise, airy
   product cards, persistent CTA) and Evian (editorial colour fields,
   chapter-by-chapter scroll journey, generous whitespace).
   ========================================================================== */

:root {
  --cream: #ffffff;
  --cream-deep: #f3f4f6;
  --paper: #ffffff;
  --blush: #f5f6f7;
  --stone: #eceeef;
  --bg: #ffffff;
  --bg-alt: #f5f6f7;
  --bg-tint: #f3f5f8;
  --ink: #1a1714;
  --ink-soft: #4a433c;
  --muted: #7a7268;
  --navy: #152039;
  --navy-deep: #0e1728;
  --gold: #9a7348;
  --gold-soft: #c4a574;
  --line: rgba(26, 23, 20, 0.1);
  --line-strong: rgba(26, 23, 20, 0.18);
  --shadow: 0 16px 40px rgba(21, 32, 57, 0.07);
  --shadow-soft: 0 8px 24px rgba(21, 32, 57, 0.05);
  --radius: 20px;
  --radius-sm: 14px;
  --header-h: 60px;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: 1.5rem;
  --max: 42rem;
  --max-wide: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
  scroll-padding-bottom: 6.5rem;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
  margin-left: auto;
}

.icon-btn:focus-visible,
.btn:focus-visible,
.faq-q:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.burger {
  width: 18px;
  height: 12px;
  display: block;
  position: relative;
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.burger span { top: 50%; transform: translateY(-50%); }
.burger::before { top: 0; }
.burger::after { bottom: 0; }

body.nav-open .burger span { opacity: 0; }
body.nav-open .burger::before { transform: translateY(5.25px) rotate(45deg); }
body.nav-open .burger::after { transform: translateY(-5.25px) rotate(-45deg); }

/* ----- Nav overlay ----- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) var(--pad) 3.5rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

body.nav-open .nav-overlay {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav-overlay a {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--ink);
  padding: 1.3rem 0.5rem;
  border-bottom: 1px solid var(--line);
  display: block;
  width: min(100%, 18rem);
  line-height: 1.2;
  transition: color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
}

.nav-overlay a:last-of-type { border-bottom: 0; }

.nav-overlay a:hover,
.nav-overlay a:focus-visible {
  color: var(--gold);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-primary {
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 10px 28px rgba(21, 32, 57, 0.22);
}

.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover { background: color-mix(in srgb, var(--paper) 70%, transparent); }

.btn-gold {
  background: var(--gold);
  color: var(--paper);
  box-shadow: 0 10px 28px rgba(154, 115, 72, 0.28);
}

.btn-gold:hover { background: #845f36; transform: translateY(-1px); }

.btn-block { width: 100%; }

/* ----- Reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ----- Shared layout ----- */
.section {
  padding: 5rem var(--pad);
  position: relative;
}

.section-tight { padding-top: 3.5rem; padding-bottom: 3.5rem; }

.kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.center { text-align: center; }
.wrap { max-width: var(--max); margin: 0 auto; }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem var(--pad) 2.75rem;
  overflow-x: hidden;
}

.hero h1 {
  font-size: clamp(2.15rem, 9.2vw, 3.25rem);
  font-weight: 500;
  max-width: 12.5em;
  margin: 0 auto;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.hero-title {
  width: 100%;
  max-width: 20rem;
}

.hero-title-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
}

.hero-title-fixed {
  display: block;
}

.hero-rotator {
  position: relative;
  display: block;
  width: 100%;
}

.hero-rotator-sizer {
  visibility: hidden;
  display: grid;
  justify-items: center;
  pointer-events: none;
}

.hero-rotator-sizer span {
  grid-area: 1 / 1;
  white-space: nowrap;
}

.hero-rotator-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-rotator-word {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  white-space: nowrap;
  will-change: transform, opacity;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}

.hero-rotator-word.is-current {
  transform: translateY(0);
  opacity: 1;
}

.hero-rotator-word.is-enter {
  transform: translateY(0.55em);
  opacity: 0;
}

.hero-rotator-word.is-out {
  transform: translateY(-0.55em);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotator-word {
    transition: none;
  }
}

.hero .sub {
  margin: 1.2rem auto 0;
  max-width: 34ch;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.topic-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem 0.4rem;
  width: min(100%, 22.5rem);
  margin: 2rem auto 0;
  padding: 0;
}

.topic-row a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.topic-row.is-visible a,
.no-js .topic-row a {
  opacity: 1;
  transform: none;
}

.topic-row.is-visible a:nth-child(1) { transition-delay: 0.05s; }
.topic-row.is-visible a:nth-child(2) { transition-delay: 0.1s; }
.topic-row.is-visible a:nth-child(3) { transition-delay: 0.15s; }
.topic-row.is-visible a:nth-child(4) { transition-delay: 0.2s; }
.topic-row.is-visible a:nth-child(5) { transition-delay: 0.25s; }
.topic-row.is-visible a:nth-child(6) { transition-delay: 0.3s; }
.topic-row.is-visible a:nth-child(7) { transition-delay: 0.35s; }
.topic-row.is-visible a:nth-child(8) { transition-delay: 0.4s; }

.topic-row .ico {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-alt, #F5F6F7);
  color: var(--ink);
  flex: 0 0 auto;
}

.topic-row .ico svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  overflow: visible;
}

.hero-art {
  width: min(62%, 14.5rem);
  margin: 1rem auto 0;
}

.hero-art .cover {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .topic-row a {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


.hero-stage {
  position: relative;
  width: min(100%, 26rem);
  height: 18.25rem;
  margin-top: 0.95rem;
  margin-bottom: 0.25rem;
  --shift: 0px;
}

.hero-book {
  position: absolute;
  bottom: 0;
  width: 54%;
  filter: drop-shadow(0 18px 28px rgba(21, 32, 57, 0.18));
  will-change: transform;
  border-radius: 12px;
}

.hero-book--left {
  left: -2%;
  transform: translateY(calc(var(--shift) * 0.35)) rotate(-8deg);
  z-index: 1;
  width: 48%;
}

.hero-book--right {
  right: -2%;
  transform: translateY(calc(var(--shift) * 0.5)) rotate(8deg);
  z-index: 1;
  width: 48%;
}

.hero-book--center {
  left: 50%;
  width: 58%;
  transform: translateX(-50%) translateY(calc(var(--shift) * 0.2));
  z-index: 2;
}

/* ==========================================================================
   Problem / help
   ========================================================================== */
.section-problem {
  background: var(--bg-alt);
}

.section-problem h2,
.section-help h2,
.section-reviews h2,
.section-faq h2,
.section-library h2,
.section-stats h2 {
  font-size: clamp(2rem, 7.4vw, 2.85rem);
}

.pull {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 5.4vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.section-help {
  background: var(--blush);
}

.help-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.help-item {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: var(--shadow-soft);
}

.help-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}

.help-item h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.help-item p { color: var(--ink-soft); font-size: 1rem; }

/* ==========================================================================
   Bestseller
   ========================================================================== */
.section-bestseller {
  background: var(--bg-alt);
  color: var(--ink);
  overflow: hidden;
  padding-top: 3.75rem;
  padding-bottom: 5.25rem;
}

.section-bestseller .kicker { color: var(--gold); }

.section-bestseller h2,
.section-bestseller .price-now {
  color: var(--ink);
}

.section-bestseller .lede,
.section-bestseller p {
  color: var(--ink-soft);
}

.bestseller-cover {
  width: min(62%, 13.25rem);
  margin: 0 auto 1.15rem;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.35));
}

.bestseller-cover img {
  width: 100%;
  border-radius: 18px;
}

.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ink);
  margin: 1.5rem 0 0.5rem;
}

.quote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.6rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1.05rem 0 1.15rem;
  justify-content: center;
}

.section-bestseller .price-row { justify-content: center; }

.price-now {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
}

.price-was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1rem;
}

.badge {
  display: inline-block;
  background: color-mix(in srgb, var(--gold) 20%, transparent);
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

/* ==========================================================================
   Bundle
   ========================================================================== */
.section-bundle {
  padding-top: 3.25rem;

  background: var(--cream);
  text-align: center;
}

.section-bundle h2 {
  font-size: clamp(2.1rem, 8vw, 3rem);
}

.bundle-visual {
  width: min(100%, 22rem);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 18px 32px rgba(21, 32, 57, 0.12));
}

.bundle-visual img { width: 100%; border-radius: 18px; }

.bundle-product-name {
  margin: 1.35rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.section-bundle .price-row {
  margin-top: 0.35rem;
}

.save-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1rem 0 0;
  box-shadow: var(--shadow-soft);
}

.bundle-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem auto 0;
  text-align: left;
  max-width: 24rem;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.bundle-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
}

.bundle-list strong { color: var(--ink); font-weight: 550; }

.mini-bundle {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--paper);
  border-radius: var(--radius);
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.mini-bundle h3 {
  font-size: 1.45rem;
  margin: 0.3rem 0 0.5rem;
}

.mini-bundle p { color: var(--ink-soft); font-size: 0.98rem; }

/* ==========================================================================
   Library / grid
   ========================================================================== */
.section-library {
  background: var(--bg-alt);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.7rem;
  margin-top: 2rem;
}

.product-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card .thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eadccb;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.product-card .meta {
  padding: 0.75rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.product-card h3 {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.product-card .price {
  font-size: 0.86rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: auto;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.section-reviews {
  background: var(--blush);
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 2.75rem;
}

.section-reviews .wrap,
.section-reviews .kicker,
.section-reviews h2,
.section-reviews .stars-row {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0 0;
  color: var(--gold);
  font-size: 0.9rem;
}

.stars { letter-spacing: 0.12em; font-size: 1.15rem; color: var(--gold); }

.review-scroller {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.75rem var(--pad) 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.review-scroller::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 min(78%, 19.5rem);
  scroll-snap-align: start;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-soft);
  min-height: 13rem;
  display: flex;
  flex-direction: column;
}

.review-card p {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.review-card .who {
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

/* ==========================================================================
   FAQ / footer
   ========================================================================== */
.section-faq { background: var(--cream); padding-bottom: 4rem; }

.faq-list {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.15rem 1.75rem 1.15rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  position: relative;
  letter-spacing: -0.015em;
}

.faq-q::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.faq-item.is-open .faq-q::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-a {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--ink-soft);
  max-width: 42em;
}

.faq-item.is-open .faq-a { display: block; }

.site-footer {
  background: var(--navy);
  color: color-mix(in srgb, var(--paper) 82%, transparent);
  padding: 3.5rem var(--pad) 6.5rem;
}

.site-footer .logo-foot {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--paper);
}

.site-footer p { margin-top: 1rem; max-width: 32em; font-size: 0.98rem; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 2rem 0 0;
}

.foot-links a { color: var(--paper); text-decoration: none; font-size: 0.9rem; }
.foot-links a:hover { text-decoration: underline; }

.legal {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}

/* Sticky buy bar (Lemonade-style persistent CTA, quieter) */
.buy-bar {
  position: fixed;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--navy);
  color: var(--paper);
  border-radius: 999px;
  padding: 0.45rem 0.45rem 0.45rem 1.2rem;
  box-shadow: 0 12px 36px rgba(14, 23, 40, 0.35);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.buy-bar.is-shown {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.buy-bar p {
  font-size: 0.82rem;
  line-height: 1.25;
}

.buy-bar p strong { display: block; font-size: 0.78rem; letter-spacing: 0.04em; }

.buy-bar .btn {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  font-size: 0.75rem;
  flex-shrink: 0;
  background: var(--paper);
  color: var(--navy);
  box-shadow: none;
}

/* ==========================================================================
   Product page
   ========================================================================== */
.pdp-hero {
  padding: 1.5rem var(--pad) 2.5rem;
  text-align: center;
}

.crumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.pdp-cover {
  width: min(72%, 17rem);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 18px 32px rgba(21, 32, 57, 0.16));
}
.pdp-cover img { border-radius: 18px; }

.pdp-hero h1 {
  font-size: clamp(1.85rem, 7vw, 2.5rem);
  max-width: 16ch;
  margin: 0 auto;
}

.pdp-hero .subline {
  margin-top: 0.6rem;
  color: var(--ink-soft);
}

.pdp-actions {
  margin: 1.4rem auto 0;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pdp-body { background: var(--paper); }
.pdp-body .wrap h2 { font-size: 1.85rem; margin-bottom: 0.85rem; }
.pdp-body .wrap p + p { margin-top: 1rem; }
.pdp-body li { margin: 0.4rem 0; color: var(--ink-soft); }
.pdp-body ul { padding-left: 1.15rem; margin: 0.6rem 0 0; }

.inside-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.inside-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}



/* ==========================================================================
   Trust / stats (Lemonade-style line art + count-up)
   ========================================================================== */
.section-stats {
  background: var(--bg);
  text-align: center;
}

.section-stats h2 {
  font-size: clamp(2rem, 7.4vw, 2.85rem);
}

.stats-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 0.9rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem 0.35rem;
}

.stat-icon {
  width: 4.75rem;
  height: 4.75rem;
  margin-bottom: 0.85rem;
  color: var(--navy);
}

.stat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.stat-icon .draw {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.stat-item.is-drawn .stat-icon .draw {
  animation: stat-draw 1.15s var(--ease) forwards;
}

.stat-item.is-drawn .stat-icon {
  animation: stat-bounce 0.85s var(--ease) both;
}

.stat-item:nth-child(2) .stat-icon .draw,
.stat-item:nth-child(2).is-drawn .stat-icon { animation-delay: 0.12s; }
.stat-item:nth-child(3) .stat-icon .draw,
.stat-item:nth-child(3).is-drawn .stat-icon { animation-delay: 0.24s; }
.stat-item:nth-child(4) .stat-icon .draw,
.stat-item:nth-child(4).is-drawn .stat-icon { animation-delay: 0.36s; }

/* delay has to be on both animations separately */
.stat-item:nth-child(2).is-drawn .stat-icon { animation-delay: 0.12s; }
.stat-item:nth-child(2).is-drawn .stat-icon .draw { animation-delay: 0.12s; }
.stat-item:nth-child(3).is-drawn .stat-icon { animation-delay: 0.24s; }
.stat-item:nth-child(3).is-drawn .stat-icon .draw { animation-delay: 0.24s; }
.stat-item:nth-child(4).is-drawn .stat-icon { animation-delay: 0.36s; }
.stat-item:nth-child(4).is-drawn .stat-icon .draw { animation-delay: 0.36s; }

@keyframes stat-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes stat-bounce {
  0%   { transform: translateY(10px) scale(0.96); }
  58%  { transform: translateY(-5px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}

.stat-num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

.stat-label {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.35;
  max-width: 12em;
}

@media (prefers-reduced-motion: reduce) {
  .stat-icon .draw {
    stroke-dashoffset: 0;
    animation: none !important;
  }
  .stat-item.is-drawn .stat-icon,
  .stat-item.is-drawn .stat-icon .draw {
    animation: none !important;
  }
}

@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .section-bestseller .hero-cta { justify-content: flex-start; }
}

/* Ghost button on light bestseller (overrides the old navy-section inline look) */
.section-bestseller .btn-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}

/* ==========================================================================
   Reduced motion / desktop polish
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-book--left,
  .hero-book--right,
  .hero-book--center { transform: none; }
  .hero-book--center { transform: translateX(-50%); }
  .hero-book--left { transform: rotate(-8deg); }
  .hero-book--right { transform: rotate(8deg); }
}

@media (min-width: 720px) {
  :root { --pad: 2.5rem; --header-h: 68px; }
  .hero h1 { font-size: 3.5rem; }
  .help-list { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
  .bestseller-grid,
  .bundle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    text-align: left;
  }
  .section-bestseller .price-row,
  .section-bundle { text-align: left; }
  .section-bundle .bundle-grid { text-align: left; }
  .section-bundle .bundle-visual { margin-left: 0; }
  .hero-cta { flex-direction: row; justify-content: center; }
  .buy-bar { display: none; }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.section-bestseller .cover .cover-title,
.section-bestseller .cover .cover-mark,
.section-bestseller .cover p {
  color: var(--cover-ink);
}
.section-bestseller .hero-cta {
  align-items: center !important;
}


/* No sideways page drag. Do not clip html/body/main: that breaks sticky header. */
.section,
.hero,
.pdp-hero,
.site-footer,
.buy-bar {
  max-width: 100%;
  overflow-x: clip;
}
.hero {
  overflow-x: clip;
}

/* Menu list starts below the header, not vertically centered */
.nav-overlay {
  justify-content: flex-start;
}

/* Homepage look-inside teaser */
.look-teaser {
  margin-top: 2rem;
  text-align: center;
}
.look-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.look-strip {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}
.look-strip figure {
  flex: 0 0 auto;
  width: 28%;
  max-width: 6.4rem;
  aspect-ratio: 612 / 792;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.look-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.look-strip .is-locked .look-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 32, 57, 0.32);
  color: #fff;
}
.look-strip .look-lock svg {
  width: 1.15rem;
  height: 1.15rem;
}
.look-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
}

/* Earnings statements */
.section-earnings {
  background: var(--bg);
  padding-bottom: 2.25rem;
}
.section-earnings h2 {
  font-size: clamp(2rem, 8vw, 2.85rem);
  max-width: 14em;
}
.section-earnings .lede {
  margin-top: 0.8rem;
  max-width: 38ch;
}
.earn-scroller {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.75rem var(--pad) 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.earn-scroller::-webkit-scrollbar { display: none; }
.earn-card {
  flex: 0 0 min(86%, 21.5rem);
  scroll-snap-align: start;
  background: var(--paper, #fff);
  border-radius: 20px;
  padding: 1.35rem 1.15rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.earn-date {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.earn-total {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 12vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.35rem 0 0.15rem;
  color: var(--ink);
}
.earn-span {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
}
.earn-meta {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.earn-tie {
  margin: 0.85rem 0 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.earn-shot {
  display: block;
  margin-top: 1.05rem;
  border-radius: 14px;
  overflow: auto;
  max-height: 28rem;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  box-shadow: 0 10px 28px rgba(21, 32, 57, 0.1), 0 0 0 1px rgba(21, 32, 57, 0.06);
  text-decoration: none;
  color: inherit;
}
.earn-shot img {
  width: 100%;
  height: auto;
  display: block;
}
.earn-zoom {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.earn-zoom a {
  color: var(--navy, #152039);
  text-underline-offset: 0.18em;
}
.earn-foot {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.earn-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(21, 32, 57, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 1.25rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.earn-lightbox[hidden] { display: none; }
.earn-lightbox img {
  width: auto;
  max-width: min(100%, 750px);
  height: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.earn-lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: #fff;
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.earn-disclaimer {
  padding: 1.1rem var(--pad) 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Sexting Guide page preview */
.section-preview {
  background: var(--bg-alt, #f5f6f7);
  padding-top: 3rem;
  padding-bottom: 3.25rem;
}
.preview-head h2 {
  font-size: clamp(1.85rem, 7.5vw, 2.6rem);
}
.preview-head .lede {
  margin-top: 0.75rem;
  max-width: 36ch;
}
.preview-scroller {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.35rem var(--pad) 0.6rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.preview-scroller::-webkit-scrollbar { display: none; }
.preview-slide {
  flex: 0 0 auto;
  width: min(70vw, 16.75rem);
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 612 / 792;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.preview-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.preview-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(21, 32, 57, 0.34);
  color: #fff;
  text-align: center;
  padding: 1rem;
}
.preview-lock svg {
  width: 1.45rem;
  height: 1.45rem;
}
.preview-lock p {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.preview-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;
  background: #152039;
  color: #f7f4ef;
  padding: 1.25rem 1rem;
}
.preview-more-count {
  font-family: var(--font-serif);
  font-size: 3.1rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.preview-more-label {
  font-size: 0.88rem;
  color: rgba(247, 244, 239, 0.8);
  max-width: 12ch;
  margin-bottom: 0.35rem;
}
.preview-more .btn {
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  font-size: 0.82rem;
}

/* Contact */
.section-contact {
  background: var(--paper, #fff);
  padding-bottom: 7.5rem;
}
.section-contact h2 {
  font-size: clamp(2rem, 8vw, 2.85rem);
}
.section-contact .lede {
  margin-top: 0.8rem;
  max-width: 34ch;
}
.section-contact .contact-email {
  display: inline-block;
  margin-top: 1.15rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy, #152039);
  text-underline-offset: 0.18em;
}


/* ==========================================================================
   Legal pages
   ========================================================================== */
.foot-legal {
  margin-top: 1rem;
}

.legal-page {
  padding: 5rem var(--pad) 4rem;
  background: var(--bg);
}

.legal-page .wrap {
  max-width: 40rem;
}

.legal-page h1 {
  font-size: clamp(2rem, 7.4vw, 2.85rem);
  margin: 0 0 1.5rem;
}

.legal-page h2 {
  font-size: 1.45rem;
  margin: 2.25rem 0 0.7rem;
}

.legal-page p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.legal-page li {
  margin: 0 0 0.4rem;
}

.legal-page a {
  color: var(--navy);
}
