:root {
  --coral: #ff7d52;
  --coral-dark: #e95f30;
  --cream: #fdf8eb;
  --cream-2: #f6edd6;
  --ink: #1d2942;
  --ink-soft: #5b6b80;
  --ink-mute: #94a0b3;
  --ink-line: #e6dcc8;
  --mint: #b6ddc6;
  --emerald: #22c55e;
  --serif: 'Lora', Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.white { background: #fff; }
.section.cream2 { background: var(--cream-2); }

.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--coral);
}
.h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; }
.h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.h1 em, .h2 em { font-style: normal; color: var(--coral); }
.lead { font-size: 17px; color: var(--ink-soft); line-height: 1.65; max-width: 580px; }
.lead-center { margin: 16px auto 0; text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; border-radius: 999px;
  transition: transform .2s, background .2s, box-shadow .2s;
  white-space: nowrap; padding: 14px 24px; font-size: 14px; border: none;
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(255,125,82,0.35); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--coral); }

.card {
  background: #fff; border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  border: 1px solid rgba(230,220,200,0.6);
}

.center { text-align: center; }
.mw-720 { max-width: 720px; margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 32px; }

/* ---- HEADER ---- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,248,235,0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(230,220,200,0.5);
}
header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1180px; margin: 0 auto;
}
header img { height: 38px; }
header nav { display: flex; gap: 24px; align-items: center; }
header nav a { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
header nav a:hover { color: var(--coral); }
header nav .cta {
  background: var(--coral); color: #fff;
  padding: 10px 20px; border-radius: 999px; font-size: 13px;
}
header nav .cta:hover { background: var(--coral-dark); color: #fff; }

.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer { display: none; flex-direction: column; gap: 14px; padding: 20px 24px 28px; background: var(--cream); border-bottom: 1px solid rgba(230,220,200,0.5); }
.nav-drawer.is-open { display: flex; }
.nav-drawer a { font-size: 16px; font-weight: 600; color: var(--ink); padding: 6px 0; }
.nav-drawer .cta { display: inline-block; background: var(--coral); color: #fff; padding: 12px 22px; border-radius: 999px; align-self: flex-start; }

@media (max-width: 820px) {
  header nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---- HERO ---- */
.hero-section { padding-top: 48px; padding-bottom: 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; max-width: 440px; font-size: 14px; color: var(--ink-soft); }
.hero-features .item { display: flex; align-items: center; gap: 8px; }
.hero-features .check {
  width: 20px; height: 20px; background: var(--mint);
  border-radius: 50%; display: grid; place-items: center;
  color: var(--ink); font-size: 11px; font-weight: 900; flex-shrink: 0;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- FRAMER 3D MAGAZINE WRAP ---- */
.framer-magazine-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: 100%;
}
.framer-magazine {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 360px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
}
.framer-magazine--large {
  aspect-ratio: 4 / 3;
  min-height: 460px;
}
.framer-magazine canvas { display: block; }
.framer-magazine__loader {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--ink-mute);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  pointer-events: none;
}
.framer-magazine__hint {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.product-magazine .framer-magazine { min-height: 520px; }

@media (max-width: 600px) {
  .framer-magazine { min-height: 320px; }
  .framer-magazine--large { min-height: 360px; }
  .product-magazine .framer-magazine { min-height: 380px; }
}

.product-gallery {
  width: 100%;
  display: grid;
  gap: 16px;
}
.product-gallery__stage {
  position: relative;
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 520px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 125, 82, 0.16), transparent 30%),
    linear-gradient(145deg, #fffaf0 0%, #f3e6ca 100%);
  border: 1px solid rgba(230,220,200,0.85);
  box-shadow: 0 24px 58px rgba(29,41,66,0.12);
}
.product-gallery__stage::after {
  content: "";
  position: absolute;
  inset: auto 10% 9% 13%;
  height: 22%;
  border-radius: 50%;
  background: rgba(29,41,66,0.13);
  filter: blur(24px);
  transform: skewX(-8deg);
  z-index: 0;
}
.product-gallery__stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 34px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(29,41,66,0.20));
}
.product-gallery__stage figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  max-width: calc(100% - 36px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(253,248,235,0.92);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(29,41,66,0.10);
}
.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.product-gallery__thumb {
  appearance: none;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff7e8;
  box-shadow: 0 8px 18px rgba(29,41,66,0.08);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.product-gallery__thumb:hover,
.product-gallery__thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,125,82,0.6);
  outline: none;
}
.product-gallery__thumb.is-active {
  border-color: var(--coral);
  box-shadow: 0 10px 22px rgba(255,125,82,0.24);
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .product-gallery__stage {
    min-height: 360px;
    border-radius: 18px;
  }
  .product-gallery__stage img { padding: 18px; }
  .product-gallery__stage figcaption {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    font-size: 10px;
  }
  .product-gallery__thumbs { gap: 8px; }
  .product-gallery__thumb { border-radius: 10px; }
  .product-gallery__thumb img { padding: 4px; }
}

/* ---- PHOTO TRANSFORMATION ---- */
.compare-section {
  background: #fffaf0;
  border-top: 1px solid rgba(230,220,200,0.62);
  border-bottom: 1px solid rgba(230,220,200,0.62);
}
.compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: center;
}
.compare-copy .lead { max-width: 470px; }
.compare-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.compare-card {
  display: grid;
  gap: 14px;
}
.compare-frame {
  --position: 50%;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: #f2e8d6;
  border: 1px solid rgba(230,220,200,0.9);
  box-shadow: 0 20px 42px rgba(29,41,66,0.13);
  isolation: isolate;
  touch-action: none;
}
.compare-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
.compare-image--after { z-index: 1; }
.compare-image--before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 4;
  width: 2px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 0 0 1px rgba(29,41,66,0.12);
  transform: translateX(-50%);
  pointer-events: none;
}
.compare-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow: 0 8px 20px rgba(29,41,66,0.24);
  transform: translate(-50%, -50%);
}
.compare-divider span::before,
.compare-divider span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--ink-soft);
  border-left: 2px solid var(--ink-soft);
}
.compare-divider span::before {
  left: 12px;
  transform: translateY(-50%) rotate(-45deg);
}
.compare-divider span::after {
  right: 12px;
  transform: translateY(-50%) rotate(135deg);
}
.compare-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}
.compare-range:focus-visible {
  outline: none;
}
.compare-frame:has(.compare-range:focus-visible) {
  box-shadow: 0 20px 42px rgba(29,41,66,0.13), 0 0 0 3px rgba(255,125,82,0.75);
}
.compare-label {
  position: absolute;
  top: 14px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(253,248,235,0.9);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(29,41,66,0.10);
}
.compare-label--before { left: 14px; }
.compare-label--after { right: 14px; }
.compare-meta {
  display: grid;
  gap: 2px;
  padding: 0 4px;
}
.compare-meta strong {
  font-size: 14px;
  line-height: 1.25;
}
.compare-meta span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .compare-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .compare-copy .lead { max-width: 640px; }
}
@media (max-width: 640px) {
  .compare-examples { grid-template-columns: 1fr; }
  .compare-frame { border-radius: 16px; }
  .compare-divider span {
    width: 40px;
    height: 40px;
  }
}

