/* ==========================================================================
   LARTX MEDIA GROUP — THE OBSIDIAN VAULT DESIGN SYSTEM
   Theme: Ultra-Dark Forensic Luxury & Cultural Archive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600&family=Syncopate:wght@700&display=swap');

:root {
  /* Color Tokens */
  --bg-obsidian: #000000;
  --bg-void: #030304;
  --surface-charcoal: #0a0a0c;
  --surface-card: #0f1014;
  --surface-card-hover: #15161b;
  --surface-modal: #0d0e12;
  
  /* Gold Tokens */
  --gold-champagne: #e6c687;
  --gold-champagne-rgb: 230, 198, 135;
  --gold-vibrant: #d4af37;
  --gold-glow: #f59e0b;
  --gold-deep: #b38f45;
  --gold-hairline: rgba(230, 198, 135, 0.15);
  --gold-hairline-bright: rgba(230, 198, 135, 0.4);
  
  /* Text Tokens */
  --text-white: #ffffff;
  --text-slate-100: #f8fafc;
  --text-slate-200: #e2e8f0;
  --text-slate-400: #94a3b8;
  --text-slate-500: #64748b;
  --text-slate-600: #475569;
  
  /* Typography */
  --font-display: 'Syncopate', 'Impact', sans-serif;
  --font-hero: 'Cinzel', serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing & Layout */
  --header-height: 80px;
  --container-max: 1380px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-tilt: transform 0.12s cubic-bezier(0.2, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-obsidian);
  color: var(--text-slate-200);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-obsidian);
  color: var(--text-slate-200);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Background Film Grain Overlay */
.film-grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Volumetric Glow */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-gold {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(230, 198, 135, 0.09) 0%, rgba(212, 175, 55, 0.03) 50%, transparent 75%);
}

.ambient-glow-center {
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Double Hairline Border Motif (The Vault Invariant) */
.vault-rule {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 2.5rem 0;
  width: 100%;
}

.vault-rule .rule-line-1 {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-hairline-bright) 50%, transparent 100%);
}

.vault-rule .rule-line-2 {
  height: 1px;
  background: linear-gradient(90deg, transparent 15%, var(--gold-hairline) 50%, transparent 85%);
}

/* Typography Utility */
.font-display { font-family: var(--font-display); }
.font-editorial { font-family: var(--font-editorial); }
.font-mono { font-family: var(--font-mono); }
.text-gold { color: var(--gold-champagne); }
.text-gold-bright { color: var(--gold-vibrant); }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-slate-400); }

.kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(230, 198, 135, 0.06);
  border: 1px solid var(--gold-hairline);
  box-shadow: 0 0 15px rgba(230, 198, 135, 0.05);
}

.kicker-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--gold-champagne);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-champagne);
}

/* ==========================================================================
   1. GLOBAL NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-hairline);
  z-index: 100;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.brand-logo-wrap:hover {
  opacity: 0.9;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(230, 198, 135, 0.35));
}

.brand-text-lockup {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  color: var(--text-white);
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-champagne) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--gold-champagne);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-slate-400);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold-champagne);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  background: rgba(230, 198, 135, 0.04);
  border: 1px solid var(--gold-hairline-bright);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(230, 198, 135, 0.05);
}

.btn-gold-outline:hover {
  background: rgba(230, 198, 135, 0.12);
  border-color: var(--gold-champagne);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 198, 135, 0.2);
}

/* ==========================================================================
   2. THE HERO SECTION ("THE SOVEREIGN ARCHIVE")
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem;
  background: radial-gradient(circle at 50% 25%, rgba(18, 18, 22, 0.7) 0%, rgba(0, 0, 0, 1) 75%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
  z-index: 2;
}

.hero-title-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-title-sub {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-slate-400);
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-title-main {
  font-family: var(--font-hero);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: var(--text-white);
  text-transform: uppercase;
}

.hero-title-gold {
  background: linear-gradient(135deg, #ffffff 10%, #e6c687 60%, #b38f45 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-slate-400);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1rem;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  background: linear-gradient(135deg, #f0d59b 0%, #e6c687 50%, #c49d47 100%);
  color: #050505;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 25px rgba(230, 198, 135, 0.3);
}

.btn-primary-gold:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f0d59b 50%, #d4af37 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(230, 198, 135, 0.45);
}

.btn-ghost-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  background: transparent;
  color: var(--text-slate-200);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--gold-hairline-bright);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-ghost-gold:hover {
  background: rgba(230, 198, 135, 0.08);
  border-color: var(--gold-champagne);
  color: #ffffff;
  transform: translateY(-3px);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gold-hairline);
  margin-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-champagne);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-slate-500);
}

/* Hero 3D Book Interactive Showcase */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.book-stage-glow {
  position: absolute;
  width: 420px;
  height: 580px;
  background: radial-gradient(circle, rgba(230, 198, 135, 0.16) 0%, rgba(212, 175, 55, 0.04) 50%, transparent 80%);
  filter: blur(50px);
  z-index: 1;
}

