/* ==========================================================================
   THE HEALING POWER OF CRYSTALS — Magda Palmer
   Design System: Luminous Quartz Alabaster × Royal Amethyst × Cosmic Gold
   Extracted directly from the 2024 Edition Cover Art by Samantha Tro
   ========================================================================== */

:root {
  --alabaster: #faf8f5;
  --quartz-tint: #f3eff8;
  --paper: #ffffff;
  --cosmic: #181232;
  --cosmic-deep: #110c24;
  --cosmic-mid: #24194d;

  /* Mineral & Celestial Pigments */
  --amethyst: #4b2384;
  --amethyst-bright: #6432ad;
  --amethyst-soft: #ede6f8;
  --sapphire: #2a56bd;
  --gold: #b5892d;
  --gold-bright: #d4aa4c;
  --gold-light: #ebd089;

  /* Ink & Typography */
  --ink: #1b1729;
  --ink-muted: #4f4b61;
  --ink-subtle: #736f85;
  --light: #faf8f5;
  --light-muted: rgba(250, 248, 245, 0.82);
  --light-subtle: rgba(250, 248, 245, 0.56);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 18px;
  --shadow-crystal: 0 20px 54px rgba(42, 24, 82, 0.09);
  --shadow-elevated: 0 28px 66px rgba(24, 18, 50, 0.2);
  --shadow-cosmic: 0 30px 72px rgba(8, 5, 22, 0.52);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--alabaster);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--alabaster);
  line-height: 1.68;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1180px, 91vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Prismatic Crystal Shimmer Line */
.prism-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(42, 86, 189, 0.5), rgba(100, 50, 173, 0.7), rgba(212, 170, 76, 0.75), transparent);
}

/* ==========================================================================
   HEADER & FACETED CRYSTAL PROGRESS RAIL
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(75, 35, 132, 0.11);
  color: var(--ink);
}

.prism-rail {
  width: 100%;
  height: 3px;
  background: rgba(75, 35, 132, 0.08);
  overflow: hidden;
}

.prism-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sapphire), var(--amethyst-bright), var(--gold-bright));
  transition: width 0.08s linear;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.crystal-emblem {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.crystal-emblem svg {
  width: 38px;
  height: 38px;
}

.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.04;
  color: var(--ink);
  white-space: nowrap;
}

.brand-text span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-top: 2px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}

.main-nav a {
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--amethyst);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.89rem;
  padding: 13px 24px;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease), background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-amethyst {
  background: linear-gradient(135deg, var(--amethyst-bright), var(--amethyst));
  color: #fff;
  box-shadow: 0 10px 28px rgba(75, 35, 132, 0.3);
}

.btn-amethyst:hover {
  background: linear-gradient(135deg, #743cc4, var(--amethyst-bright));
  box-shadow: 0 14px 36px rgba(75, 35, 132, 0.42);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-bright));
  color: var(--cosmic-deep);
  box-shadow: 0 12px 28px rgba(181, 137, 45, 0.32);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f3dc9e, var(--gold-light));
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(75, 35, 132, 0.26);
  color: var(--amethyst);
}

.btn-outline-dark:hover {
  border-color: var(--amethyst);
  background: #fff;
}

.btn-outline-light {
  background: rgba(250, 248, 245, 0.08);
  border-color: rgba(235, 208, 137, 0.45);
  color: var(--light);
}

.btn-outline-light:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(235, 208, 137, 0.12);
}

.nav-cta {
  padding: 9px 18px;
  font-size: 0.81rem;
}

.menu-toggle {
  display: none;
  background: var(--paper);
  border: 1px solid rgba(75, 35, 132, 0.2);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: var(--ink);
}

.mobile-drawer {
  display: none;
  background: var(--paper);
  border-bottom: 1px solid rgba(75, 35, 132, 0.14);
  padding: 18px 5vw 24px;
  flex-direction: column;
  gap: 14px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 0;
}

/* ==========================================================================
   HERO — LUMINOUS QUARTZ ALABASTER & FACETED CRYSTAL FRAME
   ========================================================================== */

.hero {
  position: relative;
  background: var(--alabaster);
  color: var(--ink);
  padding: 68px 0 88px;
  overflow: hidden;
  isolation: isolate;
}