/* ---- LIBRARY ---- */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  gap: 22px;
  margin-top: 48px;
  justify-content: center;
}
@media (max-width: 560px) { .books-grid { grid-template-columns: minmax(0, 1fr); } }

.book-card {
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  border-radius: 18px; background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  border: 1px solid rgba(230,220,200,0.6);
}
.book-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.08); }

/* The cover renders FULL (no crop). aspect 4/5 + object-fit: contain
   + cream backdrop = visible title at the top of every book. */
.book-card .photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #f6edd6 0%, #fdf8eb 100%);
  display: grid;
  place-items: center;
  padding: 16px;
}
.book-card .photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .5s ease;
  filter: drop-shadow(0 12px 20px rgba(29,41,66,0.18));
}
.book-card:hover .photo img { transform: scale(1.03); }
.book-card .photo .age {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.96);
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  z-index: 2;
}
.book-card .photo .ribbon {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--coral); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255,125,82,0.4);
  z-index: 2;
}
.book-card .body { padding: 18px; }
.book-card .body .tag { font-size: 11px; font-weight: 700; color: var(--coral); letter-spacing: 0.04em; margin-bottom: 6px; }
.book-card .body h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; line-height: 1.2; }
.book-card .body p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }
.book-card .body .foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--ink-line); }
.book-card .body .price { font-size: 13px; color: var(--ink-soft); }
.book-card .body .price strong { color: var(--ink); font-size: 15px; font-weight: 800; }
.book-card .body .arrow { font-size: 12px; font-weight: 700; color: var(--coral); }

/* ---- PERSONALIZE ---- */
.personalize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .personalize-grid { grid-template-columns: 1fr; gap: 36px; }
}
.personalize-copy .lead { max-width: 540px; }
.upload-cta { padding: 16px 28px; gap: 12px; }
.upload-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.22); display: grid; place-items: center;
  font-size: 13px;
}
.checkout-note {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--ink-mute); line-height: 1.6; max-width: 480px;
}
.checkout-note .lock { font-size: 14px; flex-shrink: 0; }

.tips-card {
  background: var(--cream);
  border-radius: 22px;
  padding: 32px 28px 22px;
  border: 1px solid rgba(230,220,200,0.7);
  box-shadow: 0 10px 30px rgba(29,41,66,0.06);
}
.tips-card__title {
  text-align: center;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.tips-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 480px) { .tips-row { grid-template-columns: repeat(2, 1fr); gap: 22px; } }

.tip { text-align: center; }
.tip-circ-wrap { position: relative; max-width: 124px; margin: 0 auto; }
.tip-circ {
  aspect-ratio: 1/1; border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--coral);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  background: #fff;
}
.tip.tip-good .tip-circ { border-color: var(--emerald); }
.tip-circ img { width: 100%; height: 100%; object-fit: cover; }

/* CLEAN, REFINED BADGES — properly anchored to the circle, never floating */
.tip-badge {
  position: absolute;
  top: 0; right: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}
.tip-badge--good { background: var(--emerald); }
.tip-badge--bad  { background: var(--coral); }
.tip-badge svg { width: 18px; height: 18px; }

.tip-label {
  margin-top: 14px;
  font-size: 12px; color: var(--ink-soft);
  line-height: 1.4; font-weight: 500;
}
.tips-card__foot {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(230,220,200,0.7);
  text-align: center; font-size: 12px; color: var(--ink-mute);
}

/* ---- HOW IT WORKS ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px; text-align: left; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--coral); color: #fff; font-weight: 900;
  display: grid; place-items: center; font-size: 18px;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ---- TRUST ---- */
.trust { background: var(--ink); color: var(--cream); padding: 64px 24px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; max-width: 1180px; margin: 0 auto; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; text-align: center; } }
.trust .emoji { font-size: 36px; margin-bottom: 12px; }
.trust .whish-block { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
@media (max-width: 760px) { .trust .whish-block { justify-content: center; } }
.trust .whish-block img { width: 56px; height: 56px; border-radius: 14px; }
.trust .whish-block span { font-size: 32px; }
.trust h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.trust p { font-size: 14px; opacity: 0.85; line-height: 1.6; }

/* ---- FOOTER ---- */
footer { background: var(--ink); color: rgba(253,248,235,0.78); padding: 48px 24px 32px; }
footer .grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
footer h5 { color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
footer ul { list-style: none; font-size: 13px; line-height: 2.1; }
footer ul a:hover { color: #fff; }
footer img { height: 36px; margin-bottom: 14px; filter: brightness(0) invert(1); }
footer .copy { max-width: 280px; font-size: 13px; line-height: 1.6; opacity: 0.82; }
footer .bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; opacity: 0.6; text-align: center; }

/* ---- PRODUCT PAGE ---- */
.product-hero { padding-top: 40px; padding-bottom: 56px; }
.product-hero .crumbs {
  font-size: 12px; color: var(--ink-mute);
  margin-bottom: 24px; letter-spacing: 0.04em;
}
.product-hero .crumbs a { color: var(--ink-soft); }
.product-hero .crumbs a:hover { color: var(--coral); }

/* The book sits on the LEFT in its own column. The info sits on the right.
   align-items: start makes the columns top-aligned so the 3D book never
   overlaps the title or info. */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px) {
  .product-grid { grid-template-columns: 1fr; gap: 36px; }
}

.product-info .age-badge {
  display: inline-block;
  background: var(--cream-2);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.product-info h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.08; margin-bottom: 12px; }
.product-info .sub { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; }
.product-info p.long { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 26px; }
.product-info .price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--ink-line); }
.product-info .price-big { font-size: 30px; font-weight: 900; color: var(--ink); }
.product-info .price-soft { font-size: 13px; color: var(--ink-soft); }
.product-info ul.feat {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; font-size: 13px;
  color: var(--ink-soft); margin-bottom: 26px;
}
.product-info ul.feat li::before { content: "✓ "; color: var(--coral); font-weight: 900; }
.product-info .product-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.product-info .checkout-note { margin-top: 14px; font-size: 12px; color: var(--ink-mute); line-height: 1.6; }