.hero-3d-book {
  position: relative;
  width: 320px;
  height: 480px;
  z-index: 3;
  transform-style: preserve-3d;
  transition: var(--transition-tilt);
  cursor: pointer;
}

.hero-3d-book .book-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 
    -20px 20px 50px rgba(0, 0, 0, 0.85),
    0 0 2px rgba(255, 255, 255, 0.2) inset,
    0 0 35px rgba(230, 198, 135, 0.25);
  border: 1px solid rgba(230, 198, 135, 0.35);
  transform: rotateY(-18deg) rotateX(8deg);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.hero-3d-book:hover .book-cover {
  transform: rotateY(-8deg) rotateX(2deg) scale(1.03);
  box-shadow: 
    -25px 30px 65px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(230, 198, 135, 0.4);
}

.book-spine-depth {
  position: absolute;
  left: -14px;
  top: 0;
  width: 14px;
  height: 100%;
  background: linear-gradient(90deg, #050505 0%, #1a1a1f 60%, #0d0d10 100%);
  transform: rotateY(-90deg) translateX(-7px);
  border-left: 1px solid var(--gold-hairline);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.9);
}

.book-floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(15, 16, 20, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-hairline-bright);
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.badge-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-slate-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.badge-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-champagne);
}

/* ==========================================================================
   3. FEATURED SPOTLIGHT CAROUSEL (VOLUME SHOWCASE)
   ========================================================================== */
.spotlight-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, #000000 0%, #070709 50%, #000000 100%);
  position: relative;
  border-top: 1px solid var(--gold-hairline);
  border-bottom: 1px solid var(--gold-hairline);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-title {
  font-family: var(--font-hero);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-slate-400);
  line-height: 1.7;
}

/* Carousel Frame */
.spotlight-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 3rem;
}

.spotlight-slide-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--surface-card);
  border: 1px solid var(--gold-hairline);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
  position: relative;
}

.spotlight-slide-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: radial-gradient(circle at top right, rgba(230, 198, 135, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.spotlight-book-cover-wrap {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.spotlight-cover-img {
  width: 100%;
  max-width: 290px;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(230, 198, 135, 0.3);
  box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(230, 198, 135, 0.15);
  transition: transform 0.4s ease;
}

.spotlight-slide-card:hover .spotlight-cover-img {
  transform: scale(1.03) rotate(-1deg);
}

.spotlight-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.spotlight-series-tag {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.volume-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  padding: 0.25rem 0.75rem;
  background: rgba(230, 198, 135, 0.08);
  border: 1px solid var(--gold-hairline-bright);
  border-radius: 3px;
}

.spotlight-book-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

.spotlight-book-blurb {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-slate-300);
}

/* Forensic Specs Table */
.forensic-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 1.2rem;
  border-radius: 6px;
  border: 1px solid var(--gold-hairline);
}

.spec-cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-slate-500);
}

.spec-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-champagne);
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-store-google {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-store-google:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.carousel-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--gold-hairline);
  color: var(--gold-champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-arrow:hover {
  background: var(--gold-champagne);
  color: #000000;
  box-shadow: 0 0 20px rgba(230, 198, 135, 0.4);
}

.carousel-dots {
  display: flex;
  gap: 0.6rem;
}

.dot-btn {
  width: 24px;
  height: 4px;
  background: rgba(230, 198, 135, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.dot-btn.active {
  background: var(--gold-champagne);
  width: 45px;
  box-shadow: 0 0 10px rgba(230, 198, 135, 0.4);
}

/* ==========================================================================
   4. INTERACTIVE CATALOG GRID (FILTERABLE)
   ========================================================================== */
.catalog-section {
  padding: 7rem 0;
  position: relative;
  background: var(--bg-obsidian);
}

.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-tab {
  padding: 0.65rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-slate-400);
  background: var(--surface-charcoal);
  border: 1px solid var(--gold-hairline);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab:hover {
  color: var(--text-white);
  border-color: var(--gold-champagne);
}

.filter-tab.active {
  color: #000000;
  background: var(--gold-champagne);
  border-color: var(--gold-champagne);
  box-shadow: 0 0 20px rgba(230, 198, 135, 0.35);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.2rem;
}

/* Book Card UI */
.book-card {
  background: var(--surface-card);
  border: 1px solid var(--gold-hairline);
  border-radius: 6px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
  cursor: pointer;
}

.book-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
  transform: translateY(-6px);
  background: var(--surface-card-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(230, 198, 135, 0.15);
}

.book-card:hover::after {
  border-color: var(--gold-hairline-bright);
}

.card-media {
  position: relative;
  aspect-ratio: 2/3;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #08080a;
}

.card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-overlay-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-hairline);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-champagne);
}

