/* =============================================
   CYNTHIA WHITFIELD DUERER — AUTHOR WEBSITE
   style.css
============================================= */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #c9a84c;
  --gold-light:  #f0d080;
  --gold-dark:   #8b6914;
  --dark:        #0a0806;
  --dark-card:   #0d0a06;
  --cream:       #f5e6c8;
  --cream-muted: rgba(245,230,200,0.65);
  --font-serif:  'Cinzel', Georgia, serif;
  --font-deco:   'Cinzel Decorative', serif;
  --font-body:   'Cormorant Garamond', Georgia, serif;
  --font-ui:     'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-ui);
  overflow-x: hidden;
  cursor: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.5;
}

/* ── CURSOR ── */
.cursor-ring {
  width: 22px; height: 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  mix-blend-mode: difference;
  will-change: transform;
  transition: transform 0.05s;
  top: 0; left: 0;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  top: 0; left: 0;
}

/* ── UTILITIES ── */
.gold-gradient {
  background: linear-gradient(135deg, #c9a84c 0%, #f0d080 45%, #c9a84c 65%, #8b6914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 1.25rem 0;
}
.section-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}
.section-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--cream-muted);
  max-width: 520px;
  line-height: 1.75;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .section-subtitle {
  margin: 0 auto;
}
.body-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(245,230,200,0.82);
  font-weight: 300;
  margin-bottom: 1.4rem;
}
.body-text.muted { color: var(--cream-muted); }

/* ── BUTTONS ── */
.btn-gold {
  background: linear-gradient(135deg, #8b6914, #c9a84c, #f0d080, #c9a84c, #8b6914);
  background-size: 200% auto;
  color: #0a0806;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: background-position 0.5s, transform 0.3s, box-shadow 0.3s;
  display: inline-block;
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(201,168,76,0.45);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}
.btn-outline-gold:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ── ANIMATION INITIAL STATES ── */
.anim-fadeup  { opacity: 0; transform: translateY(50px); }
.anim-fadein  { opacity: 0; }
.anim-scalein { opacity: 0; transform: scale(0.85); }
.anim-from-left  { opacity: 0; transform: translateX(-70px); }
.anim-from-right { opacity: 0; transform: translateX(70px); }
.anim-stagger .stagger-child { opacity: 0; transform: translateY(40px); }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 5%;
  transition: all 0.4s ease;
}
#navbar.scrolled {
  padding: 1rem 5%;
  background: rgba(10,8,6,0.96);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  backdrop-filter: blur(20px);
}
.nav-logo {
  font-family: var(--font-deco);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  cursor: pointer;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,230,200,0.65);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.nav-cta { padding: 0.6rem 1.5rem; font-size: 0.65rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,8,6,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  font-size: 1.1rem;
  letter-spacing: 0.3em;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  opacity: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,8,6,0.88) 0%, rgba(10,8,6,0.5) 55%, rgba(10,8,6,0.78) 100%);
  opacity: 0;
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-text { display: flex; flex-direction: column; }
.hero-pre-title {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
}
.hero-name {
  line-height: 1;
  margin-bottom: 0;
}
.hero-line {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  opacity: 0;
}
.line-1, .line-3 { color: var(--cream); }
.hero-tagline {
  margin: 2rem 0;
  opacity: 0;
}
.hero-tagline p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(245,230,200,0.8);
  line-height: 1.65;
  max-width: 440px;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
}
.hero-book-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-book-float {
  perspective: 1200px;
}
.book-3d-hero {
  width: clamp(180px, 25vw, 320px);
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(3deg);
  filter: drop-shadow(-28px 28px 55px rgba(0,0,0,0.85)) drop-shadow(0 0 35px rgba(201,168,76,0.13));
}
.book-3d-hero img {
  width: 100%;
  display: block;
  border-radius: 2px;
}
.hero-book-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
}
.scroll-label {
  font-family: var(--font-serif);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: rgba(201,168,76,0.55);
}
.scroll-line-wrap {
  width: 1px;
  height: 48px;
  background: rgba(201,168,76,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line-inner {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: var(--gold);
  transform-origin: top;
  transform: scaleY(0);
}

/* ── MARQUEE ── */
.marquee-band {
  background: var(--gold);
  overflow: hidden;
  padding: 0.75rem 0;
  position: relative;
  z-index: 10;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--dark);
  font-weight: 700;
  text-transform: uppercase;
}
.marquee-sep {
  font-size: 0.7rem;
  color: var(--dark);
  opacity: 0.5;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT ── */
.about-section {
  padding: 9rem 5%;
  position: relative;
  overflow: hidden;
}
.about-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}
.about-visual { position: relative; }
.about-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-video {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,8,6,0.2) 0%, transparent 50%);
}
.about-frame {
  position: absolute;
  top: -18px; left: -18px; right: 18px; bottom: 18px;
  border: 1px solid rgba(201,168,76,0.22);
  pointer-events: none;
  z-index: -1;
}
.books-badge {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 110px; height: 110px;
  background: rgba(10,8,6,0.93);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.books-count {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 900;
  line-height: 1;
}
.books-label {
  font-family: var(--font-serif);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: rgba(245,230,200,0.55);
  margin-top: 0.3rem;
}
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.stat-item .stat-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.stat-item .stat-label {
  font-family: var(--font-serif);
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  color: rgba(245,230,200,0.38);
  margin-top: 0.3rem;
}

/* ── VIDEO BREAK ── */
.video-break {
  position: relative;
  width: 100%;
  background: var(--dark);
}
.video-break-inner {
  position: relative;
  width: 100%;
  line-height: 0;
}
.video-break-bg {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.video-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,8,6,0.72) 0%, rgba(10,8,6,0.28) 50%, rgba(10,8,6,0.88) 100%);
  line-height: normal;
}
.video-break-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  line-height: normal;
}
.video-break-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 5rem);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 80px rgba(201,168,76,0.25);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.video-break-quote {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(245,230,200,0.75);
  max-width: 580px;
}