/* ---- SNEAK-PEEK FORM (upload + name) ---- */
.sneak-form {
  display: grid;
  gap: 16px;
  max-width: 460px;
}
.sneak-form__drop {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 18px;
  border: 2px dashed rgba(255,125,82,0.55);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  overflow: hidden;
}
.sneak-form__drop:hover { border-color: var(--coral); background: rgba(255,125,82,0.04); }
.sneak-form__drop:focus-within { outline: 3px solid rgba(255,125,82,0.35); outline-offset: 2px; }
.sneak-form__drop-text strong { display: block; font-size: 16px; color: var(--ink); font-weight: 800; }
.sneak-form__drop-text span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.sneak-form__preview {
  width: 100%; max-width: 200px; aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--coral);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.sneak-form__row { display: grid; gap: 12px; }
.sneak-form__field { display: grid; gap: 6px; }
.sneak-form__label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.sneak-form__field input {
  font: inherit; font-size: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--ink-line);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.sneak-form__field input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,125,82,0.18);
}
.sneak-form__submit { justify-self: start; }
.sneak-form__submit[disabled] { opacity: 0.6; cursor: progress; }
.sneak-status {
  font-size: 13px; color: var(--ink-soft); min-height: 18px; line-height: 1.5;
}

/* ---- SNEAK-PEEK RESULTS (fal vs replicate side-by-side) ---- */
.sneak-results-section { background: var(--cream); }
.sneak-results__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 880px) { .sneak-results__grid { grid-template-columns: 1fr; } }

.sneak-card {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  box-shadow: 0 14px 36px rgba(29,41,66,0.10);
}
.sneak-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink-line);
}
.sneak-card__badge {
  display: inline-block;
  background: rgba(255,125,82,0.12);
  color: var(--coral);
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.sneak-card__badge--alt { background: rgba(29,41,66,0.08); color: var(--ink); }
.sneak-card__meta {
  font-size: 12px; font-weight: 700; color: var(--ink-mute);
  letter-spacing: 0.06em;
}

.sneak-page-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1659 / 948;
  background: var(--cream-2);
  overflow: hidden;
}
.sneak-page-img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: opacity .35s ease;
}
.sneak-page-stage.is-loading .sneak-page-img { opacity: 0.45; }
.sneak-page-loader {
  position: absolute; inset: 0;
  display: none;
  place-items: center;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(253,248,235,0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.sneak-page-stage.is-loading .sneak-page-loader { display: grid; }

/* Parchment overlay — sits exactly on top of the printed parchment in the
   source page art and carries the personalised text. Cream gradient with
   soft inner shadow approximates the printed ribbon. */
.sneak-page-parchment {
  position: absolute;
  background: linear-gradient(160deg, #fdf8eb 0%, #f6edd6 60%, #ecdfb8 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(180,150,90,0.25),
    inset 0 -6px 18px rgba(160,120,60,0.10),
    0 4px 14px rgba(29,41,66,0.10);
  transform: rotate(-0.6deg);
  padding: 6% 6% 6% 6%;
  display: grid;
  align-items: start;
  pointer-events: none;
}
.sneak-page-text {
  font-family: var(--serif);
  color: #2a2418;
  line-height: 1.34;
  letter-spacing: 0.005em;
  white-space: pre-line;
  margin: 0;
  font-size: clamp(8px, 1.05vw, 13px);
}
.sneak-page-hl {
  color: var(--coral);
  font-weight: 700;
  font-style: normal;
}

.sneak-page-error {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 18px;
  background: rgba(29,41,66,0.88);
  color: #ffd9c8;
  font-size: 12px; font-weight: 600;
  text-align: center; line-height: 1.5;
}

.sneak-card__foot {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px;
  border-top: 1px solid var(--ink-line);
  background: var(--cream);
}
.sneak-card__pick { padding: 12px 22px; font-size: 14px; }
.sneak-card__raw {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute);
}
.sneak-card__raw:hover { color: var(--coral); }

.sneak-results__fine {
  font-size: 12px; color: var(--ink-mute);
}

/* ════════════════════════════════════════════════════════════════════
   PRODUCT PAGE v2  (mobile-first)
   Scoped to <body class="page-product">.  All new classes are prefixed
   so they don't collide with the legacy product styles above.
   ════════════════════════════════════════════════════════════════════ */

.page-product { background: #fff; }
.page-product main { display: block; }

/* ════════════════════════════════════════════════════════════════════
   LANDING PAGE  (page-home) — minimal: hero, library, guidance.
   ════════════════════════════════════════════════════════════════════ */

.page-home { background: var(--cream); }

.home-hero {
  padding: 48px 0 32px;
  text-align: center;
  background: var(--cream);
}
.home-hero__title {
  font-size: clamp(28px, 6vw, 50px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 auto 14px;
  max-width: 760px;
  color: var(--ink);
}
.home-hero__title em { font-style: normal; color: var(--coral); }
.home-hero__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 auto 22px;
  max-width: 620px;
}
.home-hero__cta { margin: 0 auto; }

.home-library { padding: 32px 0 48px; background: #fff; }
.home-library__head { text-align: center; margin-bottom: 28px; }
.home-library__head .eyebrow { color: var(--coral); }
.home-library__head h2 {
  font-size: clamp(24px, 4.5vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  margin: 8px 0 0;
  letter-spacing: -0.01em;
}
.home-library__head h2 em { font-style: normal; color: var(--coral); }

.home-guidance {
  padding: 48px 0 72px;
  background: var(--cream);
}
.home-guidance__head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.home-guidance__head .eyebrow { color: var(--coral); }
.home-guidance__head h2 {
  font-size: clamp(24px, 4.5vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  margin: 8px 0 12px;
  letter-spacing: -0.01em;
}
.home-guidance__head h2 em { font-style: normal; color: var(--coral); }
.home-guidance__head p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}
.home-guidance__card {
  max-width: 720px;
  margin: 0 auto;
}
.home-guidance__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}
.home-guidance__private {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 720px) {
  .home-hero { padding: 72px 0 48px; }
  .home-library { padding: 48px 0 72px; }
  .home-guidance { padding: 72px 0 96px; }
}

/* ════════════════════════════════════════════════════════════════════
   PREVIEW PAGE  (page-preview) — Wonderwraps-style
   ════════════════════════════════════════════════════════════════════ */

.page-preview { background: var(--cream); }
.page-preview main { display: block; }

.pv-change-btn {
  background: var(--coral); color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.04em;
  transition: background .2s, transform .15s;
}
.pv-change-btn:hover { background: var(--coral-dark); color: #fff; transform: translateY(-1px); }

.pv { padding: 24px 0 56px; }

/* ───── Title bar ───── */
.pv__titlebar { margin-bottom: 18px; }
.pv__title {
  font-size: clamp(22px, 4.5vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
}
.pv__titlesub {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pv__titlesub strong { color: var(--ink); font-weight: 800; }
.pv__titlesub span[aria-hidden="true"] { color: var(--ink-mute); }

/* ───── Card containers ───── */
.pv__card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid var(--ink-line);
  box-shadow: 0 8px 24px rgba(29,41,66,0.06);
}
.pv__section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
}

/* ───── Cover options ───── */
.pv__covers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pv__cover {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 2px solid var(--ink-line);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.pv__cover input { position: absolute; opacity: 0; pointer-events: none; }
.pv__cover.is-active {
  border-color: var(--coral);
  box-shadow: 0 6px 18px rgba(255,125,82,0.18);
}
.pv__cover.is-active::before {
  content: "✓";
  position: absolute;
  top: 8px; left: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--coral); color: #fff;
  font-size: 12px; font-weight: 900;
  display: grid; place-items: center;
  z-index: 2;
}
.pv__cover-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--coral); color: #fff;
  font-size: 9px; font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 2;
}
.pv__cover-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream-2);
}
.pv__cover-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv__cover-info { display: flex; flex-direction: column; gap: 2px; }
.pv__cover-info strong { font-size: 14px; font-weight: 800; color: var(--ink); }
.pv__cover-info span { font-size: 11px; color: var(--ink-soft); line-height: 1.35; }
.pv__cover-price { color: var(--coral) !important; font-size: 15px !important; font-weight: 900 !important; margin-top: 4px; }

/* ───── Email row ───── */
.pv__email-card {
  display: grid;
  gap: 12px;
}
.pv__email-text strong { display: block; font-size: 14px; font-weight: 800; color: var(--ink); }
.pv__email-text span  { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.pv__email-input {
  position: relative;
  display: flex; align-items: center;
}
.pv__email-icon {
  position: absolute; left: 14px;
  font-size: 16px; color: var(--ink-mute);
  pointer-events: none;
}
.pv__email-input input {
  flex: 1; width: 100%;
  font: inherit; font-size: 15px;
  padding: 12px 16px 12px 40px;
  border-radius: 12px;
  border: 1.5px solid var(--ink-line);
  background: #fff;
  color: var(--ink);
}
.pv__email-input input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,125,82,0.18);
}