/* Prismatic light dispersion behind hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(100, 50, 173, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 86% 24%, rgba(42, 86, 189, 0.1) 0%, transparent 44%),
    radial-gradient(circle at 68% 82%, rgba(212, 170, 76, 0.13) 0%, transparent 44%);
  z-index: 0;
  pointer-events: none;
}

#crystalCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.eyebrow-gem {
  width: 10px;
  height: 10px;
  background: var(--amethyst-bright);
  transform: rotate(45deg);
  display: inline-block;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--amethyst);
  font-weight: 600;
}

.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.95vw, 1.5rem);
  font-style: italic;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-deck {
  font-size: 1.01rem;
  color: var(--ink-muted);
  max-width: 580px;
  margin-bottom: 26px;
  line-height: 1.76;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.quick-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  font-size: 0.76rem;
}

.quick-buy-row .q-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.67rem;
  font-weight: 800;
  color: var(--gold);
  margin-right: 2px;
}

.quick-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid rgba(75, 35, 132, 0.16);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(42, 24, 82, 0.05);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.quick-pill:hover {
  border-color: var(--amethyst);
  color: var(--amethyst);
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(75, 35, 132, 0.13);
}

.proof-cell strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--ink);
  font-weight: 700;
}

.proof-cell span {
  font-size: 0.77rem;
  color: var(--ink-subtle);
}

/* Crystal Facet Book Showcase */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.crystal-pedestal {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1.06;
  display: grid;
  place-items: center;
}

/* Geometric faceted gold polygon echoing the 2024 cover frame */
.facet-svg {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  pointer-events: none;
  z-index: 1;
}

.facet-spin-slow {
  transform-origin: center;
  animation: facetRotate 54s linear infinite;
}

.facet-spin-rev {
  transform-origin: center;
  animation: facetRotateRev 40s linear infinite;
}

@keyframes facetRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes facetRotateRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.book-frame {
  position: relative;
  z-index: 3;
  width: 72%;
  max-width: 315px;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  box-shadow:
    0 30px 62px rgba(24, 18, 50, 0.24),
    0 0 0 1px rgba(181, 137, 45, 0.35);
  transition: transform 0.45s var(--ease);
}

.book-frame:hover {
  transform: translateY(-7px) scale(1.015);
}

.book-frame img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.book-cover-2013 {
  display: none;
}

.book-frame.show-2013 .book-cover-2024 { display: none; }
.book-frame.show-2013 .book-cover-2013 { display: block; }

.floating-crystal-chip {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(181, 137, 45, 0.36);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 12px 28px rgba(24, 18, 50, 0.12);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-top-left {
  top: 18px;
  left: 0;
}

.chip-bottom-right {
  bottom: 24px;
  right: 0;
}

.chip-dot {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--amethyst-bright);
  flex-shrink: 0;
}

.chip-dot.gold {
  background: var(--gold-bright);
}

.edition-toggle {
  margin-top: 16px;
  display: inline-flex;
  background: var(--paper);
  border: 1px solid rgba(75, 35, 132, 0.16);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  position: relative;
  z-index: 4;
  box-shadow: 0 6px 18px rgba(42, 24, 82, 0.06);
}

.ed-toggle-btn {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.ed-toggle-btn.active {
  background: var(--cosmic);
  color: var(--gold-light);
}

.cover-credit {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-subtle);
  text-align: center;
}

/* ==========================================================================
   MINERAL MARQUEE RIBBON
   ========================================================================== */

.mineral-ribbon {
  background: linear-gradient(90deg, var(--cosmic-deep), var(--amethyst), var(--cosmic-deep));
  color: var(--light);
  padding: 13px 0;
  overflow: hidden;
  border-top: 1px solid rgba(235, 208, 137, 0.25);
  border-bottom: 1px solid rgba(235, 208, 137, 0.25);
}

.ribbon-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ribbonFlow 38s linear infinite;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  align-items: center;
}

.ribbon-track b {
  color: var(--gold-light);
  font-size: 0.78rem;
}

@keyframes ribbonFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SHARED SECTION STYLING
   ========================================================================== */

