/* ═══════════════════════════════════════
   VIVID BOOKS PUBLISHING — STYLESHEET
   Light Luxury Editorial Aesthetic
═══════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --gold: #A0742A;
  --gold-light: #C9943E;
  --gold-dim: rgba(160,116,42,0.12);
  --cream: #2A2420;
  --dark: #FAF8F5;
  --dark-2: #F3EFE9;
  --dark-3: #EDEAE3;
  --dark-4: #E5E0D8;
  --dark-5: #D8D2C8;
  --text: #111009;
  --text-muted: #4A4238;
  --border: rgba(160,116,42,0.35);
  --border-subtle: rgba(40,32,22,0.15);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --r: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: none; border: none; background: none; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }


/* Hide custom cursor on touch/mobile devices */
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-follower { display: none !important; }
  body { cursor: auto !important; }
  a, button { cursor: pointer !important; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ══════════════════════════════════════
   CURSOR
══════════════════════════════════════ */
.cursor {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
  mix-blend-mode: normal;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(201,169,110,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s, height 0.3s, opacity 0.3s;
}
body:has(a:hover) .cursor, body:has(button:hover) .cursor { transform: translate(-50%, -50%) scale(0); }
body:has(a:hover) .cursor-follower, body:has(button:hover) .cursor-follower {
  width: 54px; height: 54px; opacity: 0.6;
}

/* ══════════════════════════════════════
   LOADER
══════════════════════════════════════ */
.loader {
  position: fixed; inset: 0; z-index: 9990;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; width: 260px; }
.loader-logo {
  font-family: var(--font-body);
  font-size: 1.25rem; font-weight: 600; letter-spacing: 0.4em;
  color: var(--gold); margin-bottom: 32px;
}
.loader-bar {
  height: 1px; background: var(--dark-4); width: 100%; margin-bottom: 16px;
}
.loader-progress {
  height: 100%; background: var(--gold); width: 0%;
  transition: width 0.1s linear;
}
.loader-text {
  font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase;
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 24px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  padding: 16px 48px;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 1.1rem; letter-spacing: 0.25em;
}
.logo-mark { color: var(--gold); font-size: 1.4rem; line-height: 1; }
.logo-text { color: var(--cream); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 0.875rem; color: var(--text-muted); letter-spacing: 0.05em;
  transition: color 0.3s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 22px;
  background: var(--gold);
  color: var(--dark) !important;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  border-radius: 100px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nav-cta:hover {
  background: var(--gold-light);
  box-shadow: 0 0 24px rgba(201,169,110,0.4);
  transform: translateY(-1px);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: none;
}
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: 0.3s; }

/* ── MOBILE NAV ── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 880;
  background: var(--dark-2);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 40px;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-close {
  position: absolute; top: 28px; right: 32px;
  font-size: 1.5rem; color: var(--text-muted);
  transition: color 0.2s;
}
.mobile-close:hover { color: var(--gold); }
.mobile-nav-links { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-nav-links a {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 300;
  color: var(--text); letter-spacing: 0.05em;
  transition: color 0.3s;
}
.mobile-nav-links a:hover { color: var(--gold); }
.mobile-nav-footer { text-align: center; color: var(--text-muted); font-size: 0.85rem; line-height: 2; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; position: relative; overflow: hidden;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em;
  border-radius: 100px;
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 0 36px rgba(201,169,110,0.45);
  transform: translateY(-2px);
}
.btn-shine {
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s;
}
.btn-primary:hover .btn-shine { left: 150%; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem; color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--text); transform: translateY(-2px); }
.btn-large { padding: 18px 40px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ══════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════ */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; font-weight: 600;
}
.section-eyebrow::before {
  content: ''; display: block; width: 24px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.15; color: var(--cream); margin-bottom: 20px;
}
.section-title em {
  font-style: italic; color: var(--gold);
}
.section-sub { color: var(--text-muted); font-size: 1rem; max-width: 560px; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-eyebrow { display: flex; justify-content: center; }
.section-header .section-sub { margin: 0 auto; }

/* ── REVEAL ANIMATIONS ── */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s; }
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 70%);
  top: -200px; right: -100px; animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(120,80,200,0.08) 0%, transparent 70%);
  bottom: 0; left: -100px; animation-delay: 4s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  top: 50%; left: 40%; animation-delay: 8s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.015; pointer-events: none;
}