/* ───── Result stage ───── */
.pv__stage {
  position: relative;
  margin: 18px 0 24px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1756 / 895;
  background: var(--cream-2);
  box-shadow: 0 18px 42px rgba(29,41,66,0.12);
}

.pv__stage-loading,
.pv__stage-error {
  position: absolute; inset: 0;
}
.pv__stage-blur {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(28px) saturate(0.8) brightness(1.05);
  transform: scale(1.1);
}
.pv__stage-overlay {
  position: absolute; inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background: rgba(253,248,235,0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.pv__stage-msg {
  font-size: 15px; font-weight: 700; color: var(--ink);
  margin: 0;
  max-width: 22ch;
  line-height: 1.4;
}
.pv__stage-sparkles {
  display: flex; gap: 12px;
  font-size: 22px;
  color: var(--coral);
}
.pv__stage-sparkles span {
  animation: sparkle 1.8s ease-in-out infinite;
}
.pv__stage-sparkles span:nth-child(2) { animation-delay: .9s; }
@keyframes sparkle {
  0%, 100% { transform: scale(0.7) rotate(0deg);   opacity: 0.5; }
  50%      { transform: scale(1.0) rotate(180deg); opacity: 1.0; }
}
.pv__stage-countdown {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(29,41,66,0.06);
  color: var(--ink);
  font-size: 13px; font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  margin: 0;
}
.pv__stage-countdown span {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 26px;
  background: var(--ink); color: #fff;
  border-radius: 50%;
  font-size: 13px; font-weight: 900;
}

.pv__stage-final {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  opacity: 0;
  transition: opacity .6s ease;
}
.pv__stage-final.is-revealed { opacity: 1; }
.pv__stage-final img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pv__stage-final .pv__face-crop {
  position: absolute;
  left: 23.92%;
  top: 13.97%;
  width: 29.61%;
  height: 58.10%;
  object-fit: cover;
  -webkit-mask-image: url("assets/book-crops/letter-face-mask.png?v=face-mask-1");
  mask-image: url("assets/book-crops/letter-face-mask.png?v=face-mask-1");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.pv__name-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pv__name-patch {
  position: absolute;
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  color: #1f1d1a;
  background:
    radial-gradient(circle at 18% 42%, rgba(118, 87, 46, 0.07), transparent 28%),
    radial-gradient(circle at 82% 56%, rgba(118, 87, 46, 0.055), transparent 30%),
    #ead8b5;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.22;
  white-space: nowrap;
  border-radius: 4px;
  box-shadow: 0 0 10px 7px #ead8b5;
}
.pv__name-patch p {
  margin: 0;
}
.pv__name-patch strong {
  color: #991b1e;
  font-weight: 700;
  font-style: italic;
}
.pv__name-patch--letter-copy {
  left: 66.45%;
  top: 7.65%;
  width: 29.7%;
  height: 38.7%;
  padding: 1.65% 1.15% 0.9% 1.25%;
  font-size: 25px;
  line-height: 1.47;
  letter-spacing: 0;
}
.pv__name-moment {
  color: #991b1e;
  font-size: 1.34em;
  line-height: 1.08;
  font-weight: 700;
  font-style: italic;
  margin-top: 0.05em !important;
}
.pv__stage-final .pv__cedar-mark {
  position: absolute;
  left: 86.75%;
  top: 27.9%;
  width: 6.25%;
  height: auto;
  pointer-events: none;
  display: block;
  object-fit: contain;
}

.pv__stage-error {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px 22px;
  background: rgba(253,248,235,0.95);
}
.pv__stage-error p { margin: 0 0 6px; font-size: 14px; color: var(--ink); }
.pv__stage-error p strong { font-size: 18px; }
.pv__stage-error .btn { margin-top: 14px; }

/* ───── Order CTA ───── */
.pv__order {
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  margin-top: 22px;
}
.pv__order-btn { width: 100%; max-width: 460px; }
.pv__order-fine { font-size: 12px; color: var(--ink-mute); margin: 0; }

/* ───── Desktop refinements ───── */
@media (min-width: 720px) {
  .pv { padding: 32px 0 80px; }
  .pv__title { font-size: clamp(26px, 3.6vw, 36px); }
  .pv__card { padding: 22px 24px; }
  .pv__covers { gap: 14px; }
  .pv__cover { padding: 14px; }
  .pv__cover-thumb { aspect-ratio: 5 / 4; }
  .pv__cover-info strong { font-size: 16px; }
  .pv__cover-info span  { font-size: 12px; }
  .pv__cover-price { font-size: 17px !important; }
  .pv__email-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .pv__stage { margin: 28px 0; }
  .pv__stage-msg { font-size: 17px; }
}

/* Shared button refinements */
.btn-cta { padding: 16px 28px; font-size: 15px; width: 100%; max-width: 380px; }
.btn-cta-md { padding: 16px 28px; font-size: 15px; }
.btn-cta-xl {
  padding: 22px 40px; font-size: 18px;
  width: 100%; max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(255,125,82,0.45);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 12px 22px;
  font-size: 14px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ───── 1. PRODUCT HERO ───────────────────────────────────────── */

.ph { padding: 18px 0 32px; background: #fff; }
.ph__crumbs { font-size: 12px; color: var(--ink-mute); margin-bottom: 16px; letter-spacing: 0.04em; }
.ph__crumbs a { color: var(--ink-soft); }
.ph__crumbs a:hover { color: var(--coral); }

.ph__layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "gallery"
    "info";
  gap: 18px;
  align-items: start;
}
.ph__title  { grid-area: title;   margin: 0; }
.ph__left   { grid-area: gallery; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ph__info   { grid-area: info; }

.ph__title {
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Gallery */
.ph__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.ph__thumbs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  order: 2;
  padding-bottom: 4px;
}
.ph__thumbs::-webkit-scrollbar { display: none; }
.ph__thumb {
  flex: 0 0 64px;
  width: 64px; height: 64px;
  border: 2px solid var(--ink-line);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: var(--cream);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.ph__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph__thumb[aria-selected="true"] { border-color: var(--coral); transform: translateY(-1px); }
.ph__thumb:hover { border-color: var(--coral); }

.ph__main {
  position: relative;
  order: 1;
  border-radius: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}
.ph__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 18px;
}
.ph__stage img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(29,41,66,0.18));
}
.ph__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink-line);
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 22px; font-weight: 700;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background .2s, transform .2s;
}
.ph__nav:hover { background: #fff; transform: translateY(-50%) scale(1.04); }
.ph__nav--prev { left: 10px; }
.ph__nav--next { right: 10px; }
.ph__dots {
  position: absolute;
  left: 50%; bottom: 12px;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 2;
}
.ph__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(29,41,66,0.25);
  cursor: pointer;
}
.ph__dot.is-active { background: var(--coral); width: 22px; border-radius: 999px; }

/* Info column */
.ph__info { display: flex; flex-direction: column; gap: 14px; }
.ph__rating { display: flex; align-items: center; gap: 8px; }
.ph__stars { color: #f9a825; font-size: 16px; letter-spacing: 1px; }
.ph__rating-text { font-size: 13px; color: var(--ink-soft); }
.ph__rating-text strong { color: var(--ink); }
.ph__desc { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin: 4px 0; }
.ph__bullets { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 6px; }
.ph__bullets li {
  font-size: 14px; color: var(--ink-soft);
  padding-left: 22px; position: relative;
}
.ph__bullets li::before {
  content: "•";
  position: absolute; left: 6px; top: 0;
  color: var(--coral); font-weight: 900;
}
.ph__price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.ph__price-pre { font-size: 14px; color: var(--ink-soft); }
.ph__price-big { font-size: 28px; font-weight: 900; color: var(--coral); }

.ph__payments {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 12px;
}
.ph__payments img { height: 28px; width: auto; border-radius: 6px; }
.ph__pay-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.ph__pay-pill--crypto {
  background: linear-gradient(180deg, #fff8ec, #ffe6c7);
  border-color: rgba(247,147,26,0.35);
  color: #8a4a06;
}
.ph__pay-pill--crypto > span { font-size: 13px; font-weight: 900; }

.ph__delivery {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.10);
  color: #166534;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  align-self: flex-start;
}

/* Testimonial strip */
.ph__testimonial {
  margin-top: 22px;
  background: rgba(255,125,82,0.06);
  border: 1px solid rgba(255,125,82,0.18);
  border-radius: 16px;
  padding: 18px 20px;
  display: grid;
  gap: 10px;
}
.ph__testimonial-rating {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink);
}
.ph__testimonial-rating strong { font-weight: 800; }
.ph__testimonial-quote {
  font-size: 14px; color: var(--ink); line-height: 1.55;
  font-style: normal; margin: 0;
}
.ph__testimonial-quote cite { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-soft); font-style: normal; font-weight: 700; }
.ph__testimonial-link { font-size: 12px; font-weight: 800; color: var(--coral); letter-spacing: 0.04em; }

