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

:root {
  --cream: #FAF8F5;
  --cream-deep: #F3EDE6;
  --warm-white: #FDFCFA;
  --navy: #2C3E5A;
  --navy-light: #3D5A80;
  --slate: #4A6274;
  --muted-blue: #7B9BB5;
  --pale-blue: #D6E4F0;
  --ice-blue: #EBF2F8;
  --gold: #C9A96E;
  --gold-light: #D4BC8A;
  --gold-pale: #E8D9B8;
  --charcoal: #2C2C2C;
  --text-dark: #33302D;
  --text-body: #4A4540;
  --text-muted: #8A837A;
  --border-warm: #E5DFD8;
  --border-light: #EDE8E2;
  --card-bg: #FFFFFF;
}

/* Native smooth-scroll is intentionally OFF — luxy.js owns full-page scrolling.
   scroll-behavior: smooth here would double-ease and fight luxy's inertia. */
html { scroll-behavior: auto; }

/* luxy wrapper — kept in normal flow until luxy.init() makes it position:fixed.
   will-change hints the compositor for a smoother transform. */
#luxy { will-change: transform; }

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a, button, input, textarea { cursor: none; }

/* ===================== LOADING SCREEN ===================== */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.book-flip-container {
  width: 140px; height: 180px;
  perspective: 900px;
  position: relative;
}

.book-base {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #f0ece6 0%, #e8e2d8 100%);
  border-radius: 2px 8px 8px 2px;
  border: 1px solid var(--border-warm);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; padding: 28px 24px;
}

.book-base .page-line {
  width: 60%; height: 1.5px;
  background: var(--border-warm);
  border-radius: 1px;
}
.book-base .page-line:nth-child(2) { width: 80%; }
.book-base .page-line:nth-child(3) { width: 45%; }
.book-base .page-line:nth-child(4) { width: 70%; }
.book-base .page-line:nth-child(5) { width: 55%; }

.book-spine {
  position: absolute; left: -4px; top: 0;
  width: 8px; height: 100%;
  background: linear-gradient(to right, var(--navy), var(--navy-light));
  border-radius: 3px 0 0 3px;
  box-shadow: -1px 0 6px rgba(0,0,0,0.12);
  z-index: 5;
}

.flip-page {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform-origin: left center;
  border-radius: 2px 8px 8px 2px;
}

.flip-page .front, .flip-page .back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 2px 8px 8px 2px;
  border: 1px solid var(--border-warm);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; padding: 28px 24px;
}

.flip-page .front {
  background: var(--card-bg);
  z-index: 2;
}

.flip-page .front .page-line {
  width: 55%; height: 1.5px;
  background: var(--border-warm);
  border-radius: 1px;
}
.flip-page .front .page-line:nth-child(2) { width: 75%; }
.flip-page .front .page-line:nth-child(3) { width: 40%; }
.flip-page .front .page-line:nth-child(4) { width: 65%; }
.flip-page .front .page-line:nth-child(5) { width: 50%; }

.flip-page .back {
  background: linear-gradient(135deg, var(--cream-deep) 0%, var(--border-light) 100%);
  transform: rotateY(180deg);
}

.flip-page .back .page-line {
  width: 50%; height: 1.5px;
  background: var(--border-warm);
  border-radius: 1px;
}
.flip-page .back .page-line:nth-child(2) { width: 70%; }
.flip-page .back .page-line:nth-child(3) { width: 35%; }
.flip-page .back .page-line:nth-child(4) { width: 60%; }

.flip-page.page-1 { z-index: 4; animation: flipForward 0.6s ease-in 0.1s forwards; }
.flip-page.page-2 { z-index: 3; animation: flipForward 0.6s ease-in 0.5s forwards; }
.flip-page.page-3 { z-index: 2; animation: flipForward 0.6s ease-in 0.9s forwards; }

@keyframes flipForward {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(-180deg); }
}