.card-imprint-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-hairline);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-slate-300);
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.card-artist {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-champagne);
}

.card-title {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-blurb {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-slate-400);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-hairline);
  margin-top: auto;
}

.card-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.card-action-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.card-action-btn:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   5. "THE CRAFT" (FORENSIC PUBLISHING STANDARD)
   ========================================================================== */
.craft-section {
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 50%, #0d0e12 0%, #000000 80%);
  border-top: 1px solid var(--gold-hairline);
  border-bottom: 1px solid var(--gold-hairline);
  position: relative;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.craft-card {
  background: var(--surface-card);
  border: 1px solid var(--gold-hairline);
  border-radius: 8px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  transition: var(--transition-smooth);
}

.craft-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-champagne);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(230, 198, 135, 0.12);
}

.craft-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(230, 198, 135, 0.25);
  line-height: 1;
}

.craft-card:hover .craft-num {
  color: var(--gold-champagne);
}

.craft-title {
  font-family: var(--font-hero);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
}

.craft-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-slate-400);
}

.craft-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--gold-hairline);
}

.craft-badge-item {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  background: rgba(230, 198, 135, 0.05);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  border: 1px solid var(--gold-hairline);
}

/* ==========================================================================
   6. VIP COLLECTOR'S CLUB & CHAPTER DROP (LEAD CAPTURE)
   ========================================================================== */
.lead-section {
  padding: 8rem 0;
  background: var(--bg-obsidian);
  position: relative;
}

.lead-box-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface-card);
  border: 2px solid var(--gold-champagne);
  border-radius: 8px;
  padding: 4.5rem 3.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 0 60px rgba(230, 198, 135, 0.15), inset 0 0 30px rgba(230, 198, 135, 0.03);
}

/* Double hairline outer frame */
.lead-box-container::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--gold-hairline-bright);
  border-radius: 12px;
  pointer-events: none;
}

.lead-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.lead-headline {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

.lead-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-slate-300);
  max-width: 650px;
}

.lead-form-wrap {
  width: 100%;
  max-width: 540px;
  margin-top: 1rem;
}

.lead-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.lead-input {
  flex-grow: 1;
  background: #060608;
  border: 1px solid var(--gold-hairline-bright);
  border-radius: 4px;
  padding: 0.95rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-white);
  outline: none;
  transition: var(--transition-smooth);
}

.lead-input:focus {
  border-color: var(--gold-champagne);
  box-shadow: 0 0 15px rgba(230, 198, 135, 0.3);
}

.lead-input::placeholder {
  color: var(--text-slate-500);
}

.lead-submit-btn {
  white-space: nowrap;
}

.lead-guarantee {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-slate-500);
  margin-top: 0.5rem;
}

.lead-success-msg {
  display: none;
  background: rgba(230, 198, 135, 0.12);
  border: 1px solid var(--gold-champagne);
  color: var(--gold-champagne);
  padding: 1.2rem 2rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   7. SOVEREIGN FOOTER
   ========================================================================== */
.site-footer {
  background: #020203;
  border-top: 1px solid var(--gold-hairline);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 16rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.012);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-slate-400);
  max-width: 380px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  margin-bottom: 1.2rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-slate-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--surface-card);
  border: 1px solid var(--gold-hairline);
  color: var(--gold-champagne);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background: var(--gold-champagne);
  color: #000000;
  border-color: var(--gold-champagne);
  transform: translateY(-2px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--gold-hairline);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-slate-500);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   8. CHAPTER DOSSIER MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--surface-modal);
  border: 1px solid var(--gold-hairline-bright);
  border-radius: 8px;
  max-width: 960px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(230, 198, 135, 0.15);
  position: relative;
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gold-hairline);
  background: #08080a;
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.modal-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-champagne);
}

.modal-title {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
}

.modal-close-btn {
  background: transparent;
  border: 1px solid var(--gold-hairline);
  color: var(--text-slate-400);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: #ffffff;
  border-color: var(--gold-champagne);
  background: rgba(230, 198, 135, 0.1);
}

.modal-body {
  padding: 2.2rem;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
}

.modal-cover-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal-cover-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(230, 198, 135, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

.modal-reading-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-chapter-header {
  border-bottom: 1px solid var(--gold-hairline);
  padding-bottom: 0.8rem;
}

.modal-chapter-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-champagne);
}