/* ── BOOKS ── */
.books-section {
  padding: 9rem 5%;
  background: linear-gradient(180deg, var(--dark) 0%, #0f0b07 50%, var(--dark) 100%);
}
.book-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}
.book-tab {
  background: transparent;
  border: 1px solid rgba(201,168,76,0.25);
  color: rgba(245,230,200,0.5);
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}
.book-tab.active,
.book-tab:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.book-display {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.book-cover-col { perspective: 1200px; }
.book-3d-wrap {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(3deg);
  filter: drop-shadow(-18px 18px 45px rgba(0,0,0,0.85)) drop-shadow(0 0 25px rgba(201,168,76,0.08));
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
  cursor: pointer;
}
.book-3d-wrap:hover {
  transform: rotateY(-25deg) rotateX(5deg) scale(1.04);
}
.book-cover-img { width: 100%; display: block; border-radius: 3px; }
.book-meta {
  font-family: var(--font-serif);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.book-series-title {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.book-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.book-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.book-btns .btn-gold,
.book-btns .btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.06);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  border: 1px solid rgba(201,168,76,0.4);
  box-shadow: 0 0 30px rgba(201,168,76,0.08);
}
.book-retailers {
  font-family: var(--font-serif);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(201,168,76,0.45);
}

/* ── TIMELINE ── */
.timeline-section {
  padding: 9rem 5%;
  position: relative;
  overflow: hidden;
  background: #0d0a06;
}
.timeline-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline-spine {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.5) 20%, rgba(201,168,76,0.5) 80%, transparent);
  transform: translateX(-50%);
}
.timeline-entry {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 5rem;
}
.timeline-dot-col {
  display: flex;
  justify-content: center;
}
.timeline-dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.5);
  z-index: 2;
}
.timeline-left { text-align: right; padding-right: 2rem; }
.timeline-right { padding-left: 2rem; }
.tl-meta {
  font-family: var(--font-serif);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.tl-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.tl-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream-muted);
  line-height: 1.7;
  font-style: italic;
}
.tl-cover {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.7));
  transform: rotateY(-10deg);
}
.tl-right { margin-left: auto; }