.loader-text {
  margin-top: 32px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* ===================== CUSTOM CURSOR ===================== */
#pen-cursor {
  position: fixed;
  width: 48px; height: 48px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-12px, -4px) rotate(-32deg);
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
  opacity: 0;
  filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.15));
}

#pen-cursor.visible { opacity: 1; }

#pen-cursor.hovering {
  transform: translate(-12px, -4px) rotate(-32deg) scale(1.12);
}

.ink-drop {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--navy) 0%, var(--navy-light) 50%, transparent 100%);
  pointer-events: none;
  z-index: 9998;
  animation: inkSplatter 0.55s ease-out forwards;
}

@keyframes inkSplatter {
  0% { transform: scale(0); opacity: 0.9; }
  40% { transform: scale(2); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}

/* ===================== NAVIGATION ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.4s ease;
}

nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.04); }

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-decoration: none;
}

.nav-logo-top { display: flex; align-items: center; gap: 14px; }

.nav-logo img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  animation: subtleBreathe 4s ease-in-out infinite;
}

@keyframes subtleBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.nav-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; font-weight: 600; color: var(--navy);
  line-height: 1.2; letter-spacing: 0.5px;
}

.nav-logo-tagline {
  font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold); margin-top: 1px;
}

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

.nav-links a {
  text-decoration: none; color: var(--text-body);
  font-size: 14px; letter-spacing: 0.5px;
  padding: 8px 16px; border-radius: 6px;
  transition: all 0.3s ease; position: relative;
}

.nav-links a::after {
  content: ''; position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s ease;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--navy) !important; color: var(--cream) !important;
  padding: 9px 22px !important; border-radius: 6px !important;
  font-size: 13px !important; letter-spacing: 1px !important;
  text-transform: uppercase; transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--navy-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 62, 90, 0.2);
}

.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none; background: none; border: none;
  color: var(--navy); font-size: 24px; padding: 8px;
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 32px 80px; position: relative; overflow: hidden;
}

.hero-bg-decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.hero-bg-decor::before {
  content: ''; position: absolute;
  top: -20%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, var(--pale-blue) 0%, transparent 70%);
  border-radius: 50%; opacity: 0.5;
  animation: breatheBg 6s ease-in-out infinite;
}

.hero-bg-decor::after {
  content: ''; position: absolute;
  bottom: -10%; left: -5%; width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold-pale) 0%, transparent 70%);
  border-radius: 50%; opacity: 0.4;
  animation: breatheBg 8s ease-in-out infinite 1s;
}

@keyframes breatheBg {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0.55; }
}

.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 1;
}

.hero-content { opacity: 0; animation: slideUp 0.8s ease 0.3s forwards; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}

.hero-eyebrow-line { width: 32px; height: 1px; background: var(--gold); }

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 58px); font-weight: 600;
  color: var(--navy); line-height: 1.15; margin-bottom: 24px;
  letter-spacing: -0.5px;
  animation: titleBreathe 5s ease-in-out infinite;
}

@keyframes titleBreathe {
  0%, 100% { letter-spacing: -0.5px; }
  50% { letter-spacing: -0.2px; }
}

.hero-title em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 17px; color: var(--text-body);
  line-height: 1.8; margin-bottom: 40px; max-width: 500px;
}

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--cream);
  padding: 14px 32px; border-radius: 6px;
  text-decoration: none; font-family: Georgia, serif;
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: none; position: relative; overflow: hidden;
}

.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1));
  transform: translateX(-100%); transition: transform 0.5s ease;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 62, 90, 0.25);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--navy);
  padding: 14px 32px; border-radius: 6px;
  text-decoration: none; font-family: Georgia, serif;
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid var(--border-warm);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-secondary:hover {
  border-color: var(--navy); background: rgba(44, 62, 90, 0.03);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative; opacity: 0; animation: slideUp 0.8s ease 0.5s forwards;
}

.hero-books-stack { position: relative; width: 420px; height: 500px; }

.hero-book {
  position: absolute; border-radius: 4px 12px 12px 4px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-book:hover {
  transform: translateY(-14px) rotate(0deg) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  z-index: 10 !important;
}

.hero-book-1 {
  width: 230px; height: 350px; top: 50px; left: 0;
  transform: rotate(-6deg); z-index: 1;
}

.hero-book-1 img {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-book-1-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,35,60,0.85) 0%, rgba(20,35,60,0.2) 40%, transparent 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 22px;
}

.hero-book-2 {
  width: 230px; height: 350px; top: 30px; right: 0;
  transform: rotate(4deg); z-index: 2;
}

.hero-book-2 img { width: 100%; height: 100%; object-fit: cover; }

.hero-book-2-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(50,70,90,0.85) 0%, rgba(50,70,90,0.2) 40%, transparent 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 22px;
}

.book-cat-label {
  font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 6px;
}

.book-cat-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px; font-weight: 600; color: #fff; line-height: 1.25;
}

.book-cat-author {
  font-size: 12px; color: rgba(255,255,255,0.65);
  margin-top: 8px; font-style: italic;
}

.hero-book-badge {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold); color: var(--navy);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 20px; z-index: 5;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
  animation: badgeBreathe 3s ease-in-out infinite;
}

@keyframes badgeBreathe {
  0%, 100% { box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 6px 24px rgba(201, 169, 110, 0.5); transform: translate(-50%, -50%) scale(1.04); }
}

.hero-decor-quote {
  position: absolute; bottom: -20px; right: -30px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 140px; color: var(--border-light);
  line-height: 1; z-index: 0; user-select: none; pointer-events: none;
}

/* ===================== SECTION STYLES ===================== */
section { padding: 50px 32px; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 60px; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}

.section-eyebrow-line { width: 24px; height: 1px; background: var(--gold); }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 600;
  color: var(--navy); line-height: 1.2; margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px; color: var(--text-muted);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* ===================== FEATURED ARTICLES ===================== */
.articles-section { background: var(--warm-white); }

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

.article-card {
  background: var(--card-bg); border-radius: 12px;
  overflow: hidden; border: 1px solid var(--border-light);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0; transform: translateY(30px);
}

.article-card.visible { opacity: 1; transform: translateY(0); }

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  border-color: var(--pale-blue);
}

