/* ============================================
   Amazing Violinist — Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --text: #2C1810;
  --text-light: #5a4538;
  --text-muted: #8a7568;
  --burgundy: #C41E3A;
  --burgundy-light: #d63350;
  --burgundy-dark: #a01830;
  --gold: #C9A84C;
  --gold-light: #d4b85e;
  --gold-dark: #a8893d;
  --border: rgba(44, 24, 16, 0.1);
  --border-light: rgba(44, 24, 16, 0.06);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-width: 1200px;
  --section-padding: 72px 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Grain / Texture Overlay --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: 0.8px; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); letter-spacing: 0.6px; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); letter-spacing: 0.4px; }
h4 { font-size: 1.3rem; }

p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
}

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover { color: var(--burgundy-light); }

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

/* --- Layout Helpers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 15%, var(--bg-alt) 100%);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  color: var(--text);
  margin-bottom: 20px;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 580px;
}

.text-center { text-align: center; }
.text-center .section-subtitle,
.text-center p { margin-left: auto; margin-right: auto; }

/* --- Musical Staff Divider --- */
.staff-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 16px 0;
  animation: staffBreath 4s ease-in-out infinite;
  opacity: 0.15;
  max-width: 100px;
  margin: 32px auto;
  will-change: transform, opacity;
}

.staff-divider span {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  color: #fff;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--burgundy-light), var(--burgundy));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 30, 58, 0.2), 0 2px 8px rgba(196, 30, 58, 0.15);
}

.btn-gold:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.15);
  transition-duration: 0.1s;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s;
}

.navbar.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(44, 24, 16, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: 1px;
  font-weight: 500;
}

.nav-logo:hover { color: var(--burgundy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--burgundy);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--burgundy); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  margin-left: 8px;
}

.nav-links a.nav-cta {
  color: #fff;
  padding: 10px 24px;
}

.nav-links a.nav-cta:hover {
  color: #fff;
}

.nav-links a.nav-cta::after {
  display: none;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero (warm, educational, classical music school) --- */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  padding: 100px 0 40px;
  background: linear-gradient(170deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-welcome {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 20px;
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(196, 30, 58, 0.2);
  background: rgba(196, 30, 58, 0.04);
}

.hero h1 {
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 400;
  line-height: 1.1;
}

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

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 6px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-subtitle {
    white-space: normal;
  }
}

.hero-author {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-features {
  display: flex;
  gap: 24px;
  margin: 16px 0 20px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-feature-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.06);
  border: 1px solid rgba(196, 30, 58, 0.12);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.hero-price small {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-dark);
  margin-top: 16px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-stars {
  color: #d4a530;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.hero-rating-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

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

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-ghost-hero {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--burgundy);
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid rgba(196, 30, 58, 0.3);
  transition: all 0.3s ease;
}

.btn-ghost-hero:hover {
  background: rgba(196, 30, 58, 0.06);
  border-color: var(--burgundy);
}

.hero-testimonial {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-light);
  max-width: 480px;
  line-height: 1.6;
  padding-left: 16px;
  border-left: 2px solid rgba(196, 30, 58, 0.2);
}


/* --- Home Author Preview --- */
.home-author-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.home-author-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(44, 24, 16, 0.12);
}

.home-author-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 12px;
}

.home-author-text .section-title {
  margin-bottom: 16px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-cover-img {
  width: 360px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 24px 48px rgba(44, 24, 16, 0.15), 0 0 60px rgba(201, 168, 76, 0.05);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.book-cover-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(44, 24, 16, 0.22);
}

.book-cover-placeholder {
  width: 400px;
  height: 500px;
  background: linear-gradient(145deg, var(--bg-alt), #e8e0d4);
  border: 1px solid rgba(44, 24, 16, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  box-shadow: 0 32px 64px rgba(44, 24, 16, 0.12), 0 0 80px rgba(201, 168, 76, 0.05);
}

.book-cover-placeholder::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(196, 30, 58, 0.12);
}

.book-cover-placeholder .cover-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--burgundy);
  text-align: center;
  padding: 0 32px;
}