/* ── VOLUMES ── */
.volumes-section { padding: 9rem 5%; background: var(--dark); }
.volumes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  perspective: 2000px;
}
.volume-card {
  cursor: pointer;
  position: relative;
}
.volume-book-wrap {
  position: relative;
  width: 100%;
}
.volume-book-wrap img {
  width: 100%;
  display: block;
  border-radius: 2px;
  transform: rotateY(-12deg) rotateX(2deg);
  filter: drop-shadow(-14px 22px 38px rgba(0,0,0,0.82));
  transition: transform 0.55s cubic-bezier(0.23,1,0.32,1), filter 0.4s;
}
.volume-card:hover .volume-book-wrap img {
  transform: rotateY(-22deg) rotateX(5deg) scale(1.04);
  filter: drop-shadow(-22px 30px 50px rgba(0,0,0,0.88)) drop-shadow(0 0 20px rgba(201,168,76,0.12));
}
.volume-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.09) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.volume-card:hover .volume-glow { opacity: 1; }
.volume-info { margin-top: 1.5rem; text-align: center; }
.vol-num {
  font-family: var(--font-serif);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.vol-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.35;
  font-weight: 600;
}

/* ── ACCLAIM ── */
.acclaim-section {
  padding: 9rem 5%;
  background: linear-gradient(135deg, #0d0a06 0%, #120d07 100%);
  position: relative;
  overflow: hidden;
}
.acclaim-top-line, .acclaim-bottom-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.28), transparent);
}
.acclaim-top-line { top: 0; }
.acclaim-bottom-line { bottom: 0; }
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.quote-card {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(201,168,76,0.14);
  padding: 2.5rem;
  position: relative;
}
.quote-mark {
  font-family: var(--font-deco);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.2;
  margin-bottom: 1rem;
}
.quote-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(245,230,200,0.85);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.quote-line {
  height: 1px;
  width: 38px;
  background: var(--gold);
  opacity: 0.45;
  margin-bottom: 1rem;
}
.quote-source {
  font-family: var(--font-serif);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ── WHERE TO BUY ── */
.buy-section { padding: 8rem 5%; background: var(--dark); }
.buy-content { text-align: center; max-width: 800px; margin: 0 auto; }
.buy-content .section-subtitle { margin: 0 auto 2.5rem; }
.buy-btns {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.buy-btns .btn-outline-gold { min-width: 160px; }

/* ── STATS ── */
.stats-section {
  padding: 5.5rem 5%;
  background: rgba(201,168,76,0.025);
  border-top: 1px solid rgba(201,168,76,0.13);
  border-bottom: 1px solid rgba(201,168,76,0.13);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-big {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold);
  font-weight: 900;
  line-height: 1;
}
.stat-big-label {
  font-family: var(--font-serif);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(245,230,200,0.38);
  margin-top: 0.75rem;
  text-transform: uppercase;
}

/* ── NEWSLETTER ── */
.newsletter-section {
  padding: 9rem 5%;
  position: relative;
  overflow: hidden;
}
.newsletter-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.055) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-content .section-subtitle { margin: 0 auto 2.5rem; max-width: 520px; }
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(201,168,76,0.28);
  border-right: none;
  color: var(--cream);
  padding: 1rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}
.newsletter-input::placeholder { color: rgba(245,230,200,0.3); }
.newsletter-form .btn-gold { flex-shrink: 0; }
.newsletter-note {
  font-family: var(--font-serif);
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  color: rgba(201,168,76,0.32);
  margin-top: 1.5rem;
}

/* ── FOOTER ── */
.footer {
  padding: 5rem 5% 2.5rem;
  border-top: 1px solid rgba(201,168,76,0.13);
  background: #080605;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-family: var(--font-deco);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
button.footer-logo {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color 0.3s;
}
button.footer-logo:hover { color: var(--gold-light); }
.footer-bio {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(245,230,200,0.45);
  line-height: 1.7;
  font-style: italic;
}
.footer-heading {
  font-family: var(--font-serif);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(201,168,76,0.65);
  margin-bottom: 1.25rem;
}
.footer-link {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245,230,200,0.45);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0.75rem;
  text-align: left;
  padding: 0;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--gold); }
.footer-link-text {
  display: block;
  color: rgba(245,230,200,0.45);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}
button.footer-link-text {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  width: 100%;
  transition: color 0.3s;
}
button.footer-link-text:hover { color: var(--gold); }
.footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.2), transparent);
  margin-bottom: 2rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--font-serif);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: rgba(245,230,200,0.22);
}
.footer-series-tag {
  font-family: var(--font-serif);
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  color: rgba(201,168,76,0.32);
}
button.footer-series-tag {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}
button.footer-series-tag:hover { color: var(--gold); }

