/* =========================================================
   ClarityBook + Clarity Workbook PDF + Shop page
   Scoped under .cb so nothing else on the site changes.
   Type: Poppins, with Fraunces italic for the accent words.
   ========================================================= */
.cb { --cb-gold: #A9834F; }
.cb .display, .cb h3, .cb .cb-price { font-family: "Poppins", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.025em; }
.cb .fx { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.cb .lede, .cb p, .cb .btn { font-family: "Poppins", system-ui, sans-serif; }
.cb .eyebrow { font-family: "Poppins", system-ui, sans-serif; }

/* Flagship visual: the book as an app, flat (no tilt), with the PDF behind it */
.cb-visual { position: relative; width: min(340px, 82%); margin: 0 auto; aspect-ratio: 4 / 5; }
.cb-phone {
  position: absolute; left: 0; top: 0; width: 62%; aspect-ratio: 9 / 19;
  border-radius: 34px; background: #0f0b08; padding: 9px;
  box-shadow: 0 30px 60px rgba(27,20,15,.28), 0 0 0 1px rgba(27,20,15,.25);
  z-index: 2;
}
.cb-phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 16px; margin-left: -15%; border-radius: 10px; background: #0f0b08; z-index: 3; }
.cb-screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #120d09; }
.cb-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cb-screen .cb-bar { position: absolute; left: 10px; right: 10px; bottom: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(243,238,227,.94); color: var(--espresso); font: 600 11px/1.2 "Poppins", system-ui, sans-serif; display: flex; justify-content: space-between; align-items: center; }
.cb-screen .cb-bar span { color: var(--red); }
.cb-pdf {
  position: absolute; right: 0; bottom: 4%; width: 52%; aspect-ratio: 2 / 3;
  border-radius: 3px 8px 8px 3px; overflow: hidden; background: #120d09;
  box-shadow: 0 22px 44px rgba(27,20,15,.22), 0 0 0 1px rgba(27,20,15,.12);
}
.cb-pdf img { width: 100%; height: 100%; object-fit: cover; }
.cb-pdf .cb-tag { position: absolute; left: 8px; top: 8px; padding: 4px 8px; border-radius: 999px; background: var(--cream); color: var(--espresso); font: 600 10px/1 "Poppins", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }

/* The add-on: Workbook PDF, one quiet row under the flagship */
.cb-addon {
  margin-top: 34px; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center;
}
.cb-addon img { width: 52px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 5px 5px 2px; box-shadow: 0 6px 14px rgba(27,20,15,.2); }
.cb-addon .k { margin: 0; font: 600 11px/1.2 "Poppins", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cb-addon .t { margin: 4px 0 0; font: 500 15px/1.4 "Poppins", system-ui, sans-serif; color: var(--espresso); }
.cb-addon .t b { font-weight: 600; }
.cb-addon .s { margin: 2px 0 0; font: 400 13px/1.4 "Poppins", system-ui, sans-serif; color: var(--muted); }
.cb-addon .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .cb-addon { grid-template-columns: 44px 1fr; }
  .cb-addon img { width: 44px; }
  .cb-addon .btn { grid-column: 1 / -1; justify-content: center; }
}
.dark .cb-addon { border-color: rgba(243,238,227,.16); }
.dark .cb-addon .t { color: var(--cream); }
.dark .cb-addon .k, .dark .cb-addon .s { color: rgba(243,238,227,.6); }

/* Clarity page: the PDF block */
.cb-pdf-block { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.cb-pdf-block .cb-cover { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px 10px 10px 3px; box-shadow: 0 26px 50px rgba(27,20,15,.25); }
.cb-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.cb-list li { padding-left: 22px; position: relative; font-size: 15px; color: var(--espresso); }
.cb-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.cb-price { font-size: 34px; margin: 22px 0 4px; color: var(--espresso); }
.cb-price small { font: 400 14px/1 "Poppins", system-ui, sans-serif; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.cb-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 720px) { .cb-pdf-block { grid-template-columns: 1fr; } .cb-pdf-block .cb-cover { width: min(220px, 60%); } }

/* Shop page: open and blended, no boxed cards */
.cb-shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px); margin-top: 36px; }
.cb-card { display: flex; flex-direction: column; }
.cb-card .media { height: clamp(300px, 27vw, 380px); display: flex; justify-content: center; align-items: flex-end; gap: 0; position: relative; padding-bottom: 6%; }
.cb-card .media::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 3%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,20,15,.28), rgba(27,20,15,0)); }
.cb-card .media img { position: relative; z-index: 1; height: 88%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(27,20,15,.18)); }
.cb-card .media.pair img { height: 80%; }
.cb-card .media.pair img + img { margin-left: -9%; transform: translateY(-2%); }
.cb-card .media .book { height: 80%; aspect-ratio: 2 / 3; max-width: none; object-fit: cover; border-radius: 2px 6px 6px 2px; filter: none; box-shadow: 0 22px 36px rgba(27,20,15,.28); }
.cb-card .body { padding: 18px 0 0; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); margin-top: 8px; }
.cb-card .k { margin: 0; font: 600 11px/1.2 "Poppins", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cb-card h3 { margin: 2px 0 0; font-size: 22px; line-height: 1.15; }
.cb-card .p { margin: 0; font-size: 15px; color: var(--muted); }
.cb-card .p b { color: var(--espresso); font-weight: 600; }
.cb-card .gift { margin: 4px 0 0; font-size: 13px; color: var(--red); font-weight: 500; }
.cb-card .actions { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.cb-group { margin-top: clamp(72px, 9vw, 110px); }
.cb-group > .eyebrow { margin-bottom: 0; }
.cb-card .media .cb-mini-phone { position: relative; z-index: 1; height: 86%; aspect-ratio: 9 / 19; border-radius: 26px; background: #0f0b08; padding: 7px; box-shadow: 0 22px 40px rgba(27,20,15,.28); }
.cb-card .media .cb-mini-phone img { height: 100%; width: 100%; max-width: none; object-fit: cover; object-position: center 30%; border-radius: 20px; filter: none; }