.book-cover-placeholder .cover-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

.book-cover-placeholder .cover-author {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: absolute;
  bottom: 40px;
}

/* Bow line animation */
.bow-line {
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  height: 2px;
  overflow: hidden;
  opacity: 0.1;
  pointer-events: none;
}

.bow-line::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: bowSlide 6s ease-in-out infinite;
}

@keyframes bowSlide {
  0%, 100% { transform: translateX(-60%); }
  50% { transform: translateX(60%); }
}

/* --- Pillar Cards --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.pillar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
}

.section-alt .pillar-card {
  background: var(--bg-alt);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 2px;
  background: var(--burgundy);
  transition: width 0.4s;
}

.pillar-card:hover {
  border-color: rgba(196, 30, 58, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 24, 16, 0.08);
}

.pillar-card:hover::before { width: 80px; }

.pillar-icon {
  display: block;
  margin-bottom: 16px;
  color: var(--burgundy);
  line-height: 1;
}

.pillar-icon svg {
  display: inline-block;
}

.pillar-card h3 {
  color: var(--text);
  margin-bottom: 12px;
}

.pillar-card:nth-child(3) .pillar-icon {
  margin-bottom: -10px;
}

.pillar-card:nth-child(3) h3 {
  line-height: 1;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 auto;
}

/* --- About Book Section --- */
.about-book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-book-grid .highlight-list {
  list-style: none;
  margin-top: 32px;
}

.about-book-grid .highlight-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border-light);
}

.about-book-grid .highlight-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 1px;
  background: var(--burgundy);
}

.perfect-for {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 48px;
}

.perfect-for h3 {
  color: var(--burgundy);
  margin-bottom: 24px;
}

.perfect-for ul {
  list-style: none;
}

.perfect-for ul li {
  padding: 10px 0;
  color: var(--text-light);
  padding-left: 20px;
  position: relative;
}

.perfect-for ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--burgundy);
}

/* --- Learn Grid --- */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.learn-item {
  padding: 36px 28px;
  border-left: 2px solid rgba(196, 30, 58, 0.15);
  transition: all 0.3s;
}

.learn-item:hover {
  border-left-color: var(--burgundy);
  background: rgba(196, 30, 58, 0.03);
}

.learn-item h4 {
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 8px;
}

.learn-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Benefits --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.benefit-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.section-alt .benefit-card {
  background: var(--bg-alt);
}

.benefit-card:hover {
  border-color: rgba(196, 30, 58, 0.15);
  box-shadow: 0 8px 24px rgba(44, 24, 16, 0.06);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 30, 58, 0.2);
  color: var(--burgundy);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.benefit-card h4 {
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 4px;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Author Preview --- */
.author-preview {
  display: flex;
  align-items: center;
  gap: 48px;
}

.book-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* --- Available At strip --- */
.available-at {
  padding: 18px 0;
  background: var(--bg-alt);
}

.hero-image {
  position: relative;
}

.hero-available-at {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -56px;
  text-align: center;
  white-space: nowrap;
}

.hero-available-at .available-at-label {
  margin-bottom: 4px;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--text);
}

.hero-available-at .available-at-links {
  gap: 8px;
}

.hero-available-at .available-at-links a {
  font-size: 0.85rem;
  padding: 4px 12px;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.available-at-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-style: italic;
}

.available-at-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.available-at-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--burgundy);
  text-decoration: none;
  letter-spacing: 0.3px;
  border: 1.5px solid var(--burgundy);
  border-radius: 6px;
  padding: 6px 18px;
  transition: background 0.3s ease, color 0.3s ease;
}

.available-at-links a:hover {
  background: var(--burgundy);
  color: #fff;
}

.chapters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  margin-top: 24px;
}

.author-photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-alt), #e4dbd0);
  border: 2px solid rgba(196, 30, 58, 0.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(196, 30, 58, 0.25);
}