/* ───── FAQ accordion (shared) ───────────────────────────────── */

.faq { display: flex; flex-direction: column; gap: 0; margin-top: 16px; }
.faq__item {
  border-top: 1px solid var(--ink-line);
  padding: 4px 0;
}
.faq__item:last-of-type { border-bottom: 1px solid var(--ink-line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 36px 16px 0;
  font-size: 15px; font-weight: 700; color: var(--ink);
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 700; color: var(--ink-soft);
  transition: transform .2s;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  padding: 0 0 18px;
  font-size: 14px; color: var(--ink-soft); line-height: 1.6;
  margin: 0;
}
.faq--centered { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ───── 2. START PERSONALISING ───────────────────────────────── */

.sp { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); padding: 56px 0; }
.sp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.sp__title { font-size: clamp(28px, 5vw, 40px); font-weight: 800; line-height: 1.08; margin: 0 0 12px; letter-spacing: -0.01em; }
.sp__lead { font-size: 16px; color: var(--ink-soft); line-height: 1.65; margin: 0 0 22px; max-width: 520px; }

/* Small ✓ feature list, balances the left column now that the step circles
   have been moved into their own dedicated section below. */
.sp__features {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.sp__features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink); font-weight: 600;
}
.sp__features li span {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--emerald); color: #fff;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 900;
  flex: 0 0 20px;
}