/* ── BOOK CHANGE ANIMATION ── */
.book-fade-out { animation: bookOut 0.3s ease forwards; }
.book-fade-in  { animation: bookIn  0.4s ease forwards; }
@keyframes bookOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes bookIn  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── SERIES PAGE ── */
.series-page-hero {
  position: relative;
  padding: 10rem 5% 7rem;
  background: var(--dark);
  overflow: hidden;
  text-align: center;
}
.series-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.series-hero-inner { position: relative; z-index: 1; }
.series-hero-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--cream);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.series-hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--cream-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}
.series-hero-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.series-book-section {
  padding: 7rem 5%;
  position: relative;
  background: #0d0a06;
  overflow: hidden;
}
.series-book-section.alt { background: var(--dark); }
.series-book-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.15), transparent);
}
.series-book-grid {
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: 3.5rem 5rem;
  align-items: center;
}
.series-book-grid.reverse .series-book-visual { order: 2; }
.series-book-grid.reverse .series-book-content { order: 1; }
.series-book-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}
.series-cover-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(201,168,76,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(201,168,76,0.14);
  border-radius: 6px;
}
.series-cover-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse at 50% 60%, rgba(201,168,76,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.series-cover-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 3px;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.65));
  transition: transform 0.55s cubic-bezier(0.23,1,0.32,1), filter 0.55s ease;
}
.series-cover-frame:hover .series-cover-img {
  transform: translateY(-8px) scale(1.015);
  filter: drop-shadow(0 26px 55px rgba(0,0,0,0.75)) drop-shadow(0 0 28px rgba(201,168,76,0.12));
}
.series-book-content { min-width: 0; }
.series-book-content .book-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
.series-book-hook {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.series-book-closing {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(201,168,76,0.75);
  line-height: 1.8;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.series-divider {
  padding: 4rem 5%;
  background: var(--dark);
}
.series-divider-line {
  max-width: 600px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.45), transparent);
}
.series-legend-section {
  padding: 8rem 5% 9rem;
  background: linear-gradient(135deg, #0d0a06 0%, #120d07 100%);
  position: relative;
  overflow: hidden;
}
.series-legend-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.series-legend-card {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 4rem;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(201,168,76,0.18);
  text-align: center;
}
.series-legend-card .section-title { margin-bottom: 1.5rem; }
.series-legend-card .body-text { text-align: center; max-width: 720px; margin: 0 auto 1.4rem; }
.series-cta-section {
  padding: 6rem 5% 8rem;
  background: var(--dark);
  text-align: center;
}
.series-cta-section .section-subtitle { margin: 0 auto 2rem; }

/* ── CONTACT PAGE ── */
.contact-page-section {
  position: relative;
  min-height: calc(100vh - 200px);
  padding: 10rem 5% 8rem;
  background: var(--dark);
  overflow: hidden;
}
.contact-page-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(201,168,76,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(201,168,76,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.contact-page-section .section-container { position: relative; z-index: 1; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  text-align: center;
  padding: 3rem 2.5rem;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(201,168,76,0.16);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.contact-card:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 40px rgba(201,168,76,0.06);
}
.contact-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  background: rgba(201,168,76,0.06);
}
.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
}
.contact-card-label {
  font-family: var(--font-serif);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.contact-card-desc {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.contact-email-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--gold-light);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(201,168,76,0.35);
  padding-bottom: 0.2rem;
  transition: color 0.3s, border-color 0.3s;
}
.contact-email-link:hover {
  color: var(--cream);
  border-color: var(--gold);
}
.contact-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(201,168,76,0.05);
  transition: all 0.35s ease;
}
.social-link svg {
  width: 22px;
  height: 22px;
}
.social-link:hover {
  color: var(--dark);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.35);
}
.contact-note {
  text-align: center;
  margin-top: 3.5rem;
}