.section-pad {
  padding: 92px 0;
  position: relative;
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

.section-quartz {
  background: var(--quartz-tint);
  color: var(--ink);
}

.section-cosmic {
  background: var(--cosmic);
  color: var(--light);
  overflow: hidden;
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 14px;
  margin-bottom: 34px;
  border-bottom: 1px solid currentColor;
  opacity: 0.62;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.9vw, 3.25rem);
  font-weight: 600;
  line-height: 1.09;
  margin-bottom: 18px;
}

.section-title em {
  font-style: italic;
  color: var(--amethyst);
}

.section-cosmic .section-title em {
  color: var(--gold-light);
}

/* ==========================================================================
   01 / WHY THIS BOOK DISMANTLES COMMERCIAL MYTHS (WITH CRYSTAL PHOTO)
   ========================================================================== */

.science-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 50px;
}

.science-copy p {
  font-size: 1.01rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
  line-height: 1.78;
}

.science-callout {
  margin-top: 12px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--amethyst-soft);
  border-left: 4px solid var(--amethyst);
  font-family: var(--serif);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
}

.crystal-photo-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(181, 137, 45, 0.32);
  box-shadow: var(--shadow-crystal);
  background: var(--paper);
}

.crystal-photo-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.crystal-photo-caption {
  padding: 16px 20px;
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  border-top: 1px solid rgba(75, 35, 132, 0.08);
}

.crystal-photo-caption strong {
  color: var(--amethyst);
}

.pillars-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.crystal-card {
  background: var(--alabaster);
  border: 1px solid rgba(75, 35, 132, 0.12);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.crystal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sapphire), var(--amethyst-bright), var(--gold-bright));
}

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

.crystal-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amethyst-soft);
  color: var(--amethyst);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.crystal-card h3 {
  font-family: var(--serif);
  font-size: 1.52rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.crystal-card p {
  font-size: 0.93rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ==========================================================================
   02 / INTERACTIVE CELESTIAL CRYSTAL & PLANETARY RESONATOR (COSMIC BAND)
   ========================================================================== */

.cosmic-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(100, 50, 173, 0.34) 0%, transparent 45%),
    radial-gradient(circle at 84% 72%, rgba(42, 86, 189, 0.28) 0%, transparent 46%),
    radial-gradient(circle at 52% 10%, rgba(212, 170, 76, 0.14) 0%, transparent 40%);
  pointer-events: none;
}

.resonator-header {
  max-width: 740px;
  margin-bottom: 36px;
}

.resonator-header p {
  color: var(--light-muted);
  font-size: 1.01rem;
}

.planet-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.planet-btn {
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(250, 248, 245, 0.06);
  border: 1px solid rgba(235, 208, 137, 0.22);
  color: var(--light-muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s var(--ease);
}

.planet-btn:hover {
  border-color: var(--gold-light);
  color: #fff;
}

.planet-btn.active {
  background: linear-gradient(135deg, rgba(100, 50, 173, 0.65), rgba(42, 86, 189, 0.5));
  border-color: var(--gold-light);
  color: #fff;
  box-shadow: 0 10px 28px rgba(100, 50, 173, 0.35);
}

.planet-stage {
  background: rgba(17, 12, 36, 0.78);
  border: 1px solid rgba(235, 208, 137, 0.26);
  border-radius: 24px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-cosmic);
}

.planet-panel {
  display: none;
  animation: fadeUp 0.35s var(--ease);
}

.planet-panel.active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.planet-tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(235, 208, 137, 0.15);
  border: 1px solid rgba(235, 208, 137, 0.42);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.planet-panel h3 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 14px;
}

.planet-panel p {
  color: var(--light-muted);
  font-size: 0.98rem;
  line-height: 1.76;
  margin-bottom: 16px;
}