.author-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(196, 30, 58, 0.15);
  flex-shrink: 0;
}

.author-info h3 {
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.author-info .author-title {
  font-family: var(--font-display);
  color: var(--burgundy);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.author-info p {
  margin-bottom: 24px;
}

/* --- Quote Section --- */
.quote-section {
  background: linear-gradient(135deg, var(--bg-alt), #e8e0d4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

.quote-block blockquote::before {
  content: '\201C';
  font-size: 6rem;
  color: var(--burgundy);
  opacity: 0.2;
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: var(--font-display);
  line-height: 1;
}

.quote-block cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--burgundy);
  font-style: normal;
}

/* --- Final CTA --- */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  color: var(--text);
  margin-bottom: 8px;
}

.final-cta .cta-available {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 32px;
}

.final-cta .cta-small {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand .nav-logo {
  font-size: 1.3rem;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-nav {
  text-align: center;
}

.footer-nav h4 {
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav ul a:hover { color: var(--burgundy); }

.footer-social {
  text-align: right;
}

.footer-social h4 {
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 16px;
  font-size: 1rem;
}

.social-icons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.social-icons a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: var(--burgundy);
  font-size: 0.85rem;
  transition: all 0.3s;
}

.social-icons a:hover {
  color: var(--burgundy-light);
  transform: translateY(-2px);
  opacity: 0.8;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 100px 0 36px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at center top, rgba(196, 30, 58, 0.03), var(--bg-alt));
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 1px;
  background: var(--burgundy);
}

.page-header h1 {
  color: var(--text);
  margin-bottom: 12px;
}

.page-header p {
  margin: 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
}

/* --- Inner page content blocks --- */
.content-block {
  padding: 80px 0;
}

.content-block + .content-block {
  border-top: 1px solid var(--border-light);
}

.content-prose {
  max-width: 720px;
}

.content-prose h2 {
  color: var(--text);
  margin-bottom: 24px;
}

.content-prose h3 {
  color: var(--burgundy);
  margin-bottom: 16px;
  margin-top: 40px;
}

.content-prose p {
  margin-bottom: 20px;
  max-width: none;
}

.content-prose ul {
  list-style: none;
  margin: 24px 0;
}

.content-prose ul li {
  padding: 10px 0 10px 24px;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
}

.content-prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 1px;
  background: var(--burgundy);
}

/* --- Tip Cards (resources page) --- */
.tips-section {
  margin: 48px 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tip-card {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 2px solid rgba(196, 30, 58, 0.25);
  transition: all 0.3s;
}

.section-alt .tip-card {
  background: var(--bg-alt);
}

.tip-card:hover {
  border-left-color: var(--burgundy);
  background: rgba(196, 30, 58, 0.02);
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.05);
}

.tip-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--burgundy);
  opacity: 0.5;
  flex-shrink: 0;
  width: 32px;
}

.tip-card p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: none;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.08);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-info h3 {
  color: var(--text);
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 32px;
}

.contact-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.contact-socials a {
  padding: 12px 24px;
  border: 1px solid rgba(196, 30, 58, 0.2);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.3s;
  letter-spacing: 1px;
}

.contact-socials a:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }
.reveal-delay-7 { transition-delay: 0.56s; }
.reveal-delay-8 { transition-delay: 0.64s; }
.reveal-delay-9 { transition-delay: 0.72s; }
.reveal-delay-10 { transition-delay: 0.80s; }

/* --- Page fade in --- */
.fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-delay-1 { animation-delay: 0.08s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.16s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.24s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.32s; opacity: 0; }
.fade-in-delay-5 { animation-delay: 0.40s; opacity: 0; }

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

/* --- Volume 1 page --- */
.book-hero {
  padding: 100px 0 36px;
}

