/* ── Spend Yourself Wisely: owned book page ──────────────────── */
.book-hero {
  position: relative;
  overflow: hidden;
  background: var(--chrome-bg);
  color: var(--chrome-text);
  border-bottom: 1px solid var(--border-gold);
}
.book-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 26px, #d8b976 26px, #d8b976 27px, transparent 27px, transparent 34px, rgba(216,185,118,.33) 34px, rgba(216,185,118,.33) 35px);
}
.book-hero-inner {
  position: relative;
  max-width: 1080px;
  min-height: 650px;
  margin: 0 auto;
  padding: 96px 48px 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 72px;
}
.book-hero-copy { max-width: 590px; }
.book-hero .section-label { color: var(--gold-bright); }
.book-hero h1 {
  max-width: 600px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 6vw, 5.3rem);
  line-height: .98;
}
.book-hero h1 em, .book-final h2 em { color: var(--gold-bright); font-weight: 500; }
.book-dek {
  max-width: 570px;
  color: var(--chrome-muted);
  font-size: 1.15rem;
  line-height: 1.7;
}
.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold-bright);
}
.book-meta span { padding: 0 16px; border-left: 1px solid var(--border-gold); }
.book-meta span:first-child { padding-left: 0; border-left: 0; }
.book-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.book-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: background-color .2s ease, color .2s ease;
}
.book-button-primary { background: var(--gold); color: #173f33; }
.book-button-primary:hover { background: var(--gold-bright); }
.book-button-secondary { color: var(--chrome-text); }
.book-button-secondary:hover { background: var(--gold); color: #173f33; }
.book-note {
  margin-top: 14px;
  color: var(--chrome-muted);
  font-size: 12px;
}

/* CSS cover: an intentional stand-in for the storefront cover art.
   It keeps the page self-contained until a final cover image is supplied. */
.book-cover-wrap { display: flex; justify-content: center; }
.book-cover {
  position: relative;
  width: 300px;
  aspect-ratio: 3 / 4.15;
  padding: 42px 30px 28px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--gold);
  box-shadow: 18px 18px 0 rgba(10, 29, 23, .38), 0 0 0 7px rgba(201,169,110,.1);
  transform: rotate(2.2deg);
}
.book-cover::before, .book-cover::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 34px; height: 34px;
  border: 1px solid var(--gold-mid);
  opacity: .7;
}
.book-cover::before { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.book-cover::after { right: 18px; bottom: 18px; border-left: 0; border-top: 0; }
.book-cover-rule { height: 1px; background: var(--border-gold); }
.book-cover-rule-top { margin-bottom: 24px; }
.book-cover-kicker, .book-cover-sub, .book-cover-footer {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
}
.book-cover-kicker { color: var(--gold-deep); font-size: 9px; }
.book-cover-title {
  margin: 24px 0 24px;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: .98;
  letter-spacing: -.04em;
}
.book-cover-title em { color: var(--gold-mid); font-weight: 500; }
.book-cover-rule-mid { margin-bottom: 18px; }
.book-cover-sub { color: var(--text-muted); font-size: 8px; line-height: 1.7; }
.book-cover-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 7px;
}
.book-cover-gem { color: var(--gold-mid); font-size: 10px; }

.book-section { padding: 104px 0; background: var(--bg); }
.book-section-inner { max-width: 1060px; margin: 0 auto; padding: 0 48px; }
.book-two-col { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1fr); gap: 92px; }
.book-two-col h2, .book-band h2, .book-about h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.book-reading { max-width: 650px; padding-top: 12px; }
.book-reading p { margin-bottom: 20px; color: var(--text-muted); font-size: 1.04rem; line-height: 1.75; }
.book-reading p:last-child { margin-bottom: 0; }
.book-reading em { color: var(--text); font-family: var(--font-display); font-size: 1.1em; }

.book-band {
  padding: 92px 0 104px;
  background: var(--band-bg);
  color: var(--chrome-text);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}
.book-band .section-label { color: var(--gold-bright); }
.book-band h2 { margin-bottom: 44px; }
.book-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.book-principle { padding: 26px 24px 30px; border: 1px solid var(--band-border); background: var(--band-card); }
.principle-number { font-family: var(--font-mono); font-size: 11px; color: var(--gold-bright); letter-spacing: .15em; }
.book-principle h3 { margin: 26px 0 12px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }
.book-principle p { color: var(--chrome-muted); line-height: 1.65; font-size: .96rem; }

.book-about { background: var(--bg-alt2); }
.book-about-grid { display: grid; grid-template-columns: 92px minmax(0, 700px); gap: 36px; align-items: start; }
.book-about-mark { font-size: 42px; line-height: 1; color: var(--gold-mid); padding-top: 4px; }
.book-quote { margin-top: 26px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-style: italic; line-height: 1.5; color: var(--text); }
.book-sign { margin-top: 22px; font-family: var(--font-display); font-style: italic; color: var(--text-muted); }

.book-final { padding: 104px 0 112px; text-align: center; background: var(--bg); }
.book-final .deco-divider { display: flex; align-items: center; gap: 14px; max-width: 300px; margin: 0 auto 32px; }
.book-final .deco-divider span { height: 1px; flex: 1; background: var(--border-gold); }
.book-final .deco-divider i { color: var(--gold-mid); font-size: 12px; font-style: normal; }
.book-final h2 { margin-bottom: 20px; }
.book-final-copy { max-width: 520px; margin: 0 auto; color: var(--text-muted); }
.book-actions-centered { justify-content: center; }
.book-final .book-button-secondary { color: var(--text); }
.book-cross-sell { margin-top: 28px; color: var(--text-faint); font-size: 13px; }
.book-cross-sell a { color: var(--gold-deep); border-bottom: 1px solid var(--border-gold); }
html.dark .book-cross-sell a { color: var(--gold-bright); }

@media (max-width: 860px) {
  .book-hero-inner { min-height: 0; padding: 76px 32px 88px; grid-template-columns: 1fr 280px; gap: 42px; }
  .book-cover { width: 240px; }
  .book-cover-title { font-size: 1.85rem; }
  .book-section-inner { padding: 0 32px; }
  .book-two-col { gap: 48px; }
}
@media (max-width: 680px) {
  .book-hero-inner { display: flex; flex-direction: column; align-items: stretch; padding: 64px 24px 76px; }
  .book-hero-copy { max-width: none; }
  .book-hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .book-cover-wrap { order: -1; justify-content: center; margin-bottom: 12px; }
  .book-cover { width: 220px; padding: 34px 24px 24px; }
  .book-cover-title { margin: 18px 0; font-size: 1.7rem; }
  .book-meta span { padding: 0 10px; }
  .book-actions, .book-actions-centered { flex-direction: column; align-items: stretch; }
  .book-button { width: 100%; }
  .book-section { padding: 76px 0; }
  .book-section-inner { padding: 0 24px; }
  .book-two-col, .book-about-grid { display: block; }
  .book-reading { padding-top: 28px; }
  .book-about-mark { margin-bottom: 22px; }
  .book-principles { grid-template-columns: 1fr; }
  .book-band { padding: 76px 0; }
}