/* ── ABOUT PAGE ── */
.about-page-section {
  position: relative;
  padding: 10rem 5% 8rem;
  background: var(--dark);
  overflow: hidden;
}
.about-page-section .section-container { position: relative; z-index: 1; }
.about-page-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.about-page-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--cream-muted);
  letter-spacing: 0.02em;
}
.about-page-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 4rem 5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto 4rem;
}
.about-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.05) 0%, rgba(10,8,6,0.35) 100%);
}
.about-page-content .body-text:last-child { margin-bottom: 0; }
.about-story-panel {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  padding: 3rem 3.5rem;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(201,168,76,0.14);
}
.about-pull-quote {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.75;
  text-align: center;
  margin: 2rem 0;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.about-pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}
.about-page-stats {
  justify-content: center;
  margin-bottom: 3rem;
}
.about-page-cta {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .book-display { grid-template-columns: 1fr; gap: 3rem; }
  .book-3d-wrap { max-width: 260px; }
  .timeline-entry { gap: 1rem; }
  .tl-cover { width: 70px; }
  .volumes-grid { gap: 2rem; }
  .quotes-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .series-book-grid { grid-template-columns: 1fr; gap: 3rem; }
  .series-book-grid.reverse .series-book-visual,
  .series-book-grid.reverse .series-book-content { order: unset; }
  .series-cover-frame { max-width: 380px; margin: 0 auto; }
  .series-legend-card { padding: 2.5rem 2rem; }
  .contact-cards { grid-template-columns: 1fr; max-width: 480px; }
  .about-page-grid { grid-template-columns: 1fr; gap: 3rem; max-width: 480px; }
  .about-page-grid .about-visual { margin: 0 auto; width: 100%; }
}

/* Mobile */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-ring, .cursor-dot { display: none; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-book-wrap { order: -1; }
  .book-3d-hero { width: clamp(140px, 45vw, 220px); margin: 0 auto; }
  .hero-btns { justify-content: center; }
  .hero-tagline p { margin: 0 auto; }
  .hero-pre-title { text-align: center; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 340px; margin: 0 auto; }
  .books-badge { bottom: -18px; right: -14px; width: 90px; height: 90px; }

  .book-display { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .book-3d-wrap { max-width: 220px; }
  .book-btns { justify-content: center; }
  .book-info-col .accent-line { margin: 1.25rem auto; }

  .timeline-spine { left: 24px; }
  .timeline-entry { grid-template-columns: 48px 1fr; gap: 1.5rem; }
  .timeline-entry .timeline-left:not(:has(img)),
  .timeline-entry .timeline-right:not(:has(img)) { grid-column: 2; }
  .timeline-left { text-align: left; padding-right: 0; padding-left: 0; }
  .timeline-right { padding-left: 0; }
  .tl-cover { display: none; }
  /* Simplify timeline for mobile */
  .timeline-entry { display: flex; flex-direction: column; padding-left: 3.5rem; position: relative; }
  .timeline-dot-col { position: absolute; left: 17px; top: 6px; }
  .timeline-spine { left: 24px; }

  .volumes-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .quotes-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-right: 1px solid rgba(201,168,76,0.28); border-bottom: none; }
  .newsletter-form .btn-gold { width: 100%; }
  .buy-btns { gap: 0.75rem; }
  .buy-btns .btn-outline-gold { min-width: auto; width: calc(50% - 0.375rem); text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .buy-btns .btn-outline-gold { width: 100%; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn-gold, .hero-btns .btn-outline-gold { width: 100%; text-align: center; }
  .book-btns { flex-direction: column; }
  .series-page-hero { padding: 8rem 5% 5rem; }
  .series-book-section { padding: 5rem 5%; }
  .series-cover-frame { max-width: 320px; padding: 1rem; }
  .series-book-content { text-align: center; }
  .series-book-content .accent-line { margin: 1.25rem auto; }
  .series-legend-card { padding: 2rem 1.5rem; }
  .contact-page-section { padding: 8rem 5% 5rem; }
  .contact-card { padding: 2.5rem 1.75rem; }
  .about-page-section { padding: 8rem 5% 5rem; }
  .about-page-grid { max-width: 340px; }
  .about-story-panel { padding: 2rem 1.5rem; }
  .about-page-cta { flex-direction: column; align-items: center; }
  .about-page-cta .btn-gold,
  .about-page-cta .btn-outline-gold { width: 100%; max-width: 280px; text-align: center; }
}