.stone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.stone-chip {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(250, 248, 245, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.cosmic-specimen-box {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(235, 208, 137, 0.32);
  position: relative;
  background: var(--cosmic-deep);
}

.cosmic-specimen-box img {
  width: 100%;
  height: 365px;
  object-fit: cover;
}

.specimen-caption {
  padding: 14px 18px;
  background: rgba(17, 12, 36, 0.94);
  font-size: 0.8rem;
  color: var(--light-muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.specimen-caption strong {
  color: var(--gold-light);
}

/* ==========================================================================
   03 / INSIDE THE 254-PAGE MANUAL + VERBATIM EXCERPT READER
   ========================================================================== */

.inside-grid {
  display: grid;
  grid-template-columns: 0.44fr 0.56fr;
  gap: 38px;
  align-items: start;
}

.toc-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.toc-btn {
  text-align: left;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid rgba(75, 35, 132, 0.14);
  transition: all 0.2s ease;
}

.toc-btn:hover {
  border-color: var(--amethyst);
}

.toc-btn.active {
  background: var(--cosmic);
  color: var(--light);
  border-color: var(--cosmic);
  box-shadow: 0 12px 28px rgba(24, 18, 50, 0.18);
}

.toc-btn span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.toc-btn.active span {
  color: var(--gold-light);
}

.toc-btn strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 600;
}

.excerpt-spread {
  background: var(--paper);
  border: 1px solid rgba(75, 35, 132, 0.14);
  border-radius: 8px 22px 22px 8px;
  padding: 42px 44px;
  box-shadow:
    inset 14px 0 24px -14px rgba(24, 18, 50, 0.14),
    var(--shadow-crystal);
}

.spread-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-subtle);
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(75, 35, 132, 0.12);
}

.excerpt-panel {
  display: none;
  animation: fadeUp 0.35s var(--ease);
}

.excerpt-panel.active {
  display: block;
}

.excerpt-panel h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.excerpt-sub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 18px;
}

.prose {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.74;
  color: var(--ink);
  margin-bottom: 16px;
}

.prose.dropcap::first-letter {
  float: left;
  font-size: 3.7rem;
  line-height: 0.82;
  padding-right: 10px;
  padding-top: 4px;
  color: var(--amethyst);
  font-weight: 700;
}

.excerpt-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(75, 35, 132, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.excerpt-footer span {
  font-size: 0.87rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   04 / REVIEWS & 35-YEAR CLASSIC LEGACY + QUARTZ STILL LIFE
   ========================================================================== */

.reviews-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.review-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.review-card {
  background: var(--alabaster);
  border: 1px solid rgba(75, 35, 132, 0.12);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
}

.review-card.highlight {
  background: var(--cosmic);
  color: var(--light);
  border-color: rgba(235, 208, 137, 0.32);
  box-shadow: var(--shadow-elevated);
}

.review-stars {
  color: var(--gold-bright);
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.review-card blockquote {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 16px;
}

.review-card cite {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amethyst);
}

.review-card.highlight cite {
  color: var(--gold-light);
}

.review-card small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-subtle);
  margin-top: 2px;
}

.review-card.highlight small {
  color: var(--light-subtle);
}

.legacy-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(181, 137, 45, 0.3);
  background: var(--alabaster);
  box-shadow: var(--shadow-crystal);
}

.legacy-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.legacy-body {
  padding: 28px;
}

.legacy-body h3 {
  font-family: var(--serif);
  font-size: 1.72rem;
  margin-bottom: 10px;
}

.legacy-body p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.legacy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(75, 35, 132, 0.12);
}

.legacy-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--amethyst);
}

.legacy-stats span {
  font-size: 0.74rem;
  color: var(--ink-subtle);
}

/* ==========================================================================
   05 / ABOUT MAGDA PALMER (CREDENTIALS & ETHOS)
   ========================================================================== */

.author-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.author-visual-card {
  background: var(--paper);
  border: 1px solid rgba(181, 137, 45, 0.3);
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: var(--shadow-crystal);
}

.credential-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.credential-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.cred-diamond {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--amethyst-bright);
  margin-top: 8px;
  flex-shrink: 0;
}

.author-copy p {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
  line-height: 1.78;
}

.gaia-quote {
  margin: 22px 0;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--paper);
  border-left: 4px solid var(--gold-bright);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.32rem;
  color: var(--ink);
}

.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--amethyst);
}

.author-links a {
  border-bottom: 1px solid rgba(75, 35, 132, 0.35);
  padding-bottom: 2px;
}

.author-links a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ==========================================================================
   06 / CHOOSE YOUR EDITION — HIGH-CONVERSION CHECKOUT HUB
   ========================================================================== */

.editions-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.editions-intro p {
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.editions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.edition-card {
  background: var(--alabaster);
  border: 1px solid rgba(75, 35, 132, 0.14);
  border-radius: 22px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.edition-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-crystal);
}