.sp__steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sp__step { text-align: center; position: relative; }
.sp__step-circle {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 8px;
  background: #fff;
  border: 2px dashed rgba(255,125,82,0.5);
  overflow: hidden;
  display: grid; place-items: center;
}
.sp__step-circle img { width: 100%; height: 100%; object-fit: cover; }
.sp__step-badge {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  background: rgba(253,248,235,0.5);
  font-size: 30px;
  color: var(--coral);
  font-weight: 900;
}
.sp__step-badge--check { background: rgba(34,197,94,0.55); color: #fff; }
.sp__step-badge--ship { background: rgba(255,125,82,0.55); color: #fff; }
.sp__step-num {
  position: absolute;
  top: 4px; left: 50%; transform: translateX(-260%);
  width: 22px; height: 22px;
  background: var(--coral); color: #fff;
  font-size: 12px; font-weight: 800;
  border-radius: 50%;
  display: grid; place-items: center;
}
.sp__step-label {
  display: block;
  font-size: 13px; font-weight: 700; color: var(--ink);
  line-height: 1.4;
  margin-top: 6px;
}

.sp__card {
  background: #fff;
  border-radius: 22px;
  padding: 22px 18px;
  border: 1px solid rgba(230,220,200,0.7);
  box-shadow: 0 14px 36px rgba(29,41,66,0.08);
}
.sp__card-title {
  text-align: center;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.sp__card-tips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.sp__tip { text-align: center; position: relative; margin: 0; }
.sp__tip-circ {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--coral);
  background: #fff;
}
.sp__tip--good .sp__tip-circ { border-color: var(--emerald); }
.sp__tip-circ img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp__tip-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.sp__tip-badge--good { background: var(--emerald); }
.sp__tip-badge--bad  { background: var(--coral); }
.sp__tip-badge svg { width: 14px; height: 14px; }
.sp__tip figcaption {
  margin-top: 8px;
  font-size: 11px; color: var(--ink-soft);
  line-height: 1.3; font-weight: 500;
}

.sp__divider { border: 0; border-top: 1px solid var(--ink-line); margin: 18px 0; }

.sp__form { display: grid; gap: 12px; }
.sp__file-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--coral);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px; font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255,125,82,0.35);
  transition: transform .15s, background .2s;
}
.sp__file-cta:hover { background: var(--coral-dark); transform: translateY(-1px); }
.sp__file-cta.is-loaded { background: #16a34a; box-shadow: 0 8px 22px rgba(22,163,74,0.32); }
.sp__file-cta-icon { font-size: 16px; }
.sp__drop-hint {
  text-align: center;
  font-size: 12px; font-weight: 700;
  color: var(--ink-soft);
  margin: 0;
}
.sp__face-tune {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: var(--cream);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
}
.sp__face-tune-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.sp__face-tune-head span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.sp__face-tune-head small {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.sp__face-preview {
  width: min(180px, 60vw);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(15, 30, 53, 0.14);
  background: #fff;
}
.sp__face-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp__range {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-soft);
}
.sp__range input {
  width: 100%;
  accent-color: var(--coral);
}
.sp__name-row {
  display: grid; gap: 10px;
  padding: 14px;
  background: var(--cream);
  border-radius: 12px;
}
.sp__name-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.sp__name-row input {
  font: inherit; font-size: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--ink-line);
  background: #fff;
  color: var(--ink);
}
.sp__name-row input:focus {
  outline: none; border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,125,82,0.18);
}
.sp__submit { width: 100%; }
.sp__format-btn { justify-content: center; width: 100%; }
.sp__status { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.55; text-align: center; min-height: 18px; }
.sp__form.is-done .sp__status { color: var(--ink); padding: 12px; background: rgba(34,197,94,0.10); border-radius: 10px; }
.sp__form.is-done .sp__file-cta,
.sp__form.is-done .sp__name-row,
.sp__form.is-done .sp__format-btn { display: none; }

/* ── Live preview states (loading / result / fallback) ────── */

.sp__loading {
  display: grid; place-items: center;
  text-align: center;
  padding: 24px 16px;
}
.sp__loading-stage { max-width: 320px; }
.sp__progress {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255,125,82,0.18);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 22px;
}
.sp__progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--coral), #f9a825);
  border-radius: 999px;
}
.sp__loading-title {
  font-size: 16px; font-weight: 800; color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.35;
}
.sp__loading-sub {
  font-size: 13px; color: var(--ink-soft); margin: 0;
  line-height: 1.5;
}

.sp__result { text-align: center; }
.sp__result-headline { margin-bottom: 16px; }
.sp__result-eyebrow {
  display: inline-block;
  background: rgba(34,197,94,0.14);
  color: #166534;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 10px;
}
.sp__result-headline h3 {
  font-size: clamp(18px, 3.4vw, 22px);
  font-weight: 800; line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.sp__result-headline em { font-style: italic; color: var(--coral); }
.sp__result-image {
  margin: 0 0 16px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-2);
  aspect-ratio: 1659 / 948;
  box-shadow: 0 14px 36px rgba(29,41,66,0.18);
}
.sp__result-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp__result-copy {
  font-size: 14px; color: var(--ink-soft); line-height: 1.55;
  margin: 0 0 14px;
}
.sp__result-cta {
  width: 100%;
  padding: 16px 22px;
  font-size: 16px;
}
.sp__result-retry {
  margin-top: 12px;
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  font-size: 13px; font-weight: 700;
  cursor: pointer;
}
.sp__result-retry:hover { color: var(--coral); }

.sp__fallback {
  text-align: center;
  padding: 24px 12px;
  background: rgba(255,125,82,0.06);
  border-radius: 14px;
  border: 1px solid rgba(255,125,82,0.18);
}
.sp__fallback h3 { font-size: 17px; font-weight: 800; margin: 0 0 8px; color: var(--ink); }
.sp__fallback p  { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0 0 16px; }

.sp__private {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 28px auto 0;
  max-width: 640px;
  font-size: 13px; color: var(--ink-soft); line-height: 1.55;
  text-align: left;
}
.sp__lock { flex: 0 0 auto; font-size: 16px; }
.sp__private strong { color: var(--ink); font-weight: 800; }

/* ───── 3. BEFORE / AFTER ────────────────────────────────────── */

.ba { padding: 56px 0; background: var(--cream); }
.ba__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.ba__slider {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.ba__frame {
  --position: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 18px 40px rgba(29,41,66,0.14);
  user-select: none;
}
.ba__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba__img--after { z-index: 1; }
.ba__img--before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}
.ba__divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--position);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(0,0,0,0.2);
}
.ba__divider span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.ba__divider span::before {
  content: "‹›";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -2px;
}
.ba__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  appearance: none;
  background: transparent;
  margin: 0;
  z-index: 4;
  cursor: ew-resize;
  opacity: 0;
}
.ba__copy h2 { font-size: clamp(24px, 4.5vw, 34px); font-weight: 800; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
.ba__copy p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin: 0 0 22px; }