.article-card-img-wrap { overflow: hidden; position: relative; height: 220px; }

.article-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.article-card:hover .article-card-img { transform: scale(1.05); }

.article-card-category {
  position: absolute; top: 16px; left: 16px;
  background: rgba(250, 248, 245, 0.92); backdrop-filter: blur(8px);
  color: var(--navy); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 4px; font-weight: 600;
}

.article-card-body { padding: 28px; }

.article-card-date {
  font-size: 12px; color: var(--text-muted); margin-bottom: 10px; letter-spacing: 0.5px;
}

.article-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px; font-weight: 600; color: var(--navy);
  line-height: 1.35; margin-bottom: 12px;
  transition: color 0.3s ease;
}

.article-card:hover .article-card-title { color: var(--gold); }

.article-card-excerpt {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 20px; display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.article-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--navy); text-decoration: none;
  letter-spacing: 0.5px; font-weight: 600; transition: all 0.3s ease;
}

.article-card-link:hover { color: var(--gold); gap: 10px; }

/* ===================== BOOKS SECTION ===================== */
.books-section { background: var(--cream); overflow: hidden; }

.books-showcase { display: flex; flex-direction: column; gap: 48px; }

.book-feature {
  display: flex; gap: 40px; padding: 36px;
  background: var(--card-bg); border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0; transform: translateY(30px);
}

.book-feature.visible { opacity: 1; transform: translateY(0); }

.book-feature:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.05);
  border-color: var(--pale-blue);
}