/* Floating books */
.floating-books { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.book {
  position: absolute;
  width: 18px; border-radius: 2px;
  animation: bookFloat linear infinite;
  opacity: 0.5;
}
.book-spine { width: 100%; height: 100%; border-radius: 2px; }
.b1 { height: 120px; top: 15%; right: 18%; animation-duration: 8s; animation-delay: 0s; }
.b1 .book-spine { background: linear-gradient(180deg, #C9A96E, #8B6B3D); }
.b2 { height: 90px; top: 55%; right: 8%; animation-duration: 11s; animation-delay: -3s; }
.b2 .book-spine { background: linear-gradient(180deg, #6B8EAD, #3D5E7A); }
.b3 { height: 140px; top: 25%; right: 28%; animation-duration: 9s; animation-delay: -6s; }
.b3 .book-spine { background: linear-gradient(180deg, #AD6B8E, #7A3D5E); }
.b4 { height: 100px; top: 70%; right: 22%; animation-duration: 13s; animation-delay: -2s; }
.b4 .book-spine { background: linear-gradient(180deg, #8EAD6B, #5E7A3D); }
.b5 { height: 80px; top: 40%; right: 5%; animation-duration: 7s; animation-delay: -5s; }
.b5 .book-spine { background: linear-gradient(180deg, #C9A96E, #E8C88A); }
@keyframes bookFloat {
  0% { transform: translateY(0px) rotate(-3deg); }
  50% { transform: translateY(-22px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(-3deg); }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 700px; padding: 0 48px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.6); } }

.hero-headline {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.08; color: var(--cream); margin-bottom: 28px;
  display: flex; flex-direction: column;
}
.line-1 { display: block; }
.line-2 {
  display: block; font-style: italic;
  color: var(--gold); font-weight: 500;
  text-shadow: 0 0 60px rgba(201,169,110,0.3);
}
.line-3 { display: block; }
.hero-sub {
  font-size: 1.05rem; line-height: 1.75; color: var(--text-muted);
  max-width: 560px; margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex; align-items: center; gap: 32px;
  padding: 24px 32px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r); backdrop-filter: blur(12px);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--gold); line-height: 1; display: inline; }
.stat-plus { font-size: 2rem; color: var(--gold); display: inline; line-height: 1; }
.stat-num-row { display: flex; align-items: baseline; gap: 2px; }
.stat-label { font-size: 0.72rem; color: #3A3328; letter-spacing: 0.06em; margin-top: 4px; text-transform: uppercase; font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border-subtle); }
.hero-scroll-indicator {
  position: absolute; bottom: 48px; left: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ══════════════════════════════════════
   MARQUEE
══════════════════════════════════════ */
.marquee-strip {
  overflow: hidden;
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 0; white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  padding: 0 32px;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.marquee-track .sep { color: var(--gold); padding: 0; font-size: 0.5rem; }
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ══════════════════════════════════════
   ABOUT BAND
══════════════════════════════════════ */
.about-band { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }

/* Visual */
.about-visual { position: relative; }
.about-frame {
  position: relative; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.frame-inner {
  width: 340px; height: 340px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.frame-inner::before {
  content: ''; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent 0%, var(--gold-dim) 20%, transparent 40%);
  animation: frameRotate 8s linear infinite;
}
@keyframes frameRotate { to { transform: rotate(360deg); } }
.frame-inner::after {
  content: ''; position: absolute; inset: 2px;
  background: var(--dark-3); border-radius: 14px; z-index: 1;
}

/* 3D Book Stack */
.book-stack-3d {
  position: relative; z-index: 2;
  width: 160px; height: 200px;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(-15deg);
  animation: stackFloat 4s ease-in-out infinite;
}
@keyframes stackFloat { 0%,100% { transform: rotateX(15deg) rotateY(-15deg) translateY(0); } 50% { transform: rotateX(15deg) rotateY(-15deg) translateY(-12px); } }

.bs-book {
  position: absolute;
  width: 120px; height: 160px;
  border-radius: 3px 8px 8px 3px;
  left: 20px;
}
.bs-b1 { background: linear-gradient(135deg, #C9A96E, #8B6B3D); top: 20px; transform: translateZ(0px); box-shadow: -6px 6px 20px rgba(0,0,0,0.6); }
.bs-b2 { background: linear-gradient(135deg, #6B8EAD, #3D5E7A); top: 12px; left: 24px; transform: translateZ(10px); box-shadow: -6px 6px 20px rgba(0,0,0,0.5); }
.bs-b3 { background: linear-gradient(135deg, #AD6B8E, #7A3D5E); top: 4px; left: 28px; transform: translateZ(20px); box-shadow: -6px 6px 20px rgba(0,0,0,0.4); }
.bs-b4 { background: linear-gradient(135deg, #E8C88A, #C9A96E); top: -4px; left: 32px; transform: translateZ(30px); box-shadow: -6px 6px 20px rgba(0,0,0,0.3); }
.bs-glow {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 140px; height: 40px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.3), transparent);
  filter: blur(10px); z-index: -1;
}

.frame-badge {
  position: absolute; bottom: -20px; right: -20px;
  width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
}
.badge-ring {
  position: absolute; inset: 0; animation: badgeSpin 12s linear infinite;
}
.badge-ring text { font-size: 9.5px; fill: var(--gold); letter-spacing: 1px; }
.badge-star { font-size: 1.4rem; color: var(--gold); z-index: 1; }
@keyframes badgeSpin { to { transform: rotate(360deg); } }

/* About text */
.about-text { }
.about-body { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-pillars { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.pillar { display: flex; gap: 16px; }
.pillar-icon { font-size: 1.2rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.pillar strong { display: block; color: var(--cream); font-weight: 500; margin-bottom: 4px; }
.pillar p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services { padding: 120px 0; position: relative; overflow: hidden; }
.services-bg { position: absolute; inset: 0; z-index: 0; }
.services-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,169,110,0.04) 0%, transparent 60%);
  border-radius: 50%; filter: blur(40px);
}
.services .container { position: relative; z-index: 1; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative; overflow: hidden;
  padding: 36px 32px;
  background: var(--dark-3);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  cursor: none;
}
.service-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.service-card:hover .sc-glow { opacity: 1; }
.sc-glow {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 50% 0%, var(--gold-dim), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.sc-featured { border-color: rgba(201,169,110,0.3); }
.sc-featured::before {
  content: 'FEATURED';
  position: absolute; top: 20px; right: 20px;
  font-size: 0.6rem; letter-spacing: 0.15em;
  color: var(--gold); background: var(--gold-dim);
  padding: 4px 10px; border-radius: 100px;
}
.sc-number {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 300;
  color: rgba(160,116,42,0.35); line-height: 1; margin-bottom: 20px;
  transition: color 0.4s;
}
.service-card:hover .sc-number { color: rgba(160,116,42,0.6); }
.sc-icon {
  width: 44px; height: 44px; margin-bottom: 20px;
  color: var(--gold);
}
.sc-icon svg { width: 44px; height: 44px; }
.service-card h3 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
  color: var(--cream); margin-bottom: 12px;
}
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.sc-link {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--gold); opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  display: block;
}
.service-card:hover .sc-link { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   PROCESS
══════════════════════════════════════ */
.process { padding: 120px 0; background: var(--dark-2); }
.process-timeline {
  position: relative; max-width: 900px; margin: 0 auto;
}
.timeline-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
  transform: translateX(-50%);
}
.process-step {
  display: flex; align-items: center; gap: 60px;
  margin-bottom: 80px; position: relative;
}
.process-step:last-child { margin-bottom: 0; }
.ps-left { flex-direction: row; }
.ps-right { flex-direction: row-reverse; }
.ps-content {
  flex: 1; padding: 32px;
  background: var(--dark-3);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.ps-content:hover { border-color: var(--border); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.ps-content h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  color: var(--cream); margin-bottom: 12px;
}
.ps-content p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; }
.ps-dot {
  width: 16px; height: 16px; flex-shrink: 0;
  background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 16px rgba(160,116,42,0.6);
  position: relative; z-index: 1;
}
.ps-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 300;
  color: rgba(120,85,20,0.45); line-height: 1; flex-shrink: 0; width: 60px;
  text-align: center;
}
.ps-left .ps-num { text-align: right; }
.ps-right .ps-num { text-align: left; }

/* ══════════════════════════════════════
   PORTFOLIO / GENRES
══════════════════════════════════════ */
.portfolio { padding: 120px 0; }
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 60px;
}
.genre-card {
  position: relative; overflow: hidden;
  padding: 32px 28px; border-radius: 12px;
  border: 1px solid var(--border-subtle);
  transition: transform 0.4s, border-color 0.4s;
  cursor: none;
}
.gc-wide { grid-column: span 1; }
@media (min-width: 768px) {
  .gc-wide { grid-column: span 1; }
}
.genre-card:hover { transform: translateY(-4px); border-color: var(--clr, var(--gold)); }
.gc-bg { position: absolute; inset: 0; z-index: 0; }
.genre-card > * { position: relative; z-index: 1; }
.gc-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.genre-card h4 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 400;
  color: var(--cream); margin-bottom: 8px;
}
.genre-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.gc-count { font-size: 0.72rem; color: var(--clr, var(--gold)); letter-spacing: 0.1em; margin-top: 8px; }

/* Book covers showcase (animated strip) */
.books-showcase { overflow: hidden; border-radius: 12px; padding: 8px 0; }
.bs-track {
  display: flex; gap: 16px;
  animation: booksScroll 25s linear infinite;
  width: max-content;
}
.books-showcase:hover .bs-track { animation-play-state: paused; }
@keyframes booksScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.bs-cover {
  width: 120px; height: 175px;
  border-radius: 4px 8px 8px 4px;
  display: flex; align-items: flex-end; padding: 10px 8px;
  flex-shrink: 0; position: relative; overflow: hidden;
  box-shadow: -4px 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.bs-cover:hover { transform: scale(1.04) translateY(-4px); }
.bs-cover span {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 400;
  color: rgba(255,255,255,0.9); line-height: 1.3; z-index: 1; position: relative;
}
.bc-1 { background: linear-gradient(160deg, #3d1a00, #7a3800, #C9A96E); }
.bc-2 { background: linear-gradient(160deg, #001428, #002850, #1a60a0); }
.bc-3 { background: linear-gradient(160deg, #1a0028, #40006a, #9040c0); }
.bc-4 { background: linear-gradient(160deg, #001a00, #004000, #007000); }
.bc-5 { background: linear-gradient(160deg, #001428, #003060, #1a5080); }
.bc-6 { background: linear-gradient(160deg, #280014, #600030, #c04080); }
.bc-7 { background: linear-gradient(160deg, #1a1a1a, #383838, #686868); }
.bc-8 { background: linear-gradient(160deg, #280000, #5a0000, #960000); }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials { padding: 120px 0; position: relative; overflow: hidden; }
.testi-bg { position: absolute; inset: 0; }
.testi-orb {
  position: absolute; border-radius: 50%; filter: blur(120px);
}
.t-o1 {
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.06), transparent);
  top: 0; left: 0;
}
.t-o2 {
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(120,80,200,0.05), transparent);
  bottom: 0; right: 0;
}
.testimonials .container { position: relative; z-index: 1; }
/* Testimonial grid replaces slider */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testi-card {
  padding: 36px 32px;
  background: var(--dark-3);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.testi-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.testi-card--featured {
  border-color: var(--border);
  background: linear-gradient(135deg, var(--dark-3), rgba(160,116,42,0.04));
}
.testi-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 4px; margin-bottom: 20px; }
.testi-card blockquote {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; font-style: italic;
  color: var(--text); line-height: 1.75; margin-bottom: 32px;
}
.testi-author { display: flex; align-items: center; gap: 16px; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 600; color: var(--dark);
}
.ta-1 { background: linear-gradient(135deg, #C9A96E, #E8C88A); }
.ta-2 { background: linear-gradient(135deg, #AD6B8E, #E8A0C8); }
.ta-3 { background: linear-gradient(135deg, #6B8EAD, #8ACCE8); }
.ta-4 { background: linear-gradient(135deg, #8EAD6B, #C8E88A); }
.testi-author strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.testi-author span { font-size: 0.8rem; color: var(--text-muted); }
/* dots removed — now using grid */

/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
.cta-band {
  padding: 120px 0; position: relative; overflow: hidden;
  background: var(--dark-2);
}
.cta-bg { position: absolute; inset: 0; }
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.08), transparent 70%);
  filter: blur(40px);
}
.cta-content { text-align: center; position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-badge {
  display: inline-block; margin-bottom: 24px;
  padding: 6px 20px;
  background: var(--gold-dim); border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold);
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); } 50% { box-shadow: 0 0 0 8px rgba(201,169,110,0.1); } }
.cta-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.1; color: var(--cream); margin-bottom: 24px;
}
.cta-title em { color: var(--gold); font-style: italic; }
.cta-band p { color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-trust { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.cta-trust span { font-size: 0.8rem; color: var(--text-muted); }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact { padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info p { color: var(--text-muted); line-height: 1.75; margin-bottom: 48px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.cd-item { display: flex; gap: 16px; align-items: flex-start; }
.cd-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--dark-3); border: 1px solid var(--border-subtle);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.cd-icon svg { width: 18px; height: 18px; }
.cd-item strong { display: block; color: var(--cream); font-weight: 500; margin-bottom: 4px; font-size: 0.85rem; }
.cd-item a, .cd-item span { font-size: 0.85rem; color: var(--text-muted); transition: color 0.3s; }
.cd-item a:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: var(--dark-3);
  border: 1px solid var(--border-subtle);
  border-radius: 20px; padding: 48px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-success {
  display: none; text-align: center; padding: 40px 0;
}
.form-success.visible { display: block; }
.success-icon { font-size: 3rem; color: var(--gold); display: block; margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: var(--cream); margin-bottom: 12px; }
.form-success p { color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-4);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9A9080; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201,169,110,0.5);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.08);
}
.form-group select { -webkit-appearance: none; cursor: none; }
.form-group select option { background: var(--dark-4); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-disclaimer { font-size: 0.72rem; color: var(--text-muted); text-align: center; line-height: 1.6; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  padding: 80px 0 32px;
  background: var(--dark-2);
  border-top: 1px solid var(--border-subtle);
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.75; margin: 20px 0 28px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  background: var(--dark-4); border: 1px solid var(--border-subtle);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-links h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cream); margin-bottom: 20px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }

/* ── BACK TOP ── */
.back-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 100;
  width: 44px; height: 44px;
  background: var(--gold); color: var(--dark);
  border-radius: 10px; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { box-shadow: 0 0 16px rgba(160,116,42,0.6); transform: translateY(-2px); }

/* ══════════════════════════════════════
   SCROLL REVEAL (JS-powered)
══════════════════════════════════════ */
[data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav { padding: 20px 32px; }
  .nav.scrolled { padding: 14px 32px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { display: flex; justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 0 24px; }
  .hero-headline { font-size: clamp(2.5rem, 10vw, 5rem); }
  .hero-scroll-indicator { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .services-grid { grid-template-columns: 1fr; }
  .genre-grid { grid-template-columns: 1fr 1fr; }
  .process-timeline { padding: 0 20px; }
  .timeline-line { display: none; }
  .process-step { flex-direction: column !important; gap: 16px; }
  .ps-dot { display: none; }
  .ps-num { width: auto; }
  .testi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero-stats { padding: 20px; }
  .genre-grid { grid-template-columns: 1fr; }
  .cta-trust { flex-direction: column; gap: 12px; align-items: center; }
}