.book-hero-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.book-hero-info h1 {
  color: var(--text);
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.book-meta {
  display: flex;
  gap: 32px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.book-meta-item {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.book-meta-item strong {
  color: var(--text);
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--burgundy);
  margin: 24px 0;
}

.price-tag small {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Chapter list */
.chapter-list {
  counter-reset: chapter;
  list-style: none;
  margin: 32px 0;
}

.chapters-grid .chapter-list {
  margin: 0;
}

.chapters-grid .chapter-list[start="6"] {
  counter-reset: chapter 5;
}

.chapter-list li {
  counter-increment: chapter;
  padding: 16px 0 16px 48px;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
  font-size: 1.05rem;
  transition: padding-left 0.3s ease, color 0.3s;
}

.chapter-list li:hover {
  padding-left: 56px;
}

.chapter-list li::before {
  content: counter(chapter, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--burgundy);
  opacity: 0.5;
}

/* --- About page --- */
.bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.bio-photo-placeholder {
  width: 280px;
  height: 360px;
  background: linear-gradient(180deg, var(--bg-alt), #e4dbd0);
  border: 1px solid rgba(196, 30, 58, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(196, 30, 58, 0.2);
  position: sticky;
  top: 120px;
}

.bio-photo {
  width: 280px;
  height: 360px;
  object-fit: cover;
  border: 1px solid rgba(196, 30, 58, 0.12);
  position: sticky;
  top: 120px;
  align-self: start;
}

/* --- Purchase / Get Your Copy Section --- */
.purchase-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}

.purchase-section .section-label {
  color: var(--burgundy);
}

.purchase-book-info {
  margin-bottom: 8px;
}

.purchase-book-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 400;
}

.purchase-book-info p {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.currency-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0 32px;
  flex-wrap: wrap;
}

.detected-location {
  display: none;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.currency-select {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  outline: none;
}

.currency-select:focus {
  border-color: var(--burgundy);
}

/* --- Purchase Price Display (replaces bundle cards) --- */
.purchase-price-display {
  margin: 24px 0 32px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.purchase-unit-price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  letter-spacing: 0.5px;
  color: var(--burgundy);
  line-height: 1;
}

.purchase-unit-currency {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
}

.purchase-unit-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.purchase-tier-note {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Quantity Stepper (checkout) --- */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 160px;
}

.qty-stepper button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.qty-stepper button:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.qty-stepper input {
  width: 56px;
  height: 44px;
  border: 1px solid var(--border);
  border-left: none;
  border-right: none;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-inner-spin-button,
.qty-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.discount-message {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--burgundy);
  margin-top: 8px;
  min-height: 1.4em;
}

.purchase-buy-btn {
  font-size: 0.95rem;
  padding: 18px 48px;
}

.purchase-shipping {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}

.testimonial-card {
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.section-alt .testimonial-card {
  background: var(--bg-alt);
}

.testimonial-card:hover {
  border-color: rgba(196, 30, 58, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(44, 24, 16, 0.08);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--burgundy);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.testimonial-placeholder-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Verified Badge --- */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- Star Rating --- */
.star-rating {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  transition: color 0.3s;
}

.faq-question:hover { color: var(--burgundy); }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--burgundy);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 20px;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: none;
  line-height: 1.7;
}

/* --- Newsletter --- */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input:focus { border-color: var(--burgundy); }

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 30, 58, 0.15);
  border-radius: 50%;
  color: var(--burgundy);
  background: rgba(196, 30, 58, 0.04);
}

.trust-badge span {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Credibility Bar --- */
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.credibility-item {
  text-align: center;
  padding: 24px 16px;
}

.credibility-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 8px;
}

.credibility-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 auto;
}

/* --- Hero Credential (index) --- */
.hero-credential {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--burgundy);
}

/* --- Hero Mini Stats (index) --- */
.hero-mini-stats {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-mini-stat {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 4px 12px;
  border: 1px solid var(--border);
  background: rgba(196, 30, 58, 0.02);
}

/* --- About Hero Stats --- */
.about-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.about-hero-stat {
  text-align: center;
}

.about-hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--burgundy);
  line-height: 1.2;
}

.about-hero-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.about-hero-stat small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2px;
}