.book-feature:nth-child(even) { flex-direction: row-reverse; }

.book-cover-wrap { flex-shrink: 0; position: relative; }

.book-cover {
  width: 200px; height: 300px; border-radius: 4px 10px 10px 4px;
  box-shadow: 8px 8px 28px rgba(0,0,0,0.14), 2px 2px 8px rgba(0,0,0,0.06);
  overflow: hidden; position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  animation: bookBreathe 5s ease-in-out infinite;
}

.book-feature:nth-child(even) .book-cover { animation-delay: 1.5s; }

@keyframes bookBreathe {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(-0.5deg) translateY(-3px); }
}

.book-cover:hover {
  transform: rotate(-2deg) scale(1.03) translateY(-4px) !important;
  box-shadow: 12px 12px 36px rgba(0,0,0,0.18);
}

.book-cover img { width: 100%; height: 100%; object-fit: cover; }

.book-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 40%, transparent 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 20px;
}

.signed-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--gold); color: var(--navy);
  font-size: 8px; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px; font-weight: 700; z-index: 2;
}

.book-cover-label {
  font-size: 8px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 4px; position: relative; z-index: 1;
}

.book-cover-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px; font-weight: 600; color: #fff; line-height: 1.2;
  position: relative; z-index: 1;
}

.book-cover-author {
  font-size: 11px; color: rgba(255,255,255,0.6);
  margin-top: 6px; font-style: italic; position: relative; z-index: 1;
}

.book-info { display: flex; flex-direction: column; justify-content: center; flex: 1; }

.book-info-genre {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; font-weight: 600;
}

.book-info-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px; font-weight: 600; color: var(--navy);
  margin-bottom: 12px; line-height: 1.2;
}

.book-info-desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px;
}

.book-info-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 6px;
  text-decoration: none; font-family: Georgia, serif;
  font-size: 12px; letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1); border: none;
}

.btn-sm-primary { background: var(--navy); color: var(--cream); }
.btn-sm-primary:hover {
  background: var(--navy-light); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 62, 90, 0.2);
}

.btn-sm-outline {
  background: transparent; color: var(--navy); border: 1px solid var(--border-warm);
}
.btn-sm-outline:hover { border-color: var(--navy); background: rgba(44, 62, 90, 0.03); }

/* ===================== ABOUT STRIP ===================== */
.about-strip {
  background: var(--navy); padding: 80px 32px;
  position: relative; overflow: hidden;
}

.about-strip::before {
  content: ''; position: absolute;
  top: -50%; right: -20%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
  border-radius: 50%; animation: breatheBg 7s ease-in-out infinite;
}

.about-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}

.about-strip-content { opacity: 0; transform: translateY(20px); transition: all 0.8s ease; }
.about-strip-content.visible { opacity: 1; transform: translateY(0); }

.about-strip-eyebrow {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}

.about-strip-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px); font-weight: 600;
  color: #fff; line-height: 1.2; margin-bottom: 20px;
}

.about-strip-title em { color: var(--gold-light); font-style: italic; }

.about-strip-text {
  font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 28px;
}

.about-strip-stats { display: flex; gap: 40px; }

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px; font-weight: 600; color: var(--gold); line-height: 1;
}

.stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }

.about-strip-visual {
  display: flex; justify-content: center;
  opacity: 0; transform: translateY(20px); transition: all 0.8s ease 0.2s;
}
.about-strip-visual.visible { opacity: 1; transform: translateY(0); }

.about-logo-display {
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; position: relative;
}

.about-logo-display img {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
}

.about-logo-display .logo-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px; color: var(--gold); letter-spacing: 2px; font-style: italic;
}

.about-logo-ring {
  position: absolute; inset: -14px;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 50%; animation: ringRotate 20s linear infinite;
}

.about-logo-ring::before {
  content: ''; position: absolute;
  top: -3px; left: 50%; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
}