/* ───── 4. FINAL CTA + DELIVERY + FAQ ────────────────────────── */

.final-cta { padding: 56px 0 72px; background: #fff; text-align: center; }
.final-cta > .container { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-cta__payments {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  justify-content: center;
}
.final-cta__payments img { height: 32px; width: auto; border-radius: 6px; }
.final-cta__pay-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.final-cta__pay-pill--crypto {
  background: linear-gradient(180deg, #fff8ec, #ffe6c7);
  border-color: rgba(247,147,26,0.35);
  color: #8a4a06;
}
.final-cta__pay-pill--crypto > span { font-size: 14px; font-weight: 900; }
.final-cta__delivery {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.10);
  color: #166534;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  margin: 0;
}
.final-cta .faq { width: 100%; max-width: 720px; margin-top: 18px; }

/* ───── STEPS ROW (dedicated small section above the final CTA) ─── */

.steps-row {
  padding: 40px 0;
  background: var(--cream-2);
}
.steps-row__list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.steps-row__item { text-align: center; position: relative; }
.steps-row__circle {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: #fff;
  border: 2px dashed rgba(255,125,82,0.5);
  overflow: hidden;
  display: grid; place-items: center;
}
.steps-row__circle img { width: 100%; height: 100%; object-fit: cover; }
.steps-row__badge {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  background: rgba(253,248,235,0.5);
  font-size: 28px;
  color: var(--coral);
  font-weight: 900;
}
.steps-row__badge--check { background: rgba(34,197,94,0.55); color: #fff; }
.steps-row__badge--ship  { background: rgba(255,125,82,0.55); color: #fff; }
.steps-row__num {
  position: absolute;
  top: -4px; left: 50%; transform: translateX(-2.6em);
  width: 24px; height: 24px;
  background: var(--coral); color: #fff;
  font-size: 12px; font-weight: 800;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(255,125,82,0.35);
}
.steps-row__label {
  display: block;
  font-size: 12px; font-weight: 700; color: var(--ink);
  line-height: 1.35;
  margin-top: 4px;
}

/* ════════════════════════════════════════════════════════════════════
   DESKTOP refinements
   ════════════════════════════════════════════════════════════════════ */

@media (min-width: 720px) {
  .ph { padding: 28px 0 48px; }
  .ph__layout { gap: 36px; }
  .ph__stage { aspect-ratio: 1 / 1; padding: 28px; }
  .sp__card-tips { gap: 14px; }
  .sp__tip figcaption { font-size: 12px; }
  .ba__slider { max-width: 520px; }

  .steps-row { padding: 56px 0; }
  .steps-row__list { gap: 24px; max-width: 900px; }
  .steps-row__circle { width: 120px; height: 120px; }
  .steps-row__num { width: 28px; height: 28px; font-size: 13px; transform: translateX(-3em); top: -6px; }
  .steps-row__label { font-size: 14px; margin-top: 8px; }
}

@media (min-width: 980px) {
  /* Two columns: gallery spans both rows in col 1; title + info stack in col 2.
     This restores the desktop reference layout while keeping the title above
     the gallery on mobile. */
  .ph__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    grid-template-areas:
      "gallery title"
      "gallery info";
    grid-template-rows: auto 1fr;
    column-gap: 56px;
    row-gap: 18px;
  }
  .ph__gallery { grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
  .ph__thumbs {
    flex-direction: column;
    order: 0;
    max-height: 560px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
  }
  .ph__thumb { flex: 0 0 84px; width: 84px; height: 84px; }
  .ph__main { order: 1; }
  .ph__stage { aspect-ratio: 4 / 5; padding: 36px; }
  .ph__nav--prev { left: 16px; }
  .ph__nav--next { right: 16px; }

  .ph__testimonial {
    grid-template-columns: auto 1fr auto;
    display: grid;
    align-items: center;
    gap: 24px;
  }
  .ph__testimonial-rating { flex-direction: column; align-items: flex-start; gap: 4px; }

  .sp { padding: 88px 0; }
  .sp__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .sp__card { padding: 32px 28px; }

  .ba { padding: 88px 0; }
  .ba__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .ba__slider { max-width: 560px; }

  .final-cta { padding: 88px 0 104px; }
}

/* On the *very* widest layouts, give thumbs a touch more height */
@media (min-width: 1200px) {
  .ph__thumbs { max-height: 640px; }
  .ph__thumb { flex: 0 0 96px; width: 96px; height: 96px; }
  .ph__gallery { grid-template-columns: 96px 1fr; }
}

@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; }
}

/* ---- Sandbox checkout / order review ---- */
.co,
.os { padding: 48px 0 80px; }
.co__head,
.os__hero { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.co__head h1,
.os__hero h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; margin-top: 8px; }
.co__head p,
.os__hero p,
.os__book-head p { color: var(--ink-soft); }
.co__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.co__panel,
.co__summary,
.os__page-card { background: #fff; border: 1px solid var(--ink-line); border-radius: 16px; box-shadow: 0 10px 28px rgba(29,41,66,0.06); }
.co__panel,
.co__summary { padding: 24px; }
.co__panel h2,
.co__summary h2,
.os__book-head h2 { font-size: 24px; line-height: 1.15; }
.co__form { display: grid; gap: 14px; margin-top: 18px; }
.co__form label { display: grid; gap: 7px; }
.co__form label span { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.co__form input,
.co__form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid var(--ink-line); border-radius: 10px; padding: 12px 14px; }
.co__form input:focus,
.co__form textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,125,82,0.18); }
.co__fake-pay { display: grid; gap: 12px; padding: 14px; border-radius: 12px; background: rgba(255,125,82,0.08); border: 1px solid rgba(255,125,82,0.22); }
.co__fake-pay-title { display: flex; gap: 12px; align-items: center; }
.co__fake-pay-title img { width: 42px; height: auto; border-radius: 6px; }
.co__fake-pay-title small { display: block; color: var(--ink-soft); font-weight: 600; }
.co__split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co__status { min-height: 20px; color: var(--ink-soft); font-size: 13px; text-align: center; }
.co__book { display: grid; gap: 12px; margin: 16px 0; }
.co__preview.pv__stage-final {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  opacity: 1;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--ink-line);
}
.co__preview > img:first-child { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.co__book p { color: var(--ink-soft); margin-top: 2px; }
.co__summary dl { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--ink-line); }
.co__summary dl div { display: flex; justify-content: space-between; gap: 16px; }
.co__summary dt { color: var(--ink-soft); }
.co__summary dd { font-weight: 800; }
.os__book-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.os__book-head p { max-width: 520px; }
.os__pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.os__page-card { overflow: hidden; }
.os__media { background: #efe5cf; }
.os__media > img,
.os__spread > img { width: 100%; aspect-ratio: 1756 / 895; object-fit: cover; }
.os__page-card:first-child .os__media > img { aspect-ratio: 1; object-fit: cover; }
.os__spread.pv__stage-final {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  opacity: 1;
  overflow: hidden;
}
.os__page-card h3 { font-size: 16px; padding: 12px 14px 0; }
.os__page-card p { color: var(--ink-soft); font-size: 13px; padding: 2px 14px 14px; }
.os__letter-copy { font-size: 1.42vw; }
.os__book-head .btn { flex-shrink: 0; }
@media (max-width: 840px) {
  .co__grid,
  .os__pages { grid-template-columns: 1fr; }
  .os__book-head { display: block; }
  .os__book-head p { margin-top: 6px; }
  .os__letter-copy { font-size: 2.65vw; }
}

/* ---- Print-ready full book PDF ---- */
.page-book-pdf {
  background: #ede3cf;
}
.pdf-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(253,248,235,0.96);
  border-bottom: 1px solid var(--ink-line);
  backdrop-filter: blur(8px);
}
.pdf-toolbar span {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  margin-top: 2px;
}
.pdf-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.pdf-status {
  min-height: 24px;
  width: min(1200px, calc(100vw - 32px));
  margin: 12px auto 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.pdf-book {
  display: grid;
  gap: 22px;
  width: min(1200px, calc(100vw - 32px));
  margin: 22px auto 60px;
}
.pdf-page {
  page-break-after: always;
  break-after: page;
}
.pdf-page__canvas.pv__stage-final {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 26px rgba(29,41,66,0.14);
}
.pdf-page__canvas > img:first-child {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.pdf-page__caption {
  padding: 8px 2px 0;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 700;
}
.pdf-page--cover .pdf-page__canvas {
  width: min(860px, 100%);
  margin: 0 auto;
}
.pdf__cover-name {
  position: absolute;
  left: 28%;
  top: 7%;
  width: 44%;
  text-align: center;
  color: #d91f1f;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(48px, 8vw, 126px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow:
    0 4px 0 #fff,
    0 -4px 0 #fff,
    4px 0 0 #fff,
    -4px 0 0 #fff,
    0 10px 16px rgba(0,0,0,0.22);
  transform: rotate(1deg);
}
.pdf__page-face {
  position: absolute;
  object-fit: cover;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.pdf__letter-copy {
  font-size: clamp(12px, 1.45vw, 25px);
}
@media print {
  @page {
    size: landscape;
    margin: 0;
  }
  html,
  body {
    background: #fff !important;
  }
  .pdf-toolbar,
  .pdf-status,
  header {
    display: none !important;
  }
  .pdf-book {
    display: block;
    width: 100%;
    margin: 0;
  }
  .pdf-page {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    page-break-after: always;
    break-after: page;
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  .pdf-page__canvas.pv__stage-final {
    width: 100vw;
    height: 100vh;
    box-shadow: none;
  }
  .pdf-page--cover .pdf-page__canvas {
    width: 100vh;
    height: 100vh;
  }
  .pdf-page__canvas > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .pdf-page__caption {
    display: none;
  }
  .pdf__letter-copy {
    font-size: 1.55vw;
  }
}

/* ───── Sticky WhatsApp floating button (all pages) ─────────────── */
.wa-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42), 0 4px 10px rgba(0,0,0,0.18);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-fab-pulse 2.2s ease-out infinite;
}
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0,0,0,0.22);
}
.wa-fab svg { width: 32px; height: 32px; display: block; }
@keyframes wa-fab-pulse {
  0%   { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42), 0 4px 10px rgba(0,0,0,0.18), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42), 0 4px 10px rgba(0,0,0,0.18), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42), 0 4px 10px rgba(0,0,0,0.18), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 560px) {
  .wa-fab { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .wa-fab svg { width: 28px; height: 28px; }
}

/* ───── Flow Testimonials (dual-row infinite marquee) ───────────── */
.tflow {
  padding: 80px 0;
  background: linear-gradient(180deg, #fdf8eb 0%, #fff 60%);
  overflow: hidden;
}
.tflow__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
  padding: 0 20px;
}
.tflow__head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.tflow__head h2 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.tflow__head h2 em { font-style: normal; color: var(--coral); }
.tflow__rows { display: flex; flex-direction: column; gap: 16px; }
.tflow__row {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.tflow__track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
  animation: tflow-left 55s linear infinite;
}
.tflow__row--reverse .tflow__track {
  animation: tflow-right 62s linear infinite;
}
.tflow__track:hover { animation-play-state: paused; }
@keyframes tflow-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes tflow-right {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.tflow-card {
  flex-shrink: 0;
  width: 320px;
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 4px 14px rgba(29,41,66,0.06);
  border: 1px solid rgba(230,220,200,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.tflow-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255,125,82,0.22), 0 4px 12px rgba(29,41,66,0.08);
}
.tflow-card__rating {
  color: #ffb800;
  letter-spacing: 3px;
  font-size: 15px;
  line-height: 1;
  margin-bottom: 12px;
}
.tflow-card__quote {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.tflow-card__author {
  /* Override the global `footer { background: var(--ink) }` rule because each
     testimonial card uses <footer> as its author block. Without this it inherits
     the site-footer's dark navy. */
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px solid var(--ink-line);
}
.tflow-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 0%, #ff9b76 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.tflow-card__name {
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.2;
}
.tflow-card__role {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 2px;
}
@media (max-width: 560px) {
  .tflow { padding: 60px 0; }
  .tflow-card { width: 260px; padding: 18px 18px 14px; }
  .tflow-card__rating { font-size: 13px; letter-spacing: 2px; }
  .tflow-card__quote { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .tflow__track { animation: none; }
}

/* ───── Responsive testimonial visibility ───────────────────────── */
/* Two copies of the .ph__testimonial exist:
   - .ph__testimonial--gallery: lives in .ph__left, shows ONLY on desktop
   - .ph__testimonial--faq:     lives in .ph__info after the FAQ, shows ONLY on mobile
*/
.ph__testimonial--gallery { display: none; }
@media (min-width: 901px) {
  .ph__testimonial--gallery { display: block; }
  .ph__testimonial--faq     { display: none; }
}