.modal-chapter-title {
  font-family: var(--font-editorial);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
}

.modal-chapter-text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-slate-300);
  max-height: 340px;
  overflow-y: auto;
  padding-right: 1rem;
}

.modal-chapter-text::-webkit-scrollbar {
  width: 4px;
}

.modal-chapter-text::-webkit-scrollbar-thumb {
  background: var(--gold-hairline-bright);
  border-radius: 2px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gold-hairline);
  background: #08080a;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-copy {
    align-items: center;
  }
  
  .hero-description {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats-row {
    width: 100%;
    max-width: 600px;
  }
  
  .spotlight-slide-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    text-align: center;
  }
  
  .spotlight-series-tag, .spotlight-actions {
    justify-content: center;
  }
  
  .forensic-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .craft-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .lead-box-container {
    padding: 3rem 1.5rem;
  }
  
  .lead-form {
    flex-direction: column;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   DYNAMIC 3D COVER SHEEN REFLECTION
   ========================================================================== */
.book-sheen-overlay {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.28) 0%, rgba(230, 198, 135, 0.15) 35%, transparent 70%);
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity 0.3s ease;
  z-index: 4;
}

.hero-3d-book:hover .book-sheen-overlay,
.catalog-card:hover .book-sheen-overlay,
.spotlight-book-cover-wrap:hover .book-sheen-overlay {
  opacity: 1;
}

/* ==========================================================================
   THE VAULT VINYL & STUDIO AUDIO ENGINE WIDGET
   ========================================================================== */
.vault-audio-widget {
  margin-top: 3.5rem;
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid var(--gold-hairline-bright);
  border-radius: 8px;
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(230, 198, 135, 0.05);
  position: relative;
  overflow: hidden;
}

.vault-audio-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #ffffff, var(--gold-champagne), #b38f45);
}

.audio-widget-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.vinyl-record-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1a1a 0%, #080808 60%, #000000 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), inset 0 0 4px rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.5s ease;
}

.vinyl-disc.spinning {
  animation: spinVinyl 3.2s linear infinite;
}

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

.vinyl-grooves {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.8), inset 0 0 0 6px rgba(255, 255, 255, 0.04);
}

.vinyl-center-label {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e6c687 0%, #b38f45 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.vinyl-rpm {
  font-family: var(--font-mono);
  font-size: 0.42rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.02em;
}

.vinyl-sub {
  font-family: var(--font-mono);
  font-size: 0.3rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.05em;
}

.turntable-tonearm {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 44px;
  border-right: 2px solid var(--gold-champagne);
  border-top: 2px solid var(--gold-champagne);
  border-radius: 0 8px 0 0;
  transform-origin: top right;
  transform: rotate(-25deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 5;
}

.turntable-tonearm.playing {
  transform: rotate(6deg);
}

.audio-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.audio-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold-champagne);
  text-transform: uppercase;
}

.audio-track-title {
  font-family: var(--font-hero);
  font-size: 1.12rem;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.audio-track-desc {
  font-size: 0.82rem;
  color: var(--text-slate-400);
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.6rem;
  background: rgba(230, 198, 135, 0.08);
  border: 1px solid var(--gold-champagne);
  border-radius: 4px;
  color: var(--gold-champagne);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-audio-toggle:hover {
  background: var(--gold-champagne);
  color: #000000;
  box-shadow: 0 4px 20px rgba(230, 198, 135, 0.3);
}

.audio-waveform-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
}

.audio-waveform-bars span {
  display: block;
  width: 3px;
  height: 6px;
  background: rgba(230, 198, 135, 0.3);
  border-radius: 2px;
  transition: height 0.2s ease, background 0.2s ease;
}

.audio-waveform-bars.active span {
  background: var(--gold-champagne);
  animation: barEqualizer 0.8s ease-in-out infinite alternate;
}

.audio-waveform-bars.active span:nth-child(1) { animation-duration: 0.6s; }
.audio-waveform-bars.active span:nth-child(2) { animation-duration: 0.85s; animation-delay: 0.15s; }
.audio-waveform-bars.active span:nth-child(3) { animation-duration: 0.5s; animation-delay: 0.3s; }
.audio-waveform-bars.active span:nth-child(4) { animation-duration: 0.9s; animation-delay: 0.1s; }
.audio-waveform-bars.active span:nth-child(5) { animation-duration: 0.7s; animation-delay: 0.25s; }

@keyframes barEqualizer {
  from { height: 4px; }
  to { height: 22px; }
}

@media (max-width: 992px) {
  .vault-audio-widget {
    flex-direction: column;
    text-align: center;
  }
  .audio-widget-left {
    flex-direction: column;
  }
  .audio-controls {
    flex-direction: column;
  }
}