@keyframes ringRotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ===================== TESTIMONIALS ===================== */
.testimonials-section { background: var(--warm-white); }

/* Tighter gap between the section subtitle and the slider */
.testimonials-section .section-header { margin-bottom: 32px; }

/* Horizontal (centered, wide) card look from Design 1, presented as a slider */
.testimonials-slider {
  max-width: 760px; margin: 0 auto; position: relative;
}

.testimonials-viewport { overflow: hidden; border-radius: 16px; }

/* Slides are stacked in a single grid cell so the viewport auto-sizes to the
   tallest card, and we crossfade between them instead of sliding. */
.testimonials-slides { display: grid; }

.testimonial-card {
  grid-area: 1 / 1;
  background: var(--card-bg); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 44px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  /* fade-out resting state: blurred, dimmed, slightly sunk */
  opacity: 0; visibility: hidden;
  transform: translateY(18px) scale(0.985);
  filter: blur(12px);
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.9s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.9s cubic-bezier(0.23, 1, 0.32, 1),
              visibility 0s linear 0.9s;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.testimonial-card.is-active {
  /* slowly resolves from blurry to sharp */
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.9s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.9s cubic-bezier(0.23, 1, 0.32, 1),
              visibility 0s;
  pointer-events: auto;
  position: relative; z-index: 1;
}

/* ---- Slider controls ---- */
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card-bg); color: var(--navy);
  border: 1px solid var(--border-warm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; z-index: 3;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.slider-btn:hover {
  background: var(--navy); color: var(--cream);
  border-color: var(--navy);
  box-shadow: 0 6px 20px rgba(44, 62, 90, 0.22);
}

.slider-prev { left: -22px; }
.slider-next { right: -22px; }

.slider-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 28px;
}

.slider-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-warm); border: none; padding: 0;
  transition: all 0.3s ease;
}

.slider-dot.active { background: var(--gold); transform: scale(1.25); }

.testimonial-quote-icon {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem; color: var(--gold-light); line-height: 1; margin-bottom: 12px;
}

.testimonial-stars {
  display: flex; justify-content: center;
  gap: 2px; color: var(--gold); font-size: 14px; margin-bottom: 16px;
}

.testimonial-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem; color: var(--navy); line-height: 1.7;
  font-style: italic; margin-bottom: 24px;
}

.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 12px; }

.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border-light);
}

.testimonial-name { font-size: 14px; font-weight: 600; color: var(--navy); }

.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ===================== NEWSLETTER ==================== */
.newsletter-section { background: var(--cream); }

.newsletter-box {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--card-bg); border: 1px solid var(--border-light);
  border-radius: 20px; padding: 56px 48px;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.03);
  animation: boxBreathe 6s ease-in-out infinite;
}

@keyframes boxBreathe {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.03); }
  50% { box-shadow: 0 12px 40px rgba(0,0,0,0.05); }
}

.newsletter-box::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-pale), var(--gold), var(--gold-pale));
}

.newsletter-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ice-blue); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--navy); font-size: 24px;
}

.newsletter-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px; font-weight: 600; color: var(--navy); margin-bottom: 12px;
}

.newsletter-desc {
  font-size: 15px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7;
}

.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto 16px; }

.newsletter-input {
  flex: 1; padding: 14px 20px; border: 1px solid var(--border-warm);
  border-radius: 8px; font-family: Georgia, serif; font-size: 14px;
  color: var(--text-dark); background: var(--cream); outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus { border-color: var(--navy-light); }
.newsletter-input::placeholder { color: var(--text-muted); }

.newsletter-note { font-size: 12px; color: var(--text-muted); font-style: italic; }

.toast-notification {
  position: fixed; bottom: 32px; right: 32px;
  background: var(--navy); color: var(--cream);
  padding: 16px 24px; border-radius: 10px;
  font-family: Georgia, serif; font-size: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2); z-index: 9999;
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex; align-items: center; gap: 10px;
}