.edition-card.featured {
  background: linear-gradient(165deg, var(--cosmic-mid) 0%, var(--cosmic) 100%);
  color: var(--light);
  border: 1.5px solid var(--gold-bright);
  box-shadow: var(--shadow-elevated);
}

.edition-ribbon {
  position: absolute;
  top: -13px;
  left: 28px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-bright));
  color: var(--cosmic-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.edition-type {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.edition-card.featured .edition-type {
  color: var(--gold-light);
}

.edition-card h3 {
  font-family: var(--serif);
  font-size: 1.98rem;
  margin-bottom: 8px;
}

.edition-price {
  font-family: var(--serif);
  font-size: 2.45rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.edition-price small {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-subtle);
}

.edition-card.featured .edition-price small {
  color: var(--light-subtle);
}

.edition-isbn {
  font-size: 0.75rem;
  color: var(--ink-subtle);
  margin-bottom: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.edition-card.featured .edition-isbn {
  color: var(--light-subtle);
}

.edition-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.edition-card.featured .edition-perks {
  color: var(--light-muted);
}

.edition-perks li {
  padding-left: 20px;
  position: relative;
}

.edition-perks li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amethyst-bright);
  font-size: 0.65rem;
  line-height: 2.2;
}

.edition-card.featured .edition-perks li::before {
  color: var(--gold-light);
}

.edition-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edition-actions .btn {
  width: 100%;
}

.retailer-sublinks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.edition-card.featured .retailer-sublinks {
  color: var(--light-muted);
}

.retailer-sublinks a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.retailer-sublinks a:hover {
  color: var(--amethyst);
}

.edition-card.featured .retailer-sublinks a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   CLOSING BANNER & FOOTER
   ========================================================================== */

.closing-band {
  background: linear-gradient(135deg, var(--cosmic-deep) 0%, var(--amethyst) 55%, var(--cosmic) 100%);
  color: var(--light);
  padding: 78px 0;
  text-align: center;
}

.closing-band h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 600;
  max-width: 780px;
  margin: 0 auto 16px;
  line-height: 1.15;
}

.closing-band h2 em {
  color: var(--gold-light);
  font-style: italic;
}

.closing-band p {
  color: var(--light-muted);
  max-width: 580px;
  margin: 0 auto 28px;
}

.site-footer {
  background: var(--cosmic-deep);
  color: rgba(250, 248, 245, 0.68);
  padding: 36px 0;
  font-size: 0.84rem;
  border-top: 1px solid rgba(235, 208, 137, 0.14);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   MODAL — FREE CRYSTAL SELECTION CHECKLIST
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 12, 36, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 300;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--paper);
  color: var(--ink);
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 22px;
  padding: 34px 32px;
  position: relative;
  border: 1px solid rgba(181, 137, 45, 0.4);
  box-shadow: 0 32px 80px rgba(17, 12, 36, 0.48);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(75, 35, 132, 0.2);
  background: var(--alabaster);
  font-size: 1.25rem;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.modal-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 8px;
}

.modal-card p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.lead-form {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.lead-form input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(75, 35, 132, 0.25);
  font-size: 0.94rem;
  outline: none;
}

.lead-form input:focus {
  border-color: var(--amethyst);
}

.guide-unlocked {
  display: none;
  margin-top: 16px;
  background: var(--alabaster);
  border: 1px solid rgba(75, 35, 132, 0.16);
  border-radius: 16px;
  padding: 20px;
}

.guide-unlocked.show {
  display: block;
}

.guide-unlocked ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 12px 0 18px;
}

/* ==========================================================================
   SCROLL REVEAL & RESPONSIVE
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-grid,
  .science-grid,
  .planet-stage,
  .inside-grid,
  .reviews-layout,
  .author-grid,
  .editions-grid,
  .pillars-3 {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 48px 0 68px;
  }
}

@media (max-width: 720px) {
  .hero-proof-strip {
    grid-template-columns: 1fr;
  }
  .section-pad {
    padding: 66px 0;
  }
  .planet-stage,
  .excerpt-spread {
    padding: 26px 20px;
  }
  .lead-form {
    flex-direction: column;
  }
  .nav-cta {
    display: none;
  }
  .floating-crystal-chip {
    display: none;
  }
}