/* --- Checkout Page --- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.order-summary {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: sticky;
  top: 120px;
}

.order-summary h3 {
  color: var(--text);
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-light);
}

.order-summary-item.total {
  border-bottom: none;
  padding-top: 16px;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}

.order-summary-item.total span:last-child {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--burgundy);
}

.order-summary-item.savings {
  border-bottom: none;
  font-size: 0.85rem;
  color: var(--burgundy);
  font-weight: 500;
}

.qty-selector {
  display: flex;
  gap: 12px;
}

.qty-option {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
}

.qty-option:hover {
  border-color: rgba(196, 30, 58, 0.25);
}

.qty-option.selected {
  border-color: var(--burgundy);
  background: rgba(196, 30, 58, 0.03);
}

.qty-option strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}

.qty-option small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-features { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-testimonial { margin: 0 auto; padding-left: 0; border-left: none; border-top: 2px solid rgba(196, 30, 58, 0.2); padding-top: 16px; }
  .hero-image { margin-bottom: 32px; }
  .home-author-grid { grid-template-columns: 1fr; text-align: center; max-width: 600px; }
  .home-author-photo { max-width: 240px; margin: 0 auto; }
  .book-cover-placeholder { width: 300px; height: 380px; }
  .book-cover-img { width: 300px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .about-book-grid { grid-template-columns: 1fr; gap: 48px; }
  .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .book-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .book-hero-grid .book-cover-placeholder { margin: 0 auto; }
  .book-hero-grid .book-cover-img { margin: 0 auto; }
  .book-meta { justify-content: center; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo-placeholder { position: static; margin: 0 auto; }
  .bio-photo { position: static; margin: 0 auto; display: block; }
  .checkout-grid { grid-template-columns: 1fr; gap: 48px; }
  .order-summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-content { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer-social { text-align: center; }
  .social-icons { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 768px) {
  :root { --section-padding: 44px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(250, 247, 242, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }

  .pillars-grid { grid-template-columns: 1fr; }
  .learn-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .credibility-grid { grid-template-columns: repeat(2, 1fr); }
  .author-preview { flex-direction: column; text-align: center; max-width: 100% !important; }
  .author-preview .author-photo { margin: 0 auto; }
  .book-content-grid { grid-template-columns: 1fr; gap: 32px; }
  .chapters-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .hero-mini-stats { justify-content: center; }
  .checkout-form .form-row { grid-template-columns: 1fr; }
  .book-cover-placeholder { width: 260px; height: 330px; }
  .book-cover-img { width: 260px; }
  .trust-badges { gap: 24px; }
}

/* --- Musical Animations --- */
@keyframes staffBreath {
  0%, 100% { transform: scaleY(1); opacity: 0.15; }
  50% { transform: scaleY(1.3); opacity: 0.18; }
}

@keyframes cardGrow {
  from { transform: scale(0.98); }
  to { transform: scale(1); }
}

.pillar-card.visible {
  animation: cardGrow 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -100%;
  width: 80px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateY(-50%) skewX(-20deg);
  transition: none;
}

.btn-gold:hover::after {
  animation: bowMark 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bowMark {
  from { right: 100%; }
  to { right: -100%; }
}

/* --- Bow-Stroke Underline --- */
.heading-bow::after {
  content: '';
  display: block;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  margin-top: 12px;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.heading-bow.visible::after {
  width: 80px;
}

.text-center .heading-bow::after {
  margin-left: auto;
  margin-right: auto;
}

/* --- Reduced Motion (accessibility) --- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .fade-in, .pillar-card, .testimonial-card, .chapter-list li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .scroll-progress { display: none; }
  .staff-divider { animation: none; }
  .pillar-card.visible { animation: none; }
  .btn-gold::after { display: none; }
  .heading-bow::after { width: 80px; transition: none; }
  .hero-image { transform: none !important; }
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy));
  background-size: 200% 100%;
  width: 0%;
  z-index: 1001;
  pointer-events: none;
}