.toast-notification.show { transform: translateY(0); opacity: 1; }

/* ===================== FOOTER (Design 1 style) ===================== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 48px 28px;
}
.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-block { display: flex; flex-direction: column; gap: 4px; }
.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.footer-logo-img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.9;
}
.footer-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-brand-block > p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
}
.footer-col h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1060px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a {
  color: var(--gold-light);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--gold); }
.footer-social {
  display: flex; gap: 10px;
}
.footer-social a {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  font-size: 0.8rem;
}
.footer-social a:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ===================== ANIMATIONS ===================== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* ===================== UTILITY / INLINE-REPLACEMENT HELPERS ===================== */
.icon-14 { font-size: 14px; }
.icon-15 { font-size: 15px; }
.icon-16 { font-size: 16px; }
.icon-18 { font-size: 18px; }
.icon-gold { color: var(--gold); }
.text-center-block { text-align: center; margin-top: 48px; }
.ml-4 { margin-left: 4px; }
.nowrap { white-space: nowrap; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-books-stack { width: 320px; height: 420px; }
  .hero-book { width: 190px; height: 290px; }
  .hero-decor-quote { display: none; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip-inner { grid-template-columns: 1fr; text-align: center; }
  .about-strip-stats { justify-content: center; }
  .testimonials-slider { max-width: 600px; }
  .footer-inner { grid-template-columns: 1fr 1fr; display: flex;}

  /* Tablet vertical rhythm — tighten the generous desktop spacing */
  section { padding: 78px 32px; }
  .hero { padding: 110px 32px 72px; }
  .about-strip { padding: 72px 32px; }
  .footer { padding: 52px 40px 26px; }
  .section-header { margin-bottom: 48px; }
  .books-showcase { gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }

  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(250, 248, 245, 0.98); backdrop-filter: blur(20px);
    padding: 20px 32px; border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-inner { padding: 0 20px; }
  .hero { padding: 96px 20px 56px; min-height: auto; }
  .hero-books-stack { width: 280px; height: 380px; }
  .hero-book { width: 170px; height: 260px; }
  .articles-grid { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 56px 20px; }
  .section-header { margin-bottom: 36px; }
  .about-strip { padding: 56px 20px; }
  .book-feature, .book-feature:nth-child(even) { flex-direction: column; align-items: center; text-align: center; }
  .book-feature { padding: 28px; }
  .books-showcase { gap: 28px; }
  .book-info-actions { justify-content: center; }
  .newsletter-box { padding: 44px 24px; }
  .newsletter-form { flex-direction: column; }
  .testimonial-card { padding: 36px 24px; }
  .slider-prev { left: 6px; }
  .slider-next { right: 6px; }
  .footer { padding: 48px 22px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; display: flex; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-strip-stats { flex-direction: column; gap: 20px; }
}
@media (max-width: 575px) {
    .footer-inner {
        grid-template-columns: 3fr 1fr;
        gap: 28px;
        display: grid;
    }
}
/* ===================== SMALL PHONES ===================== */
@media (max-width: 480px) {
  section { padding: 48px 16px; }
  .nav-inner { padding: 0 16px; }
  .hero { padding: 92px 16px 48px; }
  .about-strip { padding: 48px 16px; }
  .section-header { margin-bottom: 30px; }
  .book-feature { padding: 24px 20px; }
  .newsletter-box { padding: 36px 20px; }
  .testimonial-card { padding: 30px 20px; }
  .footer { padding: 44px 18px 22px; }
}

/* ===================== EXTRA-SMALL PHONES ===================== */
@media (max-width: 320px) {
  /* Center-align all footer content */
  .footer-inner { text-align: center;display: contents; }
  .footer-brand-block { align-items: center; }
  .footer-brand-top { justify-content: center; }
  .footer-social { justify-content: center; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--border-warm); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-blue); }
::selection { background: var(--gold-pale); color: var(--navy); }